@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/slider/index.js
CHANGED
@@ -27,25 +27,25 @@ 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/slider/index.ts
|
31
31
|
var slider_exports = {};
|
32
32
|
__export(slider_exports, {
|
33
33
|
Slider: () => Slider
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(slider_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// elements/slider/Slider.tsx
|
38
38
|
var React = __toESM(require("react"));
|
39
39
|
var SliderPrimitive = __toESM(require("@radix-ui/react-slider"));
|
40
40
|
|
41
|
-
//
|
41
|
+
// util/index.ts
|
42
42
|
var import_clsx = require("clsx");
|
43
43
|
var import_tailwind_merge = require("tailwind-merge");
|
44
44
|
function cn(...inputs) {
|
45
45
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
46
46
|
}
|
47
47
|
|
48
|
-
//
|
48
|
+
// elements/slider/Slider.tsx
|
49
49
|
var Slider = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
50
50
|
SliderPrimitive.Root,
|
51
51
|
{
|
package/dist/slider/index.mjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import {
|
2
2
|
cn
|
3
|
-
} from "../chunk-
|
3
|
+
} from "../chunk-TWNGV3RE.mjs";
|
4
4
|
|
5
|
-
//
|
5
|
+
// elements/slider/Slider.tsx
|
6
6
|
import * as React from "react";
|
7
7
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
8
8
|
var Slider = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
package/dist/sortButton/index.js
CHANGED
@@ -27,28 +27,28 @@ 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/sortButton/index.ts
|
31
31
|
var sortButton_exports = {};
|
32
32
|
__export(sortButton_exports, {
|
33
33
|
SortButton: () => SortButton
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(sortButton_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// elements/sortButton/SortButton.tsx
|
38
38
|
var import_react2 = __toESM(require("react"));
|
39
39
|
|
40
|
-
//
|
40
|
+
// util/index.ts
|
41
41
|
var import_clsx = require("clsx");
|
42
42
|
var import_tailwind_merge = require("tailwind-merge");
|
43
43
|
function cn(...inputs) {
|
44
44
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
45
45
|
}
|
46
46
|
|
47
|
-
//
|
47
|
+
// elements/button/Button.tsx
|
48
48
|
var React2 = __toESM(require("react"));
|
49
49
|
var import_class_variance_authority = require("class-variance-authority");
|
50
50
|
|
51
|
-
//
|
51
|
+
// elements/loading/Loading.tsx
|
52
52
|
var import_react = __toESM(require("react"));
|
53
53
|
var Loading = ({
|
54
54
|
design = "spinner",
|
@@ -225,7 +225,7 @@ var Loading = ({
|
|
225
225
|
}
|
226
226
|
};
|
227
227
|
|
228
|
-
//
|
228
|
+
// elements/button/Button.tsx
|
229
229
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
230
230
|
"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",
|
231
231
|
{
|
@@ -278,6 +278,7 @@ var Button = React2.forwardRef(
|
|
278
278
|
className: cn(
|
279
279
|
buttonVariants({ variant, size, className }),
|
280
280
|
centered && "hawa-justify-center"
|
281
|
+
// "hawa-bg-red-500"
|
281
282
|
),
|
282
283
|
ref,
|
283
284
|
...props
|
@@ -296,7 +297,7 @@ var Button = React2.forwardRef(
|
|
296
297
|
);
|
297
298
|
Button.displayName = "Button";
|
298
299
|
|
299
|
-
//
|
300
|
+
// elements/sortButton/SortButton.tsx
|
300
301
|
var SortButton = (props) => {
|
301
302
|
return /* @__PURE__ */ import_react2.default.createElement(
|
302
303
|
Button,
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import {
|
2
2
|
Button,
|
3
3
|
cn
|
4
|
-
} from "../chunk-
|
4
|
+
} from "../chunk-65TG6EVD.mjs";
|
5
5
|
|
6
|
-
//
|
6
|
+
// elements/sortButton/SortButton.tsx
|
7
7
|
import React from "react";
|
8
8
|
var SortButton = (props) => {
|
9
9
|
return /* @__PURE__ */ React.createElement(
|
@@ -27,24 +27,24 @@ 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/splitButton/index.ts
|
31
31
|
var splitButton_exports = {};
|
32
32
|
__export(splitButton_exports, {
|
33
33
|
SplitButton: () => SplitButton
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(splitButton_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// elements/splitButton/SplitButton.tsx
|
38
38
|
var React4 = __toESM(require("react"));
|
39
39
|
|
40
|
-
//
|
40
|
+
// util/index.ts
|
41
41
|
var import_clsx = require("clsx");
|
42
42
|
var import_tailwind_merge = require("tailwind-merge");
|
43
43
|
function cn(...inputs) {
|
44
44
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
45
45
|
}
|
46
46
|
|
47
|
-
//
|
47
|
+
// elements/dropdownMenu/DropdownMenu.tsx
|
48
48
|
var React = __toESM(require("react"));
|
49
49
|
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
|
50
50
|
var DropdownMenuRoot = DropdownMenuPrimitive.Root;
|
@@ -372,11 +372,11 @@ var DropdownMenu = ({
|
|
372
372
|
);
|
373
373
|
};
|
374
374
|
|
375
|
-
//
|
375
|
+
// elements/button/Button.tsx
|
376
376
|
var React3 = __toESM(require("react"));
|
377
377
|
var import_class_variance_authority = require("class-variance-authority");
|
378
378
|
|
379
|
-
//
|
379
|
+
// elements/loading/Loading.tsx
|
380
380
|
var import_react = __toESM(require("react"));
|
381
381
|
var Loading = ({
|
382
382
|
design = "spinner",
|
@@ -553,7 +553,7 @@ var Loading = ({
|
|
553
553
|
}
|
554
554
|
};
|
555
555
|
|
556
|
-
//
|
556
|
+
// elements/button/Button.tsx
|
557
557
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
558
558
|
"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",
|
559
559
|
{
|
@@ -606,6 +606,7 @@ var Button = React3.forwardRef(
|
|
606
606
|
className: cn(
|
607
607
|
buttonVariants({ variant, size, className }),
|
608
608
|
centered && "hawa-justify-center"
|
609
|
+
// "hawa-bg-red-500"
|
609
610
|
),
|
610
611
|
ref,
|
611
612
|
...props
|
@@ -624,7 +625,7 @@ var Button = React3.forwardRef(
|
|
624
625
|
);
|
625
626
|
Button.displayName = "Button";
|
626
627
|
|
627
|
-
//
|
628
|
+
// elements/splitButton/SplitButton.tsx
|
628
629
|
var SplitButton = ({
|
629
630
|
variant,
|
630
631
|
direction = "ltr",
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import {
|
2
2
|
Button,
|
3
3
|
cn
|
4
|
-
} from "../chunk-
|
4
|
+
} from "../chunk-65TG6EVD.mjs";
|
5
5
|
|
6
|
-
//
|
6
|
+
// elements/splitButton/SplitButton.tsx
|
7
7
|
import * as React2 from "react";
|
8
8
|
|
9
|
-
//
|
9
|
+
// elements/dropdownMenu/DropdownMenu.tsx
|
10
10
|
import * as React from "react";
|
11
11
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
12
12
|
var DropdownMenuRoot = DropdownMenuPrimitive.Root;
|
@@ -334,7 +334,7 @@ var DropdownMenu = ({
|
|
334
334
|
);
|
335
335
|
};
|
336
336
|
|
337
|
-
//
|
337
|
+
// elements/splitButton/SplitButton.tsx
|
338
338
|
var SplitButton = ({
|
339
339
|
variant,
|
340
340
|
direction = "ltr",
|
package/dist/stats/index.js
CHANGED
@@ -27,27 +27,27 @@ 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
|
+
// layout/stats/index.ts
|
31
31
|
var stats_exports = {};
|
32
32
|
__export(stats_exports, {
|
33
33
|
Stats: () => Stats
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(stats_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// layout/stats/Stats.tsx
|
38
38
|
var import_react2 = __toESM(require("react"));
|
39
39
|
|
40
|
-
//
|
40
|
+
// elements/card/Card.tsx
|
41
41
|
var React = __toESM(require("react"));
|
42
42
|
|
43
|
-
//
|
43
|
+
// util/index.ts
|
44
44
|
var import_clsx = require("clsx");
|
45
45
|
var import_tailwind_merge = require("tailwind-merge");
|
46
46
|
function cn(...inputs) {
|
47
47
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
48
48
|
}
|
49
49
|
|
50
|
-
//
|
50
|
+
// elements/card/Card.tsx
|
51
51
|
var Card = React.forwardRef(
|
52
52
|
({ className, variant = "default", clickable = false, ...props }, ref) => {
|
53
53
|
let variantStyles = {
|
@@ -127,7 +127,7 @@ CardFooter.displayName = "CardFooter";
|
|
127
127
|
CardTitle.displayName = "CardTitle";
|
128
128
|
Card.displayName = "Card";
|
129
129
|
|
130
|
-
//
|
130
|
+
// elements/skeleton/Skeleton.tsx
|
131
131
|
var import_react = __toESM(require("react"));
|
132
132
|
function Skeleton({
|
133
133
|
className,
|
@@ -154,7 +154,7 @@ function Skeleton({
|
|
154
154
|
);
|
155
155
|
}
|
156
156
|
|
157
|
-
//
|
157
|
+
// layout/stats/Stats.tsx
|
158
158
|
var Stats = ({
|
159
159
|
label,
|
160
160
|
icon,
|
package/dist/stats/index.mjs
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
//
|
1
|
+
// layout/stats/Stats.tsx
|
2
2
|
import React3 from "react";
|
3
3
|
|
4
|
-
//
|
4
|
+
// elements/card/Card.tsx
|
5
5
|
import * as React from "react";
|
6
6
|
|
7
|
-
//
|
7
|
+
// util/index.ts
|
8
8
|
import { clsx } from "clsx";
|
9
9
|
import { twMerge } from "tailwind-merge";
|
10
10
|
function cn(...inputs) {
|
11
11
|
return twMerge(clsx(inputs));
|
12
12
|
}
|
13
13
|
|
14
|
-
//
|
14
|
+
// elements/card/Card.tsx
|
15
15
|
var Card = React.forwardRef(
|
16
16
|
({ className, variant = "default", clickable = false, ...props }, ref) => {
|
17
17
|
let variantStyles = {
|
@@ -91,7 +91,7 @@ CardFooter.displayName = "CardFooter";
|
|
91
91
|
CardTitle.displayName = "CardTitle";
|
92
92
|
Card.displayName = "Card";
|
93
93
|
|
94
|
-
//
|
94
|
+
// elements/skeleton/Skeleton.tsx
|
95
95
|
import React2 from "react";
|
96
96
|
function Skeleton({
|
97
97
|
className,
|
@@ -118,7 +118,7 @@ function Skeleton({
|
|
118
118
|
);
|
119
119
|
}
|
120
120
|
|
121
|
-
//
|
121
|
+
// layout/stats/Stats.tsx
|
122
122
|
var Stats = ({
|
123
123
|
label,
|
124
124
|
icon,
|
@@ -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/stopPropagationWrapper/index.ts
|
31
31
|
var stopPropagationWrapper_exports = {};
|
32
32
|
__export(stopPropagationWrapper_exports, {
|
33
33
|
StopPropagationWrapper: () => StopPropagationWrapper
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(stopPropagationWrapper_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// elements/stopPropagationWrapper/StopPropagationWrapper.tsx
|
38
38
|
var import_react = __toESM(require("react"));
|
39
39
|
var StopPropagationWrapper = (props) => {
|
40
40
|
const handleClick = (e) => {
|
package/dist/switch/index.js
CHANGED
@@ -27,25 +27,25 @@ 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/switch/index.ts
|
31
31
|
var switch_exports = {};
|
32
32
|
__export(switch_exports, {
|
33
33
|
Switch: () => Switch
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(switch_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// elements/switch/Switch.tsx
|
38
38
|
var React = __toESM(require("react"));
|
39
39
|
var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
|
40
40
|
|
41
|
-
//
|
41
|
+
// util/index.ts
|
42
42
|
var import_clsx = require("clsx");
|
43
43
|
var import_tailwind_merge = require("tailwind-merge");
|
44
44
|
function cn(...inputs) {
|
45
45
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
46
46
|
}
|
47
47
|
|
48
|
-
//
|
48
|
+
// elements/switch/Switch.tsx
|
49
49
|
var Switch = React.forwardRef(
|
50
50
|
({ className, size = "default", roundedness = "inherit", label, ...props }, ref) => {
|
51
51
|
const [parentDirection, setParentDirection] = React.useState(
|
package/dist/switch/index.mjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import {
|
2
2
|
cn
|
3
|
-
} from "../chunk-
|
3
|
+
} from "../chunk-TWNGV3RE.mjs";
|
4
4
|
|
5
|
-
//
|
5
|
+
// elements/switch/Switch.tsx
|
6
6
|
import * as React from "react";
|
7
7
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
8
8
|
var Switch = React.forwardRef(
|
package/dist/table/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/table/index.ts
|
31
31
|
var table_exports = {};
|
32
32
|
__export(table_exports, {
|
33
33
|
Table: () => Table,
|
@@ -41,17 +41,17 @@ __export(table_exports, {
|
|
41
41
|
});
|
42
42
|
module.exports = __toCommonJS(table_exports);
|
43
43
|
|
44
|
-
//
|
44
|
+
// elements/table/Table.tsx
|
45
45
|
var React = __toESM(require("react"));
|
46
46
|
|
47
|
-
//
|
47
|
+
// util/index.ts
|
48
48
|
var import_clsx = require("clsx");
|
49
49
|
var import_tailwind_merge = require("tailwind-merge");
|
50
50
|
function cn(...inputs) {
|
51
51
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
52
52
|
}
|
53
53
|
|
54
|
-
//
|
54
|
+
// elements/table/Table.tsx
|
55
55
|
var Table = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React.createElement(
|
56
56
|
"table",
|
57
57
|
{
|
package/dist/table/index.mjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import {
|
2
2
|
cn
|
3
|
-
} from "../chunk-
|
3
|
+
} from "../chunk-TWNGV3RE.mjs";
|
4
4
|
|
5
|
-
//
|
5
|
+
// elements/table/Table.tsx
|
6
6
|
import * as React from "react";
|
7
7
|
var Table = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React.createElement(
|
8
8
|
"table",
|
package/dist/tabs/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/tabs/index.ts
|
31
31
|
var tabs_exports = {};
|
32
32
|
__export(tabs_exports, {
|
33
33
|
Tabs: () => Tabs,
|
@@ -37,18 +37,18 @@ __export(tabs_exports, {
|
|
37
37
|
});
|
38
38
|
module.exports = __toCommonJS(tabs_exports);
|
39
39
|
|
40
|
-
//
|
40
|
+
// elements/tabs/Tabs.tsx
|
41
41
|
var React2 = __toESM(require("react"));
|
42
42
|
var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
|
43
43
|
|
44
|
-
//
|
44
|
+
// util/index.ts
|
45
45
|
var import_clsx = require("clsx");
|
46
46
|
var import_tailwind_merge = require("tailwind-merge");
|
47
47
|
function cn(...inputs) {
|
48
48
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
49
49
|
}
|
50
50
|
|
51
|
-
//
|
51
|
+
// elements/chip/Chip.tsx
|
52
52
|
var import_react = __toESM(require("react"));
|
53
53
|
var Chip = import_react.default.forwardRef(
|
54
54
|
({
|
@@ -129,7 +129,7 @@ var Chip = import_react.default.forwardRef(
|
|
129
129
|
}
|
130
130
|
);
|
131
131
|
|
132
|
-
//
|
132
|
+
// elements/tabs/Tabs.tsx
|
133
133
|
var TabsContext = React2.createContext({ orientation: "vertical" });
|
134
134
|
var Tabs = React2.forwardRef(({ className, orientation, ...props }, ref) => /* @__PURE__ */ React2.createElement(
|
135
135
|
TabsPrimitive.Root,
|
package/dist/tabs/index.mjs
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import {
|
2
2
|
cn
|
3
|
-
} from "../chunk-
|
3
|
+
} from "../chunk-TWNGV3RE.mjs";
|
4
4
|
|
5
|
-
//
|
5
|
+
// elements/tabs/Tabs.tsx
|
6
6
|
import * as React2 from "react";
|
7
7
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
8
8
|
|
9
|
-
//
|
9
|
+
// elements/chip/Chip.tsx
|
10
10
|
import React from "react";
|
11
11
|
var Chip = React.forwardRef(
|
12
12
|
({
|
@@ -87,7 +87,7 @@ var Chip = React.forwardRef(
|
|
87
87
|
}
|
88
88
|
);
|
89
89
|
|
90
|
-
//
|
90
|
+
// elements/tabs/Tabs.tsx
|
91
91
|
var TabsContext = React2.createContext({ orientation: "vertical" });
|
92
92
|
var Tabs = React2.forwardRef(({ className, orientation, ...props }, ref) => /* @__PURE__ */ React2.createElement(
|
93
93
|
TabsPrimitive.Root,
|
package/dist/textarea/index.js
CHANGED
@@ -27,27 +27,27 @@ 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/textarea/index.ts
|
31
31
|
var textarea_exports = {};
|
32
32
|
__export(textarea_exports, {
|
33
33
|
Textarea: () => Textarea
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(textarea_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// elements/textarea/Textarea.tsx
|
38
38
|
var React3 = __toESM(require("react"));
|
39
39
|
|
40
|
-
//
|
40
|
+
// util/index.ts
|
41
41
|
var import_clsx = require("clsx");
|
42
42
|
var import_tailwind_merge = require("tailwind-merge");
|
43
43
|
function cn(...inputs) {
|
44
44
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
45
45
|
}
|
46
46
|
|
47
|
-
//
|
47
|
+
// elements/label/Label.tsx
|
48
48
|
var React2 = __toESM(require("react"));
|
49
49
|
|
50
|
-
//
|
50
|
+
// elements/tooltip/Tooltip.tsx
|
51
51
|
var import_react = __toESM(require("react"));
|
52
52
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
53
53
|
var TooltipContent = import_react.default.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(
|
@@ -98,7 +98,7 @@ var Tooltip = ({
|
|
98
98
|
);
|
99
99
|
};
|
100
100
|
|
101
|
-
//
|
101
|
+
// elements/label/Label.tsx
|
102
102
|
var Label = React2.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React2.createElement(
|
103
103
|
"label",
|
104
104
|
{
|
@@ -140,7 +140,7 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
|
|
140
140
|
)));
|
141
141
|
Label.displayName = "Label";
|
142
142
|
|
143
|
-
//
|
143
|
+
// elements/textarea/Textarea.tsx
|
144
144
|
var Textarea = React3.forwardRef(
|
145
145
|
({
|
146
146
|
className,
|
package/dist/textarea/index.mjs
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import {
|
2
2
|
cn
|
3
|
-
} from "../chunk-
|
3
|
+
} from "../chunk-TWNGV3RE.mjs";
|
4
4
|
|
5
|
-
//
|
5
|
+
// elements/textarea/Textarea.tsx
|
6
6
|
import * as React3 from "react";
|
7
7
|
|
8
|
-
//
|
8
|
+
// elements/label/Label.tsx
|
9
9
|
import * as React2 from "react";
|
10
10
|
|
11
|
-
//
|
11
|
+
// elements/tooltip/Tooltip.tsx
|
12
12
|
import React from "react";
|
13
13
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
14
14
|
var TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
@@ -59,7 +59,7 @@ var Tooltip = ({
|
|
59
59
|
);
|
60
60
|
};
|
61
61
|
|
62
|
-
//
|
62
|
+
// elements/label/Label.tsx
|
63
63
|
var Label = React2.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React2.createElement(
|
64
64
|
"label",
|
65
65
|
{
|
@@ -101,7 +101,7 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
|
|
101
101
|
)));
|
102
102
|
Label.displayName = "Label";
|
103
103
|
|
104
|
-
//
|
104
|
+
// elements/textarea/Textarea.tsx
|
105
105
|
var Textarea = React3.forwardRef(
|
106
106
|
({
|
107
107
|
className,
|
package/dist/toast/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/toast/index.ts
|
31
31
|
var toast_exports = {};
|
32
32
|
__export(toast_exports, {
|
33
33
|
Toast: () => Toast,
|
@@ -40,19 +40,19 @@ __export(toast_exports, {
|
|
40
40
|
});
|
41
41
|
module.exports = __toCommonJS(toast_exports);
|
42
42
|
|
43
|
-
//
|
43
|
+
// elements/toast/Toast.tsx
|
44
44
|
var React = __toESM(require("react"));
|
45
45
|
var ToastPrimitives = __toESM(require("@radix-ui/react-toast"));
|
46
46
|
var import_class_variance_authority = require("class-variance-authority");
|
47
47
|
|
48
|
-
//
|
48
|
+
// util/index.ts
|
49
49
|
var import_clsx = require("clsx");
|
50
50
|
var import_tailwind_merge = require("tailwind-merge");
|
51
51
|
function cn(...inputs) {
|
52
52
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
53
53
|
}
|
54
54
|
|
55
|
-
//
|
55
|
+
// elements/toast/Toast.tsx
|
56
56
|
var toastVariants = (0, import_class_variance_authority.cva)(
|
57
57
|
"hawa-group hawa-z-[900] hawa-pointer-events-auto hawa-relative hawa-flex hawa-w-full hawa-items-center hawa-justify-between hawa-overflow-hidden hawa-rounded-md hawa-border hawa-shadow-lg hawa-transition-all data-[swipe=cancel]:hawa-translate-x-0 data-[swipe=end]:hawa-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:hawa-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:hawa-transition-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[swipe=end]:hawa-animate-out data-[state=closed]:hawa-fade-out-80 data-[state=open]:hawa-slide-in-from-top-full data-[state=open]:sm:hawa-slide-in-from-bottom-full",
|
58
58
|
{
|
package/dist/toast/index.mjs
CHANGED
package/dist/toaster/index.js
CHANGED
@@ -27,17 +27,17 @@ 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/toaster/index.ts
|
31
31
|
var toaster_exports = {};
|
32
32
|
__export(toaster_exports, {
|
33
33
|
Toaster: () => Toaster
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(toaster_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// elements/toaster/Toaster.tsx
|
38
38
|
var import_react = __toESM(require("react"));
|
39
39
|
|
40
|
-
//
|
40
|
+
// hooks/useToast.ts
|
41
41
|
var React = __toESM(require("react"));
|
42
42
|
var TOAST_LIMIT = 5;
|
43
43
|
var TOAST_REMOVE_DELAY = 1e5;
|
@@ -151,14 +151,14 @@ function useToast() {
|
|
151
151
|
};
|
152
152
|
}
|
153
153
|
|
154
|
-
//
|
154
|
+
// util/index.ts
|
155
155
|
var import_clsx = require("clsx");
|
156
156
|
var import_tailwind_merge = require("tailwind-merge");
|
157
157
|
function cn(...inputs) {
|
158
158
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
159
159
|
}
|
160
160
|
|
161
|
-
//
|
161
|
+
// elements/toast/Toast.tsx
|
162
162
|
var React2 = __toESM(require("react"));
|
163
163
|
var ToastPrimitives = __toESM(require("@radix-ui/react-toast"));
|
164
164
|
var import_class_variance_authority = require("class-variance-authority");
|
@@ -295,7 +295,7 @@ var ToastDescription = React2.forwardRef(({ className, size = "default", ...prop
|
|
295
295
|
));
|
296
296
|
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
297
297
|
|
298
|
-
//
|
298
|
+
// elements/toaster/Toaster.tsx
|
299
299
|
function Toaster(props) {
|
300
300
|
const { toasts } = useToast();
|
301
301
|
let isRTL = props.direction === "rtl";
|