@ledgerhq/lumen-ui-react 0.1.17 → 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 +6 -0
- 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 +44 -44
- 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 +1 -4
- package/dist/lib/Components/MediaImage/MediaImage.d.ts.map +1 -1
- package/dist/lib/Components/MediaImage/MediaImage.js +15 -16
- 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 +2 -3
- 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 +10 -40
- package/dist/lib/Components/Select/Select.d.ts.map +1 -1
- package/dist/lib/Components/Select/Select.js +141 -163
- 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/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { cn as l } from "../../../libs/utils-shared/dist/index.js";
|
|
3
|
-
const
|
|
3
|
+
const o = ({
|
|
4
4
|
ref: s,
|
|
5
5
|
ticker: n,
|
|
6
|
-
icon:
|
|
7
|
-
className:
|
|
8
|
-
}) => /* @__PURE__ */
|
|
6
|
+
icon: t,
|
|
7
|
+
className: r
|
|
8
|
+
}) => /* @__PURE__ */ a(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
11
|
ref: s,
|
|
12
12
|
className: l(
|
|
13
13
|
"flex items-center gap-8 rounded-full bg-muted-transparent py-8 pr-12 pl-8",
|
|
14
|
-
|
|
14
|
+
r
|
|
15
15
|
),
|
|
16
16
|
"data-slot": "coin-capsule",
|
|
17
17
|
children: [
|
|
18
|
-
/* @__PURE__ */ e("span", { className: "flex size-24 shrink-0 items-center justify-center", children:
|
|
18
|
+
/* @__PURE__ */ e("span", { className: "flex size-24 shrink-0 items-center justify-center", children: t }),
|
|
19
19
|
/* @__PURE__ */ e("span", { className: "body-1 text-base select-none", children: n })
|
|
20
20
|
]
|
|
21
21
|
}
|
|
22
22
|
);
|
|
23
|
-
i.displayName = "CoinCapsule";
|
|
24
23
|
export {
|
|
25
|
-
|
|
24
|
+
o as CoinCapsule
|
|
26
25
|
};
|
|
@@ -9,20 +9,14 @@ import { NavBarBackButtonProps, NavBarCoinCapsuleProps, NavBarProps, NavBarTitle
|
|
|
9
9
|
*
|
|
10
10
|
* <NavBarCoinCapsule ticker="BTC" icon={<CryptoIcon ledgerId="bitcoin" ticker="BTC" size="24px" />} />
|
|
11
11
|
*/
|
|
12
|
-
export declare const NavBarCoinCapsule: {
|
|
13
|
-
({ ref, ticker, icon, className, }: NavBarCoinCapsuleProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
displayName: string;
|
|
15
|
-
};
|
|
12
|
+
export declare const NavBarCoinCapsule: ({ ref, ticker, icon, className, }: NavBarCoinCapsuleProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
13
|
/**
|
|
17
14
|
* Back button component for the NavBar. Displays an arrow left icon button.
|
|
18
15
|
*
|
|
19
16
|
* @example
|
|
20
17
|
* <NavBarBackButton onClick={() => navigate(-1)} />
|
|
21
18
|
*/
|
|
22
|
-
export declare const NavBarBackButton: {
|
|
23
|
-
({ ref, onClick, "aria-label": ariaLabel, className, }: NavBarBackButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
displayName: string;
|
|
25
|
-
};
|
|
19
|
+
export declare const NavBarBackButton: ({ ref, onClick, "aria-label": ariaLabel, className, }: NavBarBackButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
20
|
/**
|
|
27
21
|
* Title component for the NavBar. Displays the navigation title text.
|
|
28
22
|
* Use the `as` prop to control heading semantics and avoid multiple h1s on a page.
|
|
@@ -34,10 +28,7 @@ export declare const NavBarBackButton: {
|
|
|
34
28
|
* // With custom heading level
|
|
35
29
|
* <NavBarTitle as="h2">Page Title</NavBarTitle>
|
|
36
30
|
*/
|
|
37
|
-
export declare const NavBarTitle: {
|
|
38
|
-
({ ref, children, className, as: Component, }: NavBarTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
displayName: string;
|
|
40
|
-
};
|
|
31
|
+
export declare const NavBarTitle: ({ ref, children, className, as: Component, }: NavBarTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
32
|
/**
|
|
42
33
|
* Trailing container for the NavBar. Used to place elements on the right side of the navbar.
|
|
43
34
|
*
|
|
@@ -46,12 +37,9 @@ export declare const NavBarTitle: {
|
|
|
46
37
|
* <IconButton icon={Settings} aria-label="Settings" />
|
|
47
38
|
* </NavBarTrailing>
|
|
48
39
|
*/
|
|
49
|
-
export declare const NavBarTrailing: {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
53
|
-
displayName: string;
|
|
54
|
-
};
|
|
40
|
+
export declare const NavBarTrailing: ({ ref, children, className, ...props }: NavBarTrailingProps & {
|
|
41
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
42
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
55
43
|
/**
|
|
56
44
|
* A navigation bar component for displaying page headers with optional back button, title, and trailing elements.
|
|
57
45
|
* Uses a composable compound component API where you explicitly nest sub-components to define the layout.
|
|
@@ -86,8 +74,5 @@ export declare const NavBarTrailing: {
|
|
|
86
74
|
* </NavBarTrailing>
|
|
87
75
|
* </NavBar>
|
|
88
76
|
*/
|
|
89
|
-
export declare const NavBar: {
|
|
90
|
-
({ ref, children, className, ...props }: NavBarProps): import("react/jsx-runtime").JSX.Element;
|
|
91
|
-
displayName: string;
|
|
92
|
-
};
|
|
77
|
+
export declare const NavBar: ({ ref, children, className, ...props }: NavBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
93
78
|
//# sourceMappingURL=NavBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/NavBar/NavBar.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/NavBar/NavBar.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,GAAI,mCAK/B,sBAAsB,4CAIxB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,uDAK9B,qBAAqB,4CAevB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,GAAI,8CAKzB,gBAAgB,4CAclB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GAAI,wCAK5B,mBAAmB,GAAG;IACvB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACjC,4CAWA,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,MAAM,GAAI,wCAAwC,WAAW,4CAWzE,CAAC"}
|
|
@@ -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, containerClassName, ...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"}
|
|
@@ -23,7 +23,7 @@ const m = e("", {
|
|
|
23
23
|
defaultVariants: {
|
|
24
24
|
appearance: "plain"
|
|
25
25
|
}
|
|
26
|
-
}),
|
|
26
|
+
}), x = ({
|
|
27
27
|
ref: n,
|
|
28
28
|
appearance: a = "plain",
|
|
29
29
|
className: s,
|
|
@@ -51,7 +51,6 @@ const m = e("", {
|
|
|
51
51
|
...o
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
|
-
u.displayName = "SearchInput";
|
|
55
54
|
export {
|
|
56
|
-
|
|
55
|
+
x as SearchInput
|
|
57
56
|
};
|
|
@@ -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,45 +1,15 @@
|
|
|
1
1
|
import { SelectProps, SelectTriggerProps, SelectContentProps, SelectListProps, SelectSearchProps, SelectItemTextProps, SelectItemProps, SelectItemContentProps, SelectItemDescriptionProps, SelectSeparatorProps, SelectEmptyStateProps, SelectTriggerButtonProps } from './types';
|
|
2
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: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
declare const
|
|
12
|
-
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
declare const SelectItem: {
|
|
16
|
-
({ ref, className, children, ...props }: SelectItemProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
declare const SelectSeparator: {
|
|
20
|
-
({ ref, className, ...props }: SelectSeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
23
|
-
declare const SelectItemText: {
|
|
24
|
-
({ ref, className, ...props }: SelectItemTextProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
displayName: string;
|
|
26
|
-
};
|
|
27
|
-
declare const SelectItemContent: {
|
|
28
|
-
({ ref, className, children, ...props }: SelectItemContentProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
displayName: string;
|
|
30
|
-
};
|
|
31
|
-
declare const SelectItemDescription: {
|
|
32
|
-
({ ref, className, children, ...props }: SelectItemDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
displayName: string;
|
|
34
|
-
};
|
|
35
|
-
declare const SelectSearch: {
|
|
36
|
-
({ className, placeholder, errorMessage, "aria-invalid": ariaInvalid, suffix, onClear, hideClearButton, }: SelectSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
displayName: string;
|
|
38
|
-
};
|
|
39
|
-
declare const SelectEmptyState: {
|
|
40
|
-
({ ref, className, title, description, ...props }: SelectEmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
displayName: string;
|
|
42
|
-
};
|
|
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;
|
|
43
13
|
declare const SelectTriggerButton: ({ selectedValue, selectedContent, label, ...props }: SelectTriggerButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
44
14
|
export { Select, SelectTrigger, SelectContent, SelectSearch, SelectList, SelectItemText, SelectItemContent, SelectItemDescription, SelectItem, SelectSeparator, SelectEmptyState, SelectTriggerButton, };
|
|
45
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":"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
|
|
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"}
|