@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.
Files changed (86) hide show
  1. package/dist/blocks/index.js +345 -211
  2. package/dist/blocks/index.mjs +3 -2
  3. package/dist/blocks/misc/index.js +289 -155
  4. package/dist/blocks/misc/index.mjs +212 -76
  5. package/dist/blocks/pricing/index.mjs +1 -1
  6. package/dist/chunk-R2SKHHDK.mjs +411 -0
  7. package/dist/{chunk-7LAUVLVZ.mjs → chunk-SW7UK35T.mjs} +123 -63
  8. package/dist/{chunk-H7ZADF2Z.mjs → chunk-UDCDD66A.mjs} +8 -0
  9. package/dist/combobox/index.js.map +1 -1
  10. package/dist/combobox/index.mjs.map +1 -1
  11. package/dist/commonTypes-LrR8QrYP.d.mts +5 -0
  12. package/dist/commonTypes-LrR8QrYP.d.ts +5 -0
  13. package/dist/commonTypes-MeUyaBib.d.mts +5 -0
  14. package/dist/commonTypes-MeUyaBib.d.ts +5 -0
  15. package/dist/elements/index.d.mts +5 -1
  16. package/dist/elements/index.d.ts +5 -1
  17. package/dist/elements/index.js +431 -294
  18. package/dist/elements/index.mjs +9 -5
  19. package/dist/floatBox/index.d.mts +14 -0
  20. package/dist/floatBox/index.d.ts +14 -0
  21. package/dist/floatBox/index.js +97 -0
  22. package/dist/floatBox/index.js.map +1 -0
  23. package/dist/floatBox/index.mjs +61 -0
  24. package/dist/floatBox/index.mjs.map +1 -0
  25. package/dist/hooks/index.d.mts +12 -2
  26. package/dist/hooks/index.d.ts +12 -2
  27. package/dist/hooks/index.js +36 -0
  28. package/dist/hooks/index.mjs +16 -340
  29. package/dist/index.css +101 -56
  30. package/dist/index.d.mts +15 -1
  31. package/dist/index.d.ts +15 -1
  32. package/dist/index.js +7860 -7765
  33. package/dist/index.mjs +1529 -1437
  34. package/dist/input/index.d.mts +2 -1
  35. package/dist/input/index.d.ts +2 -1
  36. package/dist/label/index.d.mts +1 -2
  37. package/dist/label/index.d.ts +1 -2
  38. package/dist/layout/index.mjs +3 -4
  39. package/dist/passwordInput/index.js.map +1 -1
  40. package/dist/passwordInput/index.mjs.map +1 -1
  41. package/dist/phoneInput/index.d.mts +2 -1
  42. package/dist/phoneInput/index.d.ts +2 -1
  43. package/dist/popover/index.d.mts +3 -1
  44. package/dist/popover/index.d.ts +3 -1
  45. package/dist/popover/index.js +6 -0
  46. package/dist/popover/index.js.map +1 -1
  47. package/dist/popover/index.mjs +4 -0
  48. package/dist/popover/index.mjs.map +1 -1
  49. package/dist/progress/index.d.mts +8 -1
  50. package/dist/progress/index.d.ts +8 -1
  51. package/dist/radio/index.d.mts +9 -1
  52. package/dist/radio/index.d.ts +9 -1
  53. package/dist/scrollArea/index.d.mts +1 -1
  54. package/dist/scrollArea/index.d.ts +1 -1
  55. package/dist/separator/index.d.mts +1 -1
  56. package/dist/separator/index.d.ts +1 -1
  57. package/dist/signature/index.d.mts +1 -2
  58. package/dist/signature/index.d.ts +1 -2
  59. package/dist/simpleTable/index.d.mts +1 -1
  60. package/dist/simpleTable/index.d.ts +1 -1
  61. package/dist/switch/index.d.mts +2 -1
  62. package/dist/switch/index.d.ts +2 -1
  63. package/dist/tabs/index.d.mts +3 -1
  64. package/dist/tabs/index.d.ts +3 -1
  65. package/dist/tabs/index.js +172 -38
  66. package/dist/tabs/index.js.map +1 -1
  67. package/dist/tabs/index.mjs +172 -38
  68. package/dist/tabs/index.mjs.map +1 -1
  69. package/dist/textarea/index.d.mts +1 -1
  70. package/dist/textarea/index.d.ts +1 -1
  71. package/dist/toast/index.d.mts +1 -1
  72. package/dist/toast/index.d.ts +1 -1
  73. package/dist/toaster/index.d.mts +22 -4
  74. package/dist/toaster/index.d.ts +22 -4
  75. package/dist/tooltip/index.d.mts +3 -4
  76. package/dist/tooltip/index.d.ts +3 -4
  77. package/package.json +8 -8
  78. package/dist/Label-9FHRF7Ex.d.mts +0 -14
  79. package/dist/Label-9FHRF7Ex.d.ts +0 -14
  80. package/dist/chunk-4OOSUQZG.mjs +0 -12
  81. package/dist/chunk-57SB6MBG.mjs +0 -31
  82. package/dist/commonTypes-3k5cNB1s.d.mts +0 -4
  83. package/dist/commonTypes-3k5cNB1s.d.ts +0 -4
  84. package/dist/commonTypes-PBumfOBg.d.mts +0 -3
  85. package/dist/commonTypes-PBumfOBg.d.ts +0 -3
  86. /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.25-next",
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.0",
65
- "@tanstack/table-core": "^8.14.0",
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.58",
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.1",
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.69",
95
- "@types/react-dom": "^18.2.22",
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.1",
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 };
@@ -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 };
@@ -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
- };
@@ -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
- };
@@ -1,4 +0,0 @@
1
- type DirectionType = "rtl" | "ltr";
2
- type OrientationType = "vertical" | "horizontal";
3
-
4
- export type { DirectionType as D, OrientationType as O };
@@ -1,4 +0,0 @@
1
- type DirectionType = "rtl" | "ltr";
2
- type OrientationType = "vertical" | "horizontal";
3
-
4
- export type { DirectionType as D, OrientationType as O };
@@ -1,3 +0,0 @@
1
- type RadiusType = "full" | "inherit" | "none";
2
-
3
- export type { RadiusType as R };
@@ -1,3 +0,0 @@
1
- type RadiusType = "full" | "inherit" | "none";
2
-
3
- export type { RadiusType as R };
File without changes