@sikka/hawa 0.24.4-next → 0.24.5-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 (151) 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/checkbox/index.d.mts +1 -2
  28. package/dist/checkbox/index.d.ts +1 -2
  29. package/dist/chip/index.d.mts +36 -2
  30. package/dist/chip/index.d.ts +36 -2
  31. package/dist/chip/index.mjs +83 -3
  32. package/dist/chunk-62GI5F2P.mjs +442 -0
  33. package/dist/chunk-7NCNPRCL.mjs +120 -0
  34. package/dist/{chunk-TNAHW35O.mjs → chunk-C2UYTGUD.mjs} +8 -4
  35. package/dist/{chunk-26FHSPJI.mjs → chunk-DGWAHQRX.mjs} +1 -101
  36. package/dist/chunk-LRLLDOQZ.mjs +178 -0
  37. package/dist/chunk-ND4BWUKH.mjs +34 -0
  38. package/dist/codeBlock/index.mjs +684 -310
  39. package/dist/colorPicker/index.d.mts +2 -1
  40. package/dist/colorPicker/index.d.ts +2 -1
  41. package/dist/colorPicker/index.mjs +2 -167
  42. package/dist/combobox/index.d.mts +9 -1
  43. package/dist/combobox/index.d.ts +9 -1
  44. package/dist/combobox/index.mjs +61 -393
  45. package/dist/command/index.mjs +10 -425
  46. package/dist/commonTypes-3J1E3b61.d.mts +6 -0
  47. package/dist/commonTypes-3J1E3b61.d.ts +6 -0
  48. package/dist/commonTypes-GhKAraJw.d.mts +4 -0
  49. package/dist/commonTypes-GhKAraJw.d.ts +4 -0
  50. package/dist/commonTypes-LrR8QrYP.d.mts +5 -0
  51. package/dist/commonTypes-LrR8QrYP.d.ts +5 -0
  52. package/dist/commonTypes-WPhcN3Vr.d.mts +5 -0
  53. package/dist/commonTypes-WPhcN3Vr.d.ts +5 -0
  54. package/dist/commonTypes-ko_NGEoT.d.mts +3 -0
  55. package/dist/commonTypes-ko_NGEoT.d.ts +3 -0
  56. package/dist/copyrights/index.d.mts +17 -0
  57. package/dist/copyrights/index.d.ts +17 -0
  58. package/dist/copyrights/index.js +45 -0
  59. package/dist/copyrights/index.mjs +8 -0
  60. package/dist/count/index.d.mts +11 -0
  61. package/dist/count/index.d.ts +11 -0
  62. package/dist/count/index.js +45 -0
  63. package/dist/count/index.mjs +8 -0
  64. package/dist/dataTable/index.d.mts +1 -1
  65. package/dist/dataTable/index.d.ts +1 -1
  66. package/dist/destroyableCard/index.d.mts +1 -1
  67. package/dist/destroyableCard/index.d.ts +1 -1
  68. package/dist/dialog/index.d.mts +1 -1
  69. package/dist/dialog/index.d.ts +1 -1
  70. package/dist/docsLayout/index.d.mts +37 -0
  71. package/dist/docsLayout/index.d.ts +37 -0
  72. package/dist/docsLayout/index.js +926 -0
  73. package/dist/docsLayout/index.mjs +886 -0
  74. package/dist/docsSidebar/index.d.mts +11 -0
  75. package/dist/docsSidebar/index.d.ts +11 -0
  76. package/dist/docsSidebar/index.js +111 -0
  77. package/dist/docsSidebar/index.mjs +69 -0
  78. package/dist/index.d.mts +1 -0
  79. package/dist/index.d.ts +1 -0
  80. package/dist/index.js +50 -41
  81. package/dist/index.mjs +50 -41
  82. package/dist/input/index.d.mts +2 -9
  83. package/dist/input/index.d.ts +2 -9
  84. package/dist/input/index.mjs +14 -98
  85. package/dist/interfaceSettings/index.d.mts +1 -1
  86. package/dist/interfaceSettings/index.d.ts +1 -1
  87. package/dist/interfaceSettings/index.mjs +24 -110
  88. package/dist/label/index.d.mts +1 -1
  89. package/dist/label/index.d.ts +1 -1
  90. package/dist/label/index.mjs +2 -87
  91. package/dist/layout/index.d.mts +1 -0
  92. package/dist/layout/index.d.ts +1 -0
  93. package/dist/layout/index.js +53 -44
  94. package/dist/layout/index.mjs +50 -41
  95. package/dist/navbar/index.d.mts +17 -0
  96. package/dist/navbar/index.d.ts +17 -0
  97. package/dist/navbar/index.js +166 -0
  98. package/dist/navbar/index.mjs +126 -0
  99. package/dist/pagination/index.d.mts +1 -1
  100. package/dist/pagination/index.d.ts +1 -1
  101. package/dist/passwordInput/index.mjs +27 -137
  102. package/dist/phoneInput/index.mjs +19 -129
  103. package/dist/radio/index.d.mts +1 -4
  104. package/dist/radio/index.d.ts +1 -4
  105. package/dist/scrollArea/index.d.mts +1 -1
  106. package/dist/scrollArea/index.d.ts +1 -1
  107. package/dist/select/index.d.mts +1 -1
  108. package/dist/select/index.d.ts +1 -1
  109. package/dist/separator/index.d.mts +1 -1
  110. package/dist/separator/index.d.ts +1 -1
  111. package/dist/sidebar/index.d.mts +48 -0
  112. package/dist/sidebar/index.d.ts +48 -0
  113. package/dist/sidebar/index.js +341 -0
  114. package/dist/sidebar/index.mjs +298 -0
  115. package/dist/simpleTable/index.d.mts +4 -3
  116. package/dist/simpleTable/index.d.ts +4 -3
  117. package/dist/simpleTable/index.mjs +21 -45
  118. package/dist/skeleton/index.d.mts +3 -3
  119. package/dist/skeleton/index.d.ts +3 -3
  120. package/dist/skeleton/index.mjs +3 -29
  121. package/dist/sortButton/index.mjs +9 -260
  122. package/dist/splitButton/index.d.mts +4 -3
  123. package/dist/splitButton/index.d.ts +4 -3
  124. package/dist/splitButton/index.mjs +10 -259
  125. package/dist/stats/index.d.mts +19 -0
  126. package/dist/stats/index.d.ts +19 -0
  127. package/dist/stats/index.js +191 -0
  128. package/dist/stats/index.mjs +154 -0
  129. package/dist/stopPropagationWrapper/index.d.mts +2 -2
  130. package/dist/stopPropagationWrapper/index.d.ts +2 -2
  131. package/dist/switch/index.d.mts +2 -1
  132. package/dist/switch/index.d.ts +2 -1
  133. package/dist/tabs/index.d.mts +19 -1
  134. package/dist/tabs/index.d.ts +19 -1
  135. package/dist/tabs/index.mjs +94 -14
  136. package/dist/textarea/index.d.mts +8 -1
  137. package/dist/textarea/index.d.ts +8 -1
  138. package/dist/textarea/index.mjs +92 -8
  139. package/dist/toast/index.d.mts +1 -1
  140. package/dist/toast/index.d.ts +1 -1
  141. package/package.json +1 -1
  142. package/dist/Label-fkQ4ebuH.d.mts +0 -12
  143. package/dist/Label-fkQ4ebuH.d.ts +0 -12
  144. package/dist/chunk-72HYR6WB.mjs +0 -88
  145. package/dist/chunk-JYSC6GKM.mjs +0 -229
  146. package/dist/commonTypes-3k5cNB1s.d.mts +0 -4
  147. package/dist/commonTypes-3k5cNB1s.d.ts +0 -4
  148. package/dist/commonTypes-N7XOVCit.d.mts +0 -5
  149. package/dist/commonTypes-N7XOVCit.d.ts +0 -5
  150. package/dist/index-DUZFcPRO.d.mts +0 -38
  151. package/dist/index-DUZFcPRO.d.ts +0 -38
@@ -0,0 +1,33 @@
1
+ import * as React from 'react';
2
+ import * as MenubarPrimitive from '@radix-ui/react-menubar';
3
+
4
+ declare const MenubarMenu: {
5
+ (props: MenubarPrimitive.ScopedProps<MenubarPrimitive.MenubarMenuProps>): JSX.Element;
6
+ displayName: string;
7
+ };
8
+ declare const MenubarGroup: React.ForwardRefExoticComponent<MenubarPrimitive.MenubarGroupProps & React.RefAttributes<HTMLDivElement>>;
9
+ declare const MenubarPortal: React.FC<MenubarPrimitive.MenubarPortalProps>;
10
+ declare const MenubarSub: React.FC<MenubarPrimitive.MenubarSubProps>;
11
+ declare const MenubarRadioGroup: React.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
12
+ declare const Menubar: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
+ declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
14
+ declare const MenubarSubTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
15
+ inset?: boolean | undefined;
16
+ } & React.RefAttributes<HTMLDivElement>>;
17
+ declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
+ declare const MenubarContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
+ declare const MenubarItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
20
+ inset?: boolean | undefined;
21
+ } & React.RefAttributes<HTMLDivElement>>;
22
+ declare const MenubarCheckboxItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ declare const MenubarRadioItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
24
+ declare const MenubarLabel: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
25
+ inset?: boolean | undefined;
26
+ } & React.RefAttributes<HTMLDivElement>>;
27
+ declare const MenubarSeparator: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
28
+ declare const MenubarShortcut: {
29
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
30
+ displayname: string;
31
+ };
32
+
33
+ export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
@@ -0,0 +1,33 @@
1
+ import * as React from 'react';
2
+ import * as MenubarPrimitive from '@radix-ui/react-menubar';
3
+
4
+ declare const MenubarMenu: {
5
+ (props: MenubarPrimitive.ScopedProps<MenubarPrimitive.MenubarMenuProps>): JSX.Element;
6
+ displayName: string;
7
+ };
8
+ declare const MenubarGroup: React.ForwardRefExoticComponent<MenubarPrimitive.MenubarGroupProps & React.RefAttributes<HTMLDivElement>>;
9
+ declare const MenubarPortal: React.FC<MenubarPrimitive.MenubarPortalProps>;
10
+ declare const MenubarSub: React.FC<MenubarPrimitive.MenubarSubProps>;
11
+ declare const MenubarRadioGroup: React.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
12
+ declare const Menubar: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
+ declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
14
+ declare const MenubarSubTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
15
+ inset?: boolean | undefined;
16
+ } & React.RefAttributes<HTMLDivElement>>;
17
+ declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
+ declare const MenubarContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
+ declare const MenubarItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
20
+ inset?: boolean | undefined;
21
+ } & React.RefAttributes<HTMLDivElement>>;
22
+ declare const MenubarCheckboxItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ declare const MenubarRadioItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
24
+ declare const MenubarLabel: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
25
+ inset?: boolean | undefined;
26
+ } & React.RefAttributes<HTMLDivElement>>;
27
+ declare const MenubarSeparator: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
28
+ declare const MenubarShortcut: {
29
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
30
+ displayname: string;
31
+ };
32
+
33
+ export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
@@ -0,0 +1,281 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // components/layout/appMenubar/index.ts
31
+ var appMenubar_exports = {};
32
+ __export(appMenubar_exports, {
33
+ Menubar: () => Menubar,
34
+ MenubarCheckboxItem: () => MenubarCheckboxItem,
35
+ MenubarContent: () => MenubarContent,
36
+ MenubarGroup: () => MenubarGroup,
37
+ MenubarItem: () => MenubarItem,
38
+ MenubarLabel: () => MenubarLabel,
39
+ MenubarMenu: () => MenubarMenu,
40
+ MenubarPortal: () => MenubarPortal,
41
+ MenubarRadioGroup: () => MenubarRadioGroup,
42
+ MenubarRadioItem: () => MenubarRadioItem,
43
+ MenubarSeparator: () => MenubarSeparator,
44
+ MenubarShortcut: () => MenubarShortcut,
45
+ MenubarSub: () => MenubarSub,
46
+ MenubarSubContent: () => MenubarSubContent,
47
+ MenubarSubTrigger: () => MenubarSubTrigger,
48
+ MenubarTrigger: () => MenubarTrigger
49
+ });
50
+ module.exports = __toCommonJS(appMenubar_exports);
51
+
52
+ // components/layout/appMenubar/AppMenubar.tsx
53
+ var React = __toESM(require("react"));
54
+ var MenubarPrimitive = __toESM(require("@radix-ui/react-menubar"));
55
+
56
+ // components/util.ts
57
+ var import_clsx = require("clsx");
58
+ var import_tailwind_merge = require("tailwind-merge");
59
+ function cn(...inputs) {
60
+ return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
61
+ }
62
+
63
+ // components/layout/appMenubar/AppMenubar.tsx
64
+ var MenubarMenu = MenubarPrimitive.Menu;
65
+ var MenubarGroup = MenubarPrimitive.Group;
66
+ var MenubarPortal = MenubarPrimitive.Portal;
67
+ var MenubarSub = MenubarPrimitive.Sub;
68
+ var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
69
+ var Menubar = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
70
+ MenubarPrimitive.Root,
71
+ {
72
+ ref,
73
+ className: cn(
74
+ "hawa-flex hawa-h-10 hawa-items-center hawa-space-x-1 hawa-rounded-md hawa-border hawa-bg-background hawa-p-1",
75
+ className
76
+ ),
77
+ ...props
78
+ }
79
+ ));
80
+ Menubar.displayName = MenubarPrimitive.Root.displayName;
81
+ var MenubarTrigger = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
82
+ MenubarPrimitive.Trigger,
83
+ {
84
+ ref,
85
+ className: cn(
86
+ "hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-accent-foreground",
87
+ className
88
+ ),
89
+ ...props
90
+ }
91
+ ));
92
+ MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
93
+ var MenubarSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React.createElement(
94
+ MenubarPrimitive.SubTrigger,
95
+ {
96
+ ref,
97
+ className: cn(
98
+ "hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-accent-foreground",
99
+ inset && "pl-8",
100
+ className
101
+ ),
102
+ ...props
103
+ },
104
+ children,
105
+ /* @__PURE__ */ React.createElement(
106
+ "svg",
107
+ {
108
+ "aria-label": "Chevron Right Icon",
109
+ xmlns: "http://www.w3.org/2000/svg",
110
+ width: "24",
111
+ height: "24",
112
+ viewBox: "0 0 24 24",
113
+ fill: "none",
114
+ stroke: "currentColor",
115
+ strokeWidth: "2",
116
+ strokeLinecap: "round",
117
+ strokeLinejoin: "round",
118
+ className: "hawa-icon hawa-ml-auto"
119
+ },
120
+ /* @__PURE__ */ React.createElement("path", { d: "m9 18 6-6-6-6" })
121
+ )
122
+ ));
123
+ MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
124
+ var MenubarSubContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
125
+ MenubarPrimitive.SubContent,
126
+ {
127
+ ref,
128
+ className: cn(
129
+ "hawa-z-50 hawa-min-w-[8rem] hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-p-1 hawa-text-popover-foreground data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
130
+ className
131
+ ),
132
+ ...props
133
+ }
134
+ ));
135
+ MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
136
+ var MenubarContent = React.forwardRef(
137
+ ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React.createElement(
138
+ MenubarPrimitive.Content,
139
+ {
140
+ ref,
141
+ align,
142
+ alignOffset,
143
+ sideOffset,
144
+ className: cn(
145
+ "hawa-z-50 hawa-min-w-[12rem] hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-p-1 hawa-text-popover-foreground hawa-shadow-md data-[state=open]:hawa-animate-in data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
146
+ className
147
+ ),
148
+ ...props
149
+ }
150
+ ))
151
+ );
152
+ MenubarContent.displayName = MenubarPrimitive.Content.displayName;
153
+ var MenubarItem = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React.createElement(
154
+ MenubarPrimitive.Item,
155
+ {
156
+ ref,
157
+ className: cn(
158
+ "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
159
+ inset && "pl-8",
160
+ className
161
+ ),
162
+ ...props
163
+ }
164
+ ));
165
+ MenubarItem.displayName = MenubarPrimitive.Item.displayName;
166
+ var MenubarCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React.createElement(
167
+ MenubarPrimitive.CheckboxItem,
168
+ {
169
+ ref,
170
+ className: cn(
171
+ "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-py-1.5 hawa-pl-8 hawa-pr-2 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
172
+ className
173
+ ),
174
+ checked,
175
+ ...props
176
+ },
177
+ /* @__PURE__ */ React.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React.createElement(
178
+ "svg",
179
+ {
180
+ xmlns: "http://www.w3.org/2000/svg",
181
+ width: "24",
182
+ height: "24",
183
+ viewBox: "0 0 24 24",
184
+ fill: "none",
185
+ stroke: "currentColor",
186
+ strokeWidth: "2",
187
+ strokeLinecap: "round",
188
+ strokeLinejoin: "round",
189
+ className: "hawa-icon"
190
+ },
191
+ /* @__PURE__ */ React.createElement("path", { d: "M20 6 9 17l-5-5" })
192
+ ))),
193
+ children
194
+ ));
195
+ MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
196
+ var MenubarRadioItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React.createElement(
197
+ MenubarPrimitive.RadioItem,
198
+ {
199
+ ref,
200
+ className: cn(
201
+ "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-py-1.5 hawa-pl-8 hawa-pr-2 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
202
+ className
203
+ ),
204
+ ...props
205
+ },
206
+ /* @__PURE__ */ React.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React.createElement(
207
+ "svg",
208
+ {
209
+ xmlns: "http://www.w3.org/2000/svg",
210
+ width: "24",
211
+ height: "24",
212
+ viewBox: "0 0 24 24",
213
+ fill: "none",
214
+ stroke: "currentColor",
215
+ strokeWidth: "2",
216
+ strokeLinecap: "round",
217
+ strokeLinejoin: "round",
218
+ className: "hawa-h-2 hawa-w-2 hawa-fill-current"
219
+ },
220
+ /* @__PURE__ */ React.createElement("circle", { cx: "12", cy: "12", r: "10" })
221
+ ))),
222
+ children
223
+ ));
224
+ MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
225
+ var MenubarLabel = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React.createElement(
226
+ MenubarPrimitive.Label,
227
+ {
228
+ ref,
229
+ className: cn(
230
+ "hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-font-semibold",
231
+ inset && "hawa-pl-8",
232
+ className
233
+ ),
234
+ ...props
235
+ }
236
+ ));
237
+ MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
238
+ var MenubarSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
239
+ MenubarPrimitive.Separator,
240
+ {
241
+ ref,
242
+ className: cn("hawa--mx-1 hawa-my-1 hawa-h-px hawa-bg-muted", className),
243
+ ...props
244
+ }
245
+ ));
246
+ MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
247
+ var MenubarShortcut = ({
248
+ className,
249
+ ...props
250
+ }) => {
251
+ return /* @__PURE__ */ React.createElement(
252
+ "span",
253
+ {
254
+ className: cn(
255
+ "hawa-ml-auto hawa-text-xs hawa-tracking-widest hawa-text-muted-foreground",
256
+ className
257
+ ),
258
+ ...props
259
+ }
260
+ );
261
+ };
262
+ MenubarShortcut.displayname = "MenubarShortcut";
263
+ // Annotate the CommonJS export names for ESM import in node:
264
+ 0 && (module.exports = {
265
+ Menubar,
266
+ MenubarCheckboxItem,
267
+ MenubarContent,
268
+ MenubarGroup,
269
+ MenubarItem,
270
+ MenubarLabel,
271
+ MenubarMenu,
272
+ MenubarPortal,
273
+ MenubarRadioGroup,
274
+ MenubarRadioItem,
275
+ MenubarSeparator,
276
+ MenubarShortcut,
277
+ MenubarSub,
278
+ MenubarSubContent,
279
+ MenubarSubTrigger,
280
+ MenubarTrigger
281
+ });
@@ -0,0 +1,224 @@
1
+ import {
2
+ cn
3
+ } from "../chunk-TE3BKEXL.mjs";
4
+
5
+ // components/layout/appMenubar/AppMenubar.tsx
6
+ import * as React from "react";
7
+ import * as MenubarPrimitive from "@radix-ui/react-menubar";
8
+ var MenubarMenu = MenubarPrimitive.Menu;
9
+ var MenubarGroup = MenubarPrimitive.Group;
10
+ var MenubarPortal = MenubarPrimitive.Portal;
11
+ var MenubarSub = MenubarPrimitive.Sub;
12
+ var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
13
+ var Menubar = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
14
+ MenubarPrimitive.Root,
15
+ {
16
+ ref,
17
+ className: cn(
18
+ "hawa-flex hawa-h-10 hawa-items-center hawa-space-x-1 hawa-rounded-md hawa-border hawa-bg-background hawa-p-1",
19
+ className
20
+ ),
21
+ ...props
22
+ }
23
+ ));
24
+ Menubar.displayName = MenubarPrimitive.Root.displayName;
25
+ var MenubarTrigger = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
26
+ MenubarPrimitive.Trigger,
27
+ {
28
+ ref,
29
+ className: cn(
30
+ "hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-accent-foreground",
31
+ className
32
+ ),
33
+ ...props
34
+ }
35
+ ));
36
+ MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
37
+ var MenubarSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React.createElement(
38
+ MenubarPrimitive.SubTrigger,
39
+ {
40
+ ref,
41
+ className: cn(
42
+ "hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-accent-foreground",
43
+ inset && "pl-8",
44
+ className
45
+ ),
46
+ ...props
47
+ },
48
+ children,
49
+ /* @__PURE__ */ React.createElement(
50
+ "svg",
51
+ {
52
+ "aria-label": "Chevron Right Icon",
53
+ xmlns: "http://www.w3.org/2000/svg",
54
+ width: "24",
55
+ height: "24",
56
+ viewBox: "0 0 24 24",
57
+ fill: "none",
58
+ stroke: "currentColor",
59
+ strokeWidth: "2",
60
+ strokeLinecap: "round",
61
+ strokeLinejoin: "round",
62
+ className: "hawa-icon hawa-ml-auto"
63
+ },
64
+ /* @__PURE__ */ React.createElement("path", { d: "m9 18 6-6-6-6" })
65
+ )
66
+ ));
67
+ MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
68
+ var MenubarSubContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
69
+ MenubarPrimitive.SubContent,
70
+ {
71
+ ref,
72
+ className: cn(
73
+ "hawa-z-50 hawa-min-w-[8rem] hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-p-1 hawa-text-popover-foreground data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
74
+ className
75
+ ),
76
+ ...props
77
+ }
78
+ ));
79
+ MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
80
+ var MenubarContent = React.forwardRef(
81
+ ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React.createElement(
82
+ MenubarPrimitive.Content,
83
+ {
84
+ ref,
85
+ align,
86
+ alignOffset,
87
+ sideOffset,
88
+ className: cn(
89
+ "hawa-z-50 hawa-min-w-[12rem] hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-p-1 hawa-text-popover-foreground hawa-shadow-md data-[state=open]:hawa-animate-in data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
90
+ className
91
+ ),
92
+ ...props
93
+ }
94
+ ))
95
+ );
96
+ MenubarContent.displayName = MenubarPrimitive.Content.displayName;
97
+ var MenubarItem = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React.createElement(
98
+ MenubarPrimitive.Item,
99
+ {
100
+ ref,
101
+ className: cn(
102
+ "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
103
+ inset && "pl-8",
104
+ className
105
+ ),
106
+ ...props
107
+ }
108
+ ));
109
+ MenubarItem.displayName = MenubarPrimitive.Item.displayName;
110
+ var MenubarCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React.createElement(
111
+ MenubarPrimitive.CheckboxItem,
112
+ {
113
+ ref,
114
+ className: cn(
115
+ "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-py-1.5 hawa-pl-8 hawa-pr-2 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
116
+ className
117
+ ),
118
+ checked,
119
+ ...props
120
+ },
121
+ /* @__PURE__ */ React.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React.createElement(
122
+ "svg",
123
+ {
124
+ xmlns: "http://www.w3.org/2000/svg",
125
+ width: "24",
126
+ height: "24",
127
+ viewBox: "0 0 24 24",
128
+ fill: "none",
129
+ stroke: "currentColor",
130
+ strokeWidth: "2",
131
+ strokeLinecap: "round",
132
+ strokeLinejoin: "round",
133
+ className: "hawa-icon"
134
+ },
135
+ /* @__PURE__ */ React.createElement("path", { d: "M20 6 9 17l-5-5" })
136
+ ))),
137
+ children
138
+ ));
139
+ MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
140
+ var MenubarRadioItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React.createElement(
141
+ MenubarPrimitive.RadioItem,
142
+ {
143
+ ref,
144
+ className: cn(
145
+ "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-py-1.5 hawa-pl-8 hawa-pr-2 hawa-text-sm hawa-outline-none focus:hawa-bg-accent focus:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
146
+ className
147
+ ),
148
+ ...props
149
+ },
150
+ /* @__PURE__ */ React.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React.createElement(
151
+ "svg",
152
+ {
153
+ xmlns: "http://www.w3.org/2000/svg",
154
+ width: "24",
155
+ height: "24",
156
+ viewBox: "0 0 24 24",
157
+ fill: "none",
158
+ stroke: "currentColor",
159
+ strokeWidth: "2",
160
+ strokeLinecap: "round",
161
+ strokeLinejoin: "round",
162
+ className: "hawa-h-2 hawa-w-2 hawa-fill-current"
163
+ },
164
+ /* @__PURE__ */ React.createElement("circle", { cx: "12", cy: "12", r: "10" })
165
+ ))),
166
+ children
167
+ ));
168
+ MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
169
+ var MenubarLabel = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React.createElement(
170
+ MenubarPrimitive.Label,
171
+ {
172
+ ref,
173
+ className: cn(
174
+ "hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-font-semibold",
175
+ inset && "hawa-pl-8",
176
+ className
177
+ ),
178
+ ...props
179
+ }
180
+ ));
181
+ MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
182
+ var MenubarSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
183
+ MenubarPrimitive.Separator,
184
+ {
185
+ ref,
186
+ className: cn("hawa--mx-1 hawa-my-1 hawa-h-px hawa-bg-muted", className),
187
+ ...props
188
+ }
189
+ ));
190
+ MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
191
+ var MenubarShortcut = ({
192
+ className,
193
+ ...props
194
+ }) => {
195
+ return /* @__PURE__ */ React.createElement(
196
+ "span",
197
+ {
198
+ className: cn(
199
+ "hawa-ml-auto hawa-text-xs hawa-tracking-widest hawa-text-muted-foreground",
200
+ className
201
+ ),
202
+ ...props
203
+ }
204
+ );
205
+ };
206
+ MenubarShortcut.displayname = "MenubarShortcut";
207
+ export {
208
+ Menubar,
209
+ MenubarCheckboxItem,
210
+ MenubarContent,
211
+ MenubarGroup,
212
+ MenubarItem,
213
+ MenubarLabel,
214
+ MenubarMenu,
215
+ MenubarPortal,
216
+ MenubarRadioGroup,
217
+ MenubarRadioItem,
218
+ MenubarSeparator,
219
+ MenubarShortcut,
220
+ MenubarSub,
221
+ MenubarSubContent,
222
+ MenubarSubTrigger,
223
+ MenubarTrigger
224
+ };
@@ -0,0 +1,18 @@
1
+ import React__default from 'react';
2
+
3
+ type SingleAppTab = {
4
+ label: string;
5
+ value?: string;
6
+ icon?: React__default.ReactNode;
7
+ path?: string;
8
+ action?: any;
9
+ onMouseDown?: any;
10
+ onClick?: any;
11
+ };
12
+ type AppTabsType = {
13
+ className?: string;
14
+ tabs: SingleAppTab[];
15
+ };
16
+ declare const AppTabs: React__default.FC<AppTabsType>;
17
+
18
+ export { AppTabs };
@@ -0,0 +1,18 @@
1
+ import React__default from 'react';
2
+
3
+ type SingleAppTab = {
4
+ label: string;
5
+ value?: string;
6
+ icon?: React__default.ReactNode;
7
+ path?: string;
8
+ action?: any;
9
+ onMouseDown?: any;
10
+ onClick?: any;
11
+ };
12
+ type AppTabsType = {
13
+ className?: string;
14
+ tabs: SingleAppTab[];
15
+ };
16
+ declare const AppTabs: React__default.FC<AppTabsType>;
17
+
18
+ export { AppTabs };