@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.
- package/dist/blocks/auth/index.js +26 -15
- package/dist/blocks/auth/index.mjs +4 -4
- package/dist/blocks/feedback/index.js +25 -14
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.js +26 -15
- package/dist/blocks/index.mjs +1 -1
- package/dist/blocks/misc/index.js +25 -14
- package/dist/blocks/misc/index.mjs +4 -4
- package/dist/blocks/pricing/index.js +25 -14
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/{chunk-N26RJDIG.mjs → chunk-2UQWMSFQ.mjs} +1 -1
- package/dist/{chunk-7NCNPRCL.mjs → chunk-53XBVEMK.mjs} +25 -14
- package/dist/{chunk-C2UYTGUD.mjs → chunk-ABS2VEET.mjs} +25 -14
- package/dist/{chunk-D75D7LGZ.mjs → chunk-ATUSR6VI.mjs} +1 -1
- package/dist/{chunk-677VOLD4.mjs → chunk-FYH74ZRQ.mjs} +25 -14
- package/dist/{chunk-A25EXELT.mjs → chunk-OD5WIQGQ.mjs} +1 -1
- package/dist/{chunk-7XRVH6O7.mjs → chunk-OE23TTPS.mjs} +1 -1
- package/dist/{chunk-F6TKEDDP.mjs → chunk-PKLR7UF6.mjs} +1 -1
- package/dist/{chunk-LRLLDOQZ.mjs → chunk-S36W2LDN.mjs} +25 -14
- package/dist/{chunk-UTGVG66T.mjs → chunk-TTKRRN7S.mjs} +1 -1
- package/dist/{chunk-XOEHA3H6.mjs → chunk-XE3FLWLT.mjs} +25 -14
- package/dist/codeBlock/index.js +29 -16
- package/dist/codeBlock/index.mjs +5 -3
- package/dist/colorPicker/index.js +25 -14
- package/dist/colorPicker/index.mjs +1 -1
- package/dist/combobox/index.js +29 -16
- package/dist/combobox/index.mjs +29 -16
- package/dist/dataTable/index.js +25 -14
- package/dist/dataTable/index.mjs +25 -14
- package/dist/elements/index.js +29 -16
- package/dist/elements/index.mjs +5 -3
- package/dist/index.css +1 -1
- package/dist/index.js +29 -16
- package/dist/index.mjs +29 -16
- package/dist/input/index.js +25 -14
- package/dist/input/index.mjs +1 -1
- package/dist/interfaceSettings/index.js +25 -14
- package/dist/interfaceSettings/index.mjs +1 -1
- package/dist/label/index.js +25 -14
- package/dist/label/index.mjs +1 -1
- package/dist/passwordInput/index.js +25 -14
- package/dist/passwordInput/index.mjs +1 -1
- package/dist/phoneInput/index.js +27 -16
- package/dist/phoneInput/index.mjs +1 -1
- package/dist/radio/index.js +25 -14
- package/dist/radio/index.mjs +25 -14
- package/dist/select/index.js +25 -14
- package/dist/select/index.mjs +25 -14
- package/dist/textarea/index.js +25 -14
- package/dist/textarea/index.mjs +25 -14
- 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(
|
165
|
-
|
164
|
+
), hint && /* @__PURE__ */ React2.createElement(
|
165
|
+
Tooltip,
|
166
166
|
{
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
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("
|
177
|
-
|
178
|
-
|
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
|
package/dist/codeBlock/index.js
CHANGED
@@ -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(
|
1431
|
-
|
1430
|
+
), hint && /* @__PURE__ */ React19.createElement(
|
1431
|
+
Tooltip,
|
1432
1432
|
{
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
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("
|
1443
|
-
|
1444
|
-
|
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
|
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
|
),
|
package/dist/codeBlock/index.mjs
CHANGED
@@ -2,7 +2,7 @@ import {
|
|
2
2
|
Label,
|
3
3
|
Tooltip,
|
4
4
|
cn
|
5
|
-
} from "../chunk-
|
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
|
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(
|
115
|
-
|
114
|
+
), hint && /* @__PURE__ */ React2.createElement(
|
115
|
+
Tooltip,
|
116
116
|
{
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
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("
|
127
|
-
|
128
|
-
|
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
|
package/dist/combobox/index.js
CHANGED
@@ -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(
|
535
|
-
|
534
|
+
), hint && /* @__PURE__ */ React4.createElement(
|
535
|
+
Tooltip,
|
536
536
|
{
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
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("
|
547
|
-
|
548
|
-
|
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
|
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
|
),
|
package/dist/combobox/index.mjs
CHANGED
@@ -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(
|
82
|
-
|
81
|
+
), hint && /* @__PURE__ */ React2.createElement(
|
82
|
+
Tooltip,
|
83
83
|
{
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
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("
|
94
|
-
|
95
|
-
|
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
|
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
|
),
|
package/dist/dataTable/index.js
CHANGED
@@ -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(
|
699
|
-
|
698
|
+
), hint && /* @__PURE__ */ React5.createElement(
|
699
|
+
Tooltip,
|
700
700
|
{
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
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("
|
711
|
-
|
712
|
-
|
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
|
package/dist/dataTable/index.mjs
CHANGED
@@ -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(
|
668
|
-
|
667
|
+
), hint && /* @__PURE__ */ React5.createElement(
|
668
|
+
Tooltip,
|
669
669
|
{
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
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("
|
680
|
-
|
681
|
-
|
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
|
package/dist/elements/index.js
CHANGED
@@ -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(
|
2221
|
-
|
2220
|
+
), hint && /* @__PURE__ */ React19.createElement(
|
2221
|
+
Tooltip,
|
2222
2222
|
{
|
2223
|
-
|
2224
|
-
|
2225
|
-
|
2226
|
-
|
2227
|
-
|
2228
|
-
|
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("
|
2233
|
-
|
2234
|
-
|
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
|
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
|
),
|
package/dist/elements/index.mjs
CHANGED
@@ -28,7 +28,7 @@ import {
|
|
28
28
|
TabsTrigger,
|
29
29
|
Textarea,
|
30
30
|
UncheckMark
|
31
|
-
} from "../chunk-
|
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
|
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.
|
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(
|
2287
|
-
|
2286
|
+
), hint && /* @__PURE__ */ React19.createElement(
|
2287
|
+
Tooltip,
|
2288
2288
|
{
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
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("
|
2299
|
-
|
2300
|
-
|
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
|
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
|
),
|