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.
Files changed (102) hide show
  1. package/README.md +1 -1
  2. package/dist/{2W3RN7C5-bkX-rIa3.js → 2W3RN7C5-uG7eBeTQ.js} +11 -11
  3. package/dist/4I4MLMKD-z3Xm3qCo.js +150 -0
  4. package/dist/Accordion.js +4 -4
  5. package/dist/Alert.js +1 -1
  6. package/dist/AspectRatio.js +1 -1
  7. package/dist/Avatar.js +1 -1
  8. package/dist/{B7UTNDHN-BlIblHCu.js → B7UTNDHN-BDa2-8JK.js} +2 -2
  9. package/dist/Badge.js +1 -1
  10. package/dist/Breadcrumb.css +1 -1
  11. package/dist/Breadcrumb.js +165 -151
  12. package/dist/Button.js +2 -2
  13. package/dist/ButtonGroup.js +1 -1
  14. package/dist/Card.js +1 -1
  15. package/dist/Checkbox.js +2 -2
  16. package/dist/CloseButton.css +1 -1
  17. package/dist/CloseButton.js +12 -12
  18. package/dist/{DSAASPLT-BaaCUKsb.js → DSAASPLT-C-2xDjIv.js} +3 -3
  19. package/dist/DatePicker.js +2 -2
  20. package/dist/DateTimePicker.js +2 -2
  21. package/dist/Drawer.js +25 -22
  22. package/dist/DropdownMenu.js +41 -41
  23. package/dist/Field.js +1 -1
  24. package/dist/FieldGroup.js +1 -1
  25. package/dist/FileDrop.js +2 -2
  26. package/dist/FileUpload.js +1 -1
  27. package/dist/GVVKDT6A-C66-lr0B.js +619 -0
  28. package/dist/Hint.js +1 -1
  29. package/dist/Icon.css +1 -1
  30. package/dist/Icon.js +32 -24
  31. package/dist/InputText.js +1 -1
  32. package/dist/{KPUWHTQJ-D2TPji47.js → KPUWHTQJ-Byij2al4.js} +11 -11
  33. package/dist/Label.js +1 -1
  34. package/dist/Link.js +20 -19
  35. package/dist/Loader.js +1 -1
  36. package/dist/Logo.js +1 -1
  37. package/dist/Modal.js +5 -5
  38. package/dist/{NI3IVY7K-Ztb3-XAv.js → NI3IVY7K-DpF3td-7.js} +115 -115
  39. package/dist/{NMGNQVTG-C6TqBngP.js → NMGNQVTG-BgAqqGOq.js} +6 -6
  40. package/dist/{OE2EFRVA-C3721cM3.js → OE2EFRVA-DkdhQLJL.js} +27 -27
  41. package/dist/{OLVWQA7U-DysaSaZj.js → OLVWQA7U-wHytlFYu.js} +30 -30
  42. package/dist/Pagination.css +1 -1
  43. package/dist/Pagination.js +155 -76
  44. package/dist/Popover.js +21 -21
  45. package/dist/{RTNCFSKZ-qpPg689E.js → RTNCFSKZ-LcIdBwa8.js} +16 -16
  46. package/dist/Radio.js +2 -2
  47. package/dist/RadioGroup.js +4 -4
  48. package/dist/RadioTab.js +2 -2
  49. package/dist/{SBSPVDDI-DJKkC1eb.js → SBSPVDDI-BoxPz2JY.js} +22 -22
  50. package/dist/{SQZLCNLX-CHDXnZ16.js → SQZLCNLX-CUlXoT69.js} +8 -8
  51. package/dist/Search.js +2 -2
  52. package/dist/Select.js +2 -2
  53. package/dist/Slider.js +1 -1
  54. package/dist/Stepper.js +1 -1
  55. package/dist/Swiper.js +1 -1
  56. package/dist/{T22PY7TE-C1N0q8Kn.js → T22PY7TE-CzEDuEn1.js} +21 -21
  57. package/dist/Table.js +1 -1
  58. package/dist/Tabs.js +23 -23
  59. package/dist/Tag.js +1 -1
  60. package/dist/Text.js +1 -1
  61. package/dist/Textarea.js +1 -1
  62. package/dist/TimePicker.js +2 -2
  63. package/dist/Toast.css +1 -1
  64. package/dist/Toast.js +286 -222
  65. package/dist/Toggle.js +2 -2
  66. package/dist/Tooltip.css +1 -1
  67. package/dist/Tooltip.js +118 -129
  68. package/dist/VariantIcon.js +1 -1
  69. package/dist/VisuallyHidden.js +1 -1
  70. package/dist/WelcomeLoader.js +1 -1
  71. package/dist/{XCKGTAUF-DkxWCbaW.js → XCKGTAUF-CahZE721.js} +4 -4
  72. package/dist/{Y67KZUMI-DFEgrUv2.js → Y67KZUMI-BDyUNSJw.js} +5 -5
  73. package/dist/{ZTXFEM5L-CkrIQCN1.js → ZTXFEM5L-CjFLRObi.js} +3 -3
  74. package/dist/{downshift.esm-D_6pHXkq.js → downshift.esm-xtYanIDi.js} +1 -1
  75. package/dist/scss/breakpoints.scss +9 -0
  76. package/dist/scss/text-ellipsis.scss +5 -0
  77. package/dist/scss/texts.scss +108 -0
  78. package/dist/theme.css +1 -1
  79. package/dist/{tslib.es6-DpB4Y59c.js → tslib.es6-C80jYMbM.js} +1 -1
  80. package/dist/types/components/Breadcrumb/types.d.ts +5 -1
  81. package/dist/types/components/Drawer/AssetDrawer/types.d.ts +3 -0
  82. package/dist/types/components/Drawer/components/Backdrop.d.ts +1 -1
  83. package/dist/types/components/Drawer/index.d.ts +1 -1
  84. package/dist/types/components/Icon/icons.d.ts +4 -5
  85. package/dist/types/components/Icon/types.d.ts +2 -0
  86. package/dist/types/components/Pagination/types.d.ts +11 -0
  87. package/dist/types/components/Toast/components/Growl.d.ts +2 -0
  88. package/dist/types/components/Toast/index.d.ts +4 -1
  89. package/dist/types/components/Toast/types.d.ts +8 -9
  90. package/dist/types/components/Tooltip/types.d.ts +1 -1
  91. package/dist/types/theme/types.d.ts +22 -0
  92. package/dist/types/utils/index.d.ts +0 -1
  93. package/dist/{utils-DileZjMm.js → utils-BD597oo6.js} +1 -1
  94. package/dist/utils.js +2 -2
  95. package/package.json +2 -1
  96. package/dist/4I4MLMKD-BLxAidnq.js +0 -43
  97. package/dist/GVVKDT6A-bET6V7Py.js +0 -724
  98. package/dist/index.css +0 -0
  99. package/dist/types/components/Icon/Icon.d.ts +0 -2
  100. package/dist/types/utils/theme/index.d.ts +0 -0
  101. /package/dist/{index-CdiHdiVB.js → index-PAaZGbyz.js} +0 -0
  102. /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 q, b as be, j as pe } from "./SBSPVDDI-DJKkC1eb.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, W as ge, F as he, G as B, H as O, I as k, S as J, K as Q } from "./OE2EFRVA-C3721cM3.js";
5
- import { u as A, m as _e, o as X, c as Ce, s as z, a as w, f as Pe, b as re, d as Y } from "./RTNCFSKZ-qpPg689E.js";
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-CdiHdiVB.js";
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-DysaSaZj.js";
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-C1N0q8Kn.js";
13
- import { P as Be, a as De } from "./Y67KZUMI-DFEgrUv2.js";
14
- import { c as Me, a as Ve, u as Fe } from "./B7UTNDHN-BlIblHCu.js";
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
- q,
68
+ X,
69
69
  g(v({}, f), {
70
- render: e.combobox && e.composite !== e.combobox ? /* @__PURE__ */ P(q, g(v({}, f), { store: e.combobox })) : f.render
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
- ), qe = F(function(r) {
109
+ ), Xe = F(function(r) {
110
110
  const t = Ue(r);
111
111
  return j(Ge, t);
112
- }), Je = "div", Qe = W(
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
- ), Xe = F(function(r) {
215
- const t = Qe(r);
216
- return j(Je, t);
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
- X(t, n),
245
- X(e, n)
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 J(
331
+ return q(
332
332
  w(t, ["value"], u),
333
333
  w(t, ["mounted"], p)
334
334
  );
335
335
  if (e)
336
- return J(
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
- Q(r, [t.composite, t.combobox]), o = Fe(o, r, t), Y(o, t, "selectedId", "setSelectedId"), Y(o, t, "selectOnMove");
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 Q(s, [o, s]), Object.assign(
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
- qe,
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(Xe, { className: bt("root"), ref: s, store: r, tabId: t, ...e, children: o })
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-CdiHdiVB.js";
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
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { createElement as g } from "react";
3
- import { c as m } from "./index-CdiHdiVB.js";
3
+ import { c as m } from "./index-PAaZGbyz.js";
4
4
  import { f as b } from "./forwardRefWithAs-8eP3ZN15.js";
5
5
  const q = "_root_1tqvt_2", h = {
6
6
  root: q,
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-CdiHdiVB.js";
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",
@@ -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-DileZjMm.js";
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-CdiHdiVB.js";
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{._title_1trg0_2{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_1trg0_2>*:first-child{flex-shrink:0}._growl_1trg0_12{position:relative;padding:var(--border-radius-xl);border-radius:var(--border-radius-md);border-style:solid;border-width:var(--border-width-xs);max-width:340px}._growl_1trg0_12 div:first-of-type{align-self:baseline;font-size:var(--font-size-14)}._growl_1trg0_12 button{flex-shrink:0}._snackbar_1trg0_27{display:flex;align-items:center;padding:var(--border-radius-md) var(--border-radius-lg);border-radius:var(--border-radius-md);width:max-content;gap:var(--border-radius-md)}._snackbar_1trg0_27 div:first-of-type{align-self:center;font-size:var(--font-size-14)}._snackbar_1trg0_27 div:last-of-type{flex-direction:row;margin-left:var(--border-radius-sm)!important}._snackbar-separator_1trg0_43{padding-left:var(--border-radius-md);border-left:1px solid;border-left-color:var(--borderLeftColor, --color-neutral-90)}._snackbar-separator_1trg0_43._info_1trg0_48{--borderLeftColor: var(--color-background-accent-blue-secondary)}._snackbar-separator_1trg0_43._success_1trg0_51{--borderLeftColor: var(--color-background-accent-green-primary)}._snackbar-separator_1trg0_43._warning_1trg0_54{--borderLeftColor: var(--color-background-warning-subtle)}._snackbar-separator_1trg0_43._danger_1trg0_57{--borderLeftColor: var(--color-background-danger-subtle)}}
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}}