@sikka/hawa 0.24.13-next → 0.24.15-next

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 (51) hide show
  1. package/dist/blocks/auth/index.js +26 -15
  2. package/dist/blocks/auth/index.mjs +4 -4
  3. package/dist/blocks/feedback/index.js +25 -14
  4. package/dist/blocks/feedback/index.mjs +5 -5
  5. package/dist/blocks/index.js +26 -15
  6. package/dist/blocks/index.mjs +1 -1
  7. package/dist/blocks/misc/index.js +25 -14
  8. package/dist/blocks/misc/index.mjs +4 -4
  9. package/dist/blocks/pricing/index.js +25 -14
  10. package/dist/blocks/pricing/index.mjs +4 -4
  11. package/dist/{chunk-N26RJDIG.mjs → chunk-2UQWMSFQ.mjs} +1 -1
  12. package/dist/{chunk-7NCNPRCL.mjs → chunk-53XBVEMK.mjs} +25 -14
  13. package/dist/{chunk-C2UYTGUD.mjs → chunk-ABS2VEET.mjs} +25 -14
  14. package/dist/{chunk-D75D7LGZ.mjs → chunk-ATUSR6VI.mjs} +1 -1
  15. package/dist/{chunk-677VOLD4.mjs → chunk-FYH74ZRQ.mjs} +25 -14
  16. package/dist/{chunk-A25EXELT.mjs → chunk-OD5WIQGQ.mjs} +1 -1
  17. package/dist/{chunk-7XRVH6O7.mjs → chunk-OE23TTPS.mjs} +1 -1
  18. package/dist/{chunk-F6TKEDDP.mjs → chunk-PKLR7UF6.mjs} +1 -1
  19. package/dist/{chunk-LRLLDOQZ.mjs → chunk-S36W2LDN.mjs} +25 -14
  20. package/dist/{chunk-UTGVG66T.mjs → chunk-TTKRRN7S.mjs} +1 -1
  21. package/dist/{chunk-XOEHA3H6.mjs → chunk-XE3FLWLT.mjs} +25 -14
  22. package/dist/codeBlock/index.js +29 -16
  23. package/dist/codeBlock/index.mjs +5 -3
  24. package/dist/colorPicker/index.js +25 -14
  25. package/dist/colorPicker/index.mjs +1 -1
  26. package/dist/combobox/index.js +29 -16
  27. package/dist/combobox/index.mjs +29 -16
  28. package/dist/dataTable/index.js +25 -14
  29. package/dist/dataTable/index.mjs +25 -14
  30. package/dist/elements/index.js +29 -16
  31. package/dist/elements/index.mjs +5 -3
  32. package/dist/index.css +1 -1
  33. package/dist/index.js +29 -16
  34. package/dist/index.mjs +29 -16
  35. package/dist/input/index.js +25 -14
  36. package/dist/input/index.mjs +1 -1
  37. package/dist/interfaceSettings/index.js +25 -14
  38. package/dist/interfaceSettings/index.mjs +1 -1
  39. package/dist/label/index.js +25 -14
  40. package/dist/label/index.mjs +1 -1
  41. package/dist/passwordInput/index.js +25 -14
  42. package/dist/passwordInput/index.mjs +1 -1
  43. package/dist/phoneInput/index.js +27 -16
  44. package/dist/phoneInput/index.mjs +1 -1
  45. package/dist/radio/index.js +25 -14
  46. package/dist/radio/index.mjs +25 -14
  47. package/dist/select/index.js +25 -14
  48. package/dist/select/index.mjs +25 -14
  49. package/dist/textarea/index.js +25 -14
  50. package/dist/textarea/index.mjs +25 -14
  51. package/package.json +26 -26
@@ -161,22 +161,33 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
161
161
  },
162
162
  children,
163
163
  required && /* @__PURE__ */ React2.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
164
- ), hint && /* @__PURE__ */ React2.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React2.createElement(
165
- "svg",
164
+ ), hint && /* @__PURE__ */ React2.createElement(
165
+ Tooltip,
166
166
  {
167
- xmlns: "http://www.w3.org/2000/svg",
168
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
169
- viewBox: "0 0 24 24",
170
- fill: "none",
171
- stroke: "currentColor",
172
- strokeWidth: "2",
173
- strokeLinecap: "round",
174
- strokeLinejoin: "round"
167
+ content: hint,
168
+ side: hintSide,
169
+ triggerProps: {
170
+ tabIndex: -1,
171
+ onClick: (event) => event.preventDefault()
172
+ }
175
173
  },
176
- /* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
177
- /* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
178
- /* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
179
- ))));
174
+ /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
175
+ "svg",
176
+ {
177
+ xmlns: "http://www.w3.org/2000/svg",
178
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
179
+ viewBox: "0 0 24 24",
180
+ fill: "none",
181
+ stroke: "currentColor",
182
+ strokeWidth: "2",
183
+ strokeLinecap: "round",
184
+ strokeLinejoin: "round"
185
+ },
186
+ /* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
187
+ /* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
188
+ /* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
189
+ ))
190
+ )));
180
191
  Label.displayName = "Label";
181
192
 
182
193
  // components/elements/input/Input.tsx
@@ -1427,22 +1427,33 @@ var Label2 = React19.forwardRef(({ className, hint, hintSide, required, children
1427
1427
  },
1428
1428
  children,
1429
1429
  required && /* @__PURE__ */ React19.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
1430
- ), hint && /* @__PURE__ */ React19.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React19.createElement(
1431
- "svg",
1430
+ ), hint && /* @__PURE__ */ React19.createElement(
1431
+ Tooltip,
1432
1432
  {
1433
- xmlns: "http://www.w3.org/2000/svg",
1434
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
1435
- viewBox: "0 0 24 24",
1436
- fill: "none",
1437
- stroke: "currentColor",
1438
- strokeWidth: "2",
1439
- strokeLinecap: "round",
1440
- strokeLinejoin: "round"
1433
+ content: hint,
1434
+ side: hintSide,
1435
+ triggerProps: {
1436
+ tabIndex: -1,
1437
+ onClick: (event) => event.preventDefault()
1438
+ }
1441
1439
  },
1442
- /* @__PURE__ */ React19.createElement("circle", { cx: "12", cy: "12", r: "10" }),
1443
- /* @__PURE__ */ React19.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
1444
- /* @__PURE__ */ React19.createElement("path", { d: "M12 17h.01" })
1445
- ))));
1440
+ /* @__PURE__ */ React19.createElement("div", null, /* @__PURE__ */ React19.createElement(
1441
+ "svg",
1442
+ {
1443
+ xmlns: "http://www.w3.org/2000/svg",
1444
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
1445
+ viewBox: "0 0 24 24",
1446
+ fill: "none",
1447
+ stroke: "currentColor",
1448
+ strokeWidth: "2",
1449
+ strokeLinecap: "round",
1450
+ strokeLinejoin: "round"
1451
+ },
1452
+ /* @__PURE__ */ React19.createElement("circle", { cx: "12", cy: "12", r: "10" }),
1453
+ /* @__PURE__ */ React19.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
1454
+ /* @__PURE__ */ React19.createElement("path", { d: "M12 17h.01" })
1455
+ ))
1456
+ )));
1446
1457
  Label2.displayName = "Label";
1447
1458
 
1448
1459
  // components/elements/input/Input.tsx
@@ -1920,6 +1931,7 @@ var Combobox = React27.forwardRef(
1920
1931
  /* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
1921
1932
  CommandInput,
1922
1933
  {
1934
+ dir: direction,
1923
1935
  placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
1924
1936
  }
1925
1937
  ), /* @__PURE__ */ React27.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React27.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item, i) => /* @__PURE__ */ React27.createElement(
@@ -1951,9 +1963,10 @@ var Combobox = React27.forwardRef(
1951
1963
  strokeLinecap: "round",
1952
1964
  strokeLinejoin: "round",
1953
1965
  className: cn(
1954
- "hawa-icon hawa-me-2",
1966
+ "hawa-icon",
1955
1967
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
1956
- )
1968
+ ),
1969
+ style: { marginInlineEnd: "0.5rem" }
1957
1970
  },
1958
1971
  /* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
1959
1972
  ),
@@ -2,7 +2,7 @@ import {
2
2
  Label,
3
3
  Tooltip,
4
4
  cn
5
- } from "../chunk-LRLLDOQZ.mjs";
5
+ } from "../chunk-S36W2LDN.mjs";
6
6
 
7
7
  // components/elements/codeBlock/CodeBlock.tsx
8
8
  import React58, { useState as useState19 } from "react";
@@ -1804,6 +1804,7 @@ var Combobox = React25.forwardRef(
1804
1804
  /* @__PURE__ */ React25.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React25.createElement(
1805
1805
  CommandInput,
1806
1806
  {
1807
+ dir: direction,
1807
1808
  placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
1808
1809
  }
1809
1810
  ), /* @__PURE__ */ React25.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React25.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item, i) => /* @__PURE__ */ React25.createElement(
@@ -1835,9 +1836,10 @@ var Combobox = React25.forwardRef(
1835
1836
  strokeLinecap: "round",
1836
1837
  strokeLinejoin: "round",
1837
1838
  className: cn(
1838
- "hawa-icon hawa-me-2",
1839
+ "hawa-icon",
1839
1840
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
1840
- )
1841
+ ),
1842
+ style: { marginInlineEnd: "0.5rem" }
1841
1843
  },
1842
1844
  /* @__PURE__ */ React25.createElement("polyline", { points: "20 6 9 17 4 12" })
1843
1845
  ),
@@ -111,22 +111,33 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
111
111
  },
112
112
  children,
113
113
  required && /* @__PURE__ */ React2.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
114
- ), hint && /* @__PURE__ */ React2.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React2.createElement(
115
- "svg",
114
+ ), hint && /* @__PURE__ */ React2.createElement(
115
+ Tooltip,
116
116
  {
117
- xmlns: "http://www.w3.org/2000/svg",
118
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
119
- viewBox: "0 0 24 24",
120
- fill: "none",
121
- stroke: "currentColor",
122
- strokeWidth: "2",
123
- strokeLinecap: "round",
124
- strokeLinejoin: "round"
117
+ content: hint,
118
+ side: hintSide,
119
+ triggerProps: {
120
+ tabIndex: -1,
121
+ onClick: (event) => event.preventDefault()
122
+ }
125
123
  },
126
- /* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
127
- /* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
128
- /* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
129
- ))));
124
+ /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
125
+ "svg",
126
+ {
127
+ xmlns: "http://www.w3.org/2000/svg",
128
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
129
+ viewBox: "0 0 24 24",
130
+ fill: "none",
131
+ stroke: "currentColor",
132
+ strokeWidth: "2",
133
+ strokeLinecap: "round",
134
+ strokeLinejoin: "round"
135
+ },
136
+ /* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
137
+ /* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
138
+ /* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
139
+ ))
140
+ )));
130
141
  Label.displayName = "Label";
131
142
 
132
143
  // components/elements/colorPicker/ColorPicker.tsx
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ColorPicker
3
- } from "../chunk-LRLLDOQZ.mjs";
3
+ } from "../chunk-S36W2LDN.mjs";
4
4
  export {
5
5
  ColorPicker
6
6
  };
@@ -531,22 +531,33 @@ var Label = React4.forwardRef(({ className, hint, hintSide, required, children,
531
531
  },
532
532
  children,
533
533
  required && /* @__PURE__ */ React4.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
534
- ), hint && /* @__PURE__ */ React4.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React4.createElement(
535
- "svg",
534
+ ), hint && /* @__PURE__ */ React4.createElement(
535
+ Tooltip,
536
536
  {
537
- xmlns: "http://www.w3.org/2000/svg",
538
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
539
- viewBox: "0 0 24 24",
540
- fill: "none",
541
- stroke: "currentColor",
542
- strokeWidth: "2",
543
- strokeLinecap: "round",
544
- strokeLinejoin: "round"
537
+ content: hint,
538
+ side: hintSide,
539
+ triggerProps: {
540
+ tabIndex: -1,
541
+ onClick: (event) => event.preventDefault()
542
+ }
545
543
  },
546
- /* @__PURE__ */ React4.createElement("circle", { cx: "12", cy: "12", r: "10" }),
547
- /* @__PURE__ */ React4.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
548
- /* @__PURE__ */ React4.createElement("path", { d: "M12 17h.01" })
549
- ))));
544
+ /* @__PURE__ */ React4.createElement("div", null, /* @__PURE__ */ React4.createElement(
545
+ "svg",
546
+ {
547
+ xmlns: "http://www.w3.org/2000/svg",
548
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
549
+ viewBox: "0 0 24 24",
550
+ fill: "none",
551
+ stroke: "currentColor",
552
+ strokeWidth: "2",
553
+ strokeLinecap: "round",
554
+ strokeLinejoin: "round"
555
+ },
556
+ /* @__PURE__ */ React4.createElement("circle", { cx: "12", cy: "12", r: "10" }),
557
+ /* @__PURE__ */ React4.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
558
+ /* @__PURE__ */ React4.createElement("path", { d: "M12 17h.01" })
559
+ ))
560
+ )));
550
561
  Label.displayName = "Label";
551
562
 
552
563
  // components/elements/popover/Popover.tsx
@@ -687,6 +698,7 @@ var Combobox = React7.forwardRef(
687
698
  /* @__PURE__ */ React7.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React7.createElement(
688
699
  CommandInput,
689
700
  {
701
+ dir: direction,
690
702
  placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
691
703
  }
692
704
  ), /* @__PURE__ */ React7.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React7.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item, i) => /* @__PURE__ */ React7.createElement(
@@ -718,9 +730,10 @@ var Combobox = React7.forwardRef(
718
730
  strokeLinecap: "round",
719
731
  strokeLinejoin: "round",
720
732
  className: cn(
721
- "hawa-icon hawa-me-2",
733
+ "hawa-icon",
722
734
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
723
- )
735
+ ),
736
+ style: { marginInlineEnd: "0.5rem" }
724
737
  },
725
738
  /* @__PURE__ */ React7.createElement("polyline", { points: "20 6 9 17 4 12" })
726
739
  ),
@@ -78,22 +78,33 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
78
78
  },
79
79
  children,
80
80
  required && /* @__PURE__ */ React2.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
81
- ), hint && /* @__PURE__ */ React2.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React2.createElement(
82
- "svg",
81
+ ), hint && /* @__PURE__ */ React2.createElement(
82
+ Tooltip,
83
83
  {
84
- xmlns: "http://www.w3.org/2000/svg",
85
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
86
- viewBox: "0 0 24 24",
87
- fill: "none",
88
- stroke: "currentColor",
89
- strokeWidth: "2",
90
- strokeLinecap: "round",
91
- strokeLinejoin: "round"
84
+ content: hint,
85
+ side: hintSide,
86
+ triggerProps: {
87
+ tabIndex: -1,
88
+ onClick: (event) => event.preventDefault()
89
+ }
92
90
  },
93
- /* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
94
- /* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
95
- /* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
96
- ))));
91
+ /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
92
+ "svg",
93
+ {
94
+ xmlns: "http://www.w3.org/2000/svg",
95
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
96
+ viewBox: "0 0 24 24",
97
+ fill: "none",
98
+ stroke: "currentColor",
99
+ strokeWidth: "2",
100
+ strokeLinecap: "round",
101
+ strokeLinejoin: "round"
102
+ },
103
+ /* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
104
+ /* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
105
+ /* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
106
+ ))
107
+ )));
97
108
  Label.displayName = "Label";
98
109
 
99
110
  // components/elements/popover/Popover.tsx
@@ -234,6 +245,7 @@ var Combobox = React5.forwardRef(
234
245
  /* @__PURE__ */ React5.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React5.createElement(
235
246
  CommandInput,
236
247
  {
248
+ dir: direction,
237
249
  placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
238
250
  }
239
251
  ), /* @__PURE__ */ React5.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React5.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item, i) => /* @__PURE__ */ React5.createElement(
@@ -265,9 +277,10 @@ var Combobox = React5.forwardRef(
265
277
  strokeLinecap: "round",
266
278
  strokeLinejoin: "round",
267
279
  className: cn(
268
- "hawa-icon hawa-me-2",
280
+ "hawa-icon",
269
281
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
270
- )
282
+ ),
283
+ style: { marginInlineEnd: "0.5rem" }
271
284
  },
272
285
  /* @__PURE__ */ React5.createElement("polyline", { points: "20 6 9 17 4 12" })
273
286
  ),
@@ -695,22 +695,33 @@ var Label2 = React5.forwardRef(({ className, hint, hintSide, required, children,
695
695
  },
696
696
  children,
697
697
  required && /* @__PURE__ */ React5.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
698
- ), hint && /* @__PURE__ */ React5.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React5.createElement(
699
- "svg",
698
+ ), hint && /* @__PURE__ */ React5.createElement(
699
+ Tooltip,
700
700
  {
701
- xmlns: "http://www.w3.org/2000/svg",
702
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
703
- viewBox: "0 0 24 24",
704
- fill: "none",
705
- stroke: "currentColor",
706
- strokeWidth: "2",
707
- strokeLinecap: "round",
708
- strokeLinejoin: "round"
701
+ content: hint,
702
+ side: hintSide,
703
+ triggerProps: {
704
+ tabIndex: -1,
705
+ onClick: (event) => event.preventDefault()
706
+ }
709
707
  },
710
- /* @__PURE__ */ React5.createElement("circle", { cx: "12", cy: "12", r: "10" }),
711
- /* @__PURE__ */ React5.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
712
- /* @__PURE__ */ React5.createElement("path", { d: "M12 17h.01" })
713
- ))));
708
+ /* @__PURE__ */ React5.createElement("div", null, /* @__PURE__ */ React5.createElement(
709
+ "svg",
710
+ {
711
+ xmlns: "http://www.w3.org/2000/svg",
712
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
713
+ viewBox: "0 0 24 24",
714
+ fill: "none",
715
+ stroke: "currentColor",
716
+ strokeWidth: "2",
717
+ strokeLinecap: "round",
718
+ strokeLinejoin: "round"
719
+ },
720
+ /* @__PURE__ */ React5.createElement("circle", { cx: "12", cy: "12", r: "10" }),
721
+ /* @__PURE__ */ React5.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
722
+ /* @__PURE__ */ React5.createElement("path", { d: "M12 17h.01" })
723
+ ))
724
+ )));
714
725
  Label2.displayName = "Label";
715
726
 
716
727
  // components/elements/skeleton/Skeleton.tsx
@@ -664,22 +664,33 @@ var Label2 = React5.forwardRef(({ className, hint, hintSide, required, children,
664
664
  },
665
665
  children,
666
666
  required && /* @__PURE__ */ React5.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
667
- ), hint && /* @__PURE__ */ React5.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React5.createElement(
668
- "svg",
667
+ ), hint && /* @__PURE__ */ React5.createElement(
668
+ Tooltip,
669
669
  {
670
- xmlns: "http://www.w3.org/2000/svg",
671
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
672
- viewBox: "0 0 24 24",
673
- fill: "none",
674
- stroke: "currentColor",
675
- strokeWidth: "2",
676
- strokeLinecap: "round",
677
- strokeLinejoin: "round"
670
+ content: hint,
671
+ side: hintSide,
672
+ triggerProps: {
673
+ tabIndex: -1,
674
+ onClick: (event) => event.preventDefault()
675
+ }
678
676
  },
679
- /* @__PURE__ */ React5.createElement("circle", { cx: "12", cy: "12", r: "10" }),
680
- /* @__PURE__ */ React5.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
681
- /* @__PURE__ */ React5.createElement("path", { d: "M12 17h.01" })
682
- ))));
677
+ /* @__PURE__ */ React5.createElement("div", null, /* @__PURE__ */ React5.createElement(
678
+ "svg",
679
+ {
680
+ xmlns: "http://www.w3.org/2000/svg",
681
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
682
+ viewBox: "0 0 24 24",
683
+ fill: "none",
684
+ stroke: "currentColor",
685
+ strokeWidth: "2",
686
+ strokeLinecap: "round",
687
+ strokeLinejoin: "round"
688
+ },
689
+ /* @__PURE__ */ React5.createElement("circle", { cx: "12", cy: "12", r: "10" }),
690
+ /* @__PURE__ */ React5.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
691
+ /* @__PURE__ */ React5.createElement("path", { d: "M12 17h.01" })
692
+ ))
693
+ )));
683
694
  Label2.displayName = "Label";
684
695
 
685
696
  // components/elements/skeleton/Skeleton.tsx
@@ -2217,22 +2217,33 @@ var Label2 = React19.forwardRef(({ className, hint, hintSide, required, children
2217
2217
  },
2218
2218
  children,
2219
2219
  required && /* @__PURE__ */ React19.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
2220
- ), hint && /* @__PURE__ */ React19.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React19.createElement(
2221
- "svg",
2220
+ ), hint && /* @__PURE__ */ React19.createElement(
2221
+ Tooltip,
2222
2222
  {
2223
- xmlns: "http://www.w3.org/2000/svg",
2224
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
2225
- viewBox: "0 0 24 24",
2226
- fill: "none",
2227
- stroke: "currentColor",
2228
- strokeWidth: "2",
2229
- strokeLinecap: "round",
2230
- strokeLinejoin: "round"
2223
+ content: hint,
2224
+ side: hintSide,
2225
+ triggerProps: {
2226
+ tabIndex: -1,
2227
+ onClick: (event) => event.preventDefault()
2228
+ }
2231
2229
  },
2232
- /* @__PURE__ */ React19.createElement("circle", { cx: "12", cy: "12", r: "10" }),
2233
- /* @__PURE__ */ React19.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
2234
- /* @__PURE__ */ React19.createElement("path", { d: "M12 17h.01" })
2235
- ))));
2230
+ /* @__PURE__ */ React19.createElement("div", null, /* @__PURE__ */ React19.createElement(
2231
+ "svg",
2232
+ {
2233
+ xmlns: "http://www.w3.org/2000/svg",
2234
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
2235
+ viewBox: "0 0 24 24",
2236
+ fill: "none",
2237
+ stroke: "currentColor",
2238
+ strokeWidth: "2",
2239
+ strokeLinecap: "round",
2240
+ strokeLinejoin: "round"
2241
+ },
2242
+ /* @__PURE__ */ React19.createElement("circle", { cx: "12", cy: "12", r: "10" }),
2243
+ /* @__PURE__ */ React19.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
2244
+ /* @__PURE__ */ React19.createElement("path", { d: "M12 17h.01" })
2245
+ ))
2246
+ )));
2236
2247
  Label2.displayName = "Label";
2237
2248
 
2238
2249
  // components/elements/input/Input.tsx
@@ -3358,6 +3369,7 @@ var Combobox = React27.forwardRef(
3358
3369
  /* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
3359
3370
  CommandInput,
3360
3371
  {
3372
+ dir: direction,
3361
3373
  placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
3362
3374
  }
3363
3375
  ), /* @__PURE__ */ React27.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React27.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item, i) => /* @__PURE__ */ React27.createElement(
@@ -3389,9 +3401,10 @@ var Combobox = React27.forwardRef(
3389
3401
  strokeLinecap: "round",
3390
3402
  strokeLinejoin: "round",
3391
3403
  className: cn(
3392
- "hawa-icon hawa-me-2",
3404
+ "hawa-icon",
3393
3405
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3394
- )
3406
+ ),
3407
+ style: { marginInlineEnd: "0.5rem" }
3395
3408
  },
3396
3409
  /* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
3397
3410
  ),
@@ -28,7 +28,7 @@ import {
28
28
  TabsTrigger,
29
29
  Textarea,
30
30
  UncheckMark
31
- } from "../chunk-XOEHA3H6.mjs";
31
+ } from "../chunk-XE3FLWLT.mjs";
32
32
  import {
33
33
  Sheet,
34
34
  SheetClose,
@@ -1536,6 +1536,7 @@ var Combobox = React13.forwardRef(
1536
1536
  /* @__PURE__ */ React13.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React13.createElement(
1537
1537
  CommandInput,
1538
1538
  {
1539
+ dir: direction,
1539
1540
  placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
1540
1541
  }
1541
1542
  ), /* @__PURE__ */ React13.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React13.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item, i) => /* @__PURE__ */ React13.createElement(
@@ -1567,9 +1568,10 @@ var Combobox = React13.forwardRef(
1567
1568
  strokeLinecap: "round",
1568
1569
  strokeLinejoin: "round",
1569
1570
  className: cn(
1570
- "hawa-icon hawa-me-2",
1571
+ "hawa-icon",
1571
1572
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
1572
- )
1573
+ ),
1574
+ style: { marginInlineEnd: "0.5rem" }
1573
1575
  },
1574
1576
  /* @__PURE__ */ React13.createElement("polyline", { points: "20 6 9 17 4 12" })
1575
1577
  ),
package/dist/index.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- ! tailwindcss v3.3.6 | MIT License | https://tailwindcss.com
2
+ ! tailwindcss v3.3.7 | MIT License | https://tailwindcss.com
3
3
  *//*
4
4
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
5
5
  2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
package/dist/index.js CHANGED
@@ -2283,22 +2283,33 @@ var Label2 = React19.forwardRef(({ className, hint, hintSide, required, children
2283
2283
  },
2284
2284
  children,
2285
2285
  required && /* @__PURE__ */ React19.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
2286
- ), hint && /* @__PURE__ */ React19.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React19.createElement(
2287
- "svg",
2286
+ ), hint && /* @__PURE__ */ React19.createElement(
2287
+ Tooltip,
2288
2288
  {
2289
- xmlns: "http://www.w3.org/2000/svg",
2290
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
2291
- viewBox: "0 0 24 24",
2292
- fill: "none",
2293
- stroke: "currentColor",
2294
- strokeWidth: "2",
2295
- strokeLinecap: "round",
2296
- strokeLinejoin: "round"
2289
+ content: hint,
2290
+ side: hintSide,
2291
+ triggerProps: {
2292
+ tabIndex: -1,
2293
+ onClick: (event) => event.preventDefault()
2294
+ }
2297
2295
  },
2298
- /* @__PURE__ */ React19.createElement("circle", { cx: "12", cy: "12", r: "10" }),
2299
- /* @__PURE__ */ React19.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
2300
- /* @__PURE__ */ React19.createElement("path", { d: "M12 17h.01" })
2301
- ))));
2296
+ /* @__PURE__ */ React19.createElement("div", null, /* @__PURE__ */ React19.createElement(
2297
+ "svg",
2298
+ {
2299
+ xmlns: "http://www.w3.org/2000/svg",
2300
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
2301
+ viewBox: "0 0 24 24",
2302
+ fill: "none",
2303
+ stroke: "currentColor",
2304
+ strokeWidth: "2",
2305
+ strokeLinecap: "round",
2306
+ strokeLinejoin: "round"
2307
+ },
2308
+ /* @__PURE__ */ React19.createElement("circle", { cx: "12", cy: "12", r: "10" }),
2309
+ /* @__PURE__ */ React19.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
2310
+ /* @__PURE__ */ React19.createElement("path", { d: "M12 17h.01" })
2311
+ ))
2312
+ )));
2302
2313
  Label2.displayName = "Label";
2303
2314
 
2304
2315
  // components/elements/input/Input.tsx
@@ -3424,6 +3435,7 @@ var Combobox = React27.forwardRef(
3424
3435
  /* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
3425
3436
  CommandInput,
3426
3437
  {
3438
+ dir: direction,
3427
3439
  placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
3428
3440
  }
3429
3441
  ), /* @__PURE__ */ React27.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React27.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item, i) => /* @__PURE__ */ React27.createElement(
@@ -3455,9 +3467,10 @@ var Combobox = React27.forwardRef(
3455
3467
  strokeLinecap: "round",
3456
3468
  strokeLinejoin: "round",
3457
3469
  className: cn(
3458
- "hawa-icon hawa-me-2",
3470
+ "hawa-icon",
3459
3471
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3460
- )
3472
+ ),
3473
+ style: { marginInlineEnd: "0.5rem" }
3461
3474
  },
3462
3475
  /* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
3463
3476
  ),