@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/dataTable/index.mjs
CHANGED
@@ -25,16 +25,29 @@ import { cva } from "class-variance-authority";
|
|
25
25
|
|
26
26
|
// elements/helperText/HelperText.tsx
|
27
27
|
import React from "react";
|
28
|
-
var HelperText = ({
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
28
|
+
var HelperText = ({
|
29
|
+
helperText,
|
30
|
+
size = "xs"
|
31
|
+
}) => {
|
32
|
+
let sizes = {
|
33
|
+
xs: "hawa-text-xs hawa-h-4",
|
34
|
+
sm: "hawa-text-sm",
|
35
|
+
md: "hawa-text-md",
|
36
|
+
lg: "hawa-text-lg",
|
37
|
+
xl: "hawa-text-xl"
|
38
|
+
};
|
39
|
+
return /* @__PURE__ */ React.createElement(
|
40
|
+
"p",
|
41
|
+
{
|
42
|
+
className: cn(
|
43
|
+
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all",
|
44
|
+
helperText ? "hawa-opacity-100" : "hawa-h-0 hawa-opacity-0",
|
45
|
+
sizes[size]
|
46
|
+
)
|
47
|
+
},
|
48
|
+
helperText
|
49
|
+
);
|
50
|
+
};
|
38
51
|
|
39
52
|
// elements/label/Label.tsx
|
40
53
|
import * as React3 from "react";
|