@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
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sikka/hawa",
|
3
|
-
"version": "0.30.
|
3
|
+
"version": "0.30.27-next",
|
4
4
|
"description": "Modern UI Kit made with Tailwind",
|
5
5
|
"author": {
|
6
6
|
"name": "Sikka Software",
|
@@ -61,8 +61,8 @@
|
|
61
61
|
"@radix-ui/react-tabs": "^1.0.4",
|
62
62
|
"@radix-ui/react-toast": "^1.1.5",
|
63
63
|
"@radix-ui/react-tooltip": "^1.0.7",
|
64
|
-
"@tanstack/react-table": "^8.15.
|
65
|
-
"@tanstack/table-core": "^8.
|
64
|
+
"@tanstack/react-table": "^8.15.3",
|
65
|
+
"@tanstack/table-core": "^8.15.3",
|
66
66
|
"class-variance-authority": "^0.7.0",
|
67
67
|
"clsx": "^2.1.0",
|
68
68
|
"cmdk": "^1.0.0",
|
@@ -70,14 +70,14 @@
|
|
70
70
|
"embla-carousel-react": "^8.0.0",
|
71
71
|
"eslint": "^8.57.0",
|
72
72
|
"eslint-config-next": "^14.1.4",
|
73
|
-
"libphonenumber-js": "^1.10.
|
73
|
+
"libphonenumber-js": "^1.10.59",
|
74
74
|
"prism-react-renderer": "^2.3.1",
|
75
75
|
"prismjs": "^1.29.0",
|
76
76
|
"react": "18.2.0",
|
77
77
|
"react-dom": "18.2.0",
|
78
78
|
"react-dropzone": "^14.2.3",
|
79
79
|
"react-headless-pagination": "^1.1.5",
|
80
|
-
"react-hook-form": "^7.51.
|
80
|
+
"react-hook-form": "^7.51.2",
|
81
81
|
"react-select": "^5.8.0",
|
82
82
|
"signature_pad": "^4.2.0",
|
83
83
|
"tailwind-merge": "^2.2.2",
|
@@ -91,8 +91,8 @@
|
|
91
91
|
"@testing-library/jest-dom": "^6.4.2",
|
92
92
|
"@testing-library/react": "^14.2.2",
|
93
93
|
"@types/jest": "^29.5.12",
|
94
|
-
"@types/react": "^18.2.
|
95
|
-
"@types/react-dom": "^18.2.
|
94
|
+
"@types/react": "^18.2.73",
|
95
|
+
"@types/react-dom": "^18.2.23",
|
96
96
|
"autoprefixer": "^10.4.19",
|
97
97
|
"boxen": "^7.1.1",
|
98
98
|
"chalk": "^5.3.0",
|
@@ -103,7 +103,7 @@
|
|
103
103
|
"postcss": "^8.4.38",
|
104
104
|
"postcss-cli": "^11.0.0",
|
105
105
|
"postcss-import": "^16.1.0",
|
106
|
-
"tailwindcss": "^3.4.
|
106
|
+
"tailwindcss": "^3.4.3",
|
107
107
|
"tailwindcss-animate": "^1.0.7",
|
108
108
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
109
109
|
"tsup": "^8.0.2"
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
|
3
|
-
type DirectionType = "rtl" | "ltr";
|
4
|
-
type PositionType = "top" | "bottom" | "right" | "left";
|
5
|
-
type OrientationType = "vertical" | "horizontal";
|
6
|
-
|
7
|
-
type LabelProps = {
|
8
|
-
hint?: React.ReactNode;
|
9
|
-
hintSide?: PositionType;
|
10
|
-
htmlFor?: string;
|
11
|
-
required?: boolean;
|
12
|
-
};
|
13
|
-
|
14
|
-
export type { DirectionType as D, LabelProps as L, OrientationType as O };
|
package/dist/Label-9FHRF7Ex.d.ts
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
|
3
|
-
type DirectionType = "rtl" | "ltr";
|
4
|
-
type PositionType = "top" | "bottom" | "right" | "left";
|
5
|
-
type OrientationType = "vertical" | "horizontal";
|
6
|
-
|
7
|
-
type LabelProps = {
|
8
|
-
hint?: React.ReactNode;
|
9
|
-
hintSide?: PositionType;
|
10
|
-
htmlFor?: string;
|
11
|
-
required?: boolean;
|
12
|
-
};
|
13
|
-
|
14
|
-
export type { DirectionType as D, LabelProps as L, OrientationType as O };
|
package/dist/chunk-4OOSUQZG.mjs
DELETED
@@ -1,12 +0,0 @@
|
|
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
|
-
});
|
9
|
-
|
10
|
-
export {
|
11
|
-
__require
|
12
|
-
};
|
package/dist/chunk-57SB6MBG.mjs
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
|
3
|
-
// hooks/useClipboard.ts
|
4
|
-
import { useState } from "react";
|
5
|
-
function useClipboard({ timeout = 2e3 } = {}) {
|
6
|
-
const [error, setError] = useState(null);
|
7
|
-
const [copied, setCopied] = useState(false);
|
8
|
-
const [copyTimeout, setCopyTimeout] = useState(null);
|
9
|
-
const handleCopyResult = (value) => {
|
10
|
-
clearTimeout(copyTimeout);
|
11
|
-
setCopyTimeout(setTimeout(() => setCopied(false), timeout));
|
12
|
-
setCopied(value);
|
13
|
-
};
|
14
|
-
const copy = (valueToCopy) => {
|
15
|
-
if ("clipboard" in navigator) {
|
16
|
-
navigator.clipboard.writeText(valueToCopy).then(() => handleCopyResult(true)).catch((err) => setError(err));
|
17
|
-
} else {
|
18
|
-
setError(new Error("useClipboard: navigator.clipboard is not supported"));
|
19
|
-
}
|
20
|
-
};
|
21
|
-
const reset = () => {
|
22
|
-
setCopied(false);
|
23
|
-
setError(null);
|
24
|
-
clearTimeout(copyTimeout);
|
25
|
-
};
|
26
|
-
return { copy, reset, error, copied };
|
27
|
-
}
|
28
|
-
|
29
|
-
export {
|
30
|
-
useClipboard
|
31
|
-
};
|
File without changes
|