@sikka/hawa 0.48.1-next → 0.49.0-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/accordion/index.js +3 -28
- package/dist/accordion/index.js.map +1 -1
- package/dist/accordion/index.mjs +3 -28
- package/dist/accordion/index.mjs.map +1 -1
- package/dist/alert/index.js +53 -98
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +53 -98
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.d.mts +2 -0
- package/dist/appLayout/index.d.ts +2 -0
- package/dist/appLayout/index.js +263 -409
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +263 -409
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/appMenubar/index.js +15 -20
- package/dist/appMenubar/index.js.map +1 -1
- package/dist/appMenubar/index.mjs +15 -20
- package/dist/appMenubar/index.mjs.map +1 -1
- package/dist/appTabs/index.js +28 -37
- package/dist/appTabs/index.js.map +1 -1
- package/dist/appTabs/index.mjs +28 -37
- package/dist/appTabs/index.mjs.map +1 -1
- package/dist/appTopbar/index.js +125 -173
- package/dist/appTopbar/index.js.map +1 -1
- package/dist/appTopbar/index.mjs +125 -173
- package/dist/appTopbar/index.mjs.map +1 -1
- package/dist/avatar/index.js.map +1 -1
- package/dist/avatar/index.mjs.map +1 -1
- package/dist/backToTop/index.js +50 -82
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +50 -82
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/badge/index.d.mts +1 -1
- package/dist/badge/index.d.ts +1 -1
- package/dist/badge/index.js +2 -18
- package/dist/badge/index.js.map +1 -1
- package/dist/badge/index.mjs +2 -18
- package/dist/badge/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +202 -468
- package/dist/blocks/auth/index.mjs +96 -280
- package/dist/blocks/feedback/index.js +214 -375
- package/dist/blocks/feedback/index.mjs +12 -25
- package/dist/blocks/index.js +604 -1122
- package/dist/blocks/index.mjs +132 -291
- package/dist/blocks/misc/index.js +136 -251
- package/dist/blocks/misc/index.mjs +29 -54
- package/dist/blocks/pricing/index.js +220 -397
- package/dist/blocks/pricing/index.mjs +63 -134
- package/dist/breadcrumb/index.js +1 -5
- package/dist/breadcrumb/index.js.map +1 -1
- package/dist/breadcrumb/index.mjs +1 -5
- package/dist/breadcrumb/index.mjs.map +1 -1
- package/dist/button/index.js +50 -82
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs +50 -82
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.js +50 -82
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs +50 -82
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/card/index.js +7 -35
- package/dist/card/index.js.map +1 -1
- package/dist/card/index.mjs +7 -35
- package/dist/card/index.mjs.map +1 -1
- package/dist/carousel/index.js +15 -27
- package/dist/carousel/index.js.map +1 -1
- package/dist/carousel/index.mjs +15 -27
- package/dist/carousel/index.mjs.map +1 -1
- package/dist/checkbox/index.js +2 -13
- package/dist/checkbox/index.js.map +1 -1
- package/dist/checkbox/index.mjs +2 -13
- package/dist/checkbox/index.mjs.map +1 -1
- package/dist/chip/index.js +2 -16
- package/dist/chip/index.js.map +1 -1
- package/dist/chip/index.mjs +2 -16
- package/dist/chip/index.mjs.map +1 -1
- package/dist/{chunk-WUMDFBEK.mjs → chunk-3CHFVHTW.mjs} +43 -54
- package/dist/{chunk-2LUXOXAL.mjs → chunk-5SQBJRWE.mjs} +3 -9
- package/dist/{chunk-C2UOOH4X.mjs → chunk-B53SP2WZ.mjs} +3 -17
- package/dist/chunk-GHGWQVTM.mjs +150 -0
- package/dist/{chunk-5S5DR7KF.mjs → chunk-I23ONEDJ.mjs} +2 -10
- package/dist/{chunk-JFWD2ICY.mjs → chunk-JT7R3L5O.mjs} +54 -62
- package/dist/{chunk-6SJUUJOV.mjs → chunk-KDGJZPWK.mjs} +295 -574
- package/dist/{chunk-AWJSHOYU.mjs → chunk-KSJGXQTE.mjs} +1 -1
- package/dist/{chunk-NMW4GM4G.mjs → chunk-SE2JMXYG.mjs} +104 -144
- package/dist/{chunk-GBLWUEYN.mjs → chunk-ULRL4WI6.mjs} +176 -256
- package/dist/{chunk-IFWYR5W2.mjs → chunk-VUELRPUL.mjs} +57 -117
- package/dist/{chunk-WL7C2A5D.mjs → chunk-WQR4XZGL.mjs} +8 -15
- package/dist/codeBlock/index.js +50 -82
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +50 -82
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.js +21 -33
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs +22 -37
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.d.mts +1 -1
- package/dist/combobox/index.d.ts +1 -1
- package/dist/combobox/index.js +141 -223
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +141 -223
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/command/index.d.mts +1 -1
- package/dist/command/index.d.ts +1 -1
- package/dist/command/index.js +129 -212
- package/dist/command/index.js.map +1 -1
- package/dist/command/index.mjs +129 -212
- package/dist/command/index.mjs.map +1 -1
- package/dist/dataTable/index.js +254 -394
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +254 -394
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.js +64 -105
- package/dist/datePicker/index.js.map +1 -1
- package/dist/datePicker/index.mjs +64 -105
- package/dist/datePicker/index.mjs.map +1 -1
- package/dist/destroyableCard/index.js +8 -39
- package/dist/destroyableCard/index.js.map +1 -1
- package/dist/destroyableCard/index.mjs +8 -39
- package/dist/destroyableCard/index.mjs.map +1 -1
- package/dist/dialog/index.js +70 -122
- package/dist/dialog/index.js.map +1 -1
- package/dist/dialog/index.mjs +70 -122
- package/dist/dialog/index.mjs.map +1 -1
- package/dist/docsLayout/index.js +169 -358
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +169 -358
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/docsSidebar/index.js +9 -16
- package/dist/docsSidebar/index.js.map +1 -1
- package/dist/docsSidebar/index.mjs +9 -16
- package/dist/docsSidebar/index.mjs.map +1 -1
- package/dist/dropdownMenu/index.js +124 -164
- package/dist/dropdownMenu/index.js.map +1 -1
- package/dist/dropdownMenu/index.mjs +124 -164
- package/dist/dropdownMenu/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +3 -3
- package/dist/elements/index.d.ts +3 -3
- package/dist/elements/index.js +841 -1505
- package/dist/elements/index.mjs +381 -718
- package/dist/fileDropzone/index.js +60 -159
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +60 -159
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/glow/index.js +4 -16
- package/dist/glow/index.js.map +1 -1
- package/dist/glow/index.mjs +4 -16
- package/dist/glow/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -5
- package/dist/hooks/index.d.ts +1 -5
- package/dist/hooks/index.js +11 -24
- package/dist/hooks/index.mjs +2 -2
- package/dist/{index-B0aJcA6d.d.ts → index-BgNycocQ.d.mts} +2 -2
- package/dist/{index-B0aJcA6d.d.mts → index-BgNycocQ.d.ts} +2 -2
- package/dist/index.css +1 -2
- package/dist/index.d.mts +6 -8
- package/dist/index.d.ts +6 -8
- package/dist/index.js +1194 -2170
- package/dist/index.mjs +1195 -2174
- package/dist/input/index.js +20 -29
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +20 -29
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js +122 -163
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +122 -163
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/label/index.js +19 -26
- package/dist/label/index.js.map +1 -1
- package/dist/label/index.mjs +19 -26
- package/dist/label/index.mjs.map +1 -1
- package/dist/layout/index.d.mts +2 -0
- package/dist/layout/index.d.ts +2 -0
- package/dist/layout/index.js +434 -790
- package/dist/layout/index.mjs +143 -243
- package/dist/loading/index.js +30 -53
- package/dist/loading/index.js.map +1 -1
- package/dist/loading/index.mjs +30 -53
- package/dist/loading/index.mjs.map +1 -1
- package/dist/logos/index.js +66 -191
- package/dist/logos/index.js.map +1 -1
- package/dist/logos/index.mjs +66 -191
- package/dist/logos/index.mjs.map +1 -1
- package/dist/navbar/index.js +1 -4
- package/dist/navbar/index.js.map +1 -1
- package/dist/navbar/index.mjs +1 -4
- package/dist/navbar/index.mjs.map +1 -1
- package/dist/navigationMenu/index.js +14 -22
- package/dist/navigationMenu/index.js.map +1 -1
- package/dist/navigationMenu/index.mjs +14 -22
- package/dist/navigationMenu/index.mjs.map +1 -1
- package/dist/pagination/index.js +1 -5
- package/dist/pagination/index.js.map +1 -1
- package/dist/pagination/index.mjs +1 -5
- package/dist/pagination/index.mjs.map +1 -1
- package/dist/passwordInput/index.js +36 -65
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +36 -65
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js +20 -29
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +20 -29
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/pinInput/index.js +14 -16
- package/dist/pinInput/index.js.map +1 -1
- package/dist/pinInput/index.mjs +14 -16
- package/dist/pinInput/index.mjs.map +1 -1
- package/dist/popover/index.js +14 -24
- package/dist/popover/index.js.map +1 -1
- package/dist/popover/index.mjs +14 -24
- package/dist/popover/index.mjs.map +1 -1
- package/dist/progress/index.js +19 -26
- package/dist/progress/index.js.map +1 -1
- package/dist/progress/index.mjs +19 -26
- package/dist/progress/index.mjs.map +1 -1
- package/dist/progressCircle/index.js +67 -71
- package/dist/progressCircle/index.js.map +1 -1
- package/dist/progressCircle/index.mjs +67 -71
- package/dist/progressCircle/index.mjs.map +1 -1
- package/dist/radio/index.js +122 -163
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +122 -163
- package/dist/radio/index.mjs.map +1 -1
- package/dist/scrollArea/index.js.map +1 -1
- package/dist/scrollArea/index.mjs.map +1 -1
- package/dist/scrollIndicator/index.js +1 -4
- package/dist/scrollIndicator/index.js.map +1 -1
- package/dist/scrollIndicator/index.mjs +1 -4
- package/dist/scrollIndicator/index.mjs.map +1 -1
- package/dist/select/index.js +20 -29
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +20 -29
- package/dist/select/index.mjs.map +1 -1
- package/dist/separator/index.js.map +1 -1
- package/dist/separator/index.mjs.map +1 -1
- package/dist/sheet/index.js +42 -53
- package/dist/sheet/index.js.map +1 -1
- package/dist/sheet/index.mjs +42 -53
- package/dist/sheet/index.mjs.map +1 -1
- package/dist/sidebar/index.js +66 -133
- package/dist/sidebar/index.js.map +1 -1
- package/dist/sidebar/index.mjs +66 -133
- package/dist/sidebar/index.mjs.map +1 -1
- package/dist/signature/index.js +19 -26
- package/dist/signature/index.js.map +1 -1
- package/dist/signature/index.mjs +19 -26
- package/dist/signature/index.mjs.map +1 -1
- package/dist/simpleTable/index.js +50 -81
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs +50 -81
- package/dist/simpleTable/index.mjs.map +1 -1
- package/dist/skeleton/index.js.map +1 -1
- package/dist/skeleton/index.mjs.map +1 -1
- package/dist/slider/index.js.map +1 -1
- package/dist/slider/index.mjs.map +1 -1
- package/dist/sonner/index.js.map +1 -1
- package/dist/sonner/index.mjs.map +1 -1
- package/dist/sortButton/index.js +50 -82
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs +50 -82
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.js +214 -294
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +214 -294
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/stats/index.js +7 -35
- package/dist/stats/index.js.map +1 -1
- package/dist/stats/index.mjs +7 -35
- package/dist/stats/index.mjs.map +1 -1
- package/dist/switch/index.js +24 -34
- package/dist/switch/index.js.map +1 -1
- package/dist/switch/index.mjs +24 -34
- package/dist/switch/index.mjs.map +1 -1
- package/dist/table/index.js +27 -29
- package/dist/table/index.js.map +1 -1
- package/dist/table/index.mjs +27 -29
- package/dist/table/index.mjs.map +1 -1
- package/dist/tabs/index.js +54 -76
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +54 -76
- package/dist/tabs/index.mjs.map +1 -1
- package/dist/textarea/index.js +21 -38
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs +21 -38
- package/dist/textarea/index.mjs.map +1 -1
- package/dist/toast/index.js +2 -10
- package/dist/toast/index.js.map +1 -1
- package/dist/toast/index.mjs +2 -10
- package/dist/toast/index.mjs.map +1 -1
- package/dist/toaster/index.js +3 -16
- package/dist/toaster/index.js.map +1 -1
- package/dist/toaster/index.mjs +3 -16
- package/dist/toaster/index.mjs.map +1 -1
- package/dist/tooltip/index.js +19 -26
- package/dist/tooltip/index.js.map +1 -1
- package/dist/tooltip/index.mjs +19 -26
- package/dist/tooltip/index.mjs.map +1 -1
- package/package.json +12 -12
- package/dist/chunk-JP2N5WKD.mjs +0 -190
@@ -1,7 +1,7 @@
|
|
1
1
|
"use client";
|
2
2
|
import {
|
3
3
|
cn
|
4
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-VUELRPUL.mjs";
|
5
5
|
|
6
6
|
// elements/scrollArea/ScrollArea.tsx
|
7
7
|
import * as React from "react";
|
@@ -128,16 +128,7 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
128
128
|
// elements/chip/Chip.tsx
|
129
129
|
import React2 from "react";
|
130
130
|
var Chip = React2.forwardRef(
|
131
|
-
({
|
132
|
-
label,
|
133
|
-
size = "normal",
|
134
|
-
icon,
|
135
|
-
color,
|
136
|
-
radius = "inherit",
|
137
|
-
dot,
|
138
|
-
dotStatus = "none",
|
139
|
-
...rest
|
140
|
-
}, ref) => {
|
131
|
+
({ label, size = "normal", icon, color, radius = "inherit", dot, dotStatus = "none", ...rest }, ref) => {
|
141
132
|
let defaultStyles = "hawa-flex hawa-flex-row hawa-w-fit hawa-gap-1 hawa-items-center hawa-px-2.5 hawa-py-1 hawa-font-bold ";
|
142
133
|
let radiusStyles = {
|
143
134
|
inherit: " hawa-rounded",
|
@@ -184,12 +175,7 @@ var Chip = React2.forwardRef(
|
|
184
175
|
rest.className
|
185
176
|
)
|
186
177
|
},
|
187
|
-
dot && /* @__PURE__ */ React2.createElement(
|
188
|
-
"span",
|
189
|
-
{
|
190
|
-
className: cn(dotStyles[size], dotStatusStyles[dotStatus])
|
191
|
-
}
|
192
|
-
),
|
178
|
+
dot && /* @__PURE__ */ React2.createElement("span", { className: cn(dotStyles[size], dotStatusStyles[dotStatus]) }),
|
193
179
|
icon && icon,
|
194
180
|
label
|
195
181
|
);
|
@@ -0,0 +1,150 @@
|
|
1
|
+
"use client";
|
2
|
+
import {
|
3
|
+
cn
|
4
|
+
} from "./chunk-VUELRPUL.mjs";
|
5
|
+
|
6
|
+
// icons/Emojis.tsx
|
7
|
+
import React from "react";
|
8
|
+
var VeryGoodEmoji = () => /* @__PURE__ */ React.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React.createElement("g", { clipPath: "url(#clip0_53_166)" }, /* @__PURE__ */ React.createElement(
|
9
|
+
"path",
|
10
|
+
{
|
11
|
+
clipRule: "evenodd",
|
12
|
+
d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM4.5 8.97498H3.875V9.59998C3.875 11.4747 5.81046 12.8637 7.99817 12.8637C10.1879 12.8637 12.125 11.4832 12.125 9.59998V8.97498H11.5H4.5ZM7.99817 11.6137C6.59406 11.6137 5.63842 10.9482 5.28118 10.225H10.7202C10.3641 10.9504 9.40797 11.6137 7.99817 11.6137Z",
|
13
|
+
fill: "currentColor",
|
14
|
+
fillRule: "evenodd"
|
15
|
+
}
|
16
|
+
), /* @__PURE__ */ React.createElement(
|
17
|
+
"path",
|
18
|
+
{
|
19
|
+
clipRule: "evenodd",
|
20
|
+
d: "M6.15295 4.92093L5.375 3.5L4.59705 4.92093L3 5.21885L4.11625 6.39495L3.90717 8L5.375 7.30593L6.84283 8L6.63375 6.39495L7.75 5.21885L6.15295 4.92093ZM11.403 4.92093L10.625 3.5L9.84705 4.92093L8.25 5.21885L9.36625 6.39495L9.15717 8L10.625 7.30593L12.0928 8L11.8837 6.39495L13 5.21885L11.403 4.92093Z",
|
21
|
+
fill: "#FF990A",
|
22
|
+
fillRule: "evenodd"
|
23
|
+
}
|
24
|
+
)));
|
25
|
+
var GoodEmoji = () => /* @__PURE__ */ React.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React.createElement("g", { clipPath: "url(#clip0_53_167)" }, /* @__PURE__ */ React.createElement(
|
26
|
+
"path",
|
27
|
+
{
|
28
|
+
clipRule: "evenodd",
|
29
|
+
d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.5249 10.8478L11.8727 10.3286L10.8342 9.6329L10.4863 10.1522C9.94904 10.9543 9.0363 11.4802 8.00098 11.4802C6.96759 11.4802 6.05634 10.9563 5.51863 10.1567L5.16986 9.63804L4.13259 10.3356L4.48137 10.8542C5.2414 11.9844 6.53398 12.7302 8.00098 12.7302C9.47073 12.7302 10.7654 11.9816 11.5249 10.8478ZM6.75 6.75C6.75 7.30228 6.30228 7.75 5.75 7.75C5.19772 7.75 4.75 7.30228 4.75 6.75C4.75 6.19772 5.19772 5.75 5.75 5.75C6.30228 5.75 6.75 6.19772 6.75 6.75ZM10.25 7.75C10.8023 7.75 11.25 7.30228 11.25 6.75C11.25 6.19772 10.8023 5.75 10.25 5.75C9.69771 5.75 9.25 6.19772 9.25 6.75C9.25 7.30228 9.69771 7.75 10.25 7.75Z",
|
30
|
+
fill: "currentColor",
|
31
|
+
fillRule: "evenodd"
|
32
|
+
}
|
33
|
+
)));
|
34
|
+
var BadEmoji = () => /* @__PURE__ */ React.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React.createElement("g", { clipPath: "url(#clip0_53_152)" }, /* @__PURE__ */ React.createElement(
|
35
|
+
"path",
|
36
|
+
{
|
37
|
+
clipRule: "evenodd",
|
38
|
+
d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM5.75 7.75C6.30228 7.75 6.75 7.30228 6.75 6.75C6.75 6.19772 6.30228 5.75 5.75 5.75C5.19772 5.75 4.75 6.19772 4.75 6.75C4.75 7.30228 5.19772 7.75 5.75 7.75ZM11.25 6.75C11.25 7.30228 10.8023 7.75 10.25 7.75C9.69771 7.75 9.25 7.30228 9.25 6.75C9.25 6.19772 9.69771 5.75 10.25 5.75C10.8023 5.75 11.25 6.19772 11.25 6.75ZM11.5249 11.2622L11.8727 11.7814L10.8342 12.4771L10.4863 11.9578C9.94904 11.1557 9.0363 10.6298 8.00098 10.6298C6.96759 10.6298 6.05634 11.1537 5.51863 11.9533L5.16986 12.4719L4.13259 11.7744L4.48137 11.2558C5.2414 10.1256 6.53398 9.37982 8.00098 9.37982C9.47073 9.37982 10.7654 10.1284 11.5249 11.2622Z",
|
39
|
+
fill: "currentColor",
|
40
|
+
fillRule: "evenodd"
|
41
|
+
}
|
42
|
+
)));
|
43
|
+
var VeryBadEmoji = () => /* @__PURE__ */ React.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React.createElement("g", { clipPath: "url(#clip0_53_151)" }, /* @__PURE__ */ React.createElement(
|
44
|
+
"path",
|
45
|
+
{
|
46
|
+
d: "M11.841 12.0225C12.7197 12.9324 12.7197 14.4077 11.841 15.3176C10.9623 16.2275 9.53769 16.2275 8.65901 15.3176C7.78033 14.4077 7.78033 12.9324 8.65901 12.0225L10.25 10.375L11.841 12.0225Z",
|
47
|
+
fill: "#0070F3"
|
48
|
+
}
|
49
|
+
), /* @__PURE__ */ React.createElement(
|
50
|
+
"path",
|
51
|
+
{
|
52
|
+
clipRule: "evenodd",
|
53
|
+
d: "M8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 10.9668 3.48826 13.4711 6.20649 14.2496L5.79351 15.6916C2.44895 14.7338 0 11.6539 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 9.4652 15.6054 10.8405 14.9162 12.023L13.6203 11.2677C14.1794 10.3083 14.5 9.19272 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5ZM6.75 6.75C6.75 7.30228 6.30228 7.75 5.75 7.75C5.19772 7.75 4.75 7.30228 4.75 6.75C4.75 6.19772 5.19772 5.75 5.75 5.75C6.30228 5.75 6.75 6.19772 6.75 6.75ZM10.25 7.75C10.8023 7.75 11.25 7.30228 11.25 6.75C11.25 6.19772 10.8023 5.75 10.25 5.75C9.69771 5.75 9.25 6.19772 9.25 6.75C9.25 7.30228 9.69771 7.75 10.25 7.75Z",
|
54
|
+
fill: "currentColor",
|
55
|
+
fillRule: "evenodd"
|
56
|
+
}
|
57
|
+
)));
|
58
|
+
|
59
|
+
// icons/InputIcons.tsx
|
60
|
+
import React2 from "react";
|
61
|
+
var EyeIcon = (props) => /* @__PURE__ */ React2.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React2.createElement(
|
62
|
+
"svg",
|
63
|
+
{
|
64
|
+
xmlns: "http://www.w3.org/2000/svg",
|
65
|
+
viewBox: "0 0 24 24",
|
66
|
+
fill: "none",
|
67
|
+
stroke: "currentColor",
|
68
|
+
strokeWidth: "2",
|
69
|
+
strokeLinecap: "round",
|
70
|
+
strokeLinejoin: "round"
|
71
|
+
},
|
72
|
+
/* @__PURE__ */ React2.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
|
73
|
+
/* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "3" })
|
74
|
+
));
|
75
|
+
var HiddenEyeIcon = (props) => /* @__PURE__ */ React2.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React2.createElement(
|
76
|
+
"svg",
|
77
|
+
{
|
78
|
+
xmlns: "http://www.w3.org/2000/svg",
|
79
|
+
viewBox: "0 0 24 24",
|
80
|
+
fill: "none",
|
81
|
+
stroke: "currentColor",
|
82
|
+
strokeWidth: "2",
|
83
|
+
strokeLinecap: "round",
|
84
|
+
strokeLinejoin: "round"
|
85
|
+
},
|
86
|
+
/* @__PURE__ */ React2.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
|
87
|
+
/* @__PURE__ */ React2.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
|
88
|
+
/* @__PURE__ */ React2.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
|
89
|
+
/* @__PURE__ */ React2.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
|
90
|
+
));
|
91
|
+
|
92
|
+
// icons/CommonIcons.tsx
|
93
|
+
import React3 from "react";
|
94
|
+
var CheckMark = ({ size = "default", className }) => {
|
95
|
+
let sizeStyles = {
|
96
|
+
default: "hawa-h-5 hawa-w-5",
|
97
|
+
sm: "hawa-h-3 hawa-w-3"
|
98
|
+
};
|
99
|
+
return /* @__PURE__ */ React3.createElement(
|
100
|
+
"svg",
|
101
|
+
{
|
102
|
+
className: cn(sizeStyles[size], className),
|
103
|
+
"aria-hidden": "true",
|
104
|
+
fill: "currentColor",
|
105
|
+
viewBox: "0 0 20 20"
|
106
|
+
},
|
107
|
+
/* @__PURE__ */ React3.createElement(
|
108
|
+
"path",
|
109
|
+
{
|
110
|
+
fillRule: "evenodd",
|
111
|
+
d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
|
112
|
+
clipRule: "evenodd"
|
113
|
+
}
|
114
|
+
)
|
115
|
+
);
|
116
|
+
};
|
117
|
+
var UncheckMark = ({ size = "default", className }) => {
|
118
|
+
let sizeStyles = {
|
119
|
+
default: "hawa-h-5 hawa-w-5",
|
120
|
+
sm: "hawa-h-3 hawa-w-3"
|
121
|
+
};
|
122
|
+
return /* @__PURE__ */ React3.createElement(
|
123
|
+
"svg",
|
124
|
+
{
|
125
|
+
className: cn(sizeStyles[size], className),
|
126
|
+
"aria-hidden": "true",
|
127
|
+
fill: "currentColor",
|
128
|
+
viewBox: "0 0 20 20"
|
129
|
+
},
|
130
|
+
/* @__PURE__ */ React3.createElement(
|
131
|
+
"path",
|
132
|
+
{
|
133
|
+
fillRule: "evenodd",
|
134
|
+
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
135
|
+
clipRule: "evenodd"
|
136
|
+
}
|
137
|
+
)
|
138
|
+
);
|
139
|
+
};
|
140
|
+
|
141
|
+
export {
|
142
|
+
VeryGoodEmoji,
|
143
|
+
GoodEmoji,
|
144
|
+
BadEmoji,
|
145
|
+
VeryBadEmoji,
|
146
|
+
EyeIcon,
|
147
|
+
HiddenEyeIcon,
|
148
|
+
CheckMark,
|
149
|
+
UncheckMark
|
150
|
+
};
|
@@ -4,7 +4,7 @@ import {
|
|
4
4
|
Label,
|
5
5
|
Skeleton,
|
6
6
|
cn
|
7
|
-
} from "./chunk-
|
7
|
+
} from "./chunk-VUELRPUL.mjs";
|
8
8
|
|
9
9
|
// elements/textarea/Textarea.tsx
|
10
10
|
import * as React from "react";
|
@@ -29,15 +29,7 @@ var Textarea = React.forwardRef(
|
|
29
29
|
className
|
30
30
|
)
|
31
31
|
},
|
32
|
-
/* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, props.label && /* @__PURE__ */ React.createElement(Label, { ...labelProps }, props.label), showCount && countPosition === "top" && /* @__PURE__ */ React.createElement(
|
33
|
-
"div",
|
34
|
-
{
|
35
|
-
className: "hawa-text-start hawa-text-xs hawa-transition-all hawa-leading-none"
|
36
|
-
},
|
37
|
-
(textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0,
|
38
|
-
"/",
|
39
|
-
textareaProps == null ? void 0 : textareaProps.maxLength
|
40
|
-
)),
|
32
|
+
/* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, props.label && /* @__PURE__ */ React.createElement(Label, { ...labelProps }, props.label), showCount && countPosition === "top" && /* @__PURE__ */ React.createElement("div", { className: "hawa-text-start hawa-text-xs hawa-transition-all hawa-leading-none" }, (textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0, "/", textareaProps == null ? void 0 : textareaProps.maxLength)),
|
41
33
|
isLoading ? /* @__PURE__ */ React.createElement(Skeleton, { style: { height: 40 } }) : /* @__PURE__ */ React.createElement(
|
42
34
|
"textarea",
|
43
35
|
{
|
@@ -2,13 +2,13 @@
|
|
2
2
|
import {
|
3
3
|
Chip,
|
4
4
|
ScrollArea
|
5
|
-
} from "./chunk-
|
5
|
+
} from "./chunk-B53SP2WZ.mjs";
|
6
6
|
import {
|
7
7
|
HelperText,
|
8
8
|
Label,
|
9
9
|
Skeleton,
|
10
10
|
cn
|
11
|
-
} from "./chunk-
|
11
|
+
} from "./chunk-VUELRPUL.mjs";
|
12
12
|
|
13
13
|
// hooks/useShortcuts.ts
|
14
14
|
import { useEffect } from "react";
|
@@ -236,83 +236,75 @@ var Tabs = React9.forwardRef(
|
|
236
236
|
/* @__PURE__ */ React9.createElement(TabsContext.Provider, { value: { orientation, variant, scrollable } }, props.children)
|
237
237
|
)
|
238
238
|
);
|
239
|
-
var TabsList = React9.forwardRef(
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
ref,
|
247
|
-
className: cn(
|
248
|
-
tabsListVariant({ variant, orientation }),
|
249
|
-
"hawa-flex-row hawa-flex-nowrap",
|
250
|
-
className
|
251
|
-
),
|
252
|
-
...props
|
253
|
-
}
|
254
|
-
));
|
255
|
-
} else {
|
256
|
-
return /* @__PURE__ */ React9.createElement(
|
257
|
-
TabsPrimitive.List,
|
258
|
-
{
|
259
|
-
ref,
|
260
|
-
className: cn(
|
261
|
-
tabsListVariant({ variant, orientation }),
|
262
|
-
orientation === "vertical" ? "hawa-flex-col" : "hawa-flex-row",
|
263
|
-
"hawa-flex-wrap",
|
264
|
-
className
|
265
|
-
),
|
266
|
-
...props
|
267
|
-
}
|
268
|
-
);
|
269
|
-
}
|
270
|
-
});
|
271
|
-
var TabsTrigger = React9.forwardRef(
|
272
|
-
({ className, chipProps, withPopover = false, onPopoverClick, ...props }, ref) => {
|
273
|
-
const { orientation, variant } = React9.useContext(TabsContext);
|
274
|
-
if (withPopover) {
|
275
|
-
return /* @__PURE__ */ React9.createElement(Popover.Root, { open: props.showPopover }, /* @__PURE__ */ React9.createElement(Popover.Anchor, { asChild: true }, /* @__PURE__ */ React9.createElement(
|
276
|
-
TabsPrimitive.Trigger,
|
239
|
+
var TabsList = React9.forwardRef(
|
240
|
+
({ className, classNames, ...props }, ref) => {
|
241
|
+
const { orientation, variant, scrollable } = React9.useContext(TabsContext);
|
242
|
+
const { width } = useViewportSize();
|
243
|
+
if (scrollable && width < 768 && orientation === "horizontal") {
|
244
|
+
return /* @__PURE__ */ React9.createElement(ScrollArea, { orientation: "horizontal", className: classNames == null ? void 0 : classNames.scrollArea }, /* @__PURE__ */ React9.createElement(
|
245
|
+
TabsPrimitive.List,
|
277
246
|
{
|
247
|
+
ref,
|
278
248
|
className: cn(
|
279
|
-
|
280
|
-
"hawa-
|
249
|
+
tabsListVariant({ variant, orientation }),
|
250
|
+
"hawa-flex-row hawa-flex-nowrap",
|
281
251
|
className
|
282
252
|
),
|
283
253
|
...props
|
284
|
-
}
|
285
|
-
props.children,
|
286
|
-
chipProps && /* @__PURE__ */ React9.createElement(Chip, { ...chipProps })
|
287
|
-
)), /* @__PURE__ */ React9.createElement(
|
288
|
-
Popover.Content,
|
289
|
-
{
|
290
|
-
onClick: onPopoverClick,
|
291
|
-
asChild: true,
|
292
|
-
className: cn(
|
293
|
-
"dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
294
|
-
"hawa-arrow-default-top hawa-mt-2"
|
295
|
-
)
|
296
|
-
},
|
297
|
-
/* @__PURE__ */ React9.createElement("div", { className: "hawa-p-2" }, " ", props.popoverContent)
|
254
|
+
}
|
298
255
|
));
|
299
256
|
} else {
|
300
257
|
return /* @__PURE__ */ React9.createElement(
|
301
|
-
TabsPrimitive.
|
258
|
+
TabsPrimitive.List,
|
302
259
|
{
|
260
|
+
ref,
|
303
261
|
className: cn(
|
304
|
-
|
305
|
-
"hawa-
|
262
|
+
tabsListVariant({ variant, orientation }),
|
263
|
+
orientation === "vertical" ? "hawa-flex-col" : "hawa-flex-row",
|
264
|
+
"hawa-flex-wrap",
|
306
265
|
className
|
307
266
|
),
|
308
267
|
...props
|
309
|
-
}
|
310
|
-
props.children,
|
311
|
-
chipProps && /* @__PURE__ */ React9.createElement(Chip, { ...chipProps })
|
268
|
+
}
|
312
269
|
);
|
313
270
|
}
|
314
271
|
}
|
315
272
|
);
|
273
|
+
var TabsTrigger = React9.forwardRef(({ className, chipProps, withPopover = false, onPopoverClick, ...props }, ref) => {
|
274
|
+
const { orientation, variant } = React9.useContext(TabsContext);
|
275
|
+
if (withPopover) {
|
276
|
+
return /* @__PURE__ */ React9.createElement(Popover.Root, { open: props.showPopover }, /* @__PURE__ */ React9.createElement(Popover.Anchor, { asChild: true }, /* @__PURE__ */ React9.createElement(
|
277
|
+
TabsPrimitive.Trigger,
|
278
|
+
{
|
279
|
+
className: cn(tabsTriggerVariant({ variant, orientation }), "hawa-relative", className),
|
280
|
+
...props
|
281
|
+
},
|
282
|
+
props.children,
|
283
|
+
chipProps && /* @__PURE__ */ React9.createElement(Chip, { ...chipProps })
|
284
|
+
)), /* @__PURE__ */ React9.createElement(
|
285
|
+
Popover.Content,
|
286
|
+
{
|
287
|
+
onClick: onPopoverClick,
|
288
|
+
asChild: true,
|
289
|
+
className: cn(
|
290
|
+
"dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
291
|
+
"hawa-arrow-default-top hawa-mt-2"
|
292
|
+
)
|
293
|
+
},
|
294
|
+
/* @__PURE__ */ React9.createElement("div", { className: "hawa-p-2" }, " ", props.popoverContent)
|
295
|
+
));
|
296
|
+
} else {
|
297
|
+
return /* @__PURE__ */ React9.createElement(
|
298
|
+
TabsPrimitive.Trigger,
|
299
|
+
{
|
300
|
+
className: cn(tabsTriggerVariant({ variant, orientation }), "hawa-relative", className),
|
301
|
+
...props
|
302
|
+
},
|
303
|
+
props.children,
|
304
|
+
chipProps && /* @__PURE__ */ React9.createElement(Chip, { ...chipProps })
|
305
|
+
);
|
306
|
+
}
|
307
|
+
});
|
316
308
|
var TabsContent = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement(
|
317
309
|
TabsPrimitive.Content,
|
318
310
|
{
|