@sikka/hawa 0.24.4-next → 0.24.6-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 (154) hide show
  1. package/dist/accordion/index.d.mts +1 -2
  2. package/dist/accordion/index.d.ts +1 -2
  3. package/dist/accordion/index.mjs +219 -7
  4. package/dist/alert/index.d.mts +1 -1
  5. package/dist/alert/index.d.ts +1 -1
  6. package/dist/appLayout/index.d.mts +126 -0
  7. package/dist/appLayout/index.d.ts +126 -0
  8. package/dist/appLayout/index.js +1325 -0
  9. package/dist/appLayout/index.mjs +1285 -0
  10. package/dist/appMenubar/index.d.mts +33 -0
  11. package/dist/appMenubar/index.d.ts +33 -0
  12. package/dist/appMenubar/index.js +281 -0
  13. package/dist/appMenubar/index.mjs +224 -0
  14. package/dist/appTabs/index.d.mts +18 -0
  15. package/dist/appTabs/index.d.ts +18 -0
  16. package/dist/appTabs/index.js +92 -0
  17. package/dist/appTabs/index.mjs +50 -0
  18. package/dist/appTopbar/index.d.mts +44 -0
  19. package/dist/appTopbar/index.d.ts +44 -0
  20. package/dist/appTopbar/index.js +483 -0
  21. package/dist/appTopbar/index.mjs +441 -0
  22. package/dist/avatar/index.d.mts +5 -4
  23. package/dist/avatar/index.d.ts +5 -4
  24. package/dist/backToTop/index.mjs +353 -3
  25. package/dist/badge/index.d.mts +2 -2
  26. package/dist/badge/index.d.ts +2 -2
  27. package/dist/blocks/index.js +4 -3
  28. package/dist/blocks/index.mjs +4 -3
  29. package/dist/checkbox/index.d.mts +1 -2
  30. package/dist/checkbox/index.d.ts +1 -2
  31. package/dist/chip/index.d.mts +36 -2
  32. package/dist/chip/index.d.ts +36 -2
  33. package/dist/chip/index.mjs +83 -3
  34. package/dist/chunk-62GI5F2P.mjs +442 -0
  35. package/dist/chunk-7NCNPRCL.mjs +120 -0
  36. package/dist/{chunk-TNAHW35O.mjs → chunk-C2UYTGUD.mjs} +8 -4
  37. package/dist/{chunk-26FHSPJI.mjs → chunk-DGWAHQRX.mjs} +1 -101
  38. package/dist/chunk-LRLLDOQZ.mjs +178 -0
  39. package/dist/chunk-ND4BWUKH.mjs +34 -0
  40. package/dist/codeBlock/index.mjs +684 -310
  41. package/dist/colorPicker/index.d.mts +2 -1
  42. package/dist/colorPicker/index.d.ts +2 -1
  43. package/dist/colorPicker/index.mjs +2 -167
  44. package/dist/combobox/index.d.mts +9 -1
  45. package/dist/combobox/index.d.ts +9 -1
  46. package/dist/combobox/index.mjs +61 -393
  47. package/dist/command/index.mjs +10 -425
  48. package/dist/commonTypes-3J1E3b61.d.mts +6 -0
  49. package/dist/commonTypes-3J1E3b61.d.ts +6 -0
  50. package/dist/commonTypes-GhKAraJw.d.mts +4 -0
  51. package/dist/commonTypes-GhKAraJw.d.ts +4 -0
  52. package/dist/commonTypes-LrR8QrYP.d.mts +5 -0
  53. package/dist/commonTypes-LrR8QrYP.d.ts +5 -0
  54. package/dist/commonTypes-WPhcN3Vr.d.mts +5 -0
  55. package/dist/commonTypes-WPhcN3Vr.d.ts +5 -0
  56. package/dist/commonTypes-ko_NGEoT.d.mts +3 -0
  57. package/dist/commonTypes-ko_NGEoT.d.ts +3 -0
  58. package/dist/copyrights/index.d.mts +17 -0
  59. package/dist/copyrights/index.d.ts +17 -0
  60. package/dist/copyrights/index.js +45 -0
  61. package/dist/copyrights/index.mjs +8 -0
  62. package/dist/count/index.d.mts +11 -0
  63. package/dist/count/index.d.ts +11 -0
  64. package/dist/count/index.js +45 -0
  65. package/dist/count/index.mjs +8 -0
  66. package/dist/dataTable/index.d.mts +1 -1
  67. package/dist/dataTable/index.d.ts +1 -1
  68. package/dist/destroyableCard/index.d.mts +1 -1
  69. package/dist/destroyableCard/index.d.ts +1 -1
  70. package/dist/dialog/index.d.mts +1 -1
  71. package/dist/dialog/index.d.ts +1 -1
  72. package/dist/docsLayout/index.d.mts +37 -0
  73. package/dist/docsLayout/index.d.ts +37 -0
  74. package/dist/docsLayout/index.js +926 -0
  75. package/dist/docsLayout/index.mjs +886 -0
  76. package/dist/docsSidebar/index.d.mts +11 -0
  77. package/dist/docsSidebar/index.d.ts +11 -0
  78. package/dist/docsSidebar/index.js +111 -0
  79. package/dist/docsSidebar/index.mjs +69 -0
  80. package/dist/index.css +9 -3
  81. package/dist/index.d.mts +1 -0
  82. package/dist/index.d.ts +1 -0
  83. package/dist/index.js +54 -44
  84. package/dist/index.mjs +54 -44
  85. package/dist/input/index.d.mts +2 -9
  86. package/dist/input/index.d.ts +2 -9
  87. package/dist/input/index.mjs +14 -98
  88. package/dist/interfaceSettings/index.d.mts +1 -1
  89. package/dist/interfaceSettings/index.d.ts +1 -1
  90. package/dist/interfaceSettings/index.mjs +24 -110
  91. package/dist/label/index.d.mts +1 -1
  92. package/dist/label/index.d.ts +1 -1
  93. package/dist/label/index.mjs +2 -87
  94. package/dist/layout/index.d.mts +1 -0
  95. package/dist/layout/index.d.ts +1 -0
  96. package/dist/layout/index.js +53 -44
  97. package/dist/layout/index.mjs +50 -41
  98. package/dist/navbar/index.d.mts +17 -0
  99. package/dist/navbar/index.d.ts +17 -0
  100. package/dist/navbar/index.js +166 -0
  101. package/dist/navbar/index.mjs +126 -0
  102. package/dist/pagination/index.d.mts +1 -1
  103. package/dist/pagination/index.d.ts +1 -1
  104. package/dist/passwordInput/index.mjs +27 -137
  105. package/dist/phoneInput/index.mjs +19 -129
  106. package/dist/radio/index.d.mts +1 -4
  107. package/dist/radio/index.d.ts +1 -4
  108. package/dist/scrollArea/index.d.mts +1 -1
  109. package/dist/scrollArea/index.d.ts +1 -1
  110. package/dist/select/index.d.mts +1 -1
  111. package/dist/select/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/sidebar/index.d.mts +48 -0
  115. package/dist/sidebar/index.d.ts +48 -0
  116. package/dist/sidebar/index.js +341 -0
  117. package/dist/sidebar/index.mjs +298 -0
  118. package/dist/simpleTable/index.d.mts +4 -3
  119. package/dist/simpleTable/index.d.ts +4 -3
  120. package/dist/simpleTable/index.mjs +21 -45
  121. package/dist/skeleton/index.d.mts +3 -3
  122. package/dist/skeleton/index.d.ts +3 -3
  123. package/dist/skeleton/index.mjs +3 -29
  124. package/dist/sortButton/index.mjs +9 -260
  125. package/dist/splitButton/index.d.mts +4 -3
  126. package/dist/splitButton/index.d.ts +4 -3
  127. package/dist/splitButton/index.mjs +10 -259
  128. package/dist/stats/index.d.mts +19 -0
  129. package/dist/stats/index.d.ts +19 -0
  130. package/dist/stats/index.js +191 -0
  131. package/dist/stats/index.mjs +154 -0
  132. package/dist/stopPropagationWrapper/index.d.mts +2 -2
  133. package/dist/stopPropagationWrapper/index.d.ts +2 -2
  134. package/dist/switch/index.d.mts +2 -1
  135. package/dist/switch/index.d.ts +2 -1
  136. package/dist/tabs/index.d.mts +19 -1
  137. package/dist/tabs/index.d.ts +19 -1
  138. package/dist/tabs/index.mjs +94 -14
  139. package/dist/textarea/index.d.mts +8 -1
  140. package/dist/textarea/index.d.ts +8 -1
  141. package/dist/textarea/index.mjs +92 -8
  142. package/dist/toast/index.d.mts +1 -1
  143. package/dist/toast/index.d.ts +1 -1
  144. package/package.json +1 -1
  145. package/dist/Label-fkQ4ebuH.d.mts +0 -12
  146. package/dist/Label-fkQ4ebuH.d.ts +0 -12
  147. package/dist/chunk-72HYR6WB.mjs +0 -88
  148. package/dist/chunk-JYSC6GKM.mjs +0 -229
  149. package/dist/commonTypes-3k5cNB1s.d.mts +0 -4
  150. package/dist/commonTypes-3k5cNB1s.d.ts +0 -4
  151. package/dist/commonTypes-N7XOVCit.d.mts +0 -5
  152. package/dist/commonTypes-N7XOVCit.d.ts +0 -5
  153. package/dist/index-DUZFcPRO.d.mts +0 -38
  154. package/dist/index-DUZFcPRO.d.ts +0 -38
@@ -0,0 +1,8 @@
1
+ // components/elements/count/Count.tsx
2
+ import React from "react";
3
+ var Count = (props) => {
4
+ return /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-h-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-px-2" }, /* @__PURE__ */ React.createElement("div", null, props.icon), /* @__PURE__ */ React.createElement("div", { className: "hawa-text-sm" }, props.count));
5
+ };
6
+ export {
7
+ Count
8
+ };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { RowData, ColumnDef } from '@tanstack/react-table';
3
- import { D as DirectionType } from '../commonTypes-3k5cNB1s.mjs';
3
+ import { D as DirectionType } from '../commonTypes-ko_NGEoT.mjs';
4
4
 
5
5
  type DataTableProps<DataProps = {}> = {
6
6
  direction?: DirectionType;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { RowData, ColumnDef } from '@tanstack/react-table';
3
- import { D as DirectionType } from '../commonTypes-3k5cNB1s.js';
3
+ import { D as DirectionType } from '../commonTypes-ko_NGEoT.js';
4
4
 
5
5
  type DataTableProps<DataProps = {}> = {
6
6
  direction?: DirectionType;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { D as DirectionType } from '../commonTypes-3k5cNB1s.mjs';
2
+ import { D as DirectionType } from '../commonTypes-ko_NGEoT.mjs';
3
3
 
4
4
  type DestroyableCard = {
5
5
  position?: "bottom-right" | "bottom-left";
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { D as DirectionType } from '../commonTypes-3k5cNB1s.js';
2
+ import { D as DirectionType } from '../commonTypes-ko_NGEoT.js';
3
3
 
4
4
  type DestroyableCard = {
5
5
  position?: "bottom-right" | "bottom-left";
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import * as DialogPrimitive from '@radix-ui/react-dialog';
3
- import { D as DirectionType } from '../commonTypes-_11epZYh.mjs';
3
+ import { D as DirectionType } from '../commonTypes-ko_NGEoT.mjs';
4
4
 
5
5
  declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
6
6
  declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import * as DialogPrimitive from '@radix-ui/react-dialog';
3
- import { D as DirectionType } from '../commonTypes-_11epZYh.js';
3
+ import { D as DirectionType } from '../commonTypes-ko_NGEoT.js';
4
4
 
5
5
  declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
6
6
  declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,37 @@
1
+ import React__default from 'react';
2
+ import { D as DirectionType } from '../commonTypes-ko_NGEoT.mjs';
3
+
4
+ type AppLayoutTypes = {
5
+ pages?: any[];
6
+ /** The direction of the layout */
7
+ direction?: DirectionType;
8
+ /** Specifies the title of the page. */
9
+ pageTitle?: string;
10
+ /** Specifies the symbol for the logo. */
11
+ logoSymbol?: any;
12
+ /** Specifies the link for the logo. */
13
+ logoLink?: string;
14
+ /** Specifies the content to be displayed in the layout. */
15
+ children?: any;
16
+ /** Specifies the image for the avatar. */
17
+ avatarImage?: any;
18
+ /**
19
+ * Specifies the size of the drawer.
20
+ * - 'sm': Small.
21
+ * - 'md': Medium.
22
+ * - 'large': Large.
23
+ */
24
+ drawerSize?: "sm" | "md" | "large";
25
+ /** Specifies whether to keep the drawer open. */
26
+ keepOpen: boolean;
27
+ setKeepOpen: (value: boolean) => void;
28
+ /** Specifies additional actions for the drawer footer. */
29
+ DrawerFooterActions?: any;
30
+ /** Specifies the item that was clicked. */
31
+ clickedItem?: any;
32
+ /** Event handler for logo button click. */
33
+ onLogoClick?: () => void;
34
+ };
35
+ declare const DocsLayout: React__default.FunctionComponent<AppLayoutTypes>;
36
+
37
+ export { DocsLayout };
@@ -0,0 +1,37 @@
1
+ import React__default from 'react';
2
+ import { D as DirectionType } from '../commonTypes-ko_NGEoT.js';
3
+
4
+ type AppLayoutTypes = {
5
+ pages?: any[];
6
+ /** The direction of the layout */
7
+ direction?: DirectionType;
8
+ /** Specifies the title of the page. */
9
+ pageTitle?: string;
10
+ /** Specifies the symbol for the logo. */
11
+ logoSymbol?: any;
12
+ /** Specifies the link for the logo. */
13
+ logoLink?: string;
14
+ /** Specifies the content to be displayed in the layout. */
15
+ children?: any;
16
+ /** Specifies the image for the avatar. */
17
+ avatarImage?: any;
18
+ /**
19
+ * Specifies the size of the drawer.
20
+ * - 'sm': Small.
21
+ * - 'md': Medium.
22
+ * - 'large': Large.
23
+ */
24
+ drawerSize?: "sm" | "md" | "large";
25
+ /** Specifies whether to keep the drawer open. */
26
+ keepOpen: boolean;
27
+ setKeepOpen: (value: boolean) => void;
28
+ /** Specifies additional actions for the drawer footer. */
29
+ DrawerFooterActions?: any;
30
+ /** Specifies the item that was clicked. */
31
+ clickedItem?: any;
32
+ /** Event handler for logo button click. */
33
+ onLogoClick?: () => void;
34
+ };
35
+ declare const DocsLayout: React__default.FunctionComponent<AppLayoutTypes>;
36
+
37
+ export { DocsLayout };