@sikka/hawa 0.24.13-next → 0.24.15-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 (51) hide show
  1. package/dist/blocks/auth/index.js +26 -15
  2. package/dist/blocks/auth/index.mjs +4 -4
  3. package/dist/blocks/feedback/index.js +25 -14
  4. package/dist/blocks/feedback/index.mjs +5 -5
  5. package/dist/blocks/index.js +26 -15
  6. package/dist/blocks/index.mjs +1 -1
  7. package/dist/blocks/misc/index.js +25 -14
  8. package/dist/blocks/misc/index.mjs +4 -4
  9. package/dist/blocks/pricing/index.js +25 -14
  10. package/dist/blocks/pricing/index.mjs +4 -4
  11. package/dist/{chunk-N26RJDIG.mjs → chunk-2UQWMSFQ.mjs} +1 -1
  12. package/dist/{chunk-7NCNPRCL.mjs → chunk-53XBVEMK.mjs} +25 -14
  13. package/dist/{chunk-C2UYTGUD.mjs → chunk-ABS2VEET.mjs} +25 -14
  14. package/dist/{chunk-D75D7LGZ.mjs → chunk-ATUSR6VI.mjs} +1 -1
  15. package/dist/{chunk-677VOLD4.mjs → chunk-FYH74ZRQ.mjs} +25 -14
  16. package/dist/{chunk-A25EXELT.mjs → chunk-OD5WIQGQ.mjs} +1 -1
  17. package/dist/{chunk-7XRVH6O7.mjs → chunk-OE23TTPS.mjs} +1 -1
  18. package/dist/{chunk-F6TKEDDP.mjs → chunk-PKLR7UF6.mjs} +1 -1
  19. package/dist/{chunk-LRLLDOQZ.mjs → chunk-S36W2LDN.mjs} +25 -14
  20. package/dist/{chunk-UTGVG66T.mjs → chunk-TTKRRN7S.mjs} +1 -1
  21. package/dist/{chunk-XOEHA3H6.mjs → chunk-XE3FLWLT.mjs} +25 -14
  22. package/dist/codeBlock/index.js +29 -16
  23. package/dist/codeBlock/index.mjs +5 -3
  24. package/dist/colorPicker/index.js +25 -14
  25. package/dist/colorPicker/index.mjs +1 -1
  26. package/dist/combobox/index.js +29 -16
  27. package/dist/combobox/index.mjs +29 -16
  28. package/dist/dataTable/index.js +25 -14
  29. package/dist/dataTable/index.mjs +25 -14
  30. package/dist/elements/index.js +29 -16
  31. package/dist/elements/index.mjs +5 -3
  32. package/dist/index.css +1 -1
  33. package/dist/index.js +29 -16
  34. package/dist/index.mjs +29 -16
  35. package/dist/input/index.js +25 -14
  36. package/dist/input/index.mjs +1 -1
  37. package/dist/interfaceSettings/index.js +25 -14
  38. package/dist/interfaceSettings/index.mjs +1 -1
  39. package/dist/label/index.js +25 -14
  40. package/dist/label/index.mjs +1 -1
  41. package/dist/passwordInput/index.js +25 -14
  42. package/dist/passwordInput/index.mjs +1 -1
  43. package/dist/phoneInput/index.js +27 -16
  44. package/dist/phoneInput/index.mjs +1 -1
  45. package/dist/radio/index.js +25 -14
  46. package/dist/radio/index.mjs +25 -14
  47. package/dist/select/index.js +25 -14
  48. package/dist/select/index.mjs +25 -14
  49. package/dist/textarea/index.js +25 -14
  50. package/dist/textarea/index.mjs +25 -14
  51. package/package.json +26 -26
@@ -72,22 +72,33 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
72
72
  },
73
73
  children,
74
74
  required && /* @__PURE__ */ React2.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
75
- ), hint && /* @__PURE__ */ React2.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React2.createElement(
76
- "svg",
75
+ ), hint && /* @__PURE__ */ React2.createElement(
76
+ Tooltip,
77
77
  {
78
- xmlns: "http://www.w3.org/2000/svg",
79
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
80
- viewBox: "0 0 24 24",
81
- fill: "none",
82
- stroke: "currentColor",
83
- strokeWidth: "2",
84
- strokeLinecap: "round",
85
- strokeLinejoin: "round"
78
+ content: hint,
79
+ side: hintSide,
80
+ triggerProps: {
81
+ tabIndex: -1,
82
+ onClick: (event) => event.preventDefault()
83
+ }
86
84
  },
87
- /* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
88
- /* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
89
- /* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
90
- ))));
85
+ /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
86
+ "svg",
87
+ {
88
+ xmlns: "http://www.w3.org/2000/svg",
89
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
90
+ viewBox: "0 0 24 24",
91
+ fill: "none",
92
+ stroke: "currentColor",
93
+ strokeWidth: "2",
94
+ strokeLinecap: "round",
95
+ strokeLinejoin: "round"
96
+ },
97
+ /* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
98
+ /* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
99
+ /* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
100
+ ))
101
+ )));
91
102
  Label.displayName = "Label";
92
103
 
93
104
  // components/elements/textarea/Textarea.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.24.13-next",
3
+ "version": "0.24.15-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",
@@ -78,43 +78,43 @@
78
78
  "@radix-ui/react-tabs": "^1.0.4",
79
79
  "@radix-ui/react-toast": "^1.1.5",
80
80
  "@radix-ui/react-tooltip": "^1.0.7",
81
- "@tanstack/react-table": "^8.10.7",
82
- "@types/node": "^20.10.4",
83
- "@types/react": "^18.2.42",
84
- "@types/react-dom": "^18.2.17",
81
+ "@tanstack/react-table": "^8.11.0",
82
+ "@types/node": "^20.10.5",
83
+ "@types/react": "^18.2.45",
84
+ "@types/react-dom": "^18.2.18",
85
85
  "class-variance-authority": "^0.7.0",
86
86
  "clsx": "^2.0.0",
87
87
  "cmdk": "^0.2.0",
88
- "embla-carousel-auto-height": "^8.0.0-rc14",
89
- "embla-carousel-react": "^8.0.0-rc14",
90
- "eslint": "^8.55.0",
88
+ "embla-carousel-auto-height": "^8.0.0-rc15",
89
+ "embla-carousel-react": "^8.0.0-rc15",
90
+ "eslint": "^8.56.0",
91
91
  "eslint-config-next": "^14.0.4",
92
- "libphonenumber-js": "^1.10.50",
92
+ "libphonenumber-js": "^1.10.52",
93
93
  "next": "^14.0.4",
94
94
  "next-themes": "^0.2.1",
95
- "prism-react-renderer": "^2.3.0",
95
+ "prism-react-renderer": "^2.3.1",
96
96
  "react": "18.2.0",
97
97
  "react-dom": "18.2.0",
98
98
  "react-dropzone": "^14.2.3",
99
99
  "react-headless-pagination": "^1.1.4",
100
- "react-hook-form": "^7.48.2",
100
+ "react-hook-form": "^7.49.2",
101
101
  "react-select": "^5.8.0",
102
102
  "tailwind-merge": "^2.1.0",
103
- "zod": "^3.22.3"
103
+ "zod": "^3.22.4"
104
104
  },
105
105
  "devDependencies": {
106
106
  "@babel/preset-react": "^7.23.3",
107
107
  "@sikka/alam": "^0.0.4",
108
- "@storybook/addon-essentials": "^7.6.4",
109
- "@storybook/addon-interactions": "^7.6.4",
110
- "@storybook/addon-links": "^7.6.4",
111
- "@storybook/addon-mdx-gfm": "^7.6.4",
112
- "@storybook/blocks": "^7.6.4",
113
- "@storybook/manager-api": "^7.6.4",
114
- "@storybook/nextjs": "^7.6.4",
115
- "@storybook/react": "^7.6.4",
108
+ "@storybook/addon-essentials": "^7.6.5",
109
+ "@storybook/addon-interactions": "^7.6.5",
110
+ "@storybook/addon-links": "^7.6.5",
111
+ "@storybook/addon-mdx-gfm": "^7.6.5",
112
+ "@storybook/blocks": "^7.6.5",
113
+ "@storybook/manager-api": "^7.6.5",
114
+ "@storybook/nextjs": "^7.6.5",
115
+ "@storybook/react": "^7.6.5",
116
116
  "@storybook/testing-library": "^0.2.2",
117
- "@storybook/theming": "^7.6.4",
117
+ "@storybook/theming": "^7.6.5",
118
118
  "@testing-library/jest-dom": "^6.1.5",
119
119
  "@testing-library/react": "^14.1.2",
120
120
  "@trivago/prettier-plugin-sort-imports": "^4.3.0",
@@ -123,16 +123,16 @@
123
123
  "eslint-plugin-storybook": "^0.6.15",
124
124
  "jest": "^29.7.0",
125
125
  "jest-environment-jsdom": "^29.7.0",
126
- "lucide-react": "^0.294.0",
126
+ "lucide-react": "^0.298.0",
127
127
  "postcss": "^8.4.32",
128
128
  "postcss-cli": "^11.0.0",
129
129
  "postcss-import": "^15.1.0",
130
- "prettier": "^3.1.0",
130
+ "prettier": "^3.1.1",
131
131
  "prettier-plugin-tailwindcss": "^0.5.9",
132
132
  "recharts": "^2.10.3",
133
- "storybook": "^7.6.4",
134
- "storybook-dark-mode": "^3.0.1",
135
- "tailwindcss": "^3.3.6",
133
+ "storybook": "^7.6.5",
134
+ "storybook-dark-mode": "^3.0.3",
135
+ "tailwindcss": "^3.3.7",
136
136
  "tailwindcss-animate": "^1.0.7",
137
137
  "tsconfig-paths-webpack-plugin": "^4.1.0",
138
138
  "tsup": "^8.0.1",