@sikka/hawa 0.32.2-next → 0.33.0-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 (136) hide show
  1. package/dist/{Chip-BT2hUlGJ.d.mts → Chip-BtgTAs8x.d.mts} +1 -1
  2. package/dist/{Chip-Dt7zJ-jZ.d.ts → Chip-DQsP5hFS.d.ts} +1 -1
  3. package/dist/Label-UbMDLtJF.d.mts +14 -0
  4. package/dist/Label-UbMDLtJF.d.ts +14 -0
  5. package/dist/alert/index.js +151 -34
  6. package/dist/alert/index.js.map +1 -1
  7. package/dist/alert/index.mjs +148 -31
  8. package/dist/alert/index.mjs.map +1 -1
  9. package/dist/appLayout/index.js +191 -145
  10. package/dist/appLayout/index.js.map +1 -1
  11. package/dist/appLayout/index.mjs +226 -180
  12. package/dist/appLayout/index.mjs.map +1 -1
  13. package/dist/backToTop/index.js +147 -30
  14. package/dist/backToTop/index.js.map +1 -1
  15. package/dist/backToTop/index.mjs +142 -25
  16. package/dist/backToTop/index.mjs.map +1 -1
  17. package/dist/blocks/auth/index.js +230 -229
  18. package/dist/blocks/auth/index.mjs +4 -4
  19. package/dist/blocks/feedback/index.js +147 -148
  20. package/dist/blocks/feedback/index.mjs +5 -5
  21. package/dist/blocks/index.js +230 -229
  22. package/dist/blocks/index.mjs +3 -3
  23. package/dist/blocks/misc/index.js +155 -154
  24. package/dist/blocks/misc/index.mjs +5 -5
  25. package/dist/blocks/pricing/index.js +174 -173
  26. package/dist/blocks/pricing/index.mjs +4 -4
  27. package/dist/button/index.d.mts +3 -2
  28. package/dist/button/index.d.ts +3 -2
  29. package/dist/button/index.js +138 -21
  30. package/dist/button/index.js.map +1 -1
  31. package/dist/button/index.mjs +138 -21
  32. package/dist/button/index.mjs.map +1 -1
  33. package/dist/calendar/index.d.mts +15 -0
  34. package/dist/calendar/index.d.ts +15 -0
  35. package/dist/calendar/index.js +545 -0
  36. package/dist/calendar/index.js.map +1 -0
  37. package/dist/calendar/index.mjs +509 -0
  38. package/dist/calendar/index.mjs.map +1 -0
  39. package/dist/{chunk-WFPAI2QC.mjs → chunk-3HJ3JXPA.mjs} +130 -174
  40. package/dist/{chunk-XRUPXLOK.mjs → chunk-AW5FW5TY.mjs} +1 -1
  41. package/dist/{chunk-MQWYXMSK.mjs → chunk-CKLK3G32.mjs} +242 -197
  42. package/dist/{chunk-XZLXGXIA.mjs → chunk-E3WWI4I5.mjs} +1 -1
  43. package/dist/{chunk-WUMWQIAW.mjs → chunk-FRYGQYUO.mjs} +1 -1
  44. package/dist/{chunk-S6TZHTWS.mjs → chunk-GEB3LM5A.mjs} +1 -1
  45. package/dist/{chunk-2QAGLSHC.mjs → chunk-IQEBXGLM.mjs} +1 -1
  46. package/dist/{chunk-PA3Z7W32.mjs → chunk-OS2UOK5C.mjs} +147 -146
  47. package/dist/{chunk-3S44N7SB.mjs → chunk-RTGD7N7I.mjs} +1 -1
  48. package/dist/{chunk-WAVKQ44V.mjs → chunk-UBNCETCU.mjs} +1 -1
  49. package/dist/codeBlock/index.js +138 -92
  50. package/dist/codeBlock/index.js.map +1 -1
  51. package/dist/codeBlock/index.mjs +157 -111
  52. package/dist/codeBlock/index.mjs.map +1 -1
  53. package/dist/commonTypes-CgDwjGvU.d.mts +5 -0
  54. package/dist/commonTypes-CgDwjGvU.d.ts +5 -0
  55. package/dist/commonTypes-DZdITB5m.d.mts +4 -0
  56. package/dist/commonTypes-DZdITB5m.d.ts +4 -0
  57. package/dist/dataTable/index.d.mts +2 -1
  58. package/dist/dataTable/index.d.ts +2 -1
  59. package/dist/dataTable/index.js +177 -174
  60. package/dist/dataTable/index.js.map +1 -1
  61. package/dist/dataTable/index.mjs +177 -174
  62. package/dist/dataTable/index.mjs.map +1 -1
  63. package/dist/datePicker/index.d.mts +20 -0
  64. package/dist/datePicker/index.d.ts +20 -0
  65. package/dist/datePicker/index.js +630 -0
  66. package/dist/datePicker/index.js.map +1 -0
  67. package/dist/datePicker/index.mjs +593 -0
  68. package/dist/datePicker/index.mjs.map +1 -0
  69. package/dist/destroyableCard/index.d.mts +1 -1
  70. package/dist/destroyableCard/index.d.ts +1 -1
  71. package/dist/dialog/index.d.mts +1 -1
  72. package/dist/dialog/index.d.ts +1 -1
  73. package/dist/docsLayout/index.js +231 -114
  74. package/dist/docsLayout/index.js.map +1 -1
  75. package/dist/docsLayout/index.mjs +222 -105
  76. package/dist/docsLayout/index.mjs.map +1 -1
  77. package/dist/dropdownMenu/index.d.mts +1 -6
  78. package/dist/dropdownMenu/index.d.ts +1 -6
  79. package/dist/elements/index.d.mts +9 -8
  80. package/dist/elements/index.d.ts +9 -8
  81. package/dist/elements/index.js +54 -51
  82. package/dist/elements/index.mjs +7 -5
  83. package/dist/fileDropzone/index.js +184 -67
  84. package/dist/fileDropzone/index.js.map +1 -1
  85. package/dist/fileDropzone/index.mjs +176 -59
  86. package/dist/fileDropzone/index.mjs.map +1 -1
  87. package/dist/index.css +83 -0
  88. package/dist/index.d.mts +1 -0
  89. package/dist/index.d.ts +1 -0
  90. package/dist/index.js +54 -51
  91. package/dist/index.mjs +74 -71
  92. package/dist/input/index.d.mts +1 -2
  93. package/dist/input/index.d.ts +1 -2
  94. package/dist/label/index.d.mts +2 -1
  95. package/dist/label/index.d.ts +2 -1
  96. package/dist/layout/index.d.mts +1 -1
  97. package/dist/layout/index.d.ts +1 -1
  98. package/dist/layout/index.js +204 -158
  99. package/dist/layout/index.mjs +2 -2
  100. package/dist/phoneInput/index.d.mts +1 -2
  101. package/dist/phoneInput/index.d.ts +1 -2
  102. package/dist/progress/index.d.mts +1 -8
  103. package/dist/progress/index.d.ts +1 -8
  104. package/dist/radio/index.d.mts +1 -9
  105. package/dist/radio/index.d.ts +1 -9
  106. package/dist/scrollArea/index.d.mts +1 -1
  107. package/dist/scrollArea/index.d.ts +1 -1
  108. package/dist/separator/index.d.mts +1 -1
  109. package/dist/separator/index.d.ts +1 -1
  110. package/dist/signature/index.d.mts +2 -1
  111. package/dist/signature/index.d.ts +2 -1
  112. package/dist/simpleTable/index.d.mts +1 -1
  113. package/dist/simpleTable/index.d.ts +1 -1
  114. package/dist/sortButton/index.js +145 -28
  115. package/dist/sortButton/index.js.map +1 -1
  116. package/dist/sortButton/index.mjs +145 -28
  117. package/dist/sortButton/index.mjs.map +1 -1
  118. package/dist/splitButton/index.d.mts +3 -2
  119. package/dist/splitButton/index.d.ts +3 -2
  120. package/dist/splitButton/index.js +145 -28
  121. package/dist/splitButton/index.js.map +1 -1
  122. package/dist/splitButton/index.mjs +145 -28
  123. package/dist/splitButton/index.mjs.map +1 -1
  124. package/dist/tabs/index.d.mts +1 -1
  125. package/dist/tabs/index.d.ts +1 -1
  126. package/dist/textarea/index.d.mts +1 -1
  127. package/dist/textarea/index.d.ts +1 -1
  128. package/dist/toast/index.d.mts +1 -1
  129. package/dist/toast/index.d.ts +1 -1
  130. package/dist/toaster/index.d.mts +22 -4
  131. package/dist/toaster/index.d.ts +22 -4
  132. package/package.json +3 -1
  133. package/dist/commonTypes-CMqMLkhN.d.mts +0 -4
  134. package/dist/commonTypes-CMqMLkhN.d.ts +0 -4
  135. package/dist/commonTypes-D_7LV7Ri.d.mts +0 -5
  136. package/dist/commonTypes-D_7LV7Ri.d.ts +0 -5
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import React__default from 'react';
3
3
  import * as TabsPrimitive from '@radix-ui/react-tabs';
4
- import { R as RadiusType } from '../commonTypes-CMqMLkhN.js';
4
+ import { R as RadiusType } from '../commonTypes-CgDwjGvU.js';
5
5
 
6
6
  type ChipColors = "green" | "blue" | "red" | "yellow" | "orange" | "purple" | "cyan" | "hyper" | "oceanic";
7
7
  type ChipTypes = React__default.HTMLAttributes<HTMLSpanElement> & {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { P as PositionType } from '../commonTypes-CMqMLkhN.mjs';
2
+ import { P as PositionType } from '../commonTypes-CgDwjGvU.mjs';
3
3
 
4
4
  type LabelProps = {
5
5
  hint?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { P as PositionType } from '../commonTypes-CMqMLkhN.js';
2
+ import { P as PositionType } from '../commonTypes-CgDwjGvU.js';
3
3
 
4
4
  type LabelProps = {
5
5
  hint?: React.ReactNode;
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
2
2
  import * as React from 'react';
3
3
  import * as ToastPrimitives from '@radix-ui/react-toast';
4
4
  import { VariantProps } from 'class-variance-authority';
5
- import { D as DirectionType } from '../commonTypes-BtF87PmG.mjs';
5
+ import { D as DirectionType } from '../commonTypes-CgDwjGvU.mjs';
6
6
 
7
7
  declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
8
8
  declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
2
2
  import * as React from 'react';
3
3
  import * as ToastPrimitives from '@radix-ui/react-toast';
4
4
  import { VariantProps } from 'class-variance-authority';
5
- import { D as DirectionType } from '../commonTypes-BtF87PmG.js';
5
+ import { D as DirectionType } from '../commonTypes-CgDwjGvU.js';
6
6
 
7
7
  declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
8
8
  declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
@@ -1,9 +1,27 @@
1
+ import * as React from 'react';
1
2
  import React__default from 'react';
2
3
  import { D as DirectionType } from '../commonTypes-BtF87PmG.mjs';
3
- import { ToasterToastProps } from '../toast/index.mjs';
4
- import 'class-variance-authority/types';
5
- import '@radix-ui/react-toast';
6
- import 'class-variance-authority';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import * as ToastPrimitives from '@radix-ui/react-toast';
6
+ import { VariantProps } from 'class-variance-authority';
7
+
8
+ declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
9
+ variant?: "default" | "destructive" | null | undefined;
10
+ severity?: "info" | "warning" | "error" | "success" | "none" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & {
12
+ direction?: DirectionType | undefined;
13
+ } & React.RefAttributes<HTMLLIElement>>;
14
+ declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
15
+ type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
16
+ type ToastActionElement = React.ReactElement<typeof ToastAction>;
17
+ type ToasterToastProps = ToastProps & {
18
+ id: string;
19
+ title?: React.ReactNode;
20
+ description?: React.ReactNode;
21
+ severity?: "info" | "warning" | "error" | "success" | "none";
22
+ action?: ToastActionElement;
23
+ size?: "default" | "sm";
24
+ };
7
25
 
8
26
  type ToasterProps = {
9
27
  direction?: DirectionType;
@@ -1,9 +1,27 @@
1
+ import * as React from 'react';
1
2
  import React__default from 'react';
2
3
  import { D as DirectionType } from '../commonTypes-BtF87PmG.js';
3
- import { ToasterToastProps } from '../toast/index.js';
4
- import 'class-variance-authority/types';
5
- import '@radix-ui/react-toast';
6
- import 'class-variance-authority';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import * as ToastPrimitives from '@radix-ui/react-toast';
6
+ import { VariantProps } from 'class-variance-authority';
7
+
8
+ declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
9
+ variant?: "default" | "destructive" | null | undefined;
10
+ severity?: "info" | "warning" | "error" | "success" | "none" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & {
12
+ direction?: DirectionType | undefined;
13
+ } & React.RefAttributes<HTMLLIElement>>;
14
+ declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
15
+ type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
16
+ type ToastActionElement = React.ReactElement<typeof ToastAction>;
17
+ type ToasterToastProps = ToastProps & {
18
+ id: string;
19
+ title?: React.ReactNode;
20
+ description?: React.ReactNode;
21
+ severity?: "info" | "warning" | "error" | "success" | "none";
22
+ action?: ToastActionElement;
23
+ size?: "default" | "sm";
24
+ };
7
25
 
8
26
  type ToasterProps = {
9
27
  direction?: DirectionType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.32.2-next",
3
+ "version": "0.33.0-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",
@@ -70,6 +70,7 @@
70
70
  "class-variance-authority": "^0.7.0",
71
71
  "clsx": "^2.1.1",
72
72
  "cmdk": "^1.0.0",
73
+ "date-fns": "^3.6.0",
73
74
  "embla-carousel-auto-height": "^8.0.4",
74
75
  "embla-carousel-react": "^8.0.4",
75
76
  "eslint": "^9.2.0",
@@ -77,6 +78,7 @@
77
78
  "libphonenumber-js": "^1.11.1",
78
79
  "prism-react-renderer": "^2.3.1",
79
80
  "prismjs": "^1.29.0",
81
+ "react-day-picker": "^8.10.1",
80
82
  "react-dropzone": "^14.2.3",
81
83
  "react-headless-pagination": "^1.1.5",
82
84
  "react-hook-form": "^7.51.4",
@@ -1,4 +0,0 @@
1
- type PositionType = "top" | "bottom" | "right" | "left";
2
- type RadiusType = "full" | "inherit" | "none";
3
-
4
- export type { PositionType as P, RadiusType as R };
@@ -1,4 +0,0 @@
1
- type PositionType = "top" | "bottom" | "right" | "left";
2
- type RadiusType = "full" | "inherit" | "none";
3
-
4
- export type { PositionType as P, RadiusType as R };
@@ -1,5 +0,0 @@
1
- type DirectionType = "rtl" | "ltr";
2
- type PositionType = "top" | "bottom" | "right" | "left";
3
- type OrientationType = "vertical" | "horizontal";
4
-
5
- export type { DirectionType as D, OrientationType as O, PositionType as P };
@@ -1,5 +0,0 @@
1
- type DirectionType = "rtl" | "ltr";
2
- type PositionType = "top" | "bottom" | "right" | "left";
3
- type OrientationType = "vertical" | "horizontal";
4
-
5
- export type { DirectionType as D, OrientationType as O, PositionType as P };