@cupra/ui-react 2.0.0-canary.12 → 2.0.0-canary.121

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