@ledgerhq/lumen-ui-react 0.1.16 → 0.1.18
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/ai-rules/RULES.md +7 -1
- package/dist/index.js +148 -142
- package/dist/lib/Components/AddressInput/AddressInput.d.ts +1 -4
- package/dist/lib/Components/AddressInput/AddressInput.d.ts.map +1 -1
- package/dist/lib/Components/AddressInput/AddressInput.js +21 -21
- package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts +1 -4
- package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts.map +1 -1
- package/dist/lib/Components/AmountDisplay/AmountDisplay.js +32 -29
- package/dist/lib/Components/AmountInput/AmountInput.d.ts +1 -4
- package/dist/lib/Components/AmountInput/AmountInput.d.ts.map +1 -1
- package/dist/lib/Components/AmountInput/AmountInput.js +13 -14
- package/dist/lib/Components/Avatar/Avatar.d.ts +1 -4
- package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/lib/Components/Avatar/Avatar.js +8 -9
- package/dist/lib/Components/BaseInput/BaseInput.d.ts +1 -4
- package/dist/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
- package/dist/lib/Components/BaseInput/BaseInput.js +66 -73
- package/dist/lib/Components/Button/BaseButton.d.ts +1 -4
- package/dist/lib/Components/Button/BaseButton.d.ts.map +1 -1
- package/dist/lib/Components/Button/BaseButton.js +14 -15
- package/dist/lib/Components/Button/Button.d.ts +1 -4
- package/dist/lib/Components/Button/Button.d.ts.map +1 -1
- package/dist/lib/Components/Button/Button.js +6 -7
- package/dist/lib/Components/Card/Card.d.ts +10 -40
- package/dist/lib/Components/Card/Card.d.ts.map +1 -1
- package/dist/lib/Components/Card/Card.js +115 -134
- package/dist/lib/Components/CardButton/CardButton.d.ts +1 -4
- package/dist/lib/Components/CardButton/CardButton.d.ts.map +1 -1
- package/dist/lib/Components/CardButton/CardButton.js +10 -11
- package/dist/lib/Components/Checkbox/Checkbox.d.ts +1 -4
- package/dist/lib/Components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/lib/Components/Checkbox/Checkbox.js +2 -3
- package/dist/lib/Components/ContentBanner/ContentBanner.d.ts +4 -16
- package/dist/lib/Components/ContentBanner/ContentBanner.d.ts.map +1 -1
- package/dist/lib/Components/ContentBanner/ContentBanner.js +48 -54
- package/dist/lib/Components/DataTable/DataTable.d.ts +3 -12
- package/dist/lib/Components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/lib/Components/DataTable/DataTable.js +84 -97
- package/dist/lib/Components/Dialog/Dialog.d.ts +3 -12
- package/dist/lib/Components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/lib/Components/Dialog/Dialog.js +44 -50
- package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.d.ts +1 -4
- package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.d.ts.map +1 -1
- package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.js +31 -34
- package/dist/lib/Components/Divider/Divider.d.ts +1 -4
- package/dist/lib/Components/Divider/Divider.d.ts.map +1 -1
- package/dist/lib/Components/Divider/Divider.js +10 -11
- package/dist/lib/Components/Icon/Icon.d.ts +1 -4
- package/dist/lib/Components/Icon/Icon.d.ts.map +1 -1
- package/dist/lib/Components/Icon/Icon.js +6 -7
- package/dist/lib/Components/IconButton/IconButton.d.ts +1 -4
- package/dist/lib/Components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/lib/Components/IconButton/IconButton.js +5 -6
- package/dist/lib/Components/InteractiveIcon/InteractiveIcon.d.ts +3 -11
- package/dist/lib/Components/InteractiveIcon/InteractiveIcon.d.ts.map +1 -1
- package/dist/lib/Components/InteractiveIcon/InteractiveIcon.js +24 -22
- package/dist/lib/Components/InteractiveIcon/types.d.ts +14 -9
- package/dist/lib/Components/InteractiveIcon/types.d.ts.map +1 -1
- package/dist/lib/Components/Link/Link.d.ts +1 -4
- package/dist/lib/Components/Link/Link.d.ts.map +1 -1
- package/dist/lib/Components/Link/Link.js +13 -14
- package/dist/lib/Components/ListItem/ListItem.d.ts +7 -28
- package/dist/lib/Components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/lib/Components/ListItem/ListItem.js +60 -63
- package/dist/lib/Components/MediaBanner/MediaBanner.d.ts +3 -12
- package/dist/lib/Components/MediaBanner/MediaBanner.d.ts.map +1 -1
- package/dist/lib/Components/MediaBanner/MediaBanner.js +39 -43
- package/dist/lib/Components/MediaCard/MediaCard.d.ts +2 -8
- package/dist/lib/Components/MediaCard/MediaCard.d.ts.map +1 -1
- package/dist/lib/Components/MediaCard/MediaCard.js +38 -40
- package/dist/lib/Components/MediaImage/MediaImage.d.ts +16 -0
- package/dist/lib/Components/MediaImage/MediaImage.d.ts.map +1 -0
- package/dist/lib/Components/MediaImage/MediaImage.js +74 -0
- package/dist/lib/Components/MediaImage/index.d.ts +3 -0
- package/dist/lib/Components/MediaImage/index.d.ts.map +1 -0
- package/dist/lib/Components/MediaImage/types.d.ts +38 -0
- package/dist/lib/Components/MediaImage/types.d.ts.map +1 -0
- package/dist/lib/Components/Menu/Menu.d.ts +11 -38
- package/dist/lib/Components/Menu/Menu.d.ts.map +1 -1
- package/dist/lib/Components/Menu/Menu.js +100 -116
- package/dist/lib/Components/NavBar/CoinCapsule.d.ts +1 -4
- package/dist/lib/Components/NavBar/CoinCapsule.d.ts.map +1 -1
- package/dist/lib/Components/NavBar/CoinCapsule.js +8 -9
- package/dist/lib/Components/NavBar/NavBar.d.ts +7 -22
- package/dist/lib/Components/NavBar/NavBar.d.ts.map +1 -1
- package/dist/lib/Components/NavBar/NavBar.js +25 -34
- package/dist/lib/Components/PageIndicator/PageIndicator.d.ts +1 -4
- package/dist/lib/Components/PageIndicator/PageIndicator.d.ts.map +1 -1
- package/dist/lib/Components/PageIndicator/PageIndicator.js +15 -16
- package/dist/lib/Components/Popover/Popover.d.ts +1 -4
- package/dist/lib/Components/Popover/Popover.d.ts.map +1 -1
- package/dist/lib/Components/Popover/Popover.js +5 -7
- package/dist/lib/Components/SearchInput/SearchInput.d.ts +1 -4
- package/dist/lib/Components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/lib/Components/SearchInput/SearchInput.js +23 -20
- package/dist/lib/Components/SearchInput/types.d.ts +1 -1
- package/dist/lib/Components/SearchInput/types.d.ts.map +1 -1
- package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts +0 -6
- package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/lib/Components/SegmentedControl/SegmentedControl.js +19 -21
- package/dist/lib/Components/Select/Select.d.ts +13 -28
- package/dist/lib/Components/Select/Select.d.ts.map +1 -1
- package/dist/lib/Components/Select/Select.js +339 -207
- package/dist/lib/Components/Select/SelectContext.d.ts +3 -1
- package/dist/lib/Components/Select/SelectContext.d.ts.map +1 -1
- package/dist/lib/Components/Select/index.d.ts +1 -1
- package/dist/lib/Components/Select/index.d.ts.map +1 -1
- package/dist/lib/Components/Select/types.d.ts +171 -140
- package/dist/lib/Components/Select/types.d.ts.map +1 -1
- package/dist/lib/Components/Select/useSelectItems/index.d.ts +2 -0
- package/dist/lib/Components/Select/useSelectItems/index.d.ts.map +1 -0
- package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts +30 -0
- package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts.map +1 -0
- package/dist/lib/Components/Select/useSelectItems/useSelectItems.js +42 -0
- package/dist/lib/Components/Select/utils/groupItems.d.ts +13 -0
- package/dist/lib/Components/Select/utils/groupItems.d.ts.map +1 -0
- package/dist/lib/Components/Select/utils/groupItems.js +16 -0
- package/dist/lib/Components/Select/utils/index.d.ts +2 -0
- package/dist/lib/Components/Select/utils/index.d.ts.map +1 -0
- package/dist/lib/Components/SideBar/SideBar.d.ts +5 -20
- package/dist/lib/Components/SideBar/SideBar.d.ts.map +1 -1
- package/dist/lib/Components/SideBar/SideBar.js +44 -53
- package/dist/lib/Components/Skeleton/Skeleton.d.ts +1 -4
- package/dist/lib/Components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/lib/Components/Skeleton/Skeleton.js +15 -22
- package/dist/lib/Components/Spot/Spot.d.ts +1 -4
- package/dist/lib/Components/Spot/Spot.d.ts.map +1 -1
- package/dist/lib/Components/Spot/Spot.js +11 -12
- package/dist/lib/Components/Stepper/Stepper.d.ts +1 -4
- package/dist/lib/Components/Stepper/Stepper.d.ts.map +1 -1
- package/dist/lib/Components/Stepper/Stepper.js +10 -11
- package/dist/lib/Components/Subheader/Subheader.d.ts +1 -4
- package/dist/lib/Components/Subheader/Subheader.d.ts.map +1 -1
- package/dist/lib/Components/Subheader/Subheader.js +14 -15
- package/dist/lib/Components/Subheader/types.d.ts +1 -1
- package/dist/lib/Components/Subheader/types.d.ts.map +1 -1
- package/dist/lib/Components/Switch/Switch.d.ts +1 -4
- package/dist/lib/Components/Switch/Switch.d.ts.map +1 -1
- package/dist/lib/Components/Switch/Switch.js +2 -3
- package/dist/lib/Components/Table/Table.d.ts +16 -64
- package/dist/lib/Components/Table/Table.d.ts.map +1 -1
- package/dist/lib/Components/Table/Table.js +146 -176
- package/dist/lib/Components/Tag/Tag.d.ts +1 -4
- package/dist/lib/Components/Tag/Tag.d.ts.map +1 -1
- package/dist/lib/Components/Tag/Tag.js +10 -11
- package/dist/lib/Components/TextInput/TextInput.d.ts +1 -4
- package/dist/lib/Components/TextInput/TextInput.d.ts.map +1 -1
- package/dist/lib/Components/TextInput/TextInput.js +4 -5
- package/dist/lib/Components/Tile/Tile.d.ts +6 -24
- package/dist/lib/Components/Tile/Tile.d.ts.map +1 -1
- package/dist/lib/Components/Tile/Tile.js +58 -71
- package/dist/lib/Components/TileButton/TileButton.d.ts +1 -4
- package/dist/lib/Components/TileButton/TileButton.d.ts.map +1 -1
- package/dist/lib/Components/TileButton/TileButton.js +12 -13
- package/dist/lib/Components/TriggerButton/TriggerButton.d.ts +1 -4
- package/dist/lib/Components/TriggerButton/TriggerButton.d.ts.map +1 -1
- package/dist/lib/Components/TriggerButton/TriggerButton.js +11 -12
- package/dist/lib/Components/index.d.ts +1 -0
- package/dist/lib/Components/index.d.ts.map +1 -1
- package/dist/libs/utils-shared/dist/index.js +151 -124
- package/dist/node_modules/@base-ui/react/esm/combobox/chips/ComboboxChipsContext.js +10 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/collection/ComboboxCollection.js +17 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/collection/GroupCollectionContext.js +23 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/empty/ComboboxEmpty.js +26 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/group/ComboboxGroup.js +34 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/group/ComboboxGroupContext.js +14 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/group-label/ComboboxGroupLabel.js +27 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/input/ComboboxInput.js +221 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/item/ComboboxItem.js +113 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/item/ComboboxItemContext.js +14 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/item-indicator/ComboboxItemIndicator.js +52 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/list/ComboboxList.js +65 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/popup/ComboboxPopup.js +76 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/portal/ComboboxPortal.js +24 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/portal/ComboboxPortalContext.js +14 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/positioner/ComboboxPositioner.js +102 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/positioner/ComboboxPositionerContext.js +14 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/AriaCombobox.js +596 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/ComboboxRoot.js +23 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/ComboboxRootContext.js +41 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/utils/constants.js +8 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/utils/index.js +23 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/utils/useFilter.js +43 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/row/ComboboxRowContext.js +10 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/store.js +74 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/trigger/ComboboxTrigger.js +135 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/utils/ComboboxInternalDismissButton.js +32 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/utils/stateAttributesMapping.js +15 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/value/ComboboxValue.js +19 -0
- package/dist/node_modules/@base-ui/react/esm/composite/list/CompositeList.js +81 -0
- package/dist/node_modules/@base-ui/react/esm/composite/list/CompositeListContext.js +23 -0
- package/dist/node_modules/@base-ui/react/esm/composite/list/useCompositeListItem.js +55 -0
- package/dist/node_modules/@base-ui/react/esm/field/control/FieldControlDataAttributes.js +6 -0
- package/dist/node_modules/@base-ui/react/esm/field/root/FieldRootContext.js +53 -0
- package/dist/node_modules/@base-ui/react/esm/field/useField.js +51 -0
- package/dist/node_modules/@base-ui/react/esm/field/utils/constants.js +37 -0
- package/dist/node_modules/@base-ui/react/esm/field/utils/getCombinedFieldValidityData.js +12 -0
- package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useListNavigation.js +287 -0
- package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useTypeahead.js +71 -0
- package/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/composite.js +218 -4
- package/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/constants.js +7 -3
- package/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/element.js +3 -3
- package/dist/node_modules/@base-ui/react/esm/form/FormContext.js +23 -0
- package/dist/node_modules/@base-ui/react/esm/labelable-provider/LabelableContext.js +19 -0
- package/dist/node_modules/@base-ui/react/esm/labelable-provider/useLabelableId.js +44 -0
- package/dist/node_modules/@base-ui/react/esm/utils/constants.js +11 -8
- package/dist/node_modules/@base-ui/react/esm/utils/createBaseUIEventDetails.js +22 -13
- package/dist/node_modules/@base-ui/react/esm/utils/getPseudoElementBounds.js +18 -0
- package/dist/node_modules/@base-ui/react/esm/utils/itemEquality.js +20 -0
- package/dist/node_modules/@base-ui/react/esm/utils/reason-parts.js +13 -6
- package/dist/node_modules/@base-ui/react/esm/utils/resolveAriaLabelledBy.js +6 -0
- package/dist/node_modules/@base-ui/react/esm/utils/resolveValueLabel.js +73 -0
- package/dist/node_modules/@base-ui/react/esm/utils/serializeValue.js +14 -0
- package/dist/node_modules/@base-ui/utils/esm/detectBrowser.js +8 -7
- package/dist/node_modules/@base-ui/utils/esm/empty.js +3 -2
- package/dist/node_modules/@base-ui/utils/esm/useControlled.js +31 -0
- package/dist/node_modules/@base-ui/utils/esm/visuallyHidden.js +5 -1
- package/dist/package.json +1 -2
- package/package.json +1 -2
|
@@ -1,45 +1,41 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { cn as o } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { CoinCapsule as i } from "./CoinCapsule.js";
|
|
4
4
|
import { useCommonTranslation as l } from "../../../i18n/useCommonTranslation.js";
|
|
5
|
-
import { IconButton as
|
|
6
|
-
import { ArrowLeft as
|
|
7
|
-
const
|
|
5
|
+
import { IconButton as c } from "../IconButton/IconButton.js";
|
|
6
|
+
import { ArrowLeft as m } from "../../Symbols/Icons/ArrowLeft.js";
|
|
7
|
+
const B = ({
|
|
8
8
|
ref: a,
|
|
9
9
|
ticker: t,
|
|
10
10
|
icon: r,
|
|
11
|
-
className:
|
|
12
|
-
}) => /* @__PURE__ */
|
|
13
|
-
p.displayName = "NavBarCoinCapsule";
|
|
14
|
-
const N = ({
|
|
11
|
+
className: n
|
|
12
|
+
}) => /* @__PURE__ */ e("div", { className: "flex flex-1 items-center", "data-slot": "navbar-coin-capsule", children: /* @__PURE__ */ e(i, { ref: a, ticker: t, icon: r, className: n }) }), N = ({
|
|
15
13
|
ref: a,
|
|
16
14
|
onClick: t,
|
|
17
15
|
"aria-label": r,
|
|
18
|
-
className:
|
|
16
|
+
className: n
|
|
19
17
|
}) => {
|
|
20
18
|
const { t: s } = l();
|
|
21
|
-
return /* @__PURE__ */
|
|
22
|
-
|
|
19
|
+
return /* @__PURE__ */ e(
|
|
20
|
+
c,
|
|
23
21
|
{
|
|
24
22
|
ref: a,
|
|
25
23
|
appearance: "no-background",
|
|
26
24
|
size: "sm",
|
|
27
|
-
icon:
|
|
25
|
+
icon: m,
|
|
28
26
|
onClick: t,
|
|
29
|
-
className: o("shrink-0",
|
|
27
|
+
className: o("shrink-0", n),
|
|
30
28
|
"aria-label": r ?? s("components.navBar.goBackAriaLabel"),
|
|
31
29
|
"data-slot": "navbar-back-button"
|
|
32
30
|
}
|
|
33
31
|
);
|
|
34
|
-
}
|
|
35
|
-
N.displayName = "NavBarBackButton";
|
|
36
|
-
const v = ({
|
|
32
|
+
}, x = ({
|
|
37
33
|
ref: a,
|
|
38
34
|
children: t,
|
|
39
35
|
className: r,
|
|
40
|
-
as:
|
|
41
|
-
}) => /* @__PURE__ */
|
|
42
|
-
|
|
36
|
+
as: n = "h1"
|
|
37
|
+
}) => /* @__PURE__ */ e(
|
|
38
|
+
n,
|
|
43
39
|
{
|
|
44
40
|
ref: a,
|
|
45
41
|
className: o(
|
|
@@ -49,39 +45,34 @@ const v = ({
|
|
|
49
45
|
"data-slot": "navbar-title",
|
|
50
46
|
children: t
|
|
51
47
|
}
|
|
52
|
-
)
|
|
53
|
-
v.displayName = "NavBarTitle";
|
|
54
|
-
const B = ({
|
|
48
|
+
), g = ({
|
|
55
49
|
ref: a,
|
|
56
50
|
children: t,
|
|
57
51
|
className: r,
|
|
58
|
-
...
|
|
59
|
-
}) => /* @__PURE__ */
|
|
52
|
+
...n
|
|
53
|
+
}) => /* @__PURE__ */ e(
|
|
60
54
|
"div",
|
|
61
55
|
{
|
|
62
56
|
ref: a,
|
|
63
57
|
className: o("ml-auto flex shrink-0 items-center gap-4", r),
|
|
64
58
|
"data-slot": "navbar-trailing",
|
|
65
|
-
...
|
|
59
|
+
...n,
|
|
66
60
|
children: t
|
|
67
61
|
}
|
|
68
|
-
)
|
|
69
|
-
B.displayName = "NavBarTrailing";
|
|
70
|
-
const d = ({ ref: a, children: t, className: r, ...e }) => /* @__PURE__ */ n(
|
|
62
|
+
), k = ({ ref: a, children: t, className: r, ...n }) => /* @__PURE__ */ e(
|
|
71
63
|
"nav",
|
|
72
64
|
{
|
|
73
65
|
ref: a,
|
|
74
66
|
className: o("flex items-center gap-4", r),
|
|
75
67
|
"data-slot": "navbar",
|
|
76
|
-
...
|
|
68
|
+
...n,
|
|
77
69
|
children: t
|
|
78
70
|
}
|
|
79
71
|
);
|
|
80
|
-
d.displayName = "NavBar";
|
|
81
72
|
export {
|
|
82
|
-
|
|
73
|
+
k as NavBar,
|
|
83
74
|
N as NavBarBackButton,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
75
|
+
B as NavBarCoinCapsule,
|
|
76
|
+
x as NavBarTitle,
|
|
77
|
+
g as NavBarTrailing
|
|
87
78
|
};
|
|
@@ -5,8 +5,5 @@ import { PageIndicatorProps } from './types';
|
|
|
5
5
|
* Renders a row of dots: the active dot is highlighted, and when there are more pages than visible dots,
|
|
6
6
|
* edge dots shrink and the strip scrolls to keep the current page in view.
|
|
7
7
|
*/
|
|
8
|
-
export declare const PageIndicator: {
|
|
9
|
-
({ ref, currentPage, totalPages, className, ...props }: PageIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
8
|
+
export declare const PageIndicator: ({ ref, currentPage, totalPages, className, ...props }: PageIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
9
|
//# sourceMappingURL=PageIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageIndicator.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/PageIndicator/PageIndicator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAqF7C;;;;;GAKG;AACH,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"PageIndicator.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/PageIndicator/PageIndicator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAqF7C;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,uDAM3B,kBAAkB,4CA4CpB,CAAC"}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { cn as
|
|
3
|
-
import { useMemo as k, useRef as _, useEffect as
|
|
4
|
-
const I = 4, v = 6, A = 4,
|
|
2
|
+
import { cn as p } from "../../../libs/utils-shared/dist/index.js";
|
|
3
|
+
import { useMemo as k, useRef as _, useEffect as S, useCallback as x } from "react";
|
|
4
|
+
const I = 4, v = 6, A = 4, D = v + A, N = 200, X = ({ isActive: t, isShrunk: n }) => /* @__PURE__ */ i(
|
|
5
5
|
"span",
|
|
6
6
|
{
|
|
7
|
-
className:
|
|
7
|
+
className: p(
|
|
8
8
|
"shrink-0 rounded-full transition-all duration-200",
|
|
9
9
|
t ? "bg-muted-strong" : "bg-muted",
|
|
10
10
|
n ? "size-4" : "size-6"
|
|
11
11
|
)
|
|
12
12
|
}
|
|
13
|
-
),
|
|
13
|
+
), T = ({
|
|
14
14
|
currentPage: t,
|
|
15
15
|
totalPages: n
|
|
16
16
|
}) => {
|
|
17
17
|
const s = _(t), d = t > s.current ? "forward" : "backward";
|
|
18
|
-
|
|
18
|
+
S(() => {
|
|
19
19
|
s.current = t;
|
|
20
20
|
}, [t]);
|
|
21
21
|
const f = I - 2, l = d === "forward" ? f : 1, m = n - 1, r = Math.min(n, I), o = Math.max(
|
|
22
22
|
0,
|
|
23
23
|
Math.min(t - l, m - (r - 1))
|
|
24
|
-
), h = r * v + (r - 1) * A, e = -o *
|
|
24
|
+
), h = r * v + (r - 1) * A, e = -o * D, c = o, u = o + r - 1, b = x(
|
|
25
25
|
(a) => a === t,
|
|
26
26
|
[t]
|
|
27
|
-
), M =
|
|
27
|
+
), M = x(
|
|
28
28
|
(a) => n <= I ? !1 : a === c && c > 0 || a === u && u < n - 1,
|
|
29
29
|
[n, c, u]
|
|
30
30
|
);
|
|
@@ -34,18 +34,18 @@ const I = 4, v = 6, A = 4, S = v + A, D = 200, X = ({ isActive: t, isShrunk: n }
|
|
|
34
34
|
isActive: b,
|
|
35
35
|
isShrunk: M
|
|
36
36
|
};
|
|
37
|
-
},
|
|
37
|
+
}, V = ({
|
|
38
38
|
ref: t,
|
|
39
39
|
currentPage: n,
|
|
40
40
|
totalPages: s,
|
|
41
41
|
className: d,
|
|
42
42
|
...f
|
|
43
43
|
}) => {
|
|
44
|
-
const
|
|
44
|
+
const w = Math.max(
|
|
45
45
|
0,
|
|
46
46
|
Math.min(s - 1, n - 1)
|
|
47
|
-
), { viewportWidth: l, translateX: m, isActive: r, isShrunk: o } =
|
|
48
|
-
currentPage:
|
|
47
|
+
), { viewportWidth: l, translateX: m, isActive: r, isShrunk: o } = T({
|
|
48
|
+
currentPage: w,
|
|
49
49
|
totalPages: s
|
|
50
50
|
}), h = k(
|
|
51
51
|
() => Array.from({ length: s }, (e, c) => c),
|
|
@@ -56,7 +56,7 @@ const I = 4, v = 6, A = 4, S = v + A, D = 200, X = ({ isActive: t, isShrunk: n }
|
|
|
56
56
|
{
|
|
57
57
|
ref: t,
|
|
58
58
|
role: "none",
|
|
59
|
-
className:
|
|
59
|
+
className: p("flex items-center justify-center", d),
|
|
60
60
|
...f,
|
|
61
61
|
children: /* @__PURE__ */ i(
|
|
62
62
|
"div",
|
|
@@ -69,7 +69,7 @@ const I = 4, v = 6, A = 4, S = v + A, D = 200, X = ({ isActive: t, isShrunk: n }
|
|
|
69
69
|
className: "flex flex-row items-center gap-4",
|
|
70
70
|
style: {
|
|
71
71
|
transform: `translateX(${m}px)`,
|
|
72
|
-
transition: `transform ${
|
|
72
|
+
transition: `transform ${N}ms ease-out`
|
|
73
73
|
},
|
|
74
74
|
children: h.map((e) => /* @__PURE__ */ i(
|
|
75
75
|
X,
|
|
@@ -86,7 +86,6 @@ const I = 4, v = 6, A = 4, S = v + A, D = 200, X = ({ isActive: t, isShrunk: n }
|
|
|
86
86
|
}
|
|
87
87
|
);
|
|
88
88
|
};
|
|
89
|
-
T.displayName = "PageIndicator";
|
|
90
89
|
export {
|
|
91
|
-
|
|
90
|
+
V as PageIndicator
|
|
92
91
|
};
|
|
@@ -27,10 +27,7 @@ declare const Popover: <Payload>({ open, defaultOpen, onOpenChange, overlay, han
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link https://ldls.vercel.app/?path=/docs/components-popover-overview--docs Storybook}
|
|
29
29
|
*/
|
|
30
|
-
declare const PopoverTrigger: {
|
|
31
|
-
<Payload>({ handle, payload, render, className, ...props }: PopoverTriggerProps<Payload>): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
displayName: string;
|
|
33
|
-
};
|
|
30
|
+
declare const PopoverTrigger: <Payload>({ handle, payload, render, className, ...props }: PopoverTriggerProps<Payload>) => import("react/jsx-runtime").JSX.Element;
|
|
34
31
|
/**
|
|
35
32
|
* The content panel of the popover. Internally renders the Portal,
|
|
36
33
|
* optional Backdrop, Positioner, and Popup.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAGrE,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AA4CjB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,OAAO,GAAI,OAAO,EAAG,iEAOxB,YAAY,CAAC,OAAO,CAAC,4CAcvB,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAGrE,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AA4CjB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,OAAO,GAAI,OAAO,EAAG,iEAOxB,YAAY,CAAC,OAAO,CAAC,4CAcvB,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,cAAc,GAAI,OAAO,EAAG,kDAM/B,mBAAmB,CAAC,OAAO,CAAC,4CAS9B,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,cAAc,GAAI,0DAOrB,mBAAmB,4CA8BrB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,mBAAmB,sCAAgC,CAAC;AAE1D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -43,7 +43,7 @@ const [x, b] = m("Popover"), y = l(
|
|
|
43
43
|
"fixed inset-0 z-dialog-overlay bg-canvas-overlay-subtle",
|
|
44
44
|
"data-open:animate-fade-in",
|
|
45
45
|
"data-closed:animate-fade-out"
|
|
46
|
-
),
|
|
46
|
+
), q = ({
|
|
47
47
|
open: o,
|
|
48
48
|
defaultOpen: a,
|
|
49
49
|
onOpenChange: r,
|
|
@@ -60,7 +60,7 @@ const [x, b] = m("Popover"), y = l(
|
|
|
60
60
|
handle: n,
|
|
61
61
|
children: i
|
|
62
62
|
}
|
|
63
|
-
) }),
|
|
63
|
+
) }), B = ({
|
|
64
64
|
handle: o,
|
|
65
65
|
payload: a,
|
|
66
66
|
render: r,
|
|
@@ -76,9 +76,7 @@ const [x, b] = m("Popover"), y = l(
|
|
|
76
76
|
className: p("data-popup-open:z-menu", e),
|
|
77
77
|
...n
|
|
78
78
|
}
|
|
79
|
-
)
|
|
80
|
-
N.displayName = "PopoverTrigger";
|
|
81
|
-
const O = ({
|
|
79
|
+
), O = ({
|
|
82
80
|
side: o = "bottom",
|
|
83
81
|
sideOffset: a = 8,
|
|
84
82
|
align: r = "start",
|
|
@@ -119,8 +117,8 @@ const O = ({
|
|
|
119
117
|
] });
|
|
120
118
|
}, V = v;
|
|
121
119
|
export {
|
|
122
|
-
|
|
120
|
+
q as Popover,
|
|
123
121
|
O as PopoverContent,
|
|
124
|
-
|
|
122
|
+
B as PopoverTrigger,
|
|
125
123
|
V as createPopoverHandle
|
|
126
124
|
};
|
|
@@ -53,8 +53,5 @@ import { SearchInputProps } from './types';
|
|
|
53
53
|
* }}
|
|
54
54
|
* />
|
|
55
55
|
*/
|
|
56
|
-
export declare const SearchInput: {
|
|
57
|
-
({ ref, appearance, className, inputClassName, ...props }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
-
displayName: string;
|
|
59
|
-
};
|
|
56
|
+
export declare const SearchInput: ({ ref, appearance, className, inputClassName, containerClassName, ...props }: SearchInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
60
57
|
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA4B3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA4B3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,eAAO,MAAM,WAAW,GAAI,8EAOzB,gBAAgB,4CAwBlB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { cn as
|
|
3
|
-
import { cva as
|
|
4
|
-
import { BaseInput as
|
|
5
|
-
import { Search as
|
|
6
|
-
const
|
|
2
|
+
import { cn as t } from "../../../libs/utils-shared/dist/index.js";
|
|
3
|
+
import { cva as e } from "class-variance-authority";
|
|
4
|
+
import { BaseInput as d } from "../BaseInput/BaseInput.js";
|
|
5
|
+
import { Search as c } from "../../Symbols/Icons/Search.js";
|
|
6
|
+
const m = e("", {
|
|
7
7
|
variants: {
|
|
8
8
|
appearance: {
|
|
9
9
|
plain: "",
|
|
@@ -13,7 +13,7 @@ const c = t("", {
|
|
|
13
13
|
defaultVariants: {
|
|
14
14
|
appearance: "plain"
|
|
15
15
|
}
|
|
16
|
-
}),
|
|
16
|
+
}), l = e("", {
|
|
17
17
|
variants: {
|
|
18
18
|
appearance: {
|
|
19
19
|
plain: "",
|
|
@@ -23,31 +23,34 @@ const c = t("", {
|
|
|
23
23
|
defaultVariants: {
|
|
24
24
|
appearance: "plain"
|
|
25
25
|
}
|
|
26
|
-
}),
|
|
27
|
-
ref:
|
|
26
|
+
}), x = ({
|
|
27
|
+
ref: n,
|
|
28
28
|
appearance: a = "plain",
|
|
29
|
-
className:
|
|
30
|
-
inputClassName:
|
|
31
|
-
|
|
29
|
+
className: s,
|
|
30
|
+
inputClassName: p,
|
|
31
|
+
containerClassName: i,
|
|
32
|
+
...o
|
|
32
33
|
}) => /* @__PURE__ */ r(
|
|
33
|
-
|
|
34
|
+
d,
|
|
34
35
|
{
|
|
35
|
-
ref:
|
|
36
|
+
ref: n,
|
|
36
37
|
prefix: /* @__PURE__ */ r(
|
|
37
|
-
|
|
38
|
+
c,
|
|
38
39
|
{
|
|
39
40
|
size: 20,
|
|
40
41
|
className: "text-muted group-has-disabled:text-disabled",
|
|
41
42
|
"aria-hidden": "true"
|
|
42
43
|
}
|
|
43
44
|
),
|
|
44
|
-
className:
|
|
45
|
-
containerClassName:
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
className: s,
|
|
46
|
+
containerClassName: t(
|
|
47
|
+
m({ appearance: a }),
|
|
48
|
+
i
|
|
49
|
+
),
|
|
50
|
+
inputClassName: t(l({ appearance: a }), p),
|
|
51
|
+
...o
|
|
48
52
|
}
|
|
49
53
|
);
|
|
50
|
-
l.displayName = "SearchInput";
|
|
51
54
|
export {
|
|
52
|
-
|
|
55
|
+
x as SearchInput
|
|
53
56
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentPropsWithRef } from 'react';
|
|
2
2
|
import { BaseInputProps } from '../BaseInput/types';
|
|
3
|
-
export type SearchInputProps = Omit<BaseInputProps, 'prefix' | 'label' | 'labelClassName'
|
|
3
|
+
export type SearchInputProps = Omit<BaseInputProps, 'prefix' | 'label' | 'labelClassName'> & {
|
|
4
4
|
/**
|
|
5
5
|
* The visual appearance of the search input
|
|
6
6
|
* @default 'plain'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/SearchInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,cAAc,EACd,QAAQ,GAAG,OAAO,GAAG,gBAAgB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/SearchInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,cAAc,EACd,QAAQ,GAAG,OAAO,GAAG,gBAAgB,CACtC,GAAG;IACF;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,aAAa,CAAC;CACtC,GAAG,qBAAqB,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { SegmentedControlButtonProps, SegmentedControlProps } from './types';
|
|
2
2
|
export declare function SegmentedControlButton({ value, children, icon: Icon, onClick, className, ...props }: SegmentedControlButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace SegmentedControlButton {
|
|
4
|
-
var displayName: string;
|
|
5
|
-
}
|
|
6
3
|
export declare function SegmentedControl({ selectedValue, onSelectedChange, children, className, disabled: disabledProp, appearance, tabLayout, ...props }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare namespace SegmentedControl {
|
|
8
|
-
var displayName: string;
|
|
9
|
-
}
|
|
10
4
|
//# sourceMappingURL=SegmentedControl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAwDjB,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,QAAQ,EACR,IAAI,EAAE,IAAI,EACV,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACT,EAAE,2BAA2B,2CA+B7B;
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAwDjB,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,QAAQ,EACR,IAAI,EAAE,IAAI,EACV,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACT,EAAE,2BAA2B,2CA+B7B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,aAAa,EACb,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,QAAQ,EAAE,YAAY,EACtB,UAAyB,EACzB,SAAmB,EACnB,GAAG,KAAK,EACT,EAAE,qBAAqB,2CA+CvB"}
|
|
@@ -3,7 +3,7 @@ import { cn as x, useDisabledContext as h } from "../../../libs/utils-shared/dis
|
|
|
3
3
|
import { cva as f } from "class-variance-authority";
|
|
4
4
|
import { useRef as v } from "react";
|
|
5
5
|
import { useSegmentedControlContext as y, SegmentedControlContextProvider as C } from "./SegmentedControlContext.js";
|
|
6
|
-
import { useSegmentedControlSelectedIndex as
|
|
6
|
+
import { useSegmentedControlSelectedIndex as w, usePillElementLayoutEffect as N } from "./usePillElementLayoutEffect.js";
|
|
7
7
|
const b = {
|
|
8
8
|
root: f("relative flex flex-row items-center rounded-sm", {
|
|
9
9
|
variants: {
|
|
@@ -53,15 +53,15 @@ const b = {
|
|
|
53
53
|
}
|
|
54
54
|
)
|
|
55
55
|
};
|
|
56
|
-
function
|
|
56
|
+
function L({
|
|
57
57
|
value: s,
|
|
58
58
|
children: l,
|
|
59
59
|
icon: t,
|
|
60
60
|
onClick: d,
|
|
61
|
-
className:
|
|
62
|
-
...
|
|
61
|
+
className: c,
|
|
62
|
+
...u
|
|
63
63
|
}) {
|
|
64
|
-
const { selectedValue: a, onSelectedChange:
|
|
64
|
+
const { selectedValue: a, onSelectedChange: m, disabled: e, tabLayout: r } = y(), i = a === s;
|
|
65
65
|
return /* @__PURE__ */ o(
|
|
66
66
|
"button",
|
|
67
67
|
{
|
|
@@ -71,14 +71,14 @@ function w({
|
|
|
71
71
|
"aria-disabled": e,
|
|
72
72
|
disabled: e,
|
|
73
73
|
onClick: (n) => {
|
|
74
|
-
e || (
|
|
74
|
+
e || (m(s), d?.(n));
|
|
75
75
|
},
|
|
76
76
|
className: x(
|
|
77
77
|
b.item({ selected: i, disabled: !!e }),
|
|
78
78
|
r === "fixed" && "min-w-0 flex-1",
|
|
79
|
-
|
|
79
|
+
c
|
|
80
80
|
),
|
|
81
|
-
...
|
|
81
|
+
...u,
|
|
82
82
|
children: /* @__PURE__ */ p("span", { className: "inline-flex min-w-0 items-center justify-center gap-8", children: [
|
|
83
83
|
t && /* @__PURE__ */ o(t, { size: 16, className: "shrink-0" }),
|
|
84
84
|
/* @__PURE__ */ o("span", { className: "truncate", children: l })
|
|
@@ -86,24 +86,23 @@ function w({
|
|
|
86
86
|
}
|
|
87
87
|
);
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
function k({
|
|
89
|
+
function P({
|
|
91
90
|
selectedValue: s,
|
|
92
91
|
onSelectedChange: l,
|
|
93
92
|
children: t,
|
|
94
93
|
className: d,
|
|
95
|
-
disabled:
|
|
96
|
-
appearance:
|
|
94
|
+
disabled: c,
|
|
95
|
+
appearance: u = "background",
|
|
97
96
|
tabLayout: a = "fixed",
|
|
98
|
-
...
|
|
97
|
+
...m
|
|
99
98
|
}) {
|
|
100
99
|
const e = h({
|
|
101
100
|
consumerName: "SegmentedControl",
|
|
102
|
-
mergeWith: { disabled:
|
|
103
|
-
}), r = v(null), i =
|
|
101
|
+
mergeWith: { disabled: c }
|
|
102
|
+
}), r = v(null), i = w(
|
|
104
103
|
s,
|
|
105
104
|
t
|
|
106
|
-
), { pill: n, isReady: g } =
|
|
105
|
+
), { pill: n, isReady: g } = N({
|
|
107
106
|
ref: r,
|
|
108
107
|
selectedIndex: i,
|
|
109
108
|
children: t
|
|
@@ -115,13 +114,13 @@ function k({
|
|
|
115
114
|
children: /* @__PURE__ */ p(
|
|
116
115
|
"div",
|
|
117
116
|
{
|
|
118
|
-
...
|
|
117
|
+
...m,
|
|
119
118
|
ref: r,
|
|
120
119
|
role: "radiogroup",
|
|
121
120
|
"aria-disabled": e,
|
|
122
121
|
className: x(
|
|
123
122
|
b.root({
|
|
124
|
-
appearance:
|
|
123
|
+
appearance: u,
|
|
125
124
|
tabLayout: a
|
|
126
125
|
}),
|
|
127
126
|
d
|
|
@@ -146,8 +145,7 @@ function k({
|
|
|
146
145
|
}
|
|
147
146
|
);
|
|
148
147
|
}
|
|
149
|
-
k.displayName = "SegmentedControl";
|
|
150
148
|
export {
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
P as SegmentedControl,
|
|
150
|
+
L as SegmentedControlButton
|
|
153
151
|
};
|
|
@@ -1,30 +1,15 @@
|
|
|
1
|
-
import { SelectProps, SelectTriggerProps, SelectContentProps,
|
|
2
|
-
declare function Select({ value, defaultValue, onValueChange, disabled: disabledProp,
|
|
3
|
-
declare
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
declare const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
declare const
|
|
13
|
-
({ ref, className, ...props }: SelectLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
displayName: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
declare const SelectItem: {
|
|
17
|
-
({ ref, className, children, ...props }: SelectItemProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
displayName: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
declare const SelectSeparator: {
|
|
21
|
-
({ ref, className, ...props }: SelectSeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
displayName: string;
|
|
23
|
-
};
|
|
24
|
-
declare const SelectItemText: {
|
|
25
|
-
({ ref, className, ...props }: SelectItemTextProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
displayName: string | undefined;
|
|
27
|
-
};
|
|
1
|
+
import { SelectProps, SelectTriggerProps, SelectContentProps, SelectListProps, SelectSearchProps, SelectItemTextProps, SelectItemProps, SelectItemContentProps, SelectItemDescriptionProps, SelectSeparatorProps, SelectEmptyStateProps, SelectTriggerButtonProps } from './types';
|
|
2
|
+
declare function Select({ value, defaultValue, onValueChange, disabled: disabledProp, items, filter, filteredItems, searchValue: searchValueProp, defaultSearchValue, onSearchValueChange, open, defaultOpen, onOpenChange, name, required, children, }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const SelectTrigger: ({ render, disabled, ...props }: SelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const SelectContent: ({ ref, className, children, side, sideOffset, align, autoFocusSearch, ...props }: SelectContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const SelectList: ({ ref, className, renderItem, ...props }: SelectListProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const SelectItem: ({ ref, className, children, ...props }: SelectItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const SelectSeparator: ({ ref, className, ...props }: SelectSeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const SelectItemText: ({ ref, className, ...props }: SelectItemTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const SelectItemContent: ({ ref, className, children, ...props }: SelectItemContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const SelectItemDescription: ({ ref, className, children, ...props }: SelectItemDescriptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const SelectSearch: ({ className, placeholder, errorMessage, "aria-invalid": ariaInvalid, suffix, onClear, hideClearButton, }: SelectSearchProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const SelectEmptyState: ({ ref, className, title, description, ...props }: SelectEmptyStateProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
13
|
declare const SelectTriggerButton: ({ selectedValue, selectedContent, label, ...props }: SelectTriggerButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export { Select,
|
|
14
|
+
export { Select, SelectTrigger, SelectContent, SelectSearch, SelectList, SelectItemText, SelectItemContent, SelectItemDescription, SelectItem, SelectSeparator, SelectEmptyState, SelectTriggerButton, };
|
|
30
15
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/Select.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/Select.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAEV,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EAEjB,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAGjB,iBAAS,MAAM,CAAC,EACd,KAAK,EACL,YAAY,EACZ,aAAa,EACb,QAAQ,EAAE,YAAY,EACtB,KAAK,EACL,MAAM,EACN,aAAa,EACb,WAAW,EAAE,eAAe,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,EAAE,WAAW,2CAsDb;AA6DD,QAAA,MAAM,aAAa,GAAI,gCAAgC,kBAAkB,4CAmBxE,CAAC;AAgCF,QAAA,MAAM,aAAa,GAAI,kFASpB,kBAAkB,4CAmBpB,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,0CAKjB,eAAe,4CA+BjB,CAAC;AAqBF,QAAA,MAAM,UAAU,GAAI,wCAKjB,eAAe,4CAYjB,CAAC;AAEF,QAAA,MAAM,eAAe,GAAI,8BAItB,oBAAoB,4CAEtB,CAAC;AAEF,QAAA,MAAM,cAAc,GAAI,8BAA8B,mBAAmB,4CAOxE,CAAC;AAEF,QAAA,MAAM,iBAAiB,GAAI,wCAKxB,sBAAsB,4CASxB,CAAC;AAEF,QAAA,MAAM,qBAAqB,GAAI,wCAK5B,0BAA0B,4CAa5B,CAAC;AAEF,QAAA,MAAM,YAAY,GAAI,0GAQnB,iBAAiB,4CAyBnB,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAI,kDAMvB,qBAAqB,4CAcvB,CAAC;AAEF,QAAA,MAAM,mBAAmB,GAAI,qDAK1B,wBAAwB,4CAI1B,CAAC;AAEF,OAAO,EACL,MAAM,EACN,aAAa,EACb,aAAa,EACb,YAAY,EACZ,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,mBAAmB,GACpB,CAAC"}
|