@cupra/ui-react 2.0.0-canary.87 → 2.0.0-canary.89
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/components/CheckboxGroup/CheckboxGroup.cjs +1 -0
- package/dist/cjs/components/MainTitle/MainTitle.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/components/CheckboxGroup/CheckboxGroup.js +10 -0
- package/dist/esm/components/MainTitle/MainTitle.js +9 -9
- package/dist/esm/index.js +137 -135
- package/dist/types/components/CheckboxGroup/CheckboxGroup.d.ts +16 -0
- package/dist/types/components/MainTitle/MainTitle.d.ts +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime");require("@cupra/ui-kit/react/ds-checkbox-group");const u=require("../../hooks/useHandleEvent.cjs");function a(e){const{className:r,children:n,onChange:o,...t}=e,{ref:c}=u.useHandleEvent({change:o});return s.jsx("ds-checkbox-group-react",{ref:c,class:r,...t,children:n})}exports.CheckboxGroup=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime");require("@cupra/ui-kit/react/ds-main-title");function n(t){const{className:e,children:i,...r}=t;return s.jsx("ds-main-title-react",{class:e,...r,children:i})}function l(t){const{as:e,children:i,...r}=t;return s.jsx(e,{slot:"title",...r,children:i})}function o(t){const{as:e,children:i,...r}=t;return s.jsx(e,{slot:"subtitle",...r,children:i})}n.Title=l;n.Subtitle=o;exports.MainTitle=n;
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./components/Accordion/Accordion.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./components/Accordion/Accordion.cjs"),o=require("./components/Badge/Badge.cjs"),t=require("./components/BasicCard/BasicCard.cjs"),i=require("./components/BasicCardImage/BasicCardImage.cjs"),n=require("./components/BasicCardHeader/BasicCardHeader.cjs"),a=require("./components/BasicCardSection/BasicCardSection.cjs"),s=require("./components/Breadcrumbs/Breadcrumbs.cjs"),c=require("./components/BreadcrumbsItem/BreadcrumbsItem.cjs"),u=require("./components/Bullets/Bullets.cjs"),l=require("./components/Button/Button.cjs"),d=require("./components/CarouselIndicator/CarouselIndicator.cjs"),q=require("./components/Checkbox/Checkbox.cjs"),g=require("./components/CheckboxGroup/CheckboxGroup.cjs"),B=require("./components/Chip/Chip.cjs"),p=require("./components/Chips/Chips.cjs"),T=require("./components/Currency/Currency.cjs"),C=require("./components/Dialog/Dialog.cjs"),I=require("./components/DialogBody/DialogBody.cjs"),S=require("./components/DialogFooter/DialogFooter.cjs"),b=require("./components/DialogFullscreen/DialogFullscreen.cjs"),v=require("./components/DialogHeader/DialogHeader.cjs"),m=require("./components/Divider/Divider.cjs"),h=require("./components/Drawer/Drawer.cjs"),L=require("./components/Hyperlink/Hyperlink.cjs"),k=require("./components/Icon/Icon.cjs"),D=require("./components/IconButton/IconButton.cjs"),x=require("./components/Input/Input.cjs"),R=require("./components/List/List.cjs"),M=require("./components/ListItem/ListItem.cjs"),y=require("./components/LinkButton/LinkButton.cjs"),e=require("./components/Loader/Loader.cjs"),P=require("./components/Logo/Logo.cjs"),w=require("./components/MainTitle/MainTitle.cjs"),H=require("./components/MapPin/MapPin.cjs"),A=require("./components/MediaControl/MediaControl.cjs"),G=require("./components/Modal/Modal.cjs"),N=require("./components/PasswordInput/PasswordInput.cjs"),E=require("./components/PickerItem/PickerItem.cjs"),F=require("./components/Radio/Radio.cjs"),O=require("./components/RadioButton/RadioButton.cjs"),z=require("./components/RadioButtonGroup/RadioButtonGroup.cjs"),U=require("./components/Rating/Rating.cjs"),V=require("./components/Search/Search.cjs"),f=require("./components/SearchInput/SearchInput.cjs"),j=require("./components/SecondaryNavigation/SecondaryNavigation.cjs"),J=require("./components/SegmentedControl/SegmentedControl.cjs"),K=require("./components/Select/Select.cjs"),Q=require("./components/Selection/Selection.cjs"),W=require("./components/Skeleton/Skeleton.cjs"),X=require("./components/Slider/Slider.cjs"),Y=require("./components/Table/Table.cjs"),Z=require("./components/TableCell/TableCell.cjs"),_=require("./components/TableRow/TableRow.cjs"),$=require("./components/Tabs/Tabs.cjs"),ee=require("./components/Tag/Tag.cjs"),re=require("./components/Text/Text.cjs"),oe=require("./components/TextInput/TextInput.cjs"),te=require("./components/Textarea/Textarea.cjs"),ie=require("./components/ThemeProvider/ThemeProvider.cjs"),ne=require("./components/ToggleButton/ToggleButton.cjs"),ae=require("./components/ToggleSwitch/ToggleSwitch.cjs"),se=require("./components/Tooltip/Tooltip.cjs"),ce=require("./components/ValueUnit/ValueUnit.cjs"),ue=require("./components/Toast/Toast.cjs"),le=require("./components/ToastMessage/ToastMessage.cjs"),de=require("./components/InlineAlert/InlineAlert.cjs"),qe=require("./components/Avatar/Avatar.cjs"),ge=require("./components/StaticBox/StaticBox.cjs"),Be=require("./components/Stepper/Stepper.cjs"),pe=require("./components/InteractiveCard/InteractiveCard.cjs"),Te=require("./components/SidebarNavigation/SidebarNavigation.cjs"),Ce=require("./components/IconButtonGroup/IconButtonGroup.cjs"),Ie=require("./components/NavigationControls/NavigationControls.cjs"),Se=require("./hooks/useBreakpoint.cjs"),be=require("./hooks/useEventListeners.cjs"),ve=require("./hooks/useHandleEvent.cjs");require("react");const me=require("./hooks/useResizeObserver/useResizeObserver.cjs");exports.Accordion=r.Accordion;exports.Badge=o.Badge;exports.BasicCard=t.BasicCard;exports.BasicCardImage=i.BasicCardImage;exports.BasicCardHeader=n.BasicCardHeader;exports.BasicCardSection=a.BasicCardSection;exports.Breadcrumbs=s.Breadcrumbs;exports.BreadcrumbsItem=c.BreadcrumbsItem;exports.Bullets=u.Bullets;exports.Button=l.Button;exports.CarouselIndicator=d.CarouselIndicator;exports.Checkbox=q.Checkbox;exports.CheckboxGroup=g.CheckboxGroup;exports.Chip=B.Chip;exports.Chips=p.Chips;exports.Currency=T.Currency;exports.Dialog=C.Dialog;exports.DialogBody=I.DialogBody;exports.DialogFooter=S.DialogFooter;exports.DialogFullscreen=b.DialogFullscreen;exports.DialogHeader=v.DialogHeader;exports.Divider=m.Divider;exports.Drawer=h.Drawer;exports.Hyperlink=L.Hyperlink;exports.Icon=k.Icon;exports.IconButton=D.IconButton;exports.Input=x.Input;exports.List=R.List;exports.ListItem=M.ListItem;exports.LinkButton=y.LinkButton;exports.Loader=e.Loader;exports.LoaderLogo=e.LoaderLogo;exports.Logo=P.Logo;exports.MainTitle=w.MainTitle;exports.MapPin=H.MapPin;exports.MediaControl=A.MediaControl;exports.Modal=G.Modal;exports.PasswordInput=N.PasswordInput;exports.PickerItem=E.PickerItem;exports.Radio=F.Radio;exports.RadioButton=O.RadioButton;exports.RadioButtonGroup=z.RadioButtonGroup;exports.Rating=U.Rating;exports.Search=V.Search;exports.SearchInput=f.SearchInput;exports.SecondaryNavigation=j.SecondaryNavigation;exports.SegmentedControl=J.SegmentedControl;exports.Select=K.Select;exports.Selection=Q.Selection;exports.Skeleton=W.Skeleton;exports.Slider=X.Slider;exports.Table=Y.Table;exports.TableCell=Z.TableCell;exports.TableRow=_.TableRow;exports.Tabs=$.Tabs;exports.Tag=ee.Tag;exports.Text=re.Text;exports.TextInput=oe.TextInput;exports.Textarea=te.Textarea;exports.ThemeProvider=ie.ThemeProvider;exports.ToggleButton=ne.ToggleButton;exports.ToggleSwitch=ae.ToggleSwitch;exports.Tooltip=se.Tooltip;exports.ValueUnit=ce.ValueUnit;exports.Toast=ue.Toast;exports.ToastMessage=le.ToastMessage;exports.InlineAlert=de.InlineAlert;exports.Avatar=qe.Avatar;exports.StaticBox=ge.StaticBox;exports.Stepper=Be.Stepper;exports.InteractiveCard=pe.InteractiveCard;exports.SidebarNavigation=Te.SidebarNavigation;exports.IconButtonGroup=Ce.IconButtonGroup;exports.NavigationControls=Ie.NavigationControls;exports.useBreakpoint=Se.useBreakpoint;exports.useEventListeners=be.useEventListeners;exports.useHandleEvent=ve.useHandleEvent;exports.useResizeObserver=me.useResizeObserver;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import "@cupra/ui-kit/react/ds-checkbox-group";
|
|
3
|
+
import { useHandleEvent as a } from "../../hooks/useHandleEvent.js";
|
|
4
|
+
function i(o) {
|
|
5
|
+
const { className: r, children: e, onChange: c, ...n } = o, { ref: t } = a({ change: c });
|
|
6
|
+
return /* @__PURE__ */ s("ds-checkbox-group-react", { ref: t, class: r, ...n, children: e });
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
i as CheckboxGroup
|
|
10
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import "@cupra/ui-kit/react/ds-main-title";
|
|
3
3
|
function n(t) {
|
|
4
|
-
const { className:
|
|
5
|
-
return /* @__PURE__ */
|
|
4
|
+
const { className: e, children: r, ...i } = t;
|
|
5
|
+
return /* @__PURE__ */ o("ds-main-title-react", { class: e, ...i, children: r });
|
|
6
6
|
}
|
|
7
7
|
function s(t) {
|
|
8
|
-
const { as:
|
|
9
|
-
return /* @__PURE__ */ e
|
|
8
|
+
const { as: e, children: r, ...i } = t;
|
|
9
|
+
return /* @__PURE__ */ o(e, { slot: "title", ...i, children: r });
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
const { as:
|
|
13
|
-
return /* @__PURE__ */ e
|
|
11
|
+
function l(t) {
|
|
12
|
+
const { as: e, children: r, ...i } = t;
|
|
13
|
+
return /* @__PURE__ */ o(e, { slot: "subtitle", ...i, children: r });
|
|
14
14
|
}
|
|
15
15
|
n.Title = s;
|
|
16
|
-
n.
|
|
16
|
+
n.Subtitle = l;
|
|
17
17
|
export {
|
|
18
18
|
n as MainTitle
|
|
19
19
|
};
|
package/dist/esm/index.js
CHANGED
|
@@ -6,78 +6,79 @@ import { BasicCardHeader as l } from "./components/BasicCardHeader/BasicCardHead
|
|
|
6
6
|
import { BasicCardSection as s } from "./components/BasicCardSection/BasicCardSection.js";
|
|
7
7
|
import { Breadcrumbs as u } from "./components/Breadcrumbs/Breadcrumbs.js";
|
|
8
8
|
import { BreadcrumbsItem as B } from "./components/BreadcrumbsItem/BreadcrumbsItem.js";
|
|
9
|
-
import { Bullets as
|
|
9
|
+
import { Bullets as T } from "./components/Bullets/Bullets.js";
|
|
10
10
|
import { Button as S } from "./components/Button/Button.js";
|
|
11
|
-
import { CarouselIndicator as
|
|
12
|
-
import { Checkbox as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
11
|
+
import { CarouselIndicator as v } from "./components/CarouselIndicator/CarouselIndicator.js";
|
|
12
|
+
import { Checkbox as L } from "./components/Checkbox/Checkbox.js";
|
|
13
|
+
import { CheckboxGroup as D } from "./components/CheckboxGroup/CheckboxGroup.js";
|
|
14
|
+
import { Chip as M } from "./components/Chip/Chip.js";
|
|
15
|
+
import { Chips as y } from "./components/Chips/Chips.js";
|
|
16
|
+
import { Currency as P } from "./components/Currency/Currency.js";
|
|
17
|
+
import { Dialog as G } from "./components/Dialog/Dialog.js";
|
|
18
|
+
import { DialogBody as E } from "./components/DialogBody/DialogBody.js";
|
|
19
|
+
import { DialogFooter as z } from "./components/DialogFooter/DialogFooter.js";
|
|
20
|
+
import { DialogFullscreen as U } from "./components/DialogFullscreen/DialogFullscreen.js";
|
|
21
|
+
import { DialogHeader as j } from "./components/DialogHeader/DialogHeader.js";
|
|
22
|
+
import { Divider as J } from "./components/Divider/Divider.js";
|
|
23
|
+
import { Drawer as Q } from "./components/Drawer/Drawer.js";
|
|
24
|
+
import { Hyperlink as X } from "./components/Hyperlink/Hyperlink.js";
|
|
25
|
+
import { Icon as Z } from "./components/Icon/Icon.js";
|
|
26
|
+
import { IconButton as $ } from "./components/IconButton/IconButton.js";
|
|
27
|
+
import { Input as ro } from "./components/Input/Input.js";
|
|
28
|
+
import { List as to } from "./components/List/List.js";
|
|
29
|
+
import { ListItem as mo } from "./components/ListItem/ListItem.js";
|
|
30
|
+
import { LinkButton as fo } from "./components/LinkButton/LinkButton.js";
|
|
31
|
+
import { Loader as io, LoaderLogo as no } from "./components/Loader/Loader.js";
|
|
32
|
+
import { Logo as so } from "./components/Logo/Logo.js";
|
|
33
|
+
import { MainTitle as uo } from "./components/MainTitle/MainTitle.js";
|
|
34
|
+
import { MapPin as Bo } from "./components/MapPin/MapPin.js";
|
|
35
|
+
import { MediaControl as To } from "./components/MediaControl/MediaControl.js";
|
|
36
|
+
import { Modal as So } from "./components/Modal/Modal.js";
|
|
37
|
+
import { PasswordInput as vo } from "./components/PasswordInput/PasswordInput.js";
|
|
38
|
+
import { PickerItem as Lo } from "./components/PickerItem/PickerItem.js";
|
|
39
|
+
import { Radio as Do } from "./components/Radio/Radio.js";
|
|
40
|
+
import { RadioButton as Mo } from "./components/RadioButton/RadioButton.js";
|
|
41
|
+
import { RadioButtonGroup as yo } from "./components/RadioButtonGroup/RadioButtonGroup.js";
|
|
42
|
+
import { Rating as Po } from "./components/Rating/Rating.js";
|
|
43
|
+
import { Search as Go } from "./components/Search/Search.js";
|
|
44
|
+
import { SearchInput as Eo } from "./components/SearchInput/SearchInput.js";
|
|
45
|
+
import { SecondaryNavigation as zo } from "./components/SecondaryNavigation/SecondaryNavigation.js";
|
|
46
|
+
import { SegmentedControl as Uo } from "./components/SegmentedControl/SegmentedControl.js";
|
|
47
|
+
import { Select as jo } from "./components/Select/Select.js";
|
|
48
|
+
import { Selection as Jo } from "./components/Selection/Selection.js";
|
|
49
|
+
import { Skeleton as Qo } from "./components/Skeleton/Skeleton.js";
|
|
50
|
+
import { Slider as Xo } from "./components/Slider/Slider.js";
|
|
51
|
+
import { Table as Zo } from "./components/Table/Table.js";
|
|
52
|
+
import { TableCell as $o } from "./components/TableCell/TableCell.js";
|
|
53
|
+
import { TableRow as rr } from "./components/TableRow/TableRow.js";
|
|
54
|
+
import { Tabs as tr } from "./components/Tabs/Tabs.js";
|
|
55
|
+
import { Tag as mr } from "./components/Tag/Tag.js";
|
|
56
|
+
import { Text as fr } from "./components/Text/Text.js";
|
|
57
|
+
import { TextInput as ir } from "./components/TextInput/TextInput.js";
|
|
58
|
+
import { Textarea as lr } from "./components/Textarea/Textarea.js";
|
|
59
|
+
import { ThemeProvider as sr } from "./components/ThemeProvider/ThemeProvider.js";
|
|
60
|
+
import { ToggleButton as ur } from "./components/ToggleButton/ToggleButton.js";
|
|
61
|
+
import { ToggleSwitch as Br } from "./components/ToggleSwitch/ToggleSwitch.js";
|
|
62
|
+
import { Tooltip as Tr } from "./components/Tooltip/Tooltip.js";
|
|
63
|
+
import { ValueUnit as Sr } from "./components/ValueUnit/ValueUnit.js";
|
|
64
|
+
import { Toast as vr } from "./components/Toast/Toast.js";
|
|
65
|
+
import { ToastMessage as Lr } from "./components/ToastMessage/ToastMessage.js";
|
|
66
|
+
import { InlineAlert as Dr } from "./components/InlineAlert/InlineAlert.js";
|
|
67
|
+
import { Avatar as Mr } from "./components/Avatar/Avatar.js";
|
|
68
|
+
import { StaticBox as yr } from "./components/StaticBox/StaticBox.js";
|
|
69
|
+
import { Stepper as Pr } from "./components/Stepper/Stepper.js";
|
|
70
|
+
import { InteractiveCard as Gr } from "./components/InteractiveCard/InteractiveCard.js";
|
|
71
|
+
import { SidebarNavigation as Er } from "./components/SidebarNavigation/SidebarNavigation.js";
|
|
72
|
+
import { IconButtonGroup as zr } from "./components/IconButtonGroup/IconButtonGroup.js";
|
|
73
|
+
import { NavigationControls as Ur } from "./components/NavigationControls/NavigationControls.js";
|
|
74
|
+
import { useBreakpoint as jr } from "./hooks/useBreakpoint.js";
|
|
75
|
+
import { useEventListeners as Jr } from "./hooks/useEventListeners.js";
|
|
76
|
+
import { useHandleEvent as Qr } from "./hooks/useHandleEvent.js";
|
|
76
77
|
import "react";
|
|
77
|
-
import { useResizeObserver as
|
|
78
|
+
import { useResizeObserver as Xr } from "./hooks/useResizeObserver/useResizeObserver.js";
|
|
78
79
|
export {
|
|
79
80
|
t as Accordion,
|
|
80
|
-
|
|
81
|
+
Mr as Avatar,
|
|
81
82
|
m as Badge,
|
|
82
83
|
f as BasicCard,
|
|
83
84
|
l as BasicCardHeader,
|
|
@@ -85,72 +86,73 @@ export {
|
|
|
85
86
|
s as BasicCardSection,
|
|
86
87
|
u as Breadcrumbs,
|
|
87
88
|
B as BreadcrumbsItem,
|
|
88
|
-
|
|
89
|
+
T as Bullets,
|
|
89
90
|
S as Button,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
M as
|
|
94
|
-
y as
|
|
95
|
-
P as
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
z as
|
|
99
|
-
U as
|
|
100
|
-
j as
|
|
101
|
-
J as
|
|
102
|
-
Q as
|
|
103
|
-
X as
|
|
104
|
-
Z as
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
to as
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
no as
|
|
115
|
-
so as
|
|
116
|
-
uo as
|
|
117
|
-
Bo as
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
Mo as
|
|
125
|
-
yo as
|
|
126
|
-
Po as
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
zo as
|
|
130
|
-
Uo as
|
|
131
|
-
jo as
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
Qo as
|
|
135
|
-
|
|
136
|
-
yr as
|
|
137
|
-
|
|
138
|
-
Zo as
|
|
139
|
-
$o as
|
|
140
|
-
rr as
|
|
141
|
-
tr as
|
|
142
|
-
mr as
|
|
143
|
-
fr as
|
|
144
|
-
ir as
|
|
145
|
-
lr as
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
ur as
|
|
150
|
-
Br as
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
jr as
|
|
154
|
-
Jr as
|
|
155
|
-
Qr as
|
|
91
|
+
v as CarouselIndicator,
|
|
92
|
+
L as Checkbox,
|
|
93
|
+
D as CheckboxGroup,
|
|
94
|
+
M as Chip,
|
|
95
|
+
y as Chips,
|
|
96
|
+
P as Currency,
|
|
97
|
+
G as Dialog,
|
|
98
|
+
E as DialogBody,
|
|
99
|
+
z as DialogFooter,
|
|
100
|
+
U as DialogFullscreen,
|
|
101
|
+
j as DialogHeader,
|
|
102
|
+
J as Divider,
|
|
103
|
+
Q as Drawer,
|
|
104
|
+
X as Hyperlink,
|
|
105
|
+
Z as Icon,
|
|
106
|
+
$ as IconButton,
|
|
107
|
+
zr as IconButtonGroup,
|
|
108
|
+
Dr as InlineAlert,
|
|
109
|
+
ro as Input,
|
|
110
|
+
Gr as InteractiveCard,
|
|
111
|
+
fo as LinkButton,
|
|
112
|
+
to as List,
|
|
113
|
+
mo as ListItem,
|
|
114
|
+
io as Loader,
|
|
115
|
+
no as LoaderLogo,
|
|
116
|
+
so as Logo,
|
|
117
|
+
uo as MainTitle,
|
|
118
|
+
Bo as MapPin,
|
|
119
|
+
To as MediaControl,
|
|
120
|
+
So as Modal,
|
|
121
|
+
Ur as NavigationControls,
|
|
122
|
+
vo as PasswordInput,
|
|
123
|
+
Lo as PickerItem,
|
|
124
|
+
Do as Radio,
|
|
125
|
+
Mo as RadioButton,
|
|
126
|
+
yo as RadioButtonGroup,
|
|
127
|
+
Po as Rating,
|
|
128
|
+
Go as Search,
|
|
129
|
+
Eo as SearchInput,
|
|
130
|
+
zo as SecondaryNavigation,
|
|
131
|
+
Uo as SegmentedControl,
|
|
132
|
+
jo as Select,
|
|
133
|
+
Jo as Selection,
|
|
134
|
+
Er as SidebarNavigation,
|
|
135
|
+
Qo as Skeleton,
|
|
136
|
+
Xo as Slider,
|
|
137
|
+
yr as StaticBox,
|
|
138
|
+
Pr as Stepper,
|
|
139
|
+
Zo as Table,
|
|
140
|
+
$o as TableCell,
|
|
141
|
+
rr as TableRow,
|
|
142
|
+
tr as Tabs,
|
|
143
|
+
mr as Tag,
|
|
144
|
+
fr as Text,
|
|
145
|
+
ir as TextInput,
|
|
146
|
+
lr as Textarea,
|
|
147
|
+
sr as ThemeProvider,
|
|
148
|
+
vr as Toast,
|
|
149
|
+
Lr as ToastMessage,
|
|
150
|
+
ur as ToggleButton,
|
|
151
|
+
Br as ToggleSwitch,
|
|
152
|
+
Tr as Tooltip,
|
|
153
|
+
Sr as ValueUnit,
|
|
154
|
+
jr as useBreakpoint,
|
|
155
|
+
Jr as useEventListeners,
|
|
156
|
+
Qr as useHandleEvent,
|
|
157
|
+
Xr as useResizeObserver
|
|
156
158
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { DsCheckboxGroupAttrs } from '@cupra/ui-kit/react/types/ds-checkbox-group';
|
|
2
|
+
import { type ReactElement, type ReactNode } from 'react';
|
|
3
|
+
import '@cupra/ui-kit/react/ds-checkbox-group';
|
|
4
|
+
export type CheckboxGroupProps = DsCheckboxGroupAttrs & {
|
|
5
|
+
onChange?: (event: CustomEvent) => void;
|
|
6
|
+
className?: string;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* CheckboxGroup
|
|
11
|
+
* Wraps the ds-checkbox-group web component. Slots:
|
|
12
|
+
* - slot="title" for the group title
|
|
13
|
+
* - slot="description" for the group description
|
|
14
|
+
* Children: one or more <Checkbox> (or ds-checkbox) elements.
|
|
15
|
+
*/
|
|
16
|
+
export declare function CheckboxGroup(props: CheckboxGroupProps): ReactElement;
|
|
@@ -12,6 +12,6 @@ type MainTitleProps = DsMainTitleAttrs & {
|
|
|
12
12
|
export declare function MainTitle(props: MainTitleProps): ReactElement;
|
|
13
13
|
export declare namespace MainTitle {
|
|
14
14
|
var Title: (props: MainTitleSubProps) => ReactElement;
|
|
15
|
-
var
|
|
15
|
+
var Subtitle: (props: MainTitleSubProps) => ReactElement;
|
|
16
16
|
}
|
|
17
17
|
export {};
|
|
@@ -10,6 +10,7 @@ export * from './Bullets/Bullets';
|
|
|
10
10
|
export * from './Button/Button';
|
|
11
11
|
export * from './CarouselIndicator/CarouselIndicator';
|
|
12
12
|
export * from './Checkbox/Checkbox';
|
|
13
|
+
export * from './CheckboxGroup/CheckboxGroup';
|
|
13
14
|
export * from './Chip/Chip';
|
|
14
15
|
export * from './Chips/Chips';
|
|
15
16
|
export * from './Currency/Currency';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cupra/ui-react",
|
|
3
|
-
"version": "2.0.0-canary.
|
|
3
|
+
"version": "2.0.0-canary.89",
|
|
4
4
|
"description": "React components library",
|
|
5
5
|
"author": "SEAT S.A.",
|
|
6
6
|
"license": "SEAT S.A. Library EULA 1.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">= 18.3.1 < 20",
|
|
53
53
|
"react-dom": ">= 18.3.1 < 20",
|
|
54
|
-
"@cupra/ui-kit": "2.0.0-canary.
|
|
54
|
+
"@cupra/ui-kit": "2.0.0-canary.78",
|
|
55
55
|
"typescript": ">=5.0.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"storybook": "^8.6.17",
|
|
77
77
|
"typescript": "^5.8.2",
|
|
78
78
|
"vite": "^6.4.1",
|
|
79
|
-
"@cupra/ui-kit": "2.0.0-canary.
|
|
79
|
+
"@cupra/ui-kit": "2.0.0-canary.78"
|
|
80
80
|
},
|
|
81
81
|
"scripts": {
|
|
82
82
|
"build": "rm -rf dist && pnpm --filter @cupra/ui-kit build:react && tsc --declaration --emitDeclarationOnly && BUILD_FORMAT=esm vite build --emptyOutDir false && BUILD_FORMAT=cjs vite build --emptyOutDir false",
|