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
package/dist/Picker.mjs CHANGED
@@ -2,11 +2,11 @@
2
2
  import e from "react";
3
3
  import u, { system as R } from "@xstyled/styled-components";
4
4
  import { shouldForwardProp as $, forwardRef as k } from "./System.mjs";
5
- import { R as y } from "./NLEBE274-C94QU78N.mjs";
5
+ import { R as y } from "./NLEBE274-QOMV1l7e.mjs";
6
6
  import { Label as E } from "./Label.mjs";
7
7
  import { FieldGroup as b } from "./FieldGroup.mjs";
8
8
  import { Box as w } from "./Box.mjs";
9
- import { u as x, R as P } from "./radio-group-CGC6DTFJ.mjs";
9
+ import { u as x, R as P } from "./radio-group-RFyDp0KD.mjs";
10
10
  const h = u(y).withConfig({ shouldForwardProp: $ })`
11
11
  position: absolute;
12
12
  top: 0;
package/dist/Popover.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import r from "react";
3
3
  import a, { th as l, css as p, system as m } from "@xstyled/styled-components";
4
- import { P as h, a as v } from "./QYJ6MIDR-BLLqyXdd.mjs";
5
- import { P, H as $, a as C, u as w, b as E } from "./BYC7LY2E-CVjUW1dr.mjs";
4
+ import { P as h, a as v } from "./QYJ6MIDR-Bb0O5xUM.mjs";
5
+ import { P, H as $, a as C, u as w, b as E } from "./BYC7LY2E-B1IDizRs.mjs";
6
6
  import { forwardRef as i } from "./System.mjs";
7
7
  import "./Icon.mjs";
8
8
  import { C as H } from "./index-C7zM96J_.mjs";
@@ -0,0 +1,97 @@
1
+ "use client";
2
+ import { u as E, b as C, P as N } from "./MTZPJQMC-CMjAwC0N.mjs";
3
+ import { c as d, _ as m, d as P, e as x, g as i, f, h, i as w, t as l, z as V, F as j, G as z, b as R, E as O } from "./LVA2YJMS-DDEmK0pp.mjs";
4
+ import { useMemo as T, useState as W } from "react";
5
+ import { u as M } from "./AXB53BZF-BOEe01VW.mjs";
6
+ var H = "div", _ = d(
7
+ function(t) {
8
+ var r = t, { store: e } = r, o = m(r, ["store"]);
9
+ const s = E();
10
+ return e = e || s, o = P(i({}, o), {
11
+ ref: x(e == null ? void 0 : e.setAnchorElement, o.ref)
12
+ }), o;
13
+ }
14
+ );
15
+ f(function(t) {
16
+ const r = _(t);
17
+ return h(H, r);
18
+ });
19
+ var g = "M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z", L = "div", v = 30, a = v / 2, B = {
20
+ top: `rotate(180 ${a} ${a})`,
21
+ right: `rotate(-90 ${a} ${a})`,
22
+ bottom: `rotate(0 ${a} ${a})`,
23
+ left: `rotate(90 ${a} ${a})`
24
+ };
25
+ function F(c) {
26
+ const [t, r] = W(), e = c.useState("contentElement");
27
+ return j(() => {
28
+ if (!e) return;
29
+ const s = z(e).getComputedStyle(e);
30
+ r(s);
31
+ }, [e]), t;
32
+ }
33
+ var G = d(
34
+ function(t) {
35
+ var r = t, { store: e, size: o = v } = r, s = m(r, ["store", "size"]);
36
+ const p = C();
37
+ e = e || p, w(
38
+ e,
39
+ process.env.NODE_ENV !== "production" && "PopoverArrow must be wrapped in a Popover component."
40
+ );
41
+ const u = e.useState(
42
+ (k) => k.currentPlacement.split("-")[0]
43
+ ), n = F(e), y = (n == null ? void 0 : n.getPropertyValue("background-color")) || "none", A = (n == null ? void 0 : n.getPropertyValue(`border-${u}-color`)) || "none", S = (n == null ? void 0 : n.getPropertyValue(`border-${u}-width`)) || "0px", $ = Number.parseInt(S) * 2 * (v / o), b = B[u], D = T(
44
+ () => /* @__PURE__ */ l.jsx("svg", { display: "block", viewBox: "0 0 30 30", children: /* @__PURE__ */ l.jsxs("g", { transform: b, children: [
45
+ /* @__PURE__ */ l.jsx("path", { fill: "none", d: g }),
46
+ /* @__PURE__ */ l.jsx("path", { stroke: "none", d: g })
47
+ ] }) }),
48
+ [b]
49
+ );
50
+ return s = P(i({
51
+ children: D,
52
+ "aria-hidden": !0
53
+ }, s), {
54
+ ref: x(e.setArrowElement, s.ref),
55
+ style: i({
56
+ // server side rendering
57
+ position: "absolute",
58
+ fontSize: o,
59
+ width: "1em",
60
+ height: "1em",
61
+ pointerEvents: "none",
62
+ fill: y,
63
+ stroke: A,
64
+ strokeWidth: $
65
+ }, s.style)
66
+ }), V(s);
67
+ }
68
+ ), X = f(function(t) {
69
+ const r = G(t);
70
+ return h(L, r);
71
+ }), I = "button", U = d(function(t) {
72
+ var r = t, { store: e } = r, o = m(r, ["store"]);
73
+ const s = E();
74
+ e = e || s, w(
75
+ e,
76
+ process.env.NODE_ENV !== "production" && "PopoverDisclosure must receive a `store` prop or be wrapped in a PopoverProvider component."
77
+ );
78
+ const p = o.onClick, u = R((n) => {
79
+ e == null || e.setAnchorElement(n.currentTarget), p == null || p(n);
80
+ });
81
+ return o = O(
82
+ o,
83
+ (n) => /* @__PURE__ */ l.jsx(N, { value: e, children: n }),
84
+ [e]
85
+ ), o = P(i({}, o), {
86
+ onClick: u
87
+ }), o = _(i({ store: e }, o)), o = M(i({ store: e }, o)), o;
88
+ }), Y = f(function(t) {
89
+ const r = U(t);
90
+ return h(I, r);
91
+ });
92
+ export {
93
+ X as P,
94
+ Y as a,
95
+ U as b,
96
+ G as u
97
+ };
package/dist/Radio.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import t from "react";
3
- import o, { css as g, th as i, system as x } from "@xstyled/styled-components";
4
- import { d as $ } from "./field-styles-DLIhqG_8.mjs";
3
+ import o, { th as i, system as g, css as x } from "@xstyled/styled-components";
4
+ import { d as $ } from "./field-styles-CfVLcVQp.mjs";
5
5
  import { shouldForwardProp as k, forwardRef as w } from "./System.mjs";
6
6
  import { Label as y } from "./Label.mjs";
7
- import { R as E } from "./NLEBE274-C94QU78N.mjs";
7
+ import { R as E } from "./NLEBE274-QOMV1l7e.mjs";
8
8
  import { Hint as R } from "./Hint.mjs";
9
- const C = o(E).withConfig({ shouldForwardProp: k })(
10
- ({ order: e = "-1", size: r, variant: a }) => g`
9
+ const v = o(E).withConfig({ shouldForwardProp: k })(
10
+ ({ order: e = "-1", size: r, variant: a }) => x`
11
11
  ${$({ size: r, variant: a })};
12
12
  ${i("radios.default")}
13
13
  position: relative;
@@ -16,7 +16,7 @@ const C = o(E).withConfig({ shouldForwardProp: k })(
16
16
  cursor: pointer;
17
17
  border-radius: 50%;
18
18
  transition: medium;
19
- ${x};
19
+ ${g};
20
20
 
21
21
  &::after {
22
22
  content: '';
@@ -46,11 +46,11 @@ const C = o(E).withConfig({ shouldForwardProp: k })(
46
46
  }
47
47
  }
48
48
  `
49
- ), L = o(y)`
49
+ ), C = o(y)`
50
50
  max-width: 100%;
51
51
  /** we need to reset margin-bottom from Label component */
52
52
  margin-bottom: 0 !important;
53
- `, v = o.divBox`
53
+ `, L = o.divBox`
54
54
  flex-shrink: 0;
55
55
  position: relative;
56
56
  align-items: center;
@@ -71,33 +71,33 @@ const C = o(E).withConfig({ shouldForwardProp: k })(
71
71
  dataTestId: e,
72
72
  disabled: r,
73
73
  disabledIcon: a,
74
- flexDirection: f,
75
- hint: l,
74
+ flexDirection: p,
75
+ hint: n,
76
76
  label: d,
77
- maxWidth: p,
77
+ maxWidth: f,
78
78
  onChange: s,
79
79
  onClick: c,
80
80
  variant: m,
81
81
  ...u
82
82
  }, b) => {
83
- const h = (n) => {
84
- n.stopPropagation(), c && c(n), s && s(n);
83
+ const h = (l) => {
84
+ l.stopPropagation(), c && c(l), s && s(l);
85
85
  };
86
86
  return /* @__PURE__ */ t.createElement(
87
- L,
87
+ C,
88
88
  {
89
89
  alignItems: "flex-start",
90
90
  checkableField: !0,
91
91
  disabled: r,
92
92
  disabledIcon: a,
93
93
  flexDirection: "column",
94
- maxWidth: p,
94
+ maxWidth: f,
95
95
  onClick: h,
96
96
  variant: m,
97
97
  withDisabledIcon: !1
98
98
  },
99
- /* @__PURE__ */ t.createElement(F, { flexDirection: f }, /* @__PURE__ */ t.createElement(v, null, /* @__PURE__ */ t.createElement(
100
- C,
99
+ /* @__PURE__ */ t.createElement(F, { flexDirection: p }, /* @__PURE__ */ t.createElement(L, null, /* @__PURE__ */ t.createElement(
100
+ v,
101
101
  {
102
102
  "data-testid": e,
103
103
  disabled: r,
@@ -106,7 +106,7 @@ const C = o(E).withConfig({ shouldForwardProp: k })(
106
106
  variant: m,
107
107
  ...u
108
108
  }
109
- )), /* @__PURE__ */ t.createElement(B, null, /* @__PURE__ */ t.createElement("div", { "data-testid": e ? `${e}-label` : void 0 }, d), l && /* @__PURE__ */ t.createElement(R, { "data-testid": e ? `${e}-hint` : void 0, mt: "0" }, l)))
109
+ )), /* @__PURE__ */ t.createElement(B, null, /* @__PURE__ */ t.createElement("div", { "data-testid": e ? `${e}-label` : void 0 }, d), n && /* @__PURE__ */ t.createElement(R, { "data-testid": e ? `${e}-hint` : void 0, mt: "0" }, n)))
110
110
  );
111
111
  }
112
112
  );
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import t from "react";
3
- import x, { css as b } from "@xstyled/styled-components";
3
+ import b, { css as n } from "@xstyled/styled-components";
4
4
  import { FieldGroup as y } from "./FieldGroup.mjs";
5
5
  import { Radio as G } from "./Radio.mjs";
6
6
  import { forwardRef as w } from "./System.mjs";
7
- import { u as E, R as V } from "./radio-group-CGC6DTFJ.mjs";
8
- const h = x.divBox(
9
- ({ flexDirection: a }) => b`
7
+ import { u as E, R as V } from "./radio-group-RFyDp0KD.mjs";
8
+ const h = b.divBox(
9
+ ({ flexDirection: a }) => n`
10
10
  display: flex;
11
11
  flex-direction: ${a};
12
12
  flex-wrap: wrap;
@@ -17,17 +17,17 @@ const h = x.divBox(
17
17
  dataTestId: a,
18
18
  flexDirection: i,
19
19
  id: m,
20
- label: s,
21
- maxWidth: o,
20
+ label: o,
21
+ maxWidth: s,
22
22
  name: u,
23
23
  onChange: r,
24
- options: f = [],
25
- renderOption: c = G,
24
+ options: c = [],
25
+ renderOption: f = G,
26
26
  required: p,
27
27
  value: v,
28
28
  ...d
29
29
  }, R) => {
30
- const l = E({ defaultValue: v }), n = l.useState("value"), $ = (e) => {
30
+ const l = E({ defaultValue: v }), $ = l.useState("value"), x = (e) => {
31
31
  d.disabled || (l.setValue(e), r == null || r(e));
32
32
  };
33
33
  return /* @__PURE__ */ t.createElement(
@@ -35,24 +35,24 @@ const h = x.divBox(
35
35
  {
36
36
  as: V,
37
37
  dataTestId: a,
38
- label: s,
38
+ label: o,
39
39
  mb: 0,
40
40
  ref: R,
41
41
  required: p,
42
42
  store: l
43
43
  },
44
- /* @__PURE__ */ t.createElement(h, { flexDirection: i }, f.map((e) => /* @__PURE__ */ t.createElement(
45
- c,
44
+ /* @__PURE__ */ t.createElement(h, { flexDirection: i }, c.map((e) => /* @__PURE__ */ t.createElement(
45
+ f,
46
46
  {
47
- checked: e.value === n,
47
+ checked: e.value === $,
48
48
  dataTestId: a ? `${a}-${e.value}` : void 0,
49
49
  hint: e.hint,
50
50
  id: `${m || u}.${e.value}`,
51
51
  key: e.value,
52
52
  label: e.label,
53
- maxWidth: o,
53
+ maxWidth: s,
54
54
  name: u,
55
- onChange: () => $(e.value),
55
+ onChange: () => x(e.value),
56
56
  value: e.value,
57
57
  ...d
58
58
  }
package/dist/RadioTab.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import s from "react";
3
- import a, { css as e, th as i } from "@xstyled/styled-components";
4
- import { d as f } from "./field-styles-DLIhqG_8.mjs";
2
+ import d from "react";
3
+ import a, { th as i, css as e } from "@xstyled/styled-components";
4
+ import { d as f } from "./field-styles-CfVLcVQp.mjs";
5
5
  import { o as u } from "./overflow-ellipsis-DGV5Kgt-.mjs";
6
6
  import { shouldForwardProp as b, forwardRef as h } from "./System.mjs";
7
- import { R as c } from "./NLEBE274-C94QU78N.mjs";
7
+ import { R as c } from "./NLEBE274-QOMV1l7e.mjs";
8
8
  import { Button as g } from "./Button.mjs";
9
9
  const y = a(c).withConfig({ shouldForwardProp: b })`
10
10
  position: absolute;
@@ -37,7 +37,7 @@ const y = a(c).withConfig({ shouldForwardProp: b })`
37
37
  }
38
38
  `;
39
39
  a.labelBox(
40
- ({ checked: o, flexDirection: t, size: r, variant: d }) => e`
40
+ ({ checked: o, flexDirection: t, size: r, variant: s }) => e`
41
41
  ${i("radioTabs.default")};
42
42
  flex: 1;
43
43
  display: flex;
@@ -52,7 +52,7 @@ a.labelBox(
52
52
  cursor: pointer;
53
53
  transition: medium;
54
54
 
55
- ${f({ size: r, variant: d })};
55
+ ${f({ size: r, variant: s })};
56
56
  ${o && e`
57
57
  ${i("radioTabs.checked")};
58
58
  z-index: 2;
@@ -72,7 +72,7 @@ a.div`
72
72
  max-width: 100%;
73
73
  `;
74
74
  const x = h(
75
- ({ checked: o, dataTestId: t, disabled: r, id: d, label: l, onChange: m, value: n }, p) => /* @__PURE__ */ s.createElement(
75
+ ({ checked: o, dataTestId: t, disabled: r, id: s, label: l, onChange: m, value: n }, p) => /* @__PURE__ */ d.createElement(
76
76
  g,
77
77
  {
78
78
  as: "label",
@@ -83,13 +83,13 @@ const x = h(
83
83
  ref: p,
84
84
  variant: o ? "primary" : "ghost"
85
85
  },
86
- /* @__PURE__ */ s.createElement(
86
+ /* @__PURE__ */ d.createElement(
87
87
  y,
88
88
  {
89
89
  checked: o,
90
90
  "data-testid": t ? `${t}-input` : void 0,
91
91
  disabled: r,
92
- id: d,
92
+ id: s,
93
93
  onChange: m,
94
94
  value: n
95
95
  }
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { u as c } from "./X5NMLKT6-uFSu0Lii.mjs";
3
- import { b as m } from "./VGCJ63VH-B39w1tBw.mjs";
4
- import { c as p, _ as f, b as x, t as r, d as D, g, f as h, h as k } from "./LVA2YJMS-qFC9J-lt.mjs";
5
- import { useMemo as _ } from "react";
6
- var b = "button", v = p(
2
+ import { u as m } from "./X5NMLKT6-CvSCix-_.mjs";
3
+ import { b as d } from "./VGCJ63VH-BMzoZtCu.mjs";
4
+ import { f as p, c as x, h as f, _ as D, b as g, t as r, d as h, g as k } from "./LVA2YJMS-DDEmK0pp.mjs";
5
+ import { useMemo as v } from "react";
6
+ var _ = "button", b = x(
7
7
  function(i) {
8
- var e = i, { store: o } = e, s = f(e, ["store"]);
9
- const l = m();
10
- o = o || l;
11
- const t = s.onClick, u = x((n) => {
12
- t == null || t(n), !n.defaultPrevented && (o == null || o.hide());
13
- }), d = _(
8
+ var o = i, { store: e } = o, s = D(o, ["store"]);
9
+ const l = d();
10
+ e = e || l;
11
+ const t = s.onClick, u = g((a) => {
12
+ t == null || t(a), !a.defaultPrevented && (e == null || e.hide());
13
+ }), c = v(
14
14
  () => /* @__PURE__ */ r.jsxs(
15
15
  "svg",
16
16
  {
@@ -32,16 +32,16 @@ var b = "button", v = p(
32
32
  ),
33
33
  []
34
34
  );
35
- return s = D(g({
35
+ return s = h(k({
36
36
  "data-dialog-dismiss": "",
37
- children: d
37
+ children: c
38
38
  }, s), {
39
39
  onClick: u
40
- }), s = c(s), s;
40
+ }), s = m(s), s;
41
41
  }
42
- ), w = h(function(i) {
43
- const e = v(i);
44
- return k(b, e);
42
+ ), w = p(function(i) {
43
+ const o = b(i);
44
+ return f(_, o);
45
45
  });
46
46
  export {
47
47
  w as D
package/dist/Search.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import t, { useState as de, useCallback as me, useMemo as pe, Fragment as fe } from "react";
3
- import { D as W } from "./downshift.esm-CEHW4VDy.mjs";
3
+ import { D as W } from "./downshift.esm-D0ns_SQs.mjs";
4
4
  import { c as ue } from "./create-event-rXDe5aCQ.mjs";
5
- import { d as he, F as ge } from "./field-styles-DLIhqG_8.mjs";
5
+ import { d as he, F as ge } from "./field-styles-CfVLcVQp.mjs";
6
6
  import { t as Ee } from "./throttle-BDBzFeFj.mjs";
7
7
  import a, { css as F, th as o } from "@xstyled/styled-components";
8
8
  import { o as V } from "./overflow-ellipsis-DGV5Kgt-.mjs";