@sikka/hawa 0.43.3-next → 0.43.5-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/alert/index.js +23 -10
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +23 -10
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.js +23 -10
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +23 -10
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/backToTop/index.js +23 -10
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +23 -10
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +23 -10
- package/dist/blocks/auth/index.mjs +4 -4
- package/dist/blocks/feedback/index.js +23 -10
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.js +23 -10
- package/dist/blocks/index.mjs +2 -2
- package/dist/blocks/misc/index.js +23 -10
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.js +23 -10
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/button/index.d.mts +1 -1
- package/dist/button/index.d.ts +1 -1
- package/dist/button/index.js +23 -10
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs +23 -10
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.d.mts +5 -2
- package/dist/calendar/index.d.ts +5 -2
- package/dist/calendar/index.js +51 -29
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs +51 -29
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/{chunk-3I6DTCGJ.mjs → chunk-3MJGVWY2.mjs} +1 -1
- package/dist/{chunk-PZ6LGLUF.mjs → chunk-P7TMXOPP.mjs} +1 -1
- package/dist/{chunk-5X6V6BFC.mjs → chunk-PORTGNAK.mjs} +1 -1
- package/dist/{chunk-A7JXCQLS.mjs → chunk-QBPDB7E2.mjs} +1 -1
- package/dist/{chunk-4SEU2OBJ.mjs → chunk-QDZMNVKS.mjs} +1 -1
- package/dist/{chunk-KFJSUYMZ.mjs → chunk-RPJYSE6Y.mjs} +23 -10
- package/dist/{chunk-REZBAB65.mjs → chunk-VWJIORNH.mjs} +1 -1
- package/dist/{chunk-S3F3NZSV.mjs → chunk-WJ6XCEUI.mjs} +1 -1
- package/dist/{chunk-SLEEOH6M.mjs → chunk-ZPNZUWM5.mjs} +23 -10
- package/dist/{chunk-EP42BEIJ.mjs → chunk-ZWQWYHT4.mjs} +1 -1
- package/dist/codeBlock/index.js +23 -10
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +23 -10
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.js +23 -10
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs +23 -10
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.js +23 -10
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +23 -10
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/dataTable/index.js +23 -10
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +23 -10
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.d.mts +1 -1
- package/dist/datePicker/index.d.ts +1 -1
- package/dist/datePicker/index.js +51 -30
- package/dist/datePicker/index.js.map +1 -1
- package/dist/datePicker/index.mjs +51 -30
- package/dist/datePicker/index.mjs.map +1 -1
- package/dist/docsLayout/index.js +23 -10
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +23 -10
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +1 -1
- package/dist/elements/index.d.ts +1 -1
- package/dist/elements/index.js +23 -10
- package/dist/elements/index.mjs +3 -3
- package/dist/fileDropzone/index.js +23 -10
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +23 -10
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/index.js +23 -10
- package/dist/index.mjs +23 -10
- package/dist/input/index.js +23 -10
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +23 -10
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js +23 -10
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +23 -10
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/layout/index.js +23 -10
- package/dist/layout/index.mjs +2 -2
- package/dist/passwordInput/index.js +23 -10
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +23 -10
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js +23 -10
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +23 -10
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/pinInput/index.js +23 -10
- package/dist/pinInput/index.js.map +1 -1
- package/dist/pinInput/index.mjs +23 -10
- package/dist/pinInput/index.mjs.map +1 -1
- package/dist/radio/index.js +23 -10
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +23 -10
- package/dist/radio/index.mjs.map +1 -1
- package/dist/select/index.js +23 -10
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +23 -10
- package/dist/select/index.mjs.map +1 -1
- package/dist/sonner/index.js +1 -1
- package/dist/sonner/index.js.map +1 -1
- package/dist/sonner/index.mjs +1 -1
- package/dist/sonner/index.mjs.map +1 -1
- package/dist/sortButton/index.js +23 -10
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs +23 -10
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.d.mts +1 -1
- package/dist/splitButton/index.d.ts +1 -1
- package/dist/splitButton/index.js +23 -10
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +23 -10
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/textarea/index.js +23 -10
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs +23 -10
- package/dist/textarea/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/appLayout/index.mjs
CHANGED
@@ -49,16 +49,29 @@ import { cva } from "class-variance-authority";
|
|
49
49
|
|
50
50
|
// elements/helperText/HelperText.tsx
|
51
51
|
import React from "react";
|
52
|
-
var HelperText = ({
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
52
|
+
var HelperText = ({
|
53
|
+
helperText,
|
54
|
+
size = "xs"
|
55
|
+
}) => {
|
56
|
+
let sizes = {
|
57
|
+
xs: "hawa-text-xs hawa-h-4",
|
58
|
+
sm: "hawa-text-sm",
|
59
|
+
md: "hawa-text-md",
|
60
|
+
lg: "hawa-text-lg",
|
61
|
+
xl: "hawa-text-xl"
|
62
|
+
};
|
63
|
+
return /* @__PURE__ */ React.createElement(
|
64
|
+
"p",
|
65
|
+
{
|
66
|
+
className: cn(
|
67
|
+
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all",
|
68
|
+
helperText ? "hawa-opacity-100" : "hawa-h-0 hawa-opacity-0",
|
69
|
+
sizes[size]
|
70
|
+
)
|
71
|
+
},
|
72
|
+
helperText
|
73
|
+
);
|
74
|
+
};
|
62
75
|
|
63
76
|
// elements/label/Label.tsx
|
64
77
|
import * as React3 from "react";
|