@sikka/hawa 0.26.18-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.d.mts +1 -0
- package/dist/dataTable/index.d.ts +1 -0
- package/dist/dataTable/index.js +23 -16
- package/dist/dataTable/index.mjs +22 -15
- 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 +2 -1
- package/dist/elements/index.d.ts +2 -1
- package/dist/elements/index.js +162 -164
- package/dist/elements/index.mjs +54 -57
- 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 +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +220 -222
- package/dist/index.mjs +219 -221
- 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
@@ -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
|
+
// blocks/pricing/index.ts
|
31
31
|
var pricing_exports = {};
|
32
32
|
__export(pricing_exports, {
|
33
33
|
ComparingPlans: () => ComparingPlans,
|
@@ -36,30 +36,30 @@ __export(pricing_exports, {
|
|
36
36
|
});
|
37
37
|
module.exports = __toCommonJS(pricing_exports);
|
38
38
|
|
39
|
-
//
|
39
|
+
// blocks/pricing/PricingPlans.tsx
|
40
40
|
var import_react12 = __toESM(require("react"));
|
41
41
|
|
42
|
-
//
|
42
|
+
// blocks/cards/ActionCard.tsx
|
43
43
|
var import_react = __toESM(require("react"));
|
44
44
|
|
45
|
-
//
|
45
|
+
// blocks/cards/AdCard.tsx
|
46
46
|
var import_react2 = __toESM(require("react"));
|
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
|
+
// blocks/cards/PricingCard.tsx
|
56
56
|
var import_react7 = __toESM(require("react"));
|
57
57
|
|
58
|
-
//
|
58
|
+
// elements/button/Button.tsx
|
59
59
|
var React4 = __toESM(require("react"));
|
60
60
|
var import_class_variance_authority = require("class-variance-authority");
|
61
61
|
|
62
|
-
//
|
62
|
+
// elements/loading/Loading.tsx
|
63
63
|
var import_react3 = __toESM(require("react"));
|
64
64
|
var Loading = ({
|
65
65
|
design = "spinner",
|
@@ -236,7 +236,7 @@ var Loading = ({
|
|
236
236
|
}
|
237
237
|
};
|
238
238
|
|
239
|
-
//
|
239
|
+
// elements/button/Button.tsx
|
240
240
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
241
241
|
"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",
|
242
242
|
{
|
@@ -289,6 +289,7 @@ var Button = React4.forwardRef(
|
|
289
289
|
className: cn(
|
290
290
|
buttonVariants({ variant, size, className }),
|
291
291
|
centered && "hawa-justify-center"
|
292
|
+
// "hawa-bg-red-500"
|
292
293
|
),
|
293
294
|
ref,
|
294
295
|
...props
|
@@ -307,7 +308,7 @@ var Button = React4.forwardRef(
|
|
307
308
|
);
|
308
309
|
Button.displayName = "Button";
|
309
310
|
|
310
|
-
//
|
311
|
+
// elements/card/Card.tsx
|
311
312
|
var React5 = __toESM(require("react"));
|
312
313
|
var Card = React5.forwardRef(
|
313
314
|
({ className, variant = "default", clickable = false, ...props }, ref) => {
|
@@ -388,94 +389,13 @@ CardFooter.displayName = "CardFooter";
|
|
388
389
|
CardTitle.displayName = "CardTitle";
|
389
390
|
Card.displayName = "Card";
|
390
391
|
|
391
|
-
//
|
392
|
-
var
|
393
|
-
var Chip = import_react4.default.forwardRef(
|
394
|
-
({
|
395
|
-
label,
|
396
|
-
size = "normal",
|
397
|
-
icon,
|
398
|
-
color,
|
399
|
-
radius = "inherit",
|
400
|
-
dotType,
|
401
|
-
...rest
|
402
|
-
}, ref) => {
|
403
|
-
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 ";
|
404
|
-
let radiusStyles = {
|
405
|
-
inherit: " hawa-rounded",
|
406
|
-
full: "hawa-rounded-full",
|
407
|
-
none: "hawa-rounded-none"
|
408
|
-
};
|
409
|
-
let sizeStyles = {
|
410
|
-
small: "hawa-h-[15px] hawa-leading-4 hawa-px-0 hawa-py-0 hawa-text-[9px] hawa-gap-0.5 ",
|
411
|
-
normal: "hawa-h-fit hawa-text-xs",
|
412
|
-
large: "hawa-text-base"
|
413
|
-
};
|
414
|
-
let dotStyles = {
|
415
|
-
small: "hawa-flex hawa-h-1 hawa-w-1 hawa-rounded-full",
|
416
|
-
normal: "hawa-flex hawa-h-2 hawa-w-2 hawa-rounded-full",
|
417
|
-
large: "hawa-flex hawa-h-3 hawa-w-3 hawa-rounded-full"
|
418
|
-
};
|
419
|
-
let dotTypeStyles = {
|
420
|
-
available: "hawa-bg-green-500",
|
421
|
-
unavailable: "hawa-bg-red-500"
|
422
|
-
};
|
423
|
-
let colorStyles = {
|
424
|
-
green: "hawa-bg-green-100 hawa-text-green-500 dark:hawa-bg-green-400 dark:hawa-text-green-800",
|
425
|
-
blue: "hawa-bg-blue-100 hawa-text-blue-500 dark:hawa-bg-blue-400 dark:hawa-text-blue-100",
|
426
|
-
red: "hawa-bg-red-100 hawa-text-red-500 dark:hawa-bg-red-400 dark:hawa-text-red-100",
|
427
|
-
yellow: "hawa-bg-yellow-100 hawa-text-yellow-600 dark:hawa-bg-yellow-400 dark:hawa-text-yellow-800",
|
428
|
-
orange: "hawa-bg-orange-100 hawa-text-orange-500 dark:hawa-bg-orange-400 dark:hawa-text-orange-100",
|
429
|
-
purple: "hawa-bg-purple-100 hawa-text-purple-500 dark:hawa-bg-purple-400 dark:hawa-text-purple-100",
|
430
|
-
cyan: "hawa-bg-cyan-100 hawa-text-cyan-800 dark:hawa-bg-cyan-400 dark:hawa-text-cyan-800",
|
431
|
-
hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-500 hawa-via-red-500 hawa-to-yellow-500 ",
|
432
|
-
oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-300 hawa-via-blue-500 hawa-to-purple-600"
|
433
|
-
};
|
434
|
-
if (label) {
|
435
|
-
return /* @__PURE__ */ import_react4.default.createElement(
|
436
|
-
"span",
|
437
|
-
{
|
438
|
-
...rest,
|
439
|
-
ref,
|
440
|
-
className: cn(
|
441
|
-
defaultStyles,
|
442
|
-
sizeStyles[size],
|
443
|
-
radiusStyles[radius],
|
444
|
-
color ? colorStyles[color] : "hawa-border hawa-bg-none"
|
445
|
-
)
|
446
|
-
},
|
447
|
-
dotType && /* @__PURE__ */ import_react4.default.createElement(
|
448
|
-
"span",
|
449
|
-
{
|
450
|
-
className: cn(dotStyles[size], dotTypeStyles[dotType])
|
451
|
-
}
|
452
|
-
),
|
453
|
-
icon && icon,
|
454
|
-
label
|
455
|
-
);
|
456
|
-
} else {
|
457
|
-
return /* @__PURE__ */ import_react4.default.createElement(
|
458
|
-
"span",
|
459
|
-
{
|
460
|
-
...rest,
|
461
|
-
ref,
|
462
|
-
className: cn(
|
463
|
-
"hawa-h-2 hawa-w-2 hawa-rounded-full",
|
464
|
-
color ? colorStyles[color] : "hawa-border hawa-bg-none"
|
465
|
-
)
|
466
|
-
}
|
467
|
-
);
|
468
|
-
}
|
469
|
-
}
|
470
|
-
);
|
471
|
-
|
472
|
-
// components/elements/separator/Separator.tsx
|
473
|
-
var React7 = __toESM(require("react"));
|
392
|
+
// elements/separator/Separator.tsx
|
393
|
+
var React6 = __toESM(require("react"));
|
474
394
|
var Separator = ({
|
475
395
|
className,
|
476
396
|
orientation = "horizontal",
|
477
397
|
...props
|
478
|
-
}) => /* @__PURE__ */
|
398
|
+
}) => /* @__PURE__ */ React6.createElement(
|
479
399
|
"div",
|
480
400
|
{
|
481
401
|
className: cn(
|
@@ -487,8 +407,8 @@ var Separator = ({
|
|
487
407
|
}
|
488
408
|
);
|
489
409
|
|
490
|
-
//
|
491
|
-
var
|
410
|
+
// elements/skeleton/Skeleton.tsx
|
411
|
+
var import_react4 = __toESM(require("react"));
|
492
412
|
function Skeleton({
|
493
413
|
className,
|
494
414
|
content,
|
@@ -500,7 +420,7 @@ function Skeleton({
|
|
500
420
|
pulse: "hawa-animate-pulse hawa-rounded hawa-bg-muted",
|
501
421
|
shimmer: "hawa-space-y-5 hawa-rounded hawa-bg-muted hawa-p-4 hawa-relative before:hawa-absolute before:hawa-inset-0 before:hawa--translate-x-full before:hawa-animate-[shimmer_2s_infinite] before:hawa-bg-gradient-to-r before:hawa-from-transparent before:hawa-via-gray-300/40 dark:before:hawa-via-white/10 before:hawa-to-transparent hawa-isolate hawa-overflow-hidden before:hawa-border-t before:hawa-border-rose-100/10"
|
502
422
|
};
|
503
|
-
return /* @__PURE__ */
|
423
|
+
return /* @__PURE__ */ import_react4.default.createElement(
|
504
424
|
"div",
|
505
425
|
{
|
506
426
|
className: cn(
|
@@ -514,10 +434,10 @@ function Skeleton({
|
|
514
434
|
);
|
515
435
|
}
|
516
436
|
|
517
|
-
//
|
518
|
-
var
|
437
|
+
// elements/tooltip/Tooltip.tsx
|
438
|
+
var import_react5 = __toESM(require("react"));
|
519
439
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
520
|
-
var TooltipContent =
|
440
|
+
var TooltipContent = import_react5.default.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ import_react5.default.createElement(
|
521
441
|
TooltipPrimitive.Content,
|
522
442
|
{
|
523
443
|
ref,
|
@@ -530,7 +450,7 @@ var TooltipContent = import_react6.default.forwardRef(({ className, sideOffset =
|
|
530
450
|
}
|
531
451
|
));
|
532
452
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
533
|
-
var TooltipArrow =
|
453
|
+
var TooltipArrow = import_react5.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react5.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
|
534
454
|
TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
|
535
455
|
var Tooltip = ({
|
536
456
|
side,
|
@@ -545,13 +465,13 @@ var Tooltip = ({
|
|
545
465
|
delayDuration = 300,
|
546
466
|
...props
|
547
467
|
}) => {
|
548
|
-
return /* @__PURE__ */
|
468
|
+
return /* @__PURE__ */ import_react5.default.createElement(
|
549
469
|
TooltipPrimitive.TooltipProvider,
|
550
470
|
{
|
551
471
|
delayDuration,
|
552
472
|
...providerProps
|
553
473
|
},
|
554
|
-
/* @__PURE__ */
|
474
|
+
/* @__PURE__ */ import_react5.default.createElement(
|
555
475
|
TooltipPrimitive.Root,
|
556
476
|
{
|
557
477
|
open,
|
@@ -559,13 +479,94 @@ var Tooltip = ({
|
|
559
479
|
onOpenChange,
|
560
480
|
...props
|
561
481
|
},
|
562
|
-
/* @__PURE__ */
|
563
|
-
/* @__PURE__ */
|
482
|
+
/* @__PURE__ */ import_react5.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
483
|
+
/* @__PURE__ */ import_react5.default.createElement(TooltipContent, { side, align: "center", ...contentProps }, content)
|
564
484
|
)
|
565
485
|
);
|
566
486
|
};
|
567
487
|
|
568
|
-
//
|
488
|
+
// elements/chip/Chip.tsx
|
489
|
+
var import_react6 = __toESM(require("react"));
|
490
|
+
var Chip = import_react6.default.forwardRef(
|
491
|
+
({
|
492
|
+
label,
|
493
|
+
size = "normal",
|
494
|
+
icon,
|
495
|
+
color,
|
496
|
+
radius = "inherit",
|
497
|
+
dotType,
|
498
|
+
...rest
|
499
|
+
}, ref) => {
|
500
|
+
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 ";
|
501
|
+
let radiusStyles = {
|
502
|
+
inherit: " hawa-rounded",
|
503
|
+
full: "hawa-rounded-full",
|
504
|
+
none: "hawa-rounded-none"
|
505
|
+
};
|
506
|
+
let sizeStyles = {
|
507
|
+
small: "hawa-h-[15px] hawa-leading-4 hawa-px-0 hawa-py-0 hawa-text-[9px] hawa-gap-0.5 ",
|
508
|
+
normal: "hawa-h-fit hawa-text-xs",
|
509
|
+
large: "hawa-text-base"
|
510
|
+
};
|
511
|
+
let dotStyles = {
|
512
|
+
small: "hawa-flex hawa-h-1 hawa-w-1 hawa-rounded-full",
|
513
|
+
normal: "hawa-flex hawa-h-2 hawa-w-2 hawa-rounded-full",
|
514
|
+
large: "hawa-flex hawa-h-3 hawa-w-3 hawa-rounded-full"
|
515
|
+
};
|
516
|
+
let dotTypeStyles = {
|
517
|
+
available: "hawa-bg-green-500",
|
518
|
+
unavailable: "hawa-bg-red-500"
|
519
|
+
};
|
520
|
+
let colorStyles = {
|
521
|
+
green: "hawa-bg-green-100 hawa-text-green-500 dark:hawa-bg-green-400 dark:hawa-text-green-800",
|
522
|
+
blue: "hawa-bg-blue-100 hawa-text-blue-500 dark:hawa-bg-blue-400 dark:hawa-text-blue-100",
|
523
|
+
red: "hawa-bg-red-100 hawa-text-red-500 dark:hawa-bg-red-400 dark:hawa-text-red-100",
|
524
|
+
yellow: "hawa-bg-yellow-100 hawa-text-yellow-600 dark:hawa-bg-yellow-400 dark:hawa-text-yellow-800",
|
525
|
+
orange: "hawa-bg-orange-100 hawa-text-orange-500 dark:hawa-bg-orange-400 dark:hawa-text-orange-100",
|
526
|
+
purple: "hawa-bg-purple-100 hawa-text-purple-500 dark:hawa-bg-purple-400 dark:hawa-text-purple-100",
|
527
|
+
cyan: "hawa-bg-cyan-100 hawa-text-cyan-800 dark:hawa-bg-cyan-400 dark:hawa-text-cyan-800",
|
528
|
+
hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-500 hawa-via-red-500 hawa-to-yellow-500 ",
|
529
|
+
oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-300 hawa-via-blue-500 hawa-to-purple-600"
|
530
|
+
};
|
531
|
+
if (label) {
|
532
|
+
return /* @__PURE__ */ import_react6.default.createElement(
|
533
|
+
"span",
|
534
|
+
{
|
535
|
+
...rest,
|
536
|
+
ref,
|
537
|
+
className: cn(
|
538
|
+
defaultStyles,
|
539
|
+
sizeStyles[size],
|
540
|
+
radiusStyles[radius],
|
541
|
+
color ? colorStyles[color] : "hawa-border hawa-bg-none"
|
542
|
+
)
|
543
|
+
},
|
544
|
+
dotType && /* @__PURE__ */ import_react6.default.createElement(
|
545
|
+
"span",
|
546
|
+
{
|
547
|
+
className: cn(dotStyles[size], dotTypeStyles[dotType])
|
548
|
+
}
|
549
|
+
),
|
550
|
+
icon && icon,
|
551
|
+
label
|
552
|
+
);
|
553
|
+
} else {
|
554
|
+
return /* @__PURE__ */ import_react6.default.createElement(
|
555
|
+
"span",
|
556
|
+
{
|
557
|
+
...rest,
|
558
|
+
ref,
|
559
|
+
className: cn(
|
560
|
+
"hawa-h-2 hawa-w-2 hawa-rounded-full",
|
561
|
+
color ? colorStyles[color] : "hawa-border hawa-bg-none"
|
562
|
+
)
|
563
|
+
}
|
564
|
+
);
|
565
|
+
}
|
566
|
+
}
|
567
|
+
);
|
568
|
+
|
569
|
+
// blocks/cards/PricingCard.tsx
|
569
570
|
var PricingCard = ({
|
570
571
|
size = "medium",
|
571
572
|
direction = "ltr",
|
@@ -674,10 +675,10 @@ var PricingCard = ({
|
|
674
675
|
);
|
675
676
|
};
|
676
677
|
|
677
|
-
//
|
678
|
+
// blocks/cards/ItemCard.tsx
|
678
679
|
var import_react9 = __toESM(require("react"));
|
679
680
|
|
680
|
-
//
|
681
|
+
// elements/dropdownMenu/DropdownMenu.tsx
|
681
682
|
var React11 = __toESM(require("react"));
|
682
683
|
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
|
683
684
|
var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React11.createElement(
|
@@ -857,16 +858,16 @@ var DropdownMenuShortcut = ({
|
|
857
858
|
};
|
858
859
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
859
860
|
|
860
|
-
//
|
861
|
+
// elements/stopPropagationWrapper/StopPropagationWrapper.tsx
|
861
862
|
var import_react8 = __toESM(require("react"));
|
862
863
|
|
863
|
-
//
|
864
|
+
// blocks/cards/LandingCard.tsx
|
864
865
|
var import_react10 = __toESM(require("react"));
|
865
866
|
|
866
|
-
//
|
867
|
+
// elements/radio/Radio.tsx
|
867
868
|
var import_react11 = __toESM(require("react"));
|
868
869
|
|
869
|
-
//
|
870
|
+
// elements/label/Label.tsx
|
870
871
|
var React15 = __toESM(require("react"));
|
871
872
|
var Label2 = React15.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React15.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React15.createElement(
|
872
873
|
"label",
|
@@ -909,7 +910,7 @@ var Label2 = React15.forwardRef(({ className, hint, hintSide, required, children
|
|
909
910
|
)));
|
910
911
|
Label2.displayName = "Label";
|
911
912
|
|
912
|
-
//
|
913
|
+
// elements/radio/Radio.tsx
|
913
914
|
var Radio = ({
|
914
915
|
design = "default",
|
915
916
|
width = "default",
|
@@ -1095,7 +1096,7 @@ var Radio = ({
|
|
1095
1096
|
}
|
1096
1097
|
};
|
1097
1098
|
|
1098
|
-
//
|
1099
|
+
// blocks/pricing/PricingPlans.tsx
|
1099
1100
|
var PricingPlans = ({
|
1100
1101
|
mainContainerProps,
|
1101
1102
|
cardsContainerProps,
|
@@ -1162,10 +1163,10 @@ var PricingPlans = ({
|
|
1162
1163
|
));
|
1163
1164
|
};
|
1164
1165
|
|
1165
|
-
//
|
1166
|
+
// blocks/pricing/ComparingPlans.tsx
|
1166
1167
|
var import_react16 = __toESM(require("react"));
|
1167
1168
|
|
1168
|
-
//
|
1169
|
+
// elements/scrollArea/ScrollArea.tsx
|
1169
1170
|
var React18 = __toESM(require("react"));
|
1170
1171
|
var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
|
1171
1172
|
var ScrollArea = React18.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React18.createElement(
|
@@ -1205,13 +1206,13 @@ var ScrollBar = React18.forwardRef(({ className, orientation = "vertical", ...pr
|
|
1205
1206
|
));
|
1206
1207
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
1207
1208
|
|
1208
|
-
//
|
1209
|
+
// icons/Emojis.tsx
|
1209
1210
|
var import_react13 = __toESM(require("react"));
|
1210
1211
|
|
1211
|
-
//
|
1212
|
+
// icons/InputIcons.tsx
|
1212
1213
|
var import_react14 = __toESM(require("react"));
|
1213
1214
|
|
1214
|
-
//
|
1215
|
+
// icons/CommonIcons.tsx
|
1215
1216
|
var import_react15 = __toESM(require("react"));
|
1216
1217
|
var CheckMark = ({ size = "default", className }) => {
|
1217
1218
|
let sizeStyles = {
|
@@ -1260,7 +1261,7 @@ var UncheckMark = ({ size = "default", className }) => {
|
|
1260
1261
|
);
|
1261
1262
|
};
|
1262
1263
|
|
1263
|
-
//
|
1264
|
+
// blocks/pricing/ComparingPlans.tsx
|
1264
1265
|
var ComparingPlans = (props) => {
|
1265
1266
|
const uniqueFeatures = Array.from(
|
1266
1267
|
new Set(
|
@@ -1330,7 +1331,7 @@ var ComparingPlans = (props) => {
|
|
1330
1331
|
{
|
1331
1332
|
key: featureIndex,
|
1332
1333
|
className: cn(
|
1333
|
-
"hawa-border-foreground-muted
|
1334
|
+
"hawa-border-foreground-muted hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white",
|
1334
1335
|
featureIndex === 0 ? "" : "hawa-border-t"
|
1335
1336
|
)
|
1336
1337
|
},
|
@@ -1425,7 +1426,7 @@ var ComparingPlans = (props) => {
|
|
1425
1426
|
})));
|
1426
1427
|
};
|
1427
1428
|
|
1428
|
-
//
|
1429
|
+
// blocks/pricing/HorizontalPricing.tsx
|
1429
1430
|
var import_react17 = __toESM(require("react"));
|
1430
1431
|
var HorizontalPricing = (props) => {
|
1431
1432
|
const [selectedCard, setSelectedCard] = (0, import_react17.useState)("");
|
@@ -1,36 +1,36 @@
|
|
1
1
|
import {
|
2
2
|
Chip,
|
3
3
|
ScrollArea
|
4
|
-
} from "../../chunk-
|
5
|
-
import "../../chunk-
|
4
|
+
} from "../../chunk-POIP5U4M.mjs";
|
5
|
+
import "../../chunk-ZS3FB3PO.mjs";
|
6
6
|
import {
|
7
7
|
Radio
|
8
|
-
} from "../../chunk-
|
8
|
+
} from "../../chunk-OAXF3RCQ.mjs";
|
9
9
|
import {
|
10
10
|
CheckMark,
|
11
11
|
UncheckMark
|
12
|
-
} from "../../chunk-
|
12
|
+
} from "../../chunk-U3TZWNDZ.mjs";
|
13
13
|
import {
|
14
14
|
Button,
|
15
15
|
Card,
|
16
16
|
Skeleton,
|
17
17
|
Tooltip,
|
18
18
|
cn
|
19
|
-
} from "../../chunk-
|
19
|
+
} from "../../chunk-AREFDTXK.mjs";
|
20
20
|
|
21
|
-
//
|
21
|
+
// blocks/pricing/PricingPlans.tsx
|
22
22
|
import React8 from "react";
|
23
23
|
|
24
|
-
//
|
24
|
+
// blocks/cards/ActionCard.tsx
|
25
25
|
import React, { useState } from "react";
|
26
26
|
|
27
|
-
//
|
27
|
+
// blocks/cards/AdCard.tsx
|
28
28
|
import React2, { useState as useState2, useEffect, useRef } from "react";
|
29
29
|
|
30
|
-
//
|
30
|
+
// blocks/cards/PricingCard.tsx
|
31
31
|
import React4 from "react";
|
32
32
|
|
33
|
-
//
|
33
|
+
// elements/separator/Separator.tsx
|
34
34
|
import * as React3 from "react";
|
35
35
|
var Separator = ({
|
36
36
|
className,
|
@@ -48,7 +48,7 @@ var Separator = ({
|
|
48
48
|
}
|
49
49
|
);
|
50
50
|
|
51
|
-
//
|
51
|
+
// blocks/cards/PricingCard.tsx
|
52
52
|
var PricingCard = ({
|
53
53
|
size = "medium",
|
54
54
|
direction = "ltr",
|
@@ -157,10 +157,10 @@ var PricingCard = ({
|
|
157
157
|
);
|
158
158
|
};
|
159
159
|
|
160
|
-
//
|
160
|
+
// blocks/cards/ItemCard.tsx
|
161
161
|
import React6, { useEffect as useEffect2, useState as useState3 } from "react";
|
162
162
|
|
163
|
-
//
|
163
|
+
// elements/dropdownMenu/DropdownMenu.tsx
|
164
164
|
import * as React5 from "react";
|
165
165
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
166
166
|
var DropdownMenuSubTrigger = React5.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React5.createElement(
|
@@ -340,10 +340,10 @@ var DropdownMenuShortcut = ({
|
|
340
340
|
};
|
341
341
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
342
342
|
|
343
|
-
//
|
343
|
+
// blocks/cards/LandingCard.tsx
|
344
344
|
import React7 from "react";
|
345
345
|
|
346
|
-
//
|
346
|
+
// blocks/pricing/PricingPlans.tsx
|
347
347
|
var PricingPlans = ({
|
348
348
|
mainContainerProps,
|
349
349
|
cardsContainerProps,
|
@@ -410,7 +410,7 @@ var PricingPlans = ({
|
|
410
410
|
));
|
411
411
|
};
|
412
412
|
|
413
|
-
//
|
413
|
+
// blocks/pricing/ComparingPlans.tsx
|
414
414
|
import React9 from "react";
|
415
415
|
var ComparingPlans = (props) => {
|
416
416
|
const uniqueFeatures = Array.from(
|
@@ -481,7 +481,7 @@ var ComparingPlans = (props) => {
|
|
481
481
|
{
|
482
482
|
key: featureIndex,
|
483
483
|
className: cn(
|
484
|
-
"hawa-border-foreground-muted
|
484
|
+
"hawa-border-foreground-muted hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white",
|
485
485
|
featureIndex === 0 ? "" : "hawa-border-t"
|
486
486
|
)
|
487
487
|
},
|
@@ -576,7 +576,7 @@ var ComparingPlans = (props) => {
|
|
576
576
|
})));
|
577
577
|
};
|
578
578
|
|
579
|
-
//
|
579
|
+
// blocks/pricing/HorizontalPricing.tsx
|
580
580
|
import React10, { useState as useState4 } from "react";
|
581
581
|
var HorizontalPricing = (props) => {
|
582
582
|
const [selectedCard, setSelectedCard] = useState4("");
|
package/dist/breadcrumb/index.js
CHANGED
@@ -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/breadcrumb/index.ts
|
31
31
|
var breadcrumb_exports = {};
|
32
32
|
__export(breadcrumb_exports, {
|
33
33
|
Breadcrumb: () => Breadcrumb
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(breadcrumb_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// elements/breadcrumb/Breadcrumb.tsx
|
38
38
|
var import_react = __toESM(require("react"));
|
39
39
|
var Breadcrumb = ({
|
40
40
|
breadcrumbLinks,
|
package/dist/button/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/button/index.ts
|
31
31
|
var button_exports = {};
|
32
32
|
__export(button_exports, {
|
33
33
|
Button: () => Button,
|
@@ -35,18 +35,18 @@ __export(button_exports, {
|
|
35
35
|
});
|
36
36
|
module.exports = __toCommonJS(button_exports);
|
37
37
|
|
38
|
-
//
|
38
|
+
// elements/button/Button.tsx
|
39
39
|
var React2 = __toESM(require("react"));
|
40
40
|
var import_class_variance_authority = require("class-variance-authority");
|
41
41
|
|
42
|
-
//
|
42
|
+
// util/index.ts
|
43
43
|
var import_clsx = require("clsx");
|
44
44
|
var import_tailwind_merge = require("tailwind-merge");
|
45
45
|
function cn(...inputs) {
|
46
46
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
47
47
|
}
|
48
48
|
|
49
|
-
//
|
49
|
+
// elements/loading/Loading.tsx
|
50
50
|
var import_react = __toESM(require("react"));
|
51
51
|
var Loading = ({
|
52
52
|
design = "spinner",
|
@@ -223,7 +223,7 @@ var Loading = ({
|
|
223
223
|
}
|
224
224
|
};
|
225
225
|
|
226
|
-
//
|
226
|
+
// elements/button/Button.tsx
|
227
227
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
228
228
|
"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",
|
229
229
|
{
|
@@ -276,6 +276,7 @@ var Button = React2.forwardRef(
|
|
276
276
|
className: cn(
|
277
277
|
buttonVariants({ variant, size, className }),
|
278
278
|
centered && "hawa-justify-center"
|
279
|
+
// "hawa-bg-red-500"
|
279
280
|
),
|
280
281
|
ref,
|
281
282
|
...props
|
package/dist/button/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/button/Button.tsx
|
6
6
|
import * as React2 from "react";
|
7
7
|
import { cva } from "class-variance-authority";
|
8
8
|
|
9
|
-
//
|
9
|
+
// elements/loading/Loading.tsx
|
10
10
|
import React from "react";
|
11
11
|
var Loading = ({
|
12
12
|
design = "spinner",
|
@@ -183,7 +183,7 @@ var Loading = ({
|
|
183
183
|
}
|
184
184
|
};
|
185
185
|
|
186
|
-
//
|
186
|
+
// elements/button/Button.tsx
|
187
187
|
var buttonVariants = cva(
|
188
188
|
"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",
|
189
189
|
{
|
@@ -236,6 +236,7 @@ var Button = React2.forwardRef(
|
|
236
236
|
className: cn(
|
237
237
|
buttonVariants({ variant, size, className }),
|
238
238
|
centered && "hawa-justify-center"
|
239
|
+
// "hawa-bg-red-500"
|
239
240
|
),
|
240
241
|
ref,
|
241
242
|
...props
|
package/dist/card/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/card/index.ts
|
31
31
|
var card_exports = {};
|
32
32
|
__export(card_exports, {
|
33
33
|
Card: () => Card,
|
@@ -39,17 +39,17 @@ __export(card_exports, {
|
|
39
39
|
});
|
40
40
|
module.exports = __toCommonJS(card_exports);
|
41
41
|
|
42
|
-
//
|
42
|
+
// elements/card/Card.tsx
|
43
43
|
var React = __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/card/Card.tsx
|
53
53
|
var Card = React.forwardRef(
|
54
54
|
({ className, variant = "default", clickable = false, ...props }, ref) => {
|
55
55
|
let variantStyles = {
|