@cerberus-design/react 0.1.0 → 0.1.1-next-3a4c6c1

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 (189) hide show
  1. package/build/legacy/aria-helpers/nav-menu.aria.js +3 -7
  2. package/build/legacy/aria-helpers/nav-menu.aria.js.map +1 -1
  3. package/build/legacy/chunk-55J6XMHW.js +1 -0
  4. package/build/legacy/chunk-6YEAMVRY.js +82 -0
  5. package/build/legacy/chunk-6YEAMVRY.js.map +1 -0
  6. package/build/legacy/chunk-BPIYUAYS.js +26 -0
  7. package/build/legacy/chunk-BPIYUAYS.js.map +1 -0
  8. package/build/legacy/chunk-JA4IX7GN.js +48 -0
  9. package/build/legacy/chunk-JA4IX7GN.js.map +1 -0
  10. package/build/legacy/chunk-JF76VIL3.js +12 -0
  11. package/build/legacy/chunk-JF76VIL3.js.map +1 -0
  12. package/build/legacy/chunk-KETL4ZJK.js +33 -0
  13. package/build/legacy/chunk-KETL4ZJK.js.map +1 -0
  14. package/build/legacy/chunk-KJUCHZHV.js +51 -0
  15. package/build/legacy/chunk-KJUCHZHV.js.map +1 -0
  16. package/build/legacy/chunk-R4H3352X.js +16 -0
  17. package/build/legacy/chunk-R4H3352X.js.map +1 -0
  18. package/build/legacy/chunk-SXXWC6UD.js +83 -0
  19. package/build/legacy/chunk-SXXWC6UD.js.map +1 -0
  20. package/build/legacy/chunk-WSQTX34C.js +86 -0
  21. package/build/legacy/chunk-WSQTX34C.js.map +1 -0
  22. package/build/legacy/chunk-XFWARXLU.js +26 -0
  23. package/build/legacy/chunk-XFWARXLU.js.map +1 -0
  24. package/build/legacy/components/Button.js +3 -21
  25. package/build/legacy/components/Button.js.map +1 -1
  26. package/build/legacy/components/IconButton.js +3 -21
  27. package/build/legacy/components/IconButton.js.map +1 -1
  28. package/build/legacy/components/NavMenuLink.js +4 -40
  29. package/build/legacy/components/NavMenuLink.js.map +1 -1
  30. package/build/legacy/components/NavMenuList.js +6 -76
  31. package/build/legacy/components/NavMenuList.js.map +1 -1
  32. package/build/legacy/components/NavMenuTrigger.js +5 -72
  33. package/build/legacy/components/NavMenuTrigger.js.map +1 -1
  34. package/build/legacy/components/Show.js +3 -12
  35. package/build/legacy/components/Show.js.map +1 -1
  36. package/build/legacy/context/field.js +3 -27
  37. package/build/legacy/context/field.js.map +1 -1
  38. package/build/legacy/context/navMenu.js +3 -45
  39. package/build/legacy/context/navMenu.js.map +1 -1
  40. package/build/legacy/context/theme.js +6 -21
  41. package/build/legacy/context/theme.js.map +1 -1
  42. package/build/legacy/hooks/useTheme.js +2 -56
  43. package/build/legacy/hooks/useTheme.js.map +1 -1
  44. package/build/legacy/index.js +57 -13
  45. package/build/legacy/index.js.map +1 -1
  46. package/build/legacy/types.js +1 -0
  47. package/build/modern/aria-helpers/nav-menu.aria.js +3 -7
  48. package/build/modern/aria-helpers/nav-menu.aria.js.map +1 -1
  49. package/build/modern/chunk-55J6XMHW.js +1 -0
  50. package/build/modern/chunk-6YEAMVRY.js +82 -0
  51. package/build/modern/chunk-6YEAMVRY.js.map +1 -0
  52. package/build/modern/chunk-BPIYUAYS.js +26 -0
  53. package/build/modern/chunk-BPIYUAYS.js.map +1 -0
  54. package/build/modern/chunk-JA4IX7GN.js +48 -0
  55. package/build/modern/chunk-JA4IX7GN.js.map +1 -0
  56. package/build/modern/chunk-JF76VIL3.js +12 -0
  57. package/build/modern/chunk-JF76VIL3.js.map +1 -0
  58. package/build/modern/chunk-KETL4ZJK.js +33 -0
  59. package/build/modern/chunk-KETL4ZJK.js.map +1 -0
  60. package/build/modern/chunk-KJUCHZHV.js +51 -0
  61. package/build/modern/chunk-KJUCHZHV.js.map +1 -0
  62. package/build/modern/chunk-R4H3352X.js +16 -0
  63. package/build/modern/chunk-R4H3352X.js.map +1 -0
  64. package/build/modern/chunk-SXXWC6UD.js +83 -0
  65. package/build/modern/chunk-SXXWC6UD.js.map +1 -0
  66. package/build/modern/chunk-WSQTX34C.js +86 -0
  67. package/build/modern/chunk-WSQTX34C.js.map +1 -0
  68. package/build/modern/chunk-XFWARXLU.js +26 -0
  69. package/build/modern/chunk-XFWARXLU.js.map +1 -0
  70. package/build/modern/components/Button.js +3 -21
  71. package/build/modern/components/Button.js.map +1 -1
  72. package/build/modern/components/IconButton.js +3 -21
  73. package/build/modern/components/IconButton.js.map +1 -1
  74. package/build/modern/components/NavMenuLink.js +4 -40
  75. package/build/modern/components/NavMenuLink.js.map +1 -1
  76. package/build/modern/components/NavMenuList.js +6 -76
  77. package/build/modern/components/NavMenuList.js.map +1 -1
  78. package/build/modern/components/NavMenuTrigger.js +5 -72
  79. package/build/modern/components/NavMenuTrigger.js.map +1 -1
  80. package/build/modern/components/Show.js +3 -12
  81. package/build/modern/components/Show.js.map +1 -1
  82. package/build/modern/context/field.js +3 -27
  83. package/build/modern/context/field.js.map +1 -1
  84. package/build/modern/context/navMenu.js +3 -45
  85. package/build/modern/context/navMenu.js.map +1 -1
  86. package/build/modern/context/theme.js +6 -21
  87. package/build/modern/context/theme.js.map +1 -1
  88. package/build/modern/hooks/useTheme.js +2 -56
  89. package/build/modern/hooks/useTheme.js.map +1 -1
  90. package/build/modern/index.js +57 -13
  91. package/build/modern/index.js.map +1 -1
  92. package/build/modern/types.js +1 -0
  93. package/package.json +5 -12
  94. package/src/components/NavMenuLink.tsx +1 -1
  95. package/src/components/NavMenuList.tsx +3 -3
  96. package/src/components/NavMenuTrigger.tsx +2 -2
  97. package/build/legacy/_tsup-dts-rollup.d.cts +0 -254
  98. package/build/legacy/aria-helpers/nav-menu.aria.cjs +0 -36
  99. package/build/legacy/aria-helpers/nav-menu.aria.cjs.map +0 -1
  100. package/build/legacy/aria-helpers/nav-menu.aria.d.cts +0 -2
  101. package/build/legacy/components/Button.cjs +0 -50
  102. package/build/legacy/components/Button.cjs.map +0 -1
  103. package/build/legacy/components/Button.d.cts +0 -2
  104. package/build/legacy/components/IconButton.cjs +0 -50
  105. package/build/legacy/components/IconButton.cjs.map +0 -1
  106. package/build/legacy/components/IconButton.d.cts +0 -3
  107. package/build/legacy/components/NavMenuLink.cjs +0 -69
  108. package/build/legacy/components/NavMenuLink.cjs.map +0 -1
  109. package/build/legacy/components/NavMenuLink.d.cts +0 -2
  110. package/build/legacy/components/NavMenuList.cjs +0 -107
  111. package/build/legacy/components/NavMenuList.cjs.map +0 -1
  112. package/build/legacy/components/NavMenuList.d.cts +0 -3
  113. package/build/legacy/components/NavMenuTrigger.cjs +0 -98
  114. package/build/legacy/components/NavMenuTrigger.cjs.map +0 -1
  115. package/build/legacy/components/NavMenuTrigger.d.cts +0 -2
  116. package/build/legacy/components/Show.cjs +0 -41
  117. package/build/legacy/components/Show.cjs.map +0 -1
  118. package/build/legacy/components/Show.d.cts +0 -2
  119. package/build/legacy/context/field.cjs +0 -55
  120. package/build/legacy/context/field.cjs.map +0 -1
  121. package/build/legacy/context/field.d.cts +0 -3
  122. package/build/legacy/context/navMenu.cjs +0 -70
  123. package/build/legacy/context/navMenu.cjs.map +0 -1
  124. package/build/legacy/context/navMenu.d.cts +0 -5
  125. package/build/legacy/context/theme.cjs +0 -56
  126. package/build/legacy/context/theme.cjs.map +0 -1
  127. package/build/legacy/context/theme.d.cts +0 -8
  128. package/build/legacy/global.d.cjs +0 -2
  129. package/build/legacy/global.d.d.cts +0 -1
  130. package/build/legacy/global.d.d.ts +0 -1
  131. package/build/legacy/global.d.js +0 -1
  132. package/build/legacy/hooks/useTheme.cjs +0 -77
  133. package/build/legacy/hooks/useTheme.cjs.map +0 -1
  134. package/build/legacy/hooks/useTheme.d.cts +0 -1
  135. package/build/legacy/index.cjs +0 -47
  136. package/build/legacy/index.cjs.map +0 -1
  137. package/build/legacy/index.d.cts +0 -34
  138. package/build/legacy/types.cjs +0 -19
  139. package/build/legacy/types.cjs.map +0 -1
  140. package/build/legacy/types.d.cts +0 -1
  141. package/build/modern/_tsup-dts-rollup.d.cts +0 -254
  142. package/build/modern/aria-helpers/nav-menu.aria.cjs +0 -36
  143. package/build/modern/aria-helpers/nav-menu.aria.cjs.map +0 -1
  144. package/build/modern/aria-helpers/nav-menu.aria.d.cts +0 -2
  145. package/build/modern/components/Button.cjs +0 -50
  146. package/build/modern/components/Button.cjs.map +0 -1
  147. package/build/modern/components/Button.d.cts +0 -2
  148. package/build/modern/components/IconButton.cjs +0 -50
  149. package/build/modern/components/IconButton.cjs.map +0 -1
  150. package/build/modern/components/IconButton.d.cts +0 -3
  151. package/build/modern/components/NavMenuLink.cjs +0 -69
  152. package/build/modern/components/NavMenuLink.cjs.map +0 -1
  153. package/build/modern/components/NavMenuLink.d.cts +0 -2
  154. package/build/modern/components/NavMenuList.cjs +0 -107
  155. package/build/modern/components/NavMenuList.cjs.map +0 -1
  156. package/build/modern/components/NavMenuList.d.cts +0 -3
  157. package/build/modern/components/NavMenuTrigger.cjs +0 -98
  158. package/build/modern/components/NavMenuTrigger.cjs.map +0 -1
  159. package/build/modern/components/NavMenuTrigger.d.cts +0 -2
  160. package/build/modern/components/Show.cjs +0 -41
  161. package/build/modern/components/Show.cjs.map +0 -1
  162. package/build/modern/components/Show.d.cts +0 -2
  163. package/build/modern/context/field.cjs +0 -55
  164. package/build/modern/context/field.cjs.map +0 -1
  165. package/build/modern/context/field.d.cts +0 -3
  166. package/build/modern/context/navMenu.cjs +0 -70
  167. package/build/modern/context/navMenu.cjs.map +0 -1
  168. package/build/modern/context/navMenu.d.cts +0 -5
  169. package/build/modern/context/theme.cjs +0 -56
  170. package/build/modern/context/theme.cjs.map +0 -1
  171. package/build/modern/context/theme.d.cts +0 -8
  172. package/build/modern/global.d.cjs +0 -2
  173. package/build/modern/global.d.cjs.map +0 -1
  174. package/build/modern/global.d.d.cts +0 -1
  175. package/build/modern/global.d.d.ts +0 -1
  176. package/build/modern/global.d.js +0 -1
  177. package/build/modern/global.d.js.map +0 -1
  178. package/build/modern/hooks/useTheme.cjs +0 -77
  179. package/build/modern/hooks/useTheme.cjs.map +0 -1
  180. package/build/modern/hooks/useTheme.d.cts +0 -1
  181. package/build/modern/index.cjs +0 -47
  182. package/build/modern/index.cjs.map +0 -1
  183. package/build/modern/index.d.cts +0 -34
  184. package/build/modern/types.cjs +0 -19
  185. package/build/modern/types.cjs.map +0 -1
  186. package/build/modern/types.d.cts +0 -1
  187. package/src/global.d.ts +0 -19
  188. /package/build/legacy/{global.d.cjs.map → chunk-55J6XMHW.js.map} +0 -0
  189. /package/build/{legacy/global.d.js.map → modern/chunk-55J6XMHW.js.map} +0 -0
@@ -12,9 +12,9 @@ import {
12
12
  createNavTriggerProps,
13
13
  type NavTriggerAriaValues,
14
14
  } from '../aria-helpers/nav-menu.aria'
15
- import { Show } from './Show'
16
- import type { ButtonProps } from './Button'
17
15
  import { useNavMenuContext } from '../context/navMenu'
16
+ import type { ButtonProps } from './Button'
17
+ import { Show } from './Show'
18
18
 
19
19
  export interface NavMenuTriggerProps
20
20
  extends ButtonHTMLAttributes<HTMLButtonElement>,
@@ -1,254 +0,0 @@
1
- import type { AnchorHTMLAttributes } from 'react';
2
- import { ButtonHTMLAttributes } from 'react';
3
- import { ElementType } from 'react';
4
- import { HTMLAttributes } from 'react';
5
- import { PropsWithChildren } from 'react';
6
- import { ReactNode } from 'react';
7
- import { RefObject } from 'react';
8
-
9
- /**
10
- * A component that allows the user to perform actions
11
- * @description https://github.com/omnifed/cerberus/blob/main/packages/react/src/components/Button.tsx
12
- */
13
- declare function Button(props: ButtonProps): JSX.Element;
14
- export { Button }
15
- export { Button as Button_alias_1 }
16
-
17
- /**
18
- * This module contains the Button component.
19
- * @module
20
- */
21
- declare interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
22
- palette?: 'action' | 'danger';
23
- usage?: 'filled' | 'outline' | 'text';
24
- shape?: 'sharp' | 'rounded';
25
- }
26
- export { ButtonProps }
27
- export { ButtonProps as ButtonProps_alias_1 }
28
-
29
- declare type ColorModes = 'light' | 'dark';
30
- export { ColorModes }
31
- export { ColorModes as ColorModes_alias_1 }
32
-
33
- declare function createNavTriggerProps(values: NavTriggerAriaValues): NavTriggerAriaReturn;
34
- export { createNavTriggerProps }
35
- export { createNavTriggerProps as createNavTriggerProps_alias_1 }
36
-
37
- declare type CustomThemes<K extends string = DefaultThemes> = 'cerberus' | K;
38
- export { CustomThemes }
39
- export { CustomThemes as CustomThemes_alias_1 }
40
-
41
- declare type DefaultThemes = 'cerberus';
42
- export { DefaultThemes }
43
- export { DefaultThemes as DefaultThemes_alias_1 }
44
-
45
- declare function Field(props: PropsWithChildren<FieldContextValue>): JSX.Element;
46
- export { Field }
47
- export { Field as Field_alias_1 }
48
-
49
- declare interface FieldContextValue {
50
- disabled?: boolean;
51
- readonly?: boolean;
52
- required?: boolean;
53
- invalid?: boolean;
54
- }
55
- export { FieldContextValue }
56
- export { FieldContextValue as FieldContextValue_alias_1 }
57
-
58
- declare function getPosition(position: Positions): GetPositionResult;
59
- export { getPosition }
60
- export { getPosition as getPosition_alias_1 }
61
-
62
- declare interface GetPositionResult {
63
- left: string;
64
- right: string;
65
- top: string;
66
- bottom: string;
67
- }
68
-
69
- /**
70
- * A component that allows the user to perform actions using an icon
71
- * @description https://github.com/omnifed/cerberus/blob/main/packages/react/src/components/IconButton.tsx
72
- */
73
- declare function IconButton(props: IconButtonProps): JSX.Element;
74
- export { IconButton }
75
- export { IconButton as IconButton_alias_1 }
76
-
77
- declare interface IconButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
78
- ariaLabel: string;
79
- palette?: ButtonProps['palette'];
80
- usage?: IconButtonUsage;
81
- shape?: 'circle';
82
- }
83
- export { IconButtonProps }
84
- export { IconButtonProps as IconButtonProps_alias_1 }
85
-
86
- /**
87
- * This module contains the Icon Button component.
88
- * @module
89
- */
90
- declare type IconButtonUsage = Exclude<ButtonProps['usage'], 'outline'>;
91
- export { IconButtonUsage }
92
- export { IconButtonUsage as IconButtonUsage_alias_1 }
93
-
94
- declare const MODE_KEY = "cerberus-mode";
95
- export { MODE_KEY }
96
- export { MODE_KEY as MODE_KEY_alias_1 }
97
-
98
- declare function NavMenu(props: PropsWithChildren): JSX.Element;
99
- export { NavMenu }
100
- export { NavMenu as NavMenu_alias_1 }
101
-
102
- declare interface NavMenuContextValue {
103
- triggerRef: NavTriggerRef | null;
104
- menuRef: NavMenuRef | null;
105
- expanded: boolean;
106
- onToggle: () => void;
107
- }
108
- export { NavMenuContextValue }
109
- export { NavMenuContextValue as NavMenuContextValue_alias_1 }
110
-
111
- declare function NavMenuLink(props: NavMenuLinkProps): JSX.Element;
112
- export { NavMenuLink }
113
- export { NavMenuLink as NavMenuLink_alias_1 }
114
-
115
- declare interface NavMenuLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
116
- as?: ElementType;
117
- }
118
- export { NavMenuLinkProps }
119
- export { NavMenuLinkProps as NavMenuLinkProps_alias_1 }
120
-
121
- /**
122
- * A component that allows the user to display a menu of navigation links.
123
- * @definition [Disclosure Nav](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-navigation/)
124
- * @definition [NavMenu Docs](https://cerberus.digitalu.design/react/nav-menu)
125
- *
126
- * @example
127
- * ```tsx
128
- * <NavMenuList id="nav-menu-list" position="bottom">
129
- * <NavMenuLink href="/home">Home</NavMenuLink>
130
- * <NavMenuLink href="/about">About</NavMenuLink>
131
- * </NavMenuList>
132
- * ```
133
- **/
134
- declare function NavMenuList(props: NavMenuListProps): JSX.Element;
135
- export { NavMenuList }
136
- export { NavMenuList as NavMenuList_alias_1 }
137
-
138
- declare interface NavMenuListProps extends HTMLAttributes<HTMLUListElement> {
139
- id: string;
140
- position?: Positions;
141
- }
142
- export { NavMenuListProps }
143
- export { NavMenuListProps as NavMenuListProps_alias_1 }
144
-
145
- declare type NavMenuRef = RefObject<HTMLUListElement>;
146
- export { NavMenuRef }
147
- export { NavMenuRef as NavMenuRef_alias_1 }
148
-
149
- /**
150
- * A component that allows the user to trigger a navigation menu.
151
- * @definition [NavMenu Docs](https://cerberus.digitalu.design/react/nav-menu)
152
- * @example
153
- * ```tsx
154
- * <NavMenu>
155
- * <NavMenuTrigger controls="nav-menu-list">
156
- * Menu
157
- * </NavMenuTrigger>
158
- * </NavMenu>
159
- * ```
160
- */
161
- declare function NavMenuTrigger(props: NavMenuTriggerProps): JSX.Element;
162
- export { NavMenuTrigger }
163
- export { NavMenuTrigger as NavMenuTrigger_alias_1 }
164
-
165
- declare interface NavMenuTriggerProps extends ButtonHTMLAttributes<HTMLButtonElement>, ButtonProps, NavTriggerAriaValues {
166
- as?: ElementType;
167
- }
168
- export { NavMenuTriggerProps }
169
- export { NavMenuTriggerProps as NavMenuTriggerProps_alias_1 }
170
-
171
- declare interface NavTriggerAriaReturn {
172
- ['aria-controls']: string;
173
- ['aria-expanded']: boolean;
174
- }
175
-
176
- declare interface NavTriggerAriaValues {
177
- controls: string;
178
- expanded?: boolean;
179
- }
180
- export { NavTriggerAriaValues }
181
- export { NavTriggerAriaValues as NavTriggerAriaValues_alias_1 }
182
-
183
- declare type NavTriggerRef = RefObject<HTMLButtonElement>;
184
- export { NavTriggerRef }
185
- export { NavTriggerRef as NavTriggerRef_alias_1 }
186
-
187
- declare type Positions = 'top' | 'right' | 'bottom' | 'left';
188
- export { Positions }
189
- export { Positions as Positions_alias_1 }
190
-
191
- /**
192
- * Conditionally render its children or an optional fallback component
193
- * based on the SolidJS component.
194
- * @definition [Show docs](https://cerberus.digitalu.design/react/show)
195
- * @example
196
- * ```tsx
197
- * <Show when={condition}>
198
- * <div>Content</div>
199
- * </Show>
200
- */
201
- declare function Show(props: PropsWithChildren<ShowProps>): ReactNode;
202
- export { Show }
203
- export { Show as Show_alias_1 }
204
-
205
- declare interface ShowProps {
206
- when: boolean | null | undefined;
207
- fallback?: ReactNode;
208
- }
209
- export { ShowProps }
210
- export { ShowProps as ShowProps_alias_1 }
211
-
212
- declare const THEME_KEY = "cerberus-theme";
213
- export { THEME_KEY }
214
- export { THEME_KEY as THEME_KEY_alias_1 }
215
-
216
- declare interface ThemeContextValue<T extends string = DefaultThemes> {
217
- theme: CustomThemes<T>;
218
- mode: ColorModes;
219
- updateTheme: (theme: T) => void;
220
- updateMode: () => void;
221
- }
222
- export { ThemeContextValue }
223
- export { ThemeContextValue as ThemeContextValue_alias_1 }
224
-
225
- /**
226
- * A context provider that allows the user to set the theme and mode of the application.
227
- * @example
228
- * ```tsx
229
- * <ThemeProvider>
230
- * <App />
231
- * </ThemeProvider>
232
- * ```
233
- */
234
- declare function ThemeProvider(props: PropsWithChildren<unknown>): JSX.Element;
235
- export { ThemeProvider }
236
- export { ThemeProvider as ThemeProvider_alias_1 }
237
-
238
- declare function useFieldContext(): FieldContextValue;
239
- export { useFieldContext }
240
- export { useFieldContext as useFieldContext_alias_1 }
241
-
242
- declare function useNavMenuContext(): NavMenuContextValue;
243
- export { useNavMenuContext }
244
- export { useNavMenuContext as useNavMenuContext_alias_1 }
245
-
246
- declare function useTheme<C extends string = DefaultThemes>(defaultTheme?: CustomThemes<C>, defaultColorMode?: ColorModes): ThemeContextValue<C>;
247
- export { useTheme }
248
- export { useTheme as useTheme_alias_1 }
249
-
250
- declare function useThemeContext(): ThemeContextValue<DefaultThemes>;
251
- export { useThemeContext }
252
- export { useThemeContext as useThemeContext_alias_1 }
253
-
254
- export { }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/aria-helpers/nav-menu.aria.ts
21
- var nav_menu_aria_exports = {};
22
- __export(nav_menu_aria_exports, {
23
- createNavTriggerProps: () => createNavTriggerProps
24
- });
25
- module.exports = __toCommonJS(nav_menu_aria_exports);
26
- function createNavTriggerProps(values) {
27
- return {
28
- ["aria-controls"]: values.controls,
29
- ["aria-expanded"]: values.expanded ?? false
30
- };
31
- }
32
- // Annotate the CommonJS export names for ESM import in node:
33
- 0 && (module.exports = {
34
- createNavTriggerProps
35
- });
36
- //# sourceMappingURL=nav-menu.aria.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/aria-helpers/nav-menu.aria.ts"],"sourcesContent":["export interface NavTriggerAriaValues {\n controls: string\n expanded?: boolean\n}\n\ninterface NavTriggerAriaReturn {\n ['aria-controls']: string\n ['aria-expanded']: boolean\n}\n\nexport function createNavTriggerProps(\n values: NavTriggerAriaValues,\n): NavTriggerAriaReturn {\n return {\n ['aria-controls']: values.controls,\n ['aria-expanded']: values.expanded ?? false,\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUO,SAAS,sBACd,QACsB;AACtB,SAAO;AAAA,IACL,CAAC,eAAe,GAAG,OAAO;AAAA,IAC1B,CAAC,eAAe,GAAG,OAAO,YAAY;AAAA,EACxC;AACF;","names":[]}
@@ -1,2 +0,0 @@
1
- export { createNavTriggerProps_alias_1 as createNavTriggerProps } from '../_tsup-dts-rollup';
2
- export { NavTriggerAriaValues_alias_1 as NavTriggerAriaValues } from '../_tsup-dts-rollup';
@@ -1,50 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/components/Button.tsx
21
- var Button_exports = {};
22
- __export(Button_exports, {
23
- Button: () => Button
24
- });
25
- module.exports = __toCommonJS(Button_exports);
26
- var import_css = require("@cerberus/styled-system/css.cjs");
27
- var import_recipes = require("@cerberus/styled-system/recipes.cjs");
28
- var import_jsx_runtime = require("react/jsx-runtime");
29
- function Button(props) {
30
- const { palette, usage, shape, ...nativeProps } = props;
31
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
32
- "button",
33
- {
34
- ...nativeProps,
35
- className: (0, import_css.cx)(
36
- nativeProps.className,
37
- (0, import_recipes.button)({
38
- palette,
39
- usage,
40
- shape
41
- })
42
- )
43
- }
44
- );
45
- }
46
- // Annotate the CommonJS export names for ESM import in node:
47
- 0 && (module.exports = {
48
- Button
49
- });
50
- //# sourceMappingURL=Button.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/Button.tsx"],"sourcesContent":["import type { ButtonHTMLAttributes } from 'react'\nimport { cx } from '@cerberus/styled-system/css'\nimport { button } from '@cerberus/styled-system/recipes'\n\n/**\n * This module contains the Button component.\n * @module\n */\n\nexport interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n palette?: 'action' | 'danger'\n usage?: 'filled' | 'outline' | 'text'\n shape?: 'sharp' | 'rounded'\n}\n\n/**\n * A component that allows the user to perform actions\n * @description https://github.com/omnifed/cerberus/blob/main/packages/react/src/components/Button.tsx\n */\nexport function Button(props: ButtonProps): JSX.Element {\n const { palette, usage, shape, ...nativeProps } = props\n return (\n <button\n {...nativeProps}\n className={cx(\n nativeProps.className,\n button({\n palette,\n usage,\n shape,\n }),\n )}\n />\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,iBAAmB;AACnB,qBAAuB;AAoBnB;AAHG,SAAS,OAAO,OAAiC;AACtD,QAAM,EAAE,SAAS,OAAO,OAAO,GAAG,YAAY,IAAI;AAClD,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,eAAW;AAAA,QACT,YAAY;AAAA,YACZ,uBAAO;AAAA,UACL;AAAA,UACA;AAAA,UACA;AAAA,QACF,CAAC;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -1,2 +0,0 @@
1
- export { Button_alias_1 as Button } from '../_tsup-dts-rollup';
2
- export { ButtonProps_alias_1 as ButtonProps } from '../_tsup-dts-rollup';
@@ -1,50 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/components/IconButton.tsx
21
- var IconButton_exports = {};
22
- __export(IconButton_exports, {
23
- IconButton: () => IconButton
24
- });
25
- module.exports = __toCommonJS(IconButton_exports);
26
- var import_css = require("@cerberus/styled-system/css.cjs");
27
- var import_recipes = require("@cerberus/styled-system/recipes.cjs");
28
- var import_jsx_runtime = require("react/jsx-runtime");
29
- function IconButton(props) {
30
- const { ariaLabel, palette, usage, ...nativeProps } = props;
31
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
32
- "button",
33
- {
34
- ...nativeProps,
35
- "aria-label": ariaLabel ?? "Icon Button",
36
- className: (0, import_css.cx)(
37
- nativeProps.className,
38
- (0, import_recipes.iconButton)({
39
- palette,
40
- usage
41
- })
42
- )
43
- }
44
- );
45
- }
46
- // Annotate the CommonJS export names for ESM import in node:
47
- 0 && (module.exports = {
48
- IconButton
49
- });
50
- //# sourceMappingURL=IconButton.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/IconButton.tsx"],"sourcesContent":["import type { ButtonHTMLAttributes } from 'react'\nimport { cx } from '@cerberus/styled-system/css'\nimport { iconButton } from '@cerberus/styled-system/recipes'\nimport type { ButtonProps } from './Button'\n\n/**\n * This module contains the Icon Button component.\n * @module\n */\n\nexport type IconButtonUsage = Exclude<ButtonProps['usage'], 'outline'>\nexport interface IconButtonProps\n extends ButtonHTMLAttributes<HTMLButtonElement> {\n ariaLabel: string\n palette?: ButtonProps['palette']\n usage?: IconButtonUsage\n shape?: 'circle'\n}\n\n/**\n * A component that allows the user to perform actions using an icon\n * @description https://github.com/omnifed/cerberus/blob/main/packages/react/src/components/IconButton.tsx\n */\nexport function IconButton(props: IconButtonProps): JSX.Element {\n const { ariaLabel, palette, usage, ...nativeProps } = props\n return (\n <button\n {...nativeProps}\n aria-label={ariaLabel ?? 'Icon Button'}\n className={cx(\n nativeProps.className,\n iconButton({\n palette,\n usage,\n }),\n )}\n />\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,iBAAmB;AACnB,qBAA2B;AAwBvB;AAHG,SAAS,WAAW,OAAqC;AAC9D,QAAM,EAAE,WAAW,SAAS,OAAO,GAAG,YAAY,IAAI;AACtD,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,cAAY,aAAa;AAAA,MACzB,eAAW;AAAA,QACT,YAAY;AAAA,YACZ,2BAAW;AAAA,UACT;AAAA,UACA;AAAA,QACF,CAAC;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -1,3 +0,0 @@
1
- export { IconButton_alias_1 as IconButton } from '../_tsup-dts-rollup';
2
- export { IconButtonUsage_alias_1 as IconButtonUsage } from '../_tsup-dts-rollup';
3
- export { IconButtonProps_alias_1 as IconButtonProps } from '../_tsup-dts-rollup';
@@ -1,69 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/components/NavMenuLink.tsx
21
- var NavMenuLink_exports = {};
22
- __export(NavMenuLink_exports, {
23
- NavMenuLink: () => NavMenuLink
24
- });
25
- module.exports = __toCommonJS(NavMenuLink_exports);
26
- var import_Show = require("./Show.cjs");
27
- var import_css = require("@cerberus/styled-system/css.cjs");
28
- var import_jsx_runtime = require("react/jsx-runtime");
29
- function NavMenuLink(props) {
30
- const { as, ...nativeProps } = props;
31
- const hasAs = Boolean(as);
32
- const AsSub = as;
33
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
34
- "li",
35
- {
36
- className: (0, import_css.css)({
37
- w: "full"
38
- }),
39
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
40
- import_Show.Show,
41
- {
42
- when: hasAs,
43
- fallback: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
44
- "a",
45
- {
46
- ...nativeProps,
47
- className: (0, import_css.cx)(
48
- nativeProps.className,
49
- (0, import_css.css)({
50
- color: "action.navigation.initial",
51
- textStyle: "link",
52
- _hover: {
53
- color: "action.navigation.hover"
54
- }
55
- })
56
- )
57
- }
58
- ),
59
- children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AsSub, { ...nativeProps })
60
- }
61
- )
62
- }
63
- );
64
- }
65
- // Annotate the CommonJS export names for ESM import in node:
66
- 0 && (module.exports = {
67
- NavMenuLink
68
- });
69
- //# sourceMappingURL=NavMenuLink.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/NavMenuLink.tsx"],"sourcesContent":["import type { AnchorHTMLAttributes, ElementType } from 'react'\nimport { Show } from './Show'\nimport { css, cx } from '@cerberus/styled-system/css'\n\nexport interface NavMenuLinkProps\n extends AnchorHTMLAttributes<HTMLAnchorElement> {\n as?: ElementType\n}\n\nexport function NavMenuLink(props: NavMenuLinkProps): JSX.Element {\n const { as, ...nativeProps } = props\n const hasAs = Boolean(as)\n const AsSub: ElementType = as!\n\n return (\n <li\n className={css({\n w: 'full',\n })}\n >\n <Show\n when={hasAs}\n fallback={\n <a\n {...nativeProps}\n className={cx(\n nativeProps.className,\n css({\n color: 'action.navigation.initial',\n textStyle: 'link',\n _hover: {\n color: 'action.navigation.hover',\n },\n }),\n )}\n />\n }\n >\n {hasAs && <AsSub {...nativeProps} />}\n </Show>\n </li>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAAqB;AACrB,iBAAwB;AAqBd;AAdH,SAAS,YAAY,OAAsC;AAChE,QAAM,EAAE,IAAI,GAAG,YAAY,IAAI;AAC/B,QAAM,QAAQ,QAAQ,EAAE;AACxB,QAAM,QAAqB;AAE3B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAW,gBAAI;AAAA,QACb,GAAG;AAAA,MACL,CAAC;AAAA,MAED;AAAA,QAAC;AAAA;AAAA,UACC,MAAM;AAAA,UACN,UACE;AAAA,YAAC;AAAA;AAAA,cACE,GAAG;AAAA,cACJ,eAAW;AAAA,gBACT,YAAY;AAAA,oBACZ,gBAAI;AAAA,kBACF,OAAO;AAAA,kBACP,WAAW;AAAA,kBACX,QAAQ;AAAA,oBACN,OAAO;AAAA,kBACT;AAAA,gBACF,CAAC;AAAA,cACH;AAAA;AAAA,UACF;AAAA,UAGD,mBAAS,4CAAC,SAAO,GAAG,aAAa;AAAA;AAAA,MACpC;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -1,2 +0,0 @@
1
- export { NavMenuLink_alias_1 as NavMenuLink } from '../_tsup-dts-rollup';
2
- export { NavMenuLinkProps_alias_1 as NavMenuLinkProps } from '../_tsup-dts-rollup';
@@ -1,107 +0,0 @@
1
- "use strict";
2
- "use client";
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/components/NavMenuList.tsx
22
- var NavMenuList_exports = {};
23
- __export(NavMenuList_exports, {
24
- NavMenuList: () => NavMenuList,
25
- getPosition: () => getPosition
26
- });
27
- module.exports = __toCommonJS(NavMenuList_exports);
28
- var import_react = require("react");
29
- var import_navMenu = require("../context/navMenu.cjs");
30
- var import_Show = require("./Show.cjs");
31
- var import_css = require("@cerberus/styled-system/css.cjs");
32
- var import_patterns = require("@cerberus/styled-system/patterns.cjs");
33
- var import_jsx_runtime = require("react/jsx-runtime");
34
- function getPosition(position) {
35
- const defaultPositions = {
36
- left: "auto",
37
- right: "auto",
38
- top: "auto",
39
- bottom: "auto"
40
- };
41
- switch (position) {
42
- case "right":
43
- return { ...defaultPositions, top: "0%", left: "105%" };
44
- case "left":
45
- return { ...defaultPositions, top: "0%", right: "105%" };
46
- case "bottom":
47
- return { ...defaultPositions, top: "110%" };
48
- case "top":
49
- return { ...defaultPositions, bottom: "110%" };
50
- default:
51
- return defaultPositions;
52
- }
53
- }
54
- var navListStyles = (0, import_patterns.vstack)({
55
- alignItems: "flex-start",
56
- bgColor: "neutral.surface.100",
57
- boxShadow: "lg",
58
- gap: "2",
59
- opacity: "0",
60
- p: "4",
61
- position: "absolute",
62
- rounded: "md",
63
- zIndex: "dropdown",
64
- _motionSafe: {
65
- animationName: "zoomIn",
66
- animationDelay: "100ms",
67
- animationDuration: "150ms",
68
- animationFillMode: "both",
69
- animationTimingFunction: "ease-in-out"
70
- },
71
- _positionBottom: {
72
- transformOrigin: "top left"
73
- },
74
- _positionTop: {
75
- transformOrigin: "bottom left"
76
- },
77
- _positionLeft: {
78
- transformOrigin: "top right"
79
- },
80
- _positionRight: {
81
- transformOrigin: "top left"
82
- }
83
- });
84
- function NavMenuList(props) {
85
- const { position, ...nativeProps } = props;
86
- const { menuRef, expanded } = (0, import_navMenu.useNavMenuContext)();
87
- const locationStyles = (0, import_react.useMemo)(
88
- () => getPosition(position ?? "bottom"),
89
- [position]
90
- );
91
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Show.Show, { when: expanded, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
92
- "ul",
93
- {
94
- ...nativeProps,
95
- "data-position": position ?? "bottom",
96
- className: (0, import_css.cx)(nativeProps.className, navListStyles),
97
- ref: menuRef,
98
- style: locationStyles
99
- }
100
- ) });
101
- }
102
- // Annotate the CommonJS export names for ESM import in node:
103
- 0 && (module.exports = {
104
- NavMenuList,
105
- getPosition
106
- });
107
- //# sourceMappingURL=NavMenuList.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/NavMenuList.tsx"],"sourcesContent":["'use client'\n\nimport { useMemo, type HTMLAttributes } from 'react'\nimport { useNavMenuContext } from '../context/navMenu'\nimport { Show } from './Show'\nimport type { Positions } from '../types'\nimport { cx } from '@cerberus/styled-system/css'\nimport { vstack } from '@cerberus/styled-system/patterns'\n\ninterface GetPositionResult {\n left: string\n right: string\n top: string\n bottom: string\n}\n\nexport function getPosition(position: Positions): GetPositionResult {\n const defaultPositions = {\n left: 'auto',\n right: 'auto',\n top: 'auto',\n bottom: 'auto',\n }\n switch (position) {\n case 'right':\n return { ...defaultPositions, top: '0%', left: '105%' }\n case 'left':\n return { ...defaultPositions, top: '0%', right: '105%' }\n case 'bottom':\n return { ...defaultPositions, top: '110%' }\n case 'top':\n return { ...defaultPositions, bottom: '110%' }\n default:\n return defaultPositions\n }\n}\n\nconst navListStyles = vstack({\n alignItems: 'flex-start',\n bgColor: 'neutral.surface.100',\n boxShadow: 'lg',\n gap: '2',\n opacity: '0',\n p: '4',\n position: 'absolute',\n rounded: 'md',\n zIndex: 'dropdown',\n _motionSafe: {\n animationName: 'zoomIn',\n animationDelay: '100ms',\n animationDuration: '150ms',\n animationFillMode: 'both',\n animationTimingFunction: 'ease-in-out',\n },\n _positionBottom: {\n transformOrigin: 'top left',\n },\n _positionTop: {\n transformOrigin: 'bottom left',\n },\n _positionLeft: {\n transformOrigin: 'top right',\n },\n _positionRight: {\n transformOrigin: 'top left',\n },\n})\n\nexport interface NavMenuListProps extends HTMLAttributes<HTMLUListElement> {\n id: string\n position?: Positions\n}\n\n/**\n * A component that allows the user to display a menu of navigation links.\n * @definition [Disclosure Nav](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-navigation/)\n * @definition [NavMenu Docs](https://cerberus.digitalu.design/react/nav-menu)\n *\n * @example\n * ```tsx\n * <NavMenuList id=\"nav-menu-list\" position=\"bottom\">\n * <NavMenuLink href=\"/home\">Home</NavMenuLink>\n * <NavMenuLink href=\"/about\">About</NavMenuLink>\n * </NavMenuList>\n * ```\n **/\nexport function NavMenuList(props: NavMenuListProps): JSX.Element {\n const { position, ...nativeProps } = props\n const { menuRef, expanded } = useNavMenuContext()\n const locationStyles = useMemo(\n () => getPosition(position ?? 'bottom'),\n [position],\n )\n\n return (\n <Show when={expanded}>\n <ul\n {...nativeProps}\n data-position={position ?? 'bottom'}\n className={cx(nativeProps.className, navListStyles)}\n ref={menuRef}\n style={locationStyles}\n />\n </Show>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,mBAA6C;AAC7C,qBAAkC;AAClC,kBAAqB;AAErB,iBAAmB;AACnB,sBAAuB;AAyFjB;AAhFC,SAAS,YAAY,UAAwC;AAClE,QAAM,mBAAmB;AAAA,IACvB,MAAM;AAAA,IACN,OAAO;AAAA,IACP,KAAK;AAAA,IACL,QAAQ;AAAA,EACV;AACA,UAAQ,UAAU;AAAA,IAChB,KAAK;AACH,aAAO,EAAE,GAAG,kBAAkB,KAAK,MAAM,MAAM,OAAO;AAAA,IACxD,KAAK;AACH,aAAO,EAAE,GAAG,kBAAkB,KAAK,MAAM,OAAO,OAAO;AAAA,IACzD,KAAK;AACH,aAAO,EAAE,GAAG,kBAAkB,KAAK,OAAO;AAAA,IAC5C,KAAK;AACH,aAAO,EAAE,GAAG,kBAAkB,QAAQ,OAAO;AAAA,IAC/C;AACE,aAAO;AAAA,EACX;AACF;AAEA,IAAM,oBAAgB,wBAAO;AAAA,EAC3B,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,WAAW;AAAA,EACX,KAAK;AAAA,EACL,SAAS;AAAA,EACT,GAAG;AAAA,EACH,UAAU;AAAA,EACV,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,aAAa;AAAA,IACX,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,mBAAmB;AAAA,IACnB,mBAAmB;AAAA,IACnB,yBAAyB;AAAA,EAC3B;AAAA,EACA,iBAAiB;AAAA,IACf,iBAAiB;AAAA,EACnB;AAAA,EACA,cAAc;AAAA,IACZ,iBAAiB;AAAA,EACnB;AAAA,EACA,eAAe;AAAA,IACb,iBAAiB;AAAA,EACnB;AAAA,EACA,gBAAgB;AAAA,IACd,iBAAiB;AAAA,EACnB;AACF,CAAC;AAoBM,SAAS,YAAY,OAAsC;AAChE,QAAM,EAAE,UAAU,GAAG,YAAY,IAAI;AACrC,QAAM,EAAE,SAAS,SAAS,QAAI,kCAAkB;AAChD,QAAM,qBAAiB;AAAA,IACrB,MAAM,YAAY,YAAY,QAAQ;AAAA,IACtC,CAAC,QAAQ;AAAA,EACX;AAEA,SACE,4CAAC,oBAAK,MAAM,UACV;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,iBAAe,YAAY;AAAA,MAC3B,eAAW,eAAG,YAAY,WAAW,aAAa;AAAA,MAClD,KAAK;AAAA,MACL,OAAO;AAAA;AAAA,EACT,GACF;AAEJ;","names":[]}
@@ -1,3 +0,0 @@
1
- export { getPosition_alias_1 as getPosition } from '../_tsup-dts-rollup';
2
- export { NavMenuList_alias_1 as NavMenuList } from '../_tsup-dts-rollup';
3
- export { NavMenuListProps_alias_1 as NavMenuListProps } from '../_tsup-dts-rollup';