welcome-ui 10.0.0-alpha.1 → 10.0.0-alpha.3
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 +1 -1
- package/dist/{2W3RN7C5-bkX-rIa3.js → 2W3RN7C5-uG7eBeTQ.js} +11 -11
- package/dist/4I4MLMKD-z3Xm3qCo.js +150 -0
- package/dist/Accordion.js +4 -4
- package/dist/Alert.js +1 -1
- package/dist/AspectRatio.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/{B7UTNDHN-BlIblHCu.js → B7UTNDHN-BDa2-8JK.js} +2 -2
- package/dist/Badge.js +1 -1
- package/dist/Breadcrumb.css +1 -1
- package/dist/Breadcrumb.js +165 -151
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.js +1 -1
- package/dist/Card.js +1 -1
- package/dist/Checkbox.js +2 -2
- package/dist/CloseButton.css +1 -1
- package/dist/CloseButton.js +12 -12
- package/dist/{DSAASPLT-BaaCUKsb.js → DSAASPLT-C-2xDjIv.js} +3 -3
- package/dist/DatePicker.js +2 -2
- package/dist/DateTimePicker.js +2 -2
- package/dist/Drawer.js +25 -22
- package/dist/DropdownMenu.js +41 -41
- package/dist/Field.js +1 -1
- package/dist/FieldGroup.js +1 -1
- package/dist/FileDrop.js +2 -2
- package/dist/FileUpload.js +1 -1
- package/dist/GVVKDT6A-C66-lr0B.js +619 -0
- package/dist/Hint.js +1 -1
- package/dist/Icon.css +1 -1
- package/dist/Icon.js +32 -24
- package/dist/InputText.js +1 -1
- package/dist/{KPUWHTQJ-D2TPji47.js → KPUWHTQJ-Byij2al4.js} +11 -11
- package/dist/Label.js +1 -1
- package/dist/Link.js +20 -19
- package/dist/Loader.js +1 -1
- package/dist/Logo.js +1 -1
- package/dist/Modal.js +5 -5
- package/dist/{NI3IVY7K-Ztb3-XAv.js → NI3IVY7K-DpF3td-7.js} +115 -115
- package/dist/{NMGNQVTG-C6TqBngP.js → NMGNQVTG-BgAqqGOq.js} +6 -6
- package/dist/{OE2EFRVA-C3721cM3.js → OE2EFRVA-DkdhQLJL.js} +27 -27
- package/dist/{OLVWQA7U-DysaSaZj.js → OLVWQA7U-wHytlFYu.js} +30 -30
- package/dist/Pagination.css +1 -1
- package/dist/Pagination.js +155 -76
- package/dist/Popover.js +21 -21
- package/dist/{RTNCFSKZ-qpPg689E.js → RTNCFSKZ-LcIdBwa8.js} +16 -16
- package/dist/Radio.js +2 -2
- package/dist/RadioGroup.js +4 -4
- package/dist/RadioTab.js +2 -2
- package/dist/{SBSPVDDI-DJKkC1eb.js → SBSPVDDI-BoxPz2JY.js} +22 -22
- package/dist/{SQZLCNLX-CHDXnZ16.js → SQZLCNLX-CUlXoT69.js} +8 -8
- package/dist/Search.js +2 -2
- package/dist/Select.js +2 -2
- package/dist/Slider.js +1 -1
- package/dist/Stepper.js +1 -1
- package/dist/Swiper.js +1 -1
- package/dist/{T22PY7TE-C1N0q8Kn.js → T22PY7TE-CzEDuEn1.js} +21 -21
- package/dist/Table.js +1 -1
- package/dist/Tabs.js +23 -23
- package/dist/Tag.js +1 -1
- package/dist/Text.js +1 -1
- package/dist/Textarea.js +1 -1
- package/dist/TimePicker.js +2 -2
- package/dist/Toast.css +1 -1
- package/dist/Toast.js +286 -222
- package/dist/Toggle.js +2 -2
- package/dist/Tooltip.css +1 -1
- package/dist/Tooltip.js +118 -129
- package/dist/VariantIcon.js +1 -1
- package/dist/VisuallyHidden.js +1 -1
- package/dist/WelcomeLoader.js +1 -1
- package/dist/{XCKGTAUF-DkxWCbaW.js → XCKGTAUF-CahZE721.js} +4 -4
- package/dist/{Y67KZUMI-DFEgrUv2.js → Y67KZUMI-BDyUNSJw.js} +5 -5
- package/dist/{ZTXFEM5L-CkrIQCN1.js → ZTXFEM5L-CjFLRObi.js} +3 -3
- package/dist/{downshift.esm-D_6pHXkq.js → downshift.esm-xtYanIDi.js} +1 -1
- package/dist/scss/breakpoints.scss +9 -0
- package/dist/scss/text-ellipsis.scss +5 -0
- package/dist/scss/texts.scss +108 -0
- package/dist/theme.css +1 -1
- package/dist/{tslib.es6-DpB4Y59c.js → tslib.es6-C80jYMbM.js} +1 -1
- package/dist/types/components/Breadcrumb/types.d.ts +5 -1
- package/dist/types/components/Drawer/AssetDrawer/types.d.ts +3 -0
- package/dist/types/components/Drawer/components/Backdrop.d.ts +1 -1
- package/dist/types/components/Drawer/index.d.ts +1 -1
- package/dist/types/components/Icon/icons.d.ts +4 -5
- package/dist/types/components/Icon/types.d.ts +2 -0
- package/dist/types/components/Pagination/types.d.ts +11 -0
- package/dist/types/components/Toast/components/Growl.d.ts +2 -0
- package/dist/types/components/Toast/index.d.ts +4 -1
- package/dist/types/components/Toast/types.d.ts +8 -9
- package/dist/types/components/Tooltip/types.d.ts +1 -1
- package/dist/types/theme/types.d.ts +22 -0
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/{utils-DileZjMm.js → utils-BD597oo6.js} +1 -1
- package/dist/utils.js +2 -2
- package/package.json +2 -1
- package/dist/4I4MLMKD-BLxAidnq.js +0 -43
- package/dist/GVVKDT6A-bET6V7Py.js +0 -724
- package/dist/index.css +0 -0
- package/dist/types/components/Icon/Icon.d.ts +0 -2
- package/dist/types/utils/theme/index.d.ts +0 -0
- /package/dist/{index-CdiHdiVB.js → index-PAaZGbyz.js} +0 -0
- /package/dist/types/components/Icon/{Icon.test.d.ts → index.test.d.ts} +0 -0
package/dist/Tabs.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as P, jsxs as fe } from "react/jsx-runtime";
|
|
3
|
-
import { C as ee, a as te, h as
|
|
4
|
-
import { e as oe, v as ve, f as F, c as W, b as j, _ as H, i as K, w as se, A as Ie, d as g, a as v, u as M, x as ne, ad as Se, p as xe,
|
|
5
|
-
import { u as A, m as _e, o as
|
|
3
|
+
import { C as ee, a as te, h as X, b as be, j as pe } from "./SBSPVDDI-BoxPz2JY.js";
|
|
4
|
+
import { e as oe, v as ve, f as F, c as W, b as j, _ as H, i as K, w as se, A as Ie, d as g, a as v, u as M, x as ne, ad as Se, p as xe, X as ge, F as he, G as B, H as O, I as k, T as q, K as J } from "./OE2EFRVA-DkdhQLJL.js";
|
|
5
|
+
import { u as A, m as _e, o as Q, c as Ce, s as z, a as w, f as Pe, b as re, d as Y } from "./RTNCFSKZ-LcIdBwa8.js";
|
|
6
6
|
import ae, { useCallback as ce, useRef as V, useEffect as Z, useState as G, createContext as ie, useMemo as Te, cloneElement as Ee, forwardRef as le } from "react";
|
|
7
|
-
import { c as D } from "./index-
|
|
7
|
+
import { c as D } from "./index-PAaZGbyz.js";
|
|
8
8
|
import { f as we } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
9
|
-
import { u as Re, b as ye } from "./OLVWQA7U-
|
|
9
|
+
import { u as Re, b as ye } from "./OLVWQA7U-wHytlFYu.js";
|
|
10
10
|
import { m as $e, g as Ne, u as Le } from "./useForkRef-D807AV7D.js";
|
|
11
11
|
import { u as Oe, a as ke } from "./use-viewport-CgrficYB.js";
|
|
12
|
-
import { u as ze, d as Ae } from "./T22PY7TE-
|
|
13
|
-
import { P as Be,
|
|
14
|
-
import { c as Me, a as Ve, u as Fe } from "./B7UTNDHN-
|
|
12
|
+
import { u as ze, d as Ae } from "./T22PY7TE-CzEDuEn1.js";
|
|
13
|
+
import { P as Be, b as De } from "./Y67KZUMI-BDyUNSJw.js";
|
|
14
|
+
import { c as Me, a as Ve, u as Fe } from "./B7UTNDHN-BDa2-8JK.js";
|
|
15
15
|
var U = oe(
|
|
16
16
|
[te],
|
|
17
17
|
[ee]
|
|
@@ -65,9 +65,9 @@ var U = oe(
|
|
|
65
65
|
};
|
|
66
66
|
n = g(v({}, n), {
|
|
67
67
|
render: /* @__PURE__ */ P(
|
|
68
|
-
|
|
68
|
+
X,
|
|
69
69
|
g(v({}, f), {
|
|
70
|
-
render: e.combobox && e.composite !== e.combobox ? /* @__PURE__ */ P(
|
|
70
|
+
render: e.combobox && e.composite !== e.combobox ? /* @__PURE__ */ P(X, g(v({}, f), { store: e.combobox })) : f.render
|
|
71
71
|
})
|
|
72
72
|
)
|
|
73
73
|
});
|
|
@@ -106,10 +106,10 @@ var U = oe(
|
|
|
106
106
|
"aria-orientation": m
|
|
107
107
|
}, s), s = Re(v({ store: e }, s)), s;
|
|
108
108
|
}
|
|
109
|
-
),
|
|
109
|
+
), Xe = F(function(r) {
|
|
110
110
|
const t = Ue(r);
|
|
111
111
|
return j(Ge, t);
|
|
112
|
-
}),
|
|
112
|
+
}), qe = "div", Je = W(
|
|
113
113
|
function(r) {
|
|
114
114
|
var t = r, {
|
|
115
115
|
store: e,
|
|
@@ -211,9 +211,9 @@ var U = oe(
|
|
|
211
211
|
focusable: !e.composite && !_
|
|
212
212
|
}, a)), a = Ae(v({ store: p }, a)), a = pe(g(v({ store: e.panels }, a), { getItem: N })), a;
|
|
213
213
|
}
|
|
214
|
-
),
|
|
215
|
-
const t =
|
|
216
|
-
return j(
|
|
214
|
+
), Qe = F(function(r) {
|
|
215
|
+
const t = Je(r);
|
|
216
|
+
return j(qe, t);
|
|
217
217
|
}), Ye = oe(
|
|
218
218
|
[De, te],
|
|
219
219
|
[Be, ee]
|
|
@@ -241,8 +241,8 @@ function et(o = {}) {
|
|
|
241
241
|
"focusWrap"
|
|
242
242
|
], m = _e(
|
|
243
243
|
s.store,
|
|
244
|
-
|
|
245
|
-
|
|
244
|
+
Q(t, n),
|
|
245
|
+
Q(e, n)
|
|
246
246
|
), i = m == null ? void 0 : m.getState(), d = Me(B(k({}, s), {
|
|
247
247
|
store: m,
|
|
248
248
|
// We need to explicitly set the default value of `includesBaseElement` to
|
|
@@ -328,12 +328,12 @@ function et(o = {}) {
|
|
|
328
328
|
b = !1, c.setState("selectedId", x);
|
|
329
329
|
};
|
|
330
330
|
if (t && "setSelectElement" in t)
|
|
331
|
-
return
|
|
331
|
+
return q(
|
|
332
332
|
w(t, ["value"], u),
|
|
333
333
|
w(t, ["mounted"], p)
|
|
334
334
|
);
|
|
335
335
|
if (e)
|
|
336
|
-
return
|
|
336
|
+
return q(
|
|
337
337
|
w(e, ["selectedValue"], u),
|
|
338
338
|
w(e, ["mounted"], p)
|
|
339
339
|
);
|
|
@@ -346,9 +346,9 @@ function et(o = {}) {
|
|
|
346
346
|
});
|
|
347
347
|
}
|
|
348
348
|
function tt(o, r, t) {
|
|
349
|
-
|
|
349
|
+
J(r, [t.composite, t.combobox]), o = Fe(o, r, t), Y(o, t, "selectedId", "setSelectedId"), Y(o, t, "selectOnMove");
|
|
350
350
|
const [e, s] = re(() => o.panels, {});
|
|
351
|
-
return
|
|
351
|
+
return J(s, [o, s]), Object.assign(
|
|
352
352
|
Te(() => g(v({}, o), { panels: e }), [o, e]),
|
|
353
353
|
{ composite: t.composite, combobox: t.combobox }
|
|
354
354
|
);
|
|
@@ -414,7 +414,7 @@ const at = D(nt), ct = ({ activeTab: o, listRef: r, orientation: t }) => {
|
|
|
414
414
|
({ children: o, className: r, size: t = "md", store: e, ...s }, n) => {
|
|
415
415
|
const m = V(), [, i] = Le(n, m), { orientation: d, selectedId: a } = A(e), { activeTab: h, tabs: c } = ot(a, o), b = ae.Children.count(o) > 1;
|
|
416
416
|
return /* @__PURE__ */ fe(
|
|
417
|
-
|
|
417
|
+
Xe,
|
|
418
418
|
{
|
|
419
419
|
className: dt("root", `size-${t}`, r),
|
|
420
420
|
ref: i,
|
|
@@ -430,7 +430,7 @@ const at = D(nt), ct = ({ activeTab: o, listRef: r, orientation: t }) => {
|
|
|
430
430
|
), mt = "_root_etkg6_2", ft = {
|
|
431
431
|
root: mt
|
|
432
432
|
}, bt = D(ft), pt = le(
|
|
433
|
-
({ children: o, store: r, tabId: t, ...e }, s) => /* @__PURE__ */ P(
|
|
433
|
+
({ children: o, store: r, tabId: t, ...e }, s) => /* @__PURE__ */ P(Qe, { className: bt("root"), ref: s, store: r, tabId: t, ...e, children: o })
|
|
434
434
|
), vt = "_root_86cgt_2", It = {
|
|
435
435
|
root: vt
|
|
436
436
|
}, St = D(It), xt = we(
|
package/dist/Tag.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsxs as d, jsx as r } from "react/jsx-runtime";
|
|
|
3
3
|
import z from "react";
|
|
4
4
|
import { Button as h } from "./Button.js";
|
|
5
5
|
import { Icon as x } from "./Icon.js";
|
|
6
|
-
import { c as R } from "./index-
|
|
6
|
+
import { c as R } from "./index-PAaZGbyz.js";
|
|
7
7
|
import { f as y } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
8
8
|
const S = "_root_40vfm_2", k = "_hasRemoveAction_40vfm_197", q = "_isSquare_40vfm_203", A = "_removeButton_40vfm_208", N = {
|
|
9
9
|
root: S,
|
package/dist/Text.js
CHANGED
package/dist/Textarea.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as c } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as _ } from "react";
|
|
4
4
|
import { useField as m } from "./Field.js";
|
|
5
|
-
import { c as g } from "./index-
|
|
5
|
+
import { c as g } from "./index-PAaZGbyz.js";
|
|
6
6
|
const v = "_root_rh62g_2", f = {
|
|
7
7
|
root: v,
|
|
8
8
|
"variant-danger": "_variant-danger_rh62g_35",
|
package/dist/TimePicker.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx as f } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as S, useState as w, useRef as j, useEffect as d } from "react";
|
|
4
4
|
import { D as F, C as I } from "./CustomPopper-vwbOQq72.js";
|
|
5
|
-
import { b as L, D as M, s as O } from "./utils-
|
|
5
|
+
import { b as L, D as M, s as O } from "./utils-BD597oo6.js";
|
|
6
6
|
import { InputText as U } from "./InputText.js";
|
|
7
|
-
import { c as _ } from "./index-
|
|
7
|
+
import { c as _ } from "./index-PAaZGbyz.js";
|
|
8
8
|
const q = _(O), V = S(
|
|
9
9
|
({
|
|
10
10
|
autoFocus: o,
|
package/dist/Toast.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.
|
|
1
|
+
@layer components{._root_q0jyz_2{display:flex;flex-direction:column;overflow:hidden;border-width:var(--components-dimensions-toast-border-width);border-radius:var(--components-dimensions-toast-border-radius);border-color:var(--components-colors-toast-color-border-default);box-shadow:var(--elevation-20);background-color:var(--components-colors-toast-color-background-default);transition:all var(--duration-medium)}._root_q0jyz_2:hover{border-color:var(--components-colors-toast-color-border-hover);box-shadow:var(--elevation-30)}._icon_q0jyz_17{flex-shrink:0;border-radius:var(--components-dimensions-toast-icon-border-radius);padding:var(--components-dimensions-toast-icon-padding-inline);background-color:var(--iconBackgroundColor);color:var(--iconColor)}._variant-error_q0jyz_24{--iconBackgroundColor: var(--components-colors-toast-icon-color-background-error);--iconColor: var(--components-colors-toast-icon-color-icon-error)}._variant-warning_q0jyz_28{--iconBackgroundColor: var(--components-colors-toast-icon-color-background-warning);--iconColor: var(--components-colors-toast-icon-color-icon-warning)}._variant-success_q0jyz_32{--iconBackgroundColor: var(--components-colors-toast-icon-color-background-success);--iconColor: var(--components-colors-toast-icon-color-icon-success)}._variant-info_q0jyz_36{--iconBackgroundColor: var(--components-colors-toast-icon-color-background-information);--iconColor: var(--components-colors-toast-icon-color-icon-information)}._progress_q0jyz_40{width:100%;height:4px;background:var(--components-colors-latency-color-background-bar)}._progress-bar_q0jyz_45{width:100%;height:100%;background:var(--components-colors-latency-color-background-progress);transform-origin:left center;animation:_toast-progress_q0jyz_1 var(--duration) linear forwards}._hide-progress-bar_q0jyz_52{display:none}@keyframes _toast-progress_q0jyz_1{0%{transform:scaleX(0)}to{transform:scaleX(1)}}._snackbar_q0jyz_63{display:flex;flex-direction:row;align-items:center;padding:var(--components-dimensions-toast-padding-inline);gap:var(--components-dimensions-toast-gap-content);max-width:660px}._growl_q0jyz_71{display:flex;flex-direction:row;align-items:center;padding:var(--components-dimensions-toast-padding-inline);gap:var(--components-dimensions-growl-gap-content);max-width:450px}._growl_q0jyz_71 ._content_q0jyz_79{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-md)}._growl_q0jyz_71 ._close-button_q0jyz_85{align-self:start}._growl_q0jyz_71 ._icon_q0jyz_17{align-self:flex-start}._title_q0jyz_91{display:flex;align-items:center;padding-bottom:var(--border-radius-sm);color:var(--color-background-neutral-primary-fixed);font-weight:var(--font-weight-semi-bold)}._title_q0jyz_91>*:first-child{flex-shrink:0}}
|