@cupra/ui-react 2.0.0-canary.14 → 2.0.0-canary.141

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 (288) hide show
  1. package/README.md +18 -0
  2. package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -0
  3. package/dist/cjs/components/Accordion/Accordion.cjs +1 -1
  4. package/dist/cjs/components/Avatar/Avatar.cjs +1 -1
  5. package/dist/cjs/components/Badge/Badge.cjs +1 -1
  6. package/dist/cjs/components/BasicCard/BasicCard.cjs +1 -1
  7. package/dist/cjs/components/BasicCardHeader/BasicCardHeader.cjs +1 -0
  8. package/dist/cjs/components/BasicCardImage/BasicCardImage.cjs +1 -0
  9. package/dist/cjs/components/BasicCardSection/BasicCardSection.cjs +1 -1
  10. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.cjs +1 -0
  11. package/dist/cjs/components/BreadcrumbsItem/BreadcrumbsItem.cjs +1 -0
  12. package/dist/cjs/components/Bullets/Bullets.cjs +1 -1
  13. package/dist/cjs/components/Button/Button.cjs +1 -1
  14. package/dist/cjs/components/Calendar/Calendar.cjs +1 -0
  15. package/dist/cjs/components/CarouselIndicator/CarouselIndicator.cjs +1 -1
  16. package/dist/cjs/components/Checkbox/Checkbox.cjs +1 -1
  17. package/dist/cjs/components/CheckboxGroup/CheckboxGroup.cjs +1 -0
  18. package/dist/cjs/components/Chip/Chip.cjs +1 -1
  19. package/dist/cjs/components/Chips/Chips.cjs +1 -1
  20. package/dist/cjs/components/Currency/Currency.cjs +1 -1
  21. package/dist/cjs/components/DatePicker/DatePicker.cjs +1 -0
  22. package/dist/cjs/components/Dialog/Dialog.cjs +1 -1
  23. package/dist/cjs/components/DialogBody/DialogBody.cjs +1 -1
  24. package/dist/cjs/components/DialogFooter/DialogFooter.cjs +1 -1
  25. package/dist/cjs/components/DialogFullscreen/DialogFullscreen.cjs +1 -0
  26. package/dist/cjs/components/DialogHeader/DialogHeader.cjs +1 -1
  27. package/dist/cjs/components/Divider/Divider.cjs +1 -1
  28. package/dist/cjs/components/Drawer/Drawer.cjs +1 -1
  29. package/dist/cjs/components/FavouriteAction/FavouriteAction.cjs +1 -0
  30. package/dist/cjs/components/Hyperlink/Hyperlink.cjs +1 -1
  31. package/dist/cjs/components/Icon/Icon.cjs +1 -1
  32. package/dist/cjs/components/IconButton/IconButton.cjs +1 -1
  33. package/dist/cjs/components/IconButtonGroup/IconButtonGroup.cjs +1 -0
  34. package/dist/cjs/components/InlineAlert/InlineAlert.cjs +1 -0
  35. package/dist/cjs/components/Input/Input.cjs +1 -1
  36. package/dist/cjs/components/InteractiveCard/InteractiveCard.cjs +1 -1
  37. package/dist/cjs/components/LinkButton/LinkButton.cjs +1 -1
  38. package/dist/cjs/components/List/List.cjs +1 -0
  39. package/dist/cjs/components/ListItem/ListItem.cjs +1 -0
  40. package/dist/cjs/components/Loader/Loader.cjs +1 -1
  41. package/dist/cjs/components/Logo/Logo.cjs +1 -1
  42. package/dist/cjs/components/MainTitle/MainTitle.cjs +1 -1
  43. package/dist/cjs/components/MapPin/MapPin.cjs +1 -1
  44. package/dist/cjs/components/MediaControl/MediaControl.cjs +1 -1
  45. package/dist/cjs/components/Modal/Modal.cjs +2 -2
  46. package/dist/cjs/components/NavigationControls/NavigationControls.cjs +1 -0
  47. package/dist/cjs/components/PasswordInput/PasswordInput.cjs +1 -1
  48. package/dist/cjs/components/PickerItem/PickerItem.cjs +1 -1
  49. package/dist/cjs/components/Radio/Radio.cjs +1 -1
  50. package/dist/cjs/components/RadioButton/RadioButton.cjs +1 -1
  51. package/dist/cjs/components/RadioButtonGroup/RadioButtonGroup.cjs +1 -1
  52. package/dist/cjs/components/Rating/Rating.cjs +1 -1
  53. package/dist/cjs/components/Search/Search.cjs +1 -1
  54. package/dist/cjs/components/SearchInput/SearchInput.cjs +1 -1
  55. package/dist/cjs/components/SecondaryNavigation/SecondaryNavigation.cjs +1 -1
  56. package/dist/cjs/components/SegmentedControl/SegmentedControl.cjs +1 -1
  57. package/dist/cjs/components/Select/Select.cjs +1 -1
  58. package/dist/cjs/components/Selection/Selection.cjs +1 -1
  59. package/dist/cjs/components/SidebarNavigation/SidebarNavigation.cjs +1 -1
  60. package/dist/cjs/components/Skeleton/Skeleton.cjs +1 -0
  61. package/dist/cjs/components/Slider/Slider.cjs +1 -1
  62. package/dist/cjs/components/StaticBox/StaticBox.cjs +1 -1
  63. package/dist/cjs/components/Stepper/Stepper.cjs +1 -1
  64. package/dist/cjs/components/Table/Table.cjs +1 -0
  65. package/dist/cjs/components/TableCell/TableCell.cjs +1 -0
  66. package/dist/cjs/components/TableRow/TableRow.cjs +1 -0
  67. package/dist/cjs/components/Tabs/Tabs.cjs +1 -1
  68. package/dist/cjs/components/Tag/Tag.cjs +1 -1
  69. package/dist/cjs/components/Text/Text.cjs +1 -1
  70. package/dist/cjs/components/TextInput/TextInput.cjs +1 -1
  71. package/dist/cjs/components/Textarea/Textarea.cjs +1 -1
  72. package/dist/cjs/components/ThemeProvider/ThemeProvider.cjs +1 -1
  73. package/dist/cjs/components/Toast/Toast.cjs +1 -1
  74. package/dist/cjs/components/ToastMessage/ToastMessage.cjs +1 -1
  75. package/dist/cjs/components/ToggleButton/ToggleButton.cjs +1 -1
  76. package/dist/cjs/components/ToggleSwitch/ToggleSwitch.cjs +1 -1
  77. package/dist/cjs/components/Tooltip/Tooltip.cjs +1 -1
  78. package/dist/cjs/components/ValueUnit/ValueUnit.cjs +1 -0
  79. package/dist/cjs/components/index.cjs +1 -0
  80. package/dist/cjs/hooks/index.cjs +1 -0
  81. package/dist/cjs/hooks/useBreakpoint.cjs +1 -1
  82. package/dist/cjs/hooks/useEventListeners.cjs +1 -1
  83. package/dist/cjs/hooks/useHandleEvent.cjs +1 -1
  84. package/dist/cjs/hooks/useLoadScript.cjs +1 -0
  85. package/dist/cjs/hooks/useResizeObserver/useResizeObserver.cjs +1 -1
  86. package/dist/cjs/index.cjs +1 -1
  87. package/dist/cjs/node_modules/.pnpm/@emotion_is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.cjs +1 -0
  88. package/dist/cjs/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +1 -0
  89. package/dist/cjs/node_modules/.pnpm/styled-components@6.4.1_css-to-react-native@3.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.cjs +80 -0
  90. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.cjs +1 -0
  91. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Middleware.cjs +1 -0
  92. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.cjs +1 -0
  93. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Prefixer.cjs +1 -0
  94. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.cjs +1 -0
  95. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.cjs +1 -0
  96. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.cjs +1 -0
  97. package/dist/esm/components/Accordion/Accordion.js +16 -7
  98. package/dist/esm/components/Avatar/Avatar.js +20 -10
  99. package/dist/esm/components/Badge/Badge.js +11 -6
  100. package/dist/esm/components/BasicCard/BasicCard.js +20 -13
  101. package/dist/esm/components/BasicCardHeader/BasicCardHeader.js +29 -0
  102. package/dist/esm/components/BasicCardImage/BasicCardImage.js +15 -0
  103. package/dist/esm/components/BasicCardSection/BasicCardSection.js +12 -6
  104. package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +14 -0
  105. package/dist/esm/components/BreadcrumbsItem/BreadcrumbsItem.js +19 -0
  106. package/dist/esm/components/Bullets/Bullets.js +9 -5
  107. package/dist/esm/components/Button/Button.js +17 -19
  108. package/dist/esm/components/Calendar/Calendar.js +17 -0
  109. package/dist/esm/components/CarouselIndicator/CarouselIndicator.js +11 -6
  110. package/dist/esm/components/Checkbox/Checkbox.js +15 -10
  111. package/dist/esm/components/CheckboxGroup/CheckboxGroup.js +17 -0
  112. package/dist/esm/components/Chip/Chip.js +13 -7
  113. package/dist/esm/components/Chips/Chips.js +16 -12
  114. package/dist/esm/components/Currency/Currency.js +12 -7
  115. package/dist/esm/components/DatePicker/DatePicker.js +32 -0
  116. package/dist/esm/components/Dialog/Dialog.js +17 -13
  117. package/dist/esm/components/DialogBody/DialogBody.js +13 -7
  118. package/dist/esm/components/DialogFooter/DialogFooter.js +13 -7
  119. package/dist/esm/components/DialogFullscreen/DialogFullscreen.js +19 -0
  120. package/dist/esm/components/DialogHeader/DialogHeader.js +13 -7
  121. package/dist/esm/components/Divider/Divider.js +10 -5
  122. package/dist/esm/components/Drawer/Drawer.js +29 -17
  123. package/dist/esm/components/FavouriteAction/FavouriteAction.js +23 -0
  124. package/dist/esm/components/Hyperlink/Hyperlink.js +15 -10
  125. package/dist/esm/components/Icon/Icon.js +13 -7
  126. package/dist/esm/components/IconButton/IconButton.js +16 -18
  127. package/dist/esm/components/IconButtonGroup/IconButtonGroup.js +15 -0
  128. package/dist/esm/components/InlineAlert/InlineAlert.js +18 -0
  129. package/dist/esm/components/Input/Input.js +20 -13
  130. package/dist/esm/components/InteractiveCard/InteractiveCard.js +39 -25
  131. package/dist/esm/components/LinkButton/LinkButton.js +15 -10
  132. package/dist/esm/components/List/List.js +14 -0
  133. package/dist/esm/components/ListItem/ListItem.js +19 -0
  134. package/dist/esm/components/Loader/Loader.js +25 -18
  135. package/dist/esm/components/Logo/Logo.js +11 -6
  136. package/dist/esm/components/MainTitle/MainTitle.js +28 -15
  137. package/dist/esm/components/MapPin/MapPin.js +13 -9
  138. package/dist/esm/components/MediaControl/MediaControl.js +17 -9
  139. package/dist/esm/components/Modal/Modal.js +43 -38
  140. package/dist/esm/components/NavigationControls/NavigationControls.js +15 -0
  141. package/dist/esm/components/PasswordInput/PasswordInput.js +32 -38
  142. package/dist/esm/components/PickerItem/PickerItem.js +15 -18
  143. package/dist/esm/components/Radio/Radio.js +21 -12
  144. package/dist/esm/components/RadioButton/RadioButton.js +15 -8
  145. package/dist/esm/components/RadioButtonGroup/RadioButtonGroup.js +15 -8
  146. package/dist/esm/components/Rating/Rating.js +12 -7
  147. package/dist/esm/components/Search/Search.js +13 -7
  148. package/dist/esm/components/SearchInput/SearchInput.js +31 -45
  149. package/dist/esm/components/SecondaryNavigation/SecondaryNavigation.js +25 -15
  150. package/dist/esm/components/SegmentedControl/SegmentedControl.js +16 -10
  151. package/dist/esm/components/Select/Select.js +9 -5
  152. package/dist/esm/components/Selection/Selection.js +11 -6
  153. package/dist/esm/components/SidebarNavigation/SidebarNavigation.js +29 -13
  154. package/dist/esm/components/Skeleton/Skeleton.js +13 -0
  155. package/dist/esm/components/Slider/Slider.js +16 -14
  156. package/dist/esm/components/StaticBox/StaticBox.js +16 -18
  157. package/dist/esm/components/Stepper/Stepper.js +9 -5
  158. package/dist/esm/components/Table/Table.js +15 -0
  159. package/dist/esm/components/TableCell/TableCell.js +15 -0
  160. package/dist/esm/components/TableRow/TableRow.js +15 -0
  161. package/dist/esm/components/Tabs/Tabs.js +28 -16
  162. package/dist/esm/components/Tag/Tag.js +16 -10
  163. package/dist/esm/components/Text/Text.js +13 -7
  164. package/dist/esm/components/TextInput/TextInput.js +34 -43
  165. package/dist/esm/components/Textarea/Textarea.js +36 -56
  166. package/dist/esm/components/ThemeProvider/ThemeProvider.js +9 -5
  167. package/dist/esm/components/Toast/Toast.js +14 -13
  168. package/dist/esm/components/ToastMessage/ToastMessage.js +16 -12
  169. package/dist/esm/components/ToggleButton/ToggleButton.js +14 -10
  170. package/dist/esm/components/ToggleSwitch/ToggleSwitch.js +29 -19
  171. package/dist/esm/components/Tooltip/Tooltip.js +27 -14
  172. package/dist/esm/components/ValueUnit/ValueUnit.js +21 -0
  173. package/dist/esm/components/index.js +76 -0
  174. package/dist/esm/hooks/index.js +5 -0
  175. package/dist/esm/hooks/useBreakpoint.js +41 -40
  176. package/dist/esm/hooks/useEventListeners.js +20 -25
  177. package/dist/esm/hooks/useHandleEvent.js +24 -24
  178. package/dist/esm/hooks/useLoadScript.js +1 -0
  179. package/dist/esm/hooks/useResizeObserver/useResizeObserver.js +13 -13
  180. package/dist/esm/index.js +83 -126
  181. package/dist/esm/node_modules/.pnpm/@emotion_is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +7 -0
  182. package/dist/esm/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +9 -0
  183. package/dist/esm/node_modules/.pnpm/styled-components@6.4.1_css-to-react-native@3.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js +700 -0
  184. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js +4 -0
  185. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Middleware.js +40 -0
  186. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js +95 -0
  187. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Prefixer.js +115 -0
  188. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js +21 -0
  189. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.js +113 -0
  190. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.js +42 -0
  191. package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +8 -0
  192. package/dist/types/components/BreadcrumbsItem/BreadcrumbsItem.d.ts +16 -0
  193. package/dist/types/components/Calendar/Calendar.d.ts +12 -0
  194. package/dist/types/components/CheckboxGroup/CheckboxGroup.d.ts +16 -0
  195. package/dist/types/components/DatePicker/DatePicker.d.ts +16 -0
  196. package/dist/types/components/FavouriteAction/FavouriteAction.d.ts +10 -0
  197. package/dist/types/components/IconButtonGroup/IconButtonGroup.d.ts +9 -0
  198. package/dist/types/components/InlineAlert/InlineAlert.d.ts +9 -0
  199. package/dist/types/components/List/List.d.ts +9 -0
  200. package/dist/types/components/ListItem/ListItem.d.ts +10 -0
  201. package/dist/types/components/MainTitle/MainTitle.d.ts +1 -1
  202. package/dist/types/components/NavigationControls/NavigationControls.d.ts +9 -0
  203. package/dist/types/components/Skeleton/Skeleton.d.ts +7 -0
  204. package/dist/types/components/Slider/Slider.d.ts +4 -0
  205. package/dist/types/components/Table/Table.d.ts +9 -0
  206. package/dist/types/components/TableCell/TableCell.d.ts +9 -0
  207. package/dist/types/components/TableRow/TableRow.d.ts +9 -0
  208. package/dist/types/components/Tag/Tag.d.ts +4 -5
  209. package/dist/types/components/Text/Text.d.ts +2 -2
  210. package/dist/types/components/TextInput/TextInput.d.ts +1 -0
  211. package/dist/types/components/Textarea/Textarea.d.ts +1 -0
  212. package/dist/types/components/ValueUnit/ValueUnit.d.ts +10 -0
  213. package/dist/types/components/index.d.ts +19 -0
  214. package/package.json +21 -16
  215. package/dist/cjs/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.cjs +0 -1
  216. package/dist/cjs/node_modules/.pnpm/@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +0 -1
  217. package/dist/cjs/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +0 -1
  218. package/dist/cjs/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.cjs +0 -60
  219. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.cjs +0 -1
  220. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Middleware.cjs +0 -1
  221. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.cjs +0 -1
  222. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.cjs +0 -1
  223. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.cjs +0 -1
  224. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Tokenizer.cjs +0 -1
  225. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Utility.cjs +0 -1
  226. package/dist/cjs/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.cjs +0 -1
  227. package/dist/esm/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +0 -10
  228. package/dist/esm/node_modules/.pnpm/@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
  229. package/dist/esm/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -52
  230. package/dist/esm/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js +0 -572
  231. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js +0 -12
  232. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Middleware.js +0 -49
  233. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.js +0 -131
  234. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.js +0 -187
  235. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.js +0 -27
  236. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Tokenizer.js +0 -147
  237. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Utility.js +0 -56
  238. package/dist/esm/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +0 -18
  239. package/dist/types/components/Accordion/stories/CupraDiagonal.stories.d.ts +0 -5
  240. package/dist/types/components/Avatar/stories/CupraDiagonal.stories.d.ts +0 -8
  241. package/dist/types/components/Badge/stories/CupraDiagonal.stories.d.ts +0 -8
  242. package/dist/types/components/BasicCard/stories/CupraDiagonal.stories.d.ts +0 -7
  243. package/dist/types/components/BasicCardHeader/stories/CupraDiagonal.stories.d.ts +0 -5
  244. package/dist/types/components/BasicCardImage/stories/CupraDiagonal.stories.d.ts +0 -5
  245. package/dist/types/components/BasicCardSection/stories/CupraDiagonal.stories.d.ts +0 -5
  246. package/dist/types/components/Button/stories/CupraDiagonal.stories.d.ts +0 -19
  247. package/dist/types/components/CarouselIndicator/stories/CupraDiagonal.stories.d.ts +0 -8
  248. package/dist/types/components/Checkbox/stories/CupraDiagonal.stories.d.ts +0 -20
  249. package/dist/types/components/Chip/stories/CupraDiagonal.stories.d.ts +0 -7
  250. package/dist/types/components/Chips/stories/CupraDiagonal.stories.d.ts +0 -5
  251. package/dist/types/components/Currency/stories/CupraDiagonal.stories.d.ts +0 -13
  252. package/dist/types/components/Dialog/stories/CupraDiagonal.stories.d.ts +0 -5
  253. package/dist/types/components/DialogBody/stories/CupraDiagonal.stories.d.ts +0 -5
  254. package/dist/types/components/DialogFooter/stories/CupraDiagonal.stories.d.ts +0 -5
  255. package/dist/types/components/DialogFullscreen/stories/CupraDiagonal.stories.d.ts +0 -5
  256. package/dist/types/components/DialogHeader/stories/CupraDiagonal.stories.d.ts +0 -5
  257. package/dist/types/components/Divider/stories/CupraDiagonal.stories.d.ts +0 -8
  258. package/dist/types/components/Drawer/stories/CupraDiagonal.stories.d.ts +0 -6
  259. package/dist/types/components/Icon/stories/CupraDiagonal.stories.d.ts +0 -5
  260. package/dist/types/components/IconButton/stories/CupraDiagonal.stories.d.ts +0 -13
  261. package/dist/types/components/InteractiveCard/stories/CupraDiagonal.stories.d.ts +0 -9
  262. package/dist/types/components/LinkButton/stories/CupraDiagonal.stories.d.ts +0 -9
  263. package/dist/types/components/Logo/stories/CupraDiagonal.stories.d.ts +0 -10
  264. package/dist/types/components/MainTitle/stories/CupraDiagonal.stories.d.ts +0 -9
  265. package/dist/types/components/MapPin/stories/CupraDiagonal.stories.d.ts +0 -7
  266. package/dist/types/components/MediaControl/stories/CupraDiagonal.stories.d.ts +0 -6
  267. package/dist/types/components/PasswordInput/stories/CupraDiagonal.stories.d.ts +0 -11
  268. package/dist/types/components/PickerItem/stories/CupraDiagonal.stories.d.ts +0 -12
  269. package/dist/types/components/RadioButton/stories/CupraDiagonal.stories.d.ts +0 -12
  270. package/dist/types/components/RadioButtonGroup/stories/CupraDiagonal.stories.d.ts +0 -5
  271. package/dist/types/components/Rating/stories/CupraDiagonal.stories.d.ts +0 -10
  272. package/dist/types/components/SearchInput/stories/CupraDiagonal.stories.d.ts +0 -5
  273. package/dist/types/components/SecondaryNavigation/stories/CupraDiagonal.stories.d.ts +0 -5
  274. package/dist/types/components/SegmentedControl/stories/CupraDiagonal.stories.d.ts +0 -7
  275. package/dist/types/components/Select/stories/CupraDiagonal.stories.d.ts +0 -5
  276. package/dist/types/components/SidebarNavigation/stories/CupraDiagonal.stories.d.ts +0 -5
  277. package/dist/types/components/Slider/stories/CupraDiagonal.stories.d.ts +0 -5
  278. package/dist/types/components/StaticBox/stories/CupraDiagonal.stories.d.ts +0 -5
  279. package/dist/types/components/Stepper/stories/CupraDiagonal.stories.d.ts +0 -9
  280. package/dist/types/components/Tabs/stories/CupraDiagonal.stories.d.ts +0 -8
  281. package/dist/types/components/Tag/stories/CupraDiagonal.stories.d.ts +0 -8
  282. package/dist/types/components/Text/stories/CupraDiagonal.stories.d.ts +0 -5
  283. package/dist/types/components/TextInput/stories/CupraDiagonal.stories.d.ts +0 -8
  284. package/dist/types/components/Textarea/stories/CupraDiagonal.stories.d.ts +0 -11
  285. package/dist/types/components/Toast/stories/CupraDiagonal.stories.d.ts +0 -10
  286. package/dist/types/components/ToastMessage/stories/CupraDiagonal.stories.d.ts +0 -12
  287. package/dist/types/components/ToggleSwitch/stories/CupraDiagonal.stories.d.ts +0 -10
  288. package/dist/types/components/Tooltip/stories/CupraDiagonal.stories.d.ts +0 -5
@@ -1,27 +1,41 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import "@cupra/ui-kit/react/utils/breakpoints";
3
- import "react";
4
- import { useHandleEvent as u } from "../../hooks/useHandleEvent.js";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
5
5
  import "@cupra/ui-kit/react/ds-interactive-card";
6
- function e(t) {
7
- const { className: d, children: v, onClick: m, ...C } = t, { ref: p } = u({ click: m });
8
- return /* @__PURE__ */ r("ds-interactive-card-react", { ref: p, class: d, ...C, children: v });
6
+ //#region src/components/InteractiveCard/InteractiveCard.tsx
7
+ var r = `ds-interactive-card${t}`;
8
+ function i(t) {
9
+ let { className: i, children: a, onClick: o, ...s } = t, { ref: c } = e({ click: o });
10
+ return /* @__PURE__ */ n(r, {
11
+ ref: c,
12
+ class: i,
13
+ ...s,
14
+ children: a
15
+ });
9
16
  }
10
- const a = ({ children: t }) => /* @__PURE__ */ r("div", { slot: "title", children: t }), i = ({ children: t }) => /* @__PURE__ */ r("div", { slot: "subtitle", children: t }), n = ({ children: t }) => /* @__PURE__ */ r("div", { slot: "meta", children: t }), o = ({ children: t }) => /* @__PURE__ */ r("div", { slot: "content", children: t }), l = ({ children: t }) => /* @__PURE__ */ r("div", { slot: "cta", children: t }), s = ({ children: t }) => /* @__PURE__ */ r("div", { slot: "error-title", children: t }), c = ({ children: t }) => /* @__PURE__ */ r("div", { slot: "error-text", children: t });
11
- e.Title = a;
12
- e.Subtitle = i;
13
- e.Meta = n;
14
- e.Content = o;
15
- e.Cta = l;
16
- e.ErrorTitle = s;
17
- e.ErrorText = c;
18
- a.displayName = "InteractiveCard.Title";
19
- i.displayName = "InteractiveCard.Subtitle";
20
- n.displayName = "InteractiveCard.Meta";
21
- o.displayName = "InteractiveCard.Content";
22
- l.displayName = "InteractiveCard.Cta";
23
- s.displayName = "InteractiveCard.ErrorTitle";
24
- c.displayName = "InteractiveCard.ErrorText";
25
- export {
26
- e as InteractiveCard
27
- };
17
+ var a = ({ children: e }) => /* @__PURE__ */ n("div", {
18
+ slot: "title",
19
+ children: e
20
+ }), o = ({ children: e }) => /* @__PURE__ */ n("div", {
21
+ slot: "subtitle",
22
+ children: e
23
+ }), s = ({ children: e }) => /* @__PURE__ */ n("div", {
24
+ slot: "meta",
25
+ children: e
26
+ }), c = ({ children: e }) => /* @__PURE__ */ n("div", {
27
+ slot: "content",
28
+ children: e
29
+ }), l = ({ children: e }) => /* @__PURE__ */ n("div", {
30
+ slot: "cta",
31
+ children: e
32
+ }), u = ({ children: e }) => /* @__PURE__ */ n("div", {
33
+ slot: "error-title",
34
+ children: e
35
+ }), d = ({ children: e }) => /* @__PURE__ */ n("div", {
36
+ slot: "error-text",
37
+ children: e
38
+ });
39
+ i.Title = a, i.Subtitle = o, i.Meta = s, i.Content = c, i.Cta = l, i.ErrorTitle = u, i.ErrorText = d, a.displayName = "InteractiveCard.Title", o.displayName = "InteractiveCard.Subtitle", s.displayName = "InteractiveCard.Meta", c.displayName = "InteractiveCard.Content", l.displayName = "InteractiveCard.Cta", u.displayName = "InteractiveCard.ErrorTitle", d.displayName = "InteractiveCard.ErrorText";
40
+ //#endregion
41
+ export { i as InteractiveCard };
@@ -1,12 +1,17 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import "@cupra/ui-kit/react/ds-link-button";
3
- import "@cupra/ui-kit/react/utils/breakpoints";
4
- import "react";
5
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
6
- function s({ children: t, onClick: o, ...r }) {
7
- const { ref: n } = e({ click: o });
8
- return /* @__PURE__ */ i("ds-link-button-react", { ref: n, ...r, children: t });
2
+ import "../../hooks/index.js";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
5
+ import "@cupra/ui-kit/react/ds-link-button";
6
+ //#region src/components/LinkButton/LinkButton.tsx
7
+ var r = `ds-link-button${t}`;
8
+ function i({ children: t, onClick: i, ...a }) {
9
+ let { ref: o } = e({ click: i });
10
+ return /* @__PURE__ */ n(r, {
11
+ ref: o,
12
+ ...a,
13
+ children: t
14
+ });
9
15
  }
10
- export {
11
- s as LinkButton
12
- };
16
+ //#endregion
17
+ export { i as LinkButton };
@@ -0,0 +1,14 @@
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import "@cupra/ui-kit/react/ds-list";
4
+ //#region src/components/List/List.tsx
5
+ var n = `ds-list${e}`;
6
+ function r({ className: e, children: r, ...i }) {
7
+ return /* @__PURE__ */ t(n, {
8
+ class: e,
9
+ ...i,
10
+ children: r
11
+ });
12
+ }
13
+ //#endregion
14
+ export { r as List };
@@ -0,0 +1,19 @@
1
+ import { Divider as e } from "../Divider/Divider.js";
2
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import "@cupra/ui-kit/react/ds-list-item";
5
+ //#region src/components/ListItem/ListItem.tsx
6
+ var i = `ds-list-item${t}`;
7
+ function a({ className: t, children: a, selected: o, disabled: s, variant: c, ...l }) {
8
+ let u = { ...l };
9
+ return c && (u.variant = c), o && (u.selected = !0), s && (u.disabled = !0), /* @__PURE__ */ r("div", {
10
+ style: { width: "fit-content" },
11
+ children: [/* @__PURE__ */ n(i, {
12
+ className: t,
13
+ ...u,
14
+ children: a
15
+ }), c !== "info" && /* @__PURE__ */ n(e, {})]
16
+ });
17
+ }
18
+ //#endregion
19
+ export { a as ListItem };
@@ -1,27 +1,34 @@
1
- import { jsx as o } from "react/jsx-runtime";
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-loader-bar";
3
4
  import "@cupra/ui-kit/react/ds-loader-dots";
4
5
  import "@cupra/ui-kit/react/ds-loader-logo";
5
6
  import "@cupra/ui-kit/react/ds-loader-spinner";
6
- function t(r) {
7
- return /* @__PURE__ */ o("ds-loader-logo-react", { ...r });
7
+ //#region src/components/Loader/Loader.tsx
8
+ var n = `ds-loader-logo${e}`, r = `ds-loader-bar${e}`, i = `ds-loader-dots${e}`, a = `ds-loader-spinner${e}`;
9
+ function o(e) {
10
+ return /* @__PURE__ */ t(n, { ...e });
8
11
  }
9
- function e(r) {
10
- return /* @__PURE__ */ o("ds-loader-bar-react", { ...r });
12
+ function s(e) {
13
+ return /* @__PURE__ */ t(r, { ...e });
11
14
  }
12
- function n(r) {
13
- return /* @__PURE__ */ o("ds-loader-dots-react", { ...r });
15
+ function c(e) {
16
+ return /* @__PURE__ */ t(i, { ...e });
14
17
  }
15
- function d(r) {
16
- return /* @__PURE__ */ o("ds-loader-spinner-react", { ...r, children: r.text && /* @__PURE__ */ o("div", { slot: "text", children: r.text }) });
18
+ function l(e) {
19
+ return /* @__PURE__ */ t(a, {
20
+ ...e,
21
+ children: e.text && /* @__PURE__ */ t("div", {
22
+ slot: "text",
23
+ children: e.text
24
+ })
25
+ });
17
26
  }
18
- const u = {
19
- Logo: t,
20
- Bar: e,
21
- Dots: n,
22
- Spinner: d
23
- };
24
- export {
25
- u as Loader,
26
- t as LoaderLogo
27
+ var u = {
28
+ Logo: o,
29
+ Bar: s,
30
+ Dots: c,
31
+ Spinner: l
27
32
  };
33
+ //#endregion
34
+ export { u as Loader, o as LoaderLogo };
@@ -1,9 +1,14 @@
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
1
2
  import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-logo";
3
- function a(o) {
4
- const { className: r, children: c, ...s } = o;
5
- return /* @__PURE__ */ t("ds-logo-react", { class: r, ...s });
4
+ //#region src/components/Logo/Logo.tsx
5
+ var n = `ds-logo${e}`;
6
+ function r(e) {
7
+ let { className: r, children: i, ...a } = e;
8
+ return /* @__PURE__ */ t(n, {
9
+ class: r,
10
+ ...a
11
+ });
6
12
  }
7
- export {
8
- a as Logo
9
- };
13
+ //#endregion
14
+ export { r as Logo };
@@ -1,19 +1,32 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-main-title";
3
- function n(t) {
4
- const { className: r, children: i, ...o } = t;
5
- return /* @__PURE__ */ e("ds-main-title-react", { class: r, ...o, children: i });
4
+ //#region src/components/MainTitle/MainTitle.tsx
5
+ var n = `ds-main-title${e}`;
6
+ function r(e) {
7
+ let { className: r, children: i, ...a } = e;
8
+ return /* @__PURE__ */ t(n, {
9
+ class: r,
10
+ ...a,
11
+ children: i
12
+ });
6
13
  }
7
- function s(t) {
8
- const { as: r, children: i, ...o } = t;
9
- return /* @__PURE__ */ e(r, { slot: "title", ...o, children: i });
14
+ function i(e) {
15
+ let { as: n, children: r, ...i } = e;
16
+ return /* @__PURE__ */ t(n, {
17
+ slot: "title",
18
+ ...i,
19
+ children: r
20
+ });
10
21
  }
11
- function c(t) {
12
- const { as: r, children: i, ...o } = t;
13
- return /* @__PURE__ */ e(r, { slot: "description", ...o, children: i });
22
+ function a(e) {
23
+ let { as: n, children: r, ...i } = e;
24
+ return /* @__PURE__ */ t(n, {
25
+ slot: "subtitle",
26
+ ...i,
27
+ children: r
28
+ });
14
29
  }
15
- n.Title = s;
16
- n.Description = c;
17
- export {
18
- n as MainTitle
19
- };
30
+ r.Title = i, r.Subtitle = a;
31
+ //#endregion
32
+ export { r as MainTitle };
@@ -1,12 +1,16 @@
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
1
4
  import { jsx as n } from "react/jsx-runtime";
2
- import "@cupra/ui-kit/react/utils/breakpoints";
3
- import "react";
4
- import { useHandleEvent as p } from "../../hooks/useHandleEvent.js";
5
5
  import "@cupra/ui-kit/react/ds-map-pin";
6
- function f({ onChange: r, ...t }) {
7
- const { ref: o } = p({ change: r });
8
- return /* @__PURE__ */ n("ds-map-pin-react", { ref: o, ...t });
6
+ //#region src/components/MapPin/MapPin.tsx
7
+ var r = `ds-map-pin${t}`;
8
+ function i({ onChange: t, ...i }) {
9
+ let { ref: a } = e({ change: t });
10
+ return /* @__PURE__ */ n(r, {
11
+ ref: a,
12
+ ...i
13
+ });
9
14
  }
10
- export {
11
- f as MapPin
12
- };
15
+ //#endregion
16
+ export { i as MapPin };
@@ -1,12 +1,20 @@
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
1
4
  import { jsx as n } from "react/jsx-runtime";
2
- import "@cupra/ui-kit/react/utils/breakpoints";
3
- import "react";
4
- import { useHandleEvent as m } from "../../hooks/useHandleEvent.js";
5
5
  import "@cupra/ui-kit/react/ds-media-control";
6
- function u(o) {
7
- const { className: r, onPlay: t, onPause: e, ...s } = o, { ref: a } = m({ "ds-media-control:play": t, "ds-media-control:pause": e });
8
- return /* @__PURE__ */ n("ds-media-control-react", { ref: a, class: r, ...s });
6
+ //#region src/components/MediaControl/MediaControl.tsx
7
+ var r = `ds-media-control${t}`;
8
+ function i(t) {
9
+ let { className: i, onPlay: a, onPause: o, ...s } = t, { ref: c } = e({
10
+ "ds-media-control:play": a,
11
+ "ds-media-control:pause": o
12
+ });
13
+ return /* @__PURE__ */ n(r, {
14
+ ref: c,
15
+ class: i,
16
+ ...s
17
+ });
9
18
  }
10
- export {
11
- u as MediaControl
12
- };
19
+ //#endregion
20
+ export { i as MediaControl };
@@ -1,13 +1,14 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import "@cupra/ui-kit/react/utils/breakpoints";
3
- import "react";
4
- import { useHandleEvent as f } from "../../hooks/useHandleEvent.js";
5
- import p from "../../node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { yt as t } from "../../node_modules/.pnpm/styled-components@6.4.1_css-to-react-native@3.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js";
4
+ import { VERSION_TAG_SUFFIX as n } from "@cupra/ui-kit";
5
+ import { jsx as r } from "react/jsx-runtime";
6
+ import { createPortal as i } from "react-dom";
6
7
  import "@cupra/ui-kit/react/ds-modal";
7
- import { createPortal as C } from "react-dom";
8
- function e() {
9
- }
10
- const k = p.div`
8
+ //#region src/components/Modal/Modal.tsx
9
+ var a = `ds-modal${n}`;
10
+ function o() {}
11
+ var s = t.div`
11
12
  margin: 0;
12
13
  width: 100%;
13
14
  height: 100%;
@@ -16,36 +17,40 @@ const k = p.div`
16
17
  left: 50%;
17
18
  transform: translate(-50%, -50%);
18
19
  `;
19
- function l(t) {
20
- const {
21
- children: o,
22
- onClickCloseButton: i = e,
23
- onClickConfirmButton: s = e,
24
- onClickCancelButton: u = e,
25
- className: m,
26
- withPortal: a,
27
- ...r
28
- } = t, { ref: d } = f({
29
- "click-close-button": i,
30
- "click-confirm-button": s,
31
- "click-cancel-button": u
32
- });
33
- if (!r.open) return null;
34
- const c = /* @__PURE__ */ n("ds-modal-react", { ref: d, class: m, ...r, children: o });
35
- return a ? C(c, document.body) : c;
20
+ function c(t) {
21
+ let { children: n, onClickCloseButton: s = o, onClickConfirmButton: c = o, onClickCancelButton: l = o, className: u, withPortal: d, ...f } = t, { ref: p } = e({
22
+ "click-close-button": s,
23
+ "click-confirm-button": c,
24
+ "click-cancel-button": l
25
+ });
26
+ if (!f.open) return null;
27
+ let m = /* @__PURE__ */ r(a, {
28
+ ref: p,
29
+ class: u,
30
+ ...f,
31
+ children: n
32
+ });
33
+ return d ? i(m, document.body) : m;
36
34
  }
37
- function b({ children: t }) {
38
- return /* @__PURE__ */ n("div", { slot: "title", children: t });
35
+ function l({ children: e }) {
36
+ return /* @__PURE__ */ r("div", {
37
+ slot: "title",
38
+ children: e
39
+ });
39
40
  }
40
- function h({ className: t = "", children: o }) {
41
- return /* @__PURE__ */ n("div", { slot: "content", className: `ds-scroll ${t}`.trim(), children: o });
41
+ function u({ className: e = "", children: t }) {
42
+ return /* @__PURE__ */ r("div", {
43
+ slot: "content",
44
+ className: `ds-scroll ${e}`.trim(),
45
+ children: t
46
+ });
42
47
  }
43
- function v({ children: t }) {
44
- return /* @__PURE__ */ n(k, { slot: "content", children: t });
48
+ function d({ children: e }) {
49
+ return /* @__PURE__ */ r(s, {
50
+ slot: "content",
51
+ children: e
52
+ });
45
53
  }
46
- l.Title = b;
47
- l.Content = h;
48
- l.FullScreenContent = v;
49
- export {
50
- l as Modal
51
- };
54
+ c.Title = l, c.Content = u, c.FullScreenContent = d;
55
+ //#endregion
56
+ export { c as Modal };
@@ -0,0 +1,15 @@
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import "@cupra/ui-kit/react/ds-navigation-controls";
4
+ //#region src/components/NavigationControls/NavigationControls.tsx
5
+ var n = `ds-navigation-controls${e}`;
6
+ function r(e) {
7
+ let { className: r, children: i, ...a } = e;
8
+ return /* @__PURE__ */ t(n, {
9
+ class: r,
10
+ ...a,
11
+ children: i
12
+ });
13
+ }
14
+ //#endregion
15
+ export { r as NavigationControls };
@@ -1,40 +1,34 @@
1
- import { jsxs as x, jsx as i } from "react/jsx-runtime";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
2
5
  import "@cupra/ui-kit/react/ds-password-input";
3
- import "@cupra/ui-kit/react/utils/breakpoints";
4
- import "react";
5
- import { useHandleEvent as b } from "../../hooks/useHandleEvent.js";
6
- function L(l) {
7
- const {
8
- className: d,
9
- children: w,
10
- onChange: c,
11
- onInput: u,
12
- inputId: e,
13
- placeHolder: r,
14
- value: t,
15
- label: m,
16
- required: n,
17
- disabled: o,
18
- pattern: p,
19
- maxLength: s,
20
- minLength: a,
21
- ...h
22
- } = l, { ref: f } = b({ change: c, input: u }), g = {
23
- type: "password",
24
- ...!!e && { id: e },
25
- ...!!r && { placeholder: r },
26
- ...!!t && { value: t },
27
- ...!!n && { required: n },
28
- ...!!o && { disabled: o },
29
- ...!!a && { minLength: a },
30
- ...!!s && { maxLength: s },
31
- ...!!p && { pattern: p }
32
- };
33
- return /* @__PURE__ */ x("ds-password-input-react", { ref: f, class: d, ...h, children: [
34
- /* @__PURE__ */ i("label", { htmlFor: e, children: m }),
35
- /* @__PURE__ */ i("input", { ...g })
36
- ] });
6
+ //#region src/components/PasswordInput/PasswordInput.tsx
7
+ var i = `ds-password-input${t}`;
8
+ function a(t) {
9
+ let { className: a, children: o, onChange: s, onInput: c, inputId: l, placeHolder: u, value: d, label: f, required: p, disabled: m, pattern: h, maxLength: g, minLength: _, ...v } = t, { ref: y } = e({
10
+ change: s,
11
+ input: c
12
+ }), b = {
13
+ type: "password",
14
+ ...!!l && { id: l },
15
+ ...!!u && { placeholder: u },
16
+ ...!!d && { value: d },
17
+ ...!!p && { required: p },
18
+ ...!!m && { disabled: m },
19
+ ...!!_ && { minLength: _ },
20
+ ...!!g && { maxLength: g },
21
+ ...!!h && { pattern: h }
22
+ };
23
+ return /* @__PURE__ */ r(i, {
24
+ ref: y,
25
+ class: a,
26
+ ...v,
27
+ children: [/* @__PURE__ */ n("label", {
28
+ htmlFor: l,
29
+ children: f
30
+ }), /* @__PURE__ */ n("input", { ...b })]
31
+ });
37
32
  }
38
- export {
39
- L as PasswordInput
40
- };
33
+ //#endregion
34
+ export { a as PasswordInput };
@@ -1,21 +1,18 @@
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
1
3
  import { jsx as n } from "react/jsx-runtime";
2
4
  import "@cupra/ui-kit/react/ds-picker-item";
3
- import { useHandleEvent as m } from "../../hooks/useHandleEvent.js";
4
- function a(r) {
5
- const { className: i, children: t, onClick: s, size: e, ...c } = r, { ref: o } = m({
6
- "ds-picker-item:click": s
7
- });
8
- return /* @__PURE__ */ n(
9
- "ds-picker-item-react",
10
- {
11
- ref: o,
12
- size: typeof e == "string" ? e : JSON.stringify(e),
13
- class: i,
14
- ...c,
15
- children: t
16
- }
17
- );
5
+ //#region src/components/PickerItem/PickerItem.tsx
6
+ var r = `ds-picker-item${t}`;
7
+ function i(t) {
8
+ let { className: i, children: a, onClick: o, size: s, ...c } = t, { ref: l } = e({ "ds-picker-item:click": o });
9
+ return /* @__PURE__ */ n(r, {
10
+ ref: l,
11
+ size: typeof s == "string" ? s : JSON.stringify(s),
12
+ class: i,
13
+ ...c,
14
+ children: a
15
+ });
18
16
  }
19
- export {
20
- a as PickerItem
21
- };
17
+ //#endregion
18
+ export { i as PickerItem };
@@ -1,15 +1,24 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import "@cupra/ui-kit/react/utils/breakpoints";
3
- import "react";
4
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
5
5
  import "@cupra/ui-kit/react/ds-radio";
6
- const i = ({ children: o, onChange: r, className: t, ...a }) => {
7
- const { ref: n } = e({ change: r });
8
- return /* @__PURE__ */ s("ds-radio-group-react", { ref: n, class: t, ...a, children: o });
9
- }, c = ({ children: o, className: r, ...t }) => /* @__PURE__ */ s("ds-radio-react", { class: r, ...t, children: o }), l = {
10
- Group: i,
11
- Button: c
12
- };
13
- export {
14
- l as Radio
6
+ //#region src/components/Radio/Radio.tsx
7
+ var r = `ds-radio-group${t}`, i = `ds-radio${t}`, a = {
8
+ Group: ({ children: t, onChange: i, className: a, ...o }) => {
9
+ let { ref: s } = e({ change: i });
10
+ return /* @__PURE__ */ n(r, {
11
+ ref: s,
12
+ class: a,
13
+ ...o,
14
+ children: t
15
+ });
16
+ },
17
+ Button: ({ children: e, className: t, ...r }) => /* @__PURE__ */ n(i, {
18
+ class: t,
19
+ ...r,
20
+ children: e
21
+ })
15
22
  };
23
+ //#endregion
24
+ export { a as Radio };
@@ -1,10 +1,17 @@
1
- import { jsx as a } from "react/jsx-runtime";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
3
+ import { jsx as n } from "react/jsx-runtime";
2
4
  import "@cupra/ui-kit/react/ds-radio-button";
3
- import { useHandleEvent as c } from "../../hooks/useHandleEvent.js";
4
- function p(o) {
5
- const { className: t, children: r, onChange: n, ...e } = o, { ref: s } = c({ change: n });
6
- return /* @__PURE__ */ a("ds-radio-button-react", { ref: s, class: t, ...e, children: r });
5
+ //#region src/components/RadioButton/RadioButton.tsx
6
+ var r = `ds-radio-button${t}`;
7
+ function i(t) {
8
+ let { className: i, children: a, onChange: o, ...s } = t, { ref: c } = e({ change: o });
9
+ return /* @__PURE__ */ n(r, {
10
+ ref: c,
11
+ class: i,
12
+ ...s,
13
+ children: a
14
+ });
7
15
  }
8
- export {
9
- p as RadioButton
10
- };
16
+ //#endregion
17
+ export { i as RadioButton };
@@ -1,10 +1,17 @@
1
- import { jsx as a } from "react/jsx-runtime";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
3
+ import { jsx as n } from "react/jsx-runtime";
2
4
  import "@cupra/ui-kit/react/ds-radio-button-group";
3
- import { useHandleEvent as c } from "../../hooks/useHandleEvent.js";
4
- function m(o) {
5
- const { className: r, children: t, onChange: n, ...e } = o, { ref: s } = c({ change: n });
6
- return /* @__PURE__ */ a("ds-radio-button-group-react", { ref: s, class: r, ...e, children: t });
5
+ //#region src/components/RadioButtonGroup/RadioButtonGroup.tsx
6
+ var r = `ds-radio-button-group${t}`;
7
+ function i(t) {
8
+ let { className: i, children: a, onChange: o, ...s } = t, { ref: c } = e({ change: o });
9
+ return /* @__PURE__ */ n(r, {
10
+ ref: c,
11
+ class: i,
12
+ ...s,
13
+ children: a
14
+ });
7
15
  }
8
- export {
9
- m as RadioButtonGroup
10
- };
16
+ //#endregion
17
+ export { i as RadioButtonGroup };