@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
package/ai-rules/RULES.md
CHANGED
|
@@ -252,6 +252,7 @@ Below is a complete list of all available Lumen components. Click any component
|
|
|
252
252
|
- [Avatar](https://ldls.vercel.app/?path=/docs/communication-avatar--docs) - User avatar with image, initials, or placeholder
|
|
253
253
|
- [Banner](https://ldls.vercel.app/?path=/docs/communication-banner--docs) - Alert and notification banners
|
|
254
254
|
- [Button](https://ldls.vercel.app/?path=/docs/action-button--docs) - Primary action button component
|
|
255
|
+
- [Card](https://ldls.vercel.app/?path=/docs/containment-card--docs) - Content container card
|
|
255
256
|
- [CardButton](https://ldls.vercel.app/?path=/docs/action-cardbutton--docs) - Card-style interactive button
|
|
256
257
|
- [Checkbox](https://ldls.vercel.app/?path=/docs/selection-checkbox--docs) - Checkbox input for selections
|
|
257
258
|
- [ContentBanner](https://ldls.vercel.app/?path=/docs/communication-contentbanner--docs) - Rich content banner with image support
|
|
@@ -263,10 +264,15 @@ Below is a complete list of all available Lumen components. Click any component
|
|
|
263
264
|
- [InteractiveIcon](https://ldls.vercel.app/?path=/docs/action-interactiveicon--docs) - Interactive icon with states
|
|
264
265
|
- [Link](https://ldls.vercel.app/?path=/docs/action-link--docs) - Hyperlink component
|
|
265
266
|
- [ListItem](https://ldls.vercel.app/?path=/docs/containment-listitem--docs) - List item with flexible composition
|
|
267
|
+
- [MediaBanner](https://ldls.vercel.app/?path=/docs/communication-mediabanner--docs) - Rich media banner with image and content
|
|
268
|
+
- [MediaCard](https://ldls.vercel.app/?path=/docs/communication-mediacard--docs) - Card with media content
|
|
269
|
+
- [MediaImage](https://ldls.vercel.app/?path=/docs/communication-mediaimage--docs) - Image display component with loading states
|
|
266
270
|
- [Menu](https://ldls.vercel.app/?path=/docs/selection-menu--docs) - Dropdown menu component
|
|
267
271
|
- [NavBar](https://ldls.vercel.app/?path=/docs/navigation-navbar--docs) - Top navigation bar
|
|
268
272
|
- [PageIndicator](https://ldls.vercel.app/?path=/docs/communication-pageindicator--docs) - Step and page progress indicator
|
|
273
|
+
- [Popover](https://ldls.vercel.app/?path=/docs/containment-popover--docs) - Popover overlay component
|
|
269
274
|
- [SearchInput](https://ldls.vercel.app/?path=/docs/input-searchinput--docs) - Search input field
|
|
275
|
+
- [SegmentedControl](https://ldls.vercel.app/?path=/docs/navigation-segmentedcontrol--docs) - Segmented control for toggling between views
|
|
270
276
|
- [Select](https://ldls.vercel.app/?path=/docs/selection-select--docs) - Dropdown select component
|
|
271
277
|
- [SideBar](https://ldls.vercel.app/?path=/docs/navigation-sidebar--docs) - Side navigation panel
|
|
272
278
|
- [Skeleton](https://ldls.vercel.app/?path=/docs/communication-skeleton--docs) - Loading placeholder skeleton
|
|
@@ -54,8 +54,5 @@ import { AddressInputProps } from './types';
|
|
|
54
54
|
* }}
|
|
55
55
|
* />
|
|
56
56
|
*/
|
|
57
|
-
export declare const AddressInput: {
|
|
58
|
-
({ ref, prefix, suffix, onQrCodeClick, ...props }: AddressInputProps): import("react/jsx-runtime").JSX.Element;
|
|
59
|
-
displayName: string;
|
|
60
|
-
};
|
|
57
|
+
export declare const AddressInput: ({ ref, prefix, suffix, onQrCodeClick, ...props }: AddressInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
61
58
|
//# sourceMappingURL=AddressInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AddressInput/AddressInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"AddressInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AddressInput/AddressInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,eAAO,MAAM,YAAY,GAAI,kDAM1B,iBAAiB,4CAmCnB,CAAC"}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useCommonTranslation as
|
|
3
|
-
import { QrCode as
|
|
2
|
+
import { useCommonTranslation as f } from "../../../i18n/useCommonTranslation.js";
|
|
3
|
+
import { QrCode as p } from "../../Symbols/Icons/QrCode.js";
|
|
4
4
|
import { BaseInput as m } from "../BaseInput/BaseInput.js";
|
|
5
|
-
import { InteractiveIcon as
|
|
6
|
-
const
|
|
7
|
-
ref:
|
|
8
|
-
prefix:
|
|
9
|
-
suffix:
|
|
5
|
+
import { InteractiveIcon as c } from "../InteractiveIcon/InteractiveIcon.js";
|
|
6
|
+
const h = ({
|
|
7
|
+
ref: o,
|
|
8
|
+
prefix: r = "To:",
|
|
9
|
+
suffix: s,
|
|
10
10
|
onQrCodeClick: t,
|
|
11
|
-
...
|
|
11
|
+
...i
|
|
12
12
|
}) => {
|
|
13
|
-
const { t:
|
|
13
|
+
const { t: a } = f(), n = /* @__PURE__ */ e(
|
|
14
14
|
"span",
|
|
15
15
|
{
|
|
16
16
|
className: "body-1 text-nowrap text-base group-has-disabled:text-disabled",
|
|
17
17
|
"aria-hidden": "true",
|
|
18
|
-
children:
|
|
18
|
+
children: r
|
|
19
19
|
}
|
|
20
|
-
),
|
|
21
|
-
|
|
20
|
+
), d = s || t && /* @__PURE__ */ e(
|
|
21
|
+
c,
|
|
22
22
|
{
|
|
23
23
|
iconType: "filled",
|
|
24
|
+
icon: p,
|
|
25
|
+
size: 20,
|
|
24
26
|
onClick: t,
|
|
25
|
-
"aria-label":
|
|
26
|
-
className: "group-has-disabled:text-disabled"
|
|
27
|
-
children: /* @__PURE__ */ e(f, { size: 20 })
|
|
27
|
+
"aria-label": a("components.addressInput.qrCodeAriaLabel"),
|
|
28
|
+
className: "group-has-disabled:text-disabled"
|
|
28
29
|
}
|
|
29
30
|
);
|
|
30
31
|
return /* @__PURE__ */ e(
|
|
31
32
|
m,
|
|
32
33
|
{
|
|
33
|
-
ref:
|
|
34
|
-
prefix:
|
|
35
|
-
suffix:
|
|
36
|
-
...
|
|
34
|
+
ref: o,
|
|
35
|
+
prefix: n,
|
|
36
|
+
suffix: d,
|
|
37
|
+
...i
|
|
37
38
|
}
|
|
38
39
|
);
|
|
39
40
|
};
|
|
40
|
-
c.displayName = "AddressInput";
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
h as AddressInput
|
|
43
43
|
};
|
|
@@ -32,8 +32,5 @@ import { AmountDisplayProps } from './types';
|
|
|
32
32
|
* <AmountDisplay value={1234.56} formatter={usdFormatter} hidden={true} />
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
|
-
export declare const AmountDisplay: {
|
|
36
|
-
({ value, formatter, hidden, loading, animate, className, ...props }: AmountDisplayProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
displayName: string;
|
|
38
|
-
};
|
|
35
|
+
export declare const AmountDisplay: ({ value, formatter, hidden, loading, animate, className, ...props }: AmountDisplayProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
36
|
//# sourceMappingURL=AmountDisplay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountDisplay/AmountDisplay.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAInB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountDisplay/AmountDisplay.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAInB,MAAM,SAAS,CAAC;AA6EjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,aAAa,GAAI,qEAQ3B,kBAAkB,4CA4DpB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { useSplitText as
|
|
2
|
+
import { useSplitText as x, buildAriaLabel as b, cn as p } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { memo as d } from "react";
|
|
4
|
-
import { DIGITS as
|
|
5
|
-
import { useCommonTranslation as
|
|
6
|
-
const
|
|
4
|
+
import { DIGITS as D } from "./types.js";
|
|
5
|
+
import { useCommonTranslation as N } from "../../../i18n/useCommonTranslation.js";
|
|
6
|
+
const g = {
|
|
7
7
|
0: 25,
|
|
8
8
|
1: 15.5,
|
|
9
9
|
2: 23.5,
|
|
@@ -25,8 +25,8 @@ const N = {
|
|
|
25
25
|
7: 15,
|
|
26
26
|
8: 17,
|
|
27
27
|
9: 17
|
|
28
|
-
},
|
|
29
|
-
const s = (i === "integer" ?
|
|
28
|
+
}, u = d(({ value: a, animate: l, type: i }) => {
|
|
29
|
+
const s = (i === "integer" ? g : I)[a];
|
|
30
30
|
return /* @__PURE__ */ c(
|
|
31
31
|
"div",
|
|
32
32
|
{
|
|
@@ -44,36 +44,40 @@ const N = {
|
|
|
44
44
|
style: {
|
|
45
45
|
transform: `translateY(-${a * 10}%)`
|
|
46
46
|
},
|
|
47
|
-
children:
|
|
47
|
+
children: D.map((r, n) => /* @__PURE__ */ e("span", { inert: r !== a, children: r }, n))
|
|
48
48
|
}
|
|
49
49
|
)
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
})
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
});
|
|
54
|
+
u.displayName = "DigitStrip";
|
|
55
|
+
const o = d(({ items: a, type: l, animate: i }) => a.map((s, r) => {
|
|
56
|
+
const n = a.length - r;
|
|
57
|
+
return s.type === "separator" ? /* @__PURE__ */ e("span", { children: s.value }, n) : /* @__PURE__ */ e(
|
|
58
|
+
u,
|
|
57
59
|
{
|
|
58
60
|
value: Number(s.value),
|
|
59
61
|
animate: i,
|
|
60
62
|
type: l
|
|
61
63
|
},
|
|
62
|
-
|
|
64
|
+
n
|
|
63
65
|
);
|
|
64
|
-
}))
|
|
66
|
+
}));
|
|
67
|
+
o.displayName = "DigitStripList";
|
|
68
|
+
const w = ({
|
|
65
69
|
value: a,
|
|
66
70
|
formatter: l,
|
|
67
71
|
hidden: i = !1,
|
|
68
72
|
loading: s = !1,
|
|
69
|
-
animate:
|
|
70
|
-
className:
|
|
71
|
-
...
|
|
73
|
+
animate: r = !0,
|
|
74
|
+
className: n,
|
|
75
|
+
...f
|
|
72
76
|
}) => {
|
|
73
|
-
const t = l(a),
|
|
77
|
+
const t = l(a), m = x(t), { t: h } = N(), y = b(
|
|
74
78
|
t,
|
|
75
79
|
i,
|
|
76
|
-
|
|
80
|
+
h("components.amountDisplay.amountHiddenAriaLabel")
|
|
77
81
|
);
|
|
78
82
|
return /* @__PURE__ */ e(
|
|
79
83
|
"div",
|
|
@@ -81,11 +85,11 @@ const N = {
|
|
|
81
85
|
className: p(
|
|
82
86
|
s && "animate-pulse",
|
|
83
87
|
"relative inline-flex",
|
|
84
|
-
|
|
88
|
+
n
|
|
85
89
|
),
|
|
86
|
-
"aria-label":
|
|
90
|
+
"aria-label": y,
|
|
87
91
|
"aria-busy": s,
|
|
88
|
-
...
|
|
92
|
+
...f,
|
|
89
93
|
children: /* @__PURE__ */ c("div", { className: "flex items-baseline", children: [
|
|
90
94
|
/* @__PURE__ */ c(
|
|
91
95
|
"span",
|
|
@@ -95,10 +99,10 @@ const N = {
|
|
|
95
99
|
children: [
|
|
96
100
|
t.currencyPosition === "start" && /* @__PURE__ */ e("span", { className: "me-4", children: t.currencyText }),
|
|
97
101
|
i ? /* @__PURE__ */ e("span", { children: "••••" }) : /* @__PURE__ */ e(
|
|
98
|
-
|
|
102
|
+
o,
|
|
99
103
|
{
|
|
100
|
-
items:
|
|
101
|
-
animate:
|
|
104
|
+
items: m.integerPart,
|
|
105
|
+
animate: r,
|
|
102
106
|
type: "integer"
|
|
103
107
|
}
|
|
104
108
|
)
|
|
@@ -113,10 +117,10 @@ const N = {
|
|
|
113
117
|
children: [
|
|
114
118
|
!i && t.decimalPart && /* @__PURE__ */ e("span", { children: t.decimalSeparator }),
|
|
115
119
|
t.decimalPart && !i && /* @__PURE__ */ e(
|
|
116
|
-
|
|
120
|
+
o,
|
|
117
121
|
{
|
|
118
|
-
items:
|
|
119
|
-
animate:
|
|
122
|
+
items: m.decimalPart,
|
|
123
|
+
animate: r,
|
|
120
124
|
type: "decimal"
|
|
121
125
|
}
|
|
122
126
|
),
|
|
@@ -128,7 +132,6 @@ const N = {
|
|
|
128
132
|
}
|
|
129
133
|
);
|
|
130
134
|
};
|
|
131
|
-
g.displayName = "AmountDisplay";
|
|
132
135
|
export {
|
|
133
|
-
|
|
136
|
+
w as AmountDisplay
|
|
134
137
|
};
|
|
@@ -4,8 +4,5 @@ import { AmountInputProps } from './types';
|
|
|
4
4
|
* This is a controlled component - both `value` and `onChange` props are required.
|
|
5
5
|
* The currency text can be positioned either on the left or right side of the input.
|
|
6
6
|
*/
|
|
7
|
-
export declare const AmountInput: {
|
|
8
|
-
({ ref, className, currencyText, currencyPosition, disabled: disabledProp, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, value, onChange, ...props }: AmountInputProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
7
|
+
export declare const AmountInput: ({ ref, className, currencyText, currencyPosition, disabled: disabledProp, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, value, onChange, ...props }: AmountInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
8
|
//# sourceMappingURL=AmountInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAgC3C;;;;GAIG;AACH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAgC3C;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,8KAazB,gBAAgB,4CAkHlB,CAAC"}
|
|
@@ -28,7 +28,7 @@ const Q = M(
|
|
|
28
28
|
"group-has-[input:placeholder-shown]:text-muted-subtle",
|
|
29
29
|
"group-has-[input:disabled]:cursor-not-allowed group-has-[input:disabled]:text-disabled",
|
|
30
30
|
'group-has-[input[aria-invalid="true"]]:text-error'
|
|
31
|
-
),
|
|
31
|
+
), H = ({
|
|
32
32
|
ref: x,
|
|
33
33
|
className: S,
|
|
34
34
|
currencyText: s,
|
|
@@ -40,13 +40,13 @@ const Q = M(
|
|
|
40
40
|
thousandsSeparator: N = !0,
|
|
41
41
|
value: u,
|
|
42
42
|
onChange: A,
|
|
43
|
-
...
|
|
43
|
+
...R
|
|
44
44
|
}) => {
|
|
45
|
-
const
|
|
45
|
+
const k = F({
|
|
46
46
|
consumerName: "AmountInput",
|
|
47
47
|
mergeWith: { disabled: v }
|
|
48
|
-
}), c = d(null), r = d(null), [n,
|
|
49
|
-
function
|
|
48
|
+
}), c = d(null), r = d(null), [n, f] = h(u.toString()), [E, m] = h(!1), g = d(n);
|
|
49
|
+
function I(...t) {
|
|
50
50
|
return (e) => {
|
|
51
51
|
t.forEach((o) => {
|
|
52
52
|
o && (typeof o == "function" ? o(e) : o.current = e);
|
|
@@ -60,7 +60,7 @@ const Q = M(
|
|
|
60
60
|
r.current.style.width = `${t + e}px`;
|
|
61
61
|
}
|
|
62
62
|
}, [n]), L(() => {
|
|
63
|
-
|
|
63
|
+
f(u.toString());
|
|
64
64
|
}, [u]);
|
|
65
65
|
const V = (t) => {
|
|
66
66
|
const e = D(t.target.value, {
|
|
@@ -69,7 +69,7 @@ const Q = M(
|
|
|
69
69
|
maxIntegerLength: w,
|
|
70
70
|
maxDecimalLength: y
|
|
71
71
|
});
|
|
72
|
-
|
|
72
|
+
f(e), A({ ...t, target: { ...t.target, value: e } }), e !== g.current && m(!0), g.current = e;
|
|
73
73
|
};
|
|
74
74
|
return /* @__PURE__ */ j(
|
|
75
75
|
"div",
|
|
@@ -103,15 +103,15 @@ const Q = M(
|
|
|
103
103
|
/* @__PURE__ */ l(
|
|
104
104
|
"input",
|
|
105
105
|
{
|
|
106
|
-
ref:
|
|
106
|
+
ref: I(x, r),
|
|
107
107
|
type: "text",
|
|
108
108
|
inputMode: "decimal",
|
|
109
|
-
disabled:
|
|
109
|
+
disabled: k,
|
|
110
110
|
value: n,
|
|
111
111
|
onChange: V,
|
|
112
|
-
onAnimationEnd: () =>
|
|
113
|
-
className: a(Q({ isChanging:
|
|
114
|
-
...
|
|
112
|
+
onAnimationEnd: () => m(!1),
|
|
113
|
+
className: a(Q({ isChanging: E }), S),
|
|
114
|
+
...R,
|
|
115
115
|
style: { fontSize: i, letterSpacing: "normal" }
|
|
116
116
|
}
|
|
117
117
|
),
|
|
@@ -127,7 +127,6 @@ const Q = M(
|
|
|
127
127
|
}
|
|
128
128
|
);
|
|
129
129
|
};
|
|
130
|
-
Y.displayName = "AmountInput";
|
|
131
130
|
export {
|
|
132
|
-
|
|
131
|
+
H as AmountInput
|
|
133
132
|
};
|
|
@@ -15,8 +15,5 @@ import { AvatarProps } from './types';
|
|
|
15
15
|
* // With notification indicator
|
|
16
16
|
* <Avatar src="https://example.com/photo.jpg" showNotification />
|
|
17
17
|
*/
|
|
18
|
-
export declare const Avatar: {
|
|
19
|
-
({ ref, className, src, alt, size, imgLoading, showNotification, ...props }: AvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
displayName: string;
|
|
21
|
-
};
|
|
18
|
+
export declare const Avatar: ({ ref, className, src, alt, size, imgLoading, showNotification, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
19
|
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAmCtC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAmCtC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM,GAAI,4EASpB,WAAW,4CA+Cb,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as g, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { cva as l } from "class-variance-authority";
|
|
3
3
|
import { useState as z, useEffect as h } from "react";
|
|
4
|
-
import { useCommonTranslation as
|
|
5
|
-
import { User as
|
|
4
|
+
import { useCommonTranslation as j } from "../../../i18n/useCommonTranslation.js";
|
|
5
|
+
import { User as x } from "../../Symbols/Icons/User.js";
|
|
6
6
|
const n = {
|
|
7
7
|
root: l(
|
|
8
8
|
"relative inline-flex items-center justify-center rounded-full bg-muted-transparent transition-colors",
|
|
@@ -28,11 +28,11 @@ const n = {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
})
|
|
31
|
-
},
|
|
31
|
+
}, A = {
|
|
32
32
|
sm: 16,
|
|
33
33
|
md: 24,
|
|
34
34
|
lg: 32
|
|
35
|
-
},
|
|
35
|
+
}, S = ({
|
|
36
36
|
ref: m,
|
|
37
37
|
className: d,
|
|
38
38
|
src: a,
|
|
@@ -42,7 +42,7 @@ const n = {
|
|
|
42
42
|
showNotification: t = !1,
|
|
43
43
|
...u
|
|
44
44
|
}) => {
|
|
45
|
-
const { t: o } =
|
|
45
|
+
const { t: o } = j(), [p, i] = z(!1), v = !a || p, s = c || o("components.avatar.defaultAlt"), b = t ? `${s}, ${o("components.avatar.notificationAriaLabel")}` : s;
|
|
46
46
|
return h(() => {
|
|
47
47
|
i(!1);
|
|
48
48
|
}, [a]), /* @__PURE__ */ g(
|
|
@@ -62,9 +62,9 @@ const n = {
|
|
|
62
62
|
}
|
|
63
63
|
),
|
|
64
64
|
v ? /* @__PURE__ */ r(
|
|
65
|
-
|
|
65
|
+
x,
|
|
66
66
|
{
|
|
67
|
-
size:
|
|
67
|
+
size: A[e],
|
|
68
68
|
"aria-label": "Fallback Icon",
|
|
69
69
|
"aria-hidden": "true"
|
|
70
70
|
}
|
|
@@ -83,7 +83,6 @@ const n = {
|
|
|
83
83
|
}
|
|
84
84
|
);
|
|
85
85
|
};
|
|
86
|
-
k.displayName = "Avatar";
|
|
87
86
|
export {
|
|
88
|
-
|
|
87
|
+
S as Avatar
|
|
89
88
|
};
|
|
@@ -18,8 +18,5 @@ import { BaseInputProps } from './types';
|
|
|
18
18
|
*
|
|
19
19
|
* @internal
|
|
20
20
|
*/
|
|
21
|
-
export declare const BaseInput: {
|
|
22
|
-
({ ref, className, containerClassName, inputClassName, labelClassName, label, id, disabled: disabledProp, errorMessage, suffix, prefix, onClear, hideClearButton, "aria-invalid": ariaInvalidProp, onChange: onChangeProp, ...props }: BaseInputProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
21
|
+
export declare const BaseInput: ({ ref, className, containerClassName, inputClassName, labelClassName, label, id, disabled: disabledProp, errorMessage, suffix, prefix, onClear, hideClearButton, "aria-invalid": ariaInvalidProp, onChange: onChangeProp, ...props }: BaseInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
22
|
//# sourceMappingURL=BaseInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/BaseInput/BaseInput.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AA2BzC;;;;;;;;;;;;;;;;;;GAkBG;AAEH,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"BaseInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/BaseInput/BaseInput.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AA2BzC;;;;;;;;;;;;;;;;;;GAkBG;AAEH,eAAO,MAAM,SAAS,GAAI,sOAiBvB,cAAc,4CA6JhB,CAAC"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useDisabledContext as O, useMergedRef as $, cn as
|
|
1
|
+
import { jsxs as c, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { useDisabledContext as O, useMergedRef as $, cn as t } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { useRef as q, useId as H, useState as P, useCallback as U } from "react";
|
|
4
4
|
import { useCommonTranslation as W } from "../../../i18n/useCommonTranslation.js";
|
|
5
5
|
import { InteractiveIcon as G } from "../InteractiveIcon/InteractiveIcon.js";
|
|
6
6
|
import { DeleteCircleFill as w } from "../../Symbols/Icons/DeleteCircleFill.js";
|
|
7
|
-
const J =
|
|
7
|
+
const J = t(
|
|
8
8
|
"group relative flex h-48 w-full cursor-text items-center gap-8 rounded-sm bg-muted px-16 transition-colors",
|
|
9
9
|
"focus-within:ring-2 focus-within:ring-active hover:bg-muted-hover",
|
|
10
10
|
"has-disabled:cursor-not-allowed has-disabled:bg-disabled has-disabled:text-disabled",
|
|
11
11
|
"has-invalid:border-error has-invalid:ring-1 has-invalid:ring-error",
|
|
12
12
|
'has-[input[aria-invalid="true"]]:border-error has-[input[aria-invalid="true"]]:ring-1 has-[input[aria-invalid="true"]]:ring-error'
|
|
13
|
-
), K =
|
|
13
|
+
), K = t(
|
|
14
14
|
"peer w-full flex-1 bg-muted body-1 text-base caret-active outline-hidden transition-colors",
|
|
15
15
|
"group-hover:bg-muted-hover group-disabled:bg-disabled",
|
|
16
16
|
"group-has-disabled:cursor-not-allowed group-has-disabled:bg-disabled group-has-disabled:text-disabled",
|
|
17
17
|
"placeholder:text-muted group-has-disabled:placeholder:text-disabled",
|
|
18
18
|
"[&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
|
|
19
19
|
"truncate"
|
|
20
|
-
), Q =
|
|
20
|
+
), Q = t(
|
|
21
21
|
"pointer-events-none absolute top-6 left-16 origin-left body-4 text-muted transition-all duration-300",
|
|
22
22
|
"peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-placeholder-shown:body-2",
|
|
23
23
|
"group-has-disabled:text-disabled",
|
|
24
24
|
"peer-focus:top-6 peer-focus:translate-y-0 peer-focus:body-4",
|
|
25
25
|
"w-[calc(100%-var(--size-56))] truncate"
|
|
26
|
-
),
|
|
26
|
+
), ne = ({
|
|
27
27
|
ref: x,
|
|
28
28
|
className: y,
|
|
29
29
|
containerClassName: I,
|
|
@@ -32,55 +32,55 @@ const J = n(
|
|
|
32
32
|
label: l,
|
|
33
33
|
id: N,
|
|
34
34
|
disabled: R,
|
|
35
|
-
errorMessage:
|
|
35
|
+
errorMessage: n,
|
|
36
36
|
suffix: k,
|
|
37
|
-
prefix:
|
|
38
|
-
onClear:
|
|
39
|
-
hideClearButton:
|
|
40
|
-
"aria-invalid":
|
|
37
|
+
prefix: D,
|
|
38
|
+
onClear: j,
|
|
39
|
+
hideClearButton: z = !1,
|
|
40
|
+
"aria-invalid": u,
|
|
41
41
|
onChange: p,
|
|
42
|
-
...
|
|
42
|
+
...r
|
|
43
43
|
}) => {
|
|
44
44
|
const b = O({
|
|
45
45
|
consumerName: "BaseInput",
|
|
46
46
|
mergeWith: { disabled: R }
|
|
47
|
-
}), { t:
|
|
48
|
-
|
|
47
|
+
}), { t: B } = W(), e = q(null), E = H(), d = N || `input-${E}`, F = u || (n ? !0 : void 0), s = r.value !== void 0, [L, h] = P(
|
|
48
|
+
r.defaultValue?.toString() || ""
|
|
49
49
|
), T = U(
|
|
50
|
-
(
|
|
51
|
-
s || h(
|
|
50
|
+
(a) => {
|
|
51
|
+
s || h(a.target.value), p?.(a);
|
|
52
52
|
},
|
|
53
53
|
[s, p]
|
|
54
|
-
), m = (s ? !!
|
|
54
|
+
), m = (s ? !!r.value && r.value.toString().length > 0 : L.length > 0) && !b && !z, v = `${d}-error`, V = () => {
|
|
55
55
|
if (!e.current) return;
|
|
56
56
|
Object.getOwnPropertyDescriptor(
|
|
57
57
|
window.HTMLInputElement.prototype,
|
|
58
58
|
"value"
|
|
59
59
|
)?.set?.call(e.current, ""), s || h("");
|
|
60
60
|
const g = new Event("input", { bubbles: !0 });
|
|
61
|
-
e.current.dispatchEvent(g), e.current.focus(),
|
|
61
|
+
e.current.dispatchEvent(g), e.current.focus(), j?.();
|
|
62
62
|
}, A = $(x, e);
|
|
63
|
-
return /* @__PURE__ */
|
|
64
|
-
/* @__PURE__ */
|
|
63
|
+
return /* @__PURE__ */ c("div", { className: y, children: [
|
|
64
|
+
/* @__PURE__ */ c(
|
|
65
65
|
"div",
|
|
66
66
|
{
|
|
67
|
-
className:
|
|
68
|
-
onPointerDown: (
|
|
69
|
-
if (
|
|
70
|
-
const
|
|
71
|
-
if (!
|
|
72
|
-
const f =
|
|
67
|
+
className: t(J, I),
|
|
68
|
+
onPointerDown: (a) => {
|
|
69
|
+
if (a.target.closest("input, button, a")) return;
|
|
70
|
+
const o = e.current;
|
|
71
|
+
if (!o) return;
|
|
72
|
+
const f = o.value.length > 0 ? o.value.length : 0;
|
|
73
73
|
window.requestAnimationFrame(() => {
|
|
74
74
|
try {
|
|
75
|
-
|
|
75
|
+
o.setSelectionRange(f, f);
|
|
76
76
|
} catch {
|
|
77
77
|
}
|
|
78
|
-
|
|
78
|
+
o.focus();
|
|
79
79
|
});
|
|
80
80
|
},
|
|
81
81
|
children: [
|
|
82
|
-
|
|
83
|
-
/* @__PURE__ */
|
|
82
|
+
D,
|
|
83
|
+
/* @__PURE__ */ i(
|
|
84
84
|
"input",
|
|
85
85
|
{
|
|
86
86
|
ref: A,
|
|
@@ -88,56 +88,56 @@ const J = n(
|
|
|
88
88
|
disabled: b,
|
|
89
89
|
placeholder: " ",
|
|
90
90
|
"aria-invalid": F,
|
|
91
|
-
"aria-describedby":
|
|
92
|
-
className:
|
|
91
|
+
"aria-describedby": n ? v : void 0,
|
|
92
|
+
className: t(
|
|
93
93
|
K,
|
|
94
94
|
l && "pt-12 body-2",
|
|
95
95
|
C
|
|
96
96
|
),
|
|
97
97
|
onChange: T,
|
|
98
|
-
...
|
|
98
|
+
...r
|
|
99
99
|
}
|
|
100
100
|
),
|
|
101
|
-
l && /* @__PURE__ */
|
|
101
|
+
l && /* @__PURE__ */ i(
|
|
102
102
|
"label",
|
|
103
103
|
{
|
|
104
104
|
htmlFor: d,
|
|
105
|
-
className:
|
|
105
|
+
className: t(
|
|
106
106
|
Q,
|
|
107
|
-
|
|
107
|
+
n && "text-error",
|
|
108
108
|
S
|
|
109
109
|
),
|
|
110
110
|
children: l
|
|
111
111
|
}
|
|
112
112
|
),
|
|
113
|
-
m && /* @__PURE__ */
|
|
113
|
+
m && /* @__PURE__ */ i(
|
|
114
114
|
G,
|
|
115
115
|
{
|
|
116
116
|
iconType: "filled",
|
|
117
|
+
icon: w,
|
|
118
|
+
size: 20,
|
|
117
119
|
onClick: V,
|
|
118
|
-
"aria-label":
|
|
119
|
-
children: /* @__PURE__ */ t(w, { size: 20 })
|
|
120
|
+
"aria-label": B("components.baseInput.clearInputAriaLabel")
|
|
120
121
|
}
|
|
121
122
|
),
|
|
122
123
|
!m && k
|
|
123
124
|
]
|
|
124
125
|
}
|
|
125
126
|
),
|
|
126
|
-
|
|
127
|
+
n && /* @__PURE__ */ c(
|
|
127
128
|
"div",
|
|
128
129
|
{
|
|
129
130
|
id: v,
|
|
130
131
|
className: "mt-8 flex items-center gap-2 body-3 text-error",
|
|
131
132
|
role: "alert",
|
|
132
133
|
children: [
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */
|
|
134
|
+
/* @__PURE__ */ i(w, { size: 16, className: "text-error" }),
|
|
135
|
+
/* @__PURE__ */ i("span", { children: n })
|
|
135
136
|
]
|
|
136
137
|
}
|
|
137
138
|
)
|
|
138
139
|
] });
|
|
139
140
|
};
|
|
140
|
-
X.displayName = "BaseInput";
|
|
141
141
|
export {
|
|
142
|
-
|
|
142
|
+
ne as BaseInput
|
|
143
143
|
};
|
|
@@ -6,8 +6,5 @@ export declare const baseButtonVariants: (props?: ({
|
|
|
6
6
|
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
7
7
|
isFull?: boolean | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
-
export declare const BaseButton: {
|
|
10
|
-
({ ref, className, appearance, size, isFull, disabled: disabledProp, asChild, icon: Icon, loading, children, onClick, ...props }: BaseButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
9
|
+
export declare const BaseButton: ({ ref, className, appearance, size, isFull, disabled: disabledProp, asChild, icon: Icon, loading, children, onClick, ...props }: BaseButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
10
|
//# sourceMappingURL=BaseButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Button/BaseButton.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,kBAAkB;;;;;;8EAqD9B,CAAC;AAkBF,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Button/BaseButton.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,kBAAkB;;;;;;8EAqD9B,CAAC;AAkBF,eAAO,MAAM,UAAU,GAAI,iIAaxB,eAAe,4CAgDjB,CAAC"}
|