@sikka/hawa 0.24.12-next → 0.24.14-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/codeBlock/index.js +5 -3
- package/dist/codeBlock/index.mjs +5 -3
- package/dist/combobox/index.js +5 -3
- package/dist/combobox/index.mjs +5 -3
- package/dist/elements/index.js +5 -3
- package/dist/elements/index.mjs +5 -3
- package/dist/index.js +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +1 -1
package/dist/codeBlock/index.js
CHANGED
@@ -1875,7 +1875,7 @@ var Combobox = React27.forwardRef(
|
|
1875
1875
|
type: "button",
|
1876
1876
|
"aria-expanded": open,
|
1877
1877
|
className: cn(
|
1878
|
-
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal
|
1878
|
+
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
1879
1879
|
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3 "
|
1880
1880
|
)
|
1881
1881
|
},
|
@@ -1920,6 +1920,7 @@ var Combobox = React27.forwardRef(
|
|
1920
1920
|
/* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
|
1921
1921
|
CommandInput,
|
1922
1922
|
{
|
1923
|
+
dir: direction,
|
1923
1924
|
placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
|
1924
1925
|
}
|
1925
1926
|
), /* @__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 +1952,10 @@ var Combobox = React27.forwardRef(
|
|
1951
1952
|
strokeLinecap: "round",
|
1952
1953
|
strokeLinejoin: "round",
|
1953
1954
|
className: cn(
|
1954
|
-
"hawa-icon
|
1955
|
+
"hawa-icon",
|
1955
1956
|
value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
|
1956
|
-
)
|
1957
|
+
),
|
1958
|
+
style: { marginInlineEnd: "0.5rem" }
|
1957
1959
|
},
|
1958
1960
|
/* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
|
1959
1961
|
),
|
package/dist/codeBlock/index.mjs
CHANGED
@@ -1759,7 +1759,7 @@ var Combobox = React25.forwardRef(
|
|
1759
1759
|
type: "button",
|
1760
1760
|
"aria-expanded": open,
|
1761
1761
|
className: cn(
|
1762
|
-
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal
|
1762
|
+
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
1763
1763
|
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3 "
|
1764
1764
|
)
|
1765
1765
|
},
|
@@ -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
|
),
|
package/dist/combobox/index.js
CHANGED
@@ -642,7 +642,7 @@ var Combobox = React7.forwardRef(
|
|
642
642
|
type: "button",
|
643
643
|
"aria-expanded": open,
|
644
644
|
className: cn(
|
645
|
-
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal
|
645
|
+
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
646
646
|
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3 "
|
647
647
|
)
|
648
648
|
},
|
@@ -687,6 +687,7 @@ var Combobox = React7.forwardRef(
|
|
687
687
|
/* @__PURE__ */ React7.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React7.createElement(
|
688
688
|
CommandInput,
|
689
689
|
{
|
690
|
+
dir: direction,
|
690
691
|
placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
|
691
692
|
}
|
692
693
|
), /* @__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 +719,10 @@ var Combobox = React7.forwardRef(
|
|
718
719
|
strokeLinecap: "round",
|
719
720
|
strokeLinejoin: "round",
|
720
721
|
className: cn(
|
721
|
-
"hawa-icon
|
722
|
+
"hawa-icon",
|
722
723
|
value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
|
723
|
-
)
|
724
|
+
),
|
725
|
+
style: { marginInlineEnd: "0.5rem" }
|
724
726
|
},
|
725
727
|
/* @__PURE__ */ React7.createElement("polyline", { points: "20 6 9 17 4 12" })
|
726
728
|
),
|
package/dist/combobox/index.mjs
CHANGED
@@ -189,7 +189,7 @@ var Combobox = React5.forwardRef(
|
|
189
189
|
type: "button",
|
190
190
|
"aria-expanded": open,
|
191
191
|
className: cn(
|
192
|
-
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal
|
192
|
+
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
193
193
|
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3 "
|
194
194
|
)
|
195
195
|
},
|
@@ -234,6 +234,7 @@ var Combobox = React5.forwardRef(
|
|
234
234
|
/* @__PURE__ */ React5.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React5.createElement(
|
235
235
|
CommandInput,
|
236
236
|
{
|
237
|
+
dir: direction,
|
237
238
|
placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
|
238
239
|
}
|
239
240
|
), /* @__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 +266,10 @@ var Combobox = React5.forwardRef(
|
|
265
266
|
strokeLinecap: "round",
|
266
267
|
strokeLinejoin: "round",
|
267
268
|
className: cn(
|
268
|
-
"hawa-icon
|
269
|
+
"hawa-icon",
|
269
270
|
value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
|
270
|
-
)
|
271
|
+
),
|
272
|
+
style: { marginInlineEnd: "0.5rem" }
|
271
273
|
},
|
272
274
|
/* @__PURE__ */ React5.createElement("polyline", { points: "20 6 9 17 4 12" })
|
273
275
|
),
|
package/dist/elements/index.js
CHANGED
@@ -3313,7 +3313,7 @@ var Combobox = React27.forwardRef(
|
|
3313
3313
|
type: "button",
|
3314
3314
|
"aria-expanded": open,
|
3315
3315
|
className: cn(
|
3316
|
-
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal
|
3316
|
+
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
3317
3317
|
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3 "
|
3318
3318
|
)
|
3319
3319
|
},
|
@@ -3358,6 +3358,7 @@ var Combobox = React27.forwardRef(
|
|
3358
3358
|
/* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
|
3359
3359
|
CommandInput,
|
3360
3360
|
{
|
3361
|
+
dir: direction,
|
3361
3362
|
placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
|
3362
3363
|
}
|
3363
3364
|
), /* @__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 +3390,10 @@ var Combobox = React27.forwardRef(
|
|
3389
3390
|
strokeLinecap: "round",
|
3390
3391
|
strokeLinejoin: "round",
|
3391
3392
|
className: cn(
|
3392
|
-
"hawa-icon
|
3393
|
+
"hawa-icon",
|
3393
3394
|
value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
|
3394
|
-
)
|
3395
|
+
),
|
3396
|
+
style: { marginInlineEnd: "0.5rem" }
|
3395
3397
|
},
|
3396
3398
|
/* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
|
3397
3399
|
),
|
package/dist/elements/index.mjs
CHANGED
@@ -1491,7 +1491,7 @@ var Combobox = React13.forwardRef(
|
|
1491
1491
|
type: "button",
|
1492
1492
|
"aria-expanded": open,
|
1493
1493
|
className: cn(
|
1494
|
-
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal
|
1494
|
+
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
1495
1495
|
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3 "
|
1496
1496
|
)
|
1497
1497
|
},
|
@@ -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.js
CHANGED
@@ -3379,7 +3379,7 @@ var Combobox = React27.forwardRef(
|
|
3379
3379
|
type: "button",
|
3380
3380
|
"aria-expanded": open,
|
3381
3381
|
className: cn(
|
3382
|
-
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal
|
3382
|
+
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
3383
3383
|
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3 "
|
3384
3384
|
)
|
3385
3385
|
},
|
@@ -3424,6 +3424,7 @@ var Combobox = React27.forwardRef(
|
|
3424
3424
|
/* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
|
3425
3425
|
CommandInput,
|
3426
3426
|
{
|
3427
|
+
dir: direction,
|
3427
3428
|
placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
|
3428
3429
|
}
|
3429
3430
|
), /* @__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 +3456,10 @@ var Combobox = React27.forwardRef(
|
|
3455
3456
|
strokeLinecap: "round",
|
3456
3457
|
strokeLinejoin: "round",
|
3457
3458
|
className: cn(
|
3458
|
-
"hawa-icon
|
3459
|
+
"hawa-icon",
|
3459
3460
|
value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
|
3460
|
-
)
|
3461
|
+
),
|
3462
|
+
style: { marginInlineEnd: "0.5rem" }
|
3461
3463
|
},
|
3462
3464
|
/* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
|
3463
3465
|
),
|
package/dist/index.mjs
CHANGED
@@ -3146,7 +3146,7 @@ var Combobox = React27.forwardRef(
|
|
3146
3146
|
type: "button",
|
3147
3147
|
"aria-expanded": open,
|
3148
3148
|
className: cn(
|
3149
|
-
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal
|
3149
|
+
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
3150
3150
|
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3 "
|
3151
3151
|
)
|
3152
3152
|
},
|
@@ -3191,6 +3191,7 @@ var Combobox = React27.forwardRef(
|
|
3191
3191
|
/* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
|
3192
3192
|
CommandInput,
|
3193
3193
|
{
|
3194
|
+
dir: direction,
|
3194
3195
|
placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
|
3195
3196
|
}
|
3196
3197
|
), /* @__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(
|
@@ -3222,9 +3223,10 @@ var Combobox = React27.forwardRef(
|
|
3222
3223
|
strokeLinecap: "round",
|
3223
3224
|
strokeLinejoin: "round",
|
3224
3225
|
className: cn(
|
3225
|
-
"hawa-icon
|
3226
|
+
"hawa-icon",
|
3226
3227
|
value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
|
3227
|
-
)
|
3228
|
+
),
|
3229
|
+
style: { marginInlineEnd: "0.5rem" }
|
3228
3230
|
},
|
3229
3231
|
/* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
|
3230
3232
|
),
|