@cupra/ui-react 2.0.0-canary.125 → 2.0.0-canary.127

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 (192) hide show
  1. package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -1
  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 -1
  7. package/dist/cjs/components/BasicCardImage/BasicCardImage.cjs +1 -1
  8. package/dist/cjs/components/BasicCardSection/BasicCardSection.cjs +1 -1
  9. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.cjs +1 -1
  10. package/dist/cjs/components/BreadcrumbsItem/BreadcrumbsItem.cjs +1 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  33. package/dist/cjs/components/InlineAlert/InlineAlert.cjs +1 -1
  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 -1
  38. package/dist/cjs/components/ListItem/ListItem.cjs +1 -1
  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 -1
  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 -1
  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 -1
  64. package/dist/cjs/components/TableCell/TableCell.cjs +1 -1
  65. package/dist/cjs/components/TableRow/TableRow.cjs +1 -1
  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 -1
  78. 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
  79. 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
  80. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.cjs +1 -0
  81. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.cjs +1 -0
  82. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Prefixer.cjs +1 -0
  83. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.cjs +1 -0
  84. package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Tokenizer.cjs +1 -1
  85. package/dist/esm/components/Accordion/Accordion.js +10 -9
  86. package/dist/esm/components/Avatar/Avatar.js +13 -11
  87. package/dist/esm/components/Badge/Badge.js +8 -6
  88. package/dist/esm/components/BasicCard/BasicCard.js +13 -11
  89. package/dist/esm/components/BasicCardHeader/BasicCardHeader.js +19 -17
  90. package/dist/esm/components/BasicCardImage/BasicCardImage.js +10 -8
  91. package/dist/esm/components/BasicCardSection/BasicCardSection.js +10 -8
  92. package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +9 -8
  93. package/dist/esm/components/BreadcrumbsItem/BreadcrumbsItem.js +12 -11
  94. package/dist/esm/components/Bullets/Bullets.js +6 -5
  95. package/dist/esm/components/Button/Button.js +12 -10
  96. package/dist/esm/components/Calendar/Calendar.js +10 -8
  97. package/dist/esm/components/CarouselIndicator/CarouselIndicator.js +9 -7
  98. package/dist/esm/components/Checkbox/Checkbox.js +10 -8
  99. package/dist/esm/components/CheckboxGroup/CheckboxGroup.js +11 -9
  100. package/dist/esm/components/Chip/Chip.js +10 -8
  101. package/dist/esm/components/Chips/Chips.js +11 -9
  102. package/dist/esm/components/Currency/Currency.js +9 -7
  103. package/dist/esm/components/DatePicker/DatePicker.js +20 -18
  104. package/dist/esm/components/Dialog/Dialog.js +12 -10
  105. package/dist/esm/components/DialogBody/DialogBody.js +10 -8
  106. package/dist/esm/components/DialogFooter/DialogFooter.js +10 -8
  107. package/dist/esm/components/DialogFullscreen/DialogFullscreen.js +12 -10
  108. package/dist/esm/components/DialogHeader/DialogHeader.js +10 -8
  109. package/dist/esm/components/Divider/Divider.js +8 -6
  110. package/dist/esm/components/Drawer/Drawer.js +18 -16
  111. package/dist/esm/components/FavouriteAction/FavouriteAction.js +15 -13
  112. package/dist/esm/components/Hyperlink/Hyperlink.js +10 -8
  113. package/dist/esm/components/Icon/Icon.js +10 -8
  114. package/dist/esm/components/IconButton/IconButton.js +11 -9
  115. package/dist/esm/components/IconButtonGroup/IconButtonGroup.js +10 -8
  116. package/dist/esm/components/InlineAlert/InlineAlert.js +11 -9
  117. package/dist/esm/components/Input/Input.js +14 -13
  118. package/dist/esm/components/InteractiveCard/InteractiveCard.js +19 -17
  119. package/dist/esm/components/LinkButton/LinkButton.js +10 -8
  120. package/dist/esm/components/List/List.js +9 -7
  121. package/dist/esm/components/ListItem/ListItem.js +12 -10
  122. package/dist/esm/components/Loader/Loader.js +20 -18
  123. package/dist/esm/components/Logo/Logo.js +9 -7
  124. package/dist/esm/components/MainTitle/MainTitle.js +17 -15
  125. package/dist/esm/components/MapPin/MapPin.js +9 -7
  126. package/dist/esm/components/MediaControl/MediaControl.js +12 -10
  127. package/dist/esm/components/Modal/Modal.js +27 -25
  128. package/dist/esm/components/NavigationControls/NavigationControls.js +10 -8
  129. package/dist/esm/components/PasswordInput/PasswordInput.js +25 -23
  130. package/dist/esm/components/PickerItem/PickerItem.js +12 -10
  131. package/dist/esm/components/Radio/Radio.js +14 -12
  132. package/dist/esm/components/RadioButton/RadioButton.js +11 -9
  133. package/dist/esm/components/RadioButtonGroup/RadioButtonGroup.js +11 -9
  134. package/dist/esm/components/Rating/Rating.js +9 -7
  135. package/dist/esm/components/Search/Search.js +9 -8
  136. package/dist/esm/components/SearchInput/SearchInput.js +23 -21
  137. package/dist/esm/components/SecondaryNavigation/SecondaryNavigation.js +13 -11
  138. package/dist/esm/components/SegmentedControl/SegmentedControl.js +11 -9
  139. package/dist/esm/components/Select/Select.js +6 -5
  140. package/dist/esm/components/Selection/Selection.js +9 -7
  141. package/dist/esm/components/SidebarNavigation/SidebarNavigation.js +20 -18
  142. package/dist/esm/components/Skeleton/Skeleton.js +8 -6
  143. package/dist/esm/components/Slider/Slider.js +11 -9
  144. package/dist/esm/components/StaticBox/StaticBox.js +12 -10
  145. package/dist/esm/components/Stepper/Stepper.js +6 -5
  146. package/dist/esm/components/Table/Table.js +10 -8
  147. package/dist/esm/components/TableCell/TableCell.js +10 -8
  148. package/dist/esm/components/TableRow/TableRow.js +10 -8
  149. package/dist/esm/components/Tabs/Tabs.js +15 -13
  150. package/dist/esm/components/Tag/Tag.js +11 -9
  151. package/dist/esm/components/Text/Text.js +10 -8
  152. package/dist/esm/components/TextInput/TextInput.js +27 -25
  153. package/dist/esm/components/Textarea/Textarea.js +29 -27
  154. package/dist/esm/components/ThemeProvider/ThemeProvider.js +6 -5
  155. package/dist/esm/components/Toast/Toast.js +10 -8
  156. package/dist/esm/components/ToastMessage/ToastMessage.js +11 -9
  157. package/dist/esm/components/ToggleButton/ToggleButton.js +9 -7
  158. package/dist/esm/components/ToggleSwitch/ToggleSwitch.js +17 -15
  159. package/dist/esm/components/Tooltip/Tooltip.js +14 -13
  160. package/dist/esm/components/ValueUnit/ValueUnit.js +13 -11
  161. 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
  162. package/dist/esm/node_modules/.pnpm/{@emotion_memoize@0.8.1 → @emotion_memoize@0.9.0}/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +1 -1
  163. 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
  164. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js +4 -0
  165. package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Middleware.js +1 -1
  166. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js +95 -0
  167. package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Prefixer.js +9 -9
  168. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js +21 -0
  169. package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Tokenizer.js +2 -2
  170. package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Utility.js +1 -1
  171. package/package.json +4 -4
  172. 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
  173. package/dist/cjs/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +0 -1
  174. package/dist/cjs/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.cjs +0 -1
  175. 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 -70
  176. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.cjs +0 -1
  177. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.cjs +0 -1
  178. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.cjs +0 -1
  179. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.cjs +0 -1
  180. package/dist/cjs/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.cjs +0 -1
  181. package/dist/esm/_virtual/_rolldown/runtime.js +0 -13
  182. 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 -7
  183. package/dist/esm/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -51
  184. package/dist/esm/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.js +0 -22
  185. 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 -673
  186. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js +0 -4
  187. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.js +0 -93
  188. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.js +0 -20
  189. package/dist/esm/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +0 -13
  190. /package/dist/cjs/node_modules/.pnpm/{@emotion_memoize@0.8.1 → @emotion_memoize@0.9.0}/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +0 -0
  191. /package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Middleware.cjs +0 -0
  192. /package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Utility.cjs +0 -0
@@ -1,13 +1,15 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-chip";
3
4
  //#region src/components/Chip/Chip.tsx
4
- function t(t) {
5
- let { className: n, children: r, ...i } = t;
6
- return /* @__PURE__ */ e("ds-chip-react", {
7
- class: n,
8
- ...i,
9
- children: r
5
+ var n = `ds-chip${e}`;
6
+ function r(e) {
7
+ let { className: r, children: i, ...a } = e;
8
+ return /* @__PURE__ */ t(n, {
9
+ class: r,
10
+ ...a,
11
+ children: i
10
12
  });
11
13
  }
12
14
  //#endregion
13
- export { t as Chip };
15
+ export { r as Chip };
@@ -1,16 +1,18 @@
1
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
2
  import "../../hooks/index.js";
3
- import { jsx as t } from "react/jsx-runtime";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
4
5
  import "@cupra/ui-kit/react/ds-chips";
5
6
  //#region src/components/Chips/Chips.tsx
6
- function n(n) {
7
- let { className: r, children: i, onChange: a, ...o } = n, { ref: s } = e({ "ds-chips:change": a });
8
- return /* @__PURE__ */ t("ds-chips-react", {
9
- ref: s,
10
- class: r,
11
- ...o,
12
- children: i
7
+ var r = `ds-chips${t}`;
8
+ function i(t) {
9
+ let { className: i, children: a, onChange: o, ...s } = t, { ref: c } = e({ "ds-chips:change": o });
10
+ return /* @__PURE__ */ n(r, {
11
+ ref: c,
12
+ class: i,
13
+ ...s,
14
+ children: a
13
15
  });
14
16
  }
15
17
  //#endregion
16
- export { n as Chips };
18
+ export { i as Chips };
@@ -1,12 +1,14 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-currency";
3
4
  //#region src/components/Currency/Currency.tsx
4
- function t(t) {
5
- let { className: n, ...r } = t;
6
- return /* @__PURE__ */ e("ds-currency-react", {
7
- class: n,
8
- ...r
5
+ var n = `ds-currency${e}`;
6
+ function r(e) {
7
+ let { className: r, ...i } = e;
8
+ return /* @__PURE__ */ t(n, {
9
+ class: r,
10
+ ...i
9
11
  });
10
12
  }
11
13
  //#endregion
12
- export { t as Currency };
14
+ export { r as Currency };
@@ -1,30 +1,32 @@
1
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
2
  import "../../hooks/index.js";
3
- import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
5
  import "@cupra/ui-kit/react/ds-date-picker";
5
6
  //#region src/components/DatePicker/DatePicker.tsx
6
- function r(r) {
7
- let { className: i, children: a, onChange: o, inputId: s, value: c, label: l, required: u, disabled: d, readOnly: f, ...p } = r, { ref: m } = e({ change: o });
8
- return /* @__PURE__ */ n("ds-date-picker-react", {
9
- ref: m,
10
- class: i,
11
- ...p,
7
+ var i = `ds-date-picker${t}`;
8
+ function a(t) {
9
+ let { className: a, children: o, onChange: s, inputId: c, value: l, label: u, required: d, disabled: f, readOnly: p, ...m } = t, { ref: h } = e({ change: s });
10
+ return /* @__PURE__ */ r(i, {
11
+ ref: h,
12
+ class: a,
13
+ ...m,
12
14
  children: [
13
- /* @__PURE__ */ t("label", {
14
- htmlFor: s,
15
- children: l
15
+ /* @__PURE__ */ n("label", {
16
+ htmlFor: c,
17
+ children: u
16
18
  }),
17
- /* @__PURE__ */ t("input", {
18
- id: s,
19
+ /* @__PURE__ */ n("input", {
20
+ id: c,
19
21
  type: "date",
20
- value: c,
21
- required: u,
22
- disabled: d,
23
- readOnly: f
22
+ value: l,
23
+ required: d,
24
+ disabled: f,
25
+ readOnly: p
24
26
  }),
25
- a
27
+ o
26
28
  ]
27
29
  });
28
30
  }
29
31
  //#endregion
30
- export { r as DatePicker };
32
+ export { a as DatePicker };
@@ -1,17 +1,19 @@
1
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
2
  import "../../hooks/index.js";
3
- import { jsx as t } from "react/jsx-runtime";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
4
5
  import "@cupra/ui-kit/react/ds-dialog";
5
- import { createPortal as n } from "react-dom";
6
+ import { createPortal as r } from "react-dom";
6
7
  //#region src/components/Dialog/Dialog.tsx
7
- function r(r) {
8
- let { className: i, children: a, onClose: o, withPortal: s, ...c } = r, { ref: l } = e({ "ds-dialog:close": o }), u = /* @__PURE__ */ t("ds-dialog-react", {
9
- ref: l,
10
- class: i,
11
- ...c,
12
- children: a
8
+ var i = `ds-dialog${t}`;
9
+ function a(t) {
10
+ let { className: a, children: o, onClose: s, withPortal: c, ...l } = t, { ref: u } = e({ "ds-dialog:close": s }), d = /* @__PURE__ */ n(i, {
11
+ ref: u,
12
+ class: a,
13
+ ...l,
14
+ children: o
13
15
  });
14
- return s ? n(u, document.body) : u;
16
+ return c ? r(d, document.body) : d;
15
17
  }
16
18
  //#endregion
17
- export { r as Dialog };
19
+ export { a as Dialog };
@@ -1,13 +1,15 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-dialog-body";
3
4
  //#region src/components/DialogBody/DialogBody.tsx
4
- function t(t) {
5
- let { className: n, children: r, ...i } = t;
6
- return /* @__PURE__ */ e("ds-dialog-body-react", {
7
- class: n,
8
- ...i,
9
- children: r
5
+ var n = `ds-dialog-body${e}`;
6
+ function r(e) {
7
+ let { className: r, children: i, ...a } = e;
8
+ return /* @__PURE__ */ t(n, {
9
+ class: r,
10
+ ...a,
11
+ children: i
10
12
  });
11
13
  }
12
14
  //#endregion
13
- export { t as DialogBody };
15
+ export { r as DialogBody };
@@ -1,13 +1,15 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-dialog-footer";
3
4
  //#region src/components/DialogFooter/DialogFooter.tsx
4
- function t(t) {
5
- let { className: n, children: r, ...i } = t;
6
- return /* @__PURE__ */ e("ds-dialog-footer-react", {
7
- class: n,
8
- ...i,
9
- children: r
5
+ var n = `ds-dialog-footer${e}`;
6
+ function r(e) {
7
+ let { className: r, children: i, ...a } = e;
8
+ return /* @__PURE__ */ t(n, {
9
+ class: r,
10
+ ...a,
11
+ children: i
10
12
  });
11
13
  }
12
14
  //#endregion
13
- export { t as DialogFooter };
15
+ export { r as DialogFooter };
@@ -1,17 +1,19 @@
1
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
2
  import "../../hooks/index.js";
3
- import { jsx as t } from "react/jsx-runtime";
4
- import { createPortal as n } from "react-dom";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
5
+ import { createPortal as r } from "react-dom";
5
6
  import "@cupra/ui-kit/react/ds-dialog-fullscreen";
6
7
  //#region src/components/DialogFullscreen/DialogFullscreen.tsx
7
- function r(r) {
8
- let { className: i, children: a, onClose: o, withPortal: s, ...c } = r, { ref: l } = e({ "ds-dialog-fullscreen:close": o }), u = /* @__PURE__ */ t("ds-dialog-fullscreen-react", {
9
- ref: l,
10
- class: i,
11
- ...c,
12
- children: a
8
+ var i = `ds-dialog-fullscreen${t}`;
9
+ function a(t) {
10
+ let { className: a, children: o, onClose: s, withPortal: c, ...l } = t, { ref: u } = e({ "ds-dialog-fullscreen:close": s }), d = /* @__PURE__ */ n(i, {
11
+ ref: u,
12
+ class: a,
13
+ ...l,
14
+ children: o
13
15
  });
14
- return s ? n(u, document.body) : u;
16
+ return c ? r(d, document.body) : d;
15
17
  }
16
18
  //#endregion
17
- export { r as DialogFullscreen };
19
+ export { a as DialogFullscreen };
@@ -1,13 +1,15 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-dialog-header";
3
4
  //#region src/components/DialogHeader/DialogHeader.tsx
4
- function t(t) {
5
- let { className: n, children: r, ...i } = t;
6
- return /* @__PURE__ */ e("ds-dialog-header-react", {
7
- class: n,
8
- ...i,
9
- children: r
5
+ var n = `ds-dialog-header${e}`;
6
+ function r(e) {
7
+ let { className: r, children: i, ...a } = e;
8
+ return /* @__PURE__ */ t(n, {
9
+ class: r,
10
+ ...a,
11
+ children: i
10
12
  });
11
13
  }
12
14
  //#endregion
13
- export { t as DialogHeader };
15
+ export { r as DialogHeader };
@@ -1,11 +1,13 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-divider";
3
4
  //#region src/components/Divider/Divider.tsx
4
- function t({ className: t, ...n }) {
5
- return /* @__PURE__ */ e("ds-divider-react", {
6
- class: t,
7
- ...n
5
+ var n = `ds-divider${e}`;
6
+ function r({ className: e, ...r }) {
7
+ return /* @__PURE__ */ t(n, {
8
+ class: e,
9
+ ...r
8
10
  });
9
11
  }
10
12
  //#endregion
11
- export { t as Divider };
13
+ export { r as Divider };
@@ -1,29 +1,31 @@
1
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
- import { jsx as t } from "react/jsx-runtime";
2
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
3
+ import { jsx as n } from "react/jsx-runtime";
3
4
  import "@cupra/ui-kit/react/ds-drawer";
4
5
  //#region src/components/Drawer/Drawer.tsx
5
- function n(n) {
6
- let { className: r, children: i, onClose: a, ...o } = n, { ref: s } = e({ "ds-drawer:close": a });
7
- return /* @__PURE__ */ t("ds-drawer-react", {
8
- class: r,
9
- ref: s,
10
- ...o,
11
- children: i
6
+ var r = `ds-drawer${t}`;
7
+ function i(t) {
8
+ let { className: i, children: a, onClose: o, ...s } = t, { ref: c } = e({ "ds-drawer:close": o });
9
+ return /* @__PURE__ */ n(r, {
10
+ class: i,
11
+ ref: c,
12
+ ...s,
13
+ children: a
12
14
  });
13
15
  }
14
- var r = ({ children: e, ...n }) => /* @__PURE__ */ t("div", {
16
+ var a = ({ children: e, ...t }) => /* @__PURE__ */ n("div", {
15
17
  slot: "header",
16
- ...n,
18
+ ...t,
17
19
  children: e
18
- }), i = ({ children: e, ...n }) => /* @__PURE__ */ t("div", {
20
+ }), o = ({ children: e, ...t }) => /* @__PURE__ */ n("div", {
19
21
  slot: "content",
20
- ...n,
22
+ ...t,
21
23
  children: e
22
- }), a = ({ children: e, ...n }) => /* @__PURE__ */ t("div", {
24
+ }), s = ({ children: e, ...t }) => /* @__PURE__ */ n("div", {
23
25
  slot: "footer",
24
- ...n,
26
+ ...t,
25
27
  children: e
26
28
  });
27
- n.Header = r, n.Content = i, n.Footer = a, r.displayName = "Drawer.Header", i.displayName = "Drawer.Content", a.displayName = "Drawer.Footer";
29
+ i.Header = a, i.Content = o, i.Footer = s, a.displayName = "Drawer.Header", o.displayName = "Drawer.Content", s.displayName = "Drawer.Footer";
28
30
  //#endregion
29
- export { n as Drawer };
31
+ export { i as Drawer };
@@ -1,21 +1,23 @@
1
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
2
  import "../../hooks/index.js";
3
- import { jsx as t } from "react/jsx-runtime";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
4
5
  import "@cupra/ui-kit/react/ds-favourite-action";
5
6
  //#region src/components/FavouriteAction/FavouriteAction.tsx
6
- function n({ className: n, initialSelected: r, onChange: i, onClick: a, ...o }) {
7
- let s = (e) => {
8
- i?.(e.detail.selected);
9
- }, { ref: c } = e({
10
- "ds-favourite-action:change": s,
11
- click: a
7
+ var r = `ds-favourite-action${t}`;
8
+ function i({ className: t, initialSelected: i, onChange: a, onClick: o, ...s }) {
9
+ let c = (e) => {
10
+ a?.(e.detail.selected);
11
+ }, { ref: l } = e({
12
+ "ds-favourite-action:change": c,
13
+ click: o
12
14
  });
13
- return /* @__PURE__ */ t("ds-favourite-action-react", {
14
- ref: c,
15
- class: n,
16
- "initial-selected": r || void 0,
17
- ...o
15
+ return /* @__PURE__ */ n(r, {
16
+ ref: l,
17
+ class: t,
18
+ "initial-selected": i || void 0,
19
+ ...s
18
20
  });
19
21
  }
20
22
  //#endregion
21
- export { n as FavouriteAction };
23
+ export { i as FavouriteAction };
@@ -1,15 +1,17 @@
1
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
2
  import "../../hooks/index.js";
3
- import { jsx as t } from "react/jsx-runtime";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
4
5
  import "@cupra/ui-kit/react/ds-hyperlink";
5
6
  //#region src/components/Hyperlink/Hyperlink.tsx
6
- function n({ children: n, onClick: r, ...i }) {
7
- let { ref: a } = e({ click: r });
8
- return /* @__PURE__ */ t("ds-hyperlink-react", {
9
- ref: a,
10
- ...i,
11
- children: n
7
+ var r = `ds-hyperlink${t}`;
8
+ function i({ children: t, onClick: i, ...a }) {
9
+ let { ref: o } = e({ click: i });
10
+ return /* @__PURE__ */ n(r, {
11
+ ref: o,
12
+ ...a,
13
+ children: t
12
14
  });
13
15
  }
14
16
  //#endregion
15
- export { n as Hyperlink };
17
+ export { i as Hyperlink };
@@ -1,13 +1,15 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-icon";
3
4
  //#region src/components/Icon/Icon.tsx
4
- function t(t) {
5
- let { "icon-name": n, className: r, ...i } = t;
6
- return /* @__PURE__ */ e("ds-icon-react", {
7
- "icon-name": n,
8
- class: r,
9
- ...i
5
+ var n = `ds-icon${e}`;
6
+ function r(e) {
7
+ let { "icon-name": r, className: i, ...a } = e;
8
+ return /* @__PURE__ */ t(n, {
9
+ "icon-name": r,
10
+ class: i,
11
+ ...a
10
12
  });
11
13
  }
12
14
  //#endregion
13
- export { t as Icon };
15
+ export { r as Icon };
@@ -1,16 +1,18 @@
1
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
2
  import "../../hooks/index.js";
3
- import { jsx as t } from "react/jsx-runtime";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
4
5
  import "@cupra/ui-kit/react/ds-icon-button";
5
6
  //#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
7
+ var r = `ds-icon-button${t}`;
8
+ function i(t) {
9
+ let { className: i, onClick: a, size: o, ...s } = t, { ref: c } = e({ click: a });
10
+ return /* @__PURE__ */ n(r, {
11
+ ref: c,
12
+ size: typeof o == "string" ? o : JSON.stringify(o),
13
+ class: i,
14
+ ...s
13
15
  });
14
16
  }
15
17
  //#endregion
16
- export { n as IconButton };
18
+ export { i as IconButton };
@@ -1,13 +1,15 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-icon-button-group";
3
4
  //#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
5
+ var n = `ds-icon-button-group${e}`;
6
+ function r(e) {
7
+ let { className: r, children: i, ...a } = e;
8
+ return /* @__PURE__ */ t(n, {
9
+ class: r,
10
+ ...a,
11
+ children: i
10
12
  });
11
13
  }
12
14
  //#endregion
13
- export { t as IconButtonGroup };
15
+ export { r as IconButtonGroup };
@@ -1,16 +1,18 @@
1
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
2
  import "../../hooks/index.js";
3
- import { jsx as t } from "react/jsx-runtime";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
4
5
  import "@cupra/ui-kit/react/ds-inline-alert";
5
6
  //#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
7
+ var r = `ds-inline-alert${t}`;
8
+ function i(t) {
9
+ let { className: i, children: a, onClose: o, ...s } = t, { ref: c } = e({ "inline-alert:close": o });
10
+ return /* @__PURE__ */ n(r, {
11
+ ref: c,
12
+ class: i,
13
+ ...s,
14
+ children: a
13
15
  });
14
16
  }
15
17
  //#endregion
16
- export { n as InlineAlert };
18
+ export { i as InlineAlert };
@@ -1,20 +1,21 @@
1
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
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { forwardRef as r, useImperativeHandle as i } from "react";
4
5
  import "@cupra/ui-kit/react/ds-input";
5
6
  //#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
7
+ var a = `ds-input${t}`, o = r(({ className: t, onInput: r, onKeyDown: o, onChange: s, ...c }, l) => {
8
+ let { ref: u } = e({
9
+ input: r,
10
+ keydown: o,
11
+ change: s
11
12
  });
12
- return r(c, () => l.current, []), /* @__PURE__ */ t("ds-input-react", {
13
- ref: l,
14
- class: n,
15
- ...s
13
+ return i(l, () => u.current, []), /* @__PURE__ */ n(a, {
14
+ ref: u,
15
+ class: t,
16
+ ...c
16
17
  });
17
18
  });
18
- i.displayName = "Input";
19
+ o.displayName = "Input";
19
20
  //#endregion
20
- export { i as Input };
21
+ export { o as Input };
@@ -1,39 +1,41 @@
1
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
2
  import "../../hooks/index.js";
3
- import { jsx as t } from "react/jsx-runtime";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
4
5
  import "@cupra/ui-kit/react/ds-interactive-card";
5
6
  //#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
7
+ var r = `ds-interactive-card${t}`;
8
+ function i(t) {
9
+ let { className: i, children: a, onClick: o, ...s } = t, { ref: c } = e({ click: o });
10
+ return /* @__PURE__ */ n(r, {
11
+ ref: c,
12
+ class: i,
13
+ ...s,
14
+ children: a
13
15
  });
14
16
  }
15
- var r = ({ children: e }) => /* @__PURE__ */ t("div", {
17
+ var a = ({ children: e }) => /* @__PURE__ */ n("div", {
16
18
  slot: "title",
17
19
  children: e
18
- }), i = ({ children: e }) => /* @__PURE__ */ t("div", {
20
+ }), o = ({ children: e }) => /* @__PURE__ */ n("div", {
19
21
  slot: "subtitle",
20
22
  children: e
21
- }), a = ({ children: e }) => /* @__PURE__ */ t("div", {
23
+ }), s = ({ children: e }) => /* @__PURE__ */ n("div", {
22
24
  slot: "meta",
23
25
  children: e
24
- }), o = ({ children: e }) => /* @__PURE__ */ t("div", {
26
+ }), c = ({ children: e }) => /* @__PURE__ */ n("div", {
25
27
  slot: "content",
26
28
  children: e
27
- }), s = ({ children: e }) => /* @__PURE__ */ t("div", {
29
+ }), l = ({ children: e }) => /* @__PURE__ */ n("div", {
28
30
  slot: "cta",
29
31
  children: e
30
- }), c = ({ children: e }) => /* @__PURE__ */ t("div", {
32
+ }), u = ({ children: e }) => /* @__PURE__ */ n("div", {
31
33
  slot: "error-title",
32
34
  children: e
33
- }), l = ({ children: e }) => /* @__PURE__ */ t("div", {
35
+ }), d = ({ children: e }) => /* @__PURE__ */ n("div", {
34
36
  slot: "error-text",
35
37
  children: e
36
38
  });
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";
39
+ i.Title = a, i.Subtitle = o, i.Meta = s, i.Content = c, i.Cta = l, i.ErrorTitle = u, i.ErrorText = d, a.displayName = "InteractiveCard.Title", o.displayName = "InteractiveCard.Subtitle", s.displayName = "InteractiveCard.Meta", c.displayName = "InteractiveCard.Content", l.displayName = "InteractiveCard.Cta", u.displayName = "InteractiveCard.ErrorTitle", d.displayName = "InteractiveCard.ErrorText";
38
40
  //#endregion
39
- export { n as InteractiveCard };
41
+ export { i as InteractiveCard };
@@ -1,15 +1,17 @@
1
1
  import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
2
  import "../../hooks/index.js";
3
- import { jsx as t } from "react/jsx-runtime";
3
+ import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
4
+ import { jsx as n } from "react/jsx-runtime";
4
5
  import "@cupra/ui-kit/react/ds-link-button";
5
6
  //#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
7
+ var r = `ds-link-button${t}`;
8
+ function i({ children: t, onClick: i, ...a }) {
9
+ let { ref: o } = e({ click: i });
10
+ return /* @__PURE__ */ n(r, {
11
+ ref: o,
12
+ ...a,
13
+ children: t
12
14
  });
13
15
  }
14
16
  //#endregion
15
- export { n as LinkButton };
17
+ export { i as LinkButton };