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

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
@@ -0,0 +1,700 @@
1
+ import { isPropValid as e } from "../../../../@emotion_is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js";
2
+ import "../../../../stylis@4.3.6/node_modules/stylis/src/Enum.js";
3
+ import { compile as t } from "../../../../stylis@4.3.6/node_modules/stylis/src/Parser.js";
4
+ import { serialize as n, stringify as r } from "../../../../stylis@4.3.6/node_modules/stylis/src/Serializer.js";
5
+ import { middleware as i, prefixer as a, rulesheet as o } from "../../../../stylis@4.3.6/node_modules/stylis/src/Middleware.js";
6
+ import s, { createElement as c } from "react";
7
+ //#region ../../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
8
+ var l = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", u = "active", d = "data-styled-version", f = "6.4.1", p = "/*!sc*/\n", m = typeof window < "u" && typeof document < "u";
9
+ function h(e) {
10
+ if (typeof process < "u" && process.env !== void 0) {
11
+ let t = process.env[e];
12
+ if (t !== void 0 && t !== "") return t !== "false";
13
+ }
14
+ }
15
+ var g = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : h("REACT_APP_SC_DISABLE_SPEEDY") ?? h("SC_DISABLE_SPEEDY") ?? (typeof process > "u" || process.env === void 0 || process.env.NODE_ENV !== "production")), _ = "sc-keyframes-", v = process.env.NODE_ENV === "production" ? {} : {
16
+ 1: "Cannot create styled-component for component: %s.\n\n",
17
+ 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
18
+ 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
19
+ 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
20
+ 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
21
+ 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
22
+ 7: "ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n",
23
+ 8: "ThemeProvider: Please make your \"theme\" prop an object.\n\n",
24
+ 9: "Missing document `<head>`\n\n",
25
+ 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
26
+ 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
27
+ 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://styled-components.com/docs/api#css\n\n",
28
+ 13: "%s is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
29
+ 14: "ThemeProvider: \"theme\" prop is required.\n\n",
30
+ 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
31
+ 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
32
+ 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n\n",
33
+ 18: "Accessing `useTheme` hook outside of a `<ThemeProvider>` element.\n\n```jsx\nimport { useTheme } from 'styled-components';\nexport function StyledCompoent({ children }) {\n const theme = useTheme();\n return <div style={{ width: theme.sizes.full }}>{children}</div>;\n}\n\nimport { StyledComponent } from './StyledComponent';\nimport { theme } from './theme';\nexport function App() {\n return (\n <ThemeProvider theme={theme}>\n <StyledComponent />\n </ThemeProvider>\n );\n}\n```\n\nIf you need access to the theme in an uncertain composition scenario, `React.useContext(ThemeContext)` will not emit an error if there is no `ThemeProvider` ancestor.\n"
34
+ };
35
+ function y(e, ...t) {
36
+ return process.env.NODE_ENV === "production" ? /* @__PURE__ */ Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length > 0 ? ` Args: ${t.join(", ")}` : ""}`) : Error(function(...e) {
37
+ let t = e[0], n = [];
38
+ for (let t = 1, r = e.length; t < r; t += 1) n.push(e[t]);
39
+ return n.forEach((e) => {
40
+ t = t.replace(/%[a-z]/, e);
41
+ }), t;
42
+ }(v[e], ...t).trim());
43
+ }
44
+ var b = 1 << 30, x = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), C = 1, w = (e) => {
45
+ if (x.has(e)) return x.get(e);
46
+ for (; S.has(C);) C++;
47
+ let t = C++;
48
+ if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > b)) throw y(16, `${t}`);
49
+ return x.set(e, t), S.set(t, e), t;
50
+ }, ee = (e) => S.get(e), te = (e, t) => {
51
+ C = t + 1, x.set(e, t), S.set(t, e);
52
+ }, ne = /invalid hook call/i, T = /* @__PURE__ */ new Set(), re = (e, t) => {
53
+ if (process.env.NODE_ENV !== "production") {
54
+ let n = `The component ${e}${t ? ` with the id of "${t}"` : ""} has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.\nSee https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.\n`, r = console.error;
55
+ try {
56
+ let e = !0;
57
+ console.error = (t, ...i) => {
58
+ ne.test(t) ? (e = !1, T.delete(n)) : r(t, ...i);
59
+ }, typeof s.useState == "function" && s.useState(null), e && !T.has(n) && (console.warn(n), T.add(n));
60
+ } catch (e) {
61
+ ne.test(e.message) && T.delete(n);
62
+ } finally {
63
+ console.error = r;
64
+ }
65
+ }
66
+ }, E = Object.freeze([]), D = Object.freeze({});
67
+ function ie(e, t, n = D) {
68
+ return e.theme !== n.theme && e.theme || t || n.theme;
69
+ }
70
+ var ae = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, oe = /(^-|-$)/g;
71
+ function O(e) {
72
+ return e.replace(ae, "-").replace(oe, "");
73
+ }
74
+ var se = /(a)(d)/gi, k = (e) => String.fromCharCode(e + (e > 25 ? 39 : 97));
75
+ function A(e) {
76
+ let t, n = "";
77
+ for (t = Math.abs(e); t > 52; t = t / 52 | 0) n = k(t % 52) + n;
78
+ return (k(t % 52) + n).replace(se, "$1-$2");
79
+ }
80
+ var j = 5381, M = (e, t) => {
81
+ let n = t.length;
82
+ for (; n;) e = 33 * e ^ t.charCodeAt(--n);
83
+ return e;
84
+ }, ce = (e) => M(j, e);
85
+ function le(e) {
86
+ return A(ce(e) >>> 0);
87
+ }
88
+ function N(e) {
89
+ return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
90
+ }
91
+ function P(e) {
92
+ return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
93
+ }
94
+ function ue(e) {
95
+ return P(e) ? `styled.${e}` : `Styled(${N(e)})`;
96
+ }
97
+ var de = Symbol.for("react.memo"), fe = Symbol.for("react.forward_ref"), pe = {
98
+ contextType: !0,
99
+ defaultProps: !0,
100
+ displayName: !0,
101
+ getDerivedStateFromError: !0,
102
+ getDerivedStateFromProps: !0,
103
+ propTypes: !0,
104
+ type: !0
105
+ }, me = {
106
+ name: !0,
107
+ length: !0,
108
+ prototype: !0,
109
+ caller: !0,
110
+ callee: !0,
111
+ arguments: !0,
112
+ arity: !0
113
+ }, F = {
114
+ $$typeof: !0,
115
+ compare: !0,
116
+ defaultProps: !0,
117
+ displayName: !0,
118
+ propTypes: !0,
119
+ type: !0
120
+ }, he = {
121
+ [fe]: {
122
+ $$typeof: !0,
123
+ render: !0,
124
+ defaultProps: !0,
125
+ displayName: !0,
126
+ propTypes: !0
127
+ },
128
+ [de]: F
129
+ };
130
+ function I(e) {
131
+ return ("type" in (t = e) && t.type.$$typeof) === de ? F : "$$typeof" in e ? he[e.$$typeof] : pe;
132
+ var t;
133
+ }
134
+ var ge = Object.defineProperty, _e = Object.getOwnPropertyNames, ve = Object.getOwnPropertySymbols, ye = Object.getOwnPropertyDescriptor, be = Object.getPrototypeOf, xe = Object.prototype;
135
+ function L(e, t, n) {
136
+ if (typeof t != "string") {
137
+ let r = be(t);
138
+ r && r !== xe && L(e, r, n);
139
+ let i = _e(t).concat(ve(t)), a = I(e), o = I(t);
140
+ for (let r = 0; r < i.length; ++r) {
141
+ let s = i[r];
142
+ if (!(s in me || n && n[s] || o && s in o || a && s in a)) {
143
+ let n = ye(t, s);
144
+ try {
145
+ ge(e, s, n);
146
+ } catch {}
147
+ }
148
+ }
149
+ }
150
+ return e;
151
+ }
152
+ function R(e) {
153
+ return typeof e == "function";
154
+ }
155
+ function z(e) {
156
+ return typeof e == "object" && "styledComponentId" in e;
157
+ }
158
+ function B(e, t) {
159
+ return e && t ? e + " " + t : e || t || "";
160
+ }
161
+ function Se(e, t) {
162
+ return e.join(t || "");
163
+ }
164
+ function V(e) {
165
+ return typeof e == "object" && !!e && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
166
+ }
167
+ function H(e, t, n = !1) {
168
+ if (!n && !V(e) && !Array.isArray(e)) return t;
169
+ if (Array.isArray(t)) for (let n = 0; n < t.length; n++) e[n] = H(e[n], t[n]);
170
+ else if (V(t)) for (let n in t) e[n] = H(e[n], t[n]);
171
+ return e;
172
+ }
173
+ function Ce(e, t) {
174
+ Object.defineProperty(e, "toString", { value: t });
175
+ }
176
+ var we = class {
177
+ constructor(e) {
178
+ this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e, this._cGroup = 0, this._cIndex = 0;
179
+ }
180
+ indexOfGroup(e) {
181
+ if (e === this._cGroup) return this._cIndex;
182
+ let t = this._cIndex;
183
+ if (e > this._cGroup) for (let n = this._cGroup; n < e; n++) t += this.groupSizes[n];
184
+ else for (let n = this._cGroup - 1; n >= e; n--) t -= this.groupSizes[n];
185
+ return this._cGroup = e, this._cIndex = t, t;
186
+ }
187
+ insertRules(e, t) {
188
+ if (e >= this.groupSizes.length) {
189
+ let t = this.groupSizes, n = t.length, r = n;
190
+ for (; e >= r;) if (r <<= 1, r < 0) throw y(16, `${e}`);
191
+ this.groupSizes = new Uint32Array(r), this.groupSizes.set(t), this.length = r;
192
+ for (let e = n; e < r; e++) this.groupSizes[e] = 0;
193
+ }
194
+ let n = this.indexOfGroup(e + 1), r = 0;
195
+ for (let i = 0, a = t.length; i < a; i++) this.tag.insertRule(n, t[i]) && (this.groupSizes[e]++, n++, r++);
196
+ r > 0 && this._cGroup > e && (this._cIndex += r);
197
+ }
198
+ clearGroup(e) {
199
+ if (e < this.length) {
200
+ let t = this.groupSizes[e], n = this.indexOfGroup(e), r = n + t;
201
+ this.groupSizes[e] = 0;
202
+ for (let e = n; e < r; e++) this.tag.deleteRule(n);
203
+ t > 0 && this._cGroup > e && (this._cIndex -= t);
204
+ }
205
+ }
206
+ getGroup(e) {
207
+ let t = "";
208
+ if (e >= this.length || this.groupSizes[e] === 0) return t;
209
+ let n = this.groupSizes[e], r = this.indexOfGroup(e), i = r + n;
210
+ for (let e = r; e < i; e++) t += this.tag.getRule(e) + p;
211
+ return t;
212
+ }
213
+ }, Te = `style[${l}][${d}="${f}"]`, Ee = RegExp(`^${l}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`), De = (e) => typeof ShadowRoot < "u" && e instanceof ShadowRoot || "host" in e && e.nodeType === 11, U = (e) => {
214
+ if (!e) return document;
215
+ if (De(e)) return e;
216
+ if ("getRootNode" in e) {
217
+ let t = e.getRootNode();
218
+ if (De(t)) return t;
219
+ }
220
+ return document;
221
+ }, Oe = (e, t, n) => {
222
+ let r = n.split(","), i;
223
+ for (let n = 0, a = r.length; n < a; n++) (i = r[n]) && e.registerName(t, i);
224
+ }, ke = (e, t) => {
225
+ let n = (t.textContent ?? "").split(p), r = [];
226
+ for (let t = 0, i = n.length; t < i; t++) {
227
+ let i = n[t].trim();
228
+ if (!i) continue;
229
+ let a = i.match(Ee);
230
+ if (a) {
231
+ let t = 0 | parseInt(a[1], 10), n = a[2];
232
+ t !== 0 && (te(n, t), Oe(e, n, a[3]), e.getTag().insertRules(t, r)), r.length = 0;
233
+ } else r.push(i);
234
+ }
235
+ }, W = (e) => {
236
+ let t = U(e.options.target).querySelectorAll(Te);
237
+ for (let n = 0, r = t.length; n < r; n++) {
238
+ let r = t[n];
239
+ r && r.getAttribute(l) !== u && (ke(e, r), r.parentNode && r.parentNode.removeChild(r));
240
+ }
241
+ }, G = !1;
242
+ function Ae() {
243
+ if (!1 !== G) return G;
244
+ if (typeof document < "u") {
245
+ let e = document.head.querySelector("meta[property=\"csp-nonce\"]");
246
+ if (e) return G = e.nonce || e.getAttribute("content") || void 0;
247
+ let t = document.head.querySelector("meta[name=\"sc-nonce\"]");
248
+ if (t) return G = t.getAttribute("content") || void 0;
249
+ }
250
+ return G = typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : void 0;
251
+ }
252
+ var je = (e, t) => {
253
+ let n = document.head, r = e || n, i = document.createElement("style"), a = ((e) => {
254
+ let t = Array.from(e.querySelectorAll(`style[${l}]`));
255
+ return t[t.length - 1];
256
+ })(r), o = a === void 0 ? null : a.nextSibling;
257
+ i.setAttribute(l, u), i.setAttribute(d, f);
258
+ let s = t || Ae();
259
+ return s && i.setAttribute("nonce", s), r.insertBefore(i, o), i;
260
+ }, Me = class {
261
+ constructor(e, t) {
262
+ this.element = je(e, t), this.element.appendChild(document.createTextNode("")), this.sheet = ((e) => {
263
+ if (e.sheet) return e.sheet;
264
+ let t = e.getRootNode().styleSheets ?? document.styleSheets;
265
+ for (let n = 0, r = t.length; n < r; n++) {
266
+ let r = t[n];
267
+ if (r.ownerNode === e) return r;
268
+ }
269
+ throw y(17);
270
+ })(this.element), this.length = 0;
271
+ }
272
+ insertRule(e, t) {
273
+ try {
274
+ return this.sheet.insertRule(t, e), this.length++, !0;
275
+ } catch {
276
+ return !1;
277
+ }
278
+ }
279
+ deleteRule(e) {
280
+ this.sheet.deleteRule(e), this.length--;
281
+ }
282
+ getRule(e) {
283
+ let t = this.sheet.cssRules[e];
284
+ return t && t.cssText ? t.cssText : "";
285
+ }
286
+ }, Ne = class {
287
+ constructor(e, t) {
288
+ this.element = je(e, t), this.nodes = this.element.childNodes, this.length = 0;
289
+ }
290
+ insertRule(e, t) {
291
+ if (e <= this.length && e >= 0) {
292
+ let n = document.createTextNode(t);
293
+ return this.element.insertBefore(n, this.nodes[e] || null), this.length++, !0;
294
+ }
295
+ return !1;
296
+ }
297
+ deleteRule(e) {
298
+ this.element.removeChild(this.nodes[e]), this.length--;
299
+ }
300
+ getRule(e) {
301
+ return e < this.length ? this.nodes[e].textContent : "";
302
+ }
303
+ }, Pe = m, Fe = {
304
+ isServer: !m,
305
+ useCSSOMInjection: !g
306
+ }, Ie = class e {
307
+ static registerId(e) {
308
+ return w(e);
309
+ }
310
+ constructor(e = D, t = {}, n) {
311
+ this.options = Object.assign(Object.assign({}, Fe), e), this.gs = t, this.keyframeIds = /* @__PURE__ */ new Set(), this.names = new Map(n), this.server = !!e.isServer, !this.server && m && Pe && (Pe = !1, W(this)), Ce(this, () => ((e) => {
312
+ let t = e.getTag(), { length: n } = t, r = "";
313
+ for (let i = 0; i < n; i++) {
314
+ let n = ee(i);
315
+ if (n === void 0) continue;
316
+ let a = e.names.get(n);
317
+ if (a === void 0 || !a.size) continue;
318
+ let o = t.getGroup(i);
319
+ if (o.length === 0) continue;
320
+ let s = l + ".g" + i + "[id=\"" + n + "\"]", c = "";
321
+ for (let e of a) e.length > 0 && (c += e + ",");
322
+ r += o + s + "{content:\"" + c + "\"}/*!sc*/\n";
323
+ }
324
+ return r;
325
+ })(this));
326
+ }
327
+ rehydrate() {
328
+ !this.server && m && W(this);
329
+ }
330
+ reconstructWithOptions(t, n = !0) {
331
+ let r = new e(Object.assign(Object.assign({}, this.options), t), this.gs, n && this.names || void 0);
332
+ return r.keyframeIds = new Set(this.keyframeIds), !this.server && m && t.target !== this.options.target && U(this.options.target) !== U(t.target) && W(r), r;
333
+ }
334
+ allocateGSInstance(e) {
335
+ return this.gs[e] = (this.gs[e] || 0) + 1;
336
+ }
337
+ getTag() {
338
+ return this.tag ||= (e = (({ useCSSOMInjection: e, target: t, nonce: n }) => e ? new Me(t, n) : new Ne(t, n))(this.options), new we(e));
339
+ var e;
340
+ }
341
+ hasNameForId(e, t) {
342
+ var n;
343
+ return (n = this.names.get(e)?.has(t)) != null && n;
344
+ }
345
+ registerName(e, t) {
346
+ w(e), e.startsWith(_) && this.keyframeIds.add(e);
347
+ let n = this.names.get(e);
348
+ n ? n.add(t) : this.names.set(e, new Set([t]));
349
+ }
350
+ insertRules(e, t, n) {
351
+ this.registerName(e, t), this.getTag().insertRules(w(e), n);
352
+ }
353
+ clearNames(e) {
354
+ this.names.has(e) && this.names.get(e).clear();
355
+ }
356
+ clearRules(e) {
357
+ this.getTag().clearGroup(w(e)), this.clearNames(e);
358
+ }
359
+ clearTag() {
360
+ this.tag = void 0;
361
+ }
362
+ }, Le = /* @__PURE__ */ new WeakSet(), Re = {
363
+ animationIterationCount: 1,
364
+ aspectRatio: 1,
365
+ borderImageOutset: 1,
366
+ borderImageSlice: 1,
367
+ borderImageWidth: 1,
368
+ columnCount: 1,
369
+ columns: 1,
370
+ flex: 1,
371
+ flexGrow: 1,
372
+ flexShrink: 1,
373
+ gridRow: 1,
374
+ gridRowEnd: 1,
375
+ gridRowSpan: 1,
376
+ gridRowStart: 1,
377
+ gridColumn: 1,
378
+ gridColumnEnd: 1,
379
+ gridColumnSpan: 1,
380
+ gridColumnStart: 1,
381
+ fontWeight: 1,
382
+ lineHeight: 1,
383
+ opacity: 1,
384
+ order: 1,
385
+ orphans: 1,
386
+ scale: 1,
387
+ tabSize: 1,
388
+ widows: 1,
389
+ zIndex: 1,
390
+ zoom: 1,
391
+ WebkitLineClamp: 1,
392
+ fillOpacity: 1,
393
+ floodOpacity: 1,
394
+ stopOpacity: 1,
395
+ strokeDasharray: 1,
396
+ strokeDashoffset: 1,
397
+ strokeMiterlimit: 1,
398
+ strokeOpacity: 1,
399
+ strokeWidth: 1
400
+ };
401
+ function ze(e, t) {
402
+ return t == null || typeof t == "boolean" || t === "" ? "" : typeof t != "number" || t === 0 || e in Re || e.startsWith("--") ? String(t).trim() : t + "px";
403
+ }
404
+ var K = 47;
405
+ function Be(e) {
406
+ if (e.charCodeAt(0) === 45 && e.charCodeAt(1) === 45) return e;
407
+ let t = "";
408
+ for (let n = 0; n < e.length; n++) {
409
+ let r = e.charCodeAt(n);
410
+ t += r >= 65 && r <= 90 ? "-" + String.fromCharCode(r + 32) : e[n];
411
+ }
412
+ return t.startsWith("ms-") ? "-" + t : t;
413
+ }
414
+ var Ve = Symbol.for("sc-keyframes");
415
+ function q(e) {
416
+ return typeof e == "object" && !!e && Ve in e;
417
+ }
418
+ function He(e) {
419
+ return R(e) && !(e.prototype && e.prototype.isReactComponent);
420
+ }
421
+ var Ue = (e) => e == null || !1 === e || e === "", We = Symbol.for("react.client.reference");
422
+ function Ge(e) {
423
+ return e.$$typeof === We;
424
+ }
425
+ function Ke(e) {
426
+ let t = e.$$id, n = (t && t.includes("#") ? t.split("#").pop() : t) || e.name || "unknown";
427
+ console.warn(`Interpolating a client component (${n}) as a selector is not supported in server components. The component selector pattern requires access to the component's internal class name, which is not available across the server/client boundary. Use a plain CSS class selector instead.`);
428
+ }
429
+ function qe(e, t) {
430
+ for (let n in e) {
431
+ let r = e[n];
432
+ e.hasOwnProperty(n) && !Ue(r) && (Array.isArray(r) && Le.has(r) || R(r) ? t.push(Be(n) + ":", r, ";") : V(r) ? (t.push(n + " {"), qe(r, t), t.push("}")) : t.push(Be(n) + ": " + ze(n, r) + ";"));
433
+ }
434
+ }
435
+ function J(e, t, n, r, i = []) {
436
+ if (Ue(e)) return i;
437
+ let a = typeof e;
438
+ if (a === "string") return i.push(e), i;
439
+ if (a === "function") {
440
+ if (Ge(e)) return process.env.NODE_ENV !== "production" && Ke(e), i;
441
+ if (He(e) && t) {
442
+ let a = e(t);
443
+ return process.env.NODE_ENV === "production" || typeof a != "object" || Array.isArray(a) || q(a) || V(a) || a === null || console.error(`${N(e)} is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.`), J(a, t, n, r, i);
444
+ }
445
+ return i.push(e), i;
446
+ }
447
+ if (Array.isArray(e)) {
448
+ for (let a = 0; a < e.length; a++) J(e[a], t, n, r, i);
449
+ return i;
450
+ }
451
+ return z(e) ? (i.push(`.${e.styledComponentId}`), i) : q(e) ? (n ? (e.inject(n, r), i.push(e.getName(r))) : i.push(e), i) : Ge(e) ? (process.env.NODE_ENV !== "production" && Ke(e), i) : V(e) ? (qe(e, i), i) : (i.push(e.toString()), i);
452
+ }
453
+ var Je = ce(f), Ye = class {
454
+ constructor(e, t, n) {
455
+ this.rules = e, this.componentId = t, this.baseHash = M(Je, t), this.baseStyle = n, Ie.registerId(t);
456
+ }
457
+ generateAndInjectStyles(e, t, n) {
458
+ let r = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, t, n) : "";
459
+ {
460
+ let i = "";
461
+ for (let r = 0; r < this.rules.length; r++) {
462
+ let a = this.rules[r];
463
+ if (typeof a == "string") i += a;
464
+ else if (a) if (He(a)) {
465
+ let r = a(e);
466
+ typeof r == "string" ? i += r : r != null && !1 !== r && (process.env.NODE_ENV === "production" || typeof r != "object" || Array.isArray(r) || q(r) || V(r) || console.error(`${N(a)} is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.`), i += Se(J(r, e, t, n)));
467
+ } else i += Se(J(a, e, t, n));
468
+ }
469
+ if (i) {
470
+ this.dynamicNameCache ||= /* @__PURE__ */ new Map();
471
+ let e = n.hash ? n.hash + i : i, a = this.dynamicNameCache.get(e);
472
+ if (!a) {
473
+ if (a = A(M(M(this.baseHash, n.hash), i) >>> 0), this.dynamicNameCache.size >= 200) {
474
+ let e = this.dynamicNameCache.keys().next().value;
475
+ e !== void 0 && this.dynamicNameCache.delete(e);
476
+ }
477
+ this.dynamicNameCache.set(e, a);
478
+ }
479
+ if (!t.hasNameForId(this.componentId, a)) {
480
+ let e = n(i, "." + a, void 0, this.componentId);
481
+ t.insertRules(this.componentId, a, e);
482
+ }
483
+ r = B(r, a);
484
+ }
485
+ }
486
+ return r;
487
+ }
488
+ }, Xe = /&/g;
489
+ function Ze(e, t) {
490
+ let n = 0;
491
+ for (; --t >= 0 && e.charCodeAt(t) === 92;) n++;
492
+ return !(1 & ~n);
493
+ }
494
+ function Y(e) {
495
+ let t = e.length, n = "", r = 0, i = 0, a = 0, o = !1, s = !1;
496
+ for (let c = 0; c < t; c++) {
497
+ let l = e.charCodeAt(c);
498
+ if (a !== 0 || o || l !== K || e.charCodeAt(c + 1) !== 42) if (o) l === 42 && e.charCodeAt(c + 1) === K && (o = !1, c++);
499
+ else if (l !== 34 && l !== 39 || Ze(e, c)) {
500
+ if (a === 0) if (l === 123) i++;
501
+ else if (l === 125) {
502
+ if (i--, i < 0) {
503
+ s = !0;
504
+ let n = c + 1;
505
+ for (; n < t;) {
506
+ let t = e.charCodeAt(n);
507
+ if (t === 59 || t === 10) break;
508
+ n++;
509
+ }
510
+ n < t && e.charCodeAt(n) === 59 && n++, i = 0, c = n - 1, r = n;
511
+ continue;
512
+ }
513
+ i === 0 && (n += e.substring(r, c + 1), r = c + 1);
514
+ } else l === 59 && i === 0 && (n += e.substring(r, c + 1), r = c + 1);
515
+ } else a === 0 ? a = l : a === l && (a = 0);
516
+ else o = !0, c++;
517
+ }
518
+ return s || i !== 0 || a !== 0 ? (r < t && i === 0 && a === 0 && (n += e.substring(r)), n) : e;
519
+ }
520
+ function Qe(e, t) {
521
+ let n = t + " ", r = "," + n;
522
+ for (let i = 0; i < e.length; i++) {
523
+ let a = e[i];
524
+ if (a.type === "rule") {
525
+ a.value = (n + a.value).replaceAll(",", r);
526
+ let e = a.props, t = [];
527
+ for (let r = 0; r < e.length; r++) t[r] = n + e[r];
528
+ a.props = t;
529
+ }
530
+ Array.isArray(a.children) && a.type !== "@keyframes" && Qe(a.children, t);
531
+ }
532
+ return e;
533
+ }
534
+ function $e({ options: e = D, plugins: s = E } = D) {
535
+ let c, l, u, d = (e, t, n) => n.startsWith(l) && n.endsWith(l) && n.replaceAll(l, "").length > 0 ? `.${c}` : e, f = s.slice();
536
+ f.push((e) => {
537
+ e.type === "rule" && e.value.includes("&") && (u ||= RegExp(`\\${l}\\b`, "g"), e.props[0] = e.props[0].replace(Xe, l).replace(u, d));
538
+ }), e.prefix && f.push(a), f.push(r);
539
+ let p = [], m = i(f.concat(o((e) => p.push(e)))), h = (r, i = "", a = "", o = "&") => {
540
+ c = o, l = i, u = void 0;
541
+ let s = function(e) {
542
+ let t = e.indexOf("//") !== -1, n = e.indexOf("}") !== -1;
543
+ if (!t && !n) return e;
544
+ if (!t) return Y(e);
545
+ let r = e.length, i = "", a = 0, o = 0, s = 0, c = 0, l = 0, u = !1;
546
+ for (; o < r;) {
547
+ let t = e.charCodeAt(o);
548
+ if (t !== 34 && t !== 39 || Ze(e, o)) if (s === 0) if (t === K && o + 1 < r && e.charCodeAt(o + 1) === 42) {
549
+ for (o += 2; o + 1 < r && (e.charCodeAt(o) !== 42 || e.charCodeAt(o + 1) !== K);) o++;
550
+ o += 2;
551
+ } else if (t !== 40) if (t !== 41) if (c > 0) o++;
552
+ else if (t === 42 && o + 1 < r && e.charCodeAt(o + 1) === K) i += e.substring(a, o), o += 2, a = o, u = !0;
553
+ else if (t === K && o + 1 < r && e.charCodeAt(o + 1) === K) {
554
+ for (i += e.substring(a, o); o < r && e.charCodeAt(o) !== 10;) o++;
555
+ a = o, u = !0;
556
+ } else t === 123 ? l++ : t === 125 && l--, o++;
557
+ else c > 0 && c--, o++;
558
+ else c++, o++;
559
+ else o++;
560
+ else s === 0 ? s = t : s === t && (s = 0), o++;
561
+ }
562
+ return u ? (a < r && (i += e.substring(a)), l === 0 ? i : Y(i)) : l === 0 ? e : Y(e);
563
+ }(r), d = t(a || i ? a + " " + i + " { " + s + " }" : s);
564
+ return e.namespace && (d = Qe(d, e.namespace)), p = [], n(d, m), p;
565
+ }, g = e, _ = j;
566
+ for (let e = 0; e < s.length; e++) s[e].name || y(15), _ = M(_, s[e].name);
567
+ return g != null && g.namespace && (_ = M(_, g.namespace)), g != null && g.prefix && (_ = M(_, "p")), h.hash = _ === j ? "" : _.toString(), h;
568
+ }
569
+ var et = new Ie(), tt = $e(), nt = s.createContext({
570
+ shouldForwardProp: void 0,
571
+ styleSheet: et,
572
+ stylis: tt,
573
+ stylisPlugins: void 0
574
+ });
575
+ nt.Consumer;
576
+ function rt() {
577
+ return s.useContext(nt);
578
+ }
579
+ var it = s.createContext(void 0);
580
+ it.Consumer;
581
+ var at = Object.prototype.hasOwnProperty, X = {};
582
+ function ot(e, t) {
583
+ let n = typeof e == "string" ? O(e) : "sc";
584
+ X[n] = (X[n] || 0) + 1;
585
+ let r = n + "-" + le(f + n + X[n]);
586
+ return t ? t + "-" + r : r;
587
+ }
588
+ var st;
589
+ function ct(t, n, r) {
590
+ let i = z(t), a = t, o = !P(t), { attrs: l = E, componentId: u = ot(n.displayName, n.parentComponentId), displayName: d = ue(t) } = n, f = n.displayName && n.componentId ? O(n.displayName) + "-" + n.componentId : n.componentId || u, p = i && a.attrs ? a.attrs.concat(l).filter(Boolean) : l, { shouldForwardProp: m } = n;
591
+ if (i && a.shouldForwardProp) {
592
+ let e = a.shouldForwardProp;
593
+ if (n.shouldForwardProp) {
594
+ let t = n.shouldForwardProp;
595
+ m = (n, r) => e(n, r) && t(n, r);
596
+ } else m = e;
597
+ }
598
+ let h = new Ye(r, f, i ? a.componentStyle : void 0);
599
+ function g(t, n) {
600
+ return function(t, n, r) {
601
+ let { attrs: i, componentStyle: a, defaultProps: o, foldedComponentIds: l, styledComponentId: u, target: d } = t, f = s.useContext(it), p = rt(), m = t.shouldForwardProp || p.shouldForwardProp;
602
+ process.env.NODE_ENV !== "production" && s.useDebugValue && s.useDebugValue(u);
603
+ let h = ie(n, f, o) || D, g, _;
604
+ {
605
+ let e = s.useRef(null), t = e.current;
606
+ if (t !== null && t[1] === h && t[2] === p.styleSheet && t[3] === p.stylis && t[7] === a && function(e, t, n) {
607
+ let r = e, i = t, a = 0;
608
+ for (let e in i) if (at.call(i, e) && (a++, r[e] !== i[e])) return !1;
609
+ return a === n;
610
+ }(t[0], n, t[4])) g = t[5], _ = t[6];
611
+ else {
612
+ g = function(e, t, n) {
613
+ let r = Object.assign(Object.assign({}, t), {
614
+ className: void 0,
615
+ theme: n
616
+ }), i = e.length > 1;
617
+ for (let n = 0; n < e.length; n++) {
618
+ let a = e[n], o = R(a) ? a(i ? Object.assign({}, r) : r) : a;
619
+ for (let e in o) e === "className" ? r.className = B(r.className, o[e]) : e === "style" ? r.style = Object.assign(Object.assign({}, r.style), o[e]) : e in t && t[e] === void 0 || (r[e] = o[e]);
620
+ }
621
+ return "className" in t && typeof t.className == "string" && (r.className = B(r.className, t.className)), r;
622
+ }(i, n, h), _ = function(e, t, n, r) {
623
+ let i = e.generateAndInjectStyles(t, n, r);
624
+ return process.env.NODE_ENV !== "production" && s.useDebugValue && s.useDebugValue(i), i;
625
+ }(a, g, p.styleSheet, p.stylis);
626
+ let t = 0;
627
+ for (let e in n) at.call(n, e) && t++;
628
+ e.current = [
629
+ n,
630
+ h,
631
+ p.styleSheet,
632
+ p.stylis,
633
+ t,
634
+ g,
635
+ _,
636
+ a
637
+ ];
638
+ }
639
+ }
640
+ process.env.NODE_ENV !== "production" && t.warnTooManyClasses && t.warnTooManyClasses(_);
641
+ let v = g.as || d, y = function(t, n, r, i) {
642
+ let a = {};
643
+ for (let o in t) t[o] === void 0 || o[0] === "$" || o === "as" || o === "theme" && t.theme === r || (o === "forwardedAs" ? a.as = t.forwardedAs : i && !i(o, n) || (a[o] = t[o], i || process.env.NODE_ENV !== "development" || e(o) || (st ||= /* @__PURE__ */ new Set()).has(o) || !P(n) || n.includes("-") || (st.add(o), console.warn(`styled-components: it looks like an unknown prop "${o}" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via \`<StyleSheetManager shouldForwardProp={...}>\` (connect an API like \`@emotion/is-prop-valid\`) or consider using transient props (\`$\` prefix for automatic filtering.)`))));
644
+ return a;
645
+ }(g, v, h, m), b = B(l, u);
646
+ return _ && (b += " " + _), g.className && (b += " " + g.className), y[P(v) && v.includes("-") ? "class" : "className"] = b, r && (y.ref = r), c(v, y);
647
+ }(_, t, n);
648
+ }
649
+ g.displayName = d;
650
+ let _ = s.forwardRef(g);
651
+ return _.attrs = p, _.componentStyle = h, _.displayName = d, _.shouldForwardProp = m, _.foldedComponentIds = i ? B(a.foldedComponentIds, a.styledComponentId) : "", _.styledComponentId = f, _.target = i ? a.target : t, Object.defineProperty(_, "defaultProps", {
652
+ get() {
653
+ return this._foldedDefaultProps;
654
+ },
655
+ set(e) {
656
+ this._foldedDefaultProps = i ? function(e, ...t) {
657
+ for (let n of t) H(e, n, !0);
658
+ return e;
659
+ }({}, a.defaultProps, e) : e;
660
+ }
661
+ }), process.env.NODE_ENV !== "production" && (re(d, f), _.warnTooManyClasses = ((e, t) => {
662
+ let n = {}, r = !1;
663
+ return (i) => {
664
+ !r && (n[i] = !0, Object.keys(n).length >= 200) && (console.warn(`Over 200 classes were generated for component ${e}${t ? ` with the id of "${t}"` : ""}.\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))\`width: 100%;\`\n\n <Component />`), r = !0, n = {});
665
+ };
666
+ })(d, f)), Ce(_, () => `.${_.styledComponentId}`), o && L(_, t, {
667
+ attrs: !0,
668
+ componentStyle: !0,
669
+ displayName: !0,
670
+ foldedComponentIds: !0,
671
+ shouldForwardProp: !0,
672
+ styledComponentId: !0,
673
+ target: !0
674
+ }), _;
675
+ }
676
+ var lt = new Set(/* @__PURE__ */ "a.abbr.address.area.article.aside.audio.b.bdi.bdo.blockquote.body.button.br.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.label.legend.li.main.map.mark.menu.meter.nav.object.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.slot.small.span.strong.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.foreignObject.g.image.line.linearGradient.marker.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.switch.symbol.text.textPath.tspan.use".split("."));
677
+ function ut(e, t) {
678
+ let n = [e[0]];
679
+ for (let r = 0, i = t.length; r < i; r += 1) n.push(t[r], e[r + 1]);
680
+ return n;
681
+ }
682
+ var dt = (e) => (Le.add(e), e);
683
+ function ft(e, ...t) {
684
+ if (R(e) || V(e)) return dt(J(ut(E, [e, ...t])));
685
+ let n = e;
686
+ return t.length === 0 && n.length === 1 && typeof n[0] == "string" ? J(n) : dt(J(ut(n, t)));
687
+ }
688
+ function Z(e, t, n = D) {
689
+ if (!t) throw y(1, t);
690
+ let r = (r, ...i) => e(t, n, ft(r, ...i));
691
+ return r.attrs = (r) => Z(e, t, Object.assign(Object.assign({}, n), { attrs: Array.prototype.concat(n.attrs, r).filter(Boolean) })), r.withConfig = (r) => Z(e, t, Object.assign(Object.assign({}, n), r)), r;
692
+ }
693
+ var pt = (e) => Z(ct, e), Q = pt;
694
+ lt.forEach((e) => {
695
+ Q[e] = pt(e);
696
+ }), process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://styled-components.com/docs/basics#react-native");
697
+ var $ = `__sc-${l}__`;
698
+ process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[$] || (window[$] = 0), window[$] === 1 && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info."), window[$] += 1), `${l}`, `${l}`;
699
+ //#endregion
700
+ export { Q as yt };