@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,25 +1,27 @@
|
|
|
1
1
|
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
2
|
import "../../hooks/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { VERSION_TAG_SUFFIX as t } from "@cupra/ui-kit";
|
|
4
|
+
import { Fragment as n, jsx as r } from "react/jsx-runtime";
|
|
5
|
+
import { Children as i } from "react";
|
|
5
6
|
import "@cupra/ui-kit/react/ds-secondary-navigation";
|
|
6
7
|
//#region src/components/SecondaryNavigation/SecondaryNavigation.tsx
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
var a = `ds-secondary-navigation${t}`;
|
|
9
|
+
function o(t) {
|
|
10
|
+
let { className: n, children: i, onSelect: o, ...s } = t, { ref: c } = e({ "ds-secondary-navigation:select": o });
|
|
11
|
+
return /* @__PURE__ */ r(a, {
|
|
12
|
+
ref: c,
|
|
13
|
+
class: n,
|
|
14
|
+
...s,
|
|
13
15
|
children: i
|
|
14
16
|
});
|
|
15
17
|
}
|
|
16
|
-
|
|
18
|
+
o.Item = ({ children: e, ...t }) => /* @__PURE__ */ r("a", {
|
|
17
19
|
slot: "items",
|
|
18
20
|
...t,
|
|
19
21
|
children: e
|
|
20
|
-
}),
|
|
22
|
+
}), o.Actions = ({ children: e }) => /* @__PURE__ */ r(n, { children: i.map(e, (e, t) => /* @__PURE__ */ r("div", {
|
|
21
23
|
slot: "actions",
|
|
22
24
|
children: e
|
|
23
25
|
}, t)) });
|
|
24
26
|
//#endregion
|
|
25
|
-
export {
|
|
27
|
+
export { o as SecondaryNavigation };
|
|
@@ -1,16 +1,18 @@
|
|
|
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-segmented-control";
|
|
5
6
|
//#region src/components/SegmentedControl/SegmentedControl.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
var r = `ds-segmented-control${t}`;
|
|
8
|
+
function i(t) {
|
|
9
|
+
let { onChange: i, className: a, children: o, ...s } = t, { ref: c } = e({ change: i });
|
|
10
|
+
return /* @__PURE__ */ n(r, {
|
|
11
|
+
ref: c,
|
|
12
|
+
class: a,
|
|
13
|
+
...s,
|
|
14
|
+
children: o
|
|
13
15
|
});
|
|
14
16
|
}
|
|
15
17
|
//#endregion
|
|
16
|
-
export {
|
|
18
|
+
export { i as SegmentedControl };
|
|
@@ -1,9 +1,10 @@
|
|
|
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-select";
|
|
3
4
|
//#region src/components/Select/Select.tsx
|
|
4
|
-
var
|
|
5
|
-
...
|
|
6
|
-
children:
|
|
5
|
+
var n = `ds-select${e}`, r = ({ children: e, ...r }) => /* @__PURE__ */ t(n, {
|
|
6
|
+
...r,
|
|
7
|
+
children: e
|
|
7
8
|
});
|
|
8
9
|
//#endregion
|
|
9
|
-
export {
|
|
10
|
+
export { r as Select };
|
|
@@ -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-selection";
|
|
3
4
|
//#region src/components/Selection/Selection.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
var n = `ds-selection${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 Selection };
|
|
@@ -1,29 +1,31 @@
|
|
|
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-sidebar-navigation";
|
|
3
4
|
//#region src/components/SidebarNavigation/SidebarNavigation.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
var n = `ds-sidebar-navigation${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
|
+
r.AsideText = ({ children: e }) => /* @__PURE__ */ t("div", {
|
|
13
15
|
slot: "aside-text",
|
|
14
|
-
children:
|
|
15
|
-
}),
|
|
16
|
+
children: e
|
|
17
|
+
}), r.AsideIcon = ({ children: e }) => /* @__PURE__ */ t("div", {
|
|
16
18
|
slot: "aside-icon",
|
|
17
|
-
children:
|
|
18
|
-
}),
|
|
19
|
+
children: e
|
|
20
|
+
}), r.AsideHelperText = ({ children: e }) => /* @__PURE__ */ t("div", {
|
|
19
21
|
slot: "aside-helper-text",
|
|
20
|
-
children:
|
|
21
|
-
}),
|
|
22
|
+
children: e
|
|
23
|
+
}), r.MainCta = ({ children: e }) => /* @__PURE__ */ t("div", {
|
|
22
24
|
slot: "main-cta",
|
|
23
|
-
children:
|
|
24
|
-
}),
|
|
25
|
+
children: e
|
|
26
|
+
}), r.Ctas = ({ children: e }) => /* @__PURE__ */ t("div", {
|
|
25
27
|
slot: "ctas",
|
|
26
|
-
children:
|
|
28
|
+
children: e
|
|
27
29
|
});
|
|
28
30
|
//#endregion
|
|
29
|
-
export {
|
|
31
|
+
export { r as SidebarNavigation };
|
|
@@ -1,11 +1,13 @@
|
|
|
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-skeleton";
|
|
3
4
|
//#region src/components/Skeleton/Skeleton.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
var n = `ds-skeleton${e}`;
|
|
6
|
+
function r({ className: e, ...r }) {
|
|
7
|
+
return /* @__PURE__ */ t(n, {
|
|
8
|
+
class: e,
|
|
9
|
+
...r
|
|
8
10
|
});
|
|
9
11
|
}
|
|
10
12
|
//#endregion
|
|
11
|
-
export {
|
|
13
|
+
export { r as Skeleton };
|
|
@@ -1,16 +1,18 @@
|
|
|
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-slider";
|
|
5
6
|
//#region src/components/Slider/Slider.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
var r = `ds-slider${t}`;
|
|
8
|
+
function i(t) {
|
|
9
|
+
let { className: i, children: a, size: o, onChange: s, ...c } = t, { ref: l } = e({ change: s });
|
|
10
|
+
return /* @__PURE__ */ n(r, {
|
|
11
|
+
ref: l,
|
|
12
|
+
size: typeof o == "string" ? o : JSON.stringify(o),
|
|
13
|
+
class: i,
|
|
14
|
+
...c
|
|
13
15
|
});
|
|
14
16
|
}
|
|
15
17
|
//#endregion
|
|
16
|
-
export {
|
|
18
|
+
export { i as Slider };
|
|
@@ -1,17 +1,19 @@
|
|
|
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-static-box";
|
|
5
6
|
//#region src/components/StaticBox/StaticBox.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
var r = `ds-static-box${t}`;
|
|
8
|
+
function i(t) {
|
|
9
|
+
let { className: i, children: a, size: o, ...s } = t, { ref: c } = e({});
|
|
10
|
+
return /* @__PURE__ */ n(r, {
|
|
11
|
+
ref: c,
|
|
12
|
+
size: typeof o == "string" ? o : JSON.stringify(o),
|
|
13
|
+
class: i,
|
|
14
|
+
...s,
|
|
15
|
+
children: a
|
|
14
16
|
});
|
|
15
17
|
}
|
|
16
18
|
//#endregion
|
|
17
|
-
export {
|
|
19
|
+
export { i as StaticBox };
|
|
@@ -1,9 +1,10 @@
|
|
|
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-stepper";
|
|
3
4
|
//#region src/components/Stepper/Stepper.tsx
|
|
4
|
-
var
|
|
5
|
-
class:
|
|
6
|
-
...
|
|
5
|
+
var n = `ds-stepper${e}`, r = ({ className: e, ...r }) => /* @__PURE__ */ t(n, {
|
|
6
|
+
class: e,
|
|
7
|
+
...r
|
|
7
8
|
});
|
|
8
9
|
//#endregion
|
|
9
|
-
export {
|
|
10
|
+
export { r as Stepper };
|
|
@@ -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-table";
|
|
3
4
|
//#region src/components/Table/Table.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
var n = `ds-table${e}`;
|
|
6
|
+
function r(e) {
|
|
7
|
+
let { children: r, className: i, ...a } = e;
|
|
8
|
+
return /* @__PURE__ */ t(n, {
|
|
9
|
+
class: i,
|
|
10
|
+
...a,
|
|
11
|
+
children: r
|
|
10
12
|
});
|
|
11
13
|
}
|
|
12
14
|
//#endregion
|
|
13
|
-
export {
|
|
15
|
+
export { r as Table };
|
|
@@ -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-table-cell";
|
|
3
4
|
//#region src/components/TableCell/TableCell.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
var n = `ds-table-cell${e}`;
|
|
6
|
+
function r(e) {
|
|
7
|
+
let { children: r, className: i, ...a } = e;
|
|
8
|
+
return /* @__PURE__ */ t(n, {
|
|
9
|
+
class: i,
|
|
10
|
+
...a,
|
|
11
|
+
children: r
|
|
10
12
|
});
|
|
11
13
|
}
|
|
12
14
|
//#endregion
|
|
13
|
-
export {
|
|
15
|
+
export { r as TableCell };
|
|
@@ -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-table-row";
|
|
3
4
|
//#region src/components/TableRow/TableRow.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
var n = `ds-table-row${e}`;
|
|
6
|
+
function r(e) {
|
|
7
|
+
let { children: r, className: i, ...a } = e;
|
|
8
|
+
return /* @__PURE__ */ t(n, {
|
|
9
|
+
class: i,
|
|
10
|
+
...a,
|
|
11
|
+
children: r
|
|
10
12
|
});
|
|
11
13
|
}
|
|
12
14
|
//#endregion
|
|
13
|
-
export {
|
|
15
|
+
export { r as TableRow };
|
|
@@ -1,30 +1,32 @@
|
|
|
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-tabs";
|
|
5
6
|
//#region src/components/Tabs/Tabs.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
var r = `ds-tabs${t}`;
|
|
8
|
+
function i({ children: t, onChange: i, ...a }) {
|
|
9
|
+
let { ref: o } = e({ change: i });
|
|
10
|
+
return /* @__PURE__ */ n(r, {
|
|
11
|
+
ref: o,
|
|
12
|
+
...a,
|
|
13
|
+
children: t
|
|
12
14
|
});
|
|
13
15
|
}
|
|
14
|
-
function
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
+
function a({ children: e }) {
|
|
17
|
+
return /* @__PURE__ */ n("div", {
|
|
16
18
|
role: "tab",
|
|
17
19
|
slot: "tab",
|
|
18
20
|
children: e
|
|
19
21
|
});
|
|
20
22
|
}
|
|
21
|
-
function
|
|
22
|
-
return /* @__PURE__ */
|
|
23
|
+
function o({ children: e }) {
|
|
24
|
+
return /* @__PURE__ */ n("div", {
|
|
23
25
|
role: "tabpanel",
|
|
24
26
|
slot: "panel",
|
|
25
27
|
children: e
|
|
26
28
|
});
|
|
27
29
|
}
|
|
28
|
-
|
|
30
|
+
i.Tab = a, i.Panel = o;
|
|
29
31
|
//#endregion
|
|
30
|
-
export {
|
|
32
|
+
export { i as Tabs };
|
|
@@ -1,16 +1,18 @@
|
|
|
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-tag";
|
|
5
6
|
//#region src/components/Tag/Tag.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
var r = `ds-tag${t}`;
|
|
8
|
+
function i(t) {
|
|
9
|
+
let { children: i, onClickIcon: a, className: o, ...s } = t, { ref: c } = e({ clickicon: a });
|
|
10
|
+
return /* @__PURE__ */ n(r, {
|
|
11
|
+
ref: c,
|
|
12
|
+
class: o,
|
|
13
|
+
...s,
|
|
14
|
+
children: i
|
|
13
15
|
});
|
|
14
16
|
}
|
|
15
17
|
//#endregion
|
|
16
|
-
export {
|
|
18
|
+
export { i as Tag };
|
|
@@ -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-text";
|
|
3
4
|
//#region src/components/Text/Text.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
var n = `ds-text${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 Text };
|
|
@@ -1,34 +1,36 @@
|
|
|
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-text-input";
|
|
5
6
|
//#region src/components/TextInput/TextInput.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
var i = `ds-text-input${t}`;
|
|
8
|
+
function a(t) {
|
|
9
|
+
let { className: a, children: o, onChange: s, onInput: c, onKeyDown: l, inputId: u, placeHolder: d, type: f, value: p, label: m, required: h, disabled: g, readOnly: _, pattern: v, maxLength: y, minLength: b, ...x } = t, { ref: S } = e({
|
|
10
|
+
change: s,
|
|
11
|
+
input: c,
|
|
12
|
+
keydown: l
|
|
11
13
|
});
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
-
ref:
|
|
14
|
-
class:
|
|
15
|
-
...
|
|
16
|
-
children: [/* @__PURE__ */
|
|
17
|
-
htmlFor:
|
|
18
|
-
children:
|
|
19
|
-
}), /* @__PURE__ */
|
|
20
|
-
id:
|
|
21
|
-
type:
|
|
22
|
-
placeholder:
|
|
23
|
-
value:
|
|
24
|
-
required:
|
|
25
|
-
disabled:
|
|
26
|
-
readOnly:
|
|
27
|
-
minLength:
|
|
28
|
-
maxLength:
|
|
29
|
-
pattern:
|
|
14
|
+
return /* @__PURE__ */ r(i, {
|
|
15
|
+
ref: S,
|
|
16
|
+
class: a,
|
|
17
|
+
...x,
|
|
18
|
+
children: [/* @__PURE__ */ n("label", {
|
|
19
|
+
htmlFor: u,
|
|
20
|
+
children: m
|
|
21
|
+
}), /* @__PURE__ */ n("input", {
|
|
22
|
+
id: u,
|
|
23
|
+
type: f || "text",
|
|
24
|
+
placeholder: d,
|
|
25
|
+
value: p,
|
|
26
|
+
required: h,
|
|
27
|
+
disabled: g,
|
|
28
|
+
readOnly: _,
|
|
29
|
+
minLength: b,
|
|
30
|
+
maxLength: y,
|
|
31
|
+
pattern: v
|
|
30
32
|
})]
|
|
31
33
|
});
|
|
32
34
|
}
|
|
33
35
|
//#endregion
|
|
34
|
-
export {
|
|
36
|
+
export { a as TextInput };
|
|
@@ -1,36 +1,38 @@
|
|
|
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-textarea";
|
|
5
6
|
//#region src/components/Textarea/Textarea.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var i = `ds-textarea${t}`;
|
|
8
|
+
function a(t) {
|
|
9
|
+
let { className: a, children: o, onChange: s, onInput: c, textareaId: l, placeholder: u, value: d, label: f, required: p, disabled: m, readOnly: h, minLength: g, maxLength: _, rows: v, cols: y, forcedError: b, helperText: x, invalidError: S, ...C } = t, { ref: w } = e({
|
|
10
|
+
change: s,
|
|
11
|
+
input: c
|
|
10
12
|
});
|
|
11
|
-
return /* @__PURE__ */
|
|
12
|
-
ref:
|
|
13
|
-
class:
|
|
14
|
-
"forced-error":
|
|
15
|
-
"helper-text":
|
|
16
|
-
"invalid-error":
|
|
17
|
-
...
|
|
18
|
-
children: [/* @__PURE__ */
|
|
19
|
-
htmlFor:
|
|
20
|
-
children:
|
|
21
|
-
}), /* @__PURE__ */
|
|
22
|
-
id:
|
|
23
|
-
placeholder:
|
|
24
|
-
value:
|
|
25
|
-
required:
|
|
26
|
-
disabled:
|
|
27
|
-
readOnly:
|
|
28
|
-
minLength:
|
|
29
|
-
maxLength:
|
|
30
|
-
rows:
|
|
31
|
-
cols:
|
|
13
|
+
return /* @__PURE__ */ r(i, {
|
|
14
|
+
ref: w,
|
|
15
|
+
class: a,
|
|
16
|
+
"forced-error": b,
|
|
17
|
+
"helper-text": x,
|
|
18
|
+
"invalid-error": S,
|
|
19
|
+
...C,
|
|
20
|
+
children: [/* @__PURE__ */ n("label", {
|
|
21
|
+
htmlFor: l,
|
|
22
|
+
children: f
|
|
23
|
+
}), /* @__PURE__ */ n("textarea", {
|
|
24
|
+
id: l,
|
|
25
|
+
placeholder: u,
|
|
26
|
+
value: d,
|
|
27
|
+
required: p,
|
|
28
|
+
disabled: m,
|
|
29
|
+
readOnly: h,
|
|
30
|
+
minLength: g,
|
|
31
|
+
maxLength: _,
|
|
32
|
+
rows: v,
|
|
33
|
+
cols: y
|
|
32
34
|
})]
|
|
33
35
|
});
|
|
34
36
|
}
|
|
35
37
|
//#endregion
|
|
36
|
-
export {
|
|
38
|
+
export { a as Textarea };
|
|
@@ -1,9 +1,10 @@
|
|
|
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-theme-provider";
|
|
3
4
|
//#region src/components/ThemeProvider/ThemeProvider.tsx
|
|
4
|
-
var
|
|
5
|
-
...
|
|
6
|
-
children:
|
|
5
|
+
var n = `ds-theme-provider${e}`, r = ({ children: e, ...r }) => /* @__PURE__ */ t(n, {
|
|
6
|
+
...r,
|
|
7
|
+
children: e
|
|
7
8
|
});
|
|
8
9
|
//#endregion
|
|
9
|
-
export {
|
|
10
|
+
export { r as ThemeProvider };
|
|
@@ -1,15 +1,17 @@
|
|
|
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-toast";
|
|
3
4
|
//#region src/components/Toast/Toast.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
var n = `ds-toast${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
|
+
r.add = (e) => {
|
|
12
14
|
window.dispatchEvent(new CustomEvent("toast:add", { detail: e }));
|
|
13
15
|
};
|
|
14
16
|
//#endregion
|
|
15
|
-
export {
|
|
17
|
+
export { r as Toast };
|
|
@@ -1,16 +1,18 @@
|
|
|
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-toast-message";
|
|
5
6
|
//#region src/components/ToastMessage/ToastMessage.tsx
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
var r = `ds-toast-message${t}`;
|
|
8
|
+
function i(t) {
|
|
9
|
+
let { className: i, children: a, onClose: o, ...s } = t, { ref: c } = e({ "toast:remove": o });
|
|
10
|
+
return /* @__PURE__ */ n(r, {
|
|
11
|
+
ref: c,
|
|
12
|
+
class: i,
|
|
13
|
+
...s,
|
|
14
|
+
children: a
|
|
13
15
|
});
|
|
14
16
|
}
|
|
15
17
|
//#endregion
|
|
16
|
-
export {
|
|
18
|
+
export { i as ToastMessage };
|