@sikka/hawa 0.32.3-next → 0.34.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 (140) 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.d.mts +5 -0
  22. package/dist/blocks/index.d.ts +5 -0
  23. package/dist/blocks/index.js +234 -232
  24. package/dist/blocks/index.mjs +7 -6
  25. package/dist/blocks/misc/index.d.mts +5 -0
  26. package/dist/blocks/misc/index.d.ts +5 -0
  27. package/dist/blocks/misc/index.js +159 -157
  28. package/dist/blocks/misc/index.mjs +9 -8
  29. package/dist/blocks/pricing/index.js +174 -173
  30. package/dist/blocks/pricing/index.mjs +4 -4
  31. package/dist/button/index.d.mts +3 -2
  32. package/dist/button/index.d.ts +3 -2
  33. package/dist/button/index.js +138 -21
  34. package/dist/button/index.js.map +1 -1
  35. package/dist/button/index.mjs +138 -21
  36. package/dist/button/index.mjs.map +1 -1
  37. package/dist/calendar/index.d.mts +15 -0
  38. package/dist/calendar/index.d.ts +15 -0
  39. package/dist/calendar/index.js +545 -0
  40. package/dist/calendar/index.js.map +1 -0
  41. package/dist/calendar/index.mjs +509 -0
  42. package/dist/calendar/index.mjs.map +1 -0
  43. package/dist/{chunk-WFPAI2QC.mjs → chunk-3HJ3JXPA.mjs} +130 -174
  44. package/dist/{chunk-XRUPXLOK.mjs → chunk-AW5FW5TY.mjs} +1 -1
  45. package/dist/{chunk-MQWYXMSK.mjs → chunk-CKLK3G32.mjs} +242 -197
  46. package/dist/{chunk-XZLXGXIA.mjs → chunk-E3WWI4I5.mjs} +1 -1
  47. package/dist/{chunk-WUMWQIAW.mjs → chunk-FRYGQYUO.mjs} +1 -1
  48. package/dist/{chunk-S6TZHTWS.mjs → chunk-GEB3LM5A.mjs} +1 -1
  49. package/dist/{chunk-2QAGLSHC.mjs → chunk-IQEBXGLM.mjs} +1 -1
  50. package/dist/{chunk-PA3Z7W32.mjs → chunk-OS2UOK5C.mjs} +147 -146
  51. package/dist/{chunk-3S44N7SB.mjs → chunk-RTGD7N7I.mjs} +1 -1
  52. package/dist/{chunk-WAVKQ44V.mjs → chunk-UBNCETCU.mjs} +1 -1
  53. package/dist/codeBlock/index.js +138 -92
  54. package/dist/codeBlock/index.js.map +1 -1
  55. package/dist/codeBlock/index.mjs +157 -111
  56. package/dist/codeBlock/index.mjs.map +1 -1
  57. package/dist/commonTypes-CgDwjGvU.d.mts +5 -0
  58. package/dist/commonTypes-CgDwjGvU.d.ts +5 -0
  59. package/dist/commonTypes-DZdITB5m.d.mts +4 -0
  60. package/dist/commonTypes-DZdITB5m.d.ts +4 -0
  61. package/dist/dataTable/index.d.mts +2 -1
  62. package/dist/dataTable/index.d.ts +2 -1
  63. package/dist/dataTable/index.js +174 -173
  64. package/dist/dataTable/index.js.map +1 -1
  65. package/dist/dataTable/index.mjs +174 -173
  66. package/dist/dataTable/index.mjs.map +1 -1
  67. package/dist/datePicker/index.d.mts +20 -0
  68. package/dist/datePicker/index.d.ts +20 -0
  69. package/dist/datePicker/index.js +630 -0
  70. package/dist/datePicker/index.js.map +1 -0
  71. package/dist/datePicker/index.mjs +593 -0
  72. package/dist/datePicker/index.mjs.map +1 -0
  73. package/dist/destroyableCard/index.d.mts +1 -1
  74. package/dist/destroyableCard/index.d.ts +1 -1
  75. package/dist/dialog/index.d.mts +1 -1
  76. package/dist/dialog/index.d.ts +1 -1
  77. package/dist/docsLayout/index.js +231 -114
  78. package/dist/docsLayout/index.js.map +1 -1
  79. package/dist/docsLayout/index.mjs +222 -105
  80. package/dist/docsLayout/index.mjs.map +1 -1
  81. package/dist/dropdownMenu/index.d.mts +1 -6
  82. package/dist/dropdownMenu/index.d.ts +1 -6
  83. package/dist/elements/index.d.mts +9 -8
  84. package/dist/elements/index.d.ts +9 -8
  85. package/dist/elements/index.js +51 -50
  86. package/dist/elements/index.mjs +4 -4
  87. package/dist/fileDropzone/index.js +184 -67
  88. package/dist/fileDropzone/index.js.map +1 -1
  89. package/dist/fileDropzone/index.mjs +176 -59
  90. package/dist/fileDropzone/index.mjs.map +1 -1
  91. package/dist/index.css +86 -0
  92. package/dist/index.d.mts +6 -0
  93. package/dist/index.d.ts +6 -0
  94. package/dist/index.js +55 -53
  95. package/dist/index.mjs +75 -73
  96. package/dist/input/index.d.mts +1 -2
  97. package/dist/input/index.d.ts +1 -2
  98. package/dist/label/index.d.mts +2 -1
  99. package/dist/label/index.d.ts +2 -1
  100. package/dist/layout/index.d.mts +1 -1
  101. package/dist/layout/index.d.ts +1 -1
  102. package/dist/layout/index.js +204 -158
  103. package/dist/layout/index.mjs +2 -2
  104. package/dist/phoneInput/index.d.mts +1 -2
  105. package/dist/phoneInput/index.d.ts +1 -2
  106. package/dist/progress/index.d.mts +1 -8
  107. package/dist/progress/index.d.ts +1 -8
  108. package/dist/radio/index.d.mts +1 -9
  109. package/dist/radio/index.d.ts +1 -9
  110. package/dist/scrollArea/index.d.mts +1 -1
  111. package/dist/scrollArea/index.d.ts +1 -1
  112. package/dist/separator/index.d.mts +1 -1
  113. package/dist/separator/index.d.ts +1 -1
  114. package/dist/signature/index.d.mts +2 -1
  115. package/dist/signature/index.d.ts +2 -1
  116. package/dist/simpleTable/index.d.mts +1 -1
  117. package/dist/simpleTable/index.d.ts +1 -1
  118. package/dist/sortButton/index.js +145 -28
  119. package/dist/sortButton/index.js.map +1 -1
  120. package/dist/sortButton/index.mjs +145 -28
  121. package/dist/sortButton/index.mjs.map +1 -1
  122. package/dist/splitButton/index.d.mts +3 -2
  123. package/dist/splitButton/index.d.ts +3 -2
  124. package/dist/splitButton/index.js +145 -28
  125. package/dist/splitButton/index.js.map +1 -1
  126. package/dist/splitButton/index.mjs +145 -28
  127. package/dist/splitButton/index.mjs.map +1 -1
  128. package/dist/tabs/index.d.mts +1 -1
  129. package/dist/tabs/index.d.ts +1 -1
  130. package/dist/textarea/index.d.mts +1 -1
  131. package/dist/textarea/index.d.ts +1 -1
  132. package/dist/toast/index.d.mts +1 -1
  133. package/dist/toast/index.d.ts +1 -1
  134. package/dist/toaster/index.d.mts +22 -4
  135. package/dist/toaster/index.d.ts +22 -4
  136. package/package.json +3 -1
  137. package/dist/commonTypes-CMqMLkhN.d.mts +0 -4
  138. package/dist/commonTypes-CMqMLkhN.d.ts +0 -4
  139. package/dist/commonTypes-D_7LV7Ri.d.mts +0 -5
  140. 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.3-next",
3
+ "version": "0.34.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 };