@seed-design/react 1.2.15 → 2.0.0

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 (387) hide show
  1. package/lib/components/Accordion/Accordion.cjs +42 -0
  2. package/lib/components/Accordion/Accordion.d.ts +35 -0
  3. package/lib/components/Accordion/Accordion.d.ts.map +1 -0
  4. package/lib/components/Accordion/Accordion.js +32 -0
  5. package/lib/components/Accordion/Accordion.namespace.cjs +22 -0
  6. package/lib/components/Accordion/Accordion.namespace.d.ts +2 -0
  7. package/lib/components/Accordion/Accordion.namespace.d.ts.map +1 -0
  8. package/lib/components/Accordion/Accordion.namespace.js +17 -0
  9. package/lib/components/Accordion/index.cjs +19 -0
  10. package/lib/components/Accordion/index.d.ts +3 -0
  11. package/lib/components/Accordion/index.d.ts.map +1 -0
  12. package/lib/components/Accordion/index.js +3 -0
  13. package/lib/components/ActionButton/ActionButton.cjs +1 -1
  14. package/lib/components/ActionButton/ActionButton.d.ts +1 -1
  15. package/lib/components/ActionButton/ActionButton.d.ts.map +1 -1
  16. package/lib/components/ActionButton/ActionButton.js +1 -1
  17. package/lib/components/ActionSheet/ActionSheet.cjs +12 -12
  18. package/lib/components/ActionSheet/ActionSheet.d.ts +22 -22
  19. package/lib/components/ActionSheet/ActionSheet.js +12 -12
  20. package/lib/components/Article/Article.d.ts +2 -3
  21. package/lib/components/Article/Article.d.ts.map +1 -1
  22. package/lib/components/AspectRatio/AspectRatio.d.ts +2 -2
  23. package/lib/components/AspectRatio/AspectRatio.d.ts.map +1 -1
  24. package/lib/components/AttachmentDisplay/AttachmentDisplay.cjs +63 -0
  25. package/lib/components/AttachmentDisplay/AttachmentDisplay.d.ts +43 -0
  26. package/lib/components/AttachmentDisplay/AttachmentDisplay.d.ts.map +1 -0
  27. package/lib/components/AttachmentDisplay/AttachmentDisplay.js +49 -0
  28. package/lib/components/AttachmentDisplay/AttachmentDisplay.namespace.cjs +37 -0
  29. package/lib/components/AttachmentDisplay/AttachmentDisplay.namespace.d.ts +5 -0
  30. package/lib/components/AttachmentDisplay/AttachmentDisplay.namespace.d.ts.map +1 -0
  31. package/lib/components/AttachmentDisplay/AttachmentDisplay.namespace.js +32 -0
  32. package/lib/components/AttachmentDisplay/AttachmentDisplayItem.cjs +110 -0
  33. package/lib/components/AttachmentDisplay/AttachmentDisplayItem.d.ts +30 -0
  34. package/lib/components/AttachmentDisplay/AttachmentDisplayItem.d.ts.map +1 -0
  35. package/lib/components/AttachmentDisplay/AttachmentDisplayItem.js +100 -0
  36. package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.cjs +50 -0
  37. package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.d.ts +18 -0
  38. package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.d.ts.map +1 -0
  39. package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.js +45 -0
  40. package/lib/components/AttachmentDisplay/index.cjs +34 -0
  41. package/lib/components/AttachmentDisplay/index.d.ts +6 -0
  42. package/lib/components/AttachmentDisplay/index.d.ts.map +1 -0
  43. package/lib/components/AttachmentDisplay/index.js +5 -0
  44. package/lib/components/AttachmentInput/AttachmentInput.cjs +37 -0
  45. package/lib/components/AttachmentInput/AttachmentInput.d.ts +23 -0
  46. package/lib/components/AttachmentInput/AttachmentInput.d.ts.map +1 -0
  47. package/lib/components/AttachmentInput/AttachmentInput.js +30 -0
  48. package/lib/components/AttachmentInput/AttachmentInput.namespace.cjs +35 -0
  49. package/lib/components/AttachmentInput/AttachmentInput.namespace.d.ts +6 -0
  50. package/lib/components/AttachmentInput/AttachmentInput.namespace.d.ts.map +1 -0
  51. package/lib/components/AttachmentInput/AttachmentInput.namespace.js +30 -0
  52. package/lib/components/AttachmentInput/AttachmentInput.test.d.ts +2 -0
  53. package/lib/components/AttachmentInput/AttachmentInput.test.d.ts.map +1 -0
  54. package/lib/components/AttachmentInput/AttachmentInputDropzone.cjs +12 -0
  55. package/lib/components/AttachmentInput/AttachmentInputDropzone.d.ts +9 -0
  56. package/lib/components/AttachmentInput/AttachmentInputDropzone.d.ts.map +1 -0
  57. package/lib/components/AttachmentInput/AttachmentInputDropzone.js +10 -0
  58. package/lib/components/AttachmentInput/AttachmentInputItem.cjs +138 -0
  59. package/lib/components/AttachmentInput/AttachmentInputItem.d.ts +36 -0
  60. package/lib/components/AttachmentInput/AttachmentInputItem.d.ts.map +1 -0
  61. package/lib/components/AttachmentInput/AttachmentInputItem.js +126 -0
  62. package/lib/components/AttachmentInput/AttachmentInputTrigger.cjs +54 -0
  63. package/lib/components/AttachmentInput/AttachmentInputTrigger.d.ts +21 -0
  64. package/lib/components/AttachmentInput/AttachmentInputTrigger.d.ts.map +1 -0
  65. package/lib/components/AttachmentInput/AttachmentInputTrigger.js +49 -0
  66. package/lib/components/AttachmentInput/index.cjs +32 -0
  67. package/lib/components/AttachmentInput/index.d.ts +7 -0
  68. package/lib/components/AttachmentInput/index.d.ts.map +1 -0
  69. package/lib/components/AttachmentInput/index.js +6 -0
  70. package/lib/components/BottomSheet/BottomSheet.cjs +36 -9
  71. package/lib/components/BottomSheet/BottomSheet.d.ts +2 -7
  72. package/lib/components/BottomSheet/BottomSheet.d.ts.map +1 -1
  73. package/lib/components/BottomSheet/BottomSheet.js +35 -9
  74. package/lib/components/Box/Box.cjs +10 -3
  75. package/lib/components/Box/Box.d.ts +4 -2
  76. package/lib/components/Box/Box.d.ts.map +1 -1
  77. package/lib/components/Box/Box.js +10 -3
  78. package/lib/components/Checkbox/Checkbox.cjs +2 -6
  79. package/lib/components/Checkbox/Checkbox.d.ts +1 -7
  80. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
  81. package/lib/components/Checkbox/Checkbox.js +2 -6
  82. package/lib/components/Chip/Chip.cjs +1 -1
  83. package/lib/components/Chip/Chip.js +1 -1
  84. package/lib/components/ChipTabs/ChipTabs.cjs +0 -1
  85. package/lib/components/ChipTabs/ChipTabs.d.ts.map +1 -1
  86. package/lib/components/ChipTabs/ChipTabs.js +0 -1
  87. package/lib/components/Columns/Columns.d.ts +4 -4
  88. package/lib/components/Columns/Columns.d.ts.map +1 -1
  89. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +13 -13
  90. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts +24 -24
  91. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +13 -13
  92. package/lib/components/FieldButton/FieldButton.cjs +22 -3
  93. package/lib/components/FieldButton/FieldButton.d.ts +3 -2
  94. package/lib/components/FieldButton/FieldButton.d.ts.map +1 -1
  95. package/lib/components/FieldButton/FieldButton.js +23 -3
  96. package/lib/components/Flex/Flex.d.ts +5 -3
  97. package/lib/components/Flex/Flex.d.ts.map +1 -1
  98. package/lib/components/Footer/Footer.namespace.cjs +11 -0
  99. package/lib/components/Footer/Footer.namespace.d.ts +2 -0
  100. package/lib/components/Footer/Footer.namespace.d.ts.map +1 -0
  101. package/lib/components/Footer/Footer.namespace.js +6 -0
  102. package/lib/components/Footer/FooterLinkText.cjs +23 -0
  103. package/lib/components/Footer/FooterLinkText.d.ts +7 -0
  104. package/lib/components/Footer/FooterLinkText.d.ts.map +1 -0
  105. package/lib/components/Footer/FooterLinkText.js +20 -0
  106. package/lib/components/Footer/index.cjs +10 -0
  107. package/lib/components/Footer/index.d.ts +3 -0
  108. package/lib/components/Footer/index.d.ts.map +1 -0
  109. package/lib/components/Footer/index.js +3 -0
  110. package/lib/components/Grid/Grid.cjs +7 -2
  111. package/lib/components/Grid/Grid.d.ts +7 -5
  112. package/lib/components/Grid/Grid.d.ts.map +1 -1
  113. package/lib/components/Grid/Grid.js +7 -2
  114. package/lib/components/GridItem/GridItem.d.ts +3 -2
  115. package/lib/components/GridItem/GridItem.d.ts.map +1 -1
  116. package/lib/components/HelpBubble/HelpBubble.cjs +4 -7
  117. package/lib/components/HelpBubble/HelpBubble.d.ts.map +1 -1
  118. package/lib/components/HelpBubble/HelpBubble.js +4 -7
  119. package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.cjs +64 -0
  120. package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.d.ts +60 -0
  121. package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.d.ts.map +1 -0
  122. package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.js +52 -0
  123. package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.namespace.cjs +23 -0
  124. package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.namespace.d.ts +2 -0
  125. package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.namespace.d.ts.map +1 -0
  126. package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.namespace.js +18 -0
  127. package/lib/components/HelpBubbleTooltip/index.cjs +20 -0
  128. package/lib/components/HelpBubbleTooltip/index.d.ts +3 -0
  129. package/lib/components/HelpBubbleTooltip/index.d.ts.map +1 -0
  130. package/lib/components/HelpBubbleTooltip/index.js +3 -0
  131. package/lib/components/Icon/Icon.d.ts +2 -1
  132. package/lib/components/Icon/Icon.d.ts.map +1 -1
  133. package/lib/components/ImageFrame/ImageFrame.cjs +3 -2
  134. package/lib/components/ImageFrame/ImageFrame.d.ts +3 -8
  135. package/lib/components/ImageFrame/ImageFrame.d.ts.map +1 -1
  136. package/lib/components/ImageFrame/ImageFrame.js +3 -2
  137. package/lib/components/Inline/Inline.d.ts +2 -2
  138. package/lib/components/Inline/Inline.d.ts.map +1 -1
  139. package/lib/components/Layout/Layout.cjs +12 -0
  140. package/lib/components/Layout/Layout.d.ts +10 -0
  141. package/lib/components/Layout/Layout.d.ts.map +1 -0
  142. package/lib/components/Layout/Layout.js +10 -0
  143. package/lib/components/Layout/Layout.namespace.cjs +14 -0
  144. package/lib/components/Layout/Layout.namespace.d.ts +2 -0
  145. package/lib/components/Layout/Layout.namespace.d.ts.map +1 -0
  146. package/lib/components/Layout/Layout.namespace.js +9 -0
  147. package/lib/components/Layout/index.cjs +11 -0
  148. package/lib/components/Layout/index.d.ts +3 -0
  149. package/lib/components/Layout/index.d.ts.map +1 -0
  150. package/lib/components/Layout/index.js +3 -0
  151. package/lib/components/List/List.cjs +1 -1
  152. package/lib/components/List/List.d.ts +1 -1
  153. package/lib/components/List/List.d.ts.map +1 -1
  154. package/lib/components/List/List.js +1 -1
  155. package/lib/components/Menu/Menu.cjs +76 -0
  156. package/lib/components/Menu/Menu.d.ts +42 -0
  157. package/lib/components/Menu/Menu.d.ts.map +1 -0
  158. package/lib/components/Menu/Menu.js +62 -0
  159. package/lib/components/Menu/Menu.namespace.cjs +24 -0
  160. package/lib/components/Menu/Menu.namespace.d.ts +2 -0
  161. package/lib/components/Menu/Menu.namespace.d.ts.map +1 -0
  162. package/lib/components/Menu/Menu.namespace.js +19 -0
  163. package/lib/components/Menu/index.cjs +21 -0
  164. package/lib/components/Menu/index.d.ts +3 -0
  165. package/lib/components/Menu/index.d.ts.map +1 -0
  166. package/lib/components/Menu/index.js +3 -0
  167. package/lib/components/MenuSheet/MenuSheet.cjs +48 -0
  168. package/lib/components/MenuSheet/MenuSheet.d.ts +96 -0
  169. package/lib/components/MenuSheet/MenuSheet.d.ts.map +1 -1
  170. package/lib/components/MenuSheet/MenuSheet.js +48 -0
  171. package/lib/components/NavigationMenu/NavigationMenu.cjs +76 -0
  172. package/lib/components/NavigationMenu/NavigationMenu.d.ts +42 -0
  173. package/lib/components/NavigationMenu/NavigationMenu.d.ts.map +1 -0
  174. package/lib/components/NavigationMenu/NavigationMenu.js +62 -0
  175. package/lib/components/NavigationMenu/NavigationMenu.namespace.cjs +24 -0
  176. package/lib/components/NavigationMenu/NavigationMenu.namespace.d.ts +2 -0
  177. package/lib/components/NavigationMenu/NavigationMenu.namespace.d.ts.map +1 -0
  178. package/lib/components/NavigationMenu/NavigationMenu.namespace.js +19 -0
  179. package/lib/components/NavigationMenu/index.cjs +21 -0
  180. package/lib/components/NavigationMenu/index.d.ts +3 -0
  181. package/lib/components/NavigationMenu/index.d.ts.map +1 -0
  182. package/lib/components/NavigationMenu/index.js +3 -0
  183. package/lib/components/RadioGroup/RadioGroup.cjs +1 -1
  184. package/lib/components/RadioGroup/RadioGroup.js +1 -1
  185. package/lib/components/ResponsivePair/ResponsivePair.cjs +8 -5
  186. package/lib/components/ResponsivePair/ResponsivePair.d.ts +3 -2
  187. package/lib/components/ResponsivePair/ResponsivePair.d.ts.map +1 -1
  188. package/lib/components/ResponsivePair/ResponsivePair.js +8 -5
  189. package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.cjs +184 -0
  190. package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.d.ts +65 -0
  191. package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.d.ts.map +1 -0
  192. package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.js +170 -0
  193. package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.namespace.cjs +24 -0
  194. package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.namespace.d.ts +2 -0
  195. package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.namespace.d.ts.map +1 -0
  196. package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.namespace.js +19 -0
  197. package/lib/components/ResponsiveSidePanel/index.cjs +22 -0
  198. package/lib/components/ResponsiveSidePanel/index.d.ts +3 -0
  199. package/lib/components/ResponsiveSidePanel/index.d.ts.map +1 -0
  200. package/lib/components/ResponsiveSidePanel/index.js +3 -0
  201. package/lib/components/SelectBox/CheckSelectBox.cjs +2 -2
  202. package/lib/components/SelectBox/CheckSelectBox.d.ts +1 -1
  203. package/lib/components/SelectBox/CheckSelectBox.d.ts.map +1 -1
  204. package/lib/components/SelectBox/CheckSelectBox.js +1 -1
  205. package/lib/components/SideNavigation/SideNavigation.cjs +175 -0
  206. package/lib/components/SideNavigation/SideNavigation.d.ts +59 -0
  207. package/lib/components/SideNavigation/SideNavigation.d.ts.map +1 -0
  208. package/lib/components/SideNavigation/SideNavigation.js +157 -0
  209. package/lib/components/SideNavigation/SideNavigation.namespace.cjs +28 -0
  210. package/lib/components/SideNavigation/SideNavigation.namespace.d.ts +3 -0
  211. package/lib/components/SideNavigation/SideNavigation.namespace.d.ts.map +1 -0
  212. package/lib/components/SideNavigation/SideNavigation.namespace.js +23 -0
  213. package/lib/components/SideNavigation/index.cjs +25 -0
  214. package/lib/components/SideNavigation/index.d.ts +4 -0
  215. package/lib/components/SideNavigation/index.d.ts.map +1 -0
  216. package/lib/components/SideNavigation/index.js +3 -0
  217. package/lib/components/SidePanel/SidePanel.cjs +100 -0
  218. package/lib/components/SidePanel/SidePanel.d.ts +41 -0
  219. package/lib/components/SidePanel/SidePanel.d.ts.map +1 -0
  220. package/lib/components/SidePanel/SidePanel.js +87 -0
  221. package/lib/components/SidePanel/SidePanel.namespace.cjs +23 -0
  222. package/lib/components/SidePanel/SidePanel.namespace.d.ts +2 -0
  223. package/lib/components/SidePanel/SidePanel.namespace.d.ts.map +1 -0
  224. package/lib/components/SidePanel/SidePanel.namespace.js +18 -0
  225. package/lib/components/SidePanel/index.cjs +20 -0
  226. package/lib/components/SidePanel/index.d.ts +3 -0
  227. package/lib/components/SidePanel/index.d.ts.map +1 -0
  228. package/lib/components/SidePanel/index.js +3 -0
  229. package/lib/components/Slider/Slider.cjs +2 -2
  230. package/lib/components/Slider/Slider.js +2 -2
  231. package/lib/components/Snackbar/Snackbar.cjs +2 -2
  232. package/lib/components/Snackbar/Snackbar.d.ts +1 -1
  233. package/lib/components/Snackbar/Snackbar.d.ts.map +1 -1
  234. package/lib/components/Snackbar/Snackbar.js +2 -2
  235. package/lib/components/Stack/Stack.d.ts +4 -6
  236. package/lib/components/Stack/Stack.d.ts.map +1 -1
  237. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.cjs +123 -0
  238. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.d.ts +60 -0
  239. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.d.ts.map +1 -0
  240. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.js +104 -0
  241. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.cjs +29 -0
  242. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.d.ts +2 -0
  243. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.d.ts.map +1 -0
  244. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.js +24 -0
  245. package/lib/components/SwipeableMenuSheet/index.cjs +26 -0
  246. package/lib/components/SwipeableMenuSheet/index.d.ts +3 -0
  247. package/lib/components/SwipeableMenuSheet/index.d.ts.map +1 -0
  248. package/lib/components/SwipeableMenuSheet/index.js +3 -0
  249. package/lib/components/Switch/Switch.cjs +1 -5
  250. package/lib/components/Switch/Switch.d.ts +1 -7
  251. package/lib/components/Switch/Switch.d.ts.map +1 -1
  252. package/lib/components/Switch/Switch.js +1 -5
  253. package/lib/components/TagGroup/TagGroup.cjs +1 -1
  254. package/lib/components/TagGroup/TagGroup.js +1 -1
  255. package/lib/components/TextField/TextField.cjs +1 -1
  256. package/lib/components/TextField/TextField.js +1 -1
  257. package/lib/components/index.cjs +249 -0
  258. package/lib/components/index.d.ts +12 -0
  259. package/lib/components/index.d.ts.map +1 -1
  260. package/lib/components/index.js +30 -1
  261. package/lib/components/private/useDismissible.d.ts +6 -6
  262. package/lib/hooks/useBreakpoint.cjs +15 -0
  263. package/lib/hooks/useBreakpoint.d.ts +12 -0
  264. package/lib/hooks/useBreakpoint.d.ts.map +1 -0
  265. package/lib/hooks/useBreakpoint.js +13 -0
  266. package/lib/hooks/useBreakpoint.test.d.ts +2 -0
  267. package/lib/hooks/useBreakpoint.test.d.ts.map +1 -0
  268. package/lib/hooks/useBreakpointValue.cjs +23 -0
  269. package/lib/hooks/useBreakpointValue.d.ts +8 -0
  270. package/lib/hooks/useBreakpointValue.d.ts.map +1 -0
  271. package/lib/hooks/useBreakpointValue.js +22 -0
  272. package/lib/hooks/useBreakpointValue.test.d.ts +2 -0
  273. package/lib/hooks/useBreakpointValue.test.d.ts.map +1 -0
  274. package/lib/index.cjs +255 -0
  275. package/lib/index.d.ts +6 -0
  276. package/lib/index.d.ts.map +1 -1
  277. package/lib/index.js +33 -1
  278. package/lib/primitive.cjs +45 -0
  279. package/lib/primitive.d.ts +5 -0
  280. package/lib/primitive.d.ts.map +1 -1
  281. package/lib/primitive.js +5 -0
  282. package/lib/primitives/breakpoint-store.cjs +52 -0
  283. package/lib/primitives/breakpoint-store.d.ts +7 -0
  284. package/lib/primitives/breakpoint-store.d.ts.map +1 -0
  285. package/lib/primitives/breakpoint-store.js +50 -0
  286. package/lib/providers/BreakpointProvider.cjs +20 -0
  287. package/lib/providers/BreakpointProvider.d.ts +8 -0
  288. package/lib/providers/BreakpointProvider.d.ts.map +1 -0
  289. package/lib/providers/BreakpointProvider.js +19 -0
  290. package/lib/types/responsive.cjs +7 -0
  291. package/lib/types/responsive.d.ts +12 -0
  292. package/lib/types/responsive.d.ts.map +1 -0
  293. package/lib/types/responsive.js +7 -0
  294. package/lib/utils/createRenderTrackingContext.cjs +45 -0
  295. package/lib/utils/createRenderTrackingContext.d.ts +28 -0
  296. package/lib/utils/createRenderTrackingContext.d.ts.map +1 -0
  297. package/lib/utils/createRenderTrackingContext.js +44 -0
  298. package/lib/utils/getHelpBubbleArrowTipPath.cjs +14 -0
  299. package/lib/utils/getHelpBubbleArrowTipPath.d.ts +7 -0
  300. package/lib/utils/getHelpBubbleArrowTipPath.d.ts.map +1 -0
  301. package/lib/utils/getHelpBubbleArrowTipPath.js +14 -0
  302. package/lib/utils/styled.cjs +49 -75
  303. package/lib/utils/styled.d.ts +180 -62
  304. package/lib/utils/styled.d.ts.map +1 -1
  305. package/lib/utils/styled.js +49 -76
  306. package/package.json +33 -26
  307. package/src/components/Accordion/Accordion.namespace.ts +22 -0
  308. package/src/components/Accordion/Accordion.tsx +119 -0
  309. package/src/components/Accordion/index.ts +24 -0
  310. package/src/components/ActionButton/ActionButton.tsx +1 -1
  311. package/src/components/ActionSheet/ActionSheet.tsx +22 -22
  312. package/src/components/Article/Article.tsx +1 -1
  313. package/src/components/AspectRatio/AspectRatio.tsx +2 -2
  314. package/src/components/AttachmentDisplay/AttachmentDisplay.namespace.ts +57 -0
  315. package/src/components/AttachmentDisplay/AttachmentDisplay.tsx +165 -0
  316. package/src/components/AttachmentDisplay/AttachmentDisplayItem.tsx +204 -0
  317. package/src/components/AttachmentDisplay/AttachmentDisplayTrigger.tsx +82 -0
  318. package/src/components/AttachmentDisplay/index.ts +59 -0
  319. package/src/components/AttachmentInput/AttachmentInput.namespace.ts +54 -0
  320. package/src/components/AttachmentInput/AttachmentInput.test.tsx +161 -0
  321. package/src/components/AttachmentInput/AttachmentInput.tsx +77 -0
  322. package/src/components/AttachmentInput/AttachmentInputDropzone.tsx +25 -0
  323. package/src/components/AttachmentInput/AttachmentInputItem.tsx +246 -0
  324. package/src/components/AttachmentInput/AttachmentInputTrigger.tsx +85 -0
  325. package/src/components/AttachmentInput/index.ts +56 -0
  326. package/src/components/BottomSheet/BottomSheet.tsx +51 -22
  327. package/src/components/Box/Box.tsx +30 -7
  328. package/src/components/Checkbox/Checkbox.tsx +3 -31
  329. package/src/components/ChipTabs/ChipTabs.tsx +0 -6
  330. package/src/components/Columns/Columns.tsx +4 -3
  331. package/src/components/ExtendedActionSheet/ExtendedActionSheet.tsx +24 -24
  332. package/src/components/FieldButton/FieldButton.tsx +36 -8
  333. package/src/components/Flex/Flex.tsx +5 -3
  334. package/src/components/Footer/Footer.namespace.ts +4 -0
  335. package/src/components/Footer/FooterLinkText.tsx +23 -0
  336. package/src/components/Footer/index.ts +3 -0
  337. package/src/components/Grid/Grid.tsx +15 -8
  338. package/src/components/GridItem/GridItem.tsx +3 -2
  339. package/src/components/HelpBubble/HelpBubble.tsx +2 -5
  340. package/src/components/HelpBubbleTooltip/HelpBubbleTooltip.namespace.ts +24 -0
  341. package/src/components/HelpBubbleTooltip/HelpBubbleTooltip.tsx +169 -0
  342. package/src/components/HelpBubbleTooltip/index.ts +26 -0
  343. package/src/components/Icon/Icon.tsx +2 -1
  344. package/src/components/ImageFrame/ImageFrame.test.tsx +1 -3
  345. package/src/components/ImageFrame/ImageFrame.tsx +25 -23
  346. package/src/components/Inline/Inline.tsx +2 -1
  347. package/src/components/Layout/Layout.namespace.ts +6 -0
  348. package/src/components/Layout/Layout.tsx +21 -0
  349. package/src/components/Layout/index.ts +8 -0
  350. package/src/components/List/List.tsx +5 -1
  351. package/src/components/Menu/Menu.namespace.ts +26 -0
  352. package/src/components/Menu/Menu.tsx +157 -0
  353. package/src/components/Menu/index.ts +28 -0
  354. package/src/components/MenuSheet/MenuSheet.tsx +96 -0
  355. package/src/components/NavigationMenu/NavigationMenu.namespace.ts +26 -0
  356. package/src/components/NavigationMenu/NavigationMenu.tsx +172 -0
  357. package/src/components/NavigationMenu/index.ts +28 -0
  358. package/src/components/ResponsivePair/ResponsivePair.tsx +13 -7
  359. package/src/components/ResponsiveSidePanel/ResponsiveSidePanel.namespace.ts +26 -0
  360. package/src/components/ResponsiveSidePanel/ResponsiveSidePanel.tsx +316 -0
  361. package/src/components/ResponsiveSidePanel/index.ts +29 -0
  362. package/src/components/SelectBox/CheckSelectBox.tsx +1 -1
  363. package/src/components/SideNavigation/SideNavigation.namespace.ts +37 -0
  364. package/src/components/SideNavigation/SideNavigation.tsx +342 -0
  365. package/src/components/SideNavigation/index.ts +39 -0
  366. package/src/components/SidePanel/SidePanel.namespace.ts +24 -0
  367. package/src/components/SidePanel/SidePanel.tsx +216 -0
  368. package/src/components/SidePanel/index.ts +26 -0
  369. package/src/components/Snackbar/Snackbar.tsx +2 -4
  370. package/src/components/Stack/Stack.tsx +4 -3
  371. package/src/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.ts +36 -0
  372. package/src/components/SwipeableMenuSheet/SwipeableMenuSheet.tsx +269 -0
  373. package/src/components/SwipeableMenuSheet/index.ts +38 -0
  374. package/src/components/Switch/Switch.tsx +3 -26
  375. package/src/components/index.ts +12 -0
  376. package/src/hooks/useBreakpoint.test.tsx +94 -0
  377. package/src/hooks/useBreakpoint.ts +24 -0
  378. package/src/hooks/useBreakpointValue.test.tsx +102 -0
  379. package/src/hooks/useBreakpointValue.ts +33 -0
  380. package/src/index.ts +8 -0
  381. package/src/primitive.ts +5 -0
  382. package/src/primitives/breakpoint-store.ts +69 -0
  383. package/src/providers/BreakpointProvider.tsx +26 -0
  384. package/src/types/responsive.ts +19 -0
  385. package/src/utils/createRenderTrackingContext.tsx +50 -0
  386. package/src/utils/getHelpBubbleArrowTipPath.ts +11 -0
  387. package/src/utils/styled.tsx +387 -268
@@ -4,7 +4,7 @@ import { ExtendedActionSheetVariantProps } from '@seed-design/css/recipes/extend
4
4
  import { ExtendedActionSheetItemVariantProps } from '@seed-design/css/recipes/extended-action-sheet-item';
5
5
  import type * as React from "react";
6
6
  /**
7
- * @deprecated Use `MenuSheet` instead.
7
+ * @deprecated Use `SwipeableMenuSheet` instead.
8
8
  */
9
9
  export interface ExtendedActionSheetRootProps extends ExtendedActionSheetVariantProps, DialogPrimitive.RootProps {
10
10
  /**
@@ -17,106 +17,106 @@ export interface ExtendedActionSheetRootProps extends ExtendedActionSheetVariant
17
17
  unmountOnExit?: DialogPrimitive.RootProps["unmountOnExit"];
18
18
  }
19
19
  /**
20
- * @deprecated Use `MenuSheet` instead.
20
+ * @deprecated Use `SwipeableMenuSheet` instead.
21
21
  */
22
22
  export declare const ExtendedActionSheetRoot: React.ForwardRefExoticComponent<ExtendedActionSheetRootProps>;
23
23
  /**
24
- * @deprecated Use `MenuSheet` instead.
24
+ * @deprecated Use `SwipeableMenuSheet` instead.
25
25
  */
26
26
  export interface ExtendedActionSheetTriggerProps extends DialogPrimitive.TriggerProps {
27
27
  }
28
28
  /**
29
- * @deprecated Use `MenuSheet` instead.
29
+ * @deprecated Use `SwipeableMenuSheet` instead.
30
30
  */
31
31
  export declare const ExtendedActionSheetTrigger: React.ForwardRefExoticComponent<DialogPrimitive.TriggerProps & React.RefAttributes<HTMLButtonElement>>;
32
32
  /**
33
- * @deprecated Use `MenuSheet` instead.
33
+ * @deprecated Use `SwipeableMenuSheet` instead.
34
34
  */
35
35
  export interface ExtendedActionSheetPositionerProps extends DialogPrimitive.PositionerProps {
36
36
  }
37
37
  /**
38
- * @deprecated Use `MenuSheet` instead.
38
+ * @deprecated Use `SwipeableMenuSheet` instead.
39
39
  */
40
40
  export declare const ExtendedActionSheetPositioner: React.ForwardRefExoticComponent<ExtendedActionSheetPositionerProps & React.RefAttributes<HTMLDivElement>>;
41
41
  /**
42
- * @deprecated Use `MenuSheet` instead.
42
+ * @deprecated Use `SwipeableMenuSheet` instead.
43
43
  */
44
44
  export interface ExtendedActionSheetBackdropProps extends DialogPrimitive.BackdropProps {
45
45
  }
46
46
  /**
47
- * @deprecated Use `MenuSheet` instead.
47
+ * @deprecated Use `SwipeableMenuSheet` instead.
48
48
  */
49
49
  export declare const ExtendedActionSheetBackdrop: React.ForwardRefExoticComponent<ExtendedActionSheetBackdropProps & React.RefAttributes<HTMLDivElement>>;
50
50
  /**
51
- * @deprecated Use `MenuSheet` instead.
51
+ * @deprecated Use `SwipeableMenuSheet` instead.
52
52
  */
53
53
  export interface ExtendedActionSheetContentProps extends DialogPrimitive.ContentProps {
54
54
  }
55
55
  /**
56
- * @deprecated Use `MenuSheet` instead.
56
+ * @deprecated Use `SwipeableMenuSheet` instead.
57
57
  */
58
58
  export declare const ExtendedActionSheetContent: React.ForwardRefExoticComponent<ExtendedActionSheetContentProps & React.RefAttributes<HTMLDivElement>>;
59
59
  /**
60
- * @deprecated Use `MenuSheet` instead.
60
+ * @deprecated Use `SwipeableMenuSheet` instead.
61
61
  */
62
62
  export interface ExtendedActionSheetHeaderProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
63
63
  }
64
64
  /**
65
- * @deprecated Use `MenuSheet` instead.
65
+ * @deprecated Use `SwipeableMenuSheet` instead.
66
66
  */
67
67
  export declare const ExtendedActionSheetHeader: React.ForwardRefExoticComponent<ExtendedActionSheetHeaderProps & React.RefAttributes<HTMLDivElement>>;
68
68
  /**
69
- * @deprecated Use `MenuSheet` instead.
69
+ * @deprecated Use `SwipeableMenuSheet` instead.
70
70
  */
71
71
  export interface ExtendedActionSheetTitleProps extends DialogPrimitive.TitleProps {
72
72
  }
73
73
  /**
74
- * @deprecated Use `MenuSheet` instead.
74
+ * @deprecated Use `SwipeableMenuSheet` instead.
75
75
  */
76
76
  export declare const ExtendedActionSheetTitle: React.ForwardRefExoticComponent<ExtendedActionSheetTitleProps & React.RefAttributes<HTMLHeadingElement>>;
77
77
  /**
78
- * @deprecated Use `MenuSheet` instead.
78
+ * @deprecated Use `SwipeableMenuSheet` instead.
79
79
  */
80
80
  export interface ExtendedActionSheetListProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
81
81
  }
82
82
  /**
83
- * @deprecated Use `MenuSheet` instead.
83
+ * @deprecated Use `SwipeableMenuSheet` instead.
84
84
  */
85
85
  export declare const ExtendedActionSheetList: React.ForwardRefExoticComponent<ExtendedActionSheetListProps & React.RefAttributes<HTMLDivElement>>;
86
86
  /**
87
- * @deprecated Use `MenuSheet` instead.
87
+ * @deprecated Use `SwipeableMenuSheet` instead.
88
88
  */
89
89
  export interface ExtendedActionSheetGroupProps extends React.HTMLAttributes<HTMLDivElement> {
90
90
  }
91
91
  /**
92
- * @deprecated Use `MenuSheet` instead.
92
+ * @deprecated Use `SwipeableMenuSheet` instead.
93
93
  */
94
94
  export declare const ExtendedActionSheetGroup: React.ForwardRefExoticComponent<ExtendedActionSheetGroupProps & React.RefAttributes<HTMLDivElement>>;
95
95
  /**
96
- * @deprecated Use `MenuSheet` instead.
96
+ * @deprecated Use `SwipeableMenuSheet` instead.
97
97
  */
98
98
  export interface ExtendedActionSheetItemProps extends PrimitiveProps, ExtendedActionSheetItemVariantProps, React.HTMLAttributes<HTMLButtonElement> {
99
99
  }
100
100
  /**
101
- * @deprecated Use `MenuSheet` instead.
101
+ * @deprecated Use `SwipeableMenuSheet` instead.
102
102
  */
103
103
  export declare const ExtendedActionSheetItem: React.ForwardRefExoticComponent<ExtendedActionSheetItemProps & React.RefAttributes<HTMLButtonElement>>;
104
104
  /**
105
- * @deprecated Use `MenuSheet` instead.
105
+ * @deprecated Use `SwipeableMenuSheet` instead.
106
106
  */
107
107
  export interface ExtendedActionSheetFooterProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
108
108
  }
109
109
  /**
110
- * @deprecated Use `MenuSheet` instead.
110
+ * @deprecated Use `SwipeableMenuSheet` instead.
111
111
  */
112
112
  export declare const ExtendedActionSheetFooter: React.ForwardRefExoticComponent<ExtendedActionSheetFooterProps & React.RefAttributes<HTMLDivElement>>;
113
113
  /**
114
- * @deprecated Use `MenuSheet` instead.
114
+ * @deprecated Use `SwipeableMenuSheet` instead.
115
115
  */
116
116
  export interface ExtendedActionSheetCloseButtonProps extends DialogPrimitive.CloseButtonProps {
117
117
  }
118
118
  /**
119
- * @deprecated Use `MenuSheet` instead.
119
+ * @deprecated Use `SwipeableMenuSheet` instead.
120
120
  */
121
121
  export declare const ExtendedActionSheetCloseButton: React.ForwardRefExoticComponent<ExtendedActionSheetCloseButtonProps & React.RefAttributes<HTMLDivElement>>;
122
122
  //# sourceMappingURL=ExtendedActionSheet.d.ts.map
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { createRecipeContext } from "../../utils/createRecipeContext.js";
3
2
  import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
4
3
  import { createWithStateProps } from "../../utils/createWithStateProps.js";
4
+ import { createRecipeContext } from "../../utils/createRecipeContext.js";
5
5
  import { Dialog, useDialogContext } from "@seed-design/react-dialog";
6
6
  import { Primitive } from "@seed-design/react-primitive";
7
7
  import { extendedActionSheet } from "@seed-design/css/recipes/extended-action-sheet";
@@ -11,54 +11,54 @@ var { withRootProvider, withContext } = createSlotRecipeContext(extendedActionSh
11
11
  var { withContext: withItemContext } = createRecipeContext(extendedActionSheetItem);
12
12
  var withStateProps = createWithStateProps([useDialogContext]);
13
13
  /**
14
- * @deprecated Use `MenuSheet` instead.
14
+ * @deprecated Use `SwipeableMenuSheet` instead.
15
15
  */
16
16
  var ExtendedActionSheetRoot = withRootProvider(Dialog.Root, { defaultProps: {
17
17
  lazyMount: true,
18
18
  unmountOnExit: true
19
19
  } });
20
20
  /**
21
- * @deprecated Use `MenuSheet` instead.
21
+ * @deprecated Use `SwipeableMenuSheet` instead.
22
22
  */
23
23
  var ExtendedActionSheetTrigger = Dialog.Trigger;
24
24
  /**
25
- * @deprecated Use `MenuSheet` instead.
25
+ * @deprecated Use `SwipeableMenuSheet` instead.
26
26
  */
27
27
  var ExtendedActionSheetPositioner = withContext(Dialog.Positioner, "positioner");
28
28
  /**
29
- * @deprecated Use `MenuSheet` instead.
29
+ * @deprecated Use `SwipeableMenuSheet` instead.
30
30
  */
31
31
  var ExtendedActionSheetBackdrop = withContext(Dialog.Backdrop, "backdrop");
32
32
  /**
33
- * @deprecated Use `MenuSheet` instead.
33
+ * @deprecated Use `SwipeableMenuSheet` instead.
34
34
  */
35
35
  var ExtendedActionSheetContent = withContext(Dialog.Content, "content");
36
36
  /**
37
- * @deprecated Use `MenuSheet` instead.
37
+ * @deprecated Use `SwipeableMenuSheet` instead.
38
38
  */
39
39
  var ExtendedActionSheetHeader = withContext(withStateProps(Primitive.div), "header");
40
40
  /**
41
- * @deprecated Use `MenuSheet` instead.
41
+ * @deprecated Use `SwipeableMenuSheet` instead.
42
42
  */
43
43
  var ExtendedActionSheetTitle = withContext(withStateProps(Primitive.h2), "title");
44
44
  /**
45
- * @deprecated Use `MenuSheet` instead.
45
+ * @deprecated Use `SwipeableMenuSheet` instead.
46
46
  */
47
47
  var ExtendedActionSheetList = withContext(withStateProps(Primitive.div), "list");
48
48
  /**
49
- * @deprecated Use `MenuSheet` instead.
49
+ * @deprecated Use `SwipeableMenuSheet` instead.
50
50
  */
51
51
  var ExtendedActionSheetGroup = withContext(withStateProps(Primitive.div), "group");
52
52
  /**
53
- * @deprecated Use `MenuSheet` instead.
53
+ * @deprecated Use `SwipeableMenuSheet` instead.
54
54
  */
55
55
  var ExtendedActionSheetItem = withItemContext(withStateProps(Primitive.button));
56
56
  /**
57
- * @deprecated Use `MenuSheet` instead.
57
+ * @deprecated Use `SwipeableMenuSheet` instead.
58
58
  */
59
59
  var ExtendedActionSheetFooter = withContext(withStateProps(Primitive.div), "footer");
60
60
  /**
61
- * @deprecated Use `MenuSheet` instead.
61
+ * @deprecated Use `SwipeableMenuSheet` instead.
62
62
  */
63
63
  var ExtendedActionSheetCloseButton = withContext(Dialog.CloseButton, "closeButton");
64
64
  //#endregion
@@ -2,6 +2,7 @@
2
2
  const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
3
3
  const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
4
4
  const require_createWithStateProps = require("../../utils/createWithStateProps.cjs");
5
+ const require_splitMultipleVariantsProps = require("../../utils/splitMultipleVariantsProps.cjs");
5
6
  const require_Icon = require("../private/Icon.cjs");
6
7
  let _seed_design_react_primitive = require("@seed-design/react-primitive");
7
8
  let clsx = require("clsx");
@@ -14,11 +15,29 @@ let _seed_design_css_recipes_field_label = require("@seed-design/css/recipes/fie
14
15
  let _seed_design_react_field_button = require("@seed-design/react-field-button");
15
16
  let _seed_design_css_recipes_input_button = require("@seed-design/css/recipes/input-button");
16
17
  //#region src/components/FieldButton/FieldButton.tsx
17
- var { withContext: withFieldContext, withProvider: withFieldProvider } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_field.field);
18
- var { withProvider, withContext, useClassNames } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_input_button.inputButton);
18
+ var { ClassNamesProvider: FieldClassNamesProvider, withContext: withFieldContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_field.field);
19
+ var { withProvider, withContext, useClassNames, PropsProvider: InputButtonPropsProvider } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_input_button.inputButton);
19
20
  var { withProvider: withLabelProvider, withContext: withLabelContext, useClassNames: useLabelClassNames } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_field_label.fieldLabel);
20
21
  var withStateProps = require_createWithStateProps.createWithStateProps([_seed_design_react_field_button.useFieldButtonContext]);
21
- var FieldButtonRoot = withFieldProvider(_seed_design_react_field_button.FieldButton.Root, "root");
22
+ var FieldButtonRoot = (0, react.forwardRef)(({ className, ...props }, ref) => {
23
+ const [{ field: fieldVariantProps, inputButton: inputButtonVariantProps }, otherProps] = require_splitMultipleVariantsProps.splitMultipleVariantsProps(props, {
24
+ field: _seed_design_css_recipes_field.field,
25
+ inputButton: _seed_design_css_recipes_input_button.inputButton
26
+ });
27
+ const fieldClassNames = (0, _seed_design_css_recipes_field.field)(fieldVariantProps);
28
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(InputButtonPropsProvider, {
29
+ value: inputButtonVariantProps,
30
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FieldClassNamesProvider, {
31
+ value: fieldClassNames,
32
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_field_button.FieldButton.Root, {
33
+ ref,
34
+ className: (0, clsx.default)(fieldClassNames.root, className),
35
+ ...otherProps
36
+ })
37
+ })
38
+ });
39
+ });
40
+ FieldButtonRoot.displayName = "FieldButtonRoot";
22
41
  var FieldButtonHeader = withFieldContext(withStateProps(_seed_design_react_primitive.Primitive.div), "header");
23
42
  var FieldButtonLabel = withLabelProvider(withStateProps(_seed_design_react_primitive.Primitive.div), "root");
24
43
  var FieldButtonIndicatorText = withLabelContext(withStateProps(_seed_design_react_primitive.Primitive.span), "indicatorText");
@@ -3,8 +3,9 @@ import { FieldButton } from '@seed-design/react-field-button';
3
3
  import { FieldVariantProps } from '@seed-design/css/recipes/field';
4
4
  import { FieldLabelVariantProps } from '@seed-design/css/recipes/field-label';
5
5
  import { InternalIconProps } from '../private/Icon';
6
+ import { InputButtonVariantProps } from '@seed-design/css/recipes/input-button';
6
7
  import * as React from "react";
7
- export interface FieldButtonRootProps extends FieldVariantProps, FieldButton.RootProps {
8
+ export interface FieldButtonRootProps extends FieldVariantProps, InputButtonVariantProps, FieldButton.RootProps {
8
9
  }
9
10
  export declare const FieldButtonRoot: React.ForwardRefExoticComponent<FieldButtonRootProps & React.RefAttributes<HTMLDivElement>>;
10
11
  export interface FieldButtonHeaderProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
@@ -46,7 +47,7 @@ export declare const FieldButtonHiddenInput: React.ForwardRefExoticComponent<Fie
46
47
  export interface FieldButtonButtonProps extends FieldButton.ButtonProps {
47
48
  }
48
49
  export declare const FieldButtonButton: React.ForwardRefExoticComponent<FieldButtonButtonProps & React.RefAttributes<HTMLButtonElement>>;
49
- export interface FieldButtonControlProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
50
+ export interface FieldButtonControlProps extends InputButtonVariantProps, PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
50
51
  }
51
52
  export declare const FieldButtonControl: React.ForwardRefExoticComponent<FieldButtonControlProps & React.RefAttributes<HTMLDivElement>>;
52
53
  export interface FieldButtonClearButtonProps extends FieldButton.ClearButtonProps {
@@ -1 +1 @@
1
- {"version":3,"file":"FieldButton.d.ts","sourceRoot":"","sources":["../../../src/components/FieldButton/FieldButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAyB,MAAM,iCAAiC,CAAC;AACrF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAS,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC/F,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAiBvE,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB,EAAE,WAAW,CAAC,S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AAC;AAEF,MAAM,WAAW,2BAA4B,SAAQ,WAAW,CAAC,gBAAgB;CAAG;AAEpF,eAAO,MAAM,sBAAsB,qGAGM,CAAC;AAE1C,MAAM,WAAW,4BAA6B,SAAQ,WAAW,CAAC,iBAAiB;CAAG;AAEtF,eAAO,MAAM,uBAAuB,sGAGO,CAAC;AAI5C,MAAM,WAAW,2BAA4B,SAAQ,WAAW,CAAC,gBAAgB;CAAG;AAEpF,eAAO,MAAM,sBAAsB,uGAA0B,CAAC;AAE9D,MAAM,WAAW,sBAAuB,SAAQ,WAAW,CAAC,WAAW;CAAG;AAE1E,eAAO,MAAM,iBAAiB,kGAG7B,CAAC;AAEF,MAAM,WAAW,uBACf,SAAQ,uBAAuB,EAC7B,cAAc,EACd,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,kBAAkB,gGAG9B,CAAC;AAEF,MAAM,WAAW,2BAA4B,SAAQ,WAAW,CAAC,gBAAgB;CAAG;AAEpF,eAAO,MAAM,sBAAsB,uGAGlC,CAAC;AAEF,MAAM,WAAW,qBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,gBAAgB,8FAe5B,CAAC;AAGF,MAAM,WAAW,2BACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,sBAAsB,oGAelC,CAAC"}
@@ -1,21 +1,41 @@
1
1
  "use client";
2
2
  import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
3
3
  import { createWithStateProps } from "../../utils/createWithStateProps.js";
4
+ import { splitMultipleVariantsProps } from "../../utils/splitMultipleVariantsProps.js";
4
5
  import { InternalIcon } from "../private/Icon.js";
5
6
  import { Primitive } from "@seed-design/react-primitive";
6
7
  import clsx$1 from "clsx";
7
8
  import * as React$1 from "react";
9
+ import { forwardRef } from "react";
8
10
  import { jsx } from "react/jsx-runtime";
9
11
  import { field } from "@seed-design/css/recipes/field";
10
12
  import { fieldLabel } from "@seed-design/css/recipes/field-label";
11
13
  import { FieldButton, useFieldButtonContext } from "@seed-design/react-field-button";
12
14
  import { inputButton } from "@seed-design/css/recipes/input-button";
13
15
  //#region src/components/FieldButton/FieldButton.tsx
14
- var { withContext: withFieldContext, withProvider: withFieldProvider } = createSlotRecipeContext(field);
15
- var { withProvider, withContext, useClassNames } = createSlotRecipeContext(inputButton);
16
+ var { ClassNamesProvider: FieldClassNamesProvider, withContext: withFieldContext } = createSlotRecipeContext(field);
17
+ var { withProvider, withContext, useClassNames, PropsProvider: InputButtonPropsProvider } = createSlotRecipeContext(inputButton);
16
18
  var { withProvider: withLabelProvider, withContext: withLabelContext, useClassNames: useLabelClassNames } = createSlotRecipeContext(fieldLabel);
17
19
  var withStateProps = createWithStateProps([useFieldButtonContext]);
18
- var FieldButtonRoot = withFieldProvider(FieldButton.Root, "root");
20
+ var FieldButtonRoot = forwardRef(({ className, ...props }, ref) => {
21
+ const [{ field: fieldVariantProps, inputButton: inputButtonVariantProps }, otherProps] = splitMultipleVariantsProps(props, {
22
+ field,
23
+ inputButton
24
+ });
25
+ const fieldClassNames = field(fieldVariantProps);
26
+ return /* @__PURE__ */ jsx(InputButtonPropsProvider, {
27
+ value: inputButtonVariantProps,
28
+ children: /* @__PURE__ */ jsx(FieldClassNamesProvider, {
29
+ value: fieldClassNames,
30
+ children: /* @__PURE__ */ jsx(FieldButton.Root, {
31
+ ref,
32
+ className: clsx$1(fieldClassNames.root, className),
33
+ ...otherProps
34
+ })
35
+ })
36
+ });
37
+ });
38
+ FieldButtonRoot.displayName = "FieldButtonRoot";
19
39
  var FieldButtonHeader = withFieldContext(withStateProps(Primitive.div), "header");
20
40
  var FieldButtonLabel = withLabelProvider(withStateProps(Primitive.div), "root");
21
41
  var FieldButtonIndicatorText = withLabelContext(withStateProps(Primitive.span), "indicatorText");
@@ -1,10 +1,12 @@
1
+ import { ResponsiveValue } from '../../types/responsive';
2
+ import { DistributiveOmit } from '../../utils/styled';
1
3
  import { BoxProps } from '../Box/Box';
2
4
  import * as React from "react";
3
- export interface FlexProps extends Omit<BoxProps, "display"> {
5
+ export type FlexProps = DistributiveOmit<BoxProps, "display"> & {
4
6
  /**
5
7
  * @default "flex"
6
8
  */
7
- display?: "flex" | "none";
9
+ display?: ResponsiveValue<"flex" | "none">;
8
10
  /**
9
11
  * Shorthand for `flexDirection`.
10
12
  */
@@ -29,6 +31,6 @@ export interface FlexProps extends Omit<BoxProps, "display"> {
29
31
  * Shorthand for `flexShrink`.
30
32
  */
31
33
  shrink?: BoxProps["flexShrink"];
32
- }
34
+ };
33
35
  export declare const Flex: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>>;
34
36
  //# sourceMappingURL=Flex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/Flex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC1D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;IAEtC;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IAE/B;;OAEG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAErC;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAE5B;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;CACjC;AAED,eAAO,MAAM,IAAI,kFAgBf,CAAC"}
1
+ {"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/Flex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,SAAS,GAAG,gBAAgB,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG;IAC9D;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAE3C;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;IAEtC;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IAE/B;;OAEG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAErC;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAE5B;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,IAAI,kFAgBf,CAAC"}
@@ -0,0 +1,11 @@
1
+ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
2
+ const require_FooterLinkText = require("./FooterLinkText.cjs");
3
+ //#region src/components/Footer/Footer.namespace.ts
4
+ var Footer_namespace_exports = /* @__PURE__ */ require_runtime.__exportAll({ LinkText: () => require_FooterLinkText.FooterLinkText });
5
+ //#endregion
6
+ Object.defineProperty(exports, "Footer_namespace_exports", {
7
+ enumerable: true,
8
+ get: function() {
9
+ return Footer_namespace_exports;
10
+ }
11
+ });
@@ -0,0 +1,2 @@
1
+ export { FooterLinkText as LinkText, type FooterLinkTextProps as LinkTextProps, } from './FooterLinkText';
2
+ //# sourceMappingURL=Footer.namespace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Footer.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/Footer.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,QAAQ,EAC1B,KAAK,mBAAmB,IAAI,aAAa,GAC1C,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
2
+ import { FooterLinkText } from "./FooterLinkText.js";
3
+ //#region src/components/Footer/Footer.namespace.ts
4
+ var Footer_namespace_exports = /* @__PURE__ */ __exportAll({ LinkText: () => FooterLinkText });
5
+ //#endregion
6
+ export { Footer_namespace_exports };
@@ -0,0 +1,23 @@
1
+ "use client";
2
+ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
3
+ let _seed_design_react_primitive = require("@seed-design/react-primitive");
4
+ let clsx = require("clsx");
5
+ clsx = require_runtime.__toESM(clsx);
6
+ let react = require("react");
7
+ react = require_runtime.__toESM(react);
8
+ let react_jsx_runtime = require("react/jsx-runtime");
9
+ let _seed_design_css_recipes_footer = require("@seed-design/css/recipes/footer");
10
+ //#region src/components/Footer/FooterLinkText.tsx
11
+ var FooterLinkText = react.forwardRef(({ className, children, ...props }, ref) => {
12
+ const [variantProps, restProps] = _seed_design_css_recipes_footer.footer.splitVariantProps(props);
13
+ const classNames = (0, _seed_design_css_recipes_footer.footer)(variantProps);
14
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.a, {
15
+ ref,
16
+ className: (0, clsx.default)(classNames.linkText, className),
17
+ ...restProps,
18
+ children
19
+ });
20
+ });
21
+ FooterLinkText.displayName = "FooterLinkText";
22
+ //#endregion
23
+ exports.FooterLinkText = FooterLinkText;
@@ -0,0 +1,7 @@
1
+ import { FooterVariantProps } from '@seed-design/css/recipes/footer';
2
+ import { PrimitiveProps } from '@seed-design/react-primitive';
3
+ import * as React from "react";
4
+ export interface FooterLinkTextProps extends FooterVariantProps, PrimitiveProps, React.AnchorHTMLAttributes<HTMLAnchorElement> {
5
+ }
6
+ export declare const FooterLinkText: React.ForwardRefExoticComponent<FooterLinkTextProps & React.RefAttributes<HTMLAnchorElement>>;
7
+ //# sourceMappingURL=FooterLinkText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FooterLinkText.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/FooterLinkText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,mBACf,SAAQ,kBAAkB,EACxB,cAAc,EACd,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAEpD,eAAO,MAAM,cAAc,+FAW1B,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use client";
2
+ import { Primitive } from "@seed-design/react-primitive";
3
+ import clsx$1 from "clsx";
4
+ import * as React$1 from "react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import { footer } from "@seed-design/css/recipes/footer";
7
+ //#region src/components/Footer/FooterLinkText.tsx
8
+ var FooterLinkText = React$1.forwardRef(({ className, children, ...props }, ref) => {
9
+ const [variantProps, restProps] = footer.splitVariantProps(props);
10
+ const classNames = footer(variantProps);
11
+ return /* @__PURE__ */ jsx(Primitive.a, {
12
+ ref,
13
+ className: clsx$1(classNames.linkText, className),
14
+ ...restProps,
15
+ children
16
+ });
17
+ });
18
+ FooterLinkText.displayName = "FooterLinkText";
19
+ //#endregion
20
+ export { FooterLinkText };
@@ -0,0 +1,10 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_FooterLinkText = require("./FooterLinkText.cjs");
3
+ const require_Footer_namespace = require("./Footer.namespace.cjs");
4
+ Object.defineProperty(exports, "Footer", {
5
+ enumerable: true,
6
+ get: function() {
7
+ return require_Footer_namespace.Footer_namespace_exports;
8
+ }
9
+ });
10
+ exports.FooterLinkText = require_FooterLinkText.FooterLinkText;
@@ -0,0 +1,3 @@
1
+ export { FooterLinkText, type FooterLinkTextProps } from './FooterLinkText';
2
+ export * as Footer from './Footer.namespace';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FooterLinkText } from "./FooterLinkText.js";
2
+ import { Footer_namespace_exports } from "./Footer.namespace.js";
3
+ export { Footer_namespace_exports as Footer, FooterLinkText };
@@ -1,22 +1,27 @@
1
1
  "use client";
2
2
  const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
3
+ const require_styled = require("../../utils/styled.cjs");
3
4
  const require_Box = require("../Box/Box.cjs");
4
5
  let react = require("react");
5
6
  react = require_runtime.__toESM(react);
6
7
  let react_jsx_runtime = require("react/jsx-runtime");
7
8
  let _seed_design_dom_utils = require("@seed-design/dom-utils");
8
9
  //#region src/components/Grid/Grid.tsx
10
+ function handleGridTemplate(v) {
11
+ return typeof v === "number" ? `repeat(${v}, minmax(0, 1fr))` : v;
12
+ }
9
13
  var Grid = react.forwardRef((props, ref) => {
10
14
  const { align, justify, justifyItems, columns, rows, autoFlow, autoColumns, autoRows, ...rest } = props;
11
15
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Box.Box, {
12
16
  ref,
17
+ display: "grid",
13
18
  alignItems: align,
14
19
  justifyContent: justify,
15
20
  ...(0, _seed_design_dom_utils.mergeProps)(rest, {
16
21
  className: "seed-grid",
17
22
  style: {
18
- "--seed-grid-columns": typeof columns === "number" ? `repeat(${columns}, minmax(0, 1fr))` : columns,
19
- "--seed-grid-rows": typeof rows === "number" ? `repeat(${rows}, minmax(0, 1fr))` : rows,
23
+ ...columns !== void 0 && require_styled.resolveResponsive("--seed-grid-columns", columns, handleGridTemplate),
24
+ ...rows !== void 0 && require_styled.resolveResponsive("--seed-grid-rows", rows, handleGridTemplate),
20
25
  "--seed-grid-auto-flow": autoFlow,
21
26
  "--seed-grid-auto-columns": autoColumns,
22
27
  "--seed-grid-auto-rows": autoRows,
@@ -1,10 +1,12 @@
1
+ import { ResponsiveValue } from '../../types/responsive';
2
+ import { DistributiveOmit } from '../../utils/styled';
1
3
  import { BoxProps } from '../Box/Box';
2
4
  import * as React from "react";
3
- export interface GridProps extends Omit<BoxProps, "display"> {
5
+ export type GridProps = DistributiveOmit<BoxProps, "display"> & {
4
6
  /**
5
7
  * @default "grid"
6
8
  */
7
- display?: "grid" | "none";
9
+ display?: ResponsiveValue<"grid" | "none">;
8
10
  /**
9
11
  * Shorthand for `alignItems`.
10
12
  */
@@ -18,12 +20,12 @@ export interface GridProps extends Omit<BoxProps, "display"> {
18
20
  * Shorthand for `gridTemplateColumns`.
19
21
  * If number, `repeat({columns}, minmax(0, 1fr))` is applied.
20
22
  */
21
- columns?: number | string;
23
+ columns?: ResponsiveValue<number | string>;
22
24
  /**
23
25
  * Shorthand for `gridTemplateRows`.
24
26
  * If number, `repeat({rows}, minmax(0, 1fr))` is applied.
25
27
  */
26
- rows?: number | string;
28
+ rows?: ResponsiveValue<number | string>;
27
29
  /**
28
30
  * Shorthand for `gridAutoFlow`.
29
31
  */
@@ -36,6 +38,6 @@ export interface GridProps extends Omit<BoxProps, "display"> {
36
38
  * Shorthand for `gridAutoRows`.
37
39
  */
38
40
  autoRows?: string;
39
- }
41
+ };
40
42
  export declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
41
43
  //# sourceMappingURL=Grid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC1D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IAE/B;;OAEG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAErC,YAAY,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;IAEhE;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAMvB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,WAAW,GAAG,cAAc,CAAC;IAE3D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,IAAI,kFAwBf,CAAC"}
1
+ {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,SAAS,GAAG,gBAAgB,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG;IAC9D;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAE3C;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IAE/B;;OAEG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAErC,YAAY,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;IAEhE;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAE3C;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAMxC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,WAAW,GAAG,cAAc,CAAC;IAE3D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAMF,eAAO,MAAM,IAAI,kFAyBf,CAAC"}
@@ -1,20 +1,25 @@
1
1
  "use client";
2
+ import { resolveResponsive } from "../../utils/styled.js";
2
3
  import { Box } from "../Box/Box.js";
3
4
  import * as React$1 from "react";
4
5
  import { jsx } from "react/jsx-runtime";
5
6
  import { mergeProps } from "@seed-design/dom-utils";
6
7
  //#region src/components/Grid/Grid.tsx
8
+ function handleGridTemplate(v) {
9
+ return typeof v === "number" ? `repeat(${v}, minmax(0, 1fr))` : v;
10
+ }
7
11
  var Grid = React$1.forwardRef((props, ref) => {
8
12
  const { align, justify, justifyItems, columns, rows, autoFlow, autoColumns, autoRows, ...rest } = props;
9
13
  return /* @__PURE__ */ jsx(Box, {
10
14
  ref,
15
+ display: "grid",
11
16
  alignItems: align,
12
17
  justifyContent: justify,
13
18
  ...mergeProps(rest, {
14
19
  className: "seed-grid",
15
20
  style: {
16
- "--seed-grid-columns": typeof columns === "number" ? `repeat(${columns}, minmax(0, 1fr))` : columns,
17
- "--seed-grid-rows": typeof rows === "number" ? `repeat(${rows}, minmax(0, 1fr))` : rows,
21
+ ...columns !== void 0 && resolveResponsive("--seed-grid-columns", columns, handleGridTemplate),
22
+ ...rows !== void 0 && resolveResponsive("--seed-grid-rows", rows, handleGridTemplate),
18
23
  "--seed-grid-auto-flow": autoFlow,
19
24
  "--seed-grid-auto-columns": autoColumns,
20
25
  "--seed-grid-auto-rows": autoRows,
@@ -1,6 +1,7 @@
1
+ import { DistributiveOmit } from '../../utils/styled';
1
2
  import { BoxProps } from '../Box/Box';
2
3
  import * as React from "react";
3
- export interface GridItemProps extends Omit<BoxProps, "gridColumn" | "gridRow" | "gridArea"> {
4
+ export type GridItemProps = DistributiveOmit<BoxProps, "gridColumn" | "gridRow" | "gridArea"> & {
4
5
  /**
5
6
  * If true, the component will render its children directly without a wrapper element.
6
7
  * @default false
@@ -30,6 +31,6 @@ export interface GridItemProps extends Omit<BoxProps, "gridColumn" | "gridRow" |
30
31
  * Ending row.
31
32
  */
32
33
  rowEnd?: number;
33
- }
34
+ };
34
35
  export declare const GridItem: React.ForwardRefExoticComponent<GridItemProps & React.RefAttributes<HTMLDivElement>>;
35
36
  //# sourceMappingURL=GridItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GridItem.d.ts","sourceRoot":"","sources":["../../../src/components/GridItem/GridItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,QAAQ,EAAE,YAAY,GAAG,SAAS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