@cupra/ui-react 2.0.0-canary.126 → 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.
- package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -1
- package/dist/cjs/components/Accordion/Accordion.cjs +1 -1
- package/dist/cjs/components/Avatar/Avatar.cjs +1 -1
- package/dist/cjs/components/Badge/Badge.cjs +1 -1
- package/dist/cjs/components/BasicCard/BasicCard.cjs +1 -1
- package/dist/cjs/components/BasicCardHeader/BasicCardHeader.cjs +1 -1
- package/dist/cjs/components/BasicCardImage/BasicCardImage.cjs +1 -1
- package/dist/cjs/components/BasicCardSection/BasicCardSection.cjs +1 -1
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/cjs/components/BreadcrumbsItem/BreadcrumbsItem.cjs +1 -1
- package/dist/cjs/components/Bullets/Bullets.cjs +1 -1
- package/dist/cjs/components/Button/Button.cjs +1 -1
- package/dist/cjs/components/Calendar/Calendar.cjs +1 -1
- package/dist/cjs/components/CarouselIndicator/CarouselIndicator.cjs +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/CheckboxGroup.cjs +1 -1
- package/dist/cjs/components/Chip/Chip.cjs +1 -1
- package/dist/cjs/components/Chips/Chips.cjs +1 -1
- package/dist/cjs/components/Currency/Currency.cjs +1 -1
- package/dist/cjs/components/DatePicker/DatePicker.cjs +1 -1
- package/dist/cjs/components/Dialog/Dialog.cjs +1 -1
- package/dist/cjs/components/DialogBody/DialogBody.cjs +1 -1
- package/dist/cjs/components/DialogFooter/DialogFooter.cjs +1 -1
- package/dist/cjs/components/DialogFullscreen/DialogFullscreen.cjs +1 -1
- package/dist/cjs/components/DialogHeader/DialogHeader.cjs +1 -1
- package/dist/cjs/components/Divider/Divider.cjs +1 -1
- package/dist/cjs/components/Drawer/Drawer.cjs +1 -1
- package/dist/cjs/components/FavouriteAction/FavouriteAction.cjs +1 -1
- package/dist/cjs/components/Hyperlink/Hyperlink.cjs +1 -1
- package/dist/cjs/components/Icon/Icon.cjs +1 -1
- package/dist/cjs/components/IconButton/IconButton.cjs +1 -1
- package/dist/cjs/components/IconButtonGroup/IconButtonGroup.cjs +1 -1
- package/dist/cjs/components/InlineAlert/InlineAlert.cjs +1 -1
- package/dist/cjs/components/Input/Input.cjs +1 -1
- package/dist/cjs/components/InteractiveCard/InteractiveCard.cjs +1 -1
- package/dist/cjs/components/LinkButton/LinkButton.cjs +1 -1
- package/dist/cjs/components/List/List.cjs +1 -1
- package/dist/cjs/components/ListItem/ListItem.cjs +1 -1
- package/dist/cjs/components/Loader/Loader.cjs +1 -1
- package/dist/cjs/components/Logo/Logo.cjs +1 -1
- package/dist/cjs/components/MainTitle/MainTitle.cjs +1 -1
- package/dist/cjs/components/MapPin/MapPin.cjs +1 -1
- package/dist/cjs/components/MediaControl/MediaControl.cjs +1 -1
- package/dist/cjs/components/Modal/Modal.cjs +2 -2
- package/dist/cjs/components/NavigationControls/NavigationControls.cjs +1 -1
- package/dist/cjs/components/PasswordInput/PasswordInput.cjs +1 -1
- package/dist/cjs/components/PickerItem/PickerItem.cjs +1 -1
- package/dist/cjs/components/Radio/Radio.cjs +1 -1
- package/dist/cjs/components/RadioButton/RadioButton.cjs +1 -1
- package/dist/cjs/components/RadioButtonGroup/RadioButtonGroup.cjs +1 -1
- package/dist/cjs/components/Rating/Rating.cjs +1 -1
- package/dist/cjs/components/Search/Search.cjs +1 -1
- package/dist/cjs/components/SearchInput/SearchInput.cjs +1 -1
- package/dist/cjs/components/SecondaryNavigation/SecondaryNavigation.cjs +1 -1
- package/dist/cjs/components/SegmentedControl/SegmentedControl.cjs +1 -1
- package/dist/cjs/components/Select/Select.cjs +1 -1
- package/dist/cjs/components/Selection/Selection.cjs +1 -1
- package/dist/cjs/components/SidebarNavigation/SidebarNavigation.cjs +1 -1
- package/dist/cjs/components/Skeleton/Skeleton.cjs +1 -1
- package/dist/cjs/components/Slider/Slider.cjs +1 -1
- package/dist/cjs/components/StaticBox/StaticBox.cjs +1 -1
- package/dist/cjs/components/Stepper/Stepper.cjs +1 -1
- package/dist/cjs/components/Table/Table.cjs +1 -1
- package/dist/cjs/components/TableCell/TableCell.cjs +1 -1
- package/dist/cjs/components/TableRow/TableRow.cjs +1 -1
- package/dist/cjs/components/Tabs/Tabs.cjs +1 -1
- package/dist/cjs/components/Tag/Tag.cjs +1 -1
- package/dist/cjs/components/Text/Text.cjs +1 -1
- package/dist/cjs/components/TextInput/TextInput.cjs +1 -1
- package/dist/cjs/components/Textarea/Textarea.cjs +1 -1
- package/dist/cjs/components/ThemeProvider/ThemeProvider.cjs +1 -1
- package/dist/cjs/components/Toast/Toast.cjs +1 -1
- package/dist/cjs/components/ToastMessage/ToastMessage.cjs +1 -1
- package/dist/cjs/components/ToggleButton/ToggleButton.cjs +1 -1
- package/dist/cjs/components/ToggleSwitch/ToggleSwitch.cjs +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.cjs +1 -1
- package/dist/cjs/components/ValueUnit/ValueUnit.cjs +1 -1
- 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
- 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
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Prefixer.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Tokenizer.cjs +1 -1
- package/dist/esm/components/Accordion/Accordion.js +10 -9
- package/dist/esm/components/Avatar/Avatar.js +13 -11
- package/dist/esm/components/Badge/Badge.js +8 -6
- package/dist/esm/components/BasicCard/BasicCard.js +13 -11
- package/dist/esm/components/BasicCardHeader/BasicCardHeader.js +19 -17
- package/dist/esm/components/BasicCardImage/BasicCardImage.js +10 -8
- package/dist/esm/components/BasicCardSection/BasicCardSection.js +10 -8
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +9 -8
- package/dist/esm/components/BreadcrumbsItem/BreadcrumbsItem.js +12 -11
- package/dist/esm/components/Bullets/Bullets.js +6 -5
- package/dist/esm/components/Button/Button.js +12 -10
- package/dist/esm/components/Calendar/Calendar.js +10 -8
- package/dist/esm/components/CarouselIndicator/CarouselIndicator.js +9 -7
- package/dist/esm/components/Checkbox/Checkbox.js +10 -8
- package/dist/esm/components/CheckboxGroup/CheckboxGroup.js +11 -9
- package/dist/esm/components/Chip/Chip.js +10 -8
- package/dist/esm/components/Chips/Chips.js +11 -9
- package/dist/esm/components/Currency/Currency.js +9 -7
- package/dist/esm/components/DatePicker/DatePicker.js +20 -18
- package/dist/esm/components/Dialog/Dialog.js +12 -10
- package/dist/esm/components/DialogBody/DialogBody.js +10 -8
- package/dist/esm/components/DialogFooter/DialogFooter.js +10 -8
- package/dist/esm/components/DialogFullscreen/DialogFullscreen.js +12 -10
- package/dist/esm/components/DialogHeader/DialogHeader.js +10 -8
- package/dist/esm/components/Divider/Divider.js +8 -6
- package/dist/esm/components/Drawer/Drawer.js +18 -16
- package/dist/esm/components/FavouriteAction/FavouriteAction.js +15 -13
- package/dist/esm/components/Hyperlink/Hyperlink.js +10 -8
- package/dist/esm/components/Icon/Icon.js +10 -8
- package/dist/esm/components/IconButton/IconButton.js +11 -9
- package/dist/esm/components/IconButtonGroup/IconButtonGroup.js +10 -8
- package/dist/esm/components/InlineAlert/InlineAlert.js +11 -9
- package/dist/esm/components/Input/Input.js +14 -13
- package/dist/esm/components/InteractiveCard/InteractiveCard.js +19 -17
- package/dist/esm/components/LinkButton/LinkButton.js +10 -8
- package/dist/esm/components/List/List.js +9 -7
- package/dist/esm/components/ListItem/ListItem.js +12 -10
- package/dist/esm/components/Loader/Loader.js +20 -18
- package/dist/esm/components/Logo/Logo.js +9 -7
- package/dist/esm/components/MainTitle/MainTitle.js +17 -15
- package/dist/esm/components/MapPin/MapPin.js +9 -7
- package/dist/esm/components/MediaControl/MediaControl.js +12 -10
- package/dist/esm/components/Modal/Modal.js +27 -25
- package/dist/esm/components/NavigationControls/NavigationControls.js +10 -8
- package/dist/esm/components/PasswordInput/PasswordInput.js +25 -23
- package/dist/esm/components/PickerItem/PickerItem.js +12 -10
- package/dist/esm/components/Radio/Radio.js +14 -12
- package/dist/esm/components/RadioButton/RadioButton.js +11 -9
- package/dist/esm/components/RadioButtonGroup/RadioButtonGroup.js +11 -9
- package/dist/esm/components/Rating/Rating.js +9 -7
- package/dist/esm/components/Search/Search.js +9 -8
- package/dist/esm/components/SearchInput/SearchInput.js +23 -21
- package/dist/esm/components/SecondaryNavigation/SecondaryNavigation.js +13 -11
- package/dist/esm/components/SegmentedControl/SegmentedControl.js +11 -9
- package/dist/esm/components/Select/Select.js +6 -5
- package/dist/esm/components/Selection/Selection.js +9 -7
- package/dist/esm/components/SidebarNavigation/SidebarNavigation.js +20 -18
- package/dist/esm/components/Skeleton/Skeleton.js +8 -6
- package/dist/esm/components/Slider/Slider.js +11 -9
- package/dist/esm/components/StaticBox/StaticBox.js +12 -10
- package/dist/esm/components/Stepper/Stepper.js +6 -5
- package/dist/esm/components/Table/Table.js +10 -8
- package/dist/esm/components/TableCell/TableCell.js +10 -8
- package/dist/esm/components/TableRow/TableRow.js +10 -8
- package/dist/esm/components/Tabs/Tabs.js +15 -13
- package/dist/esm/components/Tag/Tag.js +11 -9
- package/dist/esm/components/Text/Text.js +10 -8
- package/dist/esm/components/TextInput/TextInput.js +27 -25
- package/dist/esm/components/Textarea/Textarea.js +29 -27
- package/dist/esm/components/ThemeProvider/ThemeProvider.js +6 -5
- package/dist/esm/components/Toast/Toast.js +10 -8
- package/dist/esm/components/ToastMessage/ToastMessage.js +11 -9
- package/dist/esm/components/ToggleButton/ToggleButton.js +9 -7
- package/dist/esm/components/ToggleSwitch/ToggleSwitch.js +17 -15
- package/dist/esm/components/Tooltip/Tooltip.js +14 -13
- package/dist/esm/components/ValueUnit/ValueUnit.js +13 -11
- 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
- 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
- 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
- package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js +4 -0
- package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Middleware.js +1 -1
- package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js +95 -0
- package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Prefixer.js +9 -9
- package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js +21 -0
- package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Tokenizer.js +2 -2
- package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Utility.js +1 -1
- package/package.json +4 -4
- 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
- package/dist/cjs/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.cjs +0 -1
- 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
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.cjs +0 -1
- package/dist/esm/_virtual/_rolldown/runtime.js +0 -13
- 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
- package/dist/esm/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -51
- package/dist/esm/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.js +0 -22
- 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
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js +0 -4
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.js +0 -93
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.js +0 -20
- package/dist/esm/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +0 -13
- /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
- /package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Middleware.cjs +0 -0
- /package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Utility.cjs +0 -0
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
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-list";
|
|
3
4
|
//#region src/components/List/List.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
var n = `ds-list${e}`;
|
|
6
|
+
function r({ className: e, children: r, ...i }) {
|
|
7
|
+
return /* @__PURE__ */ t(n, {
|
|
8
|
+
class: e,
|
|
9
|
+
...i,
|
|
10
|
+
children: r
|
|
9
11
|
});
|
|
10
12
|
}
|
|
11
13
|
//#endregion
|
|
12
|
-
export {
|
|
14
|
+
export { r as List };
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { Divider as e } from "../Divider/Divider.js";
|
|
2
|
-
import {
|
|
2
|
+
import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
4
|
import "@cupra/ui-kit/react/ds-list-item";
|
|
4
5
|
//#region src/components/ListItem/ListItem.tsx
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
var i = `ds-list-item${t}`;
|
|
7
|
+
function a({ className: t, children: a, selected: o, disabled: s, variant: c, ...l }) {
|
|
8
|
+
let u = { ...l };
|
|
9
|
+
return c && (u.variant = c), o && (u.selected = !0), s && (u.disabled = !0), /* @__PURE__ */ r("div", {
|
|
8
10
|
style: { width: "fit-content" },
|
|
9
|
-
children: [/* @__PURE__ */
|
|
10
|
-
className:
|
|
11
|
-
...
|
|
12
|
-
children:
|
|
13
|
-
}),
|
|
11
|
+
children: [/* @__PURE__ */ n(i, {
|
|
12
|
+
className: t,
|
|
13
|
+
...u,
|
|
14
|
+
children: a
|
|
15
|
+
}), c !== "info" && /* @__PURE__ */ n(e, {})]
|
|
14
16
|
});
|
|
15
17
|
}
|
|
16
18
|
//#endregion
|
|
17
|
-
export {
|
|
19
|
+
export { a as ListItem };
|
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
import {
|
|
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-loader-bar";
|
|
3
4
|
import "@cupra/ui-kit/react/ds-loader-dots";
|
|
4
5
|
import "@cupra/ui-kit/react/ds-loader-logo";
|
|
5
6
|
import "@cupra/ui-kit/react/ds-loader-spinner";
|
|
6
7
|
//#region src/components/Loader/Loader.tsx
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
var n = `ds-loader-logo${e}`, r = `ds-loader-bar${e}`, i = `ds-loader-dots${e}`, a = `ds-loader-spinner${e}`;
|
|
9
|
+
function o(e) {
|
|
10
|
+
return /* @__PURE__ */ t(n, { ...e });
|
|
9
11
|
}
|
|
10
|
-
function
|
|
11
|
-
return /* @__PURE__ */
|
|
12
|
+
function s(e) {
|
|
13
|
+
return /* @__PURE__ */ t(r, { ...e });
|
|
12
14
|
}
|
|
13
|
-
function
|
|
14
|
-
return /* @__PURE__ */
|
|
15
|
+
function c(e) {
|
|
16
|
+
return /* @__PURE__ */ t(i, { ...e });
|
|
15
17
|
}
|
|
16
|
-
function
|
|
17
|
-
return /* @__PURE__ */
|
|
18
|
-
...
|
|
19
|
-
children:
|
|
18
|
+
function l(e) {
|
|
19
|
+
return /* @__PURE__ */ t(a, {
|
|
20
|
+
...e,
|
|
21
|
+
children: e.text && /* @__PURE__ */ t("div", {
|
|
20
22
|
slot: "text",
|
|
21
|
-
children:
|
|
23
|
+
children: e.text
|
|
22
24
|
})
|
|
23
25
|
});
|
|
24
26
|
}
|
|
25
|
-
var
|
|
26
|
-
Logo:
|
|
27
|
-
Bar:
|
|
28
|
-
Dots:
|
|
29
|
-
Spinner:
|
|
27
|
+
var u = {
|
|
28
|
+
Logo: o,
|
|
29
|
+
Bar: s,
|
|
30
|
+
Dots: c,
|
|
31
|
+
Spinner: l
|
|
30
32
|
};
|
|
31
33
|
//#endregion
|
|
32
|
-
export {
|
|
34
|
+
export { u as Loader, o as LoaderLogo };
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
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-logo";
|
|
3
4
|
//#region src/components/Logo/Logo.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
var n = `ds-logo${e}`;
|
|
6
|
+
function r(e) {
|
|
7
|
+
let { className: r, children: i, ...a } = e;
|
|
8
|
+
return /* @__PURE__ */ t(n, {
|
|
9
|
+
class: r,
|
|
10
|
+
...a
|
|
9
11
|
});
|
|
10
12
|
}
|
|
11
13
|
//#endregion
|
|
12
|
-
export {
|
|
14
|
+
export { r as Logo };
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import {
|
|
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-main-title";
|
|
3
4
|
//#region src/components/MainTitle/MainTitle.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
var n = `ds-main-title${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
|
-
function
|
|
13
|
-
let { as: n, children: r, ...i } =
|
|
14
|
-
return /* @__PURE__ */
|
|
14
|
+
function i(e) {
|
|
15
|
+
let { as: n, children: r, ...i } = e;
|
|
16
|
+
return /* @__PURE__ */ t(n, {
|
|
15
17
|
slot: "title",
|
|
16
18
|
...i,
|
|
17
19
|
children: r
|
|
18
20
|
});
|
|
19
21
|
}
|
|
20
|
-
function
|
|
21
|
-
let { as: n, children: r, ...i } =
|
|
22
|
-
return /* @__PURE__ */
|
|
22
|
+
function a(e) {
|
|
23
|
+
let { as: n, children: r, ...i } = e;
|
|
24
|
+
return /* @__PURE__ */ t(n, {
|
|
23
25
|
slot: "subtitle",
|
|
24
26
|
...i,
|
|
25
27
|
children: r
|
|
26
28
|
});
|
|
27
29
|
}
|
|
28
|
-
|
|
30
|
+
r.Title = i, r.Subtitle = a;
|
|
29
31
|
//#endregion
|
|
30
|
-
export {
|
|
32
|
+
export { r as MainTitle };
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
2
|
import "../../hooks/index.js";
|
|
3
|
-
import {
|
|
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-map-pin";
|
|
5
6
|
//#region src/components/MapPin/MapPin.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
var r = `ds-map-pin${t}`;
|
|
8
|
+
function i({ onChange: t, ...i }) {
|
|
9
|
+
let { ref: a } = e({ change: t });
|
|
10
|
+
return /* @__PURE__ */ n(r, {
|
|
11
|
+
ref: a,
|
|
12
|
+
...i
|
|
11
13
|
});
|
|
12
14
|
}
|
|
13
15
|
//#endregion
|
|
14
|
-
export {
|
|
16
|
+
export { i as MapPin };
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
2
|
import "../../hooks/index.js";
|
|
3
|
-
import {
|
|
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-media-control";
|
|
5
6
|
//#region src/components/MediaControl/MediaControl.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"ds-media-control:
|
|
7
|
+
var r = `ds-media-control${t}`;
|
|
8
|
+
function i(t) {
|
|
9
|
+
let { className: i, onPlay: a, onPause: o, ...s } = t, { ref: c } = e({
|
|
10
|
+
"ds-media-control:play": a,
|
|
11
|
+
"ds-media-control:pause": o
|
|
10
12
|
});
|
|
11
|
-
return /* @__PURE__ */
|
|
12
|
-
ref:
|
|
13
|
-
class:
|
|
14
|
-
...
|
|
13
|
+
return /* @__PURE__ */ n(r, {
|
|
14
|
+
ref: c,
|
|
15
|
+
class: i,
|
|
16
|
+
...s
|
|
15
17
|
});
|
|
16
18
|
}
|
|
17
19
|
//#endregion
|
|
18
|
-
export {
|
|
20
|
+
export { i as MediaControl };
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
2
|
import "../../hooks/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { yt as t } from "../../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";
|
|
4
|
+
import { VERSION_TAG_SUFFIX as n } from "@cupra/ui-kit";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
import { createPortal as i } from "react-dom";
|
|
6
7
|
import "@cupra/ui-kit/react/ds-modal";
|
|
7
8
|
//#region src/components/Modal/Modal.tsx
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
var a = `ds-modal${n}`;
|
|
10
|
+
function o() {}
|
|
11
|
+
var s = t.div`
|
|
10
12
|
margin: 0;
|
|
11
13
|
width: 100%;
|
|
12
14
|
height: 100%;
|
|
@@ -15,40 +17,40 @@ var a = t.div`
|
|
|
15
17
|
left: 50%;
|
|
16
18
|
transform: translate(-50%, -50%);
|
|
17
19
|
`;
|
|
18
|
-
function
|
|
19
|
-
let { children:
|
|
20
|
-
"click-close-button":
|
|
21
|
-
"click-confirm-button":
|
|
22
|
-
"click-cancel-button":
|
|
20
|
+
function c(t) {
|
|
21
|
+
let { children: n, onClickCloseButton: s = o, onClickConfirmButton: c = o, onClickCancelButton: l = o, className: u, withPortal: d, ...f } = t, { ref: p } = e({
|
|
22
|
+
"click-close-button": s,
|
|
23
|
+
"click-confirm-button": c,
|
|
24
|
+
"click-cancel-button": l
|
|
23
25
|
});
|
|
24
|
-
if (!
|
|
25
|
-
let
|
|
26
|
-
ref:
|
|
27
|
-
class:
|
|
28
|
-
...
|
|
29
|
-
children:
|
|
26
|
+
if (!f.open) return null;
|
|
27
|
+
let m = /* @__PURE__ */ r(a, {
|
|
28
|
+
ref: p,
|
|
29
|
+
class: u,
|
|
30
|
+
...f,
|
|
31
|
+
children: n
|
|
30
32
|
});
|
|
31
|
-
return
|
|
33
|
+
return d ? i(m, document.body) : m;
|
|
32
34
|
}
|
|
33
|
-
function
|
|
34
|
-
return /* @__PURE__ */
|
|
35
|
+
function l({ children: e }) {
|
|
36
|
+
return /* @__PURE__ */ r("div", {
|
|
35
37
|
slot: "title",
|
|
36
38
|
children: e
|
|
37
39
|
});
|
|
38
40
|
}
|
|
39
|
-
function
|
|
40
|
-
return /* @__PURE__ */
|
|
41
|
+
function u({ className: e = "", children: t }) {
|
|
42
|
+
return /* @__PURE__ */ r("div", {
|
|
41
43
|
slot: "content",
|
|
42
44
|
className: `ds-scroll ${e}`.trim(),
|
|
43
45
|
children: t
|
|
44
46
|
});
|
|
45
47
|
}
|
|
46
|
-
function
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
+
function d({ children: e }) {
|
|
49
|
+
return /* @__PURE__ */ r(s, {
|
|
48
50
|
slot: "content",
|
|
49
51
|
children: e
|
|
50
52
|
});
|
|
51
53
|
}
|
|
52
|
-
|
|
54
|
+
c.Title = l, c.Content = u, c.FullScreenContent = d;
|
|
53
55
|
//#endregion
|
|
54
|
-
export {
|
|
56
|
+
export { c as Modal };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
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-navigation-controls";
|
|
3
4
|
//#region src/components/NavigationControls/NavigationControls.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
var n = `ds-navigation-controls${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 {
|
|
15
|
+
export { r as NavigationControls };
|
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
2
|
import "../../hooks/index.js";
|
|
3
|
-
import {
|
|
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-password-input";
|
|
5
6
|
//#region src/components/PasswordInput/PasswordInput.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
var i = `ds-password-input${t}`;
|
|
8
|
+
function a(t) {
|
|
9
|
+
let { className: a, children: o, onChange: s, onInput: c, inputId: l, placeHolder: u, value: d, label: f, required: p, disabled: m, pattern: h, maxLength: g, minLength: _, ...v } = t, { ref: y } = e({
|
|
10
|
+
change: s,
|
|
11
|
+
input: c
|
|
12
|
+
}), b = {
|
|
11
13
|
type: "password",
|
|
12
|
-
...!!
|
|
13
|
-
...!!
|
|
14
|
-
...!!
|
|
15
|
-
...!!
|
|
16
|
-
...!!
|
|
17
|
-
...!!
|
|
18
|
-
...!!
|
|
19
|
-
...!!
|
|
14
|
+
...!!l && { id: l },
|
|
15
|
+
...!!u && { placeholder: u },
|
|
16
|
+
...!!d && { value: d },
|
|
17
|
+
...!!p && { required: p },
|
|
18
|
+
...!!m && { disabled: m },
|
|
19
|
+
...!!_ && { minLength: _ },
|
|
20
|
+
...!!g && { maxLength: g },
|
|
21
|
+
...!!h && { pattern: h }
|
|
20
22
|
};
|
|
21
|
-
return /* @__PURE__ */
|
|
22
|
-
ref:
|
|
23
|
-
class:
|
|
24
|
-
...
|
|
25
|
-
children: [/* @__PURE__ */
|
|
26
|
-
htmlFor:
|
|
27
|
-
children:
|
|
28
|
-
}), /* @__PURE__ */
|
|
23
|
+
return /* @__PURE__ */ r(i, {
|
|
24
|
+
ref: y,
|
|
25
|
+
class: a,
|
|
26
|
+
...v,
|
|
27
|
+
children: [/* @__PURE__ */ n("label", {
|
|
28
|
+
htmlFor: l,
|
|
29
|
+
children: f
|
|
30
|
+
}), /* @__PURE__ */ n("input", { ...b })]
|
|
29
31
|
});
|
|
30
32
|
}
|
|
31
33
|
//#endregion
|
|
32
|
-
export {
|
|
34
|
+
export { a as PasswordInput };
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
|
-
import {
|
|
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-picker-item";
|
|
4
5
|
//#region src/components/PickerItem/PickerItem.tsx
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
var r = `ds-picker-item${t}`;
|
|
7
|
+
function i(t) {
|
|
8
|
+
let { className: i, children: a, onClick: o, size: s, ...c } = t, { ref: l } = e({ "ds-picker-item:click": o });
|
|
9
|
+
return /* @__PURE__ */ n(r, {
|
|
10
|
+
ref: l,
|
|
11
|
+
size: typeof s == "string" ? s : JSON.stringify(s),
|
|
12
|
+
class: i,
|
|
13
|
+
...c,
|
|
14
|
+
children: a
|
|
13
15
|
});
|
|
14
16
|
}
|
|
15
17
|
//#endregion
|
|
16
|
-
export {
|
|
18
|
+
export { i as PickerItem };
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
2
|
import "../../hooks/index.js";
|
|
3
|
-
import {
|
|
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-radio";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
//#region src/components/Radio/Radio.tsx
|
|
7
|
+
var r = `ds-radio-group${t}`, i = `ds-radio${t}`, a = {
|
|
8
|
+
Group: ({ children: t, onChange: i, className: a, ...o }) => {
|
|
9
|
+
let { ref: s } = e({ change: i });
|
|
10
|
+
return /* @__PURE__ */ n(r, {
|
|
11
|
+
ref: s,
|
|
12
|
+
class: a,
|
|
13
|
+
...o,
|
|
14
|
+
children: t
|
|
13
15
|
});
|
|
14
16
|
},
|
|
15
|
-
Button: ({ children: e, className:
|
|
16
|
-
class:
|
|
17
|
+
Button: ({ children: e, className: t, ...r }) => /* @__PURE__ */ n(i, {
|
|
18
|
+
class: t,
|
|
17
19
|
...r,
|
|
18
20
|
children: e
|
|
19
21
|
})
|
|
20
22
|
};
|
|
21
23
|
//#endregion
|
|
22
|
-
export {
|
|
24
|
+
export { a as Radio };
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
|
-
import {
|
|
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-radio-button";
|
|
4
5
|
//#region src/components/RadioButton/RadioButton.tsx
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
var r = `ds-radio-button${t}`;
|
|
7
|
+
function i(t) {
|
|
8
|
+
let { className: i, children: a, onChange: o, ...s } = t, { ref: c } = e({ change: o });
|
|
9
|
+
return /* @__PURE__ */ n(r, {
|
|
10
|
+
ref: c,
|
|
11
|
+
class: i,
|
|
12
|
+
...s,
|
|
13
|
+
children: a
|
|
12
14
|
});
|
|
13
15
|
}
|
|
14
16
|
//#endregion
|
|
15
|
-
export {
|
|
17
|
+
export { i as RadioButton };
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
|
-
import {
|
|
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-radio-button-group";
|
|
4
5
|
//#region src/components/RadioButtonGroup/RadioButtonGroup.tsx
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
var r = `ds-radio-button-group${t}`;
|
|
7
|
+
function i(t) {
|
|
8
|
+
let { className: i, children: a, onChange: o, ...s } = t, { ref: c } = e({ change: o });
|
|
9
|
+
return /* @__PURE__ */ n(r, {
|
|
10
|
+
ref: c,
|
|
11
|
+
class: i,
|
|
12
|
+
...s,
|
|
13
|
+
children: a
|
|
12
14
|
});
|
|
13
15
|
}
|
|
14
16
|
//#endregion
|
|
15
|
-
export {
|
|
17
|
+
export { i as RadioButtonGroup };
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
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-rating";
|
|
3
4
|
//#region src/components/Rating/Rating.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
var n = `ds-rating${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 {
|
|
14
|
+
export { r as Rating };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { VERSION_TAG_SUFFIX as e } from "@cupra/ui-kit";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef as n } from "react";
|
|
3
4
|
import "@cupra/ui-kit/react/ds-search";
|
|
4
5
|
//#region src/components/Search/Search.tsx
|
|
5
|
-
var
|
|
6
|
-
ref:
|
|
6
|
+
var r = `ds-search${e}`, i = n(({ onInput: e, className: n, ...i }, a) => /* @__PURE__ */ t(r, {
|
|
7
|
+
ref: a,
|
|
7
8
|
class: n,
|
|
8
|
-
onInput:
|
|
9
|
-
...
|
|
9
|
+
onInput: e,
|
|
10
|
+
...i
|
|
10
11
|
}));
|
|
11
|
-
|
|
12
|
+
i.displayName = "Search";
|
|
12
13
|
//#endregion
|
|
13
|
-
export {
|
|
14
|
+
export { i as Search };
|
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
2
|
import "../../hooks/index.js";
|
|
3
|
-
import {
|
|
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-search-input";
|
|
5
6
|
//#region src/components/SearchInput/SearchInput.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
var r = `ds-search-input${t}`;
|
|
8
|
+
function i(t) {
|
|
9
|
+
let { className: i, children: a, onChange: o, onInput: s, onClickPositionButton: c, placeHolder: l, type: u, value: d, label: f, required: p, disabled: m, pattern: h, maxLength: g, minLength: _, inputProps: v, ...y } = t, { ref: b } = e({
|
|
10
|
+
change: o,
|
|
11
|
+
input: s,
|
|
12
|
+
"ds-search-input:click-position-button": c
|
|
11
13
|
});
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
-
ref:
|
|
14
|
-
class:
|
|
15
|
-
...
|
|
16
|
-
children: /* @__PURE__ */
|
|
14
|
+
return /* @__PURE__ */ n(r, {
|
|
15
|
+
ref: b,
|
|
16
|
+
class: i,
|
|
17
|
+
...y,
|
|
18
|
+
children: /* @__PURE__ */ n("input", {
|
|
17
19
|
type: "text",
|
|
18
|
-
"aria-label":
|
|
19
|
-
placeholder:
|
|
20
|
-
value:
|
|
21
|
-
required:
|
|
22
|
-
disabled:
|
|
23
|
-
minLength:
|
|
24
|
-
maxLength:
|
|
25
|
-
pattern:
|
|
26
|
-
...
|
|
20
|
+
"aria-label": f,
|
|
21
|
+
placeholder: l,
|
|
22
|
+
value: d,
|
|
23
|
+
required: p,
|
|
24
|
+
disabled: m,
|
|
25
|
+
minLength: _,
|
|
26
|
+
maxLength: g,
|
|
27
|
+
pattern: h,
|
|
28
|
+
...v
|
|
27
29
|
})
|
|
28
30
|
});
|
|
29
31
|
}
|
|
30
32
|
//#endregion
|
|
31
|
-
export {
|
|
33
|
+
export { i as SearchInput };
|