@okam/stack-ui 2.0.3 → 2.1.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 (128) hide show
  1. package/components/fields/SearchField/interface.d.ts +9 -2
  2. package/components/fields/TextArea/attributes.d.ts +1 -0
  3. package/components/fields/TextInputField/attributes.d.ts +1 -0
  4. package/index.d.ts +1 -0
  5. package/index119.js +1 -1
  6. package/index119.mjs +1 -1
  7. package/index122.js +1 -1
  8. package/index122.mjs +22 -22
  9. package/index131.js +1 -1
  10. package/index131.mjs +1 -1
  11. package/index133.js +1 -1
  12. package/index133.mjs +11 -14
  13. package/index134.js +1 -1
  14. package/index134.mjs +12 -7
  15. package/index135.js +1 -1
  16. package/index135.mjs +14 -7
  17. package/index136.js +1 -1
  18. package/index136.mjs +6 -15
  19. package/index137.js +1 -1
  20. package/index137.mjs +7 -31
  21. package/index138.js +1 -2
  22. package/index138.mjs +15 -8
  23. package/index139.js +1 -2
  24. package/index139.mjs +30 -9
  25. package/index140.js +2 -1
  26. package/index140.mjs +8 -23
  27. package/index141.js +1 -1
  28. package/index141.mjs +8 -45
  29. package/index142.js +1 -1
  30. package/index142.mjs +24 -52
  31. package/index143.js +2 -6
  32. package/index143.mjs +45 -92
  33. package/index144.js +1 -1
  34. package/index144.mjs +52 -70
  35. package/index145.js +6 -1
  36. package/index145.mjs +82 -29
  37. package/index146.js +1 -51
  38. package/index146.mjs +65 -86
  39. package/index147.js +1 -64
  40. package/index147.mjs +33 -220
  41. package/index148.js +51 -10
  42. package/index148.mjs +85 -65
  43. package/index149.js +64 -1
  44. package/index149.mjs +214 -31
  45. package/index150.js +10 -1
  46. package/index150.mjs +68 -10
  47. package/index151.js +1 -7
  48. package/index151.mjs +42 -47
  49. package/index152.js +1 -5
  50. package/index152.mjs +10 -85
  51. package/index153.js +7 -1
  52. package/index153.mjs +50 -6
  53. package/index154.js +4 -11
  54. package/index154.mjs +78 -30
  55. package/index155.js +1 -1
  56. package/index155.mjs +6 -96
  57. package/index156.js +12 -1
  58. package/index156.mjs +39 -12
  59. package/index157.js +1 -1
  60. package/index157.mjs +96 -8
  61. package/index158.js +1 -1
  62. package/index158.mjs +13 -29
  63. package/index159.js +1 -1
  64. package/index159.mjs +7 -12
  65. package/index160.js +1 -7
  66. package/index160.mjs +23 -13
  67. package/index161.js +1 -15
  68. package/index161.mjs +9 -67
  69. package/index162.js +7 -1
  70. package/index162.mjs +22 -6
  71. package/index163.js +15 -9
  72. package/index163.mjs +68 -12
  73. package/index164.js +1 -41
  74. package/index164.mjs +7 -106
  75. package/index165.js +9 -47
  76. package/index165.mjs +13 -100
  77. package/index166.js +40 -15
  78. package/index166.mjs +100 -19
  79. package/index167.js +45 -18
  80. package/index167.mjs +85 -59
  81. package/index168.js +16 -1
  82. package/index168.mjs +20 -37
  83. package/index169.js +20 -1
  84. package/index169.mjs +76 -12
  85. package/index170.js +1 -1
  86. package/index170.mjs +41 -10
  87. package/index171.js +1 -1
  88. package/index171.mjs +11 -6
  89. package/index172.js +1 -2
  90. package/index172.mjs +6 -47
  91. package/index173.js +2 -0
  92. package/index173.mjs +50 -0
  93. package/index174.js +1 -0
  94. package/index174.mjs +13 -0
  95. package/index2.js +1 -1
  96. package/index2.mjs +4 -4
  97. package/index38.js +1 -1
  98. package/index38.mjs +19 -19
  99. package/index39.js +1 -1
  100. package/index39.mjs +11 -11
  101. package/index43.js +1 -1
  102. package/index43.mjs +55 -52
  103. package/index46.js +1 -1
  104. package/index46.mjs +86 -87
  105. package/index47.js +1 -1
  106. package/index47.mjs +110 -111
  107. package/index48.js +1 -1
  108. package/index48.mjs +3 -3
  109. package/index52.js +1 -1
  110. package/index52.mjs +1 -1
  111. package/index53.js +1 -1
  112. package/index53.mjs +1 -1
  113. package/index54.js +1 -1
  114. package/index54.mjs +3 -3
  115. package/index66.js +1 -1
  116. package/index66.mjs +1 -1
  117. package/index68.js +1 -1
  118. package/index68.mjs +11 -11
  119. package/index72.js +1 -1
  120. package/index72.mjs +13 -13
  121. package/index76.js +1 -1
  122. package/index76.mjs +1 -1
  123. package/index8.js +1 -1
  124. package/index8.mjs +30 -30
  125. package/index91.js +1 -1
  126. package/index91.mjs +50 -49
  127. package/package.json +1 -1
  128. package/theme/Search/index.d.ts +2 -1
package/index47.mjs CHANGED
@@ -1,192 +1,191 @@
1
1
  "use client";
2
- import { jsx as l, jsxs as $ } from "react/jsx-runtime";
3
- import { isEmpty as P } from "radashi";
2
+ import { jsx as n, jsxs as $ } from "react/jsx-runtime";
3
+ import { filterDOMProps as P } from "@react-aria/utils";
4
+ import { isEmpty as w } from "radashi";
4
5
  import { useRef as B } from "react";
5
- import { useTextField as H, FocusRing as _ } from "react-aria";
6
- import { useFormContext as w, Controller as A } from "react-hook-form";
7
- import G from "./index88.mjs";
8
- import { useTranslation as L } from "./index89.mjs";
6
+ import { useTextField as H, FocusRing as j } from "react-aria";
7
+ import { useFormContext as A, Controller as G } from "react-hook-form";
8
+ import L from "./index88.mjs";
9
+ import { useTranslation as _ } from "./index89.mjs";
9
10
  import { Box as q } from "./index7.mjs";
10
11
  import C from "./index48.mjs";
11
12
  import { Typography as Q } from "./index74.mjs";
12
- function U(m) {
13
+ import { textInputAttributes as U } from "./index134.mjs";
14
+ function X(c) {
13
15
  const {
14
16
  icon: p,
15
- errorIcon: r,
16
- label: u,
17
+ errorIcon: e,
18
+ label: a,
17
19
  isRequired: R = !1,
18
- isDisabled: h = !1,
20
+ isDisabled: f = !1,
19
21
  isInvalid: I = !1,
20
22
  required: k,
21
- disabled: E,
22
- errorMessage: s,
23
- fieldRef: d,
24
- children: F,
25
- themeName: i = "textInput",
26
- tokens: N,
23
+ disabled: N,
24
+ errorMessage: r,
25
+ fieldRef: u,
26
+ children: M,
27
+ themeName: s = "textInput",
28
+ tokens: x,
27
29
  customTheme: o,
28
- ariaLabel: M,
30
+ ariaLabel: E,
29
31
  placeholder: T,
30
32
  isReadOnly: v = !1,
31
- ...x
32
- } = m, f = B(null), c = k ?? R, O = E ?? h, { labelProps: y, inputProps: e, errorMessageProps: t } = H(
33
+ ...F
34
+ } = c, h = B(null), d = k ?? R, D = N ?? f, { labelProps: t, inputProps: l, errorMessageProps: O } = H(
33
35
  {
34
- label: u,
35
- errorMessage: s,
36
- isRequired: c,
37
- isDisabled: O,
36
+ label: a,
37
+ errorMessage: r,
38
+ isRequired: d,
39
+ isDisabled: D,
38
40
  isInvalid: I,
39
41
  isReadOnly: v,
40
- ...x
42
+ ...F
41
43
  },
42
- f
43
- ), b = (a) => {
44
- a != null && (d?.(a), f.current = a);
45
- }, n = { ...N, isDisabled: h, isRequired: R, isError: s != null }, D = G(`${i}.input`, n);
44
+ h
45
+ ), y = (m) => {
46
+ m != null && (u?.(m), h.current = m);
47
+ }, i = { ...x, isDisabled: f, isRequired: R, isError: r != null }, b = L(`${s}.input`, i);
46
48
  return /* @__PURE__ */ $(q, { children: [
47
- /* @__PURE__ */ l(_, { focusRingClass: "has-focus-ring", within: !0, children: /* @__PURE__ */ $(
49
+ /* @__PURE__ */ n(j, { focusRingClass: "has-focus-ring", within: !0, children: /* @__PURE__ */ $(
48
50
  q,
49
51
  {
50
- "aria-disabled": e.disabled,
51
- themeName: `${i}.wrapper`,
52
- tokens: n,
52
+ "aria-disabled": l.disabled,
53
+ themeName: `${s}.wrapper`,
54
+ tokens: i,
53
55
  customTheme: o,
54
56
  children: [
55
- u != null && /* @__PURE__ */ l(
57
+ a != null && /* @__PURE__ */ n(
56
58
  q,
57
59
  {
58
60
  as: "label",
59
- tokens: n,
60
- themeName: `${i}.label`,
61
+ tokens: i,
62
+ themeName: `${s}.label`,
61
63
  customTheme: o,
62
- ...y,
63
- children: u
64
+ ...t,
65
+ children: a
64
66
  }
65
67
  ),
66
- /* @__PURE__ */ $(q, { themeName: `${i}.container`, tokens: n, customTheme: o, children: [
67
- F,
68
- /* @__PURE__ */ l("input", { "aria-label": M, ...e, placeholder: T, ref: b, className: D })
68
+ /* @__PURE__ */ $(q, { themeName: `${s}.container`, tokens: i, customTheme: o, children: [
69
+ M,
70
+ /* @__PURE__ */ n("input", { "aria-label": E, ...l, placeholder: T, ref: y, className: b })
69
71
  ] }),
70
- p != null && /* @__PURE__ */ l(
72
+ p != null && /* @__PURE__ */ n(
71
73
  C,
72
74
  {
73
- themeName: `${i}.icon`,
74
- tokens: n,
75
+ themeName: `${s}.icon`,
76
+ tokens: i,
75
77
  customTheme: o,
76
78
  icon: p,
77
79
  "aria-hidden": !0
78
80
  }
79
81
  ),
80
- s != null && r != null && /* @__PURE__ */ l(
82
+ r != null && e != null && /* @__PURE__ */ n(
81
83
  C,
82
84
  {
83
- themeName: `${i}.errorIcon`,
84
- tokens: n,
85
+ themeName: `${s}.errorIcon`,
86
+ tokens: i,
85
87
  customTheme: o,
86
- icon: r,
88
+ icon: e,
87
89
  "aria-hidden": !0
88
90
  }
89
91
  )
90
92
  ]
91
93
  }
92
94
  ) }),
93
- s != null && /* @__PURE__ */ l(
95
+ r != null && /* @__PURE__ */ n(
94
96
  Q,
95
97
  {
96
- themeName: `${i}.errorMessage`,
97
- tokens: n,
98
+ themeName: `${s}.errorMessage`,
99
+ tokens: i,
98
100
  customTheme: o,
99
- ...t,
100
- children: s
101
+ ...O,
102
+ children: r
101
103
  }
102
104
  )
103
105
  ] });
104
106
  }
105
- function re({
106
- name: m,
107
+ function oe({
108
+ name: c,
107
109
  label: p,
108
- rules: r,
109
- tokens: u,
110
+ rules: e,
111
+ tokens: a,
110
112
  ariaLabel: R,
111
- defaultValue: h = "",
113
+ defaultValue: f = "",
112
114
  placeholder: I = "",
113
115
  themeName: k = "textInput",
114
- isReadOnly: E = !1,
115
- minLength: s,
116
- maxLength: d,
117
- required: F,
118
- isRequired: i,
119
- onChange: N,
116
+ isReadOnly: N = !1,
117
+ minLength: r,
118
+ maxLength: u,
119
+ required: M,
120
+ isRequired: s,
121
+ onChange: x,
120
122
  onBlur: o,
121
- children: M = null,
123
+ children: E = null,
122
124
  errorIcon: T,
123
125
  icon: v,
124
- ...x
126
+ ...F
125
127
  }) {
126
- const { control: f } = w(), { t: c } = L(), O = () => {
127
- const e = Object.entries(x).filter(([t, b]) => t.startsWith("aria-"));
128
- return Object.fromEntries(e);
129
- }, y = {
130
- required: F ?? i ? c("FORM.ERROR.REQUIRED") ?? "required" : !1,
131
- ...s != null && {
128
+ const { control: h } = A(), { t: d } = _(), D = {
129
+ required: M ?? s ? d("FORM.ERROR.REQUIRED") ?? "required" : !1,
130
+ ...r != null && {
132
131
  minLength: {
133
- value: s,
134
- message: c("FORM.ERROR.MIN_LENGTH", { length: s })
132
+ value: r,
133
+ message: d("FORM.ERROR.MIN_LENGTH", { length: r })
135
134
  }
136
135
  },
137
- ...d != null && {
136
+ ...u != null && {
138
137
  maxLength: {
139
- value: d,
140
- message: c("FORM.ERROR.MAX_LENGTH", { length: d })
138
+ value: u,
139
+ message: d("FORM.ERROR.MAX_LENGTH", { length: u })
141
140
  }
142
141
  },
143
- ...r
142
+ ...e
144
143
  };
145
- return /* @__PURE__ */ l(
146
- A,
144
+ return /* @__PURE__ */ n(
145
+ G,
147
146
  {
148
- name: m,
149
- control: f,
150
- rules: y,
151
- disabled: r?.disabled,
152
- defaultValue: h,
153
- render: ({ field: e, fieldState: t }) => {
154
- const { ref: b, ...n } = e, D = !P(t.error), a = {
155
- isDisabled: e.disabled ?? !1,
156
- isRequired: r?.required === !0 || r?.required === "required",
157
- isInvalid: t.invalid,
158
- isError: D,
159
- isReadOnly: E
160
- }, j = {
161
- ...u,
162
- ...a
147
+ name: c,
148
+ control: h,
149
+ rules: D,
150
+ disabled: e?.disabled,
151
+ defaultValue: f,
152
+ render: ({ field: t, fieldState: l }) => {
153
+ const { ref: O, ...y } = t, i = !w(l.error), b = {
154
+ isDisabled: t.disabled ?? !1,
155
+ isRequired: e?.required === !0 || e?.required === "required",
156
+ isInvalid: l.invalid,
157
+ isError: i,
158
+ isReadOnly: N
159
+ }, m = {
160
+ ...a,
161
+ ...b
163
162
  };
164
- return /* @__PURE__ */ l(
165
- U,
163
+ return /* @__PURE__ */ n(
164
+ X,
166
165
  {
167
- ...n,
168
- ...a,
169
- ...O(),
170
- fieldRef: b,
171
- name: m,
166
+ ...y,
167
+ ...b,
168
+ ...P(F, { events: !0, labelable: !0, isLink: !1, global: !0, propNames: /* @__PURE__ */ new Set([...U]) }),
169
+ fieldRef: O,
170
+ name: c,
172
171
  placeholder: I,
173
172
  themeName: k,
174
173
  label: p,
175
- tokens: j,
174
+ tokens: m,
176
175
  ariaLabel: R,
177
- isDisabled: e.disabled,
178
- isRequired: r?.required === !0 || r?.required === "required",
179
- isInvalid: t.invalid,
180
- errorMessage: t.error?.message,
176
+ isDisabled: t.disabled,
177
+ isRequired: e?.required === !0 || e?.required === "required",
178
+ isInvalid: l.invalid,
179
+ errorMessage: l.error?.message,
181
180
  onChange: (g) => {
182
- e.onChange(g), N?.(g);
181
+ t.onChange(g), x?.(g);
183
182
  },
184
183
  onBlur: (g) => {
185
- e.onBlur(), o?.(g);
184
+ t.onBlur(), o?.(g);
186
185
  },
187
186
  icon: v,
188
187
  errorIcon: T,
189
- children: M
188
+ children: E
190
189
  }
191
190
  );
192
191
  }
@@ -194,6 +193,6 @@ function re({
194
193
  );
195
194
  }
196
195
  export {
197
- re as ReactHookFormInput,
198
- U as TextInputField
196
+ oe as ReactHookFormInput,
197
+ X as TextInputField
199
198
  };
package/index48.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const v=require("./index135.js"),n=require("react/jsx-runtime"),c=require("react"),x=require("./index88.js"),q=require("./index134.js"),e=r=>Object.freeze(Object.defineProperty({__proto__:null,default:r},Symbol.toStringTag,{value:"Module"})),m=new Map;function P(r){const s=m.get(r);if(s!=null)return s;const o=c.lazy(async()=>v(Object.assign({"../icons/ArrowDown.tsx":()=>Promise.resolve().then(()=>e(require("./index93.js"))),"../icons/ArrowLeft.tsx":()=>Promise.resolve().then(()=>e(require("./index94.js"))),"../icons/ArrowRight.tsx":()=>Promise.resolve().then(()=>e(require("./index95.js"))),"../icons/Check.tsx":()=>Promise.resolve().then(()=>e(require("./index96.js"))),"../icons/ChevronLeft.tsx":()=>Promise.resolve().then(()=>e(require("./index97.js"))),"../icons/ChevronRight.tsx":()=>Promise.resolve().then(()=>e(require("./index98.js"))),"../icons/CloseBtn.tsx":()=>Promise.resolve().then(()=>e(require("./index99.js"))),"../icons/ErrorIcon.tsx":()=>Promise.resolve().then(()=>e(require("./index133.js"))),"../icons/Facebook.tsx":()=>Promise.resolve().then(()=>e(require("./index100.js"))),"../icons/FacebookColored.tsx":()=>Promise.resolve().then(()=>e(require("./index101.js"))),"../icons/FacebookRounded.tsx":()=>Promise.resolve().then(()=>e(require("./index102.js"))),"../icons/Globe.tsx":()=>Promise.resolve().then(()=>e(require("./index103.js"))),"../icons/IconFallback.tsx":()=>Promise.resolve().then(()=>e(require("./index134.js"))),"../icons/Instagram.tsx":()=>Promise.resolve().then(()=>e(require("./index104.js"))),"../icons/InstagramColored.tsx":()=>Promise.resolve().then(()=>e(require("./index105.js"))),"../icons/Link.tsx":()=>Promise.resolve().then(()=>e(require("./index106.js"))),"../icons/LinkedIn.tsx":()=>Promise.resolve().then(()=>e(require("./index107.js"))),"../icons/Mail.tsx":()=>Promise.resolve().then(()=>e(require("./index108.js"))),"../icons/Plus.tsx":()=>Promise.resolve().then(()=>e(require("./index109.js"))),"../icons/Print.tsx":()=>Promise.resolve().then(()=>e(require("./index110.js"))),"../icons/Search.tsx":()=>Promise.resolve().then(()=>e(require("./index130.js"))),"../icons/Share.tsx":()=>Promise.resolve().then(()=>e(require("./index111.js"))),"../icons/Twitter.tsx":()=>Promise.resolve().then(()=>e(require("./index112.js"))),"../icons/TwitterColored.tsx":()=>Promise.resolve().then(()=>e(require("./index113.js"))),"../icons/Upload.tsx":()=>Promise.resolve().then(()=>e(require("./index114.js"))),"../icons/X.tsx":()=>Promise.resolve().then(()=>e(require("./index115.js"))),"../icons/YouTube.tsx":()=>Promise.resolve().then(()=>e(require("./index116.js"))),"../icons/YouTubeColored.tsx":()=>Promise.resolve().then(()=>e(require("./index117.js")))}),`../icons/${r}.tsx`,3));return m.set(r,o),o}function d(r){const{icon:s,...o}=r,t=s||"ArrowRight",i=c.useMemo(()=>P(t),[t]);return n.jsx(c.Suspense,{fallback:n.jsx(q,{className:"overflow-visible pointer-events-none"}),children:n.jsx(i,{...o,className:"overflow-visible pointer-events-none",...r})})}function p(r){const{icon:s,as:o="span",tokens:t,customTheme:i,themeName:a="icon",children:l,...u}=r,h=x(a,t,i);return typeof s!="string"?n.jsxs(o,{...u,className:h,children:[l,s]}):n.jsxs(o,{className:h,children:[l,n.jsx(d,{icon:s,...u})]})}module.exports=p;
2
+ "use strict";const v=require("./index137.js"),n=require("react/jsx-runtime"),c=require("react"),x=require("./index88.js"),q=require("./index136.js"),e=r=>Object.freeze(Object.defineProperty({__proto__:null,default:r},Symbol.toStringTag,{value:"Module"})),m=new Map;function P(r){const s=m.get(r);if(s!=null)return s;const o=c.lazy(async()=>v(Object.assign({"../icons/ArrowDown.tsx":()=>Promise.resolve().then(()=>e(require("./index93.js"))),"../icons/ArrowLeft.tsx":()=>Promise.resolve().then(()=>e(require("./index94.js"))),"../icons/ArrowRight.tsx":()=>Promise.resolve().then(()=>e(require("./index95.js"))),"../icons/Check.tsx":()=>Promise.resolve().then(()=>e(require("./index96.js"))),"../icons/ChevronLeft.tsx":()=>Promise.resolve().then(()=>e(require("./index97.js"))),"../icons/ChevronRight.tsx":()=>Promise.resolve().then(()=>e(require("./index98.js"))),"../icons/CloseBtn.tsx":()=>Promise.resolve().then(()=>e(require("./index99.js"))),"../icons/ErrorIcon.tsx":()=>Promise.resolve().then(()=>e(require("./index135.js"))),"../icons/Facebook.tsx":()=>Promise.resolve().then(()=>e(require("./index100.js"))),"../icons/FacebookColored.tsx":()=>Promise.resolve().then(()=>e(require("./index101.js"))),"../icons/FacebookRounded.tsx":()=>Promise.resolve().then(()=>e(require("./index102.js"))),"../icons/Globe.tsx":()=>Promise.resolve().then(()=>e(require("./index103.js"))),"../icons/IconFallback.tsx":()=>Promise.resolve().then(()=>e(require("./index136.js"))),"../icons/Instagram.tsx":()=>Promise.resolve().then(()=>e(require("./index104.js"))),"../icons/InstagramColored.tsx":()=>Promise.resolve().then(()=>e(require("./index105.js"))),"../icons/Link.tsx":()=>Promise.resolve().then(()=>e(require("./index106.js"))),"../icons/LinkedIn.tsx":()=>Promise.resolve().then(()=>e(require("./index107.js"))),"../icons/Mail.tsx":()=>Promise.resolve().then(()=>e(require("./index108.js"))),"../icons/Plus.tsx":()=>Promise.resolve().then(()=>e(require("./index109.js"))),"../icons/Print.tsx":()=>Promise.resolve().then(()=>e(require("./index110.js"))),"../icons/Search.tsx":()=>Promise.resolve().then(()=>e(require("./index130.js"))),"../icons/Share.tsx":()=>Promise.resolve().then(()=>e(require("./index111.js"))),"../icons/Twitter.tsx":()=>Promise.resolve().then(()=>e(require("./index112.js"))),"../icons/TwitterColored.tsx":()=>Promise.resolve().then(()=>e(require("./index113.js"))),"../icons/Upload.tsx":()=>Promise.resolve().then(()=>e(require("./index114.js"))),"../icons/X.tsx":()=>Promise.resolve().then(()=>e(require("./index115.js"))),"../icons/YouTube.tsx":()=>Promise.resolve().then(()=>e(require("./index116.js"))),"../icons/YouTubeColored.tsx":()=>Promise.resolve().then(()=>e(require("./index117.js")))}),`../icons/${r}.tsx`,3));return m.set(r,o),o}function d(r){const{icon:s,...o}=r,t=s||"ArrowRight",i=c.useMemo(()=>P(t),[t]);return n.jsx(c.Suspense,{fallback:n.jsx(q,{className:"overflow-visible pointer-events-none"}),children:n.jsx(i,{...o,className:"overflow-visible pointer-events-none",...r})})}function p(r){const{icon:s,as:o="span",tokens:t,customTheme:i,themeName:a="icon",children:l,...u}=r,h=x(a,t,i);return typeof s!="string"?n.jsxs(o,{...u,className:h,children:[l,s]}):n.jsxs(o,{className:h,children:[l,n.jsx(d,{icon:s,...u})]})}module.exports=p;
package/index48.mjs CHANGED
@@ -1,15 +1,15 @@
1
1
  "use client";
2
- import x from "./index135.mjs";
2
+ import x from "./index137.mjs";
3
3
  import { jsxs as p, jsx as i } from "react/jsx-runtime";
4
4
  import { useMemo as u, Suspense as h, lazy as f } from "react";
5
5
  import d from "./index88.mjs";
6
- import b from "./index134.mjs";
6
+ import b from "./index136.mjs";
7
7
  const a = /* @__PURE__ */ new Map();
8
8
  function C(o) {
9
9
  const t = a.get(o);
10
10
  if (t != null)
11
11
  return t;
12
- const s = f(async () => x(/* @__PURE__ */ Object.assign({ "../icons/ArrowDown.tsx": () => import("./index93.mjs"), "../icons/ArrowLeft.tsx": () => import("./index94.mjs"), "../icons/ArrowRight.tsx": () => import("./index95.mjs"), "../icons/Check.tsx": () => import("./index96.mjs"), "../icons/ChevronLeft.tsx": () => import("./index97.mjs"), "../icons/ChevronRight.tsx": () => import("./index98.mjs"), "../icons/CloseBtn.tsx": () => import("./index99.mjs"), "../icons/ErrorIcon.tsx": () => import("./index133.mjs"), "../icons/Facebook.tsx": () => import("./index100.mjs"), "../icons/FacebookColored.tsx": () => import("./index101.mjs"), "../icons/FacebookRounded.tsx": () => import("./index102.mjs"), "../icons/Globe.tsx": () => import("./index103.mjs"), "../icons/IconFallback.tsx": () => import("./index134.mjs"), "../icons/Instagram.tsx": () => import("./index104.mjs"), "../icons/InstagramColored.tsx": () => import("./index105.mjs"), "../icons/Link.tsx": () => import("./index106.mjs"), "../icons/LinkedIn.tsx": () => import("./index107.mjs"), "../icons/Mail.tsx": () => import("./index108.mjs"), "../icons/Plus.tsx": () => import("./index109.mjs"), "../icons/Print.tsx": () => import("./index110.mjs"), "../icons/Search.tsx": () => import("./index130.mjs"), "../icons/Share.tsx": () => import("./index111.mjs"), "../icons/Twitter.tsx": () => import("./index112.mjs"), "../icons/TwitterColored.tsx": () => import("./index113.mjs"), "../icons/Upload.tsx": () => import("./index114.mjs"), "../icons/X.tsx": () => import("./index115.mjs"), "../icons/YouTube.tsx": () => import("./index116.mjs"), "../icons/YouTubeColored.tsx": () => import("./index117.mjs") }), `../icons/${o}.tsx`, 3));
12
+ const s = f(async () => x(/* @__PURE__ */ Object.assign({ "../icons/ArrowDown.tsx": () => import("./index93.mjs"), "../icons/ArrowLeft.tsx": () => import("./index94.mjs"), "../icons/ArrowRight.tsx": () => import("./index95.mjs"), "../icons/Check.tsx": () => import("./index96.mjs"), "../icons/ChevronLeft.tsx": () => import("./index97.mjs"), "../icons/ChevronRight.tsx": () => import("./index98.mjs"), "../icons/CloseBtn.tsx": () => import("./index99.mjs"), "../icons/ErrorIcon.tsx": () => import("./index135.mjs"), "../icons/Facebook.tsx": () => import("./index100.mjs"), "../icons/FacebookColored.tsx": () => import("./index101.mjs"), "../icons/FacebookRounded.tsx": () => import("./index102.mjs"), "../icons/Globe.tsx": () => import("./index103.mjs"), "../icons/IconFallback.tsx": () => import("./index136.mjs"), "../icons/Instagram.tsx": () => import("./index104.mjs"), "../icons/InstagramColored.tsx": () => import("./index105.mjs"), "../icons/Link.tsx": () => import("./index106.mjs"), "../icons/LinkedIn.tsx": () => import("./index107.mjs"), "../icons/Mail.tsx": () => import("./index108.mjs"), "../icons/Plus.tsx": () => import("./index109.mjs"), "../icons/Print.tsx": () => import("./index110.mjs"), "../icons/Search.tsx": () => import("./index130.mjs"), "../icons/Share.tsx": () => import("./index111.mjs"), "../icons/Twitter.tsx": () => import("./index112.mjs"), "../icons/TwitterColored.tsx": () => import("./index113.mjs"), "../icons/Upload.tsx": () => import("./index114.mjs"), "../icons/X.tsx": () => import("./index115.mjs"), "../icons/YouTube.tsx": () => import("./index116.mjs"), "../icons/YouTubeColored.tsx": () => import("./index117.mjs") }), `../icons/${o}.tsx`, 3));
13
13
  return a.set(o, s), s;
14
14
  }
15
15
  function I(o) {
package/index52.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const t=require("react/jsx-runtime"),h=require("./index84.js"),x=require("./index86.js"),d=require("./index120.js"),r=require("./index7.js"),p=require("./index136.js");function q(s){const{id:o="main-menu",children:c,PanelTransition:u=d,themeName:e,tokens:n,customTheme:a,...m}=s,{overlayState:l}=x.useSidePanel(),{closeBtn:i}=h.useMenu();return t.jsx(u,{themeName:`${e}.panelTransition`,tokens:n,isVisible:l?.isOpen,children:t.jsxs(r.Box,{themeName:`${e}.wrapper`,tokens:n,children:[i!=null&&i(),t.jsx(r.Box,{themeName:`${e}.container`,tokens:n,children:t.jsx(p,{id:o,themeName:`${e}.innerContent`,tokens:n,customTheme:a,...m,children:c})})]})})}module.exports=q;
2
+ "use strict";const t=require("react/jsx-runtime"),h=require("./index84.js"),x=require("./index86.js"),d=require("./index120.js"),r=require("./index7.js"),p=require("./index138.js");function q(s){const{id:o="main-menu",children:c,PanelTransition:u=d,themeName:e,tokens:n,customTheme:a,...m}=s,{overlayState:l}=x.useSidePanel(),{closeBtn:i}=h.useMenu();return t.jsx(u,{themeName:`${e}.panelTransition`,tokens:n,isVisible:l?.isOpen,children:t.jsxs(r.Box,{themeName:`${e}.wrapper`,tokens:n,children:[i!=null&&i(),t.jsx(r.Box,{themeName:`${e}.container`,tokens:n,children:t.jsx(p,{id:o,themeName:`${e}.innerContent`,tokens:n,customTheme:a,...m,children:c})})]})})}module.exports=q;
package/index52.mjs CHANGED
@@ -4,7 +4,7 @@ import { useMenu as u } from "./index84.mjs";
4
4
  import { useSidePanel as d } from "./index86.mjs";
5
5
  import f from "./index120.mjs";
6
6
  import { Box as o } from "./index7.mjs";
7
- import N from "./index136.mjs";
7
+ import N from "./index138.mjs";
8
8
  function C(i) {
9
9
  const {
10
10
  id: m = "main-menu",
package/index53.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const o=require("react/jsx-runtime"),e=require("react"),q=require("./index84.js"),C=require("./index66.js"),b=require("./index136.js");function j(l){const{id:n="main-menu",children:d,TransitionAnimation:m,PanelTransition:f,themeName:t,tokens:r,customTheme:s,...h}=l,{closeBtn:x,tabState:c,defaultSelectedKey:i}=q.useMenu(),u=e.useRef(c),a=e.useRef(i);u.current=c,a.current=i;const R=e.useCallback(S=>{S||u.current?.setSelectedKey(a.current)},[]);return o.jsx(C,{themeName:`${t}.sidePanel`,tokens:r,customTheme:s,closeBtnRender:x,id:n,TransitionAnimation:m,PanelTransition:f,onOpenChange:R,children:o.jsx(b,{id:n,themeName:t,tokens:r,customTheme:s,...h,children:d})})}module.exports=j;
2
+ "use strict";const o=require("react/jsx-runtime"),e=require("react"),q=require("./index84.js"),C=require("./index66.js"),b=require("./index138.js");function j(l){const{id:n="main-menu",children:d,TransitionAnimation:m,PanelTransition:f,themeName:t,tokens:r,customTheme:s,...h}=l,{closeBtn:x,tabState:c,defaultSelectedKey:i}=q.useMenu(),u=e.useRef(c),a=e.useRef(i);u.current=c,a.current=i;const R=e.useCallback(S=>{S||u.current?.setSelectedKey(a.current)},[]);return o.jsx(C,{themeName:`${t}.sidePanel`,tokens:r,customTheme:s,closeBtnRender:x,id:n,TransitionAnimation:m,PanelTransition:f,onOpenChange:R,children:o.jsx(b,{id:n,themeName:t,tokens:r,customTheme:s,...h,children:d})})}module.exports=j;
package/index53.mjs CHANGED
@@ -3,7 +3,7 @@ import { jsx as m } from "react/jsx-runtime";
3
3
  import { useRef as s, useCallback as P } from "react";
4
4
  import { useMenu as R } from "./index84.mjs";
5
5
  import b from "./index66.mjs";
6
- import y from "./index136.mjs";
6
+ import y from "./index138.mjs";
7
7
  function B(l) {
8
8
  const {
9
9
  id: e = "main-menu",
package/index54.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const e=require("react/jsx-runtime"),d=require("react-aria"),u=require("./index137.js"),m=require("./index138.js"),h=require("./index139.js");function x(i){const{children:a,transitionComponent:c=u,state:o,themeName:n,tokens:l,...s}=i,{isOpen:r}=o,t={isOpen:r,...l};return e.jsx(d.OverlayContainer,{children:e.jsx(c,{themeName:`${n}.transition`,tokens:t,isVisible:r,children:e.jsx(h,{themeName:n,tokens:t,state:o,...s,children:e.jsx(m,{themeName:n,tokens:t,...s,children:a})})})})}module.exports=x;
2
+ "use strict";const e=require("react/jsx-runtime"),d=require("react-aria"),u=require("./index139.js"),m=require("./index140.js"),h=require("./index141.js");function x(i){const{children:a,transitionComponent:c=u,state:o,themeName:n,tokens:l,...s}=i,{isOpen:r}=o,t={isOpen:r,...l};return e.jsx(d.OverlayContainer,{children:e.jsx(c,{themeName:`${n}.transition`,tokens:t,isVisible:r,children:e.jsx(h,{themeName:n,tokens:t,state:o,...s,children:e.jsx(m,{themeName:n,tokens:t,...s,children:a})})})})}module.exports=x;
package/index54.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx as o } from "react/jsx-runtime";
3
3
  import { OverlayContainer as d } from "react-aria";
4
- import p from "./index137.mjs";
5
- import c from "./index138.mjs";
6
- import f from "./index139.mjs";
4
+ import p from "./index139.mjs";
5
+ import c from "./index140.mjs";
6
+ import f from "./index141.mjs";
7
7
  function O(s) {
8
8
  const {
9
9
  children: a,
package/index66.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const i=require("react/jsx-runtime"),$=require("react"),f=require("react-div-100vh"),B=require("./index86.js"),N=require("./index92.js"),S=require("./index140.js"),t=require("./index7.js"),T=require("./index54.js");function b(c){const{children:d,closeBtnRender:o,themeName:e="sidePanel",tokens:u,TransitionAnimation:m=N,PanelTransition:h=S,onOpenChange:r,customTheme:x,isDismissable:k=!0,shouldCloseOnInteractOutside:q,isKeyboardDismissDisabled:p=!1,onCloseCallBack:a,title:P,...j}=c,{overlayState:l,overlayProps:C}=B.useSidePanel(),{isOpen:n}=l;$.useEffect(()=>{r?.(n),n||a?.()},[n,r,a]);const s={isOpen:n,...u};return i.jsx(T,{themeName:e,tokens:s,customTheme:x,state:l,...C,transitionComponent:h,isDismissable:k,shouldCloseOnInteractOutside:q,isKeyboardDismissDisabled:p,title:P,...j,children:i.jsxs(t.Box,{as:f,themeName:`${e}.wrapper`,tokens:s,children:[o!=null&&o(),i.jsx(m,{themeName:`${e}.transitionAnimation`,tokens:s,isVisible:n,children:i.jsx(t.Box,{themeName:`${e}.container`,tokens:s,children:i.jsx(t.Box,{themeName:`${e}.innerContainer`,tokens:s,children:d})})})]})})}module.exports=b;
2
+ "use strict";const i=require("react/jsx-runtime"),$=require("react"),f=require("react-div-100vh"),B=require("./index86.js"),N=require("./index92.js"),S=require("./index142.js"),t=require("./index7.js"),T=require("./index54.js");function b(c){const{children:d,closeBtnRender:o,themeName:e="sidePanel",tokens:u,TransitionAnimation:m=N,PanelTransition:h=S,onOpenChange:r,customTheme:x,isDismissable:k=!0,shouldCloseOnInteractOutside:q,isKeyboardDismissDisabled:p=!1,onCloseCallBack:a,title:P,...j}=c,{overlayState:l,overlayProps:C}=B.useSidePanel(),{isOpen:n}=l;$.useEffect(()=>{r?.(n),n||a?.()},[n,r,a]);const s={isOpen:n,...u};return i.jsx(T,{themeName:e,tokens:s,customTheme:x,state:l,...C,transitionComponent:h,isDismissable:k,shouldCloseOnInteractOutside:q,isKeyboardDismissDisabled:p,title:P,...j,children:i.jsxs(t.Box,{as:f,themeName:`${e}.wrapper`,tokens:s,children:[o!=null&&o(),i.jsx(m,{themeName:`${e}.transitionAnimation`,tokens:s,isVisible:n,children:i.jsx(t.Box,{themeName:`${e}.container`,tokens:s,children:i.jsx(t.Box,{themeName:`${e}.innerContainer`,tokens:s,children:d})})})]})})}module.exports=b;
package/index66.mjs CHANGED
@@ -4,7 +4,7 @@ import { useEffect as b } from "react";
4
4
  import v from "react-div-100vh";
5
5
  import { useSidePanel as x } from "./index86.mjs";
6
6
  import D from "./index92.mjs";
7
- import O from "./index140.mjs";
7
+ import O from "./index142.mjs";
8
8
  import { Box as o } from "./index7.mjs";
9
9
  import $ from "./index54.mjs";
10
10
  function I(l) {
package/index68.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const s=require("react/jsx-runtime"),x=require("react"),d=require("react-aria"),k=require("react-stately"),T=require("./index120.js"),a=require("./index7.js"),q=require("./index69.js"),j=require("./index71.js");function N(i){const{themeName:e="tabList",tokens:o,customTheme:u,label:r,orientation:c="horizontal",panelTransition:h=T}=i,t=k.useTabListState(i),l=x.useRef(null),{tabListProps:b}=d.useTabList(i,t,l),n={...o,orientation:c,isDisabled:t.isDisabled};return s.jsxs(a.Box,{themeName:`${e}.wrapper`,tokens:n,customTheme:u,children:[r!=null&&r!==""&&s.jsx(a.Box,{themeName:`${e}.label`,tokens:n,children:r}),s.jsxs(a.Box,{themeName:`${e}.container`,tokens:n,children:[s.jsx(a.BoxWithForwardRef,{themeName:`${e}.list`,tokens:n,...b,ref:l,children:[...t.collection].map(m=>s.jsx(q,{item:m,state:t,themeName:`${e}.tab`,tokens:{...o,orientation:c}},m.key))}),s.jsx(j,{state:t,themeName:`${e}.panel`,tokens:n,panelTransition:h},t.selectedItem?.key)]})]})}module.exports=N;
2
+ "use strict";const s=require("react/jsx-runtime"),x=require("react"),d=require("react-aria"),k=require("react-stately"),T=require("./index120.js"),a=require("./index7.js"),q=require("./index69.js"),j=require("./index71.js");function N(r){const{themeName:e="tabList",tokens:o,customTheme:u,label:i,orientation:c="horizontal",panelTransition:h=T}=r,t=k.useTabListState(r),l=x.useRef(null),{tabListProps:b}=d.useTabList(r,t,l),n={...o,orientation:c,isDisabled:t.isDisabled};return s.jsxs(a.Box,{themeName:`${e}.wrapper`,tokens:n,customTheme:u,children:[i!=null&&i!==""&&s.jsx(a.Box,{themeName:`${e}.label`,tokens:n,children:i}),s.jsxs(a.Box,{themeName:`${e}.container`,tokens:n,children:[s.jsx(a.BoxWithForwardRef,{themeName:`${e}.list`,tokens:n,...b,ref:l,children:Array.from(t.collection,m=>s.jsx(q,{item:m,state:t,themeName:`${e}.tab`,tokens:{...o,orientation:c}},m.key))}),s.jsx(j,{state:t,themeName:`${e}.panel`,tokens:n,panelTransition:h},t.selectedItem?.key)]})]})}module.exports=N;
package/index68.mjs CHANGED
@@ -4,32 +4,32 @@ import { useRef as d } from "react";
4
4
  import { useTabList as k } from "react-aria";
5
5
  import { useTabListState as T } from "react-stately";
6
6
  import u from "./index120.mjs";
7
- import { Box as s, BoxWithForwardRef as N } from "./index7.mjs";
7
+ import { Box as r, BoxWithForwardRef as N } from "./index7.mjs";
8
8
  import L from "./index69.mjs";
9
9
  import $ from "./index71.mjs";
10
10
  function W(a) {
11
11
  const {
12
12
  themeName: e = "tabList",
13
- tokens: r,
14
- customTheme: b,
13
+ tokens: s,
14
+ customTheme: f,
15
15
  label: i,
16
16
  orientation: m = "horizontal",
17
- panelTransition: f = u
17
+ panelTransition: b = u
18
18
  } = a, t = T(a), l = d(null), { tabListProps: p } = k(a, t, l), o = {
19
- ...r,
19
+ ...s,
20
20
  orientation: m,
21
21
  isDisabled: t.isDisabled
22
22
  };
23
- return /* @__PURE__ */ h(s, { themeName: `${e}.wrapper`, tokens: o, customTheme: b, children: [
24
- i != null && i !== "" && /* @__PURE__ */ n(s, { themeName: `${e}.label`, tokens: o, children: i }),
25
- /* @__PURE__ */ h(s, { themeName: `${e}.container`, tokens: o, children: [
26
- /* @__PURE__ */ n(N, { themeName: `${e}.list`, tokens: o, ...p, ref: l, children: [...t.collection].map((c) => /* @__PURE__ */ n(
23
+ return /* @__PURE__ */ h(r, { themeName: `${e}.wrapper`, tokens: o, customTheme: f, children: [
24
+ i != null && i !== "" && /* @__PURE__ */ n(r, { themeName: `${e}.label`, tokens: o, children: i }),
25
+ /* @__PURE__ */ h(r, { themeName: `${e}.container`, tokens: o, children: [
26
+ /* @__PURE__ */ n(N, { themeName: `${e}.list`, tokens: o, ...p, ref: l, children: Array.from(t.collection, (c) => /* @__PURE__ */ n(
27
27
  L,
28
28
  {
29
29
  item: c,
30
30
  state: t,
31
31
  themeName: `${e}.tab`,
32
- tokens: { ...r, orientation: m }
32
+ tokens: { ...s, orientation: m }
33
33
  },
34
34
  c.key
35
35
  )) }),
@@ -39,7 +39,7 @@ function W(a) {
39
39
  state: t,
40
40
  themeName: `${e}.panel`,
41
41
  tokens: o,
42
- panelTransition: f
42
+ panelTransition: b
43
43
  },
44
44
  t.selectedItem?.key
45
45
  )
package/index72.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const s=require("react/jsx-runtime"),q=require("react"),N=require("react-aria"),T=require("react-stately"),h=require("./index7.js"),n=require("./index74.js"),$=require("./index141.js");function P(t){const{themeName:e="tagGroup",tokens:r,customTheme:m,as:l,label:c,description:i,errorMessage:p,removeButtonProps:d={children:"❌"}}=t,u=q.useRef(null),o=T.useListState(t),{gridProps:g,labelProps:x,descriptionProps:y,errorMessageProps:j}=N.useTagGroup(t,o,u);return s.jsxs(h.Box,{as:l,themeName:`${e}.wrapper`,tokens:r,customTheme:m,children:[!!c&&s.jsx(n.Typography,{themeName:`${e}.label`,tokens:r,...x,children:c}),s.jsx(h.BoxWithForwardRef,{themeName:`${e}.tags`,tokens:r,ref:u,...g,children:[...o.collection].map(a=>s.jsx($,{themeName:`${e}.tag`,tokens:r,item:{...a,props:{removeButtonProps:d,...a.props}},state:o},a.key))}),!!i&&s.jsx(n.Typography,{themeName:`${e}.description`,tokens:r,...y,children:i}),!!p&&s.jsx(n.Typography,{themeName:`${e}.errorMessage`,tokens:r,...j,children:p})]})}module.exports=P;
2
+ "use strict";const s=require("react/jsx-runtime"),q=require("react"),N=require("react-aria"),T=require("react-stately"),h=require("./index7.js"),n=require("./index74.js"),$=require("./index143.js");function f(t){const{themeName:e="tagGroup",tokens:r,customTheme:m,as:l,label:c,description:i,errorMessage:p,removeButtonProps:d={children:"❌"}}=t,u=q.useRef(null),o=T.useListState(t),{gridProps:g,labelProps:x,descriptionProps:y,errorMessageProps:j}=N.useTagGroup(t,o,u);return s.jsxs(h.Box,{as:l,themeName:`${e}.wrapper`,tokens:r,customTheme:m,children:[!!c&&s.jsx(n.Typography,{themeName:`${e}.label`,tokens:r,...x,children:c}),s.jsx(h.BoxWithForwardRef,{themeName:`${e}.tags`,tokens:r,ref:u,...g,children:Array.from(o.collection,a=>s.jsx($,{themeName:`${e}.tag`,tokens:r,item:{...a,props:{removeButtonProps:d,...a.props}},state:o},a.key))}),!!i&&s.jsx(n.Typography,{themeName:`${e}.description`,tokens:r,...y,children:i}),!!p&&s.jsx(n.Typography,{themeName:`${e}.errorMessage`,tokens:r,...j,children:p})]})}module.exports=f;
package/index72.mjs CHANGED
@@ -3,36 +3,36 @@ import { jsxs as $, jsx as o } from "react/jsx-runtime";
3
3
  import { useRef as x } from "react";
4
4
  import { useTagGroup as P } from "react-aria";
5
5
  import { useListState as T } from "react-stately";
6
- import { Box as b, BoxWithForwardRef as y } from "./index7.mjs";
6
+ import { Box as y, BoxWithForwardRef as b } from "./index7.mjs";
7
7
  import { Typography as a } from "./index74.mjs";
8
- import B from "./index141.mjs";
9
- function F(t) {
8
+ import B from "./index143.mjs";
9
+ function A(t) {
10
10
  const {
11
11
  themeName: e = "tagGroup",
12
12
  tokens: r,
13
13
  customTheme: l,
14
14
  as: h,
15
- label: p,
16
- description: i,
15
+ label: i,
16
+ description: p,
17
17
  errorMessage: n,
18
- removeButtonProps: d = { children: "❌" }
19
- } = t, c = x(null), m = T(t), { gridProps: f, labelProps: u, descriptionProps: g, errorMessageProps: N } = P(t, m, c);
20
- return /* @__PURE__ */ $(b, { as: h, themeName: `${e}.wrapper`, tokens: r, customTheme: l, children: [
21
- !!p && /* @__PURE__ */ o(a, { themeName: `${e}.label`, tokens: r, ...u, children: p }),
22
- /* @__PURE__ */ o(y, { themeName: `${e}.tags`, tokens: r, ref: c, ...f, children: [...m.collection].map((s) => /* @__PURE__ */ o(
18
+ removeButtonProps: f = { children: "❌" }
19
+ } = t, c = x(null), m = T(t), { gridProps: d, labelProps: u, descriptionProps: g, errorMessageProps: N } = P(t, m, c);
20
+ return /* @__PURE__ */ $(y, { as: h, themeName: `${e}.wrapper`, tokens: r, customTheme: l, children: [
21
+ !!i && /* @__PURE__ */ o(a, { themeName: `${e}.label`, tokens: r, ...u, children: i }),
22
+ /* @__PURE__ */ o(b, { themeName: `${e}.tags`, tokens: r, ref: c, ...d, children: Array.from(m.collection, (s) => /* @__PURE__ */ o(
23
23
  B,
24
24
  {
25
25
  themeName: `${e}.tag`,
26
26
  tokens: r,
27
- item: { ...s, props: { removeButtonProps: d, ...s.props } },
27
+ item: { ...s, props: { removeButtonProps: f, ...s.props } },
28
28
  state: m
29
29
  },
30
30
  s.key
31
31
  )) }),
32
- !!i && /* @__PURE__ */ o(a, { themeName: `${e}.description`, tokens: r, ...g, children: i }),
32
+ !!p && /* @__PURE__ */ o(a, { themeName: `${e}.description`, tokens: r, ...g, children: p }),
33
33
  !!n && /* @__PURE__ */ o(a, { themeName: `${e}.errorMessage`, tokens: r, ...N, children: n })
34
34
  ] });
35
35
  }
36
36
  export {
37
- F as default
37
+ A as default
38
38
  };
package/index76.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const c=require("react/jsx-runtime"),t=require("sanitize-html"),d=require("./index74.js"),i=require("./index142.js"),g=["iframe","img"],f={iframe:["src","allow","allowfullscreen","frameborder","scrolling","target","title","height","width","referrerpolicy"],img:["src","srcset","alt","title","width","height","loading"]};function w({content:s,themeName:l="wysiwyg",useSanitizerDefaultAllowedTags:o=!0,useSanitizerDefaultAllowedAttributes:n=!0,allowedTags:e=g,allowedAttributes:r=f,...a}){const u=t(s,{allowedTags:o?t.defaults.allowedTags.concat(e):e,nonBooleanAttributes:[],allowedAttributes:n?{...t.defaults.allowedAttributes,"*":[...t.defaults.nonBooleanAttributes,...i.ariaAttributes,...i.booleanAttributes],...r}:r});return c.jsx(d.Typography,{...a,themeName:l,dangerouslySetInnerHTML:{__html:u}})}module.exports=w;
2
+ "use strict";const c=require("react/jsx-runtime"),t=require("sanitize-html"),d=require("./index74.js"),i=require("./index144.js"),g=["iframe","img"],f={iframe:["src","allow","allowfullscreen","frameborder","scrolling","target","title","height","width","referrerpolicy"],img:["src","srcset","alt","title","width","height","loading"]};function w({content:s,themeName:l="wysiwyg",useSanitizerDefaultAllowedTags:o=!0,useSanitizerDefaultAllowedAttributes:n=!0,allowedTags:e=g,allowedAttributes:r=f,...a}){const u=t(s,{allowedTags:o?t.defaults.allowedTags.concat(e):e,nonBooleanAttributes:[],allowedAttributes:n?{...t.defaults.allowedAttributes,"*":[...t.defaults.nonBooleanAttributes,...i.ariaAttributes,...i.booleanAttributes],...r}:r});return c.jsx(d.Typography,{...a,themeName:l,dangerouslySetInnerHTML:{__html:u}})}module.exports=w;
package/index76.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import { jsx as u } from "react/jsx-runtime";
3
3
  import t from "sanitize-html";
4
4
  import { Typography as d } from "./index74.mjs";
5
- import { ariaAttributes as f, booleanAttributes as m } from "./index142.mjs";
5
+ import { ariaAttributes as f, booleanAttributes as m } from "./index144.mjs";
6
6
  const c = ["iframe", "img"], g = {
7
7
  iframe: [
8
8
  "src",
package/index8.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),q=require("react"),c=require("react-aria"),b=require("./index88.js");function x({ref:e,...n}){const{as:t="a",handlePress:u,children:i,as:a,customTheme:l,tokens:h,themeName:m="button",nextLinkProps:{onClick:f,...o}={},...r}=n,{onPress:F,onFocusChange:j,excludeFromTabOrder:R,preventFocusOnPress:T,...C}=r,d=e,{linkProps:P}=c.useLink({...n,...o,onClick:({currentTarget:N,...O})=>{f?.({...O,currentTarget:N})},href:n.href??o?.href?.toString(),elementType:a?.toString(),onPress:u},e??d),y=b(m,h,l);return s.jsx(c.FocusRing,{focusRingClass:"has-focus-ring",children:s.jsx(t,{ref:d,...P,...o,...C,className:y,children:i})})}function k({ref:e,...n}){const{as:t="button",handlePress:u,children:i,as:a,customTheme:l,tokens:h,themeName:m="button",isDisabled:f=!1,...o}=n,r=e,{buttonProps:F}=c.useButton({...n,isDisabled:f,elementType:a,onPress:u},e??r),j=b(m,h,l),{onPress:R,onFocusChange:T,excludeFromTabOrder:C,preventFocusOnPress:d,...P}=o;return s.jsx(c.FocusRing,{within:!0,focusRingClass:"has-focus-ring",children:s.jsx(t,{ref:r,...F,...P,className:j,children:i})})}function B({ref:e,...n}){const{as:t}=n;return t==="a"?s.jsx(x,{ref:e,...n}):s.jsx(k,{ref:e,...n})}B.displayName="ButtonWithForwardRef";function g(e){const{as:n}=e,t=q.useRef(null);return n==="a"?s.jsx(x,{ref:t,...e}):s.jsx(k,{ref:t,...e})}g.displayName="Button";exports.Anchor=x;exports.Button=g;exports.ButtonComponent=g;exports.ButtonWithForwardRef=B;
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),S=require("react"),c=require("react-aria"),k=require("./index88.js");function x({ref:e,...n}){const{as:t="a",handlePress:u,children:i,as:a,customTheme:l,tokens:h,themeName:m="button",nextLinkProps:{onClick:f,...o}={},...r}=n,{onPress:F,onFocusChange:j,excludeFromTabOrder:T,preventFocusOnPress:y,...C}=r,d=e,{linkProps:b}=c.useLink({...n,...o,onClick:({currentTarget:N,...O})=>{f?.({...O,currentTarget:N})},href:n.href??o?.href?.toString(),elementType:a?.toString(),onPress:u},e??d),P=k(m,h,l);return s.jsx(c.FocusRing,{focusRingClass:"has-focus-ring",children:s.jsx(t,{ref:d,...b,...o,...C,className:P,children:i})})}function B({ref:e,...n}){const{as:t="button",handlePress:u,children:i,as:a,customTheme:l,tokens:h,themeName:m="button",isDisabled:f=!1,...o}=n,r=e,{buttonProps:F}=c.useButton({...n,isDisabled:f,elementType:a,onPress:u},e??r),j=k(m,h,l),{onPress:T,onPressStart:y,onFocusChange:C,excludeFromTabOrder:d,preventFocusOnPress:b,...P}=o;return s.jsx(c.FocusRing,{within:!0,focusRingClass:"has-focus-ring",children:s.jsx(t,{ref:r,...F,...P,className:j,children:i})})}function R({ref:e,...n}){const{as:t}=n;return t==="a"?s.jsx(x,{ref:e,...n}):s.jsx(B,{ref:e,...n})}R.displayName="ButtonWithForwardRef";function g(e){const{as:n}=e,t=S.useRef(null);return n==="a"?s.jsx(x,{ref:t,...e}):s.jsx(B,{ref:t,...e})}g.displayName="Button";exports.Anchor=x;exports.Button=g;exports.ButtonComponent=g;exports.ButtonWithForwardRef=R;