@cupra/ui-react 0.0.1-placeholder → 0.0.2-canary.0

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 (130) hide show
  1. package/README.md +184 -18
  2. package/dist/components/Accordion/Accordion.d.ts +17 -0
  3. package/dist/components/Accordion/Accordion.js +8 -0
  4. package/dist/components/Avatar/Avatar.d.ts +9 -0
  5. package/dist/components/Avatar/Avatar.js +11 -0
  6. package/dist/components/Bullets/Bullets.d.ts +7 -0
  7. package/dist/components/Bullets/Bullets.js +6 -0
  8. package/dist/components/Button/Button.d.ts +10 -0
  9. package/dist/components/Button/Button.js +11 -0
  10. package/dist/components/CarouselIndicator/CarouselIndicator.d.ts +8 -0
  11. package/dist/components/CarouselIndicator/CarouselIndicator.js +9 -0
  12. package/dist/components/Checkbox/Checkbox.d.ts +9 -0
  13. package/dist/components/Checkbox/Checkbox.js +11 -0
  14. package/dist/components/Chip/Chip.d.ts +9 -0
  15. package/dist/components/Chip/Chip.js +9 -0
  16. package/dist/components/Chips/Chips.d.ts +10 -0
  17. package/dist/components/Chips/Chips.js +13 -0
  18. package/dist/components/Currency/Currency.d.ts +8 -0
  19. package/dist/components/Currency/Currency.js +9 -0
  20. package/dist/components/Dialog/Dialog.d.ts +11 -0
  21. package/dist/components/Dialog/Dialog.js +15 -0
  22. package/dist/components/DialogBody/DialogBody.d.ts +9 -0
  23. package/dist/components/DialogBody/DialogBody.js +9 -0
  24. package/dist/components/DialogFooter/DialogFooter.d.ts +9 -0
  25. package/dist/components/DialogFooter/DialogFooter.js +9 -0
  26. package/dist/components/DialogHeader/DialogHeader.d.ts +9 -0
  27. package/dist/components/DialogHeader/DialogHeader.js +9 -0
  28. package/dist/components/Divider/Divider.d.ts +7 -0
  29. package/dist/components/Divider/Divider.js +8 -0
  30. package/dist/components/Hyperlink/Hyperlink.d.ts +8 -0
  31. package/dist/components/Hyperlink/Hyperlink.js +11 -0
  32. package/dist/components/Icon/Icon.d.ts +7 -0
  33. package/dist/components/Icon/Icon.js +9 -0
  34. package/dist/components/IconButton/IconButton.d.ts +9 -0
  35. package/dist/components/IconButton/IconButton.js +11 -0
  36. package/dist/components/Input/Input.d.ts +11 -0
  37. package/dist/components/Input/Input.js +14 -0
  38. package/dist/components/LinkButton/LinkButton.d.ts +9 -0
  39. package/dist/components/LinkButton/LinkButton.js +11 -0
  40. package/dist/components/Loader/Loader.d.ts +20 -0
  41. package/dist/components/Loader/Loader.js +24 -0
  42. package/dist/components/Logo/Logo.d.ts +8 -0
  43. package/dist/components/Logo/Logo.js +9 -0
  44. package/dist/components/MapPin/MapPin.d.ts +8 -0
  45. package/dist/components/MapPin/MapPin.js +11 -0
  46. package/dist/components/Modal/Modal.d.ts +26 -0
  47. package/dist/components/Modal/Modal.js +49 -0
  48. package/dist/components/PasswordInput/PasswordInput.d.ts +19 -0
  49. package/dist/components/PasswordInput/PasswordInput.js +42 -0
  50. package/dist/components/PickerItem/PickerItem.d.ts +10 -0
  51. package/dist/components/PickerItem/PickerItem.js +12 -0
  52. package/dist/components/Radio/Radio.d.ts +18 -0
  53. package/dist/components/Radio/Radio.js +14 -0
  54. package/dist/components/RadioButton/RadioButton.d.ts +10 -0
  55. package/dist/components/RadioButton/RadioButton.js +10 -0
  56. package/dist/components/RadioButtonGroup/RadioButtonGroup.d.ts +16 -0
  57. package/dist/components/RadioButtonGroup/RadioButtonGroup.js +10 -0
  58. package/dist/components/Search/Search.d.ts +9 -0
  59. package/dist/components/Search/Search.js +8 -0
  60. package/dist/components/SearchInput/SearchInput.d.ts +20 -0
  61. package/dist/components/SearchInput/SearchInput.js +46 -0
  62. package/dist/components/SecondaryNavigation/SecondaryNavigation.d.ts +18 -0
  63. package/dist/components/SecondaryNavigation/SecondaryNavigation.js +16 -0
  64. package/dist/components/SegmentedControl/SegmentedControl.d.ts +10 -0
  65. package/dist/components/SegmentedControl/SegmentedControl.js +11 -0
  66. package/dist/components/Select/Select.d.ts +9 -0
  67. package/dist/components/Select/Select.js +6 -0
  68. package/dist/components/Selection/Selection.d.ts +8 -0
  69. package/dist/components/Selection/Selection.js +9 -0
  70. package/dist/components/SidebarNavigation/SidebarNavigation.d.ts +25 -0
  71. package/dist/components/SidebarNavigation/SidebarNavigation.js +15 -0
  72. package/dist/components/Slider/Slider.d.ts +8 -0
  73. package/dist/components/Slider/Slider.js +9 -0
  74. package/dist/components/StaticBox/StaticBox.d.ts +9 -0
  75. package/dist/components/StaticBox/StaticBox.js +11 -0
  76. package/dist/components/Stepper/Stepper.d.ts +8 -0
  77. package/dist/components/Stepper/Stepper.js +6 -0
  78. package/dist/components/Tabs/Tabs.d.ts +22 -0
  79. package/dist/components/Tabs/Tabs.js +19 -0
  80. package/dist/components/Tag/Tag.d.ts +11 -0
  81. package/dist/components/Tag/Tag.js +11 -0
  82. package/dist/components/Text/Text.d.ts +9 -0
  83. package/dist/components/Text/Text.js +9 -0
  84. package/dist/components/TextInput/TextInput.d.ts +21 -0
  85. package/dist/components/TextInput/TextInput.js +44 -0
  86. package/dist/components/Textarea/Textarea.d.ts +20 -0
  87. package/dist/components/Textarea/Textarea.js +57 -0
  88. package/dist/components/ThemeProvider/ThemeProvider.d.ts +9 -0
  89. package/dist/components/ThemeProvider/ThemeProvider.js +6 -0
  90. package/dist/components/Toast/Toast.d.ts +11 -0
  91. package/dist/components/Toast/Toast.js +16 -0
  92. package/dist/components/ToastMessage/ToastMessage.d.ts +10 -0
  93. package/dist/components/ToastMessage/ToastMessage.js +13 -0
  94. package/dist/components/ToggleButton/ToggleButton.d.ts +8 -0
  95. package/dist/components/ToggleButton/ToggleButton.js +11 -0
  96. package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +17 -0
  97. package/dist/components/ToggleSwitch/ToggleSwitch.js +22 -0
  98. package/dist/components/Tooltip/Tooltip.d.ts +11 -0
  99. package/dist/components/Tooltip/Tooltip.js +24 -0
  100. package/dist/components/index.d.ts +50 -0
  101. package/dist/components/interactive-card/InteractiveCard.d.ts +34 -0
  102. package/dist/components/interactive-card/InteractiveCard.js +19 -0
  103. package/dist/hooks/index.d.ts +5 -0
  104. package/dist/hooks/useBreakpoint.d.ts +3 -0
  105. package/dist/hooks/useBreakpoint.js +42 -0
  106. package/dist/hooks/useEventListeners.d.ts +9 -0
  107. package/dist/hooks/useEventListeners.js +26 -0
  108. package/dist/hooks/useHandleEvent.d.ts +5 -0
  109. package/dist/hooks/useHandleEvent.js +23 -0
  110. package/dist/hooks/useLoadScript.d.ts +2 -0
  111. package/dist/hooks/useResizeObserver/useResizeObserver.d.ts +6 -0
  112. package/dist/hooks/useResizeObserver/useResizeObserver.js +14 -0
  113. package/dist/index.d.ts +2 -0
  114. package/dist/index.js +112 -0
  115. package/dist/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +10 -0
  116. package/dist/node_modules/.pnpm/@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +9 -0
  117. package/dist/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +52 -0
  118. package/dist/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 +572 -0
  119. package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js +12 -0
  120. package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Middleware.js +49 -0
  121. package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.js +131 -0
  122. package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.js +187 -0
  123. package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.js +27 -0
  124. package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Tokenizer.js +147 -0
  125. package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Utility.js +56 -0
  126. package/dist/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +18 -0
  127. package/dist/packages/ui-kit/dist-react/index.js +9205 -0
  128. package/dist/packages/ui-kit/dist-react/utils/breakpoints.js +11 -0
  129. package/dist/packages/ui-kit/dist-react/utils/debounce.js +11 -0
  130. package/package.json +56 -28
@@ -0,0 +1,20 @@
1
+ import { type ReactElement } from 'react';
2
+ import '@cupra/ui-kit/react';
3
+ import { DsLoaderBarsAttrs } from '@cupra/ui-kit/react/types/ds-loader-bar';
4
+ import { DsLoaderDotsAttrs } from '@cupra/ui-kit/react/types/ds-loader-dots';
5
+ import { DsLoaderLogoAttrs } from '@cupra/ui-kit/react/types/ds-loader-logo';
6
+ import { DsLoaderSpinnerAttrs } from '@cupra/ui-kit/react/types/ds-loader-spinner';
7
+ export declare function LoaderLogo(props: DsLoaderLogoAttrs): ReactElement;
8
+ declare function LoaderBar(props: DsLoaderBarsAttrs): ReactElement;
9
+ declare function LoaderDots(props: DsLoaderDotsAttrs): ReactElement;
10
+ interface DsLoaderSpinnerProps extends DsLoaderSpinnerAttrs {
11
+ text?: string;
12
+ }
13
+ declare function LoaderSpinner(props: DsLoaderSpinnerProps): ReactElement;
14
+ export declare const Loader: {
15
+ Logo: typeof LoaderLogo;
16
+ Bar: typeof LoaderBar;
17
+ Dots: typeof LoaderDots;
18
+ Spinner: typeof LoaderSpinner;
19
+ };
20
+ export {};
@@ -0,0 +1,24 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ function o(r) {
4
+ return /* @__PURE__ */ e("ds-loader-logo-react", { ...r });
5
+ }
6
+ function t(r) {
7
+ return /* @__PURE__ */ e("ds-loader-bar-react", { ...r });
8
+ }
9
+ function n(r) {
10
+ return /* @__PURE__ */ e("ds-loader-dots-react", { ...r });
11
+ }
12
+ function d(r) {
13
+ return /* @__PURE__ */ e("ds-loader-spinner-react", { ...r, children: r.text && /* @__PURE__ */ e("div", { slot: "text", children: r.text }) });
14
+ }
15
+ const c = {
16
+ Logo: o,
17
+ Bar: t,
18
+ Dots: n,
19
+ Spinner: d
20
+ };
21
+ export {
22
+ c as Loader,
23
+ o as LoaderLogo
24
+ };
@@ -0,0 +1,8 @@
1
+ import { DsLogoAttrs } from '@cupra/ui-kit/react/types/ds-logo';
2
+ import { type ReactElement } from 'react';
3
+ import '@cupra/ui-kit/react';
4
+ type LogoProps = DsLogoAttrs & {
5
+ className?: string;
6
+ };
7
+ export declare function Logo(props: LogoProps): ReactElement;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ function a(o) {
4
+ const { className: r, children: c, ...s } = o;
5
+ return /* @__PURE__ */ t("ds-logo-react", { class: r, ...s });
6
+ }
7
+ export {
8
+ a as Logo
9
+ };
@@ -0,0 +1,8 @@
1
+ import { type ReactElement } from 'react';
2
+ import '@cupra/ui-kit/react';
3
+ import { type DsMapPinAttrs } from '@cupra/ui-kit/react/types/ds-map-pin';
4
+ type MapPinProps = DsMapPinAttrs & {
5
+ onChange?: (event: CustomEvent) => void;
6
+ };
7
+ export declare function MapPin({ onChange, ...rest }: MapPinProps): ReactElement;
8
+ export {};
@@ -0,0 +1,11 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import "react";
3
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
4
+ import "../../packages/ui-kit/dist-react/index.js";
5
+ function c({ onChange: r, ...t }) {
6
+ const { ref: n } = e({ change: r });
7
+ return /* @__PURE__ */ o("ds-map-pin-react", { ref: n, ...t });
8
+ }
9
+ export {
10
+ c as MapPin
11
+ };
@@ -0,0 +1,26 @@
1
+ import { type ReactElement } from 'react';
2
+ import '@cupra/ui-kit/react';
3
+ import { DsModalAttrs } from '@cupra/ui-kit/react/types/ds-modal';
4
+ type Children = JSX.Element | JSX.Element[] | string;
5
+ interface ModalProps extends DsModalAttrs {
6
+ children: Children;
7
+ withPortal?: boolean;
8
+ className?: string;
9
+ onClickCloseButton?: (event: CustomEvent) => void;
10
+ onClickConfirmButton?: (event: CustomEvent) => void;
11
+ onClickCancelButton?: (event: CustomEvent) => void;
12
+ }
13
+ export declare function Modal(props: Readonly<ModalProps>): ReactElement | null;
14
+ export declare namespace Modal {
15
+ var Title: ({ children }: {
16
+ children: Children;
17
+ }) => ReactElement;
18
+ var Content: ({ className, children }: {
19
+ className?: string;
20
+ children: Children;
21
+ }) => ReactElement;
22
+ var FullScreenContent: ({ children }: {
23
+ children: Children;
24
+ }) => ReactElement;
25
+ }
26
+ export {};
@@ -0,0 +1,49 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import "react";
3
+ import { useHandleEvent as f } from "../../hooks/useHandleEvent.js";
4
+ import p from "../../node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js";
5
+ import "../../packages/ui-kit/dist-react/index.js";
6
+ function e() {
7
+ }
8
+ const C = p.div`
9
+ margin: 0;
10
+ width: 100%;
11
+ height: 100%;
12
+ position: absolute;
13
+ top: 50%;
14
+ left: 50%;
15
+ transform: translate(-50%, -50%);
16
+ `;
17
+ function l(t) {
18
+ const {
19
+ children: o,
20
+ onClickCloseButton: i = e,
21
+ onClickConfirmButton: s = e,
22
+ onClickCancelButton: u = e,
23
+ className: a,
24
+ withPortal: m,
25
+ ...r
26
+ } = t, { ref: d } = f({
27
+ "click-close-button": i,
28
+ "click-confirm-button": s,
29
+ "click-cancel-button": u
30
+ });
31
+ if (!r.open) return null;
32
+ const c = /* @__PURE__ */ n("ds-modal-react", { ref: d, class: a, ...r, children: o });
33
+ return m ? /* @__PURE__ */ n("ds-portal-react", { style: { display: "none" }, children: c }) : c;
34
+ }
35
+ function h({ children: t }) {
36
+ return /* @__PURE__ */ n("div", { slot: "title", children: t });
37
+ }
38
+ function k({ className: t = "", children: o }) {
39
+ return /* @__PURE__ */ n("div", { slot: "content", className: `ds-scroll ${t}`.trim(), children: o });
40
+ }
41
+ function b({ children: t }) {
42
+ return /* @__PURE__ */ n(C, { slot: "content", children: t });
43
+ }
44
+ l.Title = h;
45
+ l.Content = k;
46
+ l.FullScreenContent = b;
47
+ export {
48
+ l as Modal
49
+ };
@@ -0,0 +1,19 @@
1
+ import { DsPasswordInputAttrs } from '@cupra/ui-kit/react/types/ds-password-input';
2
+ import { type ReactElement } from 'react';
3
+ import '@cupra/ui-kit/react';
4
+ type PasswordInputProps = DsPasswordInputAttrs & {
5
+ className?: string;
6
+ onChange?: (event: typeof InputEvent) => void;
7
+ onInput?: (event: typeof InputEvent) => void;
8
+ inputId: string;
9
+ placeHolder?: string;
10
+ value?: string;
11
+ label: string;
12
+ required?: boolean;
13
+ disabled?: boolean;
14
+ minLength?: number;
15
+ maxLength?: number;
16
+ pattern?: string;
17
+ };
18
+ export declare function PasswordInput(props: PasswordInputProps): ReactElement;
19
+ export {};
@@ -0,0 +1,42 @@
1
+ import { jsxs as g, jsx as r } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ import "react";
4
+ import { useHandleEvent as x } from "../../hooks/useHandleEvent.js";
5
+ function H(n) {
6
+ const {
7
+ className: t,
8
+ children: b,
9
+ onChange: o,
10
+ onInput: s,
11
+ inputId: e,
12
+ placeHolder: a,
13
+ value: p,
14
+ label: l,
15
+ required: i,
16
+ disabled: d,
17
+ pattern: c,
18
+ maxLength: u,
19
+ minLength: h,
20
+ ...m
21
+ } = n, { ref: f } = x({ change: o, input: s });
22
+ return /* @__PURE__ */ g("ds-password-input-react", { ref: f, class: t, ...m, children: [
23
+ /* @__PURE__ */ r("label", { htmlFor: e, children: l }),
24
+ /* @__PURE__ */ r(
25
+ "input",
26
+ {
27
+ id: e,
28
+ type: "password",
29
+ placeholder: a,
30
+ value: p,
31
+ required: i,
32
+ disabled: d,
33
+ minLength: h,
34
+ maxLength: u,
35
+ pattern: c
36
+ }
37
+ )
38
+ ] });
39
+ }
40
+ export {
41
+ H as PasswordInput
42
+ };
@@ -0,0 +1,10 @@
1
+ import type { ReactElement } from 'react';
2
+ import '@cupra/ui-kit/react';
3
+ import type { DsPickerItemAttrs } from '@cupra/ui-kit/react/types/ds-picker-item';
4
+ type PickerItemProps = Omit<DsPickerItemAttrs, 'size'> & {
5
+ className?: string;
6
+ children: JSX.Element | JSX.Element[] | string;
7
+ onClick?: (event: CustomEvent) => void;
8
+ };
9
+ export declare function PickerItem(props: PickerItemProps): ReactElement;
10
+ export {};
@@ -0,0 +1,12 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ import { useHandleEvent as m } from "../../hooks/useHandleEvent.js";
4
+ function a(e) {
5
+ const { className: r, children: t, onClick: c, ...i } = e, { ref: o } = m({
6
+ "ds-picker-item:click": c
7
+ });
8
+ return /* @__PURE__ */ s("ds-picker-item-react", { ref: o, class: r, ...i, children: t });
9
+ }
10
+ export {
11
+ a as PickerItem
12
+ };
@@ -0,0 +1,18 @@
1
+ import { type ReactElement } from 'react';
2
+ import '@cupra/ui-kit/react';
3
+ import { DsRadioAttrs } from '@cupra/ui-kit/react/types/ds-radio';
4
+ import { DsRadioGroupAttrs } from '@cupra/ui-kit/react/types/ds-radio-group';
5
+ type Children = JSX.Element | JSX.Element[] | string;
6
+ interface RadioGroupProps extends DsRadioGroupAttrs {
7
+ children: Children;
8
+ onChange?: (event: CustomEvent) => void;
9
+ className?: string;
10
+ }
11
+ interface RadioProps extends DsRadioAttrs {
12
+ children?: Children;
13
+ }
14
+ export declare const Radio: {
15
+ Group: ({ children, onChange, className, ...restProps }: RadioGroupProps) => ReactElement;
16
+ Button: ({ children, className, ...restProps }: RadioProps) => ReactElement;
17
+ };
18
+ export {};
@@ -0,0 +1,14 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import "react";
3
+ import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
4
+ import "../../packages/ui-kit/dist-react/index.js";
5
+ const c = ({ children: o, onChange: r, className: t, ...a }) => {
6
+ const { ref: n } = e({ change: r });
7
+ return /* @__PURE__ */ s("ds-radio-group-react", { ref: n, class: t, ...a, children: o });
8
+ }, i = ({ children: o, className: r, ...t }) => /* @__PURE__ */ s("ds-radio-react", { class: r, ...t, children: o }), f = {
9
+ Group: c,
10
+ Button: i
11
+ };
12
+ export {
13
+ f as Radio
14
+ };
@@ -0,0 +1,10 @@
1
+ import type { DsRadioButtonAttrs } from '@cupra/ui-kit/react/types/ds-radio-button';
2
+ import { type ReactElement } from 'react';
3
+ import '@cupra/ui-kit/react';
4
+ type RadioButtonProps = DsRadioButtonAttrs & {
5
+ onChange?: (event: CustomEvent) => void;
6
+ className?: string;
7
+ children: JSX.Element | JSX.Element[] | string;
8
+ };
9
+ export declare function RadioButton(props: RadioButtonProps): ReactElement;
10
+ export {};
@@ -0,0 +1,10 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ import { useHandleEvent as c } from "../../hooks/useHandleEvent.js";
4
+ function p(o) {
5
+ const { className: t, children: r, onChange: n, ...e } = o, { ref: s } = c({ change: n });
6
+ return /* @__PURE__ */ a("ds-radio-button-react", { ref: s, class: t, ...e, children: r });
7
+ }
8
+ export {
9
+ p as RadioButton
10
+ };
@@ -0,0 +1,16 @@
1
+ import type { DsRadioButtonGroupAttrs } from '@cupra/ui-kit/react/types/ds-radio-button-group';
2
+ import { type ReactElement, type ReactNode } from 'react';
3
+ import '@cupra/ui-kit/react';
4
+ export type RadioButtonGroupProps = DsRadioButtonGroupAttrs & {
5
+ onChange?: (event: CustomEvent) => void;
6
+ className?: string;
7
+ children?: ReactNode;
8
+ };
9
+ /**
10
+ * RadioButtonGroup
11
+ * Wraps the ds-radio-button-group web component. Slots:
12
+ * - slot="title" for the group title
13
+ * - slot="description" for the group description
14
+ * Children: one or more <RadioButton> (or ds-radio-button) elements.
15
+ */
16
+ export declare function RadioButtonGroup(props: RadioButtonGroupProps): ReactElement;
@@ -0,0 +1,10 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ import { useHandleEvent as c } from "../../hooks/useHandleEvent.js";
4
+ function m(o) {
5
+ const { className: r, children: t, onChange: n, ...e } = o, { ref: s } = c({ change: n });
6
+ return /* @__PURE__ */ a("ds-radio-button-group-react", { ref: s, class: r, ...e, children: t });
7
+ }
8
+ export {
9
+ m as RadioButtonGroup
10
+ };
@@ -0,0 +1,9 @@
1
+ import { DsSearchAttrs } from '@cupra/ui-kit/react/types/ds-search';
2
+ import { type ChangeEvent } from 'react';
3
+ import '@cupra/ui-kit/react';
4
+ type SearchProps = DsSearchAttrs & {
5
+ className?: string;
6
+ onInput?: (event: ChangeEvent<HTMLInputElement>) => void;
7
+ };
8
+ export declare const Search: import("react").ForwardRefExoticComponent<Omit<SearchProps, "ref"> & import("react").RefAttributes<unknown>>;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as t } from "react";
3
+ import "../../packages/ui-kit/dist-react/index.js";
4
+ const c = t(({ onInput: r, className: a, ...e }, o) => /* @__PURE__ */ s("ds-search-react", { ref: o, class: a, onInput: r, ...e }));
5
+ c.displayName = "Search";
6
+ export {
7
+ c as Search
8
+ };
@@ -0,0 +1,20 @@
1
+ import { DsSearchInputAttrs } from '@cupra/ui-kit/react/types/ds-search-input';
2
+ import { type ReactElement } from 'react';
3
+ import '@cupra/ui-kit/react';
4
+ type SearchInputProps = DsSearchInputAttrs & {
5
+ className?: string;
6
+ onChange?: (event: typeof InputEvent) => void;
7
+ onInput?: (event: typeof InputEvent) => void;
8
+ onClickPositionButton?: (event: CustomEvent) => void;
9
+ placeHolder?: string;
10
+ value?: string;
11
+ label: string;
12
+ required?: boolean;
13
+ disabled?: boolean;
14
+ minLength?: number;
15
+ maxLength?: number;
16
+ pattern?: string;
17
+ inputProps?: React.HTMLAttributes<HTMLInputElement>;
18
+ };
19
+ export declare function SearchInput(props: SearchInputProps): ReactElement;
20
+ export {};
@@ -0,0 +1,46 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ import "react";
4
+ import { useHandleEvent as g } from "../../hooks/useHandleEvent.js";
5
+ function H(e) {
6
+ const {
7
+ className: n,
8
+ children: x,
9
+ onChange: r,
10
+ onInput: o,
11
+ onClickPositionButton: i,
12
+ placeHolder: a,
13
+ type: P,
14
+ value: p,
15
+ label: c,
16
+ required: l,
17
+ disabled: s,
18
+ pattern: u,
19
+ maxLength: h,
20
+ minLength: d,
21
+ inputProps: m,
22
+ ...b
23
+ } = e, { ref: f } = g({
24
+ change: r,
25
+ input: o,
26
+ "ds-search-input:click-position-button": i
27
+ });
28
+ return /* @__PURE__ */ t("ds-search-input-react", { ref: f, class: n, ...b, children: /* @__PURE__ */ t(
29
+ "input",
30
+ {
31
+ type: "text",
32
+ "aria-label": c,
33
+ placeholder: a,
34
+ value: p,
35
+ required: l,
36
+ disabled: s,
37
+ minLength: d,
38
+ maxLength: h,
39
+ pattern: u,
40
+ ...m
41
+ }
42
+ ) });
43
+ }
44
+ export {
45
+ H as SearchInput
46
+ };
@@ -0,0 +1,18 @@
1
+ import { DsSecondaryNavigationAttrs } from '@cupra/ui-kit/react/types/ds-secondary-navigation';
2
+ import { type ReactElement, type ReactNode } from 'react';
3
+ import '@cupra/ui-kit/react';
4
+ type SecondaryNavigationProps = DsSecondaryNavigationAttrs & {
5
+ className?: string;
6
+ children?: ReactNode;
7
+ onSelect?: (event: CustomEvent) => void;
8
+ };
9
+ export declare function SecondaryNavigation(props: SecondaryNavigationProps): ReactElement;
10
+ export declare namespace SecondaryNavigation {
11
+ var Items: ({ children }: {
12
+ children: ReactNode;
13
+ }) => ReactElement;
14
+ var Actions: ({ children }: {
15
+ children: ReactNode;
16
+ }) => ReactElement;
17
+ }
18
+ export {};
@@ -0,0 +1,16 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ import "react";
4
+ import { useHandleEvent as a } from "../../hooks/useHandleEvent.js";
5
+ function n(t) {
6
+ const { className: s, children: e, onSelect: r, ...i } = t, { ref: c } = a({
7
+ "ds-secondary-navigation:select": r
8
+ });
9
+ return /* @__PURE__ */ o("ds-secondary-navigation-react", { ref: c, class: s, ...i, children: e });
10
+ }
11
+ const m = ({ children: t }) => /* @__PURE__ */ o("div", { slot: "items", children: t }), d = ({ children: t }) => /* @__PURE__ */ o("div", { slot: "actions", children: t });
12
+ n.Items = m;
13
+ n.Actions = d;
14
+ export {
15
+ n as SecondaryNavigation
16
+ };
@@ -0,0 +1,10 @@
1
+ import { DsSegmentedControlAttrs } from '@cupra/ui-kit/react/types/ds-segmented-control';
2
+ import { type ReactElement } from 'react';
3
+ import '@cupra/ui-kit/react';
4
+ type SegmentedControlProps = DsSegmentedControlAttrs & {
5
+ onChange?: (event: CustomEvent) => void;
6
+ className?: string;
7
+ children: JSX.Element | JSX.Element[] | string;
8
+ };
9
+ export declare function SegmentedControl(props: SegmentedControlProps): ReactElement;
10
+ export {};
@@ -0,0 +1,11 @@
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ import "react";
4
+ import { useHandleEvent as m } from "../../hooks/useHandleEvent.js";
5
+ function d(e) {
6
+ const { onChange: o, className: r, children: t, ...n } = e, { ref: s } = m({ change: o });
7
+ return /* @__PURE__ */ c("ds-segmented-control-react", { ref: s, class: r, ...n, children: t });
8
+ }
9
+ export {
10
+ d as SegmentedControl
11
+ };
@@ -0,0 +1,9 @@
1
+ import { type ReactElement } from 'react';
2
+ import '@cupra/ui-kit/react';
3
+ import { DsSelectAttrs } from '@cupra/ui-kit/react/types/ds-select';
4
+ type Children = JSX.Element | JSX.Element[] | string;
5
+ interface SelectProps extends DsSelectAttrs {
6
+ children: Children;
7
+ }
8
+ export declare const Select: ({ children, ...restProps }: SelectProps) => ReactElement;
9
+ export {};
@@ -0,0 +1,6 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ const s = ({ children: t, ...e }) => /* @__PURE__ */ r("ds-select-react", { ...e, children: t });
4
+ export {
5
+ s as Select
6
+ };
@@ -0,0 +1,8 @@
1
+ import { DsSelectionAttrs } from '@cupra/ui-kit/react/types/ds-selection';
2
+ import { type ReactElement } from 'react';
3
+ import '@cupra/ui-kit/react';
4
+ type SelectionProps = DsSelectionAttrs & {
5
+ className?: string;
6
+ };
7
+ export declare function Selection(props: SelectionProps): ReactElement;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ function i(e) {
4
+ const { className: o, children: s, ...r } = e;
5
+ return /* @__PURE__ */ t("ds-selection-react", { class: o, ...r });
6
+ }
7
+ export {
8
+ i as Selection
9
+ };
@@ -0,0 +1,25 @@
1
+ import { DsSidebarNavigationAttrs } from '@cupra/ui-kit/react/types/ds-sidebar-navigation';
2
+ import '@cupra/ui-kit/react';
3
+ import { type ReactElement, type ReactNode } from 'react';
4
+ export type SidebarNavigationProps = DsSidebarNavigationAttrs & {
5
+ className?: string;
6
+ children?: ReactNode;
7
+ };
8
+ export declare function SidebarNavigation(props: SidebarNavigationProps): ReactElement;
9
+ export declare namespace SidebarNavigation {
10
+ var AsideText: ({ children }: {
11
+ children?: ReactNode;
12
+ }) => ReactElement;
13
+ var AsideIcon: ({ children }: {
14
+ children?: ReactNode;
15
+ }) => ReactElement;
16
+ var AsideHelperText: ({ children }: {
17
+ children?: ReactNode;
18
+ }) => ReactElement;
19
+ var MainCta: ({ children }: {
20
+ children?: ReactNode;
21
+ }) => ReactElement;
22
+ var Ctas: ({ children }: {
23
+ children?: ReactNode;
24
+ }) => ReactElement;
25
+ }
@@ -0,0 +1,15 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ function s(t) {
4
+ const { className: i, children: r, ...n } = t;
5
+ return /* @__PURE__ */ e("ds-sidebar-navigation-react", { class: i, ...n, children: r });
6
+ }
7
+ const o = ({ children: t }) => /* @__PURE__ */ e("div", { slot: "aside-text", children: t }), a = ({ children: t }) => /* @__PURE__ */ e("div", { slot: "aside-icon", children: t }), d = ({ children: t }) => /* @__PURE__ */ e("div", { slot: "aside-helper-text", children: t }), c = ({ children: t }) => /* @__PURE__ */ e("div", { slot: "main-cta", children: t }), l = ({ children: t }) => /* @__PURE__ */ e("div", { slot: "ctas", children: t });
8
+ s.AsideText = o;
9
+ s.AsideIcon = a;
10
+ s.AsideHelperText = d;
11
+ s.MainCta = c;
12
+ s.Ctas = l;
13
+ export {
14
+ s as SidebarNavigation
15
+ };
@@ -0,0 +1,8 @@
1
+ import { type ReactElement } from 'react';
2
+ import '@cupra/ui-kit/react';
3
+ import { DsSliderAttrs } from '@cupra/ui-kit/components/ds-slider/ds-slider.types';
4
+ type SliderProps = DsSliderAttrs & {
5
+ className?: string;
6
+ };
7
+ export declare function Slider(props: SliderProps): ReactElement;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ function l(r) {
4
+ const { className: s, children: t, ...e } = r;
5
+ return /* @__PURE__ */ o("ds-slider-react", { class: s, ...e });
6
+ }
7
+ export {
8
+ l as Slider
9
+ };
@@ -0,0 +1,9 @@
1
+ import type { ReactElement } from 'react';
2
+ import '@cupra/ui-kit/react';
3
+ import type { DsStaticBoxAttrs } from '@cupra/ui-kit/react/types/ds-static-box';
4
+ type StaticBoxProps = DsStaticBoxAttrs & {
5
+ className?: string;
6
+ children?: JSX.Element | JSX.Element[] | string;
7
+ };
8
+ export declare function StaticBox(props: StaticBoxProps): ReactElement;
9
+ export {};
@@ -0,0 +1,11 @@
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import "react";
3
+ import { useHandleEvent as i } from "../../hooks/useHandleEvent.js";
4
+ import "../../packages/ui-kit/dist-react/index.js";
5
+ function f(t) {
6
+ const { className: o, children: r, ...s } = t, { ref: e } = i({});
7
+ return /* @__PURE__ */ c("ds-static-box-react", { ref: e, class: o, ...s, children: r });
8
+ }
9
+ export {
10
+ f as StaticBox
11
+ };
@@ -0,0 +1,8 @@
1
+ import { type ReactElement } from 'react';
2
+ import '@cupra/ui-kit/react';
3
+ import type { DsStepperAttrs } from '@cupra/ui-kit/react/types/ds-stepper';
4
+ type StepperProps = DsStepperAttrs & {
5
+ className?: string;
6
+ };
7
+ export declare const Stepper: ({ className, ...restProps }: StepperProps) => ReactElement;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import "../../packages/ui-kit/dist-react/index.js";
3
+ const o = ({ className: r, ...t }) => /* @__PURE__ */ e("ds-stepper-react", { class: r, ...t });
4
+ export {
5
+ o as Stepper
6
+ };