@cupra/ui-react 2.0.0-canary.100 → 2.0.0-canary.102

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 (197) hide show
  1. package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -0
  2. package/dist/cjs/components/Accordion/Accordion.cjs +1 -1
  3. package/dist/cjs/components/Avatar/Avatar.cjs +1 -1
  4. package/dist/cjs/components/Badge/Badge.cjs +1 -1
  5. package/dist/cjs/components/BasicCard/BasicCard.cjs +1 -1
  6. package/dist/cjs/components/BasicCardHeader/BasicCardHeader.cjs +1 -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/components/index.cjs +1 -0
  79. package/dist/cjs/hooks/index.cjs +1 -0
  80. package/dist/cjs/hooks/useBreakpoint.cjs +1 -1
  81. package/dist/cjs/hooks/useEventListeners.cjs +1 -1
  82. package/dist/cjs/hooks/useHandleEvent.cjs +1 -1
  83. package/dist/cjs/hooks/useLoadScript.cjs +1 -0
  84. package/dist/cjs/hooks/useResizeObserver/useResizeObserver.cjs +1 -1
  85. package/dist/cjs/index.cjs +1 -1
  86. package/dist/cjs/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.cjs +1 -1
  87. package/dist/cjs/node_modules/.pnpm/@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +1 -1
  88. package/dist/cjs/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +1 -1
  89. package/dist/cjs/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.cjs +1 -0
  90. package/dist/cjs/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.cjs +22 -12
  91. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.cjs +1 -1
  92. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Middleware.cjs +1 -1
  93. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.cjs +1 -1
  94. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.cjs +1 -1
  95. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.cjs +1 -1
  96. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Tokenizer.cjs +1 -1
  97. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Utility.cjs +1 -1
  98. package/dist/cjs/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.cjs +1 -1
  99. package/dist/esm/_virtual/_rolldown/runtime.js +13 -0
  100. package/dist/esm/components/Accordion/Accordion.js +15 -7
  101. package/dist/esm/components/Avatar/Avatar.js +18 -10
  102. package/dist/esm/components/Badge/Badge.js +8 -5
  103. package/dist/esm/components/BasicCard/BasicCard.js +18 -13
  104. package/dist/esm/components/BasicCardHeader/BasicCardHeader.js +25 -16
  105. package/dist/esm/components/BasicCardImage/BasicCardImage.js +10 -6
  106. package/dist/esm/components/BasicCardSection/BasicCardSection.js +11 -7
  107. package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +11 -7
  108. package/dist/esm/components/BreadcrumbsItem/BreadcrumbsItem.js +17 -11
  109. package/dist/esm/components/Bullets/Bullets.js +8 -5
  110. package/dist/esm/components/Button/Button.js +15 -19
  111. package/dist/esm/components/Calendar/Calendar.js +13 -10
  112. package/dist/esm/components/CarouselIndicator/CarouselIndicator.js +10 -7
  113. package/dist/esm/components/Checkbox/Checkbox.js +13 -10
  114. package/dist/esm/components/CheckboxGroup/CheckboxGroup.js +13 -8
  115. package/dist/esm/components/Chip/Chip.js +11 -7
  116. package/dist/esm/components/Chips/Chips.js +14 -12
  117. package/dist/esm/components/Currency/Currency.js +10 -7
  118. package/dist/esm/components/DatePicker/DatePicker.js +28 -14
  119. package/dist/esm/components/Dialog/Dialog.js +15 -13
  120. package/dist/esm/components/DialogBody/DialogBody.js +11 -7
  121. package/dist/esm/components/DialogFooter/DialogFooter.js +11 -7
  122. package/dist/esm/components/DialogFullscreen/DialogFullscreen.js +15 -13
  123. package/dist/esm/components/DialogHeader/DialogHeader.js +11 -7
  124. package/dist/esm/components/Divider/Divider.js +9 -6
  125. package/dist/esm/components/Drawer/Drawer.js +27 -17
  126. package/dist/esm/components/FavouriteAction/FavouriteAction.js +19 -26
  127. package/dist/esm/components/Hyperlink/Hyperlink.js +13 -10
  128. package/dist/esm/components/Icon/Icon.js +10 -6
  129. package/dist/esm/components/IconButton/IconButton.js +14 -18
  130. package/dist/esm/components/IconButtonGroup/IconButtonGroup.js +11 -7
  131. package/dist/esm/components/InlineAlert/InlineAlert.js +14 -12
  132. package/dist/esm/components/Input/Input.js +19 -13
  133. package/dist/esm/components/InteractiveCard/InteractiveCard.js +37 -25
  134. package/dist/esm/components/LinkButton/LinkButton.js +13 -10
  135. package/dist/esm/components/List/List.js +10 -6
  136. package/dist/esm/components/ListItem/ListItem.js +15 -11
  137. package/dist/esm/components/Loader/Loader.js +23 -18
  138. package/dist/esm/components/Logo/Logo.js +10 -7
  139. package/dist/esm/components/MainTitle/MainTitle.js +26 -15
  140. package/dist/esm/components/MapPin/MapPin.js +12 -10
  141. package/dist/esm/components/MediaControl/MediaControl.js +16 -10
  142. package/dist/esm/components/Modal/Modal.js +40 -37
  143. package/dist/esm/components/NavigationControls/NavigationControls.js +11 -7
  144. package/dist/esm/components/PasswordInput/PasswordInput.js +30 -38
  145. package/dist/esm/components/PickerItem/PickerItem.js +14 -19
  146. package/dist/esm/components/Radio/Radio.js +19 -12
  147. package/dist/esm/components/RadioButton/RadioButton.js +13 -8
  148. package/dist/esm/components/RadioButtonGroup/RadioButtonGroup.js +13 -8
  149. package/dist/esm/components/Rating/Rating.js +10 -7
  150. package/dist/esm/components/Search/Search.js +11 -6
  151. package/dist/esm/components/SearchInput/SearchInput.js +28 -44
  152. package/dist/esm/components/SecondaryNavigation/SecondaryNavigation.js +23 -15
  153. package/dist/esm/components/SegmentedControl/SegmentedControl.js +14 -10
  154. package/dist/esm/components/Select/Select.js +8 -5
  155. package/dist/esm/components/Selection/Selection.js +10 -7
  156. package/dist/esm/components/SidebarNavigation/SidebarNavigation.js +26 -12
  157. package/dist/esm/components/Skeleton/Skeleton.js +9 -6
  158. package/dist/esm/components/Slider/Slider.js +14 -18
  159. package/dist/esm/components/StaticBox/StaticBox.js +15 -19
  160. package/dist/esm/components/Stepper/Stepper.js +7 -4
  161. package/dist/esm/components/Table/Table.js +11 -7
  162. package/dist/esm/components/TableCell/TableCell.js +11 -7
  163. package/dist/esm/components/TableRow/TableRow.js +11 -7
  164. package/dist/esm/components/Tabs/Tabs.js +26 -16
  165. package/dist/esm/components/Tag/Tag.js +14 -10
  166. package/dist/esm/components/Text/Text.js +11 -7
  167. package/dist/esm/components/TextInput/TextInput.js +32 -45
  168. package/dist/esm/components/Textarea/Textarea.js +34 -58
  169. package/dist/esm/components/ThemeProvider/ThemeProvider.js +8 -5
  170. package/dist/esm/components/Toast/Toast.js +12 -13
  171. package/dist/esm/components/ToastMessage/ToastMessage.js +14 -12
  172. package/dist/esm/components/ToggleButton/ToggleButton.js +12 -10
  173. package/dist/esm/components/ToggleSwitch/ToggleSwitch.js +27 -19
  174. package/dist/esm/components/Tooltip/Tooltip.js +26 -14
  175. package/dist/esm/components/ValueUnit/ValueUnit.js +17 -10
  176. package/dist/esm/components/index.js +76 -0
  177. package/dist/esm/hooks/index.js +5 -0
  178. package/dist/esm/hooks/useBreakpoint.js +41 -40
  179. package/dist/esm/hooks/useEventListeners.js +20 -25
  180. package/dist/esm/hooks/useHandleEvent.js +24 -24
  181. package/dist/esm/hooks/useLoadScript.js +1 -0
  182. package/dist/esm/hooks/useResizeObserver/useResizeObserver.js +13 -13
  183. package/dist/esm/index.js +82 -163
  184. package/dist/esm/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +7 -10
  185. package/dist/esm/node_modules/.pnpm/@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +8 -8
  186. package/dist/esm/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +50 -51
  187. package/dist/esm/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.js +22 -0
  188. package/dist/esm/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js +630 -529
  189. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js +4 -12
  190. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Middleware.js +37 -46
  191. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.js +88 -126
  192. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.js +114 -186
  193. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.js +18 -25
  194. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Tokenizer.js +111 -145
  195. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Utility.js +42 -56
  196. package/dist/esm/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +11 -16
  197. package/package.json +8 -12
@@ -1,8 +1,16 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
1
  import "@cupra/ui-kit/react/ds-accordion";
3
- const n = ({ children: t, ...r }) => /* @__PURE__ */ o("ds-accordion-react", { ...r, children: t }), e = ({ children: t }) => /* @__PURE__ */ o("div", { slot: "title", children: t }), c = ({ children: t }) => /* @__PURE__ */ o("div", { slot: "content", children: t });
4
- n.Title = e;
5
- n.Content = c;
6
- export {
7
- n as Accordion
8
- };
2
+ import { jsx as e } from "react/jsx-runtime";
3
+ //#region src/components/Accordion/Accordion.tsx
4
+ var t = ({ children: t, ...n }) => /* @__PURE__ */ e("ds-accordion-react", {
5
+ ...n,
6
+ children: t
7
+ });
8
+ t.Title = ({ children: t }) => /* @__PURE__ */ e("div", {
9
+ slot: "title",
10
+ children: t
11
+ }), t.Content = ({ children: t }) => /* @__PURE__ */ e("div", {
12
+ slot: "content",
13
+ children: t
14
+ });
15
+ //#endregion
16
+ export { t as Accordion };
@@ -1,12 +1,20 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import "@cupra/ui-kit/react/utils/breakpoints";
3
- import { isValidElement as n, cloneElement as s } from "react";
4
- import { useHandleEvent as c } from "../../hooks/useHandleEvent.js";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { jsx as t } from "react/jsx-runtime";
4
+ import { cloneElement as n, isValidElement as r } from "react";
5
5
  import "@cupra/ui-kit/react/ds-avatar";
6
- function E(t) {
7
- const { className: r, onClick: e, image: o, ...a } = t, { ref: i } = c({ click: e }), l = o && n(o) ? s(o, { slot: "media", ...o.props }) : null;
8
- return /* @__PURE__ */ m("ds-avatar-react", { ref: i, class: r, ...a, children: l });
6
+ //#region src/components/Avatar/Avatar.tsx
7
+ function i(i) {
8
+ let { className: a, onClick: o, image: s, ...c } = i, { ref: l } = e({ click: o }), u = s && r(s) ? n(s, {
9
+ slot: "media",
10
+ ...s.props
11
+ }) : null;
12
+ return /* @__PURE__ */ t("ds-avatar-react", {
13
+ ref: l,
14
+ class: a,
15
+ ...c,
16
+ children: u
17
+ });
9
18
  }
10
- export {
11
- E as Avatar
12
- };
19
+ //#endregion
20
+ export { i as Avatar };
@@ -1,8 +1,11 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-badge";
3
- function s({ className: r, ...t }) {
4
- return /* @__PURE__ */ e("ds-badge-react", { class: r, ...t });
3
+ //#region src/components/Badge/Badge.tsx
4
+ function t({ className: t, ...n }) {
5
+ return /* @__PURE__ */ e("ds-badge-react", {
6
+ class: t,
7
+ ...n
8
+ });
5
9
  }
6
- export {
7
- s as Badge
8
- };
10
+ //#endregion
11
+ export { t as Badge };
@@ -1,15 +1,20 @@
1
- import { jsx as r } from "react/jsx-runtime";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-basic-card";
3
- import { useHandleEvent as i } from "../../hooks/useHandleEvent.js";
4
- function n(e) {
5
- const { className: a, children: s, onClick: c, ...d } = e, { ref: o } = i({
6
- "ds-basic-card:click": c
7
- });
8
- return /* @__PURE__ */ r("ds-basic-card-react", { ref: o, class: a, ...d, children: s });
4
+ //#region src/components/BasicCard/BasicCard.tsx
5
+ function n(n) {
6
+ let { className: r, children: i, onClick: a, ...o } = n, { ref: s } = e({ "ds-basic-card:click": a });
7
+ return /* @__PURE__ */ t("ds-basic-card-react", {
8
+ ref: s,
9
+ class: r,
10
+ ...o,
11
+ children: i
12
+ });
9
13
  }
10
- const t = ({ children: e }) => /* @__PURE__ */ r("div", { slot: "featured-text", children: e });
11
- n.FeaturedText = t;
12
- t.displayName = "BasicCard.FeaturedText";
13
- export {
14
- n as BasicCard
15
- };
14
+ var r = ({ children: e }) => /* @__PURE__ */ t("div", {
15
+ slot: "featured-text",
16
+ children: e
17
+ });
18
+ n.FeaturedText = r, r.displayName = "BasicCard.FeaturedText";
19
+ //#endregion
20
+ export { n as BasicCard };
@@ -1,18 +1,27 @@
1
- import { jsx as a } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-basic-card-header";
3
- function r(e) {
4
- const { className: c, children: o, ...n } = e;
5
- return /* @__PURE__ */ a("ds-basic-card-header-react", { class: c, ...n, children: o });
3
+ //#region src/components/BasicCardHeader/BasicCardHeader.tsx
4
+ function t(t) {
5
+ let { className: n, children: r, ...i } = t;
6
+ return /* @__PURE__ */ e("ds-basic-card-header-react", {
7
+ class: n,
8
+ ...i,
9
+ children: r
10
+ });
6
11
  }
7
- const t = ({ children: e }) => /* @__PURE__ */ a("div", { slot: "title", children: e }), s = ({ children: e }) => /* @__PURE__ */ a("div", { slot: "description", children: e }), i = ({ children: e }) => /* @__PURE__ */ a("div", { slot: "meta", children: e }), d = ({ children: e }) => /* @__PURE__ */ a("div", { slot: "sub-header", children: e });
8
- r.Title = t;
9
- r.Description = s;
10
- r.Meta = i;
11
- r.SubHeader = d;
12
- t.displayName = "BasicCard.Title";
13
- i.displayName = "BasicCard.Meta";
14
- s.displayName = "BasicCard.Description";
15
- d.displayName = "BasicCard.SubHeader";
16
- export {
17
- r as BasicCardHeader
18
- };
12
+ var n = ({ children: t }) => /* @__PURE__ */ e("div", {
13
+ slot: "title",
14
+ children: t
15
+ }), r = ({ children: t }) => /* @__PURE__ */ e("div", {
16
+ slot: "description",
17
+ children: t
18
+ }), i = ({ children: t }) => /* @__PURE__ */ e("div", {
19
+ slot: "meta",
20
+ children: t
21
+ }), a = ({ children: t }) => /* @__PURE__ */ e("div", {
22
+ slot: "sub-header",
23
+ children: t
24
+ });
25
+ t.Title = n, t.Description = r, t.Meta = i, t.SubHeader = a, n.displayName = "BasicCard.Title", i.displayName = "BasicCard.Meta", r.displayName = "BasicCard.Description", a.displayName = "BasicCard.SubHeader";
26
+ //#endregion
27
+ export { t as BasicCardHeader };
@@ -1,9 +1,13 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-basic-card-image";
3
- function i(r) {
4
- const { className: a, children: s, ...c } = r;
5
- return /* @__PURE__ */ e("ds-basic-card-image-react", { class: a, ...c, children: s });
3
+ //#region src/components/BasicCardImage/BasicCardImage.tsx
4
+ function t(t) {
5
+ let { className: n, children: r, ...i } = t;
6
+ return /* @__PURE__ */ e("ds-basic-card-image-react", {
7
+ class: n,
8
+ ...i,
9
+ children: r
10
+ });
6
11
  }
7
- export {
8
- i as BasicCardImage
9
- };
12
+ //#endregion
13
+ export { t as BasicCardImage };
@@ -1,9 +1,13 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-basic-card-section";
3
- function i(r) {
4
- const { className: c, children: s, ...o } = r;
5
- return /* @__PURE__ */ t("ds-basic-card-section-react", { class: c, ...o, children: s });
3
+ //#region src/components/BasicCardSection/BasicCardSection.tsx
4
+ function t(t) {
5
+ let { className: n, children: r, ...i } = t;
6
+ return /* @__PURE__ */ e("ds-basic-card-section-react", {
7
+ class: n,
8
+ ...i,
9
+ children: r
10
+ });
6
11
  }
7
- export {
8
- i as BasicCardSection
9
- };
12
+ //#endregion
13
+ export { t as BasicCardSection };
@@ -1,9 +1,13 @@
1
- import { jsx as o } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-breadcrumbs";
3
- const m = (r) => {
4
- const { className: s, children: c, ...e } = r;
5
- return /* @__PURE__ */ o("ds-breadcrumbs-react", { class: s, ...e, children: c });
6
- };
7
- export {
8
- m as Breadcrumbs
3
+ //#region src/components/Breadcrumbs/Breadcrumbs.tsx
4
+ var t = (t) => {
5
+ let { className: n, children: r, ...i } = t;
6
+ return /* @__PURE__ */ e("ds-breadcrumbs-react", {
7
+ class: n,
8
+ ...i,
9
+ children: r
10
+ });
9
11
  };
12
+ //#endregion
13
+ export { t as Breadcrumbs };
@@ -1,12 +1,18 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import e from "react";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import t from "react";
3
3
  import "@cupra/ui-kit/react/ds-breadcrumbs-item";
4
- const i = (t) => {
5
- const { className: s, children: o, ...a } = t;
6
- return /* @__PURE__ */ m("ds-breadcrumbs-item-react", { class: s, ...a, children: o });
7
- }, r = ({ children: t }) => e.isValidElement(t) ? e.cloneElement(t, { slot: "item" }) : /* @__PURE__ */ m("div", { slot: "item", children: t });
8
- i.Item = r;
9
- r.displayName = "BreadcrumbsItem.Item";
10
- export {
11
- i as BreadcrumbsItem
12
- };
4
+ //#region src/components/BreadcrumbsItem/BreadcrumbsItem.tsx
5
+ var n = (t) => {
6
+ let { className: n, children: r, ...i } = t;
7
+ return /* @__PURE__ */ e("ds-breadcrumbs-item-react", {
8
+ class: n,
9
+ ...i,
10
+ children: r
11
+ });
12
+ }, r = ({ children: n }) => t.isValidElement(n) ? t.cloneElement(n, { slot: "item" }) : /* @__PURE__ */ e("div", {
13
+ slot: "item",
14
+ children: n
15
+ });
16
+ n.Item = r, r.displayName = "BreadcrumbsItem.Item";
17
+ //#endregion
18
+ export { n as BreadcrumbsItem };
@@ -1,6 +1,9 @@
1
- import { jsx as s } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-bullets";
3
- const o = ({ className: t, ...r }) => /* @__PURE__ */ s("ds-bullets-react", { class: t, ...r });
4
- export {
5
- o as Bullets
6
- };
3
+ //#region src/components/Bullets/Bullets.tsx
4
+ var t = ({ className: t, ...n }) => /* @__PURE__ */ e("ds-bullets-react", {
5
+ class: t,
6
+ ...n
7
+ });
8
+ //#endregion
9
+ export { t as Bullets };
@@ -1,21 +1,17 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import "@cupra/ui-kit/react/utils/breakpoints";
3
- import "react";
4
- import { useHandleEvent as m } from "../../hooks/useHandleEvent.js";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { jsx as t } from "react/jsx-runtime";
5
4
  import "@cupra/ui-kit/react/ds-button";
6
- function d(o) {
7
- const { className: r, children: i, onClick: s, size: t, ...e } = o, { ref: n } = m({ click: s });
8
- return /* @__PURE__ */ c(
9
- "ds-button-react",
10
- {
11
- ref: n,
12
- size: typeof t == "string" ? t : JSON.stringify(t),
13
- class: r,
14
- ...e,
15
- children: i
16
- }
17
- );
5
+ //#region src/components/Button/Button.tsx
6
+ function n(n) {
7
+ let { className: r, children: i, onClick: a, size: o, ...s } = n, { ref: c } = e({ click: a });
8
+ return /* @__PURE__ */ t("ds-button-react", {
9
+ ref: c,
10
+ size: typeof o == "string" ? o : JSON.stringify(o),
11
+ class: r,
12
+ ...s,
13
+ children: i
14
+ });
18
15
  }
19
- export {
20
- d as Button
21
- };
16
+ //#endregion
17
+ export { n as Button };
@@ -1,12 +1,15 @@
1
- import { jsx as n } from "react/jsx-runtime";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { jsx as t } from "react/jsx-runtime";
2
4
  import "@cupra/ui-kit/react/ds-calendar";
3
- import "@cupra/ui-kit/react/utils/breakpoints";
4
- import "react";
5
- import { useHandleEvent as o } from "../../hooks/useHandleEvent.js";
6
- function p({ className: r, onChange: e, ...t }) {
7
- const { ref: a } = o({ "ds-calendar-change": e });
8
- return /* @__PURE__ */ n("ds-calendar-react", { ref: a, class: r, ...t });
5
+ //#region src/components/Calendar/Calendar.tsx
6
+ function n({ className: n, onChange: r, ...i }) {
7
+ let { ref: a } = e({ "ds-calendar-change": r });
8
+ return /* @__PURE__ */ t("ds-calendar-react", {
9
+ ref: a,
10
+ class: n,
11
+ ...i
12
+ });
9
13
  }
10
- export {
11
- p as Calendar
12
- };
14
+ //#endregion
15
+ export { n as Calendar };
@@ -1,9 +1,12 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-carousel-indicator";
3
- function i(r) {
4
- const { className: o, children: c, ...s } = r;
5
- return /* @__PURE__ */ t("ds-carousel-indicator-react", { class: o, ...s });
3
+ //#region src/components/CarouselIndicator/CarouselIndicator.tsx
4
+ function t(t) {
5
+ let { className: n, children: r, ...i } = t;
6
+ return /* @__PURE__ */ e("ds-carousel-indicator-react", {
7
+ class: n,
8
+ ...i
9
+ });
6
10
  }
7
- export {
8
- i as CarouselIndicator
9
- };
11
+ //#endregion
12
+ export { t as CarouselIndicator };
@@ -1,12 +1,15 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import "@cupra/ui-kit/react/utils/breakpoints";
3
- import "react";
4
- import { useHandleEvent as m } from "../../hooks/useHandleEvent.js";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { jsx as t } from "react/jsx-runtime";
5
4
  import "@cupra/ui-kit/react/ds-checkbox";
6
- function x({ onChange: o, children: r, ...t }) {
7
- const { ref: e } = m({ change: o });
8
- return /* @__PURE__ */ c("ds-checkbox-react", { ref: e, ...t, children: r });
5
+ //#region src/components/Checkbox/Checkbox.tsx
6
+ function n({ onChange: n, children: r, ...i }) {
7
+ let { ref: a } = e({ change: n });
8
+ return /* @__PURE__ */ t("ds-checkbox-react", {
9
+ ref: a,
10
+ ...i,
11
+ children: r
12
+ });
9
13
  }
10
- export {
11
- x as Checkbox
12
- };
14
+ //#endregion
15
+ export { n as Checkbox };
@@ -1,10 +1,15 @@
1
- import { jsx as s } from "react/jsx-runtime";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  import "@cupra/ui-kit/react/ds-checkbox-group";
3
- import { useHandleEvent as a } from "../../hooks/useHandleEvent.js";
4
- function i(o) {
5
- const { className: r, children: e, onChange: c, ...n } = o, { ref: t } = a({ change: c });
6
- return /* @__PURE__ */ s("ds-checkbox-group-react", { ref: t, class: r, ...n, children: e });
4
+ //#region src/components/CheckboxGroup/CheckboxGroup.tsx
5
+ function n(n) {
6
+ let { className: r, children: i, onChange: a, ...o } = n, { ref: s } = e({ change: a });
7
+ return /* @__PURE__ */ t("ds-checkbox-group-react", {
8
+ ref: s,
9
+ class: r,
10
+ ...o,
11
+ children: i
12
+ });
7
13
  }
8
- export {
9
- i as CheckboxGroup
10
- };
14
+ //#endregion
15
+ export { n as CheckboxGroup };
@@ -1,9 +1,13 @@
1
- import { jsx as c } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-chip";
3
- function p(r) {
4
- const { className: o, children: s, ...t } = r;
5
- return /* @__PURE__ */ c("ds-chip-react", { class: o, ...t, children: s });
3
+ //#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
10
+ });
6
11
  }
7
- export {
8
- p as Chip
9
- };
12
+ //#endregion
13
+ export { t as Chip };
@@ -1,14 +1,16 @@
1
- import { jsx as c } from "react/jsx-runtime";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { jsx as t } from "react/jsx-runtime";
2
4
  import "@cupra/ui-kit/react/ds-chips";
3
- import "@cupra/ui-kit/react/utils/breakpoints";
4
- import "react";
5
- import { useHandleEvent as i } from "../../hooks/useHandleEvent.js";
6
- function f(r) {
7
- const { className: o, children: s, onChange: t, ...e } = r, { ref: n } = i({
8
- "ds-chips:change": t
9
- });
10
- return /* @__PURE__ */ c("ds-chips-react", { ref: n, class: o, ...e, children: s });
5
+ //#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
13
+ });
11
14
  }
12
- export {
13
- f as Chips
14
- };
15
+ //#endregion
16
+ export { n as Chips };
@@ -1,9 +1,12 @@
1
- import { jsx as s } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-currency";
3
- function n(r) {
4
- const { className: c, ...o } = r;
5
- return /* @__PURE__ */ s("ds-currency-react", { class: c, ...o });
3
+ //#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
9
+ });
6
10
  }
7
- export {
8
- n as Currency
9
- };
11
+ //#endregion
12
+ export { t as Currency };
@@ -1,16 +1,30 @@
1
- import { jsxs as h, jsx as r } from "react/jsx-runtime";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
2
4
  import "@cupra/ui-kit/react/ds-date-picker";
3
- import "@cupra/ui-kit/react/utils/breakpoints";
4
- import "react";
5
- import { useHandleEvent as u } from "../../hooks/useHandleEvent.js";
6
- function k(t) {
7
- const { className: i, children: n, onChange: a, inputId: e, value: o, label: l, required: d, disabled: s, readOnly: c, ...p } = t, { ref: m } = u({ change: a });
8
- return /* @__PURE__ */ h("ds-date-picker-react", { ref: m, class: i, ...p, children: [
9
- /* @__PURE__ */ r("label", { htmlFor: e, children: l }),
10
- /* @__PURE__ */ r("input", { id: e, type: "date", value: o, required: d, disabled: s, readOnly: c }),
11
- n
12
- ] });
5
+ //#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,
12
+ children: [
13
+ /* @__PURE__ */ t("label", {
14
+ htmlFor: s,
15
+ children: l
16
+ }),
17
+ /* @__PURE__ */ t("input", {
18
+ id: s,
19
+ type: "date",
20
+ value: c,
21
+ required: u,
22
+ disabled: d,
23
+ readOnly: f
24
+ }),
25
+ a
26
+ ]
27
+ });
13
28
  }
14
- export {
15
- k as DatePicker
16
- };
29
+ //#endregion
30
+ export { r as DatePicker };
@@ -1,15 +1,17 @@
1
- import { jsx as l } from "react/jsx-runtime";
1
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
2
+ import "../../hooks/index.js";
3
+ import { jsx as t } from "react/jsx-runtime";
2
4
  import "@cupra/ui-kit/react/ds-dialog";
3
- import "@cupra/ui-kit/react/utils/breakpoints";
4
- import "react";
5
- import { useHandleEvent as m } from "../../hooks/useHandleEvent.js";
6
- import { createPortal as c } from "react-dom";
7
- function P(t) {
8
- const { className: r, children: e, onClose: s, withPortal: i, ...n } = t, { ref: a } = m({
9
- "ds-dialog:close": s
10
- }), o = /* @__PURE__ */ l("ds-dialog-react", { ref: a, class: r, ...n, children: e });
11
- return i ? c(o, document.body) : o;
5
+ import { createPortal as n } from "react-dom";
6
+ //#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
13
+ });
14
+ return s ? n(u, document.body) : u;
12
15
  }
13
- export {
14
- P as Dialog
15
- };
16
+ //#endregion
17
+ export { r as Dialog };
@@ -1,9 +1,13 @@
1
- import { jsx as a } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-dialog-body";
3
- function i(o) {
4
- const { className: r, children: s, ...t } = o;
5
- return /* @__PURE__ */ a("ds-dialog-body-react", { class: r, ...t, children: s });
3
+ //#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
10
+ });
6
11
  }
7
- export {
8
- i as DialogBody
9
- };
12
+ //#endregion
13
+ export { t as DialogBody };
@@ -1,9 +1,13 @@
1
- import { jsx as s } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-dialog-footer";
3
- function i(o) {
4
- const { className: r, children: t, ...e } = o;
5
- return /* @__PURE__ */ s("ds-dialog-footer-react", { class: r, ...e, children: t });
3
+ //#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
10
+ });
6
11
  }
7
- export {
8
- i as DialogFooter
9
- };
12
+ //#endregion
13
+ export { t as DialogFooter };