welcome-ui 0.0.0-dev.1760963883873 → 0.0.0-dev.1761316648080
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/README.md +47 -3
- package/dist/{4I4MLMKD-BLxAidnq.js → 4I4MLMKD-DgPx2VDC.js} +2 -2
- package/dist/Accordion.js +6 -6
- package/dist/Alert.js +1 -1
- package/dist/AspectRatio.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/{B7UTNDHN-BlIblHCu.js → B7UTNDHN-C-gORHYH.js} +1 -1
- package/dist/Badge.js +1 -1
- package/dist/Breadcrumb.css +1 -1
- package/dist/Breadcrumb.js +27 -27
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/Card.js +1 -1
- package/dist/Checkbox.css +1 -1
- package/dist/Checkbox.js +22 -22
- package/dist/CloseButton.js +3 -3
- package/dist/{DSAASPLT-BaaCUKsb.js → DSAASPLT-COUlh0RL.js} +1 -1
- package/dist/DatePicker.js +5 -5
- package/dist/DateTimePicker.js +2 -2
- package/dist/Drawer.css +1 -1
- package/dist/Drawer.js +67 -67
- package/dist/DropdownMenu.js +9 -9
- package/dist/Field.js +1 -1
- package/dist/FieldGroup.js +1 -1
- package/dist/FileDrop.js +6 -6
- package/dist/FileUpload.js +2 -2
- package/dist/{GVVKDT6A-bET6V7Py.js → GVVKDT6A-BnYN-H7C.js} +3 -3
- package/dist/Hint.js +1 -1
- package/dist/{Icon-EG7O4YwD.js → Icon-BisRi8B3.js} +1 -1
- package/dist/Icon.js +12 -12
- package/dist/InputText.js +1 -1
- package/dist/{KPUWHTQJ-D2TPji47.js → KPUWHTQJ-CKDqSAor.js} +1 -1
- package/dist/Label.js +3 -3
- package/dist/Link.css +1 -1
- package/dist/Link.js +27 -27
- package/dist/Loader.js +1 -1
- package/dist/Logo.js +1 -1
- package/dist/Modal.js +7 -7
- package/dist/{NI3IVY7K-Ztb3-XAv.js → NI3IVY7K-DxnarnKs.js} +2 -2
- package/dist/{NMGNQVTG-C6TqBngP.js → NMGNQVTG-a9HpYqEe.js} +1 -1
- package/dist/{OLVWQA7U-DysaSaZj.js → OLVWQA7U-CQsIDzlF.js} +3 -3
- package/dist/Pagination.js +4 -4
- package/dist/PasswordInput.js +2 -2
- package/dist/Popover.js +6 -6
- package/dist/{RTNCFSKZ-qpPg689E.js → RTNCFSKZ-P4icqVD0.js} +1 -1
- package/dist/Radio.css +1 -1
- package/dist/Radio.js +29 -29
- package/dist/RadioGroup.js +3 -3
- package/dist/RadioTab.js +2 -2
- package/dist/{SBSPVDDI-DJKkC1eb.js → SBSPVDDI-CW8jwL0u.js} +1 -1
- package/dist/{SQZLCNLX-CHDXnZ16.js → SQZLCNLX-cijaITUa.js} +2 -2
- package/dist/Search.js +2 -2
- package/dist/Select.js +4 -4
- package/dist/Slider.js +1 -1
- package/dist/Swiper.js +4 -4
- package/dist/{T22PY7TE-C1N0q8Kn.js → T22PY7TE-BxbmImwX.js} +1 -1
- package/dist/Table.js +1 -1
- package/dist/Tabs.css +1 -1
- package/dist/Tabs.js +8 -8
- package/dist/Tag.js +3 -3
- package/dist/Text.js +1 -1
- package/dist/Textarea.js +1 -1
- package/dist/TimePicker.js +2 -2
- package/dist/Toast.js +1 -1
- package/dist/Toggle.js +2 -2
- package/dist/Tooltip.js +4 -4
- package/dist/VariantIcon.js +3 -3
- package/dist/WelcomeLoader.js +1 -1
- package/dist/{Y67KZUMI-DFEgrUv2.js → Y67KZUMI-CtXJ_hZt.js} +1 -1
- package/dist/{ZTXFEM5L-CkrIQCN1.js → ZTXFEM5L-BEA_1pIo.js} +2 -2
- package/dist/{field-icon-size-Z5NulTSk.js → field-icon-size-Cj-yrCqM.js} +1 -1
- package/dist/{index-BC2bF45u.js → index-5rXezknO.js} +1 -1
- package/dist/{index-DnO8yBVT.js → index-BG2aV9o8.js} +1 -1
- package/dist/{index-Bt79XJ8R.js → index-BJLXLdM3.js} +1 -1
- package/dist/{index-D8dq-I5s.js → index-C1jjVTAc.js} +1 -1
- package/dist/{index-BeetbagJ.js → index-C8GsqBDe.js} +1 -1
- package/dist/{index-CQEPCbEE.js → index-CTgip19b.js} +1 -1
- package/dist/{index-D5a8Oe6k.js → index-CWVOLBDY.js} +1 -1
- package/dist/{index-Crpe9CvH.js → index-CnxSNAPH.js} +1 -1
- package/dist/{index-DkwTwo3z.js → index-Cvtm6uuS.js} +1 -1
- package/dist/{index-CCASZBtz.js → index-DL4-ut3P.js} +1 -1
- package/dist/{index-BtwrJ6N4.js → index-Dcq5gh3E.js} +1 -1
- package/dist/{index-CPqDZeah.js → index-lbUBMgHp.js} +2 -2
- package/dist/scss/breakpoints.scss +9 -0
- package/dist/scss/text-ellipsis.scss +5 -0
- package/dist/scss/texts.scss +108 -0
- package/dist/{tslib.es6-DpB4Y59c.js → tslib.es6-C80jYMbM.js} +1 -1
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/{utils-BpbIqM56.js → utils-BNMgUIHQ.js} +1 -1
- package/dist/utils.js +2 -2
- package/package.json +3 -2
- package/dist/index.css +0 -0
- package/dist/types/utils/theme/index.d.ts +0 -0
- /package/dist/{index-CdiHdiVB.js → index-PAaZGbyz.js} +0 -0
package/README.md
CHANGED
|
@@ -15,14 +15,58 @@ Here you'll find all the core components you need to create a delightful webapp.
|
|
|
15
15
|
1 - Install the `welcome-ui` package and **peer dependencies** listed below:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
yarn add welcome-ui react@^
|
|
18
|
+
yarn add welcome-ui tailwindcss react@^19.0.0
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
yarn add postcss --dev
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
2 - Add dependencies for vite project
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
yarn add @tailwindcss/vite sass-embedded --dev
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
3 - Add on your vite config tailwindcss plugin
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
import { defineConfig } from 'vite'
|
|
35
|
+
import tailwindcss from '@tailwindcss/vite'
|
|
36
|
+
|
|
37
|
+
export default defineConfig({
|
|
38
|
+
plugins: [
|
|
39
|
+
tailwindcss(),
|
|
40
|
+
],
|
|
41
|
+
})
|
|
19
42
|
```
|
|
20
43
|
|
|
21
44
|
## Import library & Theme
|
|
22
45
|
|
|
23
|
-
|
|
46
|
+
On your theme or global css import:
|
|
47
|
+
|
|
48
|
+
- TailwindCSS
|
|
49
|
+
- Welcome UI Theme
|
|
50
|
+
- Welcome UI components style
|
|
51
|
+
|
|
52
|
+
```css
|
|
53
|
+
@import 'tailwindcss';
|
|
24
54
|
|
|
25
|
-
|
|
55
|
+
@import 'welcome-ui/theme.css';
|
|
56
|
+
|
|
57
|
+
@import 'welcome-ui/Accordion.css';
|
|
58
|
+
@import 'welcome-ui/Alert.css';
|
|
59
|
+
@import 'welcome-ui-new/***other-components-you-need***.css';
|
|
60
|
+
...
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Enjoy! 🌞
|
|
64
|
+
|
|
65
|
+
```jsx
|
|
66
|
+
import { Button } from 'welcome-ui/Button'
|
|
67
|
+
|
|
68
|
+
return <Button>Ok let's go</Button>
|
|
69
|
+
```
|
|
26
70
|
|
|
27
71
|
## Develop on local
|
|
28
72
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { u as p, P as _ } from "./Y67KZUMI-
|
|
2
|
+
import { u as p, P as _ } from "./Y67KZUMI-CtXJ_hZt.js";
|
|
3
3
|
import { c as i, _ as v, d as l, p as h, a as n, f as P, b as m, i as D, u as x, x as E } from "./OE2EFRVA-C3721cM3.js";
|
|
4
|
-
import { u as b } from "./ZTXFEM5L-
|
|
4
|
+
import { u as b } from "./ZTXFEM5L-BEA_1pIo.js";
|
|
5
5
|
import { jsx as g } from "react/jsx-runtime";
|
|
6
6
|
var A = "div", d = i(
|
|
7
7
|
function(s) {
|
package/dist/Accordion.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as t, jsx as o } from "react/jsx-runtime";
|
|
3
|
-
import { D as d } from "./NMGNQVTG-
|
|
4
|
-
import { D as a } from "./T22PY7TE-
|
|
5
|
-
import { u as k } from "./T22PY7TE-
|
|
3
|
+
import { D as d } from "./NMGNQVTG-a9HpYqEe.js";
|
|
4
|
+
import { D as a } from "./T22PY7TE-BxbmImwX.js";
|
|
5
|
+
import { u as k } from "./T22PY7TE-BxbmImwX.js";
|
|
6
6
|
import { forwardRef as _ } from "react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { R as u } from "./index-
|
|
7
|
+
import "./Icon-BisRi8B3.js";
|
|
8
|
+
import { R as u } from "./index-Dcq5gh3E.js";
|
|
9
9
|
import { Text as f } from "./Text.js";
|
|
10
|
-
import { c as h } from "./index-
|
|
10
|
+
import { c as h } from "./index-PAaZGbyz.js";
|
|
11
11
|
const p = "_root_173le_2", v = "_icon_173le_11", x = "_disclosure_173le_23", N = {
|
|
12
12
|
root: p,
|
|
13
13
|
icon: v,
|
package/dist/Alert.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Button as y } from "./Button.js";
|
|
|
5
5
|
import { CloseButton as I } from "./CloseButton.js";
|
|
6
6
|
import { Text as b } from "./Text.js";
|
|
7
7
|
import { VariantIcon as S } from "./VariantIcon.js";
|
|
8
|
-
import { c as T } from "./index-
|
|
8
|
+
import { c as T } from "./index-PAaZGbyz.js";
|
|
9
9
|
const V = "_root_1c0qe_2", $ = "_icon_1c0qe_55", E = "_content_1c0qe_58", R = "_title_1c0qe_88", O = {
|
|
10
10
|
root: V,
|
|
11
11
|
"size-sm": "_size-sm_1c0qe_16",
|
package/dist/AspectRatio.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as i } from "react/jsx-runtime";
|
|
3
|
-
import { c as e } from "./index-
|
|
3
|
+
import { c as e } from "./index-PAaZGbyz.js";
|
|
4
4
|
import { f as _ } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
5
5
|
import "react";
|
|
6
6
|
const c = "_root_1s56r_2", m = {
|
package/dist/Avatar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as n } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as i } from "react";
|
|
4
|
-
import { c as _ } from "./index-
|
|
4
|
+
import { c as _ } from "./index-PAaZGbyz.js";
|
|
5
5
|
const l = "_root_zm5un_2", u = {
|
|
6
6
|
root: l,
|
|
7
7
|
"size-sm": "_size-sm_zm5un_24",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { H as S, G as C, S as Q, I as L, s as X, g as Z, K as p } from "./OE2EFRVA-C3721cM3.js";
|
|
3
|
-
import { t as ee, c as O, s as R, i as te, f as G, d as h, a as ne } from "./RTNCFSKZ-
|
|
3
|
+
import { t as ee, c as O, s as R, i as te, f as G, d as h, a as ne } from "./RTNCFSKZ-P4icqVD0.js";
|
|
4
4
|
function re(t) {
|
|
5
5
|
const i = [];
|
|
6
6
|
for (const e of t)
|
package/dist/Badge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as m } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as u } from "react";
|
|
4
|
-
import { c } from "./index-
|
|
4
|
+
import { c } from "./index-PAaZGbyz.js";
|
|
5
5
|
const b = "_root_nle8k_2", f = {
|
|
6
6
|
root: b,
|
|
7
7
|
"disabled-default": "_disabled-default_nle8k_18",
|
package/dist/Breadcrumb.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.
|
|
1
|
+
@layer components{._root_ce14e_2{height:100%;position:relative;overflow-x:hidden;padding:var(--spacing-sm) 0;font-size:var(--font-size-subtitle-sm);font-weight:var(--font-weight-medium);letter-spacing:var(--letter-spacing-subtitle-sm);line-height:var(--line-height-subtitle-sm);text-transform:uppercase;font-family:var(--font-family-headings)}._list_ce14e_14{display:inline-flex;align-items:center;max-width:100%;overflow-x:auto;margin:0;padding:0;list-style:none;white-space:nowrap}._start-gradient_ce14e_24{left:0;transform-origin:left}._end-gradient_ce14e_28{right:0;transform-origin:right}._start-gradient_ce14e_24,._end-gradient_ce14e_28{position:absolute;bottom:0;top:0;width:var(--spacing-xxl)}._item-wrapper_ce14e_39{display:inline-flex;flex:0 0 auto;line-height:normal}._item-content_ce14e_44{color:var(--breadcrumbItemColor, var(--color-neutral-50));text-decoration:none;align-items:center;transition:var(--duration-medium);direction:initial}._item-content_ce14e_44:hover,._item-content_ce14e_44[aria-current=page]{--breadcrumbItemColor: var(--color-neutral-70)}._item-content_ce14e_44[aria-disabled=true]{pointer-events:none;cursor:default}._item-separator_ce14e_58{color:var(--color-neutral-50);padding:0 var(--spacing-xs);display:flex;align-items:center}}
|
package/dist/Breadcrumb.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as te, jsx as R } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef as re, Children as pe, cloneElement as be, useRef as M, useState as
|
|
4
|
-
import "./Icon-
|
|
5
|
-
import { R as me } from "./index-
|
|
6
|
-
import { c as ne } from "./index-
|
|
3
|
+
import { forwardRef as re, Children as pe, cloneElement as be, useRef as M, useState as V, useCallback as X, useMemo as ge, useEffect as q } from "react";
|
|
4
|
+
import "./Icon-BisRi8B3.js";
|
|
5
|
+
import { R as me } from "./index-Dcq5gh3E.js";
|
|
6
|
+
import { c as ne } from "./index-PAaZGbyz.js";
|
|
7
7
|
import { t as xe } from "./throttle-BDBzFeFj.js";
|
|
8
8
|
var b = [], ze = function() {
|
|
9
9
|
return b.some(function(e) {
|
|
@@ -83,13 +83,13 @@ var g = function(e) {
|
|
|
83
83
|
return S.get(e);
|
|
84
84
|
if (oe(e))
|
|
85
85
|
return S.set(e, Y), Y;
|
|
86
|
-
var r = getComputedStyle(e), n = P(e) && e.ownerSVGElement && e.getBBox(), i = !Te && r.boxSizing === "border-box", o = ye.test(r.writingMode || ""), s = !n && U.test(r.overflowY || ""), l = !n && U.test(r.overflowX || ""), c = n ? 0 : d(r.paddingTop), v = n ? 0 : d(r.paddingRight), h = n ? 0 : d(r.paddingBottom), f = n ? 0 : d(r.paddingLeft), w = n ? 0 : d(r.borderTopWidth), a = n ? 0 : d(r.borderRightWidth), u = n ? 0 : d(r.borderBottomWidth), m = n ? 0 : d(r.borderLeftWidth), p = f + v, x = c + h, O = m + a, D = w + u,
|
|
86
|
+
var r = getComputedStyle(e), n = P(e) && e.ownerSVGElement && e.getBBox(), i = !Te && r.boxSizing === "border-box", o = ye.test(r.writingMode || ""), s = !n && U.test(r.overflowY || ""), l = !n && U.test(r.overflowX || ""), c = n ? 0 : d(r.paddingTop), v = n ? 0 : d(r.paddingRight), h = n ? 0 : d(r.paddingBottom), f = n ? 0 : d(r.paddingLeft), w = n ? 0 : d(r.borderTopWidth), a = n ? 0 : d(r.borderRightWidth), u = n ? 0 : d(r.borderBottomWidth), m = n ? 0 : d(r.borderLeftWidth), p = f + v, x = c + h, O = m + a, D = w + u, G = l ? e.offsetHeight - D - e.clientHeight : 0, F = s ? e.offsetWidth - O - e.clientWidth : 0, le = i ? p + O : 0, de = i ? x + D : 0, T = n ? n.width : d(r.width) - le - F, B = n ? n.height : d(r.height) - de - G, fe = T + p + F + O, he = B + x + G + D, H = g({
|
|
87
87
|
devicePixelContentBoxSize: z(Math.round(T * devicePixelRatio), Math.round(B * devicePixelRatio), o),
|
|
88
88
|
borderBoxSize: z(fe, he, o),
|
|
89
89
|
contentBoxSize: z(T, B, o),
|
|
90
90
|
contentRect: new ie(f, c, T, B)
|
|
91
91
|
});
|
|
92
|
-
return S.set(e,
|
|
92
|
+
return S.set(e, H), H;
|
|
93
93
|
}, ae = function(e, t, r) {
|
|
94
94
|
var n = se(e, r), i = n.borderBoxSize, o = n.contentBoxSize, s = n.devicePixelContentBoxSize;
|
|
95
95
|
switch (t) {
|
|
@@ -262,7 +262,7 @@ var g = function(e) {
|
|
|
262
262
|
return r.unobserve(t, i.target);
|
|
263
263
|
}), n.activeTargets.splice(0, n.activeTargets.length);
|
|
264
264
|
}, e;
|
|
265
|
-
}(),
|
|
265
|
+
}(), Ge = function() {
|
|
266
266
|
function e(t) {
|
|
267
267
|
if (arguments.length === 0)
|
|
268
268
|
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
@@ -288,15 +288,15 @@ var g = function(e) {
|
|
|
288
288
|
return "function ResizeObserver () { [polyfill code] }";
|
|
289
289
|
}, e;
|
|
290
290
|
}();
|
|
291
|
-
const
|
|
292
|
-
root:
|
|
293
|
-
list:
|
|
294
|
-
"start-gradient": "_start-
|
|
295
|
-
"end-gradient": "_end-
|
|
296
|
-
"item-wrapper": "_item-
|
|
297
|
-
"item-content": "_item-
|
|
298
|
-
"item-separator": "_item-
|
|
299
|
-
}, L = ne(ue),
|
|
291
|
+
const Fe = (e, t, r) => Math.min(Math.max(e, t), r), He = "_root_ce14e_2", Ve = "_list_ce14e_14", ue = {
|
|
292
|
+
root: He,
|
|
293
|
+
list: Ve,
|
|
294
|
+
"start-gradient": "_start-gradient_ce14e_24",
|
|
295
|
+
"end-gradient": "_end-gradient_ce14e_28",
|
|
296
|
+
"item-wrapper": "_item-wrapper_ce14e_39",
|
|
297
|
+
"item-content": "_item-content_ce14e_44",
|
|
298
|
+
"item-separator": "_item-separator_ce14e_58"
|
|
299
|
+
}, L = ne(ue), Xe = re(
|
|
300
300
|
({ children: e, "data-testid": t, isActive: r, separator: n, ...i }, o) => {
|
|
301
301
|
const s = i.href || i.to;
|
|
302
302
|
return /* @__PURE__ */ te("li", { "aria-label": "breadcrumb", className: L("item-wrapper"), "data-testid": t, children: [
|
|
@@ -314,7 +314,7 @@ const Ge = (e, t, r) => Math.min(Math.max(e, t), r), Fe = "_root_9vqpr_2", He =
|
|
|
314
314
|
)
|
|
315
315
|
] });
|
|
316
316
|
}
|
|
317
|
-
), k = ne(ue),
|
|
317
|
+
), k = ne(ue), qe = re(
|
|
318
318
|
({ children: e, lastChildNotClickable: t = !0, separator: r = /* @__PURE__ */ R(me, { size: "xs" }), ...n }, i) => {
|
|
319
319
|
const o = pe.toArray(e).filter(Boolean), s = o.length, l = o.map((w, a) => {
|
|
320
320
|
const u = s === 1 || s === a + 1;
|
|
@@ -331,18 +331,18 @@ const Ge = (e, t, r) => Math.min(Math.max(e, t), r), Fe = "_root_9vqpr_2", He =
|
|
|
331
331
|
c
|
|
332
332
|
] });
|
|
333
333
|
}
|
|
334
|
-
), Ze = Object.assign(
|
|
335
|
-
Item:
|
|
334
|
+
), Ze = Object.assign(qe, {
|
|
335
|
+
Item: Xe
|
|
336
336
|
}), $e = () => {
|
|
337
|
-
const e = M(null), t = M(), r = M(), [n, i] =
|
|
337
|
+
const e = M(null), t = M(), r = M(), [n, i] = V(!1), [o, s] = V(0), l = (a, u) => {
|
|
338
338
|
a && (a.style.transform = `scale3d(${u}, 1, 1)`);
|
|
339
|
-
}, c =
|
|
339
|
+
}, c = X((a) => {
|
|
340
340
|
const u = 1 - a;
|
|
341
341
|
l(t.current, u), l(r.current, a);
|
|
342
|
-
}, []), v =
|
|
342
|
+
}, []), v = X(() => {
|
|
343
343
|
const {
|
|
344
344
|
current: { offsetWidth: a, scrollLeft: u, scrollWidth: m }
|
|
345
|
-
} = e, p = m - a, O =
|
|
345
|
+
} = e, p = m - a, O = Fe(Math.abs(u - o), 0, p) / p;
|
|
346
346
|
c(O);
|
|
347
347
|
}, [o, c]), h = ge(
|
|
348
348
|
() => xe(
|
|
@@ -362,10 +362,10 @@ const Ge = (e, t, r) => Math.min(Math.max(e, t), r), Fe = "_root_9vqpr_2", He =
|
|
|
362
362
|
),
|
|
363
363
|
[o]
|
|
364
364
|
);
|
|
365
|
-
|
|
366
|
-
const a = new
|
|
365
|
+
q(() => {
|
|
366
|
+
const a = new Ge(h);
|
|
367
367
|
return a.observe(e.current), () => a.disconnect();
|
|
368
|
-
}, []),
|
|
368
|
+
}, []), q(() => {
|
|
369
369
|
t.current && r.current && c(0);
|
|
370
370
|
}, [n, c]);
|
|
371
371
|
const f = n ? /* @__PURE__ */ R(
|
|
@@ -385,5 +385,5 @@ const Ge = (e, t, r) => Math.min(Math.max(e, t), r), Fe = "_root_9vqpr_2", He =
|
|
|
385
385
|
};
|
|
386
386
|
export {
|
|
387
387
|
Ze as Breadcrumb,
|
|
388
|
-
|
|
388
|
+
qe as BreadcrumbComponent
|
|
389
389
|
};
|
package/dist/Button.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsxs as l, jsx as a, Fragment as g } from "react/jsx-runtime";
|
|
|
3
3
|
import { B as f } from "./XCKGTAUF-DkxWCbaW.js";
|
|
4
4
|
import { useButtonGroup as z } from "./ButtonGroup.js";
|
|
5
5
|
import { Loader as b } from "./Loader.js";
|
|
6
|
-
import { c as x } from "./index-
|
|
6
|
+
import { c as x } from "./index-PAaZGbyz.js";
|
|
7
7
|
import { f as B } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
8
8
|
import "react";
|
|
9
9
|
const N = "_root_1q8jk_2", $ = "_shape_1q8jk_74", D = "_loader_1q8jk_235", S = {
|
package/dist/ButtonGroup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import { createContext as f, useMemo as i, useContext as l } from "react";
|
|
4
|
-
import { c as x } from "./index-
|
|
4
|
+
import { c as x } from "./index-PAaZGbyz.js";
|
|
5
5
|
import { f as G } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
6
6
|
const d = "_root_kot0y_2", y = {
|
|
7
7
|
root: d
|
package/dist/Card.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as c } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as n } from "react";
|
|
4
|
-
import { c as d } from "./index-
|
|
4
|
+
import { c as d } from "./index-PAaZGbyz.js";
|
|
5
5
|
const a = "_root_10ds1_2", m = "_body_10ds1_13", e = {
|
|
6
6
|
root: a,
|
|
7
7
|
body: m
|
package/dist/Checkbox.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.
|
|
1
|
+
@layer components{._root_nra3d_2{position:relative;padding:0;cursor:pointer;transition:var(--duration-medium);overflow:hidden;font-size:var(--font-size-sm);font-weight:var(--font-weight-regular);line-height:1rem;outline:transparent solid var(--border-width-md);border-radius:var(--radius-sm);border-style:solid;border-width:var(--border-width-sm);flex-shrink:0;height:1rem;width:1rem;color:var(--color-neutral-90);background-color:var(--backgroundColor, var(--color-neutral-10));border-color:var(--borderColor, var(--color-neutral-30))}._root_nra3d_2:after{background-color:var(--afterBackgroundColor);content:"";position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;-webkit-mask-size:contain;mask-size:contain;width:10px}._root_nra3d_2:disabled,._root_nra3d_2[aria-disabled]{--backgroundColor: var(--color-beige-40);--borderColor: var(--color-beige-50);cursor:not-allowed}._root_nra3d_2:not([disabled]):hover{--borderColor: var(--borderColorHover, var(--color-neutral-40))}._root_nra3d_2[data-focus-visible],._root_nra3d_2:focus-visible{--borderColor: var(--borderColorFocused, var(--color-brand-40));outline-color:var(--outlineColorFocus, var(--color-brand-20))}._root_nra3d_2::placeholder{--color: var(--color-neutral-60)}._root_nra3d_2[aria-checked=true]:not(:disabled){--backgroundColor: var(--color-brand-40);--borderColor: var(--color-brand-40);--color: var(--color-neutral-90)}._root_nra3d_2[aria-checked=true]:not(:disabled):after{--afterBackgroundColor: var(--color-beige-90)}._root_nra3d_2[aria-checked=true]:not(:disabled):hover{--backgroundColor: var(--color-brand-30);--borderColor: var(--backgroundColor)}._root_nra3d_2[aria-checked=true]:after{--afterBackgroundColor: var(--color-beige-50);height:8px;mask:url('data:image/svg+xml; utf8, <svg viewBox="0 0 10 8" xmlns="http://www.w3.org/2000/svg"><path fill="000000" d="M7.96171 0.596898C8.24912 0.27893 8.74024 0.25262 9.06024 0.537743C9.37208 0.815607 9.40671 1.28712 9.14514 1.60662L9.11975 1.63611L3.90331 7.40311C3.75365 7.5687 3.54304 7.66003 3.32401 7.66003C3.15017 7.66003 2.98077 7.60235 2.84241 7.49383L2.80848 7.46564L0.943652 5.82577C0.620151 5.54147 0.590221 5.04928 0.877091 4.72749C1.15398 4.41772 1.62383 4.38076 1.94536 4.6368L1.97506 4.66166L3.26156 5.79276L7.96171 0.596898Z" /></svg>')}._variant-danger_nra3d_67{--borderColor: var(--color-red-70);--borderColorHover: var(--color-red-70);--borderColorFocused: var(--color-red-70);--outlineColorFocus: var(--color-red-30)}._variant-warning_nra3d_73{--borderColor: var(--color-orange-60);--borderColorHover: var(--color-orange-60);--borderColorFocused: var(--color-orange-60);--outlineColorFocus: var(--color-orange-30)}._variant-success_nra3d_79{--borderColor: var(--color-green-60);--borderColorHover: var(--color-green-60);--borderColorFocused: var(--color-green-60);--outlineColorFocus: var(--color-green-30)}._indeterminate_nra3d_85:not(:disabled){--backgroundColor: var(--color-brand-40);--borderColor: var(--color-brand-40);--color: var(--color-neutral-90)}._indeterminate_nra3d_85:not(:disabled):after{--afterBackgroundColor: var(--color-beige-90)}._indeterminate_nra3d_85:not(:disabled):hover{--backgroundColor: var(--color-brand-30);--borderColor: var(--backgroundColor)}._indeterminate_nra3d_85:after{--afterBackgroundColor: var(--color-beige-50);height:4px;mask:url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 10 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.3973 1.76919C0.953776 1.81988 0.634816 2.04775 0.685235 2.49156C0.732149 2.90436 1.08212 3.03624 1.48789 3.03624L8.6029 2.23086C9.04669 2.18017 9.36538 1.9523 9.31469 1.50849C9.26427 1.06468 8.86389 0.917163 8.41956 0.969201C4.90971 1.38026 4.90828 1.36792 1.3973 1.76919Z' fill='000000'/%3E%3C/svg%3E")}}
|
package/dist/Checkbox.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { C as
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
import { useField as
|
|
6
|
-
import { c as
|
|
7
|
-
const
|
|
8
|
-
root:
|
|
9
|
-
"variant-danger": "_variant-
|
|
10
|
-
"variant-warning": "_variant-
|
|
11
|
-
"variant-success": "_variant-
|
|
12
|
-
indeterminate:
|
|
13
|
-
}, k =
|
|
14
|
-
({ checked:
|
|
15
|
-
const { getInputProps:
|
|
16
|
-
|
|
2
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
3
|
+
import { C as l } from "./KPUWHTQJ-CKDqSAor.js";
|
|
4
|
+
import { forwardRef as v } from "react";
|
|
5
|
+
import { useField as g } from "./Field.js";
|
|
6
|
+
import { c as p } from "./index-PAaZGbyz.js";
|
|
7
|
+
const h = "_root_nra3d_2", u = "_indeterminate_nra3d_85", x = {
|
|
8
|
+
root: h,
|
|
9
|
+
"variant-danger": "_variant-danger_nra3d_67",
|
|
10
|
+
"variant-warning": "_variant-warning_nra3d_73",
|
|
11
|
+
"variant-success": "_variant-success_nra3d_79",
|
|
12
|
+
indeterminate: u
|
|
13
|
+
}, k = p(x), j = v(
|
|
14
|
+
({ checked: n = !1, className: e, indeterminate: o = !1, onChange: r, variant: i, ...s }, c) => {
|
|
15
|
+
const { getInputProps: d, variant: m } = g(), t = m || i, _ = (a) => {
|
|
16
|
+
a.target.checked = !a.target.checked, r && r(a);
|
|
17
17
|
};
|
|
18
|
-
return /* @__PURE__ */
|
|
19
|
-
|
|
18
|
+
return /* @__PURE__ */ f(
|
|
19
|
+
l,
|
|
20
20
|
{
|
|
21
|
-
...
|
|
22
|
-
checked:
|
|
21
|
+
...d(s),
|
|
22
|
+
checked: n,
|
|
23
23
|
className: k(
|
|
24
24
|
"root",
|
|
25
|
-
|
|
25
|
+
t && `variant-${t}`,
|
|
26
26
|
o && "indeterminate",
|
|
27
|
-
|
|
27
|
+
e
|
|
28
28
|
),
|
|
29
|
-
onChange:
|
|
29
|
+
onChange: _,
|
|
30
30
|
ref: c
|
|
31
31
|
}
|
|
32
32
|
);
|
package/dist/CloseButton.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx as o } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as a } from "react";
|
|
4
4
|
import { Button as n } from "./Button.js";
|
|
5
|
-
import "./Icon-
|
|
6
|
-
import { C as c } from "./index-
|
|
7
|
-
import { c as m } from "./index-
|
|
5
|
+
import "./Icon-BisRi8B3.js";
|
|
6
|
+
import { C as c } from "./index-BJLXLdM3.js";
|
|
7
|
+
import { c as m } from "./index-PAaZGbyz.js";
|
|
8
8
|
const i = "_root_rhe1o_2", l = "_fade_rhe1o_1", f = {
|
|
9
9
|
root: i,
|
|
10
10
|
"animate-presence": "_animate-presence_rhe1o_6",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as c } from "./T22PY7TE-
|
|
2
|
+
import { a as c } from "./T22PY7TE-BxbmImwX.js";
|
|
3
3
|
import { u as d } from "./XCKGTAUF-DkxWCbaW.js";
|
|
4
4
|
import { f as p, c as f, b as D, _ as x, u as g, d as k, a as v } from "./OE2EFRVA-C3721cM3.js";
|
|
5
5
|
import { useMemo as h } from "react";
|
package/dist/DatePicker.js
CHANGED
|
@@ -3,12 +3,12 @@ import { jsxs as U, jsx as o } from "react/jsx-runtime";
|
|
|
3
3
|
import { useState as $, useMemo as F, useEffect as j, forwardRef as _, useRef as G } from "react";
|
|
4
4
|
import { D as J, C as P } from "./CustomPopper-vwbOQq72.js";
|
|
5
5
|
import { Button as L } from "./Button.js";
|
|
6
|
-
import "./Icon-
|
|
7
|
-
import { L as Q } from "./index-
|
|
8
|
-
import { R as V } from "./index-
|
|
6
|
+
import "./Icon-BisRi8B3.js";
|
|
7
|
+
import { L as Q } from "./index-CWVOLBDY.js";
|
|
8
|
+
import { R as V } from "./index-Dcq5gh3E.js";
|
|
9
9
|
import { Select as M } from "./Select.js";
|
|
10
|
-
import { c as w } from "./index-
|
|
11
|
-
import { g as W, a as X, s as K, b as Z, D as q } from "./utils-
|
|
10
|
+
import { c as w } from "./index-PAaZGbyz.js";
|
|
11
|
+
import { g as W, a as X, s as K, b as Z, D as q } from "./utils-BNMgUIHQ.js";
|
|
12
12
|
import { InputText as Y } from "./InputText.js";
|
|
13
13
|
const g = w(K), h = ({
|
|
14
14
|
changeMonth: b,
|
package/dist/DateTimePicker.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as A } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as E, useState as x, useRef as P, useEffect as o, Children as H, cloneElement as I } from "react";
|
|
4
|
-
import { b as N, D as b, s as j } from "./utils-
|
|
5
|
-
import { c as F } from "./index-
|
|
4
|
+
import { b as N, D as b, s as j } from "./utils-BNMgUIHQ.js";
|
|
5
|
+
import { c as F } from "./index-PAaZGbyz.js";
|
|
6
6
|
const L = F(j), q = E(
|
|
7
7
|
({
|
|
8
8
|
children: a,
|
package/dist/Drawer.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{._asset-
|
|
1
|
+
@layer components{._asset-drawer_2lawg_3{overflow:hidden;border-top-left-radius:var(--radius-2xl);border-top-right-radius:var(--radius-2xl)}._asset-drawer_2lawg_3[class*=root]{height:calc(100% - 3rem)}._content-wrapper_2lawg_13{height:100%;margin-top:var(--spacing-xl);overflow-y:auto;width:100%}@media screen and (min-width: 736px){._content-wrapper_2lawg_13{margin-top:var(--spacing-3xl)}}._content-max-width_2lawg_24{flex:1;margin:0 auto;width:100%;max-width:var(--asset-drawer-content-max-width, 51.25rem)}._content_2lawg_13{--asset-drawer-content-padding: 0 var(--spacing-md) var(--spacing-xl);padding:var(--asset-drawer-content-padding)}@media screen and (min-width: 736px){._content_2lawg_13{--asset-drawer-content-padding: 0 var(--spacing-xl) var(--spacing-3xl)}}._asset-drawer-header_2lawg_39{display:flex;flex-direction:column;gap:var(--spacing-xl);justify-content:space-between;background-color:var(--color-neutral-10);margin-bottom:var(--spacing-xl);padding-bottom:var(--spacing-md);position:sticky;top:0;z-index:1}@media screen and (min-width: 736px){._asset-drawer-header_2lawg_39{align-items:center;flex-direction:row}}._back-button_2lawg_57{align-items:center;display:flex;gap:var(--spacing-md)}@media screen and (min-width: 736px){._back-button_2lawg_57{gap:var(--spacing-xl)}}._title_2lawg_67{display:flex;flex-direction:column;gap:var(--spacing-xxs)}._icon-block_2lawg_72{display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:var(--radius-md);background-color:var(--color-beige-20);transition:background-color var(--duration-medium);--icon-block-size: var(--spacing-3xl);width:var(--icon-block-size);height:var(--icon-block-size)}._icon-block_2lawg_72._size-md_2lawg_84{--icon-block-size: var(--spacing-3xl)}._icon-block_2lawg_72._size-sm_2lawg_87{--icon-block-size: var(--spacing-xxl)}}@layer components{._root_11f0r_3{background-color:var(--color-neutral-10);border:var(--border-width-sm) solid var(--color-neutral-30);z-index:999;position:fixed;display:flex;flex-direction:column;overflow:auto;opacity:0;transition:var(--duration-medium);max-width:100%;--drawer-left: 0;--drawer-right: 0;--drawer-top: 0;--drawer-bottom: 0;--drawer-height: 100%;--drawer-width: 100%;--drawer-transform: translateY(0, 0);left:var(--drawer-left);right:var(--drawer-right);top:var(--drawer-top);bottom:var(--drawer-bottom);width:var(--drawer-width);height:var(--drawer-height);transform:var(--drawer-transform)}._root_11f0r_3._placement-bottom_11f0r_30{--drawer-top: auto;--drawer-transform: translateY(100%)}._root_11f0r_3._placement-left_11f0r_34{--drawer-right: auto;--drawer-transform: translateX(-100%)}._root_11f0r_3._placement-right_11f0r_38{--drawer-left: auto;--drawer-transform: translateX(100%)}._root_11f0r_3._placement-top_11f0r_42{--drawer-bottom: auto;--drawer-transform: translateY(-100%)}._root_11f0r_3._placement-top_11f0r_42._size-sm_11f0r_46,._root_11f0r_3._placement-bottom_11f0r_30._size-sm_11f0r_46{--drawer-height: 25rem}._root_11f0r_3._placement-top_11f0r_42._size-md_11f0r_49,._root_11f0r_3._placement-bottom_11f0r_30._size-md_11f0r_49{--drawer-height: 34.375rem}._root_11f0r_3._placement-top_11f0r_42._size-lg_11f0r_52,._root_11f0r_3._placement-bottom_11f0r_30._size-lg_11f0r_52{--drawer-height: 42.5rem}._root_11f0r_3._placement-left_11f0r_34._size-sm_11f0r_46,._root_11f0r_3._placement-right_11f0r_38._size-sm_11f0r_46{--drawer-width: 25rem}._root_11f0r_3._placement-left_11f0r_34._size-md_11f0r_49,._root_11f0r_3._placement-right_11f0r_38._size-md_11f0r_49{--drawer-width: 34.375rem}._root_11f0r_3._placement-left_11f0r_34._size-lg_11f0r_52,._root_11f0r_3._placement-right_11f0r_38._size-lg_11f0r_52{--drawer-width: 42.5rem}._root_11f0r_3[data-enter]{opacity:1;--drawer-transform: translateX(0, 0)}._backdrop_11f0r_68{background-color:var(--color-overlay);z-index:999;position:fixed;top:0;right:0;left:0;bottom:0;opacity:0;transition:opacity .15s ease-in-out}._backdrop_11f0r_68._drawer-hide-on-interact-outside_11f0r_79{cursor:pointer}._backdrop_11f0r_68[data-enter]{opacity:1}._content_11f0r_85{flex:1;padding:var(--spacing-xl)}@media screen and (min-width: 736px){._content_11f0r_85{overflow-y:auto}}._footer_11f0r_94{bottom:0;position:sticky;z-index:1;width:100%;background-color:var(--color-neutral-0);padding:var(--spacing-xl)}@media screen and (min-width: 736px){._footer_11f0r_94{bottom:auto;position:static}}._title_11f0r_108{display:flex;align-items:center;justify-content:space-between;position:sticky;z-index:1;top:0;width:100%;background-color:var(--color-neutral-10);margin:0;padding:var(--spacing-xl) var(--spacing-5xl) var(--spacing-xl) var(--spacing-xl)}._drawer-close_11f0r_120{position:absolute;right:var(--spacing-lg);top:var(--spacing-lg);z-index:10}}
|