@gild-ui/react 0.1.0-alpha.0 → 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion.cjs +2 -2
- package/dist/Accordion.d.cts +1 -1
- package/dist/Accordion.d.mts +2 -2
- package/dist/Accordion.mjs +2 -2
- package/dist/{Accordion.types-D06ViRMj.d.mts → Accordion.types-DxvwAfZc.d.mts} +233 -48
- package/dist/Alert.cjs +2 -2
- package/dist/Alert.d.cts +1 -1
- package/dist/Alert.d.mts +1 -1
- package/dist/Alert.mjs +2 -2
- package/dist/AppBar.cjs +1 -1
- package/dist/AppBar.d.cts +1 -1
- package/dist/AppBar.d.mts +1 -1
- package/dist/AppBar.mjs +1 -1
- package/dist/Autocomplete.cjs +2 -2
- package/dist/Autocomplete.d.cts +1 -1
- package/dist/Autocomplete.d.mts +1 -1
- package/dist/Autocomplete.mjs +2 -2
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.d.cts +1 -1
- package/dist/Avatar.d.mts +1 -1
- package/dist/Avatar.mjs +1 -1
- package/dist/Backdrop.cjs +2 -2
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Backdrop.mjs +2 -2
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.d.cts +1 -1
- package/dist/Badge.d.mts +1 -1
- package/dist/Badge.mjs +1 -1
- package/dist/Breadcrumbs.cjs +2 -2
- package/dist/Breadcrumbs.d.cts +2 -2
- package/dist/Breadcrumbs.d.mts +2 -2
- package/dist/Breadcrumbs.mjs +2 -2
- package/dist/Button.cjs +1 -1
- package/dist/Button.d.cts +2 -50
- package/dist/Button.d.mts +2 -2
- package/dist/Button.mjs +1 -1
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.d.cts +2 -2
- package/dist/ButtonGroup.d.mts +2 -2
- package/dist/ButtonGroup.mjs +1 -1
- package/dist/Card.cjs +2 -2
- package/dist/Card.d.cts +3 -3
- package/dist/Card.d.mts +4 -4
- package/dist/Card.mjs +2 -2
- package/dist/Checkbox.cjs +1 -1
- package/dist/Checkbox.d.cts +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/Checkbox.mjs +1 -1
- package/dist/Chip.cjs +2 -2
- package/dist/Chip.d.cts +1 -1
- package/dist/Chip.d.mts +1 -1
- package/dist/Chip.mjs +2 -2
- package/dist/CircularProgress.cjs +1 -1
- package/dist/CircularProgress.d.cts +2 -2
- package/dist/CircularProgress.d.mts +2 -2
- package/dist/CircularProgress.mjs +1 -1
- package/dist/Collapse.cjs +1 -1
- package/dist/Collapse.d.cts +2 -2
- package/dist/Collapse.d.mts +2 -2
- package/dist/Collapse.mjs +1 -1
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.d.cts +2 -2
- package/dist/Drawer.d.mts +3 -3
- package/dist/Drawer.mjs +1 -1
- package/dist/Fab.cjs +1 -1
- package/dist/Fab.d.cts +2 -2
- package/dist/Fab.d.mts +2 -2
- package/dist/Fab.mjs +1 -1
- package/dist/FabMenu.cjs +2 -2
- package/dist/FabMenu.d.cts +1 -1
- package/dist/FabMenu.d.mts +2 -2
- package/dist/FabMenu.mjs +2 -2
- package/dist/Fade.d.cts +1 -1
- package/dist/Fade.d.mts +1 -1
- package/dist/Flex.cjs +2 -2
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Flex.mjs +2 -3
- package/dist/FocusTrap.cjs +1 -1
- package/dist/FocusTrap.d.cts +1 -1
- package/dist/FocusTrap.d.mts +1 -1
- package/dist/FocusTrap.mjs +1 -1
- package/dist/Form.cjs +1 -1
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/Form.mjs +1 -1
- package/dist/FormControl.cjs +1 -1
- package/dist/FormControl.d.cts +1 -1
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControl.mjs +1 -1
- package/dist/FormHelperText.cjs +1 -1
- package/dist/FormHelperText.d.cts +2 -2
- package/dist/FormHelperText.d.mts +2 -2
- package/dist/FormHelperText.mjs +1 -1
- package/dist/FormLabel.cjs +1 -1
- package/dist/FormLabel.d.cts +2 -2
- package/dist/FormLabel.d.mts +2 -2
- package/dist/FormLabel.mjs +1 -1
- package/dist/Global.d.cts +1 -1
- package/dist/Global.d.mts +1 -1
- package/dist/Grid.cjs +2 -2
- package/dist/Grid.d.cts +1 -1
- package/dist/Grid.d.mts +1 -1
- package/dist/Grid.mjs +2 -2
- package/dist/Grow.d.cts +1 -1
- package/dist/Grow.d.mts +1 -1
- package/dist/{Icon-CpmLCuWc.mjs → Icon-DBgqmUb3.mjs} +1 -1
- package/dist/{Icon-D8CNaUwd.cjs → Icon-DPIqGixm.cjs} +1 -1
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.d.cts +2 -2
- package/dist/Icon.d.mts +2 -2
- package/dist/Icon.mjs +1 -1
- package/dist/Image.cjs +1 -1
- package/dist/Image.d.cts +1 -1
- package/dist/Image.d.mts +1 -1
- package/dist/Image.mjs +1 -1
- package/dist/LinearProgress.cjs +1 -1
- package/dist/LinearProgress.d.cts +2 -2
- package/dist/LinearProgress.d.mts +2 -2
- package/dist/LinearProgress.mjs +1 -1
- package/dist/Link.cjs +1 -1
- package/dist/Link.d.cts +2 -2
- package/dist/Link.d.mts +2 -2
- package/dist/Link.mjs +1 -1
- package/dist/{Menu-CEr2M5u0.mjs → Menu-Ca7aUnLg.mjs} +2 -2
- package/dist/{Menu-DA9QNBfE.cjs → Menu-DlPDdIAu.cjs} +2 -2
- package/dist/Menu.cjs +3 -3
- package/dist/Menu.d.cts +2 -2
- package/dist/Menu.d.mts +3 -3
- package/dist/Menu.mjs +3 -3
- package/dist/{MenuItem-D3lzWmIO.cjs → MenuItem-2UwOFsM6.cjs} +3 -3
- package/dist/{MenuItem-DzHB9Es6.mjs → MenuItem-w7D1-AYW.mjs} +3 -3
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.d.cts +2 -2
- package/dist/MenuItem.d.mts +2 -2
- package/dist/MenuItem.mjs +1 -1
- package/dist/{Modal-C5OWwkvp.cjs → Modal-B6_1ugIW.cjs} +2 -2
- package/dist/{Modal-BphaFrcw.mjs → Modal-Ouz9KdOG.mjs} +2 -2
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.d.cts +9 -48
- package/dist/Modal.d.mts +2 -2
- package/dist/Modal.mjs +1 -1
- package/dist/NativeSelect.cjs +2 -2
- package/dist/NativeSelect.d.cts +2 -2
- package/dist/NativeSelect.d.mts +2 -2
- package/dist/NativeSelect.mjs +2 -2
- package/dist/NavTree.cjs +2 -2
- package/dist/NavTree.d.cts +1 -1
- package/dist/NavTree.d.mts +1 -1
- package/dist/NavTree.mjs +2 -2
- package/dist/NumberInput.cjs +2 -2
- package/dist/NumberInput.d.cts +1 -1
- package/dist/NumberInput.d.mts +1 -1
- package/dist/NumberInput.mjs +2 -2
- package/dist/Pagination.cjs +2 -2
- package/dist/Pagination.d.cts +1 -1
- package/dist/Pagination.d.mts +2 -2
- package/dist/Pagination.mjs +2 -2
- package/dist/Paper.cjs +1 -1
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +2 -2
- package/dist/Paper.mjs +1 -1
- package/dist/{Popover-DsPTeEPx.mjs → Popover-ZsN1txGi.mjs} +2 -2
- package/dist/{Popover-DY0ooIAM.cjs → Popover-d5fip8Fi.cjs} +2 -2
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.d.cts +2 -2
- package/dist/Popover.d.mts +3 -3
- package/dist/Popover.mjs +1 -1
- package/dist/Pressable.cjs +1 -1
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +2 -2
- package/dist/Pressable.mjs +1 -1
- package/dist/Quote.cjs +2 -2
- package/dist/Quote.d.cts +1 -1
- package/dist/Quote.d.mts +1 -1
- package/dist/Quote.mjs +2 -2
- package/dist/Radio.cjs +1 -1
- package/dist/Radio.d.cts +1 -1
- package/dist/Radio.d.mts +1 -1
- package/dist/Radio.mjs +1 -1
- package/dist/RangeInput.cjs +1 -1
- package/dist/RangeInput.d.cts +1 -1
- package/dist/RangeInput.d.mts +1 -1
- package/dist/RangeInput.mjs +1 -1
- package/dist/Rating.cjs +2 -2
- package/dist/Rating.d.cts +1 -1
- package/dist/Rating.d.mts +1 -1
- package/dist/Rating.mjs +2 -2
- package/dist/ScrollArea.cjs +1 -1
- package/dist/ScrollArea.d.cts +1 -1
- package/dist/ScrollArea.d.mts +1 -1
- package/dist/ScrollArea.mjs +1 -1
- package/dist/Select.cjs +3 -3
- package/dist/Select.d.cts +2 -2
- package/dist/Select.d.mts +2 -2
- package/dist/Select.mjs +3 -3
- package/dist/Sidebar.cjs +2 -2
- package/dist/Sidebar.d.cts +2 -2
- package/dist/Sidebar.d.mts +3 -3
- package/dist/Sidebar.mjs +2 -2
- package/dist/Skeleton.cjs +1 -1
- package/dist/Skeleton.d.cts +1 -1
- package/dist/Skeleton.d.mts +1 -1
- package/dist/Skeleton.mjs +1 -1
- package/dist/Slide.cjs +7 -1
- package/dist/Slide.d.cts +1 -1
- package/dist/Slide.d.mts +1 -1
- package/dist/Slide.mjs +7 -1
- package/dist/Snackbar.cjs +1 -1
- package/dist/Snackbar.d.cts +2 -2
- package/dist/Snackbar.d.mts +2 -2
- package/dist/Snackbar.mjs +1 -1
- package/dist/StyleSheet.d.cts +1 -1
- package/dist/StyleSheet.d.mts +1 -1
- package/dist/Switch.cjs +1 -1
- package/dist/Switch.d.cts +1 -1
- package/dist/Switch.d.mts +1 -1
- package/dist/Switch.mjs +1 -1
- package/dist/Table.cjs +3 -3
- package/dist/Table.d.cts +2 -2
- package/dist/Table.d.mts +3 -3
- package/dist/Table.mjs +3 -3
- package/dist/Tabs.cjs +6 -6
- package/dist/Tabs.d.cts +1 -1
- package/dist/Tabs.d.mts +1 -1
- package/dist/Tabs.mjs +6 -6
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.d.cts +2 -81
- package/dist/TextInput.d.mts +2 -81
- package/dist/TextInput.mjs +1 -1
- package/dist/ThemeProvider.d.cts +1 -1
- package/dist/ThemeProvider.d.mts +1 -1
- package/dist/ToggleButton.cjs +1 -1
- package/dist/ToggleButton.d.cts +2 -2
- package/dist/ToggleButton.d.mts +3 -3
- package/dist/ToggleButton.mjs +1 -1
- package/dist/{Tooltip-DQo2zZH0.mjs → Tooltip-Bt5lr52c.mjs} +1 -1
- package/dist/{Tooltip-DaB6bJKM.cjs → Tooltip-CUpZpoC9.cjs} +1 -1
- package/dist/Tooltip.cjs +1 -1
- package/dist/Tooltip.d.cts +1 -1
- package/dist/Tooltip.d.mts +1 -1
- package/dist/Tooltip.mjs +1 -1
- package/dist/TransferList.cjs +2 -2
- package/dist/TransferList.d.cts +1 -1
- package/dist/TransferList.d.mts +1 -1
- package/dist/TransferList.mjs +2 -2
- package/dist/Typography.cjs +1 -1
- package/dist/Typography.d.cts +2 -29
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +1 -1
- package/dist/{View-DkfIBlcy.cjs → View-DFnZ41Xe.cjs} +7 -15
- package/dist/{View-BmuIFO7p.mjs → View-zuvgW6DP.mjs} +7 -16
- package/dist/View.cjs +1 -1
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +1 -1
- package/dist/Zoom.d.cts +1 -1
- package/dist/Zoom.d.mts +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/css.d.cts +1 -1
- package/dist/css.d.mts +1 -1
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-CT311xS9.d.cts → index-B3jHcw5h.d.cts} +2 -2
- package/dist/{index-CKHGDpGJ.d.mts → index-Bf-ZHQLG.d.mts} +2 -2
- package/dist/{index-CD0xu_P6.d.mts → index-CAMwJg71.d.mts} +1 -1
- package/dist/index-CLQt_mOa.d.mts +3 -0
- package/dist/{index-CmG1wW5D.d.mts → index-Cqse4F32.d.mts} +2 -2
- package/dist/index-CsYK-ukA.d.mts +3 -0
- package/dist/{index-CA5HTpT9.d.mts → index-D9Gg2NWm.d.mts} +1 -1
- package/dist/{index-DZFF1vMV.d.cts → index-DPQxIeZF.d.cts} +225 -40
- package/dist/{index-CEtnJkY4.d.cts → index-Dc7XiT_v.d.cts} +1 -1
- package/dist/{index-Blc3XujV.d.mts → index-Djum1XiO.d.mts} +1 -1
- package/dist/{index-Bgd6kxq_.d.mts → index-DtfH-dhY.d.mts} +2 -2
- package/dist/{index-B7LR7Up3.d.mts → index-IB1nBqEO.d.mts} +2 -2
- package/dist/{index-C21GrYkd.d.mts → index-phuw9VpI.d.mts} +9 -48
- package/dist/index-yCzwpbBP.d.mts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/keyframes.d.cts +1 -1
- package/dist/keyframes.d.mts +1 -1
- package/dist/{styled-DnzWP4pc.cjs → styled-Dr3_OY1-.cjs} +15 -1
- package/dist/{styled-nr_qC_Yx.mjs → styled-tLHNvicL.mjs} +15 -1
- package/dist/styled.cjs +1 -1
- package/dist/styled.d.cts +1 -1
- package/dist/styled.d.mts +1 -1
- package/dist/styled.mjs +1 -1
- package/dist/useDefaultProps.d.cts +1 -1
- package/dist/useDefaultProps.d.mts +1 -1
- package/dist/useMediaQuery.d.cts +1 -1
- package/dist/useMediaQuery.d.mts +1 -1
- package/dist/useStyle.d.cts +1 -1
- package/dist/useStyle.d.mts +1 -1
- package/dist/useTheme.d.cts +1 -1
- package/dist/useTheme.d.mts +1 -1
- package/dist/{useTransition-BwpSHKSf.d.mts → useTransition-BzwifRXe.d.mts} +1 -1
- package/dist/{useTransition-B4KGUO9m.d.cts → useTransition-lt8_WKk-.d.cts} +1 -1
- package/dist/withStyle.d.cts +1 -1
- package/dist/withStyle.d.mts +1 -1
- package/dist/withTheme.d.cts +1 -1
- package/dist/withTheme.d.mts +1 -1
- package/package.json +24 -21
- package/dist/index-CWOcMPWz.d.mts +0 -51
- package/dist/index-MfIvwyA4.d.mts +0 -1
- package/dist/index-Tg9lQlVl.d.mts +0 -30
package/dist/Select.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { n as IconProps, r as IconName } from "./index-IB1nBqEO.mjs";
|
|
2
|
+
import { Ha as SlotProps, Ht as SelectOwnerState, Ut as SelectSlot, Wa as StyleOverride, Wt as SelectThemeConfig, s as Theme } from "./Accordion.types-DxvwAfZc.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
/** The union of value shapes `Select` holds: a single value, or an array in multiple mode. */
|
package/dist/Select.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useFormControl } from "./FormControl.mjs";
|
|
3
|
-
import { t as Icon } from "./Icon-
|
|
4
|
-
import { t as Popover } from "./Popover-
|
|
3
|
+
import { t as Icon } from "./Icon-DBgqmUb3.mjs";
|
|
4
|
+
import { t as Popover } from "./Popover-ZsN1txGi.mjs";
|
|
5
5
|
import { NativeSelect } from "./NativeSelect.mjs";
|
|
6
|
-
import { t as styled } from "./styled-
|
|
6
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
7
7
|
import { t as useLiveValue } from "./useLiveValue-CqiwCr56.mjs";
|
|
8
8
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
9
9
|
import "./themes-BtfQPcbo.mjs";
|
package/dist/Sidebar.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_styled = require("./styled-
|
|
3
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
4
4
|
const require_Flex = require("./Flex.cjs");
|
|
5
5
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
6
|
-
const require_Icon = require("./Icon-
|
|
6
|
+
const require_Icon = require("./Icon-DPIqGixm.cjs");
|
|
7
7
|
const require_Portal = require("./Portal.cjs");
|
|
8
8
|
const require_Pressable = require("./Pressable.cjs");
|
|
9
9
|
const require_Typography = require("./Typography.cjs");
|
package/dist/Sidebar.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as Theme,
|
|
2
|
-
import { r as IconName } from "./index-
|
|
1
|
+
import { D as Theme, an as SidebarOwnerState, ia as StyleOverride, in as SidebarItemThemeConfig, na as SlotProps, nn as SidebarItemOwnerState, on as SidebarSlot, rn as SidebarItemSlot, sn as SidebarThemeConfig, ui as FlexProps } from "./index-DPQxIeZF.cjs";
|
|
2
|
+
import { r as IconName } from "./index-B3jHcw5h.cjs";
|
|
3
3
|
import { PressableProps } from "./Pressable.cjs";
|
|
4
4
|
import { ElementType, ReactNode } from "react";
|
|
5
5
|
/** Screen edge a `Sidebar` hugs - item labels render away from that edge. */
|
package/dist/Sidebar.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as IconName } from "./index-
|
|
3
|
-
import { i as PressableProps } from "./index-
|
|
1
|
+
import { Bt as SidebarSlot, Ha as SlotProps, It as SidebarItemOwnerState, Lt as SidebarItemSlot, Rt as SidebarItemThemeConfig, Vt as SidebarThemeConfig, Wa as StyleOverride, Wr as FlexProps, s as Theme, zt as SidebarOwnerState } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
|
+
import { r as IconName } from "./index-IB1nBqEO.mjs";
|
|
3
|
+
import { i as PressableProps } from "./index-Djum1XiO.mjs";
|
|
4
4
|
import { ElementType, ReactNode } from "react";
|
|
5
5
|
/** Screen edge a `Sidebar` hugs - item labels render away from that edge. */
|
|
6
6
|
export type SidebarAnchor = 'left' | 'right';
|
package/dist/Sidebar.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as alpha } from "./styleEngine-CLid4cmR.mjs";
|
|
3
|
-
import { t as styled } from "./styled-
|
|
3
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
4
4
|
import { Flex } from "./Flex.mjs";
|
|
5
5
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
6
6
|
import "./themes-BtfQPcbo.mjs";
|
|
7
|
-
import { t as Icon } from "./Icon-
|
|
7
|
+
import { t as Icon } from "./Icon-DBgqmUb3.mjs";
|
|
8
8
|
import { Portal } from "./Portal.mjs";
|
|
9
9
|
import { Pressable } from "./Pressable.mjs";
|
|
10
10
|
import { Typography } from "./Typography.mjs";
|
package/dist/Skeleton.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_styled = require("./styled-
|
|
2
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
3
3
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
4
4
|
require("react");
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
package/dist/Skeleton.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as SkeletonOwnerState, D as Theme, en as SkeletonSlot, ia as StyleOverride, na as SlotProps, tn as SkeletonThemeConfig } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
import { PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
export type SkeletonVariant = 'text' | 'circular' | 'rectangular';
|
package/dist/Skeleton.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ft as SkeletonThemeConfig, Ha as SlotProps, Nt as SkeletonOwnerState, Pt as SkeletonSlot, Wa as StyleOverride, s as Theme } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
import { PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
export type SkeletonVariant = 'text' | 'circular' | 'rectangular';
|
package/dist/Skeleton.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as keyframes } from "./styleEngine-CLid4cmR.mjs";
|
|
2
|
-
import { t as styled } from "./styled-
|
|
2
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
3
3
|
import "./themes-BtfQPcbo.mjs";
|
|
4
4
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
5
5
|
import "react";
|
package/dist/Slide.cjs
CHANGED
|
@@ -45,7 +45,13 @@ function Slide({ direction = "down", ...props }) {
|
|
|
45
45
|
node.getBoundingClientRect();
|
|
46
46
|
node.style.transition = transition;
|
|
47
47
|
},
|
|
48
|
-
|
|
48
|
+
onEntering: (node) => {
|
|
49
|
+
node.style.transform = "none";
|
|
50
|
+
},
|
|
51
|
+
onExit: (node) => {
|
|
52
|
+
measure(node);
|
|
53
|
+
node.style.transform = "";
|
|
54
|
+
}
|
|
49
55
|
});
|
|
50
56
|
}
|
|
51
57
|
exports.Slide = Slide;
|
package/dist/Slide.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TransitionProps } from "./useTransition-
|
|
1
|
+
import { n as TransitionProps } from "./useTransition-lt8_WKk-.cjs";
|
|
2
2
|
/** The edge of the window the child slides in from. */
|
|
3
3
|
export type SlideDirection = 'up' | 'down' | 'left' | 'right';
|
|
4
4
|
export interface SlideProps extends TransitionProps {
|
package/dist/Slide.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TransitionProps } from "./useTransition-
|
|
1
|
+
import { n as TransitionProps } from "./useTransition-BzwifRXe.mjs";
|
|
2
2
|
/** The edge of the window the child slides in from. */
|
|
3
3
|
export type SlideDirection = 'up' | 'down' | 'left' | 'right';
|
|
4
4
|
export interface SlideProps extends TransitionProps {
|
package/dist/Slide.mjs
CHANGED
|
@@ -44,7 +44,13 @@ function Slide({ direction = "down", ...props }) {
|
|
|
44
44
|
node.getBoundingClientRect();
|
|
45
45
|
node.style.transition = transition;
|
|
46
46
|
},
|
|
47
|
-
|
|
47
|
+
onEntering: (node) => {
|
|
48
|
+
node.style.transform = "none";
|
|
49
|
+
},
|
|
50
|
+
onExit: (node) => {
|
|
51
|
+
measure(node);
|
|
52
|
+
node.style.transform = "";
|
|
53
|
+
}
|
|
48
54
|
});
|
|
49
55
|
}
|
|
50
56
|
export { Slide };
|
package/dist/Snackbar.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_styled = require("./styled-
|
|
3
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
4
4
|
const require_useDefaultProps = require("./useDefaultProps-DratGGIL.cjs");
|
|
5
5
|
const require_Grow = require("./Grow.cjs");
|
|
6
6
|
const require_Portal = require("./Portal.cjs");
|
package/dist/Snackbar.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as Theme, Qt as SnackbarThemeConfig, Xt as SnackbarOwnerState, Zt as SnackbarSlot, ia as StyleOverride, na as SlotProps } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
import { PortalProps } from "./Portal.cjs";
|
|
3
|
-
import { n as TransitionProps } from "./useTransition-
|
|
3
|
+
import { n as TransitionProps } from "./useTransition-lt8_WKk-.cjs";
|
|
4
4
|
import { ComponentType, ReactNode, SyntheticEvent } from "react";
|
|
5
5
|
import { Shape } from "@gild-ui/core/utils";
|
|
6
6
|
/** Why a snackbar asks to close. */
|
package/dist/Snackbar.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { At as SnackbarOwnerState, Ha as SlotProps, Mt as SnackbarThemeConfig, Wa as StyleOverride, jt as SnackbarSlot, s as Theme } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
2
|
import { n as PortalProps } from "./index-UloRwym_.mjs";
|
|
3
|
-
import { n as TransitionProps } from "./useTransition-
|
|
3
|
+
import { n as TransitionProps } from "./useTransition-BzwifRXe.mjs";
|
|
4
4
|
import { ComponentType, ReactNode, SyntheticEvent } from "react";
|
|
5
5
|
import { Shape } from "@gild-ui/core/utils";
|
|
6
6
|
/** Why a snackbar asks to close. */
|
package/dist/Snackbar.mjs
CHANGED
package/dist/StyleSheet.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { o as StyleSheet } from "./index-
|
|
1
|
+
import { o as StyleSheet } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
export { StyleSheet };
|
package/dist/StyleSheet.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as StyleSheet } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
2
|
export { StyleSheet };
|
package/dist/Switch.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_styled = require("./styled-
|
|
3
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
4
4
|
const require_FormControl = require("./FormControl.cjs");
|
|
5
5
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
6
6
|
require("react");
|
package/dist/Switch.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as Theme,
|
|
1
|
+
import { D as Theme, Jt as SwitchSlot, Yt as SwitchThemeConfig, ia as StyleOverride, na as SlotProps, qt as SwitchOwnerState } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
import { ChangeEvent, ReactNode } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
export type SwitchColor = keyof Theme['palette'];
|
package/dist/Switch.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dt as SwitchOwnerState, Ha as SlotProps, Ot as SwitchSlot, Wa as StyleOverride, kt as SwitchThemeConfig, s as Theme } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
2
|
import { ChangeEvent, ReactNode } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
export type SwitchColor = keyof Theme['palette'];
|
package/dist/Switch.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as styled } from "./styled-
|
|
2
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
3
3
|
import "./themes-BtfQPcbo.mjs";
|
|
4
4
|
import { _ as useTheme, i as alpha } from "./styleEngine-CLid4cmR.mjs";
|
|
5
5
|
import { useFormControl } from "./FormControl.mjs";
|
package/dist/Table.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_Icon = require("./Icon-
|
|
4
|
-
const require_styled = require("./styled-
|
|
3
|
+
const require_Icon = require("./Icon-DPIqGixm.cjs");
|
|
4
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
5
5
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
6
|
-
const require_View = require("./View-
|
|
6
|
+
const require_View = require("./View-DFnZ41Xe.cjs");
|
|
7
7
|
const require_Pagination = require("./Pagination.cjs");
|
|
8
8
|
const require_NativeSelect = require("./NativeSelect.cjs");
|
|
9
9
|
const require_Typography = require("./Typography.cjs");
|
package/dist/Table.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { n as IconProps, r as IconName } from "./index-B3jHcw5h.cjs";
|
|
2
|
+
import { At as TableCellSlot, Ct as TableFooterOwnerState, D as Theme$1, Dt as TableContainerSlot, Et as TableContainerOwnerState, Ft as TableOwnerState, It as TableSlot, Lt as TableThemeConfig, Mt as TableBodyOwnerState, Nt as TableBodySlot, Ot as TableContainerThemeConfig, Pt as TableBodyThemeConfig, St as TableHeadThemeConfig, Tt as TableFooterThemeConfig, _t as TablePaginationOwnerState, bt as TableHeadOwnerState, ct as TableSortLabelOwnerState, dt as TableRowOwnerState, ft as TableRowSlot, gt as TablePaginationActionsThemeConfig, ht as TablePaginationActionsSlot, ia as StyleOverride, jt as TableCellThemeConfig, kt as TableCellOwnerState, lt as TableSortLabelSlot, mt as TablePaginationActionsOwnerState, na as SlotProps, pt as TableRowThemeConfig, ut as TableSortLabelThemeConfig, vt as TablePaginationSlot, wt as TableFooterSlot, xi as ViewProps, xt as TableHeadSlot, yt as TablePaginationThemeConfig } from "./index-DPQxIeZF.cjs";
|
|
3
3
|
import { PaginationItemSize } from "./Pagination.cjs";
|
|
4
4
|
import { ButtonHTMLAttributes, ElementType, HTMLAttributes, ReactNode, TableHTMLAttributes, ThHTMLAttributes } from "react";
|
|
5
5
|
import { PaletteColor } from "@gild-ui/core/theme";
|
package/dist/Table.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
2
|
-
import { $ as
|
|
3
|
-
import { d as PaginationItemSize } from "./index-
|
|
1
|
+
import { n as IconProps, r as IconName } from "./index-IB1nBqEO.mjs";
|
|
2
|
+
import { $ as TablePaginationThemeConfig, G as TableRowOwnerState, H as TableSortLabelOwnerState, Ha as SlotProps, J as TablePaginationActionsOwnerState, K as TableRowSlot, Q as TablePaginationSlot, Ti as ViewProps, U as TableSortLabelSlot, W as TableSortLabelThemeConfig, Wa as StyleOverride, X as TablePaginationActionsThemeConfig, Y as TablePaginationActionsSlot, Z as TablePaginationOwnerState, _t as TableThemeConfig, at as TableFooterThemeConfig, ct as TableContainerThemeConfig, dt as TableCellThemeConfig, et as TableHeadOwnerState, ft as TableBodyOwnerState, gt as TableSlot, ht as TableOwnerState, it as TableFooterSlot, lt as TableCellOwnerState, mt as TableBodyThemeConfig, nt as TableHeadThemeConfig, ot as TableContainerOwnerState, pt as TableBodySlot, q as TableRowThemeConfig, rt as TableFooterOwnerState, s as Theme$1, st as TableContainerSlot, tt as TableHeadSlot, ut as TableCellSlot } from "./Accordion.types-DxvwAfZc.mjs";
|
|
3
|
+
import { d as PaginationItemSize } from "./index-D9Gg2NWm.mjs";
|
|
4
4
|
import { ButtonHTMLAttributes, ElementType, HTMLAttributes, ReactNode, TableHTMLAttributes, ThHTMLAttributes } from "react";
|
|
5
5
|
import { PaletteColor } from "@gild-ui/core/theme";
|
|
6
6
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
package/dist/Table.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./themes-BtfQPcbo.mjs";
|
|
3
|
-
import { t as Icon } from "./Icon-
|
|
4
|
-
import { t as styled } from "./styled-
|
|
3
|
+
import { t as Icon } from "./Icon-DBgqmUb3.mjs";
|
|
4
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
5
5
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
6
|
-
import { t as View } from "./View-
|
|
6
|
+
import { t as View } from "./View-zuvgW6DP.mjs";
|
|
7
7
|
import { PaginationItem } from "./Pagination.mjs";
|
|
8
8
|
import { _ as useTheme } from "./styleEngine-CLid4cmR.mjs";
|
|
9
9
|
import { NativeSelect } from "./NativeSelect.mjs";
|
package/dist/Tabs.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_Icon = require("./Icon-
|
|
4
|
-
const require_Tooltip = require("./Tooltip-
|
|
5
|
-
const require_styled = require("./styled-
|
|
3
|
+
const require_Icon = require("./Icon-DPIqGixm.cjs");
|
|
4
|
+
const require_Tooltip = require("./Tooltip-CUpZpoC9.cjs");
|
|
5
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
6
6
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
7
7
|
const require_useDefaultProps = require("./useDefaultProps-DratGGIL.cjs");
|
|
8
8
|
const require_isRtl = require("./isRtl-Dl6QQWib.cjs");
|
|
9
|
-
const require_View = require("./View-
|
|
10
|
-
const require_Menu = require("./Menu-
|
|
11
|
-
const require_MenuItem = require("./MenuItem-
|
|
9
|
+
const require_View = require("./View-DFnZ41Xe.cjs");
|
|
10
|
+
const require_Menu = require("./Menu-DlPDdIAu.cjs");
|
|
11
|
+
const require_MenuItem = require("./MenuItem-2UwOFsM6.cjs");
|
|
12
12
|
let react = require("react");
|
|
13
13
|
let _gild_ui_core_theme = require("@gild-ui/core/theme");
|
|
14
14
|
let react_jsx_runtime = require("react/jsx-runtime");
|
package/dist/Tabs.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as TabScrollButtonThemeConfig, D as Theme, Gt as TabSlot, Ht as TabPanelSlot, Kt as TabThemeConfig, Rt as TabScrollButtonOwnerState, Ut as TabPanelThemeConfig, Vt as TabPanelOwnerState, Wt as TabOwnerState, at as TabsSlot, ia as StyleOverride, it as TabsOwnerState, na as SlotProps, ot as TabsThemeConfig, st as TabsVariant, w as AppTheme, zt as TabScrollButtonSlot } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
import { ComponentType, ElementType, MouseEvent, ReactNode, Ref } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
/** A tab's value: what it is chosen as. A `Tab` without one takes its position. */
|
package/dist/Tabs.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as TabsThemeConfig, Ct as TabPanelThemeConfig, Et as TabThemeConfig, Ha as SlotProps, R as TabsOwnerState, St as TabPanelSlot, Tt as TabSlot, V as TabsVariant, Wa as StyleOverride, bt as TabScrollButtonThemeConfig, i as AppTheme, s as Theme, vt as TabScrollButtonOwnerState, wt as TabOwnerState, xt as TabPanelOwnerState, yt as TabScrollButtonSlot, z as TabsSlot } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
2
|
import { ComponentType, ElementType, MouseEvent, ReactNode, Ref } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
/** A tab's value: what it is chosen as. A `Tab` without one takes its position. */
|
package/dist/Tabs.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./themes-BtfQPcbo.mjs";
|
|
3
3
|
import { _ as useTheme, f as negate, i as alpha } from "./styleEngine-CLid4cmR.mjs";
|
|
4
|
-
import { t as Icon } from "./Icon-
|
|
5
|
-
import { n as Tooltip } from "./Tooltip-
|
|
6
|
-
import { t as styled } from "./styled-
|
|
4
|
+
import { t as Icon } from "./Icon-DBgqmUb3.mjs";
|
|
5
|
+
import { n as Tooltip } from "./Tooltip-Bt5lr52c.mjs";
|
|
6
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
7
7
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
8
8
|
import { t as useDefaultProps } from "./useDefaultProps-BTQGhvfY.mjs";
|
|
9
9
|
import { t as isRtl } from "./isRtl-DN-EdUlg.mjs";
|
|
10
|
-
import { t as View } from "./View-
|
|
11
|
-
import { t as Menu } from "./Menu-
|
|
12
|
-
import { t as MenuItem } from "./MenuItem-
|
|
10
|
+
import { t as View } from "./View-zuvgW6DP.mjs";
|
|
11
|
+
import { t as Menu } from "./Menu-Ca7aUnLg.mjs";
|
|
12
|
+
import { t as MenuItem } from "./MenuItem-w7D1-AYW.mjs";
|
|
13
13
|
import { Children, createContext, isValidElement, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
14
14
|
import { themeDefault } from "@gild-ui/core/theme";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/dist/TextInput.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_FormControl = require("./FormControl.cjs");
|
|
4
|
-
const require_styled = require("./styled-
|
|
4
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
5
5
|
const require_inputVariantStyles = require("./inputVariantStyles-CqCQatKb.cjs");
|
|
6
6
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
7
7
|
let react = require("react");
|
package/dist/TextInput.d.cts
CHANGED
|
@@ -1,82 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChangeEventHandler, ElementType, InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
3
|
-
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
|
-
export type TextInputColor = keyof Theme['palette'];
|
|
5
|
-
export type TextInputTextColor = keyof Theme['text'];
|
|
6
|
-
export type TextInputVariant = 'default' | 'outlined' | 'text' | 'underline';
|
|
7
|
-
export type TextInputSize = keyof Theme['sizes'];
|
|
8
|
-
export interface TextInputClasses {
|
|
9
|
-
root?: string;
|
|
10
|
-
input?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface TextInputProps extends SpaceProps, Pick<LayoutProps, 'width' | 'minWidth' | 'maxWidth'> {
|
|
13
|
-
/** Corner radius - applies only to `default` and `outlined` variants. Resolves against `theme.radii`. */
|
|
14
|
-
borderRadius?: keyof Theme['radii'];
|
|
15
|
-
autoComplete?: string;
|
|
16
|
-
autoFocus?: boolean;
|
|
17
|
-
/** Class names applied to inner elements. `root` targets the wrapper; `input` targets the native element. */
|
|
18
|
-
classes?: TextInputClasses;
|
|
19
|
-
/** Override components for the Root and Input slots. */
|
|
20
|
-
components?: {
|
|
21
|
-
Input?: ElementType;
|
|
22
|
-
Root?: ElementType;
|
|
23
|
-
};
|
|
24
|
-
/** Focus/active border color - resolves to `theme.palette[color].main`. Default: 'primary', overridable via `theme.defaults.color`. */
|
|
25
|
-
color?: TextInputColor;
|
|
26
|
-
/** Text color of the typed value - resolves against `theme.text`. Default: the accent `color`'s `main`. */
|
|
27
|
-
textColor?: TextInputTextColor;
|
|
28
|
-
/** Disables the input. */
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
/** Marks the field as invalid - applies error border color. */
|
|
31
|
-
error?: boolean;
|
|
32
|
-
/** Stretches the root to fill its container. */
|
|
33
|
-
fullWidth?: boolean;
|
|
34
|
-
id?: string;
|
|
35
|
-
/** Custom component for the input element. Takes priority over `components.Input`. Default: `'input'`. */
|
|
36
|
-
inputComponent?: ElementType;
|
|
37
|
-
/** Native HTML `size` attribute - visible width in character widths. Has no effect with `multiline` or `resize`. */
|
|
38
|
-
inputSize?: number;
|
|
39
|
-
/** Extra props spread onto the native element. Explicit top-level props take priority. */
|
|
40
|
-
inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, 'style'> & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'style'>;
|
|
41
|
-
/** Maximum rows before the auto-grow textarea starts scrolling. Only applies when `resize` is set. */
|
|
42
|
-
maxRows?: number | string;
|
|
43
|
-
/** Minimum rows for the auto-grow textarea. Only applies when `resize` is set. */
|
|
44
|
-
minRows?: number | string;
|
|
45
|
-
/**
|
|
46
|
-
* Renders a `<textarea>` that grows with its content.
|
|
47
|
-
* Combine with `rows` to fix the height instead of auto-growing.
|
|
48
|
-
*/
|
|
49
|
-
multiline?: boolean;
|
|
50
|
-
name?: string;
|
|
51
|
-
onChange?: ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
52
|
-
placeholder?: string;
|
|
53
|
-
readOnly?: boolean;
|
|
54
|
-
required?: boolean;
|
|
55
|
-
/** Auto-grows the textarea as content increases. Requires `multiline`. */
|
|
56
|
-
resize?: boolean;
|
|
57
|
-
/** Controls padding and font size. Default: 'md', overridable via `theme.defaults.size`. */
|
|
58
|
-
size?: TextInputSize;
|
|
59
|
-
/**
|
|
60
|
-
* Fixes the textarea height to this many rows. Also enables `multiline`
|
|
61
|
-
* when value is greater than 1. Disables resize.
|
|
62
|
-
*/
|
|
63
|
-
rows?: number | string;
|
|
64
|
-
/** HTML input type. Ignored when multiline. Default: `'text'`. */
|
|
65
|
-
type?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Visual style of the input.
|
|
68
|
-
* - `outlined` / `default` - full border box (default)
|
|
69
|
-
* - `underline` - border on bottom only
|
|
70
|
-
* - `text` - no border, transparent background
|
|
71
|
-
*/
|
|
72
|
-
variant?: TextInputVariant;
|
|
73
|
-
value?: string | number | readonly string[];
|
|
74
|
-
className?: string;
|
|
75
|
-
/** Overrides the CSS of the root: an entry of `StyleSheet.create`, or a list of them. It wins over `slotProps.root.style`. */
|
|
76
|
-
style?: StyleOverride;
|
|
77
|
-
/** Overrides for the slots a theme can style: `style`, `className`, `data-*` and `aria-*`. */
|
|
78
|
-
slotProps?: SlotProps<TextInputSlot>;
|
|
79
|
-
'data-testid'?: string;
|
|
80
|
-
}
|
|
1
|
+
import { $ as TextInputSize, Q as TextInputProps, X as TextInputColor, Y as TextInputClasses, Z as TextInputOwnerState, et as TextInputSlot, nt as TextInputThemeConfig, rt as TextInputVariant, tt as TextInputTextColor } from "./index-DPQxIeZF.cjs";
|
|
81
2
|
export declare function TextInput({ autoComplete, autoFocus, borderRadius, classes, components, color: colorProp, textColor: textColorProp, disabled: disabledProp, error: errorProp, fullWidth: fullWidthProp, id: idProp, inputComponent, inputProps, inputSize, maxRows, minRows, multiline, name, onChange, placeholder, readOnly, required: requiredProp, resize, rows, size: sizeProp, type, value, variant: variantProp, className, style, slotProps, 'data-testid': dataTestid, ...spaceProps }: Readonly<TextInputProps>): import("react").JSX.Element;
|
|
82
|
-
export { TextInputOwnerState, TextInputSlot, TextInputThemeConfig };
|
|
3
|
+
export { TextInputClasses, TextInputColor, TextInputOwnerState, TextInputProps, TextInputSize, TextInputSlot, TextInputTextColor, TextInputThemeConfig, TextInputVariant };
|
package/dist/TextInput.d.mts
CHANGED
|
@@ -1,82 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChangeEventHandler, ElementType, InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
3
|
-
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
|
-
export type TextInputColor = keyof Theme['palette'];
|
|
5
|
-
export type TextInputTextColor = keyof Theme['text'];
|
|
6
|
-
export type TextInputVariant = 'default' | 'outlined' | 'text' | 'underline';
|
|
7
|
-
export type TextInputSize = keyof Theme['sizes'];
|
|
8
|
-
export interface TextInputClasses {
|
|
9
|
-
root?: string;
|
|
10
|
-
input?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface TextInputProps extends SpaceProps, Pick<LayoutProps, 'width' | 'minWidth' | 'maxWidth'> {
|
|
13
|
-
/** Corner radius - applies only to `default` and `outlined` variants. Resolves against `theme.radii`. */
|
|
14
|
-
borderRadius?: keyof Theme['radii'];
|
|
15
|
-
autoComplete?: string;
|
|
16
|
-
autoFocus?: boolean;
|
|
17
|
-
/** Class names applied to inner elements. `root` targets the wrapper; `input` targets the native element. */
|
|
18
|
-
classes?: TextInputClasses;
|
|
19
|
-
/** Override components for the Root and Input slots. */
|
|
20
|
-
components?: {
|
|
21
|
-
Input?: ElementType;
|
|
22
|
-
Root?: ElementType;
|
|
23
|
-
};
|
|
24
|
-
/** Focus/active border color - resolves to `theme.palette[color].main`. Default: 'primary', overridable via `theme.defaults.color`. */
|
|
25
|
-
color?: TextInputColor;
|
|
26
|
-
/** Text color of the typed value - resolves against `theme.text`. Default: the accent `color`'s `main`. */
|
|
27
|
-
textColor?: TextInputTextColor;
|
|
28
|
-
/** Disables the input. */
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
/** Marks the field as invalid - applies error border color. */
|
|
31
|
-
error?: boolean;
|
|
32
|
-
/** Stretches the root to fill its container. */
|
|
33
|
-
fullWidth?: boolean;
|
|
34
|
-
id?: string;
|
|
35
|
-
/** Custom component for the input element. Takes priority over `components.Input`. Default: `'input'`. */
|
|
36
|
-
inputComponent?: ElementType;
|
|
37
|
-
/** Native HTML `size` attribute - visible width in character widths. Has no effect with `multiline` or `resize`. */
|
|
38
|
-
inputSize?: number;
|
|
39
|
-
/** Extra props spread onto the native element. Explicit top-level props take priority. */
|
|
40
|
-
inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, 'style'> & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'style'>;
|
|
41
|
-
/** Maximum rows before the auto-grow textarea starts scrolling. Only applies when `resize` is set. */
|
|
42
|
-
maxRows?: number | string;
|
|
43
|
-
/** Minimum rows for the auto-grow textarea. Only applies when `resize` is set. */
|
|
44
|
-
minRows?: number | string;
|
|
45
|
-
/**
|
|
46
|
-
* Renders a `<textarea>` that grows with its content.
|
|
47
|
-
* Combine with `rows` to fix the height instead of auto-growing.
|
|
48
|
-
*/
|
|
49
|
-
multiline?: boolean;
|
|
50
|
-
name?: string;
|
|
51
|
-
onChange?: ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
52
|
-
placeholder?: string;
|
|
53
|
-
readOnly?: boolean;
|
|
54
|
-
required?: boolean;
|
|
55
|
-
/** Auto-grows the textarea as content increases. Requires `multiline`. */
|
|
56
|
-
resize?: boolean;
|
|
57
|
-
/** Controls padding and font size. Default: 'md', overridable via `theme.defaults.size`. */
|
|
58
|
-
size?: TextInputSize;
|
|
59
|
-
/**
|
|
60
|
-
* Fixes the textarea height to this many rows. Also enables `multiline`
|
|
61
|
-
* when value is greater than 1. Disables resize.
|
|
62
|
-
*/
|
|
63
|
-
rows?: number | string;
|
|
64
|
-
/** HTML input type. Ignored when multiline. Default: `'text'`. */
|
|
65
|
-
type?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Visual style of the input.
|
|
68
|
-
* - `outlined` / `default` - full border box (default)
|
|
69
|
-
* - `underline` - border on bottom only
|
|
70
|
-
* - `text` - no border, transparent background
|
|
71
|
-
*/
|
|
72
|
-
variant?: TextInputVariant;
|
|
73
|
-
value?: string | number | readonly string[];
|
|
74
|
-
className?: string;
|
|
75
|
-
/** Overrides the CSS of the root: an entry of `StyleSheet.create`, or a list of them. It wins over `slotProps.root.style`. */
|
|
76
|
-
style?: StyleOverride;
|
|
77
|
-
/** Overrides for the slots a theme can style: `style`, `className`, `data-*` and `aria-*`. */
|
|
78
|
-
slotProps?: SlotProps<TextInputSlot>;
|
|
79
|
-
'data-testid'?: string;
|
|
80
|
-
}
|
|
1
|
+
import { A as TextInputColor, F as TextInputTextColor, I as TextInputThemeConfig, L as TextInputVariant, M as TextInputProps, N as TextInputSize, P as TextInputSlot, j as TextInputOwnerState, k as TextInputClasses } from "./Accordion.types-DxvwAfZc.mjs";
|
|
81
2
|
export declare function TextInput({ autoComplete, autoFocus, borderRadius, classes, components, color: colorProp, textColor: textColorProp, disabled: disabledProp, error: errorProp, fullWidth: fullWidthProp, id: idProp, inputComponent, inputProps, inputSize, maxRows, minRows, multiline, name, onChange, placeholder, readOnly, required: requiredProp, resize, rows, size: sizeProp, type, value, variant: variantProp, className, style, slotProps, 'data-testid': dataTestid, ...spaceProps }: Readonly<TextInputProps>): import("react").JSX.Element;
|
|
82
|
-
export { TextInputOwnerState, TextInputSlot, TextInputThemeConfig };
|
|
3
|
+
export { TextInputClasses, TextInputColor, TextInputOwnerState, TextInputProps, TextInputSize, TextInputSlot, TextInputTextColor, TextInputThemeConfig, TextInputVariant };
|
package/dist/TextInput.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useFormControl } from "./FormControl.mjs";
|
|
3
|
-
import { t as styled } from "./styled-
|
|
3
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
4
4
|
import "./themes-BtfQPcbo.mjs";
|
|
5
5
|
import { _ as useTheme } from "./styleEngine-CLid4cmR.mjs";
|
|
6
6
|
import { n as getFocusRing, r as getInputMinWidth, t as inputVariantStyles } from "./inputVariantStyles-B-4lHxUZ.mjs";
|
package/dist/ThemeProvider.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ThemeProvider } from "./index-
|
|
1
|
+
import { C as ThemeProvider } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
export { ThemeProvider };
|
package/dist/ThemeProvider.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { gi as ThemeProvider } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
2
|
export { ThemeProvider };
|
package/dist/ToggleButton.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_Button = require("./Button.cjs");
|
|
4
4
|
const require_ButtonGroupContext = require("./ButtonGroupContext-W4VkHwoR.cjs");
|
|
5
|
-
const require_styled = require("./styled-
|
|
5
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
6
6
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
7
7
|
const require_ButtonGroup = require("./ButtonGroup.cjs");
|
|
8
8
|
let react = require("react");
|
package/dist/ToggleButton.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import "./Button.cjs";
|
|
2
|
+
import { G as ToggleButtonGroupThemeConfig, J as ToggleButtonThemeConfig, Ji as ButtonProps, K as ToggleButtonOwnerState, U as ToggleButtonGroupOwnerState, W as ToggleButtonGroupSlot, ia as StyleOverride, na as SlotProps, q as ToggleButtonSlot } from "./index-DPQxIeZF.cjs";
|
|
3
3
|
import { ButtonGroupProps } from "./ButtonGroup.cjs";
|
|
4
4
|
export type ToggleButtonValue = string | number;
|
|
5
5
|
/**
|
package/dist/ToggleButton.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { C as
|
|
3
|
-
import { a as ButtonGroupProps } from "./index-
|
|
1
|
+
import "./index-CLQt_mOa.mjs";
|
|
2
|
+
import { C as ToggleButtonGroupOwnerState, D as ToggleButtonSlot, E as ToggleButtonOwnerState, Ha as SlotProps, O as ToggleButtonThemeConfig, Qi as ButtonProps, T as ToggleButtonGroupThemeConfig, Wa as StyleOverride, w as ToggleButtonGroupSlot } from "./Accordion.types-DxvwAfZc.mjs";
|
|
3
|
+
import { a as ButtonGroupProps } from "./index-DtfH-dhY.mjs";
|
|
4
4
|
export type ToggleButtonValue = string | number;
|
|
5
5
|
/**
|
|
6
6
|
* Selection state provided by `ToggleButtonGroup` and consumed by `ToggleButton`.
|
package/dist/ToggleButton.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Button } from "./Button.mjs";
|
|
3
3
|
import { t as ButtonGroupContext } from "./ButtonGroupContext-D5Fg5Slq.mjs";
|
|
4
|
-
import { t as styled } from "./styled-
|
|
4
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
5
5
|
import "./themes-BtfQPcbo.mjs";
|
|
6
6
|
import { _ as useTheme, i as alpha } from "./styleEngine-CLid4cmR.mjs";
|
|
7
7
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|