@sikka/hawa 0.36.2-next → 0.37.1-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/appLayout/index.js +1 -1
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +1 -1
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +24 -25
- package/dist/blocks/auth/index.mjs +4 -4
- package/dist/blocks/feedback/index.js +24 -25
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.js +308 -192
- package/dist/blocks/index.mjs +3 -3
- package/dist/blocks/misc/index.js +270 -154
- package/dist/blocks/misc/index.mjs +53 -19
- package/dist/blocks/pricing/index.js +107 -22
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/card/index.d.mts +3 -1
- package/dist/card/index.d.ts +3 -1
- package/dist/card/index.js +13 -11
- package/dist/card/index.js.map +1 -1
- package/dist/card/index.mjs +13 -11
- package/dist/card/index.mjs.map +1 -1
- package/dist/{chunk-WABHQMUI.mjs → chunk-BPHQFAWM.mjs} +1 -1
- package/dist/{chunk-MVKP55SZ.mjs → chunk-BTDR3VAG.mjs} +1 -1
- package/dist/{chunk-7L2JUNG2.mjs → chunk-DS3AACQJ.mjs} +1 -1
- package/dist/{chunk-BXBSZD5X.mjs → chunk-MDHDHEPZ.mjs} +1 -1
- package/dist/{chunk-6QIOEUE2.mjs → chunk-ODOCZAWC.mjs} +1 -1
- package/dist/{chunk-YP2CCKZG.mjs → chunk-PXGL7ZXQ.mjs} +13 -11
- package/dist/{chunk-HLYAX77R.mjs → chunk-QXH7ZDMN.mjs} +12 -15
- package/dist/{chunk-T33FXOHA.mjs → chunk-QYWOI3DO.mjs} +152 -41
- package/dist/{chunk-NNPNQK6F.mjs → chunk-RNFJAEEU.mjs} +13 -11
- package/dist/{chunk-OPYDG34F.mjs → chunk-ZBUBNKF6.mjs} +93 -1
- package/dist/{chunk-CJ57JBYA.mjs → chunk-ZTUWU652.mjs} +95 -12
- package/dist/combobox/index.d.mts +1 -4
- package/dist/combobox/index.d.ts +1 -4
- package/dist/combobox/index.js +2 -1
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +2 -1
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/command/index.d.mts +4 -36
- package/dist/command/index.d.ts +4 -36
- package/dist/command/index.js +43 -5
- package/dist/command/index.js.map +1 -1
- package/dist/command/index.mjs +39 -3
- package/dist/command/index.mjs.map +1 -1
- package/dist/destroyableCard/index.js +13 -11
- package/dist/destroyableCard/index.js.map +1 -1
- package/dist/destroyableCard/index.mjs +13 -11
- package/dist/destroyableCard/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +31 -3
- package/dist/elements/index.d.ts +31 -3
- package/dist/elements/index.js +450 -295
- package/dist/elements/index.mjs +43 -6
- package/dist/hooks/index.d.mts +25 -1
- package/dist/hooks/index.d.ts +25 -1
- package/dist/hooks/index.js +96 -0
- package/dist/hooks/index.mjs +9 -1
- package/dist/index-e_Ob_SnB.d.mts +63 -0
- package/dist/index-e_Ob_SnB.d.ts +63 -0
- package/dist/index.css +20 -3
- package/dist/index.d.mts +55 -3
- package/dist/index.d.ts +55 -3
- package/dist/index.js +966 -718
- package/dist/index.mjs +494 -252
- package/dist/layout/index.js +14 -12
- package/dist/layout/index.mjs +3 -3
- package/dist/phoneInput/index.js +11 -14
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +11 -14
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/scrollArea/index.js +94 -11
- package/dist/scrollArea/index.js.map +1 -1
- package/dist/scrollArea/index.mjs +94 -11
- package/dist/scrollArea/index.mjs.map +1 -1
- package/dist/select/index.js +11 -14
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +11 -14
- package/dist/select/index.mjs.map +1 -1
- package/dist/stats/index.js +13 -11
- package/dist/stats/index.js.map +1 -1
- package/dist/stats/index.mjs +13 -11
- package/dist/stats/index.mjs.map +1 -1
- package/dist/tabs/index.d.mts +3 -1
- package/dist/tabs/index.d.ts +3 -1
- package/dist/tabs/index.js +189 -32
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +184 -27
- package/dist/tabs/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/layout/index.js
CHANGED
@@ -103,17 +103,19 @@ var Card = React.forwardRef(
|
|
103
103
|
);
|
104
104
|
}
|
105
105
|
);
|
106
|
-
var CardHeader = React.forwardRef(
|
107
|
-
"div",
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
106
|
+
var CardHeader = React.forwardRef(
|
107
|
+
({ className, ...props }, ref) => /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ React.createElement(
|
108
|
+
"div",
|
109
|
+
{
|
110
|
+
ref,
|
111
|
+
className: cn(
|
112
|
+
"hawa-flex hawa-flex-col hawa-space-y-1.5 hawa-p-6",
|
113
|
+
className
|
114
|
+
),
|
115
|
+
...props
|
116
|
+
}
|
117
|
+
), props.actions && /* @__PURE__ */ React.createElement("div", { className: "hawa-p-6" }, props.actions))
|
118
|
+
);
|
117
119
|
var CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
118
120
|
"h3",
|
119
121
|
{
|
@@ -1838,7 +1840,7 @@ var AppLayout = ({
|
|
1838
1840
|
open: size < 600 && openSideMenu,
|
1839
1841
|
onOpenChange: setOpenSideMenu
|
1840
1842
|
},
|
1841
|
-
/* @__PURE__ */ import_react14.default.createElement(Dialog.Portal, { container }, /* @__PURE__ */ import_react14.default.createElement(Dialog.Overlay, { className: "hawa-fixed hawa-inset-0
|
1843
|
+
/* @__PURE__ */ import_react14.default.createElement(Dialog.Portal, { container }, /* @__PURE__ */ import_react14.default.createElement(Dialog.Overlay, { className: "hawa-fixed hawa-inset-0 hawa-bg-foreground/20 hawa-backdrop-blur-[2px] data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out hawa-z-10 data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0" }))
|
1842
1844
|
), /* @__PURE__ */ import_react14.default.createElement(
|
1843
1845
|
"div",
|
1844
1846
|
{
|
package/dist/layout/index.mjs
CHANGED
@@ -3,7 +3,7 @@ import {
|
|
3
3
|
Sheet,
|
4
4
|
SheetContent,
|
5
5
|
SheetTrigger
|
6
|
-
} from "../chunk-
|
6
|
+
} from "../chunk-ODOCZAWC.mjs";
|
7
7
|
import {
|
8
8
|
Button,
|
9
9
|
Card,
|
@@ -16,7 +16,7 @@ import {
|
|
16
16
|
Skeleton,
|
17
17
|
Tooltip,
|
18
18
|
cn
|
19
|
-
} from "../chunk-
|
19
|
+
} from "../chunk-RNFJAEEU.mjs";
|
20
20
|
import {
|
21
21
|
useBreakpoint,
|
22
22
|
useClickOutside
|
@@ -714,7 +714,7 @@ var AppLayout = ({
|
|
714
714
|
open: size < 600 && openSideMenu,
|
715
715
|
onOpenChange: setOpenSideMenu
|
716
716
|
},
|
717
|
-
/* @__PURE__ */ React5.createElement(Dialog.Portal, { container }, /* @__PURE__ */ React5.createElement(Dialog.Overlay, { className: "hawa-fixed hawa-inset-0
|
717
|
+
/* @__PURE__ */ React5.createElement(Dialog.Portal, { container }, /* @__PURE__ */ React5.createElement(Dialog.Overlay, { className: "hawa-fixed hawa-inset-0 hawa-bg-foreground/20 hawa-backdrop-blur-[2px] data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out hawa-z-10 data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0" }))
|
718
718
|
), /* @__PURE__ */ React5.createElement(
|
719
719
|
"div",
|
720
720
|
{
|
package/dist/phoneInput/index.js
CHANGED
@@ -1954,6 +1954,10 @@ var Select = ({
|
|
1954
1954
|
children
|
1955
1955
|
);
|
1956
1956
|
};
|
1957
|
+
let phoneCodeStyles = "hawa-min-w-[65px] hawa-text-right hawa-w-[100px] hawa-p-0 hawa-rounded-r-none hawa-h-[40px]";
|
1958
|
+
let selectContainerStyles = "hawa-rounded hawa-block hawa-w-full hawa-border hawa-transition-all hawa-bg-background hawa-p-0 hawa-px-1 hawa-text-sm";
|
1959
|
+
let selectPlaceholderStyles = "hawa-text-muted-foreground hawa-cursor-pointer hawa-px-1";
|
1960
|
+
let selectIndicatorContainerStyles = "hawa-cursor-pointer hawa-text-muted-foreground hawa-absolute hawa-end-0 hawa-top-[50%] hawa-bottom-[50%] ";
|
1957
1961
|
return /* @__PURE__ */ import_react3.default.createElement(
|
1958
1962
|
"div",
|
1959
1963
|
{
|
@@ -1975,26 +1979,22 @@ var Select = ({
|
|
1975
1979
|
props.controlClassNames
|
1976
1980
|
),
|
1977
1981
|
container: () => cn(
|
1978
|
-
|
1979
|
-
props.phoneCode &&
|
1980
|
-
"hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-0 hawa-px-1 hawa-text-sm",
|
1982
|
+
selectContainerStyles,
|
1983
|
+
props.phoneCode && phoneCodeStyles,
|
1981
1984
|
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer",
|
1982
1985
|
props.isMulti && "hawa-ps-0 "
|
1983
1986
|
),
|
1984
|
-
placeholder: () =>
|
1987
|
+
placeholder: () => selectPlaceholderStyles,
|
1985
1988
|
valueContainer: () => "hawa-text-foreground hawa-px-1 ",
|
1986
1989
|
singleValue: () => "hawa-text-foreground",
|
1987
1990
|
indicatorsContainer: () => cn(
|
1988
|
-
|
1991
|
+
selectIndicatorContainerStyles,
|
1989
1992
|
props.hideIndicator ? "hawa-invisible" : "hawa-px-1"
|
1990
1993
|
)
|
1991
1994
|
},
|
1992
1995
|
unstyled: true,
|
1993
|
-
|
1994
|
-
|
1995
|
-
Menu,
|
1996
|
-
IndicatorsContainer: () => null
|
1997
|
-
} : {
|
1996
|
+
autoFocus: false,
|
1997
|
+
components: props.hideIndicator ? { Option, Menu, IndicatorsContainer: () => null } : {
|
1998
1998
|
Option,
|
1999
1999
|
Menu,
|
2000
2000
|
// Control: (e) => (
|
@@ -2016,10 +2016,7 @@ var Select = ({
|
|
2016
2016
|
MultiValueContainer: (e) => /* @__PURE__ */ import_react3.default.createElement(
|
2017
2017
|
"div",
|
2018
2018
|
{
|
2019
|
-
className:
|
2020
|
-
// e.className,
|
2021
|
-
"hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row"
|
2022
|
-
),
|
2019
|
+
className: "hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row",
|
2023
2020
|
...e
|
2024
2021
|
}
|
2025
2022
|
)
|