@sikka/hawa 0.26.19-next → 0.26.20
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 +10 -12
- package/dist/accordion/index.mjs +8 -8
- package/dist/alert/index.js +8 -7
- package/dist/alert/index.mjs +7 -6
- package/dist/appLayout/index.js +13 -12
- package/dist/appLayout/index.mjs +12 -11
- package/dist/appMenubar/index.js +4 -4
- package/dist/appMenubar/index.mjs +2 -2
- package/dist/appStores/index.js +2 -2
- package/dist/appStores/index.mjs +1 -1
- package/dist/appTabs/index.js +4 -4
- package/dist/appTabs/index.mjs +2 -2
- package/dist/appTopbar/index.js +6 -6
- package/dist/appTopbar/index.mjs +4 -4
- package/dist/avatar/index.js +5 -5
- package/dist/avatar/index.mjs +4 -4
- package/dist/backToTop/index.js +8 -7
- package/dist/backToTop/index.mjs +7 -6
- package/dist/badge/index.js +4 -4
- package/dist/badge/index.mjs +2 -2
- package/dist/blocks/auth/index.js +38 -37
- package/dist/blocks/auth/index.mjs +24 -24
- package/dist/blocks/feedback/index.js +27 -26
- package/dist/blocks/feedback/index.mjs +11 -11
- package/dist/blocks/index.js +77 -76
- package/dist/blocks/index.mjs +34 -34
- package/dist/blocks/misc/index.js +31 -30
- package/dist/blocks/misc/index.mjs +14 -14
- package/dist/blocks/pricing/index.js +123 -122
- package/dist/blocks/pricing/index.mjs +18 -18
- package/dist/breadcrumb/index.js +2 -2
- package/dist/breadcrumb/index.mjs +1 -1
- package/dist/button/index.js +6 -5
- package/dist/button/index.mjs +5 -4
- package/dist/card/index.js +4 -4
- package/dist/card/index.mjs +2 -2
- package/dist/carousel/index.d.mts +1 -1
- package/dist/carousel/index.d.ts +1 -1
- package/dist/carousel/index.js +9 -18
- package/dist/carousel/index.mjs +7 -16
- package/dist/checkbox/index.js +4 -4
- package/dist/checkbox/index.mjs +2 -2
- package/dist/chip/index.js +4 -4
- package/dist/chip/index.mjs +2 -2
- package/dist/{chunk-343SRWR4.mjs → chunk-3GBITBPL.mjs} +2 -2
- package/dist/{chunk-TTKRRN7S.mjs → chunk-4IOG44R3.mjs} +2 -2
- package/dist/{chunk-3N6JJKMN.mjs → chunk-65TG6EVD.mjs} +5 -4
- package/dist/{chunk-LT3VHLAG.mjs → chunk-APZM24KK.mjs} +2 -2
- package/dist/{chunk-FYH74ZRQ.mjs → chunk-AREFDTXK.mjs} +9 -8
- package/dist/{chunk-FNVYY7ND.mjs → chunk-D22AALLE.mjs} +1 -1
- package/dist/{chunk-OD5WIQGQ.mjs → chunk-FDKCMEMD.mjs} +2 -2
- package/dist/{chunk-KNHT2UBG.mjs → chunk-KMCIHW76.mjs} +2 -2
- package/dist/{chunk-M2ZS3EDT.mjs → chunk-OAXF3RCQ.mjs} +2 -2
- package/dist/chunk-OTGCLEKC.mjs +62 -0
- package/dist/{chunk-OE23TTPS.mjs → chunk-POIP5U4M.mjs} +3 -3
- package/dist/{chunk-EYUG3GRC.mjs → chunk-SJ2Z6ZOG.mjs} +4 -4
- package/dist/{chunk-WRZFWCOQ.mjs → chunk-TGZRVRLP.mjs} +4 -4
- package/dist/{chunk-TE3BKEXL.mjs → chunk-TWNGV3RE.mjs} +1 -1
- package/dist/{chunk-ATUSR6VI.mjs → chunk-U3TZWNDZ.mjs} +4 -4
- package/dist/{chunk-W77KCP35.mjs → chunk-VQQ6MUX5.mjs} +2 -2
- package/dist/{chunk-SUS6O2PO.mjs → chunk-WPSUV4AD.mjs} +21 -21
- package/dist/{chunk-3KMBSNM3.mjs → chunk-Z5SL5QTQ.mjs} +11 -10
- package/dist/{chunk-ZCZ3WARS.mjs → chunk-ZS3FB3PO.mjs} +1 -1
- package/dist/codeBlock/index.js +153 -2454
- package/dist/codeBlock/index.mjs +129 -2393
- package/dist/collapsible/index.js +2 -2
- package/dist/collapsible/index.mjs +1 -1
- package/dist/colorPicker/index.js +7 -7
- package/dist/colorPicker/index.mjs +126 -2
- package/dist/combobox/index.js +193 -193
- package/dist/combobox/index.mjs +8 -8
- package/dist/command/index.js +5 -5
- package/dist/command/index.mjs +1 -1
- package/dist/copyrights/index.js +2 -2
- package/dist/copyrights/index.mjs +1 -1
- package/dist/count/index.js +2 -2
- package/dist/count/index.mjs +1 -1
- package/dist/dataTable/index.js +16 -15
- package/dist/dataTable/index.mjs +15 -14
- package/dist/destroyableCard/index.js +6 -8
- package/dist/destroyableCard/index.mjs +4 -4
- package/dist/dialog/index.js +4 -4
- package/dist/dialog/index.mjs +2 -2
- package/dist/docsLayout/index.js +12 -11
- package/dist/docsLayout/index.mjs +11 -10
- package/dist/docsSidebar/index.js +4 -4
- package/dist/docsSidebar/index.mjs +2 -2
- package/dist/dropdownMenu/index.js +4 -4
- package/dist/dropdownMenu/index.mjs +2 -2
- package/dist/elements/index.d.mts +1 -1
- package/dist/elements/index.d.ts +1 -1
- package/dist/elements/index.js +155 -163
- package/dist/elements/index.mjs +47 -56
- package/dist/fileDropzone/index.js +10 -9
- package/dist/fileDropzone/index.mjs +9 -8
- package/dist/fileUploader/index.js +2 -2
- package/dist/fileUploader/index.mjs +1 -1
- package/dist/glow/index.js +2 -2
- package/dist/glow/index.mjs +1 -1
- package/dist/hooks/index.d.mts +7 -7
- package/dist/hooks/index.d.ts +7 -7
- package/dist/hooks/index.js +16 -16
- package/dist/hooks/index.mjs +14 -14
- package/dist/index.css +0 -465
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +213 -221
- package/dist/index.mjs +212 -220
- package/dist/input/index.js +8 -8
- package/dist/input/index.mjs +4 -4
- package/dist/interfaceSettings/index.js +9 -9
- package/dist/interfaceSettings/index.mjs +4 -4
- package/dist/label/index.js +5 -5
- package/dist/label/index.mjs +4 -4
- package/dist/layout/index.d.mts +1 -1
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.js +31 -30
- package/dist/layout/index.mjs +16 -16
- package/dist/loading/index.js +4 -4
- package/dist/loading/index.mjs +2 -2
- package/dist/logos/index.js +2 -2
- package/dist/logos/index.mjs +1 -1
- package/dist/navbar/index.js +5 -5
- package/dist/navbar/index.mjs +4 -4
- package/dist/navigationMenu/index.js +4 -4
- package/dist/navigationMenu/index.mjs +2 -2
- package/dist/pagination/index.js +4 -4
- package/dist/pagination/index.mjs +2 -2
- package/dist/passwordInput/index.js +15 -15
- package/dist/passwordInput/index.mjs +13 -13
- package/dist/phoneInput/index.js +11 -11
- package/dist/phoneInput/index.mjs +10 -10
- package/dist/pinInput/index.js +4 -4
- package/dist/pinInput/index.mjs +2 -2
- package/dist/popover/index.js +4 -4
- package/dist/popover/index.mjs +2 -2
- package/dist/progress/index.js +4 -4
- package/dist/progress/index.mjs +2 -2
- package/dist/progressCircle/index.js +4 -4
- package/dist/progressCircle/index.mjs +2 -2
- package/dist/radio/index.js +7 -7
- package/dist/radio/index.mjs +6 -6
- package/dist/scrollArea/index.js +4 -4
- package/dist/scrollArea/index.mjs +2 -2
- package/dist/scrollIndicator/index.js +2 -2
- package/dist/scrollIndicator/index.mjs +1 -1
- package/dist/select/index.js +8 -8
- package/dist/select/index.mjs +7 -7
- package/dist/separator/index.js +4 -4
- package/dist/separator/index.mjs +2 -2
- package/dist/sheet/index.js +4 -4
- package/dist/sheet/index.mjs +2 -2
- package/dist/sidebar/index.js +6 -6
- package/dist/sidebar/index.mjs +4 -4
- package/dist/signature/index.js +8 -8
- package/dist/signature/index.mjs +6 -6
- package/dist/simpleTable/index.js +6 -6
- package/dist/simpleTable/index.mjs +5 -5
- package/dist/skeleton/index.js +4 -4
- package/dist/skeleton/index.mjs +2 -2
- package/dist/slider/index.js +4 -4
- package/dist/slider/index.mjs +2 -2
- package/dist/sortButton/index.js +8 -7
- package/dist/sortButton/index.mjs +2 -2
- package/dist/splitButton/index.js +9 -8
- package/dist/splitButton/index.mjs +4 -4
- package/dist/stats/index.js +7 -7
- package/dist/stats/index.mjs +6 -6
- package/dist/stopPropagationWrapper/index.js +2 -2
- package/dist/stopPropagationWrapper/index.mjs +1 -1
- package/dist/switch/index.js +4 -4
- package/dist/switch/index.mjs +2 -2
- package/dist/table/index.js +4 -4
- package/dist/table/index.mjs +2 -2
- package/dist/tabs/index.js +5 -5
- package/dist/tabs/index.mjs +4 -4
- package/dist/textarea/index.js +7 -7
- package/dist/textarea/index.mjs +6 -6
- package/dist/toast/index.js +4 -4
- package/dist/toast/index.mjs +2 -2
- package/dist/toaster/index.js +6 -6
- package/dist/toaster/index.mjs +5 -5
- package/dist/tooltip/index.js +4 -4
- package/dist/tooltip/index.mjs +3 -3
- package/dist/types/index.js +1 -1
- package/package.json +16 -42
- package/README.md +0 -107
- package/dist/chunk-S36W2LDN.mjs +0 -189
package/dist/elements/index.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
useClipboard,
|
3
3
|
useToast
|
4
|
-
} from "../chunk-
|
4
|
+
} from "../chunk-3GBITBPL.mjs";
|
5
5
|
import {
|
6
6
|
Alert,
|
7
7
|
CheckMark,
|
@@ -28,7 +28,7 @@ import {
|
|
28
28
|
TabsTrigger,
|
29
29
|
Textarea,
|
30
30
|
UncheckMark
|
31
|
-
} from "../chunk-
|
31
|
+
} from "../chunk-WPSUV4AD.mjs";
|
32
32
|
import {
|
33
33
|
Sheet,
|
34
34
|
SheetClose,
|
@@ -40,7 +40,7 @@ import {
|
|
40
40
|
SheetPortal,
|
41
41
|
SheetTitle,
|
42
42
|
SheetTrigger
|
43
|
-
} from "../chunk-
|
43
|
+
} from "../chunk-VQQ6MUX5.mjs";
|
44
44
|
import {
|
45
45
|
Button,
|
46
46
|
Card,
|
@@ -73,13 +73,13 @@ import {
|
|
73
73
|
Tooltip,
|
74
74
|
buttonVariants,
|
75
75
|
cn
|
76
|
-
} from "../chunk-
|
76
|
+
} from "../chunk-Z5SL5QTQ.mjs";
|
77
77
|
|
78
|
-
//
|
78
|
+
// elements/accordion/Accordion.tsx
|
79
79
|
import * as React3 from "react";
|
80
80
|
import * as AccordionPrimitive3 from "@radix-ui/react-accordion";
|
81
81
|
|
82
|
-
//
|
82
|
+
// elements/accordion/AccordionContent.tsx
|
83
83
|
import * as React from "react";
|
84
84
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
85
85
|
var AccordionContent = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
@@ -96,7 +96,7 @@ var AccordionContent = React.forwardRef(({ className, children, ...props }, ref)
|
|
96
96
|
));
|
97
97
|
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
|
98
98
|
|
99
|
-
//
|
99
|
+
// elements/accordion/AccordionTrigger.tsx
|
100
100
|
import * as React2 from "react";
|
101
101
|
import * as AccordionPrimitive2 from "@radix-ui/react-accordion";
|
102
102
|
var AccordionTrigger = React2.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React2.createElement(AccordionPrimitive2.Header, { className: "hawa-flex" }, /* @__PURE__ */ React2.createElement(
|
@@ -130,7 +130,7 @@ var AccordionTrigger = React2.forwardRef(({ className, children, ...props }, ref
|
|
130
130
|
)));
|
131
131
|
AccordionTrigger.displayName = AccordionPrimitive2.Trigger.displayName;
|
132
132
|
|
133
|
-
//
|
133
|
+
// elements/accordion/Accordion.tsx
|
134
134
|
var Accordion = React3.forwardRef(
|
135
135
|
({
|
136
136
|
items,
|
@@ -201,17 +201,17 @@ var Accordion = React3.forwardRef(
|
|
201
201
|
);
|
202
202
|
Accordion.displayName = "Accordion";
|
203
203
|
|
204
|
-
//
|
204
|
+
// elements/accordion/AccordionItem.tsx
|
205
205
|
import * as React4 from "react";
|
206
206
|
import * as AccordionPrimitive4 from "@radix-ui/react-accordion";
|
207
207
|
var AccordionItem = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React4.createElement(AccordionPrimitive4.Item, { ref, className: cn(className), ...props }));
|
208
208
|
AccordionItem.displayName = "AccordionItem";
|
209
209
|
|
210
|
-
//
|
210
|
+
// elements/accordion/AccordionRoot.tsx
|
211
211
|
import * as AccordionPrimitive5 from "@radix-ui/react-accordion";
|
212
212
|
var AccordionRoot = AccordionPrimitive5.Root;
|
213
213
|
|
214
|
-
//
|
214
|
+
// elements/navigationMenu/NavigationMenu.tsx
|
215
215
|
import * as React5 from "react";
|
216
216
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
217
217
|
import { cva } from "class-variance-authority";
|
@@ -364,7 +364,7 @@ NavigationMenuRoot.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
364
364
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
365
365
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
366
366
|
|
367
|
-
//
|
367
|
+
// elements/dialog/Dialog.tsx
|
368
368
|
import * as React6 from "react";
|
369
369
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
370
370
|
var Dialog = DialogPrimitive.Root;
|
@@ -660,10 +660,10 @@ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
660
660
|
DialogContent.displayName = DialogPrimitive.Content.displayName;
|
661
661
|
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
662
662
|
|
663
|
-
//
|
663
|
+
// elements/avatar/Avatar.tsx
|
664
664
|
import React8 from "react";
|
665
665
|
|
666
|
-
//
|
666
|
+
// elements/fileUploader/FileUploader.tsx
|
667
667
|
import React7, { useRef } from "react";
|
668
668
|
var FileUploader = ({ handleFile, className }) => {
|
669
669
|
const hiddenFileInput = useRef(null);
|
@@ -686,7 +686,7 @@ var FileUploader = ({ handleFile, className }) => {
|
|
686
686
|
));
|
687
687
|
};
|
688
688
|
|
689
|
-
//
|
689
|
+
// elements/avatar/Avatar.tsx
|
690
690
|
var Avatar = ({
|
691
691
|
isUploadable,
|
692
692
|
src,
|
@@ -776,7 +776,7 @@ var Avatar = ({
|
|
776
776
|
);
|
777
777
|
};
|
778
778
|
|
779
|
-
//
|
779
|
+
// elements/dataTable/DataTable.tsx
|
780
780
|
import * as React10 from "react";
|
781
781
|
import {
|
782
782
|
flexRender,
|
@@ -788,7 +788,7 @@ import {
|
|
788
788
|
useReactTable
|
789
789
|
} from "@tanstack/react-table";
|
790
790
|
|
791
|
-
//
|
791
|
+
// elements/table/Table.tsx
|
792
792
|
import * as React9 from "react";
|
793
793
|
var Table = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React9.createElement(
|
794
794
|
"table",
|
@@ -898,7 +898,7 @@ var TableCaption = React9.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
898
898
|
));
|
899
899
|
TableCaption.displayName = "TableCaption";
|
900
900
|
|
901
|
-
//
|
901
|
+
// elements/dataTable/DataTable.tsx
|
902
902
|
var DataTable = ({
|
903
903
|
columns,
|
904
904
|
data,
|
@@ -1223,7 +1223,7 @@ var DataTable = ({
|
|
1223
1223
|
));
|
1224
1224
|
};
|
1225
1225
|
|
1226
|
-
//
|
1226
|
+
// elements/backToTop/BackToTop.tsx
|
1227
1227
|
import React11, { useState as useState3, useEffect as useEffect2, useRef as useRef2 } from "react";
|
1228
1228
|
var BackToTop = ({ ...props }) => {
|
1229
1229
|
const [visible, setVisible] = useState3(false);
|
@@ -1320,11 +1320,11 @@ var BackToTop = ({ ...props }) => {
|
|
1320
1320
|
);
|
1321
1321
|
};
|
1322
1322
|
|
1323
|
-
//
|
1323
|
+
// elements/combobox/Combobox.tsx
|
1324
1324
|
import * as React13 from "react";
|
1325
1325
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
1326
1326
|
|
1327
|
-
//
|
1327
|
+
// elements/command/Command.tsx
|
1328
1328
|
import * as React12 from "react";
|
1329
1329
|
import { Command as CommandPrimitive } from "cmdk";
|
1330
1330
|
var Command = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
|
@@ -1450,7 +1450,7 @@ var CommandShortcut = ({
|
|
1450
1450
|
};
|
1451
1451
|
CommandShortcut.displayName = "CommandShortcut";
|
1452
1452
|
|
1453
|
-
//
|
1453
|
+
// elements/combobox/Combobox.tsx
|
1454
1454
|
var Combobox = React13.forwardRef(
|
1455
1455
|
({
|
1456
1456
|
labelKey = "label",
|
@@ -1588,7 +1588,7 @@ var Combobox = React13.forwardRef(
|
|
1588
1588
|
}
|
1589
1589
|
);
|
1590
1590
|
|
1591
|
-
//
|
1591
|
+
// elements/fileDropzone/FileDropzone.tsx
|
1592
1592
|
import React14, { useEffect as useEffect3, useState as useState5 } from "react";
|
1593
1593
|
import { useDropzone } from "react-dropzone";
|
1594
1594
|
import clsx from "clsx";
|
@@ -1809,7 +1809,7 @@ var FileDropzone = ({
|
|
1809
1809
|
)));
|
1810
1810
|
};
|
1811
1811
|
|
1812
|
-
//
|
1812
|
+
// elements/sortButton/SortButton.tsx
|
1813
1813
|
import React15 from "react";
|
1814
1814
|
var SortButton = (props) => {
|
1815
1815
|
return /* @__PURE__ */ React15.createElement(
|
@@ -1844,7 +1844,7 @@ var SortButton = (props) => {
|
|
1844
1844
|
);
|
1845
1845
|
};
|
1846
1846
|
|
1847
|
-
//
|
1847
|
+
// elements/switch/Switch.tsx
|
1848
1848
|
import * as React16 from "react";
|
1849
1849
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
1850
1850
|
var Switch = React16.forwardRef(
|
@@ -1921,7 +1921,7 @@ var Switch = React16.forwardRef(
|
|
1921
1921
|
);
|
1922
1922
|
Switch.displayName = SwitchPrimitives.Root.displayName;
|
1923
1923
|
|
1924
|
-
//
|
1924
|
+
// elements/breadcrumb/Breadcrumb.tsx
|
1925
1925
|
import React17 from "react";
|
1926
1926
|
var Breadcrumb = ({
|
1927
1927
|
breadcrumbLinks,
|
@@ -1945,7 +1945,7 @@ var Breadcrumb = ({
|
|
1945
1945
|
)));
|
1946
1946
|
};
|
1947
1947
|
|
1948
|
-
//
|
1948
|
+
// elements/appStores/AppStores.tsx
|
1949
1949
|
import React18 from "react";
|
1950
1950
|
var AppStores = (props) => {
|
1951
1951
|
return /* @__PURE__ */ React18.createElement("div", { className: "hawa-flex hawa-justify-center" }, /* @__PURE__ */ React18.createElement("div", null, props.store === "apple" ? /* @__PURE__ */ React18.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ React18.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React18.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ React18.createElement(
|
@@ -1981,7 +1981,7 @@ var AppStores = (props) => {
|
|
1981
1981
|
))), /* @__PURE__ */ React18.createElement("div", null, /* @__PURE__ */ React18.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ React18.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-xl hawa-font-semibold" }, "Google Play")))));
|
1982
1982
|
};
|
1983
1983
|
|
1984
|
-
//
|
1984
|
+
// elements/badge/Badge.tsx
|
1985
1985
|
import React19, { useEffect as useEffect5, useState as useState7, useRef as useRef4 } from "react";
|
1986
1986
|
var Badge = ({
|
1987
1987
|
anchor,
|
@@ -2058,7 +2058,7 @@ var BadgedComponent = ({
|
|
2058
2058
|
), children);
|
2059
2059
|
};
|
2060
2060
|
|
2061
|
-
//
|
2061
|
+
// elements/colorPicker/ColorPicker.tsx
|
2062
2062
|
import React20, {
|
2063
2063
|
useState as useState8,
|
2064
2064
|
useEffect as useEffect6
|
@@ -2136,7 +2136,7 @@ var ColorPicker = ({
|
|
2136
2136
|
));
|
2137
2137
|
};
|
2138
2138
|
|
2139
|
-
//
|
2139
|
+
// elements/progressCircle/ProgressCircle.tsx
|
2140
2140
|
import React21 from "react";
|
2141
2141
|
var size2config = {
|
2142
2142
|
xs: {
|
@@ -2247,7 +2247,7 @@ var ProgressCircle = React21.forwardRef((props, ref) => {
|
|
2247
2247
|
});
|
2248
2248
|
ProgressCircle.displayName = "ProgressCircle";
|
2249
2249
|
|
2250
|
-
//
|
2250
|
+
// elements/pagination/Pagination.tsx
|
2251
2251
|
import React22 from "react";
|
2252
2252
|
import { Pagination as PaginationPrimitive } from "react-headless-pagination";
|
2253
2253
|
var Pagination = ({
|
@@ -2359,7 +2359,7 @@ var Pagination = ({
|
|
2359
2359
|
);
|
2360
2360
|
};
|
2361
2361
|
|
2362
|
-
//
|
2362
|
+
// elements/passwordInput/PasswordInput.tsx
|
2363
2363
|
import React23, { useEffect as useEffect7, useState as useState9 } from "react";
|
2364
2364
|
var PasswordStrengthIndicator = ({ strength }) => {
|
2365
2365
|
const strengthLevels = [
|
@@ -2493,7 +2493,7 @@ var PasswordInput = ({
|
|
2493
2493
|
), /* @__PURE__ */ React23.createElement(PasswordStrengthIndicator, { strength: currentStr }));
|
2494
2494
|
};
|
2495
2495
|
|
2496
|
-
//
|
2496
|
+
// elements/slider/Slider.tsx
|
2497
2497
|
import * as React24 from "react";
|
2498
2498
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
2499
2499
|
var Slider = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React24.createElement(
|
@@ -2511,7 +2511,7 @@ var Slider = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
2511
2511
|
));
|
2512
2512
|
Slider.displayName = SliderPrimitive.Root.displayName;
|
2513
2513
|
|
2514
|
-
//
|
2514
|
+
// elements/simpleTable/SimpleTable.tsx
|
2515
2515
|
import * as React25 from "react";
|
2516
2516
|
import {
|
2517
2517
|
flexRender as flexRender2,
|
@@ -2583,7 +2583,7 @@ var SimpleTable = ({
|
|
2583
2583
|
);
|
2584
2584
|
};
|
2585
2585
|
|
2586
|
-
//
|
2586
|
+
// elements/scrollIndicator/ScrollIndicator.tsx
|
2587
2587
|
import React26, { useState as useState10, useEffect as useEffect8 } from "react";
|
2588
2588
|
var ScrollIndicator = ({
|
2589
2589
|
anchor,
|
@@ -2624,7 +2624,7 @@ var ScrollIndicator = ({
|
|
2624
2624
|
);
|
2625
2625
|
};
|
2626
2626
|
|
2627
|
-
//
|
2627
|
+
// elements/codeBlock/CodeBlock.tsx
|
2628
2628
|
import React27, { useState as useState11 } from "react";
|
2629
2629
|
import { Highlight, themes } from "prism-react-renderer";
|
2630
2630
|
var CodeBlock = ({
|
@@ -2759,7 +2759,7 @@ var CodeBlock = ({
|
|
2759
2759
|
);
|
2760
2760
|
};
|
2761
2761
|
|
2762
|
-
//
|
2762
|
+
// elements/carousel/Carousel.tsx
|
2763
2763
|
import React28, { useEffect as useEffect10, useState as useState12 } from "react";
|
2764
2764
|
import useEmblaCarousel from "embla-carousel-react";
|
2765
2765
|
var Carousel = ({
|
@@ -2770,10 +2770,9 @@ var Carousel = ({
|
|
2770
2770
|
autoplayInterval = 3e3,
|
2771
2771
|
...props
|
2772
2772
|
}) => {
|
2773
|
-
const { loop } = options;
|
2774
2773
|
const [emblaRef, emblaApi] = useEmblaCarousel({
|
2775
2774
|
...options,
|
2776
|
-
loop: autoplay ? true : loop || false
|
2775
|
+
loop: autoplay ? true : (options == null ? void 0 : options.loop) || false
|
2777
2776
|
});
|
2778
2777
|
const [selectedIndex, setSelectedIndex] = useState12(0);
|
2779
2778
|
useEffect10(() => {
|
@@ -2832,12 +2831,12 @@ var Dots = ({ onDotClick, itemsLength, selectedIndex }) => {
|
|
2832
2831
|
return /* @__PURE__ */ React28.createElement(
|
2833
2832
|
"div",
|
2834
2833
|
{
|
2834
|
+
key: index,
|
2835
2835
|
onClick: () => onDotClick(index),
|
2836
2836
|
className: cn(
|
2837
2837
|
"hawa-h-2 hawa-rounded-full hawa-bg-primary hawa-transition-all hawa-duration-300 hover:hawa-cursor-pointer",
|
2838
2838
|
!selected ? "hawa-w-2 hawa-opacity-50" : "hawa-w-6 hawa-opacity-100"
|
2839
|
-
)
|
2840
|
-
key: index
|
2839
|
+
)
|
2841
2840
|
}
|
2842
2841
|
);
|
2843
2842
|
}));
|
@@ -2846,11 +2845,7 @@ var CarouselControls = (props) => {
|
|
2846
2845
|
return /* @__PURE__ */ React28.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2 " }, /* @__PURE__ */ React28.createElement(
|
2847
2846
|
"button",
|
2848
2847
|
{
|
2849
|
-
onClick: () =>
|
2850
|
-
if (props.canScrollPrev) {
|
2851
|
-
props.onPrev();
|
2852
|
-
}
|
2853
|
-
},
|
2848
|
+
onClick: () => props.canScrollPrev && props.onPrev(),
|
2854
2849
|
disabled: !props.canScrollPrev,
|
2855
2850
|
className: cn(
|
2856
2851
|
"hawa-absolute hawa-start-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white ",
|
@@ -2872,11 +2867,7 @@ var CarouselControls = (props) => {
|
|
2872
2867
|
), /* @__PURE__ */ React28.createElement(
|
2873
2868
|
"button",
|
2874
2869
|
{
|
2875
|
-
onClick: () =>
|
2876
|
-
if (props.canScrollNext) {
|
2877
|
-
props.onNext();
|
2878
|
-
}
|
2879
|
-
},
|
2870
|
+
onClick: () => props.canScrollNext && props.onNext(),
|
2880
2871
|
disabled: !props.canScrollNext,
|
2881
2872
|
className: cn(
|
2882
2873
|
"hawa-absolute hawa-end-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white ",
|
@@ -2898,13 +2889,13 @@ var CarouselControls = (props) => {
|
|
2898
2889
|
));
|
2899
2890
|
};
|
2900
2891
|
|
2901
|
-
//
|
2892
|
+
// elements/count/Count.tsx
|
2902
2893
|
import React29 from "react";
|
2903
2894
|
var Count = (props) => {
|
2904
2895
|
return /* @__PURE__ */ React29.createElement("div", { className: "hawa-flex hawa-h-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-px-2" }, /* @__PURE__ */ React29.createElement("div", null, props.icon), /* @__PURE__ */ React29.createElement("div", { className: "hawa-text-sm" }, props.count));
|
2905
2896
|
};
|
2906
2897
|
|
2907
|
-
//
|
2898
|
+
// elements/toast/Toast.tsx
|
2908
2899
|
import * as React30 from "react";
|
2909
2900
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
2910
2901
|
import { cva as cva2 } from "class-variance-authority";
|
@@ -3041,7 +3032,7 @@ var ToastDescription = React30.forwardRef(({ className, size = "default", ...pro
|
|
3041
3032
|
));
|
3042
3033
|
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
3043
3034
|
|
3044
|
-
//
|
3035
|
+
// elements/toaster/Toaster.tsx
|
3045
3036
|
import React31 from "react";
|
3046
3037
|
function Toaster(props) {
|
3047
3038
|
const { toasts } = useToast();
|
@@ -3084,7 +3075,7 @@ function Toaster(props) {
|
|
3084
3075
|
));
|
3085
3076
|
}
|
3086
3077
|
|
3087
|
-
//
|
3078
|
+
// elements/destroyableCard/DestroyableCard.tsx
|
3088
3079
|
import React32, { useRef as useRef5, useState as useState13 } from "react";
|
3089
3080
|
var DestroyableCard = ({
|
3090
3081
|
position = "bottom-right",
|
@@ -3158,7 +3149,7 @@ var DestroyableCard = ({
|
|
3158
3149
|
);
|
3159
3150
|
};
|
3160
3151
|
|
3161
|
-
//
|
3152
|
+
// elements/interfaceSettings/InterfaceSettings.tsx
|
3162
3153
|
import React33, { useState as useState14 } from "react";
|
3163
3154
|
var InterfaceSettings = ({
|
3164
3155
|
orientation = "horizontal",
|
@@ -27,33 +27,33 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
29
|
|
30
|
-
//
|
30
|
+
// elements/fileDropzone/index.ts
|
31
31
|
var fileDropzone_exports = {};
|
32
32
|
__export(fileDropzone_exports, {
|
33
33
|
FileDropzone: () => FileDropzone
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(fileDropzone_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// elements/fileDropzone/FileDropzone.tsx
|
38
38
|
var import_react3 = __toESM(require("react"));
|
39
39
|
var import_react_dropzone = require("react-dropzone");
|
40
40
|
var import_clsx2 = __toESM(require("clsx"));
|
41
41
|
|
42
|
-
//
|
42
|
+
// elements/alert/Alert.tsx
|
43
43
|
var import_react2 = __toESM(require("react"));
|
44
44
|
|
45
|
-
//
|
45
|
+
// util/index.ts
|
46
46
|
var import_clsx = require("clsx");
|
47
47
|
var import_tailwind_merge = require("tailwind-merge");
|
48
48
|
function cn(...inputs) {
|
49
49
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
50
50
|
}
|
51
51
|
|
52
|
-
//
|
52
|
+
// elements/button/Button.tsx
|
53
53
|
var React2 = __toESM(require("react"));
|
54
54
|
var import_class_variance_authority = require("class-variance-authority");
|
55
55
|
|
56
|
-
//
|
56
|
+
// elements/loading/Loading.tsx
|
57
57
|
var import_react = __toESM(require("react"));
|
58
58
|
var Loading = ({
|
59
59
|
design = "spinner",
|
@@ -230,7 +230,7 @@ var Loading = ({
|
|
230
230
|
}
|
231
231
|
};
|
232
232
|
|
233
|
-
//
|
233
|
+
// elements/button/Button.tsx
|
234
234
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
235
235
|
"hawa-inline-flex hawa-items-center hawa-select-none hawa-rounded-md hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-colors 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",
|
236
236
|
{
|
@@ -283,6 +283,7 @@ var Button = React2.forwardRef(
|
|
283
283
|
className: cn(
|
284
284
|
buttonVariants({ variant, size, className }),
|
285
285
|
centered && "hawa-justify-center"
|
286
|
+
// "hawa-bg-red-500"
|
286
287
|
),
|
287
288
|
ref,
|
288
289
|
...props
|
@@ -301,7 +302,7 @@ var Button = React2.forwardRef(
|
|
301
302
|
);
|
302
303
|
Button.displayName = "Button";
|
303
304
|
|
304
|
-
//
|
305
|
+
// elements/alert/Alert.tsx
|
305
306
|
var Alert = ({
|
306
307
|
variant = "normal",
|
307
308
|
direction = "ltr",
|
@@ -441,7 +442,7 @@ var Alert = ({
|
|
441
442
|
));
|
442
443
|
};
|
443
444
|
|
444
|
-
//
|
445
|
+
// elements/fileDropzone/FileDropzone.tsx
|
445
446
|
var FileDropzone = ({
|
446
447
|
texts,
|
447
448
|
files,
|
@@ -1,20 +1,20 @@
|
|
1
1
|
import {
|
2
2
|
cn
|
3
|
-
} from "../chunk-
|
3
|
+
} from "../chunk-TWNGV3RE.mjs";
|
4
4
|
|
5
|
-
//
|
5
|
+
// elements/fileDropzone/FileDropzone.tsx
|
6
6
|
import React4, { useEffect as useEffect2, useState as useState2 } from "react";
|
7
7
|
import { useDropzone } from "react-dropzone";
|
8
8
|
import clsx from "clsx";
|
9
9
|
|
10
|
-
//
|
10
|
+
// elements/alert/Alert.tsx
|
11
11
|
import React3, { useRef, useState, useEffect } from "react";
|
12
12
|
|
13
|
-
//
|
13
|
+
// elements/button/Button.tsx
|
14
14
|
import * as React2 from "react";
|
15
15
|
import { cva } from "class-variance-authority";
|
16
16
|
|
17
|
-
//
|
17
|
+
// elements/loading/Loading.tsx
|
18
18
|
import React from "react";
|
19
19
|
var Loading = ({
|
20
20
|
design = "spinner",
|
@@ -191,7 +191,7 @@ var Loading = ({
|
|
191
191
|
}
|
192
192
|
};
|
193
193
|
|
194
|
-
//
|
194
|
+
// elements/button/Button.tsx
|
195
195
|
var buttonVariants = cva(
|
196
196
|
"hawa-inline-flex hawa-items-center hawa-select-none hawa-rounded-md hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-colors 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",
|
197
197
|
{
|
@@ -244,6 +244,7 @@ var Button = React2.forwardRef(
|
|
244
244
|
className: cn(
|
245
245
|
buttonVariants({ variant, size, className }),
|
246
246
|
centered && "hawa-justify-center"
|
247
|
+
// "hawa-bg-red-500"
|
247
248
|
),
|
248
249
|
ref,
|
249
250
|
...props
|
@@ -262,7 +263,7 @@ var Button = React2.forwardRef(
|
|
262
263
|
);
|
263
264
|
Button.displayName = "Button";
|
264
265
|
|
265
|
-
//
|
266
|
+
// elements/alert/Alert.tsx
|
266
267
|
var Alert = ({
|
267
268
|
variant = "normal",
|
268
269
|
direction = "ltr",
|
@@ -402,7 +403,7 @@ var Alert = ({
|
|
402
403
|
));
|
403
404
|
};
|
404
405
|
|
405
|
-
//
|
406
|
+
// elements/fileDropzone/FileDropzone.tsx
|
406
407
|
var FileDropzone = ({
|
407
408
|
texts,
|
408
409
|
files,
|
@@ -27,14 +27,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
29
|
|
30
|
-
//
|
30
|
+
// elements/fileUploader/index.ts
|
31
31
|
var fileUploader_exports = {};
|
32
32
|
__export(fileUploader_exports, {
|
33
33
|
FileUploader: () => FileUploader
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(fileUploader_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// elements/fileUploader/FileUploader.tsx
|
38
38
|
var import_react = __toESM(require("react"));
|
39
39
|
var FileUploader = ({ handleFile, className }) => {
|
40
40
|
const hiddenFileInput = (0, import_react.useRef)(null);
|
package/dist/glow/index.js
CHANGED
@@ -27,7 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
29
|
|
30
|
-
//
|
30
|
+
// elements/glow/index.ts
|
31
31
|
var glow_exports = {};
|
32
32
|
__export(glow_exports, {
|
33
33
|
Glow: () => Glow,
|
@@ -35,7 +35,7 @@ __export(glow_exports, {
|
|
35
35
|
});
|
36
36
|
module.exports = __toCommonJS(glow_exports);
|
37
37
|
|
38
|
-
//
|
38
|
+
// elements/glow/Glow.tsx
|
39
39
|
var import_react = __toESM(require("react"));
|
40
40
|
var GlowCapture = ({ className = "", size = 400, ...rest }) => {
|
41
41
|
const element = (0, import_react.useRef)(null);
|
package/dist/glow/index.mjs
CHANGED
package/dist/hooks/index.d.mts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import * as React$1 from 'react';
|
2
2
|
import React__default, { useLayoutEffect } from 'react';
|
3
3
|
import { T as ToastProps, a as ToastActionElement } from '../Toast-VBd4UvlM.mjs';
|
4
|
-
import * as embla_carousel from 'embla-carousel';
|
5
4
|
import 'class-variance-authority/types';
|
6
5
|
import '@radix-ui/react-toast';
|
7
6
|
import 'class-variance-authority';
|
@@ -53,13 +52,14 @@ declare function useToast(): {
|
|
53
52
|
toasts: ToasterToast[];
|
54
53
|
};
|
55
54
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
55
|
+
type DialogCarouselType = {
|
56
|
+
canScrollPrev?: any;
|
57
|
+
emblaRef?: any;
|
58
|
+
emblaApi?: any;
|
59
|
+
nextStep?: any;
|
60
|
+
prevStep?: any;
|
62
61
|
};
|
62
|
+
declare const useDialogCarousel: (options?: any) => DialogCarouselType;
|
63
63
|
|
64
64
|
declare const useMultiStepDialog: (initialStep: any, stepIds: any[], setOpenDialog: any) => {
|
65
65
|
currentStep: any;
|
package/dist/hooks/index.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import * as React$1 from 'react';
|
2
2
|
import React__default, { useLayoutEffect } from 'react';
|
3
3
|
import { T as ToastProps, a as ToastActionElement } from '../Toast-pOd4uGZz.js';
|
4
|
-
import * as embla_carousel from 'embla-carousel';
|
5
4
|
import 'class-variance-authority/types';
|
6
5
|
import '@radix-ui/react-toast';
|
7
6
|
import 'class-variance-authority';
|
@@ -53,13 +52,14 @@ declare function useToast(): {
|
|
53
52
|
toasts: ToasterToast[];
|
54
53
|
};
|
55
54
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
55
|
+
type DialogCarouselType = {
|
56
|
+
canScrollPrev?: any;
|
57
|
+
emblaRef?: any;
|
58
|
+
emblaApi?: any;
|
59
|
+
nextStep?: any;
|
60
|
+
prevStep?: any;
|
62
61
|
};
|
62
|
+
declare const useDialogCarousel: (options?: any) => DialogCarouselType;
|
63
63
|
|
64
64
|
declare const useMultiStepDialog: (initialStep: any, stepIds: any[], setOpenDialog: any) => {
|
65
65
|
currentStep: any;
|