welcome-ui 8.3.0 → 8.4.0

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 (105) hide show
  1. package/dist/{AXB53BZF-XKOjjeWO.mjs → AXB53BZF-BU4qmiUA.mjs} +3 -3
  2. package/dist/Accordion.mjs +4 -4
  3. package/dist/Alert.mjs +13 -13
  4. package/dist/AspectRatio.mjs +1 -1
  5. package/dist/Avatar.mjs +1 -1
  6. package/dist/BYC7LY2E-TZjhdRy3.mjs +619 -0
  7. package/dist/Badge.mjs +1 -1
  8. package/dist/Box.mjs +1 -1
  9. package/dist/Breadcrumb.mjs +2 -2
  10. package/dist/Button.mjs +3 -3
  11. package/dist/ButtonGroup.mjs +1 -1
  12. package/dist/Card.mjs +1 -1
  13. package/dist/Checkbox.mjs +2 -2
  14. package/dist/ClearButton.mjs +2 -2
  15. package/dist/CloseButton.mjs +2 -2
  16. package/dist/CustomPopper-DavRfSDP.mjs +7613 -0
  17. package/dist/DatePicker.mjs +2 -2
  18. package/dist/DateTimePicker.mjs +34541 -66
  19. package/dist/DateTimePickerCommon.mjs +1 -1
  20. package/dist/Drawer.mjs +58 -58
  21. package/dist/DropdownMenu.mjs +10 -10
  22. package/dist/Field.mjs +15 -15
  23. package/dist/FieldGroup.mjs +1 -1
  24. package/dist/FileDrop.mjs +3 -3
  25. package/dist/FileUpload.mjs +1 -1
  26. package/dist/Files.mjs +2 -2
  27. package/dist/Flex.mjs +1 -1
  28. package/dist/Grid.mjs +1 -1
  29. package/dist/Hint.mjs +1 -1
  30. package/dist/{ITI7HKP4-C89kOQb8.mjs → ITI7HKP4-DKM_MiJK.mjs} +4 -4
  31. package/dist/Icon.mjs +1 -1
  32. package/dist/Icons.mjs +12 -12
  33. package/dist/IconsFont.mjs +1 -1
  34. package/dist/InputText.mjs +10 -10
  35. package/dist/{JC64G2H7-afsomHuH.mjs → JC64G2H7-ifBZq_RU.mjs} +5 -5
  36. package/dist/{KUU7WJ55-CzsjuIMv.mjs → KUU7WJ55-ClLMNDee.mjs} +1 -1
  37. package/dist/{LVA2YJMS-C-kJ1lkr.mjs → LVA2YJMS-B8X1PCyC.mjs} +18 -18
  38. package/dist/Label.mjs +3 -3
  39. package/dist/Link.mjs +2 -2
  40. package/dist/Loader.mjs +1 -1
  41. package/dist/Logo.mjs +1 -1
  42. package/dist/{MTZPJQMC-TybFZCho.mjs → MTZPJQMC-DdjKPI9r.mjs} +2 -2
  43. package/dist/Modal.mjs +18 -18
  44. package/dist/{NLEBE274-oSxMftGy.mjs → NLEBE274-CnAMhwcR.mjs} +3 -3
  45. package/dist/{P2CTZE2T-DOT1mNnX.mjs → P2CTZE2T-1n7Xlf8m.mjs} +4 -4
  46. package/dist/{P4IRICAX-CWSZLTGz.mjs → P4IRICAX-Dg8AjwYu.mjs} +3 -3
  47. package/dist/Pagination.mjs +4 -4
  48. package/dist/PasswordInput.mjs +2 -2
  49. package/dist/Picker.mjs +3 -3
  50. package/dist/Popover.mjs +4 -4
  51. package/dist/{QYJ6MIDR-DJ-vUdAM.mjs → QYJ6MIDR-CpwIyzxN.mjs} +4 -4
  52. package/dist/Radio.mjs +2 -2
  53. package/dist/RadioGroup.mjs +2 -2
  54. package/dist/RadioTab.mjs +2 -2
  55. package/dist/{SYRFVSLH-B6m278Vb.mjs → SYRFVSLH-DPBHrVeS.mjs} +4 -4
  56. package/dist/Search.mjs +12 -12
  57. package/dist/Select.mjs +21 -21
  58. package/dist/Shape.mjs +1 -1
  59. package/dist/Slider.mjs +1 -1
  60. package/dist/Stack.mjs +1 -1
  61. package/dist/Swiper.mjs +1 -1
  62. package/dist/Table.mjs +1 -1
  63. package/dist/Tabs.mjs +8 -8
  64. package/dist/Tag.mjs +3 -3
  65. package/dist/Text.mjs +1 -1
  66. package/dist/Textarea.mjs +1 -1
  67. package/dist/TimePicker.mjs +2 -2
  68. package/dist/Toast.mjs +2 -2
  69. package/dist/Toggle.mjs +2 -2
  70. package/dist/Tooltip.mjs +11 -11
  71. package/dist/UniversalLink.mjs +1 -1
  72. package/dist/{VEVQD5MH-0w9Y7Ytc.mjs → VEVQD5MH-BSxDdMFG.mjs} +3 -3
  73. package/dist/{VGCJ63VH-C0UPBY-5.mjs → VGCJ63VH-C4H4_vtu.mjs} +4 -4
  74. package/dist/VariantIcon.mjs +2 -2
  75. package/dist/WelcomeLoader.mjs +1 -1
  76. package/dist/WuiProvider.mjs +1 -1
  77. package/dist/{X5NMLKT6-BJw3xE-K.mjs → X5NMLKT6-Ctro4-UX.mjs} +2 -2
  78. package/dist/{YV4JVR4I-DPC8mMuG.mjs → YV4JVR4I-BLeUul5N.mjs} +1 -1
  79. package/dist/{downshift.esm-B7Jil1wW.mjs → downshift.esm-DT64V-tc.mjs} +1 -3
  80. package/dist/floating-ui.dom.browser.min-Bza9K_UR.mjs +471 -0
  81. package/dist/{hide-focus-rings-root-CCXdysih.mjs → hide-focus-rings-root-Dcm160m2.mjs} +1 -1
  82. package/dist/{index-QaLwIvZS.mjs → index-6dgzrvpZ.mjs} +1 -1
  83. package/dist/{index-C_k-m0Rl.mjs → index-A1En5GST.mjs} +1 -1
  84. package/dist/{index-D8v_VJ9z.mjs → index-B-Yc2RN_.mjs} +1 -1
  85. package/dist/{index-DAZ1SYdj.mjs → index-B80lXHoK.mjs} +1 -1
  86. package/dist/{index-SQQQ4dEE.mjs → index-CuuMTEio.mjs} +1 -1
  87. package/dist/{index-DvzWKxKE.mjs → index-CwnxYrRd.mjs} +1 -1
  88. package/dist/{index-62h-enZF.mjs → index-D10ydFFH.mjs} +4 -4
  89. package/dist/{index-i_anpNhw.mjs → index-DKL-SItG.mjs} +1 -1
  90. package/dist/{index-CBBbX29m.mjs → index-Dct42YPA.mjs} +1 -1
  91. package/dist/{index-wl3X6EM1.mjs → index-DfD5GTDk.mjs} +1 -1
  92. package/dist/{index-CYmF7qCH.mjs → index-DtWZjMb5.mjs} +1 -1
  93. package/dist/{index-BaLGEKs7.mjs → index-KxL21VJb.mjs} +1 -1
  94. package/dist/{index-DpkNUfAS.mjs → index-eYXK9_x4.mjs} +1 -1
  95. package/dist/{jsx-runtime-B7I4PJ0H.mjs → jsx-runtime-Bqq1Hxg9.mjs} +16 -16
  96. package/dist/{radio-group-C0fUHvam.mjs → radio-group-C2Cv9SMd.mjs} +5 -5
  97. package/dist/types/components/DatePicker/index.d.ts +1 -1
  98. package/dist/types/components/DateTimePicker/index.d.ts +4 -1
  99. package/dist/types/components/DateTimePicker/utils.d.ts +3 -0
  100. package/dist/types/components/DateTimePickerCommon/styles.d.ts +1 -1
  101. package/dist/types/components/TimePicker/index.d.ts +1 -1
  102. package/dist/{wrap-children-CzmhoRzd.mjs → wrap-children-CRHMWYug.mjs} +3 -3
  103. package/package.json +3 -3
  104. package/dist/BYC7LY2E-CWSI38FM.mjs +0 -1078
  105. package/dist/CustomPopper-DezjKb9n.mjs +0 -7971
@@ -4,19 +4,19 @@ function lr() {
4
4
  if (Te) return k;
5
5
  Te = 1;
6
6
  var M = Pe, C = Symbol.for("react.element"), U = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, F = M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
7
- function w(y, l, T) {
8
- var p, _ = {}, R = null, I = null;
9
- T !== void 0 && (R = "" + T), l.key !== void 0 && (R = "" + l.key), l.ref !== void 0 && (I = l.ref);
7
+ function w(R, l, T) {
8
+ var p, _ = {}, y = null, I = null;
9
+ T !== void 0 && (y = "" + T), l.key !== void 0 && (y = "" + l.key), l.ref !== void 0 && (I = l.ref);
10
10
  for (p in l) m.call(l, p) && !A.hasOwnProperty(p) && (_[p] = l[p]);
11
- if (y && y.defaultProps) for (p in l = y.defaultProps, l) _[p] === void 0 && (_[p] = l[p]);
12
- return { $$typeof: C, type: y, key: R, ref: I, props: _, _owner: F.current };
11
+ if (R && R.defaultProps) for (p in l = R.defaultProps, l) _[p] === void 0 && (_[p] = l[p]);
12
+ return { $$typeof: C, type: R, key: y, ref: I, props: _, _owner: F.current };
13
13
  }
14
14
  return k.Fragment = U, k.jsx = w, k.jsxs = w, k;
15
15
  }
16
16
  var D = {}, Oe;
17
17
  function cr() {
18
18
  return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && function() {
19
- var M = Pe, C = Symbol.for("react.element"), U = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), F = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), y = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), H = Symbol.iterator, Ce = "@@iterator";
19
+ var M = Pe, C = Symbol.for("react.element"), U = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), F = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), R = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), H = Symbol.iterator, Ce = "@@iterator";
20
20
  function we(e) {
21
21
  if (e === null || typeof e != "object")
22
22
  return null;
@@ -44,7 +44,7 @@ function cr() {
44
44
  var xe = !1, ke = !1, De = !1, Fe = !1, Ae = !1, Z;
45
45
  Z = Symbol.for("react.module.reference");
46
46
  function Ie(e) {
47
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === A || Ae || e === F || e === T || e === p || Fe || e === I || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === _ || e.$$typeof === w || e.$$typeof === y || e.$$typeof === l || // This needs to include all possible module reference object
47
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === A || Ae || e === F || e === T || e === p || Fe || e === I || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === _ || e.$$typeof === w || e.$$typeof === R || e.$$typeof === l || // This needs to include all possible module reference object
48
48
  // types supported by any Flight configuration anywhere since
49
49
  // we don't know which Flight build this will end up being used
50
50
  // with.
@@ -83,7 +83,7 @@ function cr() {
83
83
  }
84
84
  if (typeof e == "object")
85
85
  switch (e.$$typeof) {
86
- case y:
86
+ case R:
87
87
  var r = e;
88
88
  return Q(r) + ".Consumer";
89
89
  case w:
@@ -94,7 +94,7 @@ function cr() {
94
94
  case _:
95
95
  var n = e.displayName || null;
96
96
  return n !== null ? n : E(e.type) || "Memo";
97
- case R: {
97
+ case y: {
98
98
  var o = e, u = o._payload, i = o._init;
99
99
  try {
100
100
  return E(i(u));
@@ -283,7 +283,7 @@ function cr() {
283
283
  return Ve(e.render);
284
284
  case _:
285
285
  return $(e.type, r, t);
286
- case R: {
286
+ case y: {
287
287
  var n = e, o = n._payload, u = n._init;
288
288
  try {
289
289
  return $(u(o), r, t);
@@ -466,7 +466,7 @@ Check the render method of \`` + e + "`.";
466
466
  function er(e) {
467
467
  return "";
468
468
  }
469
- var ye = {};
469
+ var Re = {};
470
470
  function rr(e) {
471
471
  {
472
472
  var r = Ee();
@@ -479,15 +479,15 @@ Check the top-level render call using <` + t + ">.");
479
479
  return r;
480
480
  }
481
481
  }
482
- function Re(e, r) {
482
+ function ye(e, r) {
483
483
  {
484
484
  if (!e._store || e._store.validated || e.key != null)
485
485
  return;
486
486
  e._store.validated = !0;
487
487
  var t = rr(r);
488
- if (ye[t])
488
+ if (Re[t])
489
489
  return;
490
- ye[t] = !0;
490
+ Re[t] = !0;
491
491
  var n = "";
492
492
  e && e._owner && e._owner !== K.current && (n = " It was passed a child from " + E(e._owner.type) + "."), S(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), S(null);
493
493
  }
@@ -499,7 +499,7 @@ Check the top-level render call using <` + t + ">.");
499
499
  if (B(e))
500
500
  for (var t = 0; t < e.length; t++) {
501
501
  var n = e[t];
502
- z(n) && Re(n, r);
502
+ z(n) && ye(n, r);
503
503
  }
504
504
  else if (z(e))
505
505
  e._store && (e._store.validated = !0);
@@ -507,7 +507,7 @@ Check the top-level render call using <` + t + ">.");
507
507
  var o = we(e);
508
508
  if (typeof o == "function" && o !== e.entries)
509
509
  for (var u = o.call(e), i; !(i = u.next()).done; )
510
- z(i.value) && Re(i.value, r);
510
+ z(i.value) && ye(i.value, r);
511
511
  }
512
512
  }
513
513
  }
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { c as l, u as v, a as m } from "./ITI7HKP4-C89kOQb8.mjs";
3
- import { c as f, a as R, b as S } from "./YV4JVR4I-DPC8mMuG.mjs";
4
- import { z as _, A as n, B as p, C as u, f as P, c as x, h as V, _ as C, i as b, D as g, g as c } from "./LVA2YJMS-C-kJ1lkr.mjs";
5
- import { u as j, a as E } from "./NLEBE274-oSxMftGy.mjs";
6
- import { j as G } from "./jsx-runtime-B7I4PJ0H.mjs";
2
+ import { c as l, u as v, a as m } from "./ITI7HKP4-DKM_MiJK.mjs";
3
+ import { c as f, a as R, b as S } from "./YV4JVR4I-BLeUul5N.mjs";
4
+ import { z as _, A as n, B as p, C as u, f as P, c as x, h as V, _ as C, i as b, D as g, g as c } from "./LVA2YJMS-B8X1PCyC.mjs";
5
+ import { u as j, a as E } from "./NLEBE274-CnAMhwcR.mjs";
6
+ import { j as G } from "./jsx-runtime-Bqq1Hxg9.mjs";
7
7
  function h(a = {}) {
8
8
  var o = _(a, []), e;
9
9
  const t = (e = o.store) == null ? void 0 : e.getState(), r = l(n(u({}, o), {
@@ -1,4 +1,4 @@
1
- import { ReactDatePickerProps } from 'react-datepicker';
1
+ import { DatePickerProps as ReactDatePickerProps } from 'react-datepicker';
2
2
  import { CustomHeaderProps, CustomInputOptions, StyledDatePicker } from '../DateTimePickerCommon';
3
3
  import { CreateWuiProps } from '../System';
4
4
  export interface DatePickerOptions {
@@ -1,5 +1,8 @@
1
1
  import { DatePickerProps } from '../DatePicker';
2
2
  import { CreateWuiProps } from '../System';
3
3
  import { TimePickerProps } from '../TimePicker';
4
- export type DateTimePickerProps = CreateWuiProps<'input', Pick<DatePickerProps, 'disabled' | 'locale' | 'onChange' | 'size' | 'transparent' | 'value'> & Pick<TimePickerProps, 'disabled' | 'locale' | 'onChange' | 'size' | 'transparent' | 'value'>>;
4
+ import { LocalesKey } from './utils';
5
+ export type DateTimePickerProps = CreateWuiProps<'input', Pick<DatePickerProps, 'onChange' | 'size' | 'transparent' | 'value'> & Pick<TimePickerProps, 'onChange' | 'size' | 'transparent' | 'value'> & {
6
+ locale?: LocalesKey;
7
+ }>;
5
8
  export declare const DateTimePicker: import('../System').CreateWuiComponent<"input", DateTimePickerProps>;
@@ -0,0 +1,3 @@
1
+ import * as locales from 'date-fns/locale';
2
+ export type LocalesKey = keyof typeof locales;
3
+ export declare const getLocale: (locale?: LocalesKey) => locales.Locale;
@@ -2,7 +2,7 @@ import { Focused } from './CustomInput';
2
2
  export declare const StyledDatePicker: any;
3
3
  export declare const StyledTimePicker: any;
4
4
  export declare const CustomInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
5
- focused: Focused;
5
+ $focused: Focused;
6
6
  }>> & string;
7
7
  export declare const CustomHeader: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
8
  export declare const Selects: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,4 +1,4 @@
1
- import { ReactDatePickerProps } from 'react-datepicker';
1
+ import { DatePickerProps as ReactDatePickerProps } from 'react-datepicker';
2
2
  import { CustomInputOptions, StyledTimePicker } from '../DateTimePickerCommon';
3
3
  import { CreateWuiProps } from '../System';
4
4
  export interface TimePickerOptions {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { j as t } from "./jsx-runtime-B7I4PJ0H.mjs";
2
+ import { j as t } from "./jsx-runtime-Bqq1Hxg9.mjs";
3
3
  import n from "react";
4
- const p = (e) => n.Children.toArray(e).map(
4
+ const a = (e) => n.Children.toArray(e).map(
5
5
  (r) => (
6
6
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
7
7
  /* @ts-ignore */
@@ -9,5 +9,5 @@ const p = (e) => n.Children.toArray(e).map(
9
9
  )
10
10
  );
11
11
  export {
12
- p as w
12
+ a as w
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "welcome-ui",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "description": "Customizable design system with react • styled-components • styled-system and ariakit.",
5
5
  "files": [
6
6
  "dist"
@@ -64,7 +64,7 @@
64
64
  "lodash.range": "^3.2.0",
65
65
  "lottie-light-react": "^2.4.0",
66
66
  "match-sorter": "^8.0.0",
67
- "react-datepicker": "^4.16.0",
67
+ "react-datepicker": "^8.4.0",
68
68
  "react-dropzone": "^14.3.5",
69
69
  "react-flatten-children": "^1.0.0",
70
70
  "react-hot-toast": "^2.4.1"
@@ -78,7 +78,7 @@
78
78
  "@types/lodash.debounce": "^4.0.6",
79
79
  "@types/lodash.range": "^3.2.9",
80
80
  "@types/ramda": "^0.30.2",
81
- "@types/react-datepicker": "^4.15.0",
81
+ "@types/react-datepicker": "^7.0.0",
82
82
  "jsdom": "^26.0.0",
83
83
  "ramda": "^0.30.1",
84
84
  "release-it": "^18.1.2",