welcome-ui 8.0.0-alpha.0 → 8.0.2

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 (90) hide show
  1. package/dist/AXB53BZF-BOEe01VW.mjs +25 -0
  2. package/dist/Accordion.mjs +17 -17
  3. package/dist/Alert.mjs +19 -19
  4. package/dist/{BYC7LY2E-CVjUW1dr.mjs → BYC7LY2E-B1IDizRs.mjs} +298 -295
  5. package/dist/Badge.mjs +1 -1
  6. package/dist/Breadcrumb.mjs +27 -26
  7. package/dist/Button.mjs +2 -2
  8. package/dist/Checkbox.mjs +1 -1
  9. package/dist/{CustomInput-D_13Gd_3.mjs → CustomInput-IA_gVoXd.mjs} +2991 -2859
  10. package/dist/DatePicker.mjs +4 -4
  11. package/dist/DateTimePicker.mjs +9 -9
  12. package/dist/DateTimePickerCommon.mjs +1 -1
  13. package/dist/Drawer.mjs +7 -7
  14. package/dist/DropdownMenu.mjs +262 -262
  15. package/dist/Field.mjs +25 -25
  16. package/dist/FileDrop.mjs +273 -267
  17. package/dist/FileUpload.mjs +26 -26
  18. package/dist/Files.mjs +1 -1
  19. package/dist/Hint.mjs +1 -1
  20. package/dist/{ITI7HKP4-BONrZ9Pq.mjs → ITI7HKP4-EL9KXYBU.mjs} +150 -150
  21. package/dist/Icons.mjs +88 -88
  22. package/dist/IconsFont.mjs +159 -159
  23. package/dist/InputText.mjs +1 -1
  24. package/dist/{JC64G2H7-Dey-8h60.mjs → JC64G2H7-BzklVBKM.mjs} +70 -70
  25. package/dist/KUU7WJ55-CS4NemC6.mjs +61 -0
  26. package/dist/{LVA2YJMS-qFC9J-lt.mjs → LVA2YJMS-DDEmK0pp.mjs} +491 -488
  27. package/dist/Label.mjs +2 -2
  28. package/dist/Link.mjs +3 -3
  29. package/dist/MTZPJQMC-CMjAwC0N.mjs +15 -0
  30. package/dist/Modal.mjs +13 -13
  31. package/dist/NLEBE274-QOMV1l7e.mjs +84 -0
  32. package/dist/P2CTZE2T-Cl2w7OLV.mjs +300 -0
  33. package/dist/P4IRICAX-DezbJY4s.mjs +37 -0
  34. package/dist/Pagination.mjs +22 -22
  35. package/dist/Picker.mjs +2 -2
  36. package/dist/Popover.mjs +2 -2
  37. package/dist/QYJ6MIDR-Bb0O5xUM.mjs +97 -0
  38. package/dist/Radio.mjs +18 -18
  39. package/dist/RadioGroup.mjs +15 -15
  40. package/dist/RadioTab.mjs +9 -9
  41. package/dist/{SYRFVSLH-cVmYtx36.mjs → SYRFVSLH-jn06-eLy.mjs} +17 -17
  42. package/dist/Search.mjs +2 -2
  43. package/dist/Select.mjs +719 -716
  44. package/dist/Shape.mjs +1 -1
  45. package/dist/Slider.mjs +1 -1
  46. package/dist/Swiper.mjs +284 -278
  47. package/dist/Tabs.mjs +128 -128
  48. package/dist/Tag.mjs +16 -16
  49. package/dist/Text.mjs +1 -1
  50. package/dist/Textarea.mjs +4 -4
  51. package/dist/TimePicker.mjs +6 -6
  52. package/dist/Toast.mjs +69 -69
  53. package/dist/Toggle.mjs +2 -2
  54. package/dist/Tooltip.mjs +60 -60
  55. package/dist/UniversalLink.mjs +8 -8
  56. package/dist/VEVQD5MH-CuegL0m0.mjs +20 -0
  57. package/dist/{VGCJ63VH-B39w1tBw.mjs → VGCJ63VH-BMzoZtCu.mjs} +31 -33
  58. package/dist/VariantIcon.mjs +4 -4
  59. package/dist/WelcomeLoader.mjs +4862 -9223
  60. package/dist/X5NMLKT6-CvSCix-_.mjs +25 -0
  61. package/dist/YV4JVR4I-Bh7B7TET.mjs +344 -0
  62. package/dist/downshift.esm-D0ns_SQs.mjs +1082 -0
  63. package/dist/{field-styles-DLIhqG_8.mjs → field-styles-CfVLcVQp.mjs} +1 -1
  64. package/dist/{index-BDeIsk2X.mjs → index-5PUh49rV.mjs} +56 -56
  65. package/dist/{index-DEJJvyGk.mjs → index-B0gDDiFm.mjs} +7 -7
  66. package/dist/{index-CExLVjET.mjs → index-B22SHR8h.mjs} +4 -4
  67. package/dist/index-BhcLigYU.mjs +77 -0
  68. package/dist/{index-BJAZgeHL.mjs → index-Bkl89twW.mjs} +4 -4
  69. package/dist/{index-BYdkhqH4.mjs → index-CBBbX29m.mjs} +3652 -3584
  70. package/dist/{index-BpRjq7lj.mjs → index-CQD9fgf_.mjs} +3 -3
  71. package/dist/{index-BRDOakbf.mjs → index-CmsWSKKs.mjs} +5 -5
  72. package/dist/{index-SbQUT2mU.mjs → index-DgSynio4.mjs} +244 -239
  73. package/dist/{index-BrfXjmHY.mjs → index-wr_b5GSV.mjs} +6 -6
  74. package/dist/radio-group-RFyDp0KD.mjs +51 -0
  75. package/dist/theme.mjs +670 -615
  76. package/dist/{use-viewport-m3glsbna.mjs → use-viewport-CfklieD-.mjs} +5 -5
  77. package/dist/utils.mjs +29 -91
  78. package/package.json +12 -15
  79. package/dist/AXB53BZF-CGoc4K3d.mjs +0 -25
  80. package/dist/KUU7WJ55-3sP-w1F1.mjs +0 -61
  81. package/dist/MTZPJQMC-C0Xe_WK4.mjs +0 -13
  82. package/dist/NLEBE274-C94QU78N.mjs +0 -84
  83. package/dist/P2CTZE2T-YPes1GXe.mjs +0 -297
  84. package/dist/P4IRICAX-DzXqUYe-.mjs +0 -37
  85. package/dist/QYJ6MIDR-BLLqyXdd.mjs +0 -97
  86. package/dist/VEVQD5MH-ZMnHV8ZJ.mjs +0 -20
  87. package/dist/X5NMLKT6-uFSu0Lii.mjs +0 -25
  88. package/dist/YV4JVR4I-BGfUf3Nu.mjs +0 -341
  89. package/dist/downshift.esm-CEHW4VDy.mjs +0 -1085
  90. package/dist/radio-group-CGC6DTFJ.mjs +0 -51
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import d, { useState as R, useRef as w, useEffect as I } from "react";
3
3
  import { forwardRef as G } from "./System.mjs";
4
- import { S as J, c as Q, b as V, C as W, D as P, g as X } from "./CustomInput-D_13Gd_3.mjs";
4
+ import { g as J, D as P, S as Q, b as V, C as W, c as X } from "./CustomInput-IA_gVoXd.mjs";
5
5
  const Z = G(
6
6
  ({
7
7
  autoFocus: S,
@@ -26,7 +26,7 @@ const Z = G(
26
26
  value: t = P,
27
27
  ...r
28
28
  }, n) => {
29
- const A = r == null ? void 0 : r.timeIntervals, o = (e) => X(e, A), K = M || r.placeholderText, [j, D] = R(S && "date" || null), [B, a] = R(o(t)), E = w();
29
+ const A = r == null ? void 0 : r.timeIntervals, o = (e) => J(e, A), K = M || r.placeholderText, [j, D] = R(S && "date" || null), [B, a] = R(o(t)), E = w();
30
30
  I(() => {
31
31
  s && s(o(t));
32
32
  }, []), I(() => {
@@ -54,12 +54,12 @@ const Z = G(
54
54
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
55
55
  // @ts-ignore
56
56
  /* @__PURE__ */ d.createElement(
57
- J,
57
+ Q,
58
58
  {
59
59
  autoComplete: "off",
60
60
  calendarClassName: "date-picker-popper",
61
61
  customInput: /* @__PURE__ */ d.createElement(
62
- Q,
62
+ X,
63
63
  {
64
64
  className: "date-picker",
65
65
  "data-testid": b,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import r, { Children as p, useState as E, useEffect as P, cloneElement as x } from "react";
2
+ import r, { Children as d, useState as E, useEffect as P, cloneElement as x } from "react";
3
3
  import $, { css as b } from "@xstyled/styled-components";
4
- import { S as w, a as h, D as S, g as _ } from "./CustomInput-D_13Gd_3.mjs";
4
+ import { S as w, a as h, g as S, D as _ } from "./CustomInput-IA_gVoXd.mjs";
5
5
  import { DatePicker as A } from "./DatePicker.mjs";
6
6
  import { TimePicker as N } from "./TimePicker.mjs";
7
7
  import { forwardRef as R } from "./System.mjs";
@@ -49,20 +49,20 @@ const T = b`
49
49
  onChange: m,
50
50
  size: f = "md",
51
51
  transparent: s,
52
- value: t = S
52
+ value: t = _
53
53
  }, k) => {
54
- const u = p.count(i) > 1 && p.toArray(i).find(
54
+ const y = d.count(i) > 1 && d.toArray(i).find(
55
55
  (e) => e.type.displayName === "TimePicker"
56
- ), y = r.isValidElement(u) ? u.props.timeIntervals : void 0, d = (e) => _(e, y), [D, g] = E(d(t)), o = (e) => {
56
+ ), u = r.isValidElement(y) ? y.props.timeIntervals : void 0, p = (e) => S(e, u), [D, g] = E(p(t)), o = (e) => {
57
57
  g(e || null), m && m(e && new Date(e));
58
58
  };
59
59
  return P(() => {
60
- m && o(d(t));
60
+ m && o(p(t));
61
61
  }, []), P(() => {
62
62
  var a;
63
- const e = d(t);
63
+ const e = p(t);
64
64
  ((a = new Date(t)) == null ? void 0 : a.getTime()) - (e == null ? void 0 : e.getTime()) !== 0 && m && o(e), g(e);
65
- }, [t]), /* @__PURE__ */ r.createElement(C, { "data-testid": c }, i && p.map(
65
+ }, [t]), /* @__PURE__ */ r.createElement(C, { "data-testid": c }, i && d.map(
66
66
  i,
67
67
  (e, a) => x(e, {
68
68
  // eslint-disable-next-line react/no-array-index-key
@@ -71,7 +71,7 @@ const T = b`
71
71
  // give ref only to the first child
72
72
  inputRef: a < 1 ? k : null,
73
73
  locale: n,
74
- timeIntervals: y,
74
+ timeIntervals: u,
75
75
  value: D,
76
76
  transparent: s
77
77
  })
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C as a, c as t, b as r, D as o, S as i, a as g, f as m, g as u, d as D, e as c } from "./CustomInput-D_13Gd_3.mjs";
2
+ import { C as a, c as t, b as r, D as o, S as i, a as g, f as m, g as u, d as D, e as c } from "./CustomInput-IA_gVoXd.mjs";
3
3
  export {
4
4
  a as CustomHeader,
5
5
  t as CustomInput,
package/dist/Drawer.mjs CHANGED
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import e from "react";
3
- import a, { css as m, th as n, useTheme as p } from "@xstyled/styled-components";
3
+ import a, { th as n, css as m, useTheme as p } from "@xstyled/styled-components";
4
4
  import { CloseButton as b } from "./CloseButton.mjs";
5
5
  import { Box as l } from "./Box.mjs";
6
- import { D as $ } from "./SYRFVSLH-cVmYtx36.mjs";
6
+ import { D as $ } from "./SYRFVSLH-jn06-eLy.mjs";
7
7
  import { forwardRef as d } from "./System.mjs";
8
8
  import { Text as f } from "./Text.mjs";
9
9
  import "./Icon.mjs";
10
- import { A as D } from "./index-BJAZgeHL.mjs";
10
+ import { A as D } from "./index-Bkl89twW.mjs";
11
11
  import { Button as B } from "./Button.mjs";
12
- import { D as k, u as C } from "./JC64G2H7-Dey-8h60.mjs";
13
- import { D as v } from "./AXB53BZF-CGoc4K3d.mjs";
12
+ import { D as k, u as v } from "./JC64G2H7-BzklVBKM.mjs";
13
+ import { D as C } from "./AXB53BZF-BOEe01VW.mjs";
14
14
  const I = (t) => {
15
15
  switch (t) {
16
16
  case "top":
@@ -237,13 +237,13 @@ const I = (t) => {
237
237
  )
238
238
  );
239
239
  function nt(t = {}) {
240
- return C({ animated: !0, ...t });
240
+ return v({ animated: !0, ...t });
241
241
  }
242
242
  const q = ({
243
243
  hideOnInteractOutside: t = !0,
244
244
  ...r
245
245
  }) => /* @__PURE__ */ e.createElement(g, { hideOnInteractOutside: t, ...r }), h = d(({ as: t, store: r, ...o }, s) => /* @__PURE__ */ e.createElement(
246
- v,
246
+ C,
247
247
  {
248
248
  ref: s,
249
249
  render: t ? (i) => /* @__PURE__ */ e.createElement(t, { ...i }) : void 0,