@aurora-ds/lib-test 0.0.1-dev.1

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 (247) hide show
  1. package/README.md +134 -0
  2. package/dist/components/actions/_shared/buttons/constants/index.d.ts +4 -0
  3. package/dist/components/actions/_shared/buttons/styles/buttonShared.css.d.ts +349 -0
  4. package/dist/components/actions/_shared/buttons/styles/variants/contained.d.ts +107 -0
  5. package/dist/components/actions/_shared/buttons/styles/variants/ghost.d.ts +100 -0
  6. package/dist/components/actions/_shared/buttons/styles/variants/outlined.d.ts +106 -0
  7. package/dist/components/actions/_shared/buttons/types/index.d.ts +6 -0
  8. package/dist/components/actions/button/Button.css.d.ts +36 -0
  9. package/dist/components/actions/button/Button.d.ts +4 -0
  10. package/dist/components/actions/button/constants/index.d.ts +4 -0
  11. package/dist/components/actions/button/index.d.ts +4 -0
  12. package/dist/components/actions/button/types/Button.props.d.ts +11 -0
  13. package/dist/components/actions/button/types/Button.types.d.ts +7 -0
  14. package/dist/components/actions/icon-button/IconButton.css.d.ts +35 -0
  15. package/dist/components/actions/icon-button/IconButton.d.ts +4 -0
  16. package/dist/components/actions/icon-button/constants/index.d.ts +2 -0
  17. package/dist/components/actions/icon-button/index.d.ts +4 -0
  18. package/dist/components/actions/icon-button/types/IconButton.props.d.ts +9 -0
  19. package/dist/components/actions/icon-button/types/IconButton.types.d.ts +7 -0
  20. package/dist/components/data-display/index.d.ts +1 -0
  21. package/dist/components/data-display/table/Table.css.d.ts +40 -0
  22. package/dist/components/data-display/table/Table.d.ts +4 -0
  23. package/dist/components/data-display/table/components/index.d.ts +9 -0
  24. package/dist/components/data-display/table/components/table-body/TableBody.css.d.ts +2 -0
  25. package/dist/components/data-display/table/components/table-body/TableBody.d.ts +4 -0
  26. package/dist/components/data-display/table/components/table-body/index.d.ts +3 -0
  27. package/dist/components/data-display/table/components/table-body/types/TableBody.props.d.ts +2 -0
  28. package/dist/components/data-display/table/components/table-caption/TableCaption.css.d.ts +1 -0
  29. package/dist/components/data-display/table/components/table-caption/TableCaption.d.ts +4 -0
  30. package/dist/components/data-display/table/components/table-caption/index.d.ts +3 -0
  31. package/dist/components/data-display/table/components/table-caption/types/TableCaption.props.d.ts +2 -0
  32. package/dist/components/data-display/table/components/table-cell/TableCell.css.d.ts +27 -0
  33. package/dist/components/data-display/table/components/table-cell/TableCell.d.ts +4 -0
  34. package/dist/components/data-display/table/components/table-cell/index.d.ts +3 -0
  35. package/dist/components/data-display/table/components/table-cell/types/TableCell.props.d.ts +15 -0
  36. package/dist/components/data-display/table/components/table-col/TableCol.d.ts +4 -0
  37. package/dist/components/data-display/table/components/table-col/index.d.ts +2 -0
  38. package/dist/components/data-display/table/components/table-col/types/TableCol.props.d.ts +18 -0
  39. package/dist/components/data-display/table/components/table-col-group/TableColGroup.d.ts +4 -0
  40. package/dist/components/data-display/table/components/table-col-group/index.d.ts +2 -0
  41. package/dist/components/data-display/table/components/table-col-group/types/TableColGroup.props.d.ts +2 -0
  42. package/dist/components/data-display/table/components/table-footer/TableFooter.css.d.ts +1 -0
  43. package/dist/components/data-display/table/components/table-footer/TableFooter.d.ts +4 -0
  44. package/dist/components/data-display/table/components/table-footer/index.d.ts +3 -0
  45. package/dist/components/data-display/table/components/table-footer/types/TableFooter.props.d.ts +2 -0
  46. package/dist/components/data-display/table/components/table-head/TableHead.css.d.ts +23 -0
  47. package/dist/components/data-display/table/components/table-head/TableHead.d.ts +4 -0
  48. package/dist/components/data-display/table/components/table-head/index.d.ts +3 -0
  49. package/dist/components/data-display/table/components/table-head/types/TableHead.props.d.ts +15 -0
  50. package/dist/components/data-display/table/components/table-header/TableHeader.css.d.ts +1 -0
  51. package/dist/components/data-display/table/components/table-header/TableHeader.d.ts +4 -0
  52. package/dist/components/data-display/table/components/table-header/index.d.ts +3 -0
  53. package/dist/components/data-display/table/components/table-header/types/TableHeader.props.d.ts +2 -0
  54. package/dist/components/data-display/table/components/table-row/TableRow.css.d.ts +56 -0
  55. package/dist/components/data-display/table/components/table-row/TableRow.d.ts +4 -0
  56. package/dist/components/data-display/table/components/table-row/index.d.ts +3 -0
  57. package/dist/components/data-display/table/components/table-row/types/TableRow.props.d.ts +11 -0
  58. package/dist/components/data-display/table/constants/index.d.ts +5 -0
  59. package/dist/components/data-display/table/index.d.ts +5 -0
  60. package/dist/components/data-display/table/types/Table.props.d.ts +14 -0
  61. package/dist/components/data-display/table/types/Table.types.d.ts +4 -0
  62. package/dist/components/forms/_shared/checkboxVisual.css.d.ts +16 -0
  63. package/dist/components/forms/_shared/radioVisual.css.d.ts +12 -0
  64. package/dist/components/forms/checkbox/Checkbox.css.d.ts +22 -0
  65. package/dist/components/forms/checkbox/Checkbox.d.ts +15 -0
  66. package/dist/components/forms/checkbox/index.d.ts +3 -0
  67. package/dist/components/forms/checkbox/types/Checkbox.props.d.ts +6 -0
  68. package/dist/components/forms/index.d.ts +2 -0
  69. package/dist/components/forms/radio-group/RadioGroup.d.ts +16 -0
  70. package/dist/components/forms/radio-group/components/radio-item/RadioItem.css.d.ts +16 -0
  71. package/dist/components/forms/radio-group/components/radio-item/RadioItem.d.ts +13 -0
  72. package/dist/components/forms/radio-group/components/radio-item/types/RadioItem.props.d.ts +6 -0
  73. package/dist/components/forms/radio-group/index.d.ts +5 -0
  74. package/dist/components/forms/radio-group/types/RadioGroup.props.d.ts +3 -0
  75. package/dist/components/foundation/icon/Icon.css.d.ts +35 -0
  76. package/dist/components/foundation/icon/Icon.d.ts +4 -0
  77. package/dist/components/foundation/icon/index.d.ts +4 -0
  78. package/dist/components/foundation/icon/types/Icon.props.d.ts +7 -0
  79. package/dist/components/foundation/icon/types/Icon.types.d.ts +1 -0
  80. package/dist/components/foundation/typography/Typography.css.d.ts +198 -0
  81. package/dist/components/foundation/typography/Typography.d.ts +4 -0
  82. package/dist/components/foundation/typography/constants/index.d.ts +26 -0
  83. package/dist/components/foundation/typography/index.d.ts +5 -0
  84. package/dist/components/foundation/typography/types/Typography.props.d.ts +12 -0
  85. package/dist/components/foundation/typography/types/Typography.types.d.ts +6 -0
  86. package/dist/components/index.d.ts +10 -0
  87. package/dist/components/layout/box/Box.css.d.ts +938 -0
  88. package/dist/components/layout/box/Box.d.ts +4 -0
  89. package/dist/components/layout/box/index.d.ts +5 -0
  90. package/dist/components/layout/box/types/Box.props.d.ts +8 -0
  91. package/dist/components/layout/box/types/Box.types.d.ts +2 -0
  92. package/dist/components/layout/flex/Flex.css.d.ts +74 -0
  93. package/dist/components/layout/flex/Flex.d.ts +4 -0
  94. package/dist/components/layout/flex/index.d.ts +5 -0
  95. package/dist/components/layout/flex/types/Flex.props.d.ts +3 -0
  96. package/dist/components/layout/flex/types/Flex.types.d.ts +8 -0
  97. package/dist/components/layout/grid/Grid.css.d.ts +153 -0
  98. package/dist/components/layout/grid/Grid.d.ts +4 -0
  99. package/dist/components/layout/grid/index.d.ts +5 -0
  100. package/dist/components/layout/grid/types/Grid.props.d.ts +3 -0
  101. package/dist/components/layout/grid/types/Grid.types.d.ts +14 -0
  102. package/dist/components/layout/index.d.ts +3 -0
  103. package/dist/components/overlay/dropdown-menu/DropdownMenu.d.ts +10 -0
  104. package/dist/components/overlay/dropdown-menu/components/_shared/item.css.d.ts +14 -0
  105. package/dist/components/overlay/dropdown-menu/components/_shared/useViewportShift.d.ts +1 -0
  106. package/dist/components/overlay/dropdown-menu/components/content/dropdown-menu-content/DropdownMenuContent.css.d.ts +6 -0
  107. package/dist/components/overlay/dropdown-menu/components/content/dropdown-menu-content/DropdownMenuContent.d.ts +16 -0
  108. package/dist/components/overlay/dropdown-menu/components/content/dropdown-menu-content/types/DropdownMenuContent.props.d.ts +24 -0
  109. package/dist/components/overlay/dropdown-menu/components/groups/dropdown-menu-group/DropdownMenuGroup.d.ts +9 -0
  110. package/dist/components/overlay/dropdown-menu/components/groups/dropdown-menu-group/types/DropdownMenuGroup.props.d.ts +2 -0
  111. package/dist/components/overlay/dropdown-menu/components/groups/dropdown-menu-radio-group/DropdownMenuRadioGroup.d.ts +10 -0
  112. package/dist/components/overlay/dropdown-menu/components/groups/dropdown-menu-radio-group/types/DropdownMenuRadioGroup.props.d.ts +2 -0
  113. package/dist/components/overlay/dropdown-menu/components/index.d.ts +26 -0
  114. package/dist/components/overlay/dropdown-menu/components/items/dropdown-menu-checkbox-item/DropdownMenuCheckboxItem.d.ts +4 -0
  115. package/dist/components/overlay/dropdown-menu/components/items/dropdown-menu-checkbox-item/types/DropdownMenuCheckboxItem.props.d.ts +6 -0
  116. package/dist/components/overlay/dropdown-menu/components/items/dropdown-menu-item/DropdownMenuItem.d.ts +18 -0
  117. package/dist/components/overlay/dropdown-menu/components/items/dropdown-menu-item/types/DropdownMenuItem.props.d.ts +14 -0
  118. package/dist/components/overlay/dropdown-menu/components/items/dropdown-menu-radio-item/DropdownMenuRadioItem.d.ts +4 -0
  119. package/dist/components/overlay/dropdown-menu/components/items/dropdown-menu-radio-item/types/DropdownMenuRadioItem.props.d.ts +6 -0
  120. package/dist/components/overlay/dropdown-menu/components/label/dropdown-menu-label/DropdownMenuLabel.css.d.ts +5 -0
  121. package/dist/components/overlay/dropdown-menu/components/label/dropdown-menu-label/DropdownMenuLabel.d.ts +10 -0
  122. package/dist/components/overlay/dropdown-menu/components/label/dropdown-menu-label/types/DropdownMenuLabel.props.d.ts +6 -0
  123. package/dist/components/overlay/dropdown-menu/components/separator/dropdown-menu-separator/DropdownMenuSeparator.css.d.ts +5 -0
  124. package/dist/components/overlay/dropdown-menu/components/separator/dropdown-menu-separator/DropdownMenuSeparator.d.ts +9 -0
  125. package/dist/components/overlay/dropdown-menu/components/separator/dropdown-menu-separator/types/DropdownMenuSeparator.props.d.ts +2 -0
  126. package/dist/components/overlay/dropdown-menu/components/shortcut/dropdown-menu-shortcut/DropdownMenuShortcut.css.d.ts +6 -0
  127. package/dist/components/overlay/dropdown-menu/components/shortcut/dropdown-menu-shortcut/DropdownMenuShortcut.d.ts +10 -0
  128. package/dist/components/overlay/dropdown-menu/components/shortcut/dropdown-menu-shortcut/types/DropdownMenuShortcut.props.d.ts +2 -0
  129. package/dist/components/overlay/dropdown-menu/components/sub/dropdown-menu-sub/DropdownMenuSub.d.ts +10 -0
  130. package/dist/components/overlay/dropdown-menu/components/sub/dropdown-menu-sub/types/DropdownMenuSub.props.d.ts +2 -0
  131. package/dist/components/overlay/dropdown-menu/components/sub/dropdown-menu-sub-content/DropdownMenuSubContent.css.d.ts +6 -0
  132. package/dist/components/overlay/dropdown-menu/components/sub/dropdown-menu-sub-content/DropdownMenuSubContent.d.ts +13 -0
  133. package/dist/components/overlay/dropdown-menu/components/sub/dropdown-menu-sub-content/types/DropdownMenuSubContent.props.d.ts +16 -0
  134. package/dist/components/overlay/dropdown-menu/components/sub/dropdown-menu-sub-trigger/DropdownMenuSubTrigger.css.d.ts +9 -0
  135. package/dist/components/overlay/dropdown-menu/components/sub/dropdown-menu-sub-trigger/DropdownMenuSubTrigger.d.ts +10 -0
  136. package/dist/components/overlay/dropdown-menu/components/sub/dropdown-menu-sub-trigger/types/DropdownMenuSubTrigger.props.d.ts +8 -0
  137. package/dist/components/overlay/dropdown-menu/components/trigger/dropdown-menu-trigger/DropdownMenuTrigger.d.ts +10 -0
  138. package/dist/components/overlay/dropdown-menu/components/trigger/dropdown-menu-trigger/types/DropdownMenuTrigger.props.d.ts +2 -0
  139. package/dist/components/overlay/dropdown-menu/index.d.ts +6 -0
  140. package/dist/components/overlay/dropdown-menu/types/DropdownMenu.props.d.ts +4 -0
  141. package/dist/components/overlay/dropdown-menu/types/DropdownMenu.types.d.ts +4 -0
  142. package/dist/components/overlay/tooltip/Tooltip.css.d.ts +2 -0
  143. package/dist/components/overlay/tooltip/Tooltip.d.ts +4 -0
  144. package/dist/components/overlay/tooltip/index.d.ts +5 -0
  145. package/dist/components/overlay/tooltip/types/Tooltip.props.d.ts +28 -0
  146. package/dist/components/overlay/tooltip/types/Tooltip.types.d.ts +29 -0
  147. package/dist/components/theme-provider/ThemeProvider.context.d.ts +30 -0
  148. package/dist/components/theme-provider/ThemeProvider.d.ts +36 -0
  149. package/dist/components/theme-provider/index.d.ts +4 -0
  150. package/dist/components/theme-provider/types/ThemeProvider.props.d.ts +32 -0
  151. package/dist/components/theme-provider/utils/getSystemTheme.utils.d.ts +5 -0
  152. package/dist/components/theme-provider/utils/resolveTheme.utils.d.ts +2 -0
  153. package/dist/constants/animations/fade/fadeIn.css.d.ts +1 -0
  154. package/dist/constants/animations/fade/fadeOut.css.d.ts +1 -0
  155. package/dist/constants/animations/index.d.ts +11 -0
  156. package/dist/constants/animations/slide/slideDownIn.css.d.ts +1 -0
  157. package/dist/constants/animations/slide/slideDownOut.css.d.ts +1 -0
  158. package/dist/constants/animations/slide/slideLeftIn.css.d.ts +1 -0
  159. package/dist/constants/animations/slide/slideLeftOut.css.d.ts +1 -0
  160. package/dist/constants/animations/slide/slideRightIn.css.d.ts +1 -0
  161. package/dist/constants/animations/slide/slideRightOut.css.d.ts +1 -0
  162. package/dist/constants/animations/slide/slideUpIn.css.d.ts +1 -0
  163. package/dist/constants/animations/slide/slideUpOut.css.d.ts +1 -0
  164. package/dist/constants/animations/spin/spinAnimation.css.d.ts +1 -0
  165. package/dist/constants/index.d.ts +1 -0
  166. package/dist/hooks/index.d.ts +1 -0
  167. package/dist/hooks/use-viewport-shift/constants/index.d.ts +1 -0
  168. package/dist/hooks/use-viewport-shift/helpers/createCorrector.helper.d.ts +11 -0
  169. package/dist/hooks/use-viewport-shift/helpers/guardAccidentalSelection.helper.d.ts +15 -0
  170. package/dist/hooks/use-viewport-shift/helpers/normalizePadding.helper.d.ts +3 -0
  171. package/dist/hooks/use-viewport-shift/helpers/watchRepositions.helper.d.ts +10 -0
  172. package/dist/hooks/use-viewport-shift/types/index.d.ts +12 -0
  173. package/dist/hooks/use-viewport-shift/useViewportShift.hook.d.ts +13 -0
  174. package/dist/index.cjs +42 -0
  175. package/dist/index.cjs.map +1 -0
  176. package/dist/index.d.ts +7 -0
  177. package/dist/index.js +6970 -0
  178. package/dist/index.js.map +1 -0
  179. package/dist/stories/overview/theme/colors/components/color-group-card/ColorGroupCard.d.ts +2 -0
  180. package/dist/stories/overview/theme/colors/components/color-group-card/ColorGroupCard.styles.d.ts +5 -0
  181. package/dist/stories/overview/theme/colors/components/color-group-card/types/index.d.ts +11 -0
  182. package/dist/stories/overview/theme/colors/components/color-palette-section/ColorPaletteSection.d.ts +2 -0
  183. package/dist/stories/overview/theme/colors/components/color-palette-section/ColorPaletteSection.styles.d.ts +5 -0
  184. package/dist/stories/overview/theme/colors/components/color-palette-section/types/index.d.ts +11 -0
  185. package/dist/stories/overview/theme/colors/components/color-swatch/ColorSwatch.d.ts +2 -0
  186. package/dist/stories/overview/theme/colors/components/color-swatch/ColorSwatch.styles.d.ts +8 -0
  187. package/dist/stories/overview/theme/colors/components/color-swatch/types/index.d.ts +5 -0
  188. package/dist/stories/overview/theme/colors/components/index.d.ts +4 -0
  189. package/dist/stories/overview/theme/css-variables/components/copy-mui-button/CopyMuiButton.d.ts +1 -0
  190. package/dist/stories/overview/theme/css-variables/components/copy-mui-button/index.d.ts +1 -0
  191. package/dist/stories/overview/theme/css-variables/components/copy-plain-css-button/CopyPlainCssButton.d.ts +1 -0
  192. package/dist/stories/overview/theme/css-variables/components/copy-plain-css-button/index.d.ts +1 -0
  193. package/dist/stories/overview/theme/css-variables/components/copy-tailwind-button/CopyTailwindButton.d.ts +1 -0
  194. package/dist/stories/overview/theme/css-variables/components/copy-tailwind-button/index.d.ts +1 -0
  195. package/dist/stories/overview/theme/css-variables/components/copy-theme-button/CopyThemeButton.d.ts +1 -0
  196. package/dist/stories/overview/theme/css-variables/components/copy-theme-button/index.d.ts +1 -0
  197. package/dist/stories/overview/theme/css-variables/components/copy-vanilla-extract-button/CopyVanillaExtractButton.d.ts +1 -0
  198. package/dist/stories/overview/theme/css-variables/components/copy-vanilla-extract-button/index.d.ts +1 -0
  199. package/dist/stories/overview/theme/css-variables/components/var-table/VarTable.css.d.ts +5 -0
  200. package/dist/stories/overview/theme/css-variables/components/var-table/VarTable.d.ts +2 -0
  201. package/dist/stories/overview/theme/css-variables/components/var-table/index.d.ts +2 -0
  202. package/dist/stories/overview/theme/css-variables/components/var-table/types/index.d.ts +6 -0
  203. package/dist/stories/overview/theme/css-variables/types/index.d.ts +6 -0
  204. package/dist/stories/overview/theme/css-variables/utils/theme.utils.d.ts +27 -0
  205. package/dist/stories/overview/theme/tokens/components/copy-badge/CopyBadge.d.ts +2 -0
  206. package/dist/stories/overview/theme/tokens/components/copy-badge/CopyBadge.styles.d.ts +2 -0
  207. package/dist/stories/overview/theme/tokens/components/copy-badge/types/index.d.ts +3 -0
  208. package/dist/stories/overview/theme/tokens/components/index.d.ts +9 -0
  209. package/dist/stories/overview/theme/tokens/components/motion-section/MotionSection.d.ts +1 -0
  210. package/dist/stories/overview/theme/tokens/components/motion-section/MotionSection.styles.d.ts +11 -0
  211. package/dist/stories/overview/theme/tokens/components/radius-section/RadiusSection.d.ts +1 -0
  212. package/dist/stories/overview/theme/tokens/components/radius-section/RadiusSection.styles.d.ts +2 -0
  213. package/dist/stories/overview/theme/tokens/components/shadow-section/ShadowSection.d.ts +1 -0
  214. package/dist/stories/overview/theme/tokens/components/shadow-section/ShadowSection.styles.d.ts +7 -0
  215. package/dist/stories/overview/theme/tokens/components/spacing-section/SpacingSection.d.ts +1 -0
  216. package/dist/stories/overview/theme/tokens/components/spacing-section/SpacingSection.styles.d.ts +9 -0
  217. package/dist/stories/overview/theme/tokens/components/spacing-section/utils/toPx.d.ts +5 -0
  218. package/dist/stories/overview/theme/tokens/components/token-card/TokenCard.d.ts +2 -0
  219. package/dist/stories/overview/theme/tokens/components/token-card/TokenCard.styles.d.ts +6 -0
  220. package/dist/stories/overview/theme/tokens/components/token-card/types/index.d.ts +6 -0
  221. package/dist/stories/overview/theme/tokens/components/token-section/TokenSection.d.ts +2 -0
  222. package/dist/stories/overview/theme/tokens/components/token-section/TokenSection.styles.d.ts +5 -0
  223. package/dist/stories/overview/theme/tokens/components/token-section/types/index.d.ts +6 -0
  224. package/dist/stories/overview/theme/tokens/components/typography-section/TypographySection.d.ts +1 -0
  225. package/dist/stories/overview/theme/tokens/components/typography-section/TypographySection.styles.d.ts +6 -0
  226. package/dist/stories/overview/theme/tokens/components/zindex-section/ZIndexSection.d.ts +1 -0
  227. package/dist/stories/overview/theme/tokens/components/zindex-section/ZIndexSection.styles.d.ts +7 -0
  228. package/dist/theme/colors/dark.d.ts +2 -0
  229. package/dist/theme/colors/index.d.ts +3 -0
  230. package/dist/theme/colors/light.d.ts +72 -0
  231. package/dist/theme/contract.css.d.ts +191 -0
  232. package/dist/theme/globalStyles.css.d.ts +1 -0
  233. package/dist/theme/index.d.ts +10 -0
  234. package/dist/theme/override.d.ts +11 -0
  235. package/dist/theme/tokens/index.d.ts +294 -0
  236. package/dist/theme/tokens/motion.d.ts +17 -0
  237. package/dist/theme/tokens/palette.d.ts +85 -0
  238. package/dist/theme/tokens/radii.d.ts +11 -0
  239. package/dist/theme/tokens/shadows.d.ts +21 -0
  240. package/dist/theme/tokens/spacing.d.ts +16 -0
  241. package/dist/theme/tokens/typography.d.ts +50 -0
  242. package/dist/theme/tokens/zIndex.d.ts +14 -0
  243. package/dist/theme/types/index.d.ts +6 -0
  244. package/dist/ui-kit.css +2 -0
  245. package/dist/utils/cn.d.ts +7 -0
  246. package/dist/vite-env.d.ts +3 -0
  247. package/package.json +95 -0
@@ -0,0 +1,4 @@
1
+ import { BoxProps } from './types/Box.props.ts';
2
+ import { FC } from 'react';
3
+ declare const Box: FC<BoxProps>;
4
+ export default Box;
@@ -0,0 +1,5 @@
1
+ export { default as Box } from './Box.tsx';
2
+ export { boxRecipe } from './Box.css.ts';
3
+ export type { BoxRecipeVariants } from './Box.css.ts';
4
+ export type { BoxProps } from './types/Box.props.ts';
5
+ export type { BoxVariant } from './types/Box.types.ts';
@@ -0,0 +1,8 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { BoxRecipeVariants } from '../Box.css.ts';
3
+ import { BoxVariant } from './Box.types.ts';
4
+ import type * as React from 'react';
5
+ export type BoxProps = HTMLAttributes<HTMLElement> & RefAttributes<HTMLElement> & BoxRecipeVariants & {
6
+ /** The HTML element to render. Defaults to `div`. */
7
+ as?: BoxVariant | React.ElementType;
8
+ };
@@ -0,0 +1,2 @@
1
+ /** HTML container elements supported by the Box component. */
2
+ export type BoxVariant = 'div' | 'section' | 'article' | 'aside' | 'main' | 'header' | 'footer' | 'nav' | 'ul' | 'ol' | 'li' | 'form' | 'fieldset' | 'figure' | 'figcaption' | 'details' | 'summary' | 'dialog' | 'address' | 'span';
@@ -0,0 +1,74 @@
1
+ import { RecipeVariants, RuntimeFn } from '@vanilla-extract/recipes';
2
+ export declare const flexRecipe: RuntimeFn<{
3
+ inline: {
4
+ true: {
5
+ display: "inline-flex";
6
+ };
7
+ };
8
+ direction: {
9
+ row: {
10
+ flexDirection: "row";
11
+ };
12
+ column: {
13
+ flexDirection: "column";
14
+ };
15
+ 'row-reverse': {
16
+ flexDirection: "row-reverse";
17
+ };
18
+ 'column-reverse': {
19
+ flexDirection: "column-reverse";
20
+ };
21
+ };
22
+ wrap: {
23
+ nowrap: {
24
+ flexWrap: "nowrap";
25
+ };
26
+ wrap: {
27
+ flexWrap: "wrap";
28
+ };
29
+ 'wrap-reverse': {
30
+ flexWrap: "wrap-reverse";
31
+ };
32
+ };
33
+ align: {
34
+ start: {
35
+ alignItems: "flex-start";
36
+ };
37
+ end: {
38
+ alignItems: "flex-end";
39
+ };
40
+ center: {
41
+ alignItems: "center";
42
+ };
43
+ stretch: {
44
+ alignItems: "stretch";
45
+ };
46
+ baseline: {
47
+ alignItems: "baseline";
48
+ };
49
+ };
50
+ justify: {
51
+ start: {
52
+ justifyContent: "flex-start";
53
+ };
54
+ end: {
55
+ justifyContent: "flex-end";
56
+ };
57
+ center: {
58
+ justifyContent: "center";
59
+ };
60
+ between: {
61
+ justifyContent: "space-between";
62
+ };
63
+ around: {
64
+ justifyContent: "space-around";
65
+ };
66
+ evenly: {
67
+ justifyContent: "space-evenly";
68
+ };
69
+ stretch: {
70
+ justifyContent: "stretch";
71
+ };
72
+ };
73
+ }>;
74
+ export type FlexRecipeVariants = NonNullable<RecipeVariants<typeof flexRecipe>>;
@@ -0,0 +1,4 @@
1
+ import { FlexProps } from './types/Flex.props.ts';
2
+ import { FC } from 'react';
3
+ declare const Flex: FC<FlexProps>;
4
+ export default Flex;
@@ -0,0 +1,5 @@
1
+ export { default as Flex } from './Flex.tsx';
2
+ export { flexRecipe } from './Flex.css.ts';
3
+ export type { FlexRecipeVariants } from './Flex.css.ts';
4
+ export type { FlexProps } from './types/Flex.props.ts';
5
+ export type { FlexDirection, FlexWrap, FlexAlign, FlexJustify } from './types/Flex.types.ts';
@@ -0,0 +1,3 @@
1
+ import { FlexRecipeVariants } from '../Flex.css.ts';
2
+ import { BoxProps } from '../../box/types/Box.props.ts';
3
+ export type FlexProps = Omit<BoxProps, 'display'> & FlexRecipeVariants;
@@ -0,0 +1,8 @@
1
+ /** flex-direction values for the Flex component. */
2
+ export type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
3
+ /** flex-wrap values for the Flex component. */
4
+ export type FlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
5
+ /** align-items values for the Flex component. */
6
+ export type FlexAlign = 'start' | 'end' | 'center' | 'stretch' | 'baseline';
7
+ /** justify-content values for the Flex component. */
8
+ export type FlexJustify = 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | 'stretch';
@@ -0,0 +1,153 @@
1
+ import { RecipeVariants, RuntimeFn } from '@vanilla-extract/recipes';
2
+ export declare const gridRecipe: RuntimeFn<{
3
+ columns: {
4
+ none: {
5
+ gridTemplateColumns: "none";
6
+ };
7
+ 1: {
8
+ gridTemplateColumns: "repeat(1, minmax(0, 1fr))";
9
+ };
10
+ 2: {
11
+ gridTemplateColumns: "repeat(2, minmax(0, 1fr))";
12
+ };
13
+ 3: {
14
+ gridTemplateColumns: "repeat(3, minmax(0, 1fr))";
15
+ };
16
+ 4: {
17
+ gridTemplateColumns: "repeat(4, minmax(0, 1fr))";
18
+ };
19
+ 5: {
20
+ gridTemplateColumns: "repeat(5, minmax(0, 1fr))";
21
+ };
22
+ 6: {
23
+ gridTemplateColumns: "repeat(6, minmax(0, 1fr))";
24
+ };
25
+ 7: {
26
+ gridTemplateColumns: "repeat(7, minmax(0, 1fr))";
27
+ };
28
+ 8: {
29
+ gridTemplateColumns: "repeat(8, minmax(0, 1fr))";
30
+ };
31
+ 9: {
32
+ gridTemplateColumns: "repeat(9, minmax(0, 1fr))";
33
+ };
34
+ 10: {
35
+ gridTemplateColumns: "repeat(10, minmax(0, 1fr))";
36
+ };
37
+ 11: {
38
+ gridTemplateColumns: "repeat(11, minmax(0, 1fr))";
39
+ };
40
+ 12: {
41
+ gridTemplateColumns: "repeat(12, minmax(0, 1fr))";
42
+ };
43
+ };
44
+ autoRows: {
45
+ auto: {
46
+ gridAutoRows: "auto";
47
+ };
48
+ min: {
49
+ gridAutoRows: "min-content";
50
+ };
51
+ max: {
52
+ gridAutoRows: "max-content";
53
+ };
54
+ fr: {
55
+ gridAutoRows: "minmax(0, 1fr)";
56
+ };
57
+ };
58
+ flow: {
59
+ row: {
60
+ gridAutoFlow: "row";
61
+ };
62
+ column: {
63
+ gridAutoFlow: "column";
64
+ };
65
+ dense: {
66
+ gridAutoFlow: "dense";
67
+ };
68
+ 'row-dense': {
69
+ gridAutoFlow: "row dense";
70
+ };
71
+ 'column-dense': {
72
+ gridAutoFlow: "column dense";
73
+ };
74
+ };
75
+ align: {
76
+ start: {
77
+ alignItems: "start";
78
+ };
79
+ end: {
80
+ alignItems: "end";
81
+ };
82
+ center: {
83
+ alignItems: "center";
84
+ };
85
+ stretch: {
86
+ alignItems: "stretch";
87
+ };
88
+ baseline: {
89
+ alignItems: "baseline";
90
+ };
91
+ };
92
+ justifyItems: {
93
+ start: {
94
+ justifyItems: "start";
95
+ };
96
+ end: {
97
+ justifyItems: "end";
98
+ };
99
+ center: {
100
+ justifyItems: "center";
101
+ };
102
+ stretch: {
103
+ justifyItems: "stretch";
104
+ };
105
+ };
106
+ alignContent: {
107
+ start: {
108
+ alignContent: "start";
109
+ };
110
+ end: {
111
+ alignContent: "end";
112
+ };
113
+ center: {
114
+ alignContent: "center";
115
+ };
116
+ stretch: {
117
+ alignContent: "stretch";
118
+ };
119
+ between: {
120
+ alignContent: "space-between";
121
+ };
122
+ around: {
123
+ alignContent: "space-around";
124
+ };
125
+ evenly: {
126
+ alignContent: "space-evenly";
127
+ };
128
+ };
129
+ justifyContent: {
130
+ start: {
131
+ justifyContent: "start";
132
+ };
133
+ end: {
134
+ justifyContent: "end";
135
+ };
136
+ center: {
137
+ justifyContent: "center";
138
+ };
139
+ stretch: {
140
+ justifyContent: "stretch";
141
+ };
142
+ between: {
143
+ justifyContent: "space-between";
144
+ };
145
+ around: {
146
+ justifyContent: "space-around";
147
+ };
148
+ evenly: {
149
+ justifyContent: "space-evenly";
150
+ };
151
+ };
152
+ }>;
153
+ export type GridRecipeVariants = NonNullable<RecipeVariants<typeof gridRecipe>>;
@@ -0,0 +1,4 @@
1
+ import { GridProps } from './types/Grid.props.ts';
2
+ import { FC } from 'react';
3
+ declare const Grid: FC<GridProps>;
4
+ export default Grid;
@@ -0,0 +1,5 @@
1
+ export { default as Grid } from './Grid.tsx';
2
+ export { gridRecipe } from './Grid.css.ts';
3
+ export type { GridRecipeVariants } from './Grid.css.ts';
4
+ export type { GridProps } from './types/Grid.props.ts';
5
+ export type { GridColumns, GridAutoRows, GridFlow, GridAlign, GridJustifyItems, GridAlignContent, GridJustifyContent } from './types/Grid.types.ts';
@@ -0,0 +1,3 @@
1
+ import { GridRecipeVariants } from '../Grid.css.ts';
2
+ import { BoxProps } from '../../box/types/Box.props.ts';
3
+ export type GridProps = Omit<BoxProps, 'display'> & GridRecipeVariants;
@@ -0,0 +1,14 @@
1
+ /** Number of equal columns (repeat(N, 1fr)) or common patterns. */
2
+ export type GridColumns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'none';
3
+ /** grid-auto-rows values for the Grid component. */
4
+ export type GridAutoRows = 'auto' | 'min' | 'max' | 'fr';
5
+ /** grid-auto-flow values. */
6
+ export type GridFlow = 'row' | 'column' | 'dense' | 'row-dense' | 'column-dense';
7
+ /** align-items values for the Grid component. */
8
+ export type GridAlign = 'start' | 'end' | 'center' | 'stretch' | 'baseline';
9
+ /** justify-items values for the Grid component. */
10
+ export type GridJustifyItems = 'start' | 'end' | 'center' | 'stretch';
11
+ /** align-content values for the Grid component. */
12
+ export type GridAlignContent = 'start' | 'end' | 'center' | 'stretch' | 'between' | 'around' | 'evenly';
13
+ /** justify-content values for the Grid component. */
14
+ export type GridJustifyContent = 'start' | 'end' | 'center' | 'stretch' | 'between' | 'around' | 'evenly';
@@ -0,0 +1,3 @@
1
+ export * from './box';
2
+ export * from './flex';
3
+ export * from './grid';
@@ -0,0 +1,10 @@
1
+ import { DropdownMenuProps } from './types/DropdownMenu.props.ts';
2
+ /**
3
+ * The root wrapper that manages open/close state.
4
+ * Accepts `open`, `onOpenChange`, `defaultOpen` and `modal` from Radix.
5
+ */
6
+ declare const DropdownMenu: {
7
+ (props: DropdownMenuProps): import("react").JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export default DropdownMenu;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Base style shared by all interactive menu items:
3
+ * MenuItem, CheckboxItem, RadioItem, SubTrigger.
4
+ */
5
+ export declare const dropdownMenuItemClass: string;
6
+ /**
7
+ * Modifier applied to destructive actions (e.g. "Delete", "Remove").
8
+ */
9
+ export declare const dropdownMenuItemDestructiveClass: string;
10
+ /**
11
+ * Wrapper for leading / trailing icons inside an item.
12
+ * Inherits current color so it automatically matches item state (normal, destructive, highlighted…).
13
+ */
14
+ export declare const dropdownMenuItemIconClass: string;
@@ -0,0 +1 @@
1
+ export { useViewportShift } from '../../../../../hooks/use-viewport-shift/useViewportShift.hook.ts';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The floating panel that appears below (or beside) the trigger.
3
+ * Uses box-shadow for elevation — cleaner than filter: drop-shadow for
4
+ * rectangular surfaces.
5
+ */
6
+ export declare const dropdownMenuContentClass: string;
@@ -0,0 +1,16 @@
1
+ import { DropdownMenuContentProps } from './types/DropdownMenuContent.props.ts';
2
+ /**
3
+ * The panel that pops out from the trigger.
4
+ * Rendered inside a portal by default for correct stacking.
5
+ *
6
+ * Radix's built-in `avoidCollisions` is disabled here: it would flip the menu
7
+ * to the opposite side when space is tight, which is jarring.
8
+ * Instead, `useViewportShift` detects any overflow after positioning and
9
+ * shifts the panel inward by exactly the overflowing amount — keeping the
10
+ * original side and never cropping the menu.
11
+ */
12
+ declare const DropdownMenuContent: {
13
+ ({ className, side, align, sideOffset, collisionPadding, ...props }: DropdownMenuContentProps): import("react").JSX.Element;
14
+ displayName: string;
15
+ };
16
+ export default DropdownMenuContent;
@@ -0,0 +1,24 @@
1
+ import { DropdownMenuAlign, DropdownMenuSide } from '../../../../types/DropdownMenu.types.ts';
2
+ import type * as React from 'react';
3
+ import type * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
4
+ export type DropdownMenuContentProps = React.ComponentPropsWithoutRef<typeof RadixDropdownMenu.Content> & {
5
+ /** Side of the trigger to render the content. @default 'bottom' */
6
+ side?: DropdownMenuSide;
7
+ /** Alignment along the trigger axis. @default 'start' */
8
+ align?: DropdownMenuAlign;
9
+ /** Offset in pixels from the trigger. @default 6 */
10
+ sideOffset?: number;
11
+ /**
12
+ * Distance in pixels from the viewport edges used for collision detection.
13
+ * The menu shifts inward by exactly the overflowing amount to always stay
14
+ * fully visible — without flipping to the opposite side.
15
+ * Accepts a uniform number or per-side object.
16
+ * @default 8
17
+ */
18
+ collisionPadding?: number | {
19
+ top?: number;
20
+ right?: number;
21
+ bottom?: number;
22
+ left?: number;
23
+ };
24
+ };
@@ -0,0 +1,9 @@
1
+ import { DropdownMenuGroupProps } from './types/DropdownMenuGroup.props.ts';
2
+ /**
3
+ * Groups related items together semantically. Pair with `DropdownMenuLabel`.
4
+ */
5
+ declare const DropdownMenuGroup: {
6
+ (props: DropdownMenuGroupProps): import("react").JSX.Element;
7
+ displayName: string;
8
+ };
9
+ export default DropdownMenuGroup;
@@ -0,0 +1,2 @@
1
+ import type * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
2
+ export type DropdownMenuGroupProps = React.ComponentPropsWithoutRef<typeof RadixDropdownMenu.Group>;
@@ -0,0 +1,10 @@
1
+ import { DropdownMenuRadioGroupProps } from './types/DropdownMenuRadioGroup.props.ts';
2
+ /**
3
+ * Groups radio items so only one can be selected at a time.
4
+ * Use `value` and `onValueChange` for controlled behaviour.
5
+ */
6
+ declare const DropdownMenuRadioGroup: {
7
+ (props: DropdownMenuRadioGroupProps): import("react").JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export default DropdownMenuRadioGroup;
@@ -0,0 +1,2 @@
1
+ import type * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
2
+ export type DropdownMenuRadioGroupProps = React.ComponentPropsWithoutRef<typeof RadixDropdownMenu.RadioGroup>;
@@ -0,0 +1,26 @@
1
+ export { default as DropdownMenuTrigger } from './trigger/dropdown-menu-trigger/DropdownMenuTrigger.tsx';
2
+ export type { DropdownMenuTriggerProps } from './trigger/dropdown-menu-trigger/types/DropdownMenuTrigger.props.ts';
3
+ export { default as DropdownMenuContent } from './content/dropdown-menu-content/DropdownMenuContent.tsx';
4
+ export type { DropdownMenuContentProps } from './content/dropdown-menu-content/types/DropdownMenuContent.props.ts';
5
+ export { default as DropdownMenuGroup } from './groups/dropdown-menu-group/DropdownMenuGroup.tsx';
6
+ export type { DropdownMenuGroupProps } from './groups/dropdown-menu-group/types/DropdownMenuGroup.props.ts';
7
+ export { default as DropdownMenuRadioGroup } from './groups/dropdown-menu-radio-group/DropdownMenuRadioGroup.tsx';
8
+ export type { DropdownMenuRadioGroupProps } from './groups/dropdown-menu-radio-group/types/DropdownMenuRadioGroup.props.ts';
9
+ export { default as DropdownMenuItem } from './items/dropdown-menu-item/DropdownMenuItem.tsx';
10
+ export type { DropdownMenuItemProps } from './items/dropdown-menu-item/types/DropdownMenuItem.props.ts';
11
+ export { default as DropdownMenuCheckboxItem } from './items/dropdown-menu-checkbox-item/DropdownMenuCheckboxItem.tsx';
12
+ export type { DropdownMenuCheckboxItemProps } from './items/dropdown-menu-checkbox-item/types/DropdownMenuCheckboxItem.props.ts';
13
+ export { default as DropdownMenuRadioItem } from './items/dropdown-menu-radio-item/DropdownMenuRadioItem.tsx';
14
+ export type { DropdownMenuRadioItemProps } from './items/dropdown-menu-radio-item/types/DropdownMenuRadioItem.props.ts';
15
+ export { default as DropdownMenuLabel } from './label/dropdown-menu-label/DropdownMenuLabel.tsx';
16
+ export type { DropdownMenuLabelProps } from './label/dropdown-menu-label/types/DropdownMenuLabel.props.ts';
17
+ export { default as DropdownMenuSeparator } from './separator/dropdown-menu-separator/DropdownMenuSeparator.tsx';
18
+ export type { DropdownMenuSeparatorProps } from './separator/dropdown-menu-separator/types/DropdownMenuSeparator.props.ts';
19
+ export { default as DropdownMenuShortcut } from './shortcut/dropdown-menu-shortcut/DropdownMenuShortcut.tsx';
20
+ export type { DropdownMenuShortcutProps } from './shortcut/dropdown-menu-shortcut/types/DropdownMenuShortcut.props.ts';
21
+ export { default as DropdownMenuSub } from './sub/dropdown-menu-sub/DropdownMenuSub.tsx';
22
+ export type { DropdownMenuSubProps } from './sub/dropdown-menu-sub/types/DropdownMenuSub.props.ts';
23
+ export { default as DropdownMenuSubTrigger } from './sub/dropdown-menu-sub-trigger/DropdownMenuSubTrigger.tsx';
24
+ export type { DropdownMenuSubTriggerProps } from './sub/dropdown-menu-sub-trigger/types/DropdownMenuSubTrigger.props.ts';
25
+ export { default as DropdownMenuSubContent } from './sub/dropdown-menu-sub-content/DropdownMenuSubContent.tsx';
26
+ export type { DropdownMenuSubContentProps } from './sub/dropdown-menu-sub-content/types/DropdownMenuSubContent.props.ts';
@@ -0,0 +1,4 @@
1
+ import { DropdownMenuCheckboxItemProps } from './types/DropdownMenuCheckboxItem.props.ts';
2
+ import { FC } from 'react';
3
+ declare const DropdownMenuCheckboxItem: FC<DropdownMenuCheckboxItemProps>;
4
+ export default DropdownMenuCheckboxItem;
@@ -0,0 +1,6 @@
1
+ import type * as React from 'react';
2
+ import type * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
3
+ export type DropdownMenuCheckboxItemProps = Omit<React.ComponentPropsWithoutRef<typeof RadixDropdownMenu.CheckboxItem>, 'children'> & {
4
+ /** Text label of the item. */
5
+ label: string;
6
+ };
@@ -0,0 +1,18 @@
1
+ import { DropdownMenuItemProps } from './types/DropdownMenuItem.props.ts';
2
+ /**
3
+ * A single actionable item inside the dropdown.
4
+ *
5
+ * @example
6
+ * ```tsx
7
+ * <DropdownMenuItem
8
+ * label={'Edit'}
9
+ * startIcon={'mdi:pencil'}
10
+ * shortcut={'⌘E'}
11
+ * />
12
+ * ```
13
+ */
14
+ declare const DropdownMenuItem: {
15
+ ({ className, destructive, startIcon, endIcon, shortcut, label, ...props }: DropdownMenuItemProps): import("react").JSX.Element;
16
+ displayName: string;
17
+ };
18
+ export default DropdownMenuItem;
@@ -0,0 +1,14 @@
1
+ import type * as React from 'react';
2
+ import type * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
3
+ export type DropdownMenuItemProps = Omit<React.ComponentPropsWithoutRef<typeof RadixDropdownMenu.Item>, 'children'> & {
4
+ /** Text label of the item. */
5
+ label: string;
6
+ /** Renders the item with a destructive (danger) visual style. */
7
+ destructive?: boolean;
8
+ /** Iconify icon identifier rendered on the left side of the item. */
9
+ startIcon?: string;
10
+ /** Iconify icon identifier rendered on the right side of the item. */
11
+ endIcon?: string;
12
+ /** Keyboard shortcut hint rendered on the right. */
13
+ shortcut?: string;
14
+ };
@@ -0,0 +1,4 @@
1
+ import { DropdownMenuRadioItemProps } from './types/DropdownMenuRadioItem.props.ts';
2
+ import { FC } from 'react';
3
+ declare const DropdownMenuRadioItem: FC<DropdownMenuRadioItemProps>;
4
+ export default DropdownMenuRadioItem;
@@ -0,0 +1,6 @@
1
+ import type * as React from 'react';
2
+ import type * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
3
+ export type DropdownMenuRadioItemProps = Omit<React.ComponentPropsWithoutRef<typeof RadixDropdownMenu.RadioItem>, 'children'> & {
4
+ /** Text label of the item. */
5
+ label: string;
6
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Non-interactive section heading — small, muted, uppercase.
3
+ * Typically paired with DropdownMenuGroup for semantic grouping.
4
+ */
5
+ export declare const dropdownMenuLabelClass: string;
@@ -0,0 +1,10 @@
1
+ import { DropdownMenuLabelProps } from './types/DropdownMenuLabel.props.ts';
2
+ /**
3
+ * A non-interactive section heading. Pair with `DropdownMenuGroup` for
4
+ * semantic grouping of related items.
5
+ */
6
+ declare const DropdownMenuLabel: {
7
+ ({ className, label, ...props }: DropdownMenuLabelProps): import("react").JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export default DropdownMenuLabel;
@@ -0,0 +1,6 @@
1
+ import type * as React from 'react';
2
+ import type * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
3
+ export type DropdownMenuLabelProps = Omit<React.ComponentPropsWithoutRef<typeof RadixDropdownMenu.Label>, 'children'> & {
4
+ /** Text label of the section heading. */
5
+ label: string;
6
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Thin horizontal rule between groups of items.
3
+ * Extends marginInline to reach the panel edges.
4
+ */
5
+ export declare const dropdownMenuSeparatorClass: string;
@@ -0,0 +1,9 @@
1
+ import { DropdownMenuSeparatorProps } from './types/DropdownMenuSeparator.props.ts';
2
+ /**
3
+ * A thin horizontal rule used to visually divide groups of items.
4
+ */
5
+ declare const DropdownMenuSeparator: {
6
+ ({ className, ...props }: DropdownMenuSeparatorProps): import("react").JSX.Element;
7
+ displayName: string;
8
+ };
9
+ export default DropdownMenuSeparator;
@@ -0,0 +1,2 @@
1
+ import type * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
2
+ export type DropdownMenuSeparatorProps = React.ComponentPropsWithoutRef<typeof RadixDropdownMenu.Separator>;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Keyboard shortcut badge rendered at the trailing edge of an item.
3
+ * Styled as a subtle <kbd> element — monospace, bordered, muted.
4
+ * Adapts to highlighted and disabled states via ancestor selectors.
5
+ */
6
+ export declare const dropdownMenuShortcutClass: string;
@@ -0,0 +1,10 @@
1
+ import { DropdownMenuShortcutProps } from './types/DropdownMenuShortcut.props.ts';
2
+ /**
3
+ * Displays a keyboard shortcut hint aligned to the right of an item.
4
+ * Automatically aria-hidden — purely decorative.
5
+ */
6
+ declare const DropdownMenuShortcut: {
7
+ ({ className, ...props }: DropdownMenuShortcutProps): import("react").JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export default DropdownMenuShortcut;
@@ -0,0 +1,2 @@
1
+ import type * as React from 'react';
2
+ export type DropdownMenuShortcutProps = React.HTMLAttributes<HTMLSpanElement>;
@@ -0,0 +1,10 @@
1
+ import { DropdownMenuSubProps } from './types/DropdownMenuSub.props.ts';
2
+ /**
3
+ * Wraps a nested sub-menu.
4
+ * Use with `DropdownMenuSubTrigger` and `DropdownMenuSubContent`.
5
+ */
6
+ declare const DropdownMenuSub: {
7
+ (props: DropdownMenuSubProps): import("react").JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export default DropdownMenuSub;
@@ -0,0 +1,2 @@
1
+ import type * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
2
+ export type DropdownMenuSubProps = React.ComponentPropsWithoutRef<typeof RadixDropdownMenu.Sub>;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Nested sub-menu panel. Inherits all base panel styles from
3
+ * dropdownMenuContentClass and uses a simple fade instead of a directional
4
+ * slide (since the side direction is always the same as the parent).
5
+ */
6
+ export declare const dropdownMenuSubContentClass: string;
@@ -0,0 +1,13 @@
1
+ import { DropdownMenuSubContentProps } from './types/DropdownMenuSubContent.props.ts';
2
+ /**
3
+ * The panel that appears for a nested sub-menu.
4
+ * Rendered in a portal for correct stacking.
5
+ *
6
+ * Same viewport-shift strategy as DropdownMenuContent:
7
+ * Radix's side-flipping is disabled and replaced by an offset correction.
8
+ */
9
+ declare const DropdownMenuSubContent: {
10
+ ({ className, collisionPadding, ...props }: DropdownMenuSubContentProps): import("react").JSX.Element;
11
+ displayName: string;
12
+ };
13
+ export default DropdownMenuSubContent;