@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,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as C, Fragment as P } from "react/jsx-runtime";
|
|
2
|
-
import { createSafeContext as R, cn as
|
|
2
|
+
import { createSafeContext as R, cn as m, useDisabledContext as V } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { cva as h } from "class-variance-authority";
|
|
4
4
|
import { useCallback as B } from "react";
|
|
5
|
-
import { Tooltip as S, TooltipTrigger as N, TooltipContent as
|
|
6
|
-
import { useCommonTranslation as
|
|
5
|
+
import { Tooltip as S, TooltipTrigger as N, TooltipContent as T } from "../Tooltip/Tooltip.js";
|
|
6
|
+
import { useCommonTranslation as A } from "../../../i18n/useCommonTranslation.js";
|
|
7
7
|
import { useControllableState as x } from "../../../utils/useControllableState/useControllableState.js";
|
|
8
8
|
import { ExpandRight as q } from "../../Symbols/Icons/ExpandRight.js";
|
|
9
9
|
import { ExpandLeft as E } from "../../Symbols/Icons/ExpandLeft.js";
|
|
10
|
-
const [O,
|
|
10
|
+
const [O, w] = R("SideBar"), f = {
|
|
11
11
|
root: h(
|
|
12
12
|
[
|
|
13
13
|
"flex h-full flex-col justify-between gap-16 overflow-y-auto rounded-xl bg-muted-transparent p-16",
|
|
@@ -50,46 +50,44 @@ const [O, A] = R("SideBar"), f = {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
)
|
|
53
|
-
},
|
|
53
|
+
}, U = ({
|
|
54
54
|
ref: n,
|
|
55
55
|
collapsed: t,
|
|
56
56
|
defaultCollapsed: s = !1,
|
|
57
57
|
onCollapsedChange: a,
|
|
58
58
|
active: o,
|
|
59
59
|
defaultActive: r,
|
|
60
|
-
onActiveChange:
|
|
61
|
-
children:
|
|
60
|
+
onActiveChange: c,
|
|
61
|
+
children: d,
|
|
62
62
|
className: i,
|
|
63
63
|
...p
|
|
64
64
|
}) => {
|
|
65
|
-
const { t: l } =
|
|
65
|
+
const { t: l } = A(), [b, g] = x({
|
|
66
66
|
prop: t,
|
|
67
67
|
defaultProp: s,
|
|
68
68
|
onChange: a
|
|
69
|
-
}), [
|
|
69
|
+
}), [v, u] = x({
|
|
70
70
|
prop: o,
|
|
71
71
|
defaultProp: r ?? "",
|
|
72
|
-
onChange:
|
|
72
|
+
onChange: c
|
|
73
73
|
});
|
|
74
74
|
return /* @__PURE__ */ e(
|
|
75
75
|
O,
|
|
76
76
|
{
|
|
77
|
-
value: { collapsed: b, setCollapsed:
|
|
77
|
+
value: { collapsed: b, setCollapsed: g, active: v, onActiveChange: u },
|
|
78
78
|
children: /* @__PURE__ */ e(
|
|
79
79
|
"nav",
|
|
80
80
|
{
|
|
81
81
|
ref: n,
|
|
82
|
-
className:
|
|
82
|
+
className: m(f.root({ collapsed: b }), i),
|
|
83
83
|
"aria-label": l("components.sideBar.navigationAriaLabel"),
|
|
84
84
|
...p,
|
|
85
|
-
children:
|
|
85
|
+
children: d
|
|
86
86
|
}
|
|
87
87
|
)
|
|
88
88
|
}
|
|
89
89
|
);
|
|
90
|
-
}
|
|
91
|
-
D.displayName = "SideBar";
|
|
92
|
-
const F = ({
|
|
90
|
+
}, X = ({
|
|
93
91
|
ref: n,
|
|
94
92
|
children: t,
|
|
95
93
|
className: s,
|
|
@@ -98,13 +96,11 @@ const F = ({
|
|
|
98
96
|
"div",
|
|
99
97
|
{
|
|
100
98
|
ref: n,
|
|
101
|
-
className:
|
|
99
|
+
className: m(f.section(), s),
|
|
102
100
|
...a,
|
|
103
101
|
children: t
|
|
104
102
|
}
|
|
105
|
-
)
|
|
106
|
-
F.displayName = "SideBarLeading";
|
|
107
|
-
const W = ({
|
|
103
|
+
), Y = ({
|
|
108
104
|
ref: n,
|
|
109
105
|
children: t,
|
|
110
106
|
className: s,
|
|
@@ -113,37 +109,35 @@ const W = ({
|
|
|
113
109
|
"div",
|
|
114
110
|
{
|
|
115
111
|
ref: n,
|
|
116
|
-
className:
|
|
112
|
+
className: m("mt-auto", f.section(), s),
|
|
117
113
|
...a,
|
|
118
114
|
children: t
|
|
119
115
|
}
|
|
120
|
-
)
|
|
121
|
-
W.displayName = "SideBarTrailing";
|
|
122
|
-
const G = ({
|
|
116
|
+
), Z = ({
|
|
123
117
|
ref: n,
|
|
124
118
|
value: t,
|
|
125
119
|
icon: s,
|
|
126
120
|
activeIcon: a,
|
|
127
121
|
label: o,
|
|
128
122
|
tooltipContent: r,
|
|
129
|
-
disabled:
|
|
130
|
-
className:
|
|
123
|
+
disabled: c = !1,
|
|
124
|
+
className: d,
|
|
131
125
|
onClick: i,
|
|
132
126
|
...p
|
|
133
127
|
}) => {
|
|
134
128
|
const l = V({
|
|
135
129
|
consumerName: "SideBarItem",
|
|
136
|
-
mergeWith: { disabled:
|
|
137
|
-
}), { collapsed: b, active:
|
|
130
|
+
mergeWith: { disabled: c }
|
|
131
|
+
}), { collapsed: b, active: g, onActiveChange: v } = w({
|
|
138
132
|
consumerName: "SideBarItem",
|
|
139
133
|
contextRequired: !0
|
|
140
|
-
}),
|
|
134
|
+
}), u = g === t, y = u ? a : s, I = r ?? o, L = B(
|
|
141
135
|
(z) => {
|
|
142
|
-
l || (i?.(z),
|
|
136
|
+
l || (i?.(z), v?.(t));
|
|
143
137
|
},
|
|
144
|
-
[l, i,
|
|
138
|
+
[l, i, v, t]
|
|
145
139
|
), j = /* @__PURE__ */ C(P, { children: [
|
|
146
|
-
/* @__PURE__ */ e(
|
|
140
|
+
/* @__PURE__ */ e(y, { size: 20 }),
|
|
147
141
|
o != null && /* @__PURE__ */ e("span", { className: "translate-x-8 truncate", children: o })
|
|
148
142
|
] }), k = /* @__PURE__ */ e(
|
|
149
143
|
"button",
|
|
@@ -152,55 +146,52 @@ const G = ({
|
|
|
152
146
|
type: "button",
|
|
153
147
|
disabled: l,
|
|
154
148
|
onClick: L,
|
|
155
|
-
className:
|
|
156
|
-
f.item({ active:
|
|
157
|
-
|
|
149
|
+
className: m(
|
|
150
|
+
f.item({ active: u, disabled: l }),
|
|
151
|
+
d
|
|
158
152
|
),
|
|
159
|
-
"aria-current":
|
|
153
|
+
"aria-current": u ? "page" : void 0,
|
|
160
154
|
...p,
|
|
161
155
|
children: j
|
|
162
156
|
}
|
|
163
157
|
);
|
|
164
158
|
return /* @__PURE__ */ C(S, { open: b ? void 0 : !1, children: [
|
|
165
159
|
/* @__PURE__ */ e(N, { asChild: !0, children: k }),
|
|
166
|
-
/* @__PURE__ */ e(
|
|
160
|
+
/* @__PURE__ */ e(T, { side: "right", sideOffset: 8, children: I })
|
|
167
161
|
] });
|
|
168
|
-
}
|
|
169
|
-
G.displayName = "SideBarItem";
|
|
170
|
-
const H = ({
|
|
162
|
+
}, _ = ({
|
|
171
163
|
className: n,
|
|
172
164
|
tooltipContent: t,
|
|
173
165
|
...s
|
|
174
166
|
}) => {
|
|
175
|
-
const { t: a } =
|
|
167
|
+
const { t: a } = A(), { collapsed: o, setCollapsed: r } = w({
|
|
176
168
|
consumerName: "SideBarCollapseToggle",
|
|
177
169
|
contextRequired: !0
|
|
178
|
-
}),
|
|
170
|
+
}), c = B(() => {
|
|
179
171
|
r(!o);
|
|
180
|
-
}, [o, r]),
|
|
172
|
+
}, [o, r]), d = o ? q : E, i = /* @__PURE__ */ e(
|
|
181
173
|
"button",
|
|
182
174
|
{
|
|
183
175
|
type: "button",
|
|
184
|
-
onClick:
|
|
185
|
-
className:
|
|
176
|
+
onClick: c,
|
|
177
|
+
className: m(
|
|
186
178
|
f.item({ active: !1, disabled: !1 }),
|
|
187
179
|
n
|
|
188
180
|
),
|
|
189
181
|
"aria-label": a(o ? "components.sideBar.expandAriaLabel" : "components.sideBar.collapseAriaLabel"),
|
|
190
182
|
...s,
|
|
191
|
-
children: /* @__PURE__ */ e(
|
|
183
|
+
children: /* @__PURE__ */ e(d, { size: 20 })
|
|
192
184
|
}
|
|
193
185
|
), p = t ?? a("components.sideBar.collapseAriaLabel");
|
|
194
186
|
return /* @__PURE__ */ C(S, { open: o ? void 0 : !1, children: [
|
|
195
187
|
/* @__PURE__ */ e(N, { asChild: !0, children: i }),
|
|
196
|
-
/* @__PURE__ */ e(
|
|
188
|
+
/* @__PURE__ */ e(T, { side: "right", sideOffset: 8, children: p })
|
|
197
189
|
] });
|
|
198
190
|
};
|
|
199
|
-
H.displayName = "SideBarCollapseToggle";
|
|
200
191
|
export {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
192
|
+
U as SideBar,
|
|
193
|
+
_ as SideBarCollapseToggle,
|
|
194
|
+
Z as SideBarItem,
|
|
195
|
+
X as SideBarLeading,
|
|
196
|
+
Y as SideBarTrailing
|
|
206
197
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { SkeletonProps } from './types';
|
|
2
|
-
declare const Skeleton: {
|
|
3
|
-
({ className, component, ref, ...props }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
displayName: string;
|
|
5
|
-
};
|
|
2
|
+
declare const Skeleton: ({ className, component, ref, ...props }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
3
|
export { Skeleton };
|
|
7
4
|
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AA2F7C,QAAA,MAAM,QAAQ,GAAI,yCAAyC,aAAa,4CAkBvE,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { cn as
|
|
2
|
+
import { cn as c } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
const l = ({ className: a, ref: s, ...t }) => /* @__PURE__ */ e(
|
|
4
4
|
"div",
|
|
5
5
|
{
|
|
6
6
|
ref: s,
|
|
7
|
-
className:
|
|
7
|
+
className: c("animate-pulse rounded-md bg-muted-transparent", a),
|
|
8
8
|
...t
|
|
9
9
|
}
|
|
10
|
-
)
|
|
11
|
-
l.displayName = "BaseSkeleton";
|
|
12
|
-
const r = ({ className: a, ref: s, ...t }) => /* @__PURE__ */ n(
|
|
10
|
+
), o = ({ className: a, ref: s, ...t }) => /* @__PURE__ */ n(
|
|
13
11
|
"div",
|
|
14
12
|
{
|
|
15
13
|
ref: s,
|
|
16
14
|
"data-slot": "skeleton",
|
|
17
|
-
className:
|
|
15
|
+
className: c("flex w-full items-center gap-16 py-8", a),
|
|
18
16
|
...t,
|
|
19
17
|
children: [
|
|
20
18
|
/* @__PURE__ */ e(l, { className: "size-48 shrink-0 rounded-full" }),
|
|
@@ -24,14 +22,12 @@ const r = ({ className: a, ref: s, ...t }) => /* @__PURE__ */ n(
|
|
|
24
22
|
] })
|
|
25
23
|
]
|
|
26
24
|
}
|
|
27
|
-
)
|
|
28
|
-
r.displayName = "ListItemSkeleton";
|
|
29
|
-
const o = ({ className: a, ref: s, ...t }) => /* @__PURE__ */ n(
|
|
25
|
+
), m = ({ className: a, ref: s, ...t }) => /* @__PURE__ */ n(
|
|
30
26
|
"div",
|
|
31
27
|
{
|
|
32
28
|
ref: s,
|
|
33
29
|
"data-slot": "skeleton",
|
|
34
|
-
className:
|
|
30
|
+
className: c(
|
|
35
31
|
"flex w-112 flex-col items-center gap-12 rounded-md px-8 py-16",
|
|
36
32
|
a
|
|
37
33
|
),
|
|
@@ -44,14 +40,12 @@ const o = ({ className: a, ref: s, ...t }) => /* @__PURE__ */ n(
|
|
|
44
40
|
] })
|
|
45
41
|
]
|
|
46
42
|
}
|
|
47
|
-
)
|
|
48
|
-
o.displayName = "TileSkeleton";
|
|
49
|
-
const u = ({ className: a, ref: s, ...t }) => /* @__PURE__ */ n(
|
|
43
|
+
), u = ({ className: a, ref: s, ...t }) => /* @__PURE__ */ n(
|
|
50
44
|
"div",
|
|
51
45
|
{
|
|
52
46
|
ref: s,
|
|
53
47
|
"data-slot": "skeleton",
|
|
54
|
-
className:
|
|
48
|
+
className: c("flex w-full flex-col", a),
|
|
55
49
|
...t,
|
|
56
50
|
children: [
|
|
57
51
|
/* @__PURE__ */ e("div", { className: "flex h-40 w-full items-center", children: /* @__PURE__ */ e(l, { className: "h-12 w-full" }) }),
|
|
@@ -70,13 +64,13 @@ const u = ({ className: a, ref: s, ...t }) => /* @__PURE__ */ n(
|
|
|
70
64
|
]
|
|
71
65
|
}
|
|
72
66
|
), i = {
|
|
73
|
-
"list-item":
|
|
74
|
-
tile:
|
|
67
|
+
"list-item": o,
|
|
68
|
+
tile: m,
|
|
75
69
|
table: u
|
|
76
|
-
},
|
|
70
|
+
}, N = ({ className: a, component: s, ref: t, ...d }) => {
|
|
77
71
|
if (s && i[s]) {
|
|
78
|
-
const
|
|
79
|
-
return /* @__PURE__ */ e(
|
|
72
|
+
const r = i[s];
|
|
73
|
+
return /* @__PURE__ */ e(r, { ...d, ref: t, className: a });
|
|
80
74
|
}
|
|
81
75
|
return /* @__PURE__ */ e(
|
|
82
76
|
l,
|
|
@@ -85,11 +79,10 @@ const u = ({ className: a, ref: s, ...t }) => /* @__PURE__ */ n(
|
|
|
85
79
|
"data-testid": "skeleton",
|
|
86
80
|
className: a,
|
|
87
81
|
"data-slot": "skeleton",
|
|
88
|
-
...
|
|
82
|
+
...d
|
|
89
83
|
}
|
|
90
84
|
);
|
|
91
85
|
};
|
|
92
|
-
f.displayName = "Skeleton";
|
|
93
86
|
export {
|
|
94
|
-
|
|
87
|
+
N as Skeleton
|
|
95
88
|
};
|
|
@@ -33,8 +33,5 @@ import { SpotProps } from './types';
|
|
|
33
33
|
* <Spot appearance="bluetooth" />
|
|
34
34
|
* <Spot appearance="bluetooth" disabled />
|
|
35
35
|
*/
|
|
36
|
-
export declare const Spot:
|
|
37
|
-
(props: SpotProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
displayName: string;
|
|
39
|
-
};
|
|
36
|
+
export declare const Spot: (props: SpotProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
37
|
//# sourceMappingURL=Spot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spot.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Spot/Spot.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAY,MAAM,SAAS,CAAC;AA8B9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"Spot.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Spot/Spot.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAY,MAAM,SAAS,CAAC;AA8B9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,SAAS,4CA2EpC,CAAC"}
|
|
@@ -7,9 +7,9 @@ import { InformationFill as w } from "../../Symbols/Icons/InformationFill.js";
|
|
|
7
7
|
import { WarningFill as y } from "../../Symbols/Icons/WarningFill.js";
|
|
8
8
|
import { DeleteCircleFill as C } from "../../Symbols/Icons/DeleteCircleFill.js";
|
|
9
9
|
import { CheckmarkCircleFill as F } from "../../Symbols/Icons/CheckmarkCircleFill.js";
|
|
10
|
-
import { BluetoothCircleFill as
|
|
11
|
-
const
|
|
12
|
-
"flex items-center justify-center rounded-full bg-muted-transparent",
|
|
10
|
+
import { BluetoothCircleFill as k } from "../../Symbols/Icons/BluetoothCircleFill.js";
|
|
11
|
+
const N = g(
|
|
12
|
+
"flex shrink-0 items-center justify-center rounded-full bg-muted-transparent",
|
|
13
13
|
{
|
|
14
14
|
variants: {
|
|
15
15
|
appearance: {
|
|
@@ -34,10 +34,10 @@ const S = g(
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
),
|
|
37
|
+
), V = (r) => {
|
|
38
38
|
const {
|
|
39
|
-
appearance:
|
|
40
|
-
className:
|
|
39
|
+
appearance: n,
|
|
40
|
+
className: a,
|
|
41
41
|
disabled: i = !1,
|
|
42
42
|
size: o = 48,
|
|
43
43
|
ref: c,
|
|
@@ -66,7 +66,7 @@ const S = g(
|
|
|
66
66
|
case "number":
|
|
67
67
|
return /* @__PURE__ */ e("span", { className: s, children: r.number });
|
|
68
68
|
case "bluetooth":
|
|
69
|
-
return /* @__PURE__ */ e(
|
|
69
|
+
return /* @__PURE__ */ e(k, { size: t });
|
|
70
70
|
case "check":
|
|
71
71
|
return /* @__PURE__ */ e(F, { size: t });
|
|
72
72
|
case "error":
|
|
@@ -84,10 +84,10 @@ const S = g(
|
|
|
84
84
|
{
|
|
85
85
|
ref: c,
|
|
86
86
|
className: f(
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
a,
|
|
88
|
+
N({
|
|
89
89
|
disabled: m,
|
|
90
|
-
appearance:
|
|
90
|
+
appearance: n,
|
|
91
91
|
size: o
|
|
92
92
|
})
|
|
93
93
|
),
|
|
@@ -96,7 +96,6 @@ const S = g(
|
|
|
96
96
|
}
|
|
97
97
|
);
|
|
98
98
|
};
|
|
99
|
-
k.displayName = "Spot";
|
|
100
99
|
export {
|
|
101
|
-
|
|
100
|
+
V as Spot
|
|
102
101
|
};
|
|
@@ -9,8 +9,5 @@ import { StepperProps } from './types';
|
|
|
9
9
|
* <Stepper currentStep={1} totalSteps={4} />
|
|
10
10
|
* <Stepper currentStep={0} totalSteps={9} disabled /> // Shows minimal dot, disabled style
|
|
11
11
|
*/
|
|
12
|
-
export declare const Stepper: {
|
|
13
|
-
({ className, currentStep, totalSteps, disabled: disabledProp, label, ref, ...props }: StepperProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
displayName: string;
|
|
15
|
-
};
|
|
12
|
+
export declare const Stepper: ({ className, currentStep, totalSteps, disabled: disabledProp, label, ref, ...props }: StepperProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
13
|
//# sourceMappingURL=Stepper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Stepper/Stepper.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAKvC;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Stepper/Stepper.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAKvC;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,GAAI,sFAQrB,YAAY,4CAyFd,CAAC"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useDisabledContext as
|
|
3
|
-
const s = 48, i = 4,
|
|
2
|
+
import { useDisabledContext as v, cn as d, getStepperCalculations as D } from "../../../libs/utils-shared/dist/index.js";
|
|
3
|
+
const s = 48, i = 4, W = ({
|
|
4
4
|
className: m,
|
|
5
5
|
currentStep: t,
|
|
6
6
|
totalSteps: r,
|
|
7
7
|
disabled: h = !1,
|
|
8
8
|
label: o,
|
|
9
9
|
ref: u,
|
|
10
|
-
...
|
|
10
|
+
...f
|
|
11
11
|
}) => {
|
|
12
|
-
const
|
|
12
|
+
const k = v({
|
|
13
13
|
consumerName: "Stepper",
|
|
14
14
|
mergeWith: { disabled: h }
|
|
15
15
|
}), {
|
|
16
|
-
displayLabel:
|
|
16
|
+
displayLabel: p,
|
|
17
17
|
r: n,
|
|
18
18
|
cx: l,
|
|
19
19
|
cy: c,
|
|
20
20
|
trackDashArray: b,
|
|
21
21
|
progressDashArray: x,
|
|
22
22
|
progressDashOffset: y
|
|
23
|
-
} =
|
|
23
|
+
} = D({
|
|
24
24
|
currentStep: t,
|
|
25
25
|
totalSteps: r,
|
|
26
26
|
size: s,
|
|
@@ -35,12 +35,12 @@ const s = 48, i = 4, D = ({
|
|
|
35
35
|
"aria-valuenow": t,
|
|
36
36
|
"aria-valuemin": 1,
|
|
37
37
|
"aria-valuemax": r,
|
|
38
|
-
"aria-label":
|
|
38
|
+
"aria-label": p,
|
|
39
39
|
className: d(
|
|
40
40
|
"relative flex size-48 shrink-0 items-center justify-center rounded-full",
|
|
41
41
|
m
|
|
42
42
|
),
|
|
43
|
-
...
|
|
43
|
+
...f,
|
|
44
44
|
children: [
|
|
45
45
|
/* @__PURE__ */ a(
|
|
46
46
|
"svg",
|
|
@@ -78,7 +78,7 @@ const s = 48, i = 4, D = ({
|
|
|
78
78
|
stroke: "currentColor",
|
|
79
79
|
strokeLinecap: "round",
|
|
80
80
|
className: d(
|
|
81
|
-
|
|
81
|
+
k ? "stroke-muted-subtle-hover" : "stroke-active",
|
|
82
82
|
"transition-[stroke-dashoffset,stroke] duration-300 ease-in-out"
|
|
83
83
|
),
|
|
84
84
|
style: {
|
|
@@ -102,7 +102,6 @@ const s = 48, i = 4, D = ({
|
|
|
102
102
|
}
|
|
103
103
|
);
|
|
104
104
|
};
|
|
105
|
-
D.displayName = "Stepper";
|
|
106
105
|
export {
|
|
107
|
-
|
|
106
|
+
W as Stepper
|
|
108
107
|
};
|
|
@@ -23,10 +23,7 @@ export declare const SubheaderCount: ({ value, format, className, ...props }: Su
|
|
|
23
23
|
/**
|
|
24
24
|
* Info component for the Subheader. Displays an information icon that can be wrapped in a Tooltip.
|
|
25
25
|
*/
|
|
26
|
-
export declare const SubheaderInfo: {
|
|
27
|
-
({ ref, iconType, className, ...props }: SubheaderInfoProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
26
|
+
export declare const SubheaderInfo: ({ ref, iconType, className, ...props }: SubheaderInfoProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
27
|
/**
|
|
31
28
|
* ShowMore component for the Subheader. Displays a static chevron right icon to indicate expandable content.
|
|
32
29
|
* Position this after SubheaderCount and before other elements.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subheader.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Subheader/Subheader.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,GAAI,kDAK5B,mBAAmB,4CAYrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,4CAK1B,iBAAiB,4CAgBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,wCAK5B,mBAAmB,4CAUrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"Subheader.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Subheader/Subheader.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,GAAI,kDAK5B,mBAAmB,4CAYrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,4CAK1B,iBAAiB,4CAgBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,wCAK5B,mBAAmB,4CAUrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,wCAK3B,kBAAkB,4CAcpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,yBAG/B,sBAAsB,4CAaxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,mCAIlC,yBAAyB,4CAM3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,SAAS,GAAI,mCAIvB,cAAc,4CAMhB,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { cn as s } from "../../../libs/utils-shared/dist/index.js";
|
|
|
3
3
|
import { Information as i } from "../../Symbols/Icons/Information.js";
|
|
4
4
|
import { ChevronRight as m } from "../../Symbols/Icons/ChevronRight.js";
|
|
5
5
|
import { InteractiveIcon as c } from "../InteractiveIcon/InteractiveIcon.js";
|
|
6
|
-
const
|
|
6
|
+
const b = ({
|
|
7
7
|
children: r,
|
|
8
8
|
as: e = "h2",
|
|
9
9
|
className: t,
|
|
@@ -18,7 +18,7 @@ const f = ({
|
|
|
18
18
|
...n,
|
|
19
19
|
children: r
|
|
20
20
|
}
|
|
21
|
-
),
|
|
21
|
+
), f = ({
|
|
22
22
|
children: r,
|
|
23
23
|
onClick: e,
|
|
24
24
|
className: t,
|
|
@@ -35,7 +35,7 @@ const f = ({
|
|
|
35
35
|
...n,
|
|
36
36
|
children: r
|
|
37
37
|
}
|
|
38
|
-
),
|
|
38
|
+
), x = ({
|
|
39
39
|
value: r,
|
|
40
40
|
format: e,
|
|
41
41
|
className: t,
|
|
@@ -50,7 +50,7 @@ const f = ({
|
|
|
50
50
|
children: a
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
},
|
|
53
|
+
}, g = ({
|
|
54
54
|
ref: r,
|
|
55
55
|
iconType: e = "stroked",
|
|
56
56
|
className: t,
|
|
@@ -60,14 +60,13 @@ const f = ({
|
|
|
60
60
|
{
|
|
61
61
|
ref: r,
|
|
62
62
|
iconType: e,
|
|
63
|
+
icon: i,
|
|
64
|
+
size: 16,
|
|
63
65
|
className: t,
|
|
64
66
|
"aria-label": "More information",
|
|
65
|
-
...n
|
|
66
|
-
children: /* @__PURE__ */ o(i, { size: 16 })
|
|
67
|
+
...n
|
|
67
68
|
}
|
|
68
|
-
) })
|
|
69
|
-
u.displayName = "SubheaderInfo";
|
|
70
|
-
const v = ({
|
|
69
|
+
) }), v = ({
|
|
71
70
|
className: r,
|
|
72
71
|
...e
|
|
73
72
|
}) => /* @__PURE__ */ o(
|
|
@@ -85,17 +84,17 @@ const v = ({
|
|
|
85
84
|
children: r,
|
|
86
85
|
className: e,
|
|
87
86
|
...t
|
|
88
|
-
}) => /* @__PURE__ */ o("p", { className: s("body-3 text-muted", e), ...t, children: r }),
|
|
87
|
+
}) => /* @__PURE__ */ o("p", { className: s("body-3 text-muted", e), ...t, children: r }), w = ({
|
|
89
88
|
className: r,
|
|
90
89
|
children: e,
|
|
91
90
|
...t
|
|
92
91
|
}) => /* @__PURE__ */ o("div", { className: s("flex flex-col gap-4", r), ...t, children: e });
|
|
93
92
|
export {
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
w as Subheader,
|
|
94
|
+
x as SubheaderCount,
|
|
96
95
|
S as SubheaderDescription,
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
g as SubheaderInfo,
|
|
97
|
+
f as SubheaderRow,
|
|
99
98
|
v as SubheaderShowMore,
|
|
100
|
-
|
|
99
|
+
b as SubheaderTitle
|
|
101
100
|
};
|
|
@@ -39,7 +39,7 @@ export type SubheaderCountProps = {
|
|
|
39
39
|
*/
|
|
40
40
|
format?: (value: number) => string;
|
|
41
41
|
} & Omit<HTMLAttributes<HTMLSpanElement>, 'children'>;
|
|
42
|
-
export type SubheaderInfoProps = Omit<InteractiveIconProps, '
|
|
42
|
+
export type SubheaderInfoProps = Omit<InteractiveIconProps, 'icon' | 'size' | 'iconType'> & {
|
|
43
43
|
/**
|
|
44
44
|
* The visual style of the icon button.
|
|
45
45
|
* Defaults to 'stroked'.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Subheader/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,IAAI,CACb,qBAAqB,EACrB,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CACzD,CAAC;CACH,GAAG,IAAI,CAAC,cAAc,CAAC,kBAAkB,CAAC,EAAE,UAAU,CAAC,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACpC,GAAG,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC,CAAC;AAEtD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,oBAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Subheader/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,IAAI,CACb,qBAAqB,EACrB,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CACzD,CAAC;CACH,GAAG,IAAI,CAAC,cAAc,CAAC,kBAAkB,CAAC,EAAE,UAAU,CAAC,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACpC,GAAG,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC,CAAC;AAEtD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,oBAAoB,EACpB,MAAM,GAAG,MAAM,GAAG,UAAU,CAC7B,GAAG;IACF;;;OAGG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,cAAc,CAAC,oBAAoB,CAAC,EAAE,UAAU,CAAC,CAAC;AAE3D,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,cAAc,CAAC,eAAe,CAAC,EAC/B,UAAU,CACX,CAAC"}
|
|
@@ -19,8 +19,5 @@ import { SwitchProps } from './types';
|
|
|
19
19
|
* const [selected, setSelected] = useState(false);
|
|
20
20
|
* <Switch size="sm" selected={selected} onChange={(selected) => setSelected(selected)} disabled={someCondition} />
|
|
21
21
|
*/
|
|
22
|
-
export declare const Switch: {
|
|
23
|
-
({ ref, className, selected, defaultSelected, onChange, size, disabled: disabledProp, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
displayName: string;
|
|
25
|
-
};
|
|
22
|
+
export declare const Switch: ({ ref, className, selected, defaultSelected, onChange, size, disabled: disabledProp, ...props }: SwitchProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
23
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Switch/Switch.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAqCtC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Switch/Switch.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAqCtC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,MAAM,GAAI,iGASpB,WAAW,4CAmBb,CAAC"}
|