@sikka/hawa 0.30.25-next → 0.30.27-next
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blocks/index.js +345 -211
- package/dist/blocks/index.mjs +3 -2
- package/dist/blocks/misc/index.js +289 -155
- package/dist/blocks/misc/index.mjs +212 -76
- package/dist/blocks/pricing/index.mjs +1 -1
- package/dist/chunk-R2SKHHDK.mjs +411 -0
- package/dist/{chunk-7LAUVLVZ.mjs → chunk-SW7UK35T.mjs} +123 -63
- package/dist/{chunk-H7ZADF2Z.mjs → chunk-UDCDD66A.mjs} +8 -0
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/commonTypes-LrR8QrYP.d.mts +5 -0
- package/dist/commonTypes-LrR8QrYP.d.ts +5 -0
- package/dist/commonTypes-MeUyaBib.d.mts +5 -0
- package/dist/commonTypes-MeUyaBib.d.ts +5 -0
- package/dist/elements/index.d.mts +5 -1
- package/dist/elements/index.d.ts +5 -1
- package/dist/elements/index.js +431 -294
- package/dist/elements/index.mjs +9 -5
- package/dist/floatBox/index.d.mts +14 -0
- package/dist/floatBox/index.d.ts +14 -0
- package/dist/floatBox/index.js +97 -0
- package/dist/floatBox/index.js.map +1 -0
- package/dist/floatBox/index.mjs +61 -0
- package/dist/floatBox/index.mjs.map +1 -0
- package/dist/hooks/index.d.mts +12 -2
- package/dist/hooks/index.d.ts +12 -2
- package/dist/hooks/index.js +36 -0
- package/dist/hooks/index.mjs +16 -340
- package/dist/index.css +101 -56
- package/dist/index.d.mts +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +7860 -7765
- package/dist/index.mjs +1529 -1437
- package/dist/input/index.d.mts +2 -1
- package/dist/input/index.d.ts +2 -1
- package/dist/label/index.d.mts +1 -2
- package/dist/label/index.d.ts +1 -2
- package/dist/layout/index.mjs +3 -4
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.d.mts +2 -1
- package/dist/phoneInput/index.d.ts +2 -1
- package/dist/popover/index.d.mts +3 -1
- package/dist/popover/index.d.ts +3 -1
- package/dist/popover/index.js +6 -0
- package/dist/popover/index.js.map +1 -1
- package/dist/popover/index.mjs +4 -0
- package/dist/popover/index.mjs.map +1 -1
- package/dist/progress/index.d.mts +8 -1
- package/dist/progress/index.d.ts +8 -1
- package/dist/radio/index.d.mts +9 -1
- package/dist/radio/index.d.ts +9 -1
- package/dist/scrollArea/index.d.mts +1 -1
- package/dist/scrollArea/index.d.ts +1 -1
- package/dist/separator/index.d.mts +1 -1
- package/dist/separator/index.d.ts +1 -1
- package/dist/signature/index.d.mts +1 -2
- package/dist/signature/index.d.ts +1 -2
- package/dist/simpleTable/index.d.mts +1 -1
- package/dist/simpleTable/index.d.ts +1 -1
- package/dist/switch/index.d.mts +2 -1
- package/dist/switch/index.d.ts +2 -1
- package/dist/tabs/index.d.mts +3 -1
- package/dist/tabs/index.d.ts +3 -1
- package/dist/tabs/index.js +172 -38
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +172 -38
- package/dist/tabs/index.mjs.map +1 -1
- package/dist/textarea/index.d.mts +1 -1
- package/dist/textarea/index.d.ts +1 -1
- package/dist/toast/index.d.mts +1 -1
- package/dist/toast/index.d.ts +1 -1
- package/dist/toaster/index.d.mts +22 -4
- package/dist/toaster/index.d.ts +22 -4
- package/dist/tooltip/index.d.mts +3 -4
- package/dist/tooltip/index.d.ts +3 -4
- package/package.json +8 -8
- package/dist/Label-9FHRF7Ex.d.mts +0 -14
- package/dist/Label-9FHRF7Ex.d.ts +0 -14
- package/dist/chunk-4OOSUQZG.mjs +0 -12
- package/dist/chunk-57SB6MBG.mjs +0 -31
- package/dist/commonTypes-3k5cNB1s.d.mts +0 -4
- package/dist/commonTypes-3k5cNB1s.d.ts +0 -4
- package/dist/commonTypes-PBumfOBg.d.mts +0 -3
- package/dist/commonTypes-PBumfOBg.d.ts +0 -3
- /package/dist/{chunk-CVOMHXJK.mjs → chunk-BXGDHNAY.mjs} +0 -0
@@ -1,4 +1,7 @@
|
|
1
1
|
"use client";
|
2
|
+
import {
|
3
|
+
useMeasureDirty
|
4
|
+
} from "./chunk-R2SKHHDK.mjs";
|
2
5
|
import {
|
3
6
|
Button,
|
4
7
|
Chip,
|
@@ -2811,6 +2814,8 @@ var Popover = ({
|
|
2811
2814
|
));
|
2812
2815
|
};
|
2813
2816
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
2817
|
+
var PopoverPortal = PopoverPrimitive.Portal;
|
2818
|
+
var PopoverRoot = PopoverPrimitive.Root;
|
2814
2819
|
|
2815
2820
|
// elements/scrollArea/ScrollArea.tsx
|
2816
2821
|
import * as React12 from "react";
|
@@ -2853,9 +2858,58 @@ var ScrollBar = React12.forwardRef(({ className, orientation = "vertical", ...pr
|
|
2853
2858
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
2854
2859
|
|
2855
2860
|
// elements/tabs/Tabs.tsx
|
2856
|
-
import * as
|
2861
|
+
import * as React14 from "react";
|
2857
2862
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
2858
2863
|
import { tv } from "tailwind-variants";
|
2864
|
+
|
2865
|
+
// elements/floatBox/FloatBox.tsx
|
2866
|
+
import * as React13 from "react";
|
2867
|
+
var FloatBox = ({
|
2868
|
+
className,
|
2869
|
+
open,
|
2870
|
+
side = "bottom",
|
2871
|
+
sideOffset = 40,
|
2872
|
+
align = "center",
|
2873
|
+
...props
|
2874
|
+
}) => {
|
2875
|
+
let stylesMap = {
|
2876
|
+
bottom: {
|
2877
|
+
start: { top: sideOffset, insetInlineStart: 0 },
|
2878
|
+
center: { top: sideOffset },
|
2879
|
+
end: { top: sideOffset, insetInlineEnd: 0 }
|
2880
|
+
},
|
2881
|
+
top: {
|
2882
|
+
start: { bottom: sideOffset, insetInlineStart: 0 },
|
2883
|
+
center: { bottom: sideOffset },
|
2884
|
+
end: { bottom: sideOffset, insetInlineEnd: 0 }
|
2885
|
+
},
|
2886
|
+
right: {
|
2887
|
+
start: { left: sideOffset, top: -5 },
|
2888
|
+
center: { left: sideOffset },
|
2889
|
+
end: { left: sideOffset, bottom: 0 }
|
2890
|
+
},
|
2891
|
+
left: {
|
2892
|
+
start: { right: sideOffset, top: 0 },
|
2893
|
+
center: { right: sideOffset },
|
2894
|
+
end: { right: sideOffset, bottom: 0 }
|
2895
|
+
}
|
2896
|
+
};
|
2897
|
+
return /* @__PURE__ */ React13.createElement(
|
2898
|
+
"div",
|
2899
|
+
{
|
2900
|
+
className: cn(
|
2901
|
+
"data-[floatbox-state=closed]:hawa-invisible data-[floatbox-state=open]:hawa-visible hawa-absolute dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[floatbox-state=open]:hawa-animate-in data-[floatbox-state=closed]:hawa-animate-out data-[floatbox-state=closed]:hawa-fade-out-0 data-[floatbox-state=open]:hawa-fade-in-0 data-[floatbox-state=closed]:hawa-zoom-out-95 data-[floatbox-state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
2902
|
+
className
|
2903
|
+
),
|
2904
|
+
style: { ...stylesMap[side][align] },
|
2905
|
+
"data-side": side,
|
2906
|
+
"data-floatbox-state": open ? "open" : "closed"
|
2907
|
+
},
|
2908
|
+
props.children
|
2909
|
+
);
|
2910
|
+
};
|
2911
|
+
|
2912
|
+
// elements/tabs/Tabs.tsx
|
2859
2913
|
var tabsListVariant = tv({
|
2860
2914
|
base: "",
|
2861
2915
|
variants: {
|
@@ -2864,10 +2918,7 @@ var tabsListVariant = tv({
|
|
2864
2918
|
underlined: "hawa-flex hawa-w-fit hawa-flex-wrap hawa-items-center hawa-justify-start hawa-gap-1 hawa-rounded hawa-p-1 hawa-text-muted-foreground dark:hawa-border-primary/10",
|
2865
2919
|
underlined_tabs: "hawa-flex hawa-w-fit hawa-flex-wrap hawa-items-center hawa-justify-start hawa-gap-1 hawa-text-muted-foreground"
|
2866
2920
|
},
|
2867
|
-
orientation: {
|
2868
|
-
horizontal: "",
|
2869
|
-
vertical: ""
|
2870
|
-
}
|
2921
|
+
orientation: { horizontal: "", vertical: "" }
|
2871
2922
|
},
|
2872
2923
|
compoundVariants: [
|
2873
2924
|
{
|
@@ -2881,10 +2932,7 @@ var tabsListVariant = tv({
|
|
2881
2932
|
class: "hawa-border-b-2 hawa-border-b-primary"
|
2882
2933
|
}
|
2883
2934
|
],
|
2884
|
-
defaultVariants: {
|
2885
|
-
variant: "default",
|
2886
|
-
orientation: "horizontal"
|
2887
|
-
}
|
2935
|
+
defaultVariants: { variant: "default", orientation: "horizontal" }
|
2888
2936
|
});
|
2889
2937
|
var tabsTriggerVariant = tv({
|
2890
2938
|
base: "",
|
@@ -2894,10 +2942,7 @@ var tabsTriggerVariant = tv({
|
|
2894
2942
|
underlined: "hawa-inline-flex hawa-w-full hawa-flex-1 hawa-select-none hawa-items-center hawa-justify-center hawa-gap-2 hawa-whitespace-nowrap hawa-rounded hawa-rounded-none hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
2895
2943
|
underlined_tabs: "hawa-inline-flex hawa-w-full hawa-flex-1 hawa-select-none hawa-items-center hawa-justify-center hawa-gap-2 hawa-whitespace-nowrap hawa-rounded hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50 hawa-bg-primary/10 data-[state=active]:hawa-bg-primary data-[state=active]:hawa-text-primary-foreground dark:hawa-border-primary/10"
|
2896
2944
|
},
|
2897
|
-
orientation: {
|
2898
|
-
horizontal: "",
|
2899
|
-
vertical: ""
|
2900
|
-
}
|
2945
|
+
orientation: { horizontal: "", vertical: "" }
|
2901
2946
|
},
|
2902
2947
|
compoundVariants: [
|
2903
2948
|
{
|
@@ -2921,13 +2966,10 @@ var tabsTriggerVariant = tv({
|
|
2921
2966
|
class: "hawa-rounded-e-none"
|
2922
2967
|
}
|
2923
2968
|
],
|
2924
|
-
defaultVariants: {
|
2925
|
-
variant: "default",
|
2926
|
-
orientation: "horizontal"
|
2927
|
-
}
|
2969
|
+
defaultVariants: { variant: "default", orientation: "horizontal" }
|
2928
2970
|
});
|
2929
|
-
var TabsContext =
|
2930
|
-
var Tabs =
|
2971
|
+
var TabsContext = React14.createContext({ orientation: "horizontal", variant: "default" });
|
2972
|
+
var Tabs = React14.forwardRef(({ className, orientation, variant = "default", ...props }, ref) => /* @__PURE__ */ React14.createElement(
|
2931
2973
|
TabsPrimitive.Root,
|
2932
2974
|
{
|
2933
2975
|
ref,
|
@@ -2938,12 +2980,11 @@ var Tabs = React13.forwardRef(({ className, orientation, variant = "default", ..
|
|
2938
2980
|
),
|
2939
2981
|
...props
|
2940
2982
|
},
|
2941
|
-
/* @__PURE__ */
|
2983
|
+
/* @__PURE__ */ React14.createElement(TabsContext.Provider, { value: { orientation, variant } }, props.children)
|
2942
2984
|
));
|
2943
|
-
|
2944
|
-
|
2945
|
-
|
2946
|
-
return /* @__PURE__ */ React13.createElement(
|
2985
|
+
var TabsList = React14.forwardRef(({ className, ...props }, ref) => {
|
2986
|
+
const { orientation, variant } = React14.useContext(TabsContext);
|
2987
|
+
return /* @__PURE__ */ React14.createElement(
|
2947
2988
|
TabsPrimitive.List,
|
2948
2989
|
{
|
2949
2990
|
ref,
|
@@ -2956,22 +2997,36 @@ var TabsList = React13.forwardRef(({ className, ...props }, ref) => {
|
|
2956
2997
|
}
|
2957
2998
|
);
|
2958
2999
|
});
|
2959
|
-
|
2960
|
-
|
2961
|
-
const
|
2962
|
-
|
3000
|
+
var TabsTrigger = React14.forwardRef(({ className, chipProps, ...props }, ref) => {
|
3001
|
+
const { orientation, variant } = React14.useContext(TabsContext);
|
3002
|
+
const tabTriggerRef = React14.useRef(null);
|
3003
|
+
const { width } = useMeasureDirty(tabTriggerRef);
|
3004
|
+
return /* @__PURE__ */ React14.createElement(
|
2963
3005
|
TabsPrimitive.Trigger,
|
2964
3006
|
{
|
2965
|
-
ref,
|
2966
|
-
className: cn(
|
3007
|
+
ref: tabTriggerRef,
|
3008
|
+
className: cn(
|
3009
|
+
tabsTriggerVariant({ variant, orientation }),
|
3010
|
+
"hawa-relative",
|
3011
|
+
className
|
3012
|
+
),
|
2967
3013
|
...props
|
2968
3014
|
},
|
2969
3015
|
props.children,
|
2970
|
-
chipProps && /* @__PURE__ */
|
3016
|
+
chipProps && /* @__PURE__ */ React14.createElement(Chip, { ...chipProps }),
|
3017
|
+
/* @__PURE__ */ React14.createElement(
|
3018
|
+
FloatBox,
|
3019
|
+
{
|
3020
|
+
align: orientation === "vertical" ? "start" : "start",
|
3021
|
+
side: orientation === "vertical" ? "right" : "bottom",
|
3022
|
+
sideOffset: orientation === "vertical" ? width + 30 : 45,
|
3023
|
+
open: props.showPopover
|
3024
|
+
},
|
3025
|
+
props.popoverContent
|
3026
|
+
)
|
2971
3027
|
);
|
2972
3028
|
});
|
2973
|
-
|
2974
|
-
var TabsContent = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React13.createElement(
|
3029
|
+
var TabsContent = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React14.createElement(
|
2975
3030
|
TabsPrimitive.Content,
|
2976
3031
|
{
|
2977
3032
|
ref,
|
@@ -2982,15 +3037,18 @@ var TabsContent = React13.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
2982
3037
|
...props
|
2983
3038
|
}
|
2984
3039
|
));
|
3040
|
+
Tabs.displayName = TabsPrimitive.Root.displayName;
|
3041
|
+
TabsList.displayName = TabsPrimitive.List.displayName;
|
3042
|
+
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
2985
3043
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
2986
3044
|
|
2987
3045
|
// elements/separator/Separator.tsx
|
2988
|
-
import * as
|
3046
|
+
import * as React15 from "react";
|
2989
3047
|
var Separator = ({
|
2990
3048
|
className,
|
2991
3049
|
orientation = "horizontal",
|
2992
3050
|
...props
|
2993
|
-
}) => /* @__PURE__ */
|
3051
|
+
}) => /* @__PURE__ */ React15.createElement(
|
2994
3052
|
"div",
|
2995
3053
|
{
|
2996
3054
|
className: cn(
|
@@ -3003,9 +3061,9 @@ var Separator = ({
|
|
3003
3061
|
);
|
3004
3062
|
|
3005
3063
|
// elements/progress/Progress.tsx
|
3006
|
-
import * as
|
3064
|
+
import * as React16 from "react";
|
3007
3065
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
3008
|
-
var Progress =
|
3066
|
+
var Progress = React16.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React16.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React16.createElement(Label, { ...props.labelProps }, props.label), /* @__PURE__ */ React16.createElement(
|
3009
3067
|
ProgressPrimitive.Root,
|
3010
3068
|
{
|
3011
3069
|
ref,
|
@@ -3015,7 +3073,7 @@ var Progress = React15.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
3015
3073
|
),
|
3016
3074
|
...props
|
3017
3075
|
},
|
3018
|
-
/* @__PURE__ */
|
3076
|
+
/* @__PURE__ */ React16.createElement(
|
3019
3077
|
ProgressPrimitive.Indicator,
|
3020
3078
|
{
|
3021
3079
|
className: "hawa-h-full hawa-w-full hawa-flex-1 hawa-bg-primary hawa-transition-all",
|
@@ -3026,8 +3084,8 @@ var Progress = React15.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
3026
3084
|
Progress.displayName = ProgressPrimitive.Root.displayName;
|
3027
3085
|
|
3028
3086
|
// icons/Emojis.tsx
|
3029
|
-
import
|
3030
|
-
var VeryGoodEmoji = () => /* @__PURE__ */
|
3087
|
+
import React17 from "react";
|
3088
|
+
var VeryGoodEmoji = () => /* @__PURE__ */ React17.createElement(
|
3031
3089
|
"svg",
|
3032
3090
|
{
|
3033
3091
|
fill: "none",
|
@@ -3036,7 +3094,7 @@ var VeryGoodEmoji = () => /* @__PURE__ */ React16.createElement(
|
|
3036
3094
|
width: "16",
|
3037
3095
|
xmlns: "http://www.w3.org/2000/svg"
|
3038
3096
|
},
|
3039
|
-
/* @__PURE__ */
|
3097
|
+
/* @__PURE__ */ React17.createElement("g", { clipPath: "url(#clip0_53_166)" }, /* @__PURE__ */ React17.createElement(
|
3040
3098
|
"path",
|
3041
3099
|
{
|
3042
3100
|
clipRule: "evenodd",
|
@@ -3044,7 +3102,7 @@ var VeryGoodEmoji = () => /* @__PURE__ */ React16.createElement(
|
|
3044
3102
|
fill: "currentColor",
|
3045
3103
|
fillRule: "evenodd"
|
3046
3104
|
}
|
3047
|
-
), /* @__PURE__ */
|
3105
|
+
), /* @__PURE__ */ React17.createElement(
|
3048
3106
|
"path",
|
3049
3107
|
{
|
3050
3108
|
clipRule: "evenodd",
|
@@ -3054,7 +3112,7 @@ var VeryGoodEmoji = () => /* @__PURE__ */ React16.createElement(
|
|
3054
3112
|
}
|
3055
3113
|
))
|
3056
3114
|
);
|
3057
|
-
var GoodEmoji = () => /* @__PURE__ */
|
3115
|
+
var GoodEmoji = () => /* @__PURE__ */ React17.createElement(
|
3058
3116
|
"svg",
|
3059
3117
|
{
|
3060
3118
|
fill: "none",
|
@@ -3063,7 +3121,7 @@ var GoodEmoji = () => /* @__PURE__ */ React16.createElement(
|
|
3063
3121
|
width: "16",
|
3064
3122
|
xmlns: "http://www.w3.org/2000/svg"
|
3065
3123
|
},
|
3066
|
-
/* @__PURE__ */
|
3124
|
+
/* @__PURE__ */ React17.createElement("g", { clipPath: "url(#clip0_53_167)" }, /* @__PURE__ */ React17.createElement(
|
3067
3125
|
"path",
|
3068
3126
|
{
|
3069
3127
|
clipRule: "evenodd",
|
@@ -3073,7 +3131,7 @@ var GoodEmoji = () => /* @__PURE__ */ React16.createElement(
|
|
3073
3131
|
}
|
3074
3132
|
))
|
3075
3133
|
);
|
3076
|
-
var BadEmoji = () => /* @__PURE__ */
|
3134
|
+
var BadEmoji = () => /* @__PURE__ */ React17.createElement(
|
3077
3135
|
"svg",
|
3078
3136
|
{
|
3079
3137
|
fill: "none",
|
@@ -3082,7 +3140,7 @@ var BadEmoji = () => /* @__PURE__ */ React16.createElement(
|
|
3082
3140
|
width: "16",
|
3083
3141
|
xmlns: "http://www.w3.org/2000/svg"
|
3084
3142
|
},
|
3085
|
-
/* @__PURE__ */
|
3143
|
+
/* @__PURE__ */ React17.createElement("g", { clipPath: "url(#clip0_53_152)" }, /* @__PURE__ */ React17.createElement(
|
3086
3144
|
"path",
|
3087
3145
|
{
|
3088
3146
|
clipRule: "evenodd",
|
@@ -3092,7 +3150,7 @@ var BadEmoji = () => /* @__PURE__ */ React16.createElement(
|
|
3092
3150
|
}
|
3093
3151
|
))
|
3094
3152
|
);
|
3095
|
-
var VeryBadEmoji = () => /* @__PURE__ */
|
3153
|
+
var VeryBadEmoji = () => /* @__PURE__ */ React17.createElement(
|
3096
3154
|
"svg",
|
3097
3155
|
{
|
3098
3156
|
fill: "none",
|
@@ -3101,13 +3159,13 @@ var VeryBadEmoji = () => /* @__PURE__ */ React16.createElement(
|
|
3101
3159
|
width: "16",
|
3102
3160
|
xmlns: "http://www.w3.org/2000/svg"
|
3103
3161
|
},
|
3104
|
-
/* @__PURE__ */
|
3162
|
+
/* @__PURE__ */ React17.createElement("g", { clipPath: "url(#clip0_53_151)" }, /* @__PURE__ */ React17.createElement(
|
3105
3163
|
"path",
|
3106
3164
|
{
|
3107
3165
|
d: "M11.841 12.0225C12.7197 12.9324 12.7197 14.4077 11.841 15.3176C10.9623 16.2275 9.53769 16.2275 8.65901 15.3176C7.78033 14.4077 7.78033 12.9324 8.65901 12.0225L10.25 10.375L11.841 12.0225Z",
|
3108
3166
|
fill: "#0070F3"
|
3109
3167
|
}
|
3110
|
-
), /* @__PURE__ */
|
3168
|
+
), /* @__PURE__ */ React17.createElement(
|
3111
3169
|
"path",
|
3112
3170
|
{
|
3113
3171
|
clipRule: "evenodd",
|
@@ -3119,8 +3177,8 @@ var VeryBadEmoji = () => /* @__PURE__ */ React16.createElement(
|
|
3119
3177
|
);
|
3120
3178
|
|
3121
3179
|
// icons/InputIcons.tsx
|
3122
|
-
import
|
3123
|
-
var EyeIcon = (props) => /* @__PURE__ */
|
3180
|
+
import React18 from "react";
|
3181
|
+
var EyeIcon = (props) => /* @__PURE__ */ React18.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React18.createElement(
|
3124
3182
|
"svg",
|
3125
3183
|
{
|
3126
3184
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -3131,10 +3189,10 @@ var EyeIcon = (props) => /* @__PURE__ */ React17.createElement("div", { classNam
|
|
3131
3189
|
strokeLinecap: "round",
|
3132
3190
|
strokeLinejoin: "round"
|
3133
3191
|
},
|
3134
|
-
/* @__PURE__ */
|
3135
|
-
/* @__PURE__ */
|
3192
|
+
/* @__PURE__ */ React18.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
|
3193
|
+
/* @__PURE__ */ React18.createElement("circle", { cx: "12", cy: "12", r: "3" })
|
3136
3194
|
));
|
3137
|
-
var HiddenEyeIcon = (props) => /* @__PURE__ */
|
3195
|
+
var HiddenEyeIcon = (props) => /* @__PURE__ */ React18.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React18.createElement(
|
3138
3196
|
"svg",
|
3139
3197
|
{
|
3140
3198
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -3145,20 +3203,20 @@ var HiddenEyeIcon = (props) => /* @__PURE__ */ React17.createElement("div", { cl
|
|
3145
3203
|
strokeLinecap: "round",
|
3146
3204
|
strokeLinejoin: "round"
|
3147
3205
|
},
|
3148
|
-
/* @__PURE__ */
|
3149
|
-
/* @__PURE__ */
|
3150
|
-
/* @__PURE__ */
|
3151
|
-
/* @__PURE__ */
|
3206
|
+
/* @__PURE__ */ React18.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
|
3207
|
+
/* @__PURE__ */ React18.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
|
3208
|
+
/* @__PURE__ */ React18.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
|
3209
|
+
/* @__PURE__ */ React18.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
|
3152
3210
|
));
|
3153
3211
|
|
3154
3212
|
// icons/CommonIcons.tsx
|
3155
|
-
import
|
3213
|
+
import React19 from "react";
|
3156
3214
|
var CheckMark = ({ size = "default", className }) => {
|
3157
3215
|
let sizeStyles = {
|
3158
3216
|
default: "hawa-h-5 hawa-w-5",
|
3159
3217
|
sm: "hawa-h-3 hawa-w-3"
|
3160
3218
|
};
|
3161
|
-
return /* @__PURE__ */
|
3219
|
+
return /* @__PURE__ */ React19.createElement(
|
3162
3220
|
"svg",
|
3163
3221
|
{
|
3164
3222
|
className: cn(sizeStyles[size], className),
|
@@ -3166,7 +3224,7 @@ var CheckMark = ({ size = "default", className }) => {
|
|
3166
3224
|
fill: "currentColor",
|
3167
3225
|
viewBox: "0 0 20 20"
|
3168
3226
|
},
|
3169
|
-
/* @__PURE__ */
|
3227
|
+
/* @__PURE__ */ React19.createElement(
|
3170
3228
|
"path",
|
3171
3229
|
{
|
3172
3230
|
fillRule: "evenodd",
|
@@ -3181,7 +3239,7 @@ var UncheckMark = ({ size = "default", className }) => {
|
|
3181
3239
|
default: "hawa-h-5 hawa-w-5",
|
3182
3240
|
sm: "hawa-h-3 hawa-w-3"
|
3183
3241
|
};
|
3184
|
-
return /* @__PURE__ */
|
3242
|
+
return /* @__PURE__ */ React19.createElement(
|
3185
3243
|
"svg",
|
3186
3244
|
{
|
3187
3245
|
className: cn(sizeStyles[size], className),
|
@@ -3189,7 +3247,7 @@ var UncheckMark = ({ size = "default", className }) => {
|
|
3189
3247
|
fill: "currentColor",
|
3190
3248
|
viewBox: "0 0 20 20"
|
3191
3249
|
},
|
3192
|
-
/* @__PURE__ */
|
3250
|
+
/* @__PURE__ */ React19.createElement(
|
3193
3251
|
"path",
|
3194
3252
|
{
|
3195
3253
|
fillRule: "evenodd",
|
@@ -3222,6 +3280,8 @@ export {
|
|
3222
3280
|
PopoverContent,
|
3223
3281
|
Popover,
|
3224
3282
|
PopoverTrigger,
|
3283
|
+
PopoverPortal,
|
3284
|
+
PopoverRoot,
|
3225
3285
|
ScrollArea,
|
3226
3286
|
ScrollBar,
|
3227
3287
|
Tabs,
|
@@ -1,4 +1,11 @@
|
|
1
1
|
"use client";
|
2
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
3
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
4
|
+
}) : x)(function(x) {
|
5
|
+
if (typeof require !== "undefined")
|
6
|
+
return require.apply(this, arguments);
|
7
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
8
|
+
});
|
2
9
|
|
3
10
|
// hooks/useBreakpoint.ts
|
4
11
|
import { useState, useEffect } from "react";
|
@@ -20,5 +27,6 @@ var useBreakpoint = () => {
|
|
20
27
|
};
|
21
28
|
|
22
29
|
export {
|
30
|
+
__require,
|
23
31
|
useBreakpoint
|
24
32
|
};
|