@cupra/ui-react 2.0.0-canary.92 → 2.0.0-canary.94
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/DatePicker/DatePicker.cjs +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/components/DatePicker/DatePicker.js +16 -0
- package/dist/esm/index.js +133 -131
- package/dist/types/components/DatePicker/DatePicker.d.ts +16 -0
- 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 e=require("react/jsx-runtime");require("@cupra/ui-kit/react/ds-date-picker");require("@cupra/ui-kit/react/utils/breakpoints");require("react");const p=require("../../hooks/useHandleEvent.cjs");function q(t){const{className:n,children:i,onChange:s,inputId:r,value:a,label:l,required:c,disabled:u,readOnly:d,...o}=t,{ref:h}=p.useHandleEvent({change:s});return e.jsxs("ds-date-picker-react",{ref:h,class:n,...o,children:[e.jsx("label",{htmlFor:r,children:l}),e.jsx("input",{id:r,type:"date",value:a,required:c,disabled:u,readOnly:d}),i]})}exports.DatePicker=q;
|
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"),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"),
|
|
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"),c=require("./components/Breadcrumbs/Breadcrumbs.cjs"),s=require("./components/BreadcrumbsItem/BreadcrumbsItem.cjs"),u=require("./components/Bullets/Bullets.cjs"),l=require("./components/Button/Button.cjs"),d=require("./components/Calendar/Calendar.cjs"),q=require("./components/CarouselIndicator/CarouselIndicator.cjs"),g=require("./components/Checkbox/Checkbox.cjs"),B=require("./components/CheckboxGroup/CheckboxGroup.cjs"),C=require("./components/Chip/Chip.cjs"),p=require("./components/Chips/Chips.cjs"),T=require("./components/Currency/Currency.cjs"),I=require("./components/DatePicker/DatePicker.cjs"),S=require("./components/Dialog/Dialog.cjs"),v=require("./components/DialogBody/DialogBody.cjs"),b=require("./components/DialogFooter/DialogFooter.cjs"),m=require("./components/DialogFullscreen/DialogFullscreen.cjs"),h=require("./components/DialogHeader/DialogHeader.cjs"),k=require("./components/Divider/Divider.cjs"),D=require("./components/Drawer/Drawer.cjs"),L=require("./components/FavouriteAction/FavouriteAction.cjs"),x=require("./components/Hyperlink/Hyperlink.cjs"),R=require("./components/Icon/Icon.cjs"),M=require("./components/IconButton/IconButton.cjs"),P=require("./components/Input/Input.cjs"),y=require("./components/List/List.cjs"),w=require("./components/ListItem/ListItem.cjs"),A=require("./components/LinkButton/LinkButton.cjs"),e=require("./components/Loader/Loader.cjs"),H=require("./components/Logo/Logo.cjs"),F=require("./components/MainTitle/MainTitle.cjs"),G=require("./components/MapPin/MapPin.cjs"),N=require("./components/MediaControl/MediaControl.cjs"),E=require("./components/Modal/Modal.cjs"),O=require("./components/PasswordInput/PasswordInput.cjs"),z=require("./components/PickerItem/PickerItem.cjs"),U=require("./components/Radio/Radio.cjs"),V=require("./components/RadioButton/RadioButton.cjs"),f=require("./components/RadioButtonGroup/RadioButtonGroup.cjs"),j=require("./components/Rating/Rating.cjs"),J=require("./components/Search/Search.cjs"),K=require("./components/SearchInput/SearchInput.cjs"),Q=require("./components/SecondaryNavigation/SecondaryNavigation.cjs"),W=require("./components/SegmentedControl/SegmentedControl.cjs"),X=require("./components/Select/Select.cjs"),Y=require("./components/Selection/Selection.cjs"),Z=require("./components/Skeleton/Skeleton.cjs"),_=require("./components/Slider/Slider.cjs"),$=require("./components/Table/Table.cjs"),ee=require("./components/TableCell/TableCell.cjs"),re=require("./components/TableRow/TableRow.cjs"),oe=require("./components/Tabs/Tabs.cjs"),te=require("./components/Tag/Tag.cjs"),ie=require("./components/Text/Text.cjs"),ne=require("./components/TextInput/TextInput.cjs"),ae=require("./components/Textarea/Textarea.cjs"),ce=require("./components/ThemeProvider/ThemeProvider.cjs"),se=require("./components/ToggleButton/ToggleButton.cjs"),ue=require("./components/ToggleSwitch/ToggleSwitch.cjs"),le=require("./components/Tooltip/Tooltip.cjs"),de=require("./components/ValueUnit/ValueUnit.cjs"),qe=require("./components/Toast/Toast.cjs"),ge=require("./components/ToastMessage/ToastMessage.cjs"),Be=require("./components/InlineAlert/InlineAlert.cjs"),Ce=require("./components/Avatar/Avatar.cjs"),pe=require("./components/StaticBox/StaticBox.cjs"),Te=require("./components/Stepper/Stepper.cjs"),Ie=require("./components/InteractiveCard/InteractiveCard.cjs"),Se=require("./components/SidebarNavigation/SidebarNavigation.cjs"),ve=require("./components/IconButtonGroup/IconButtonGroup.cjs"),be=require("./components/NavigationControls/NavigationControls.cjs"),me=require("./hooks/useBreakpoint.cjs"),he=require("./hooks/useEventListeners.cjs"),ke=require("./hooks/useHandleEvent.cjs");require("react");const De=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=c.Breadcrumbs;exports.BreadcrumbsItem=s.BreadcrumbsItem;exports.Bullets=u.Bullets;exports.Button=l.Button;exports.Calendar=d.Calendar;exports.CarouselIndicator=q.CarouselIndicator;exports.Checkbox=g.Checkbox;exports.CheckboxGroup=B.CheckboxGroup;exports.Chip=C.Chip;exports.Chips=p.Chips;exports.Currency=T.Currency;exports.DatePicker=I.DatePicker;exports.Dialog=S.Dialog;exports.DialogBody=v.DialogBody;exports.DialogFooter=b.DialogFooter;exports.DialogFullscreen=m.DialogFullscreen;exports.DialogHeader=h.DialogHeader;exports.Divider=k.Divider;exports.Drawer=D.Drawer;exports.FavouriteAction=L.FavouriteAction;exports.Hyperlink=x.Hyperlink;exports.Icon=R.Icon;exports.IconButton=M.IconButton;exports.Input=P.Input;exports.List=y.List;exports.ListItem=w.ListItem;exports.LinkButton=A.LinkButton;exports.Loader=e.Loader;exports.LoaderLogo=e.LoaderLogo;exports.Logo=H.Logo;exports.MainTitle=F.MainTitle;exports.MapPin=G.MapPin;exports.MediaControl=N.MediaControl;exports.Modal=E.Modal;exports.PasswordInput=O.PasswordInput;exports.PickerItem=z.PickerItem;exports.Radio=U.Radio;exports.RadioButton=V.RadioButton;exports.RadioButtonGroup=f.RadioButtonGroup;exports.Rating=j.Rating;exports.Search=J.Search;exports.SearchInput=K.SearchInput;exports.SecondaryNavigation=Q.SecondaryNavigation;exports.SegmentedControl=W.SegmentedControl;exports.Select=X.Select;exports.Selection=Y.Selection;exports.Skeleton=Z.Skeleton;exports.Slider=_.Slider;exports.Table=$.Table;exports.TableCell=ee.TableCell;exports.TableRow=re.TableRow;exports.Tabs=oe.Tabs;exports.Tag=te.Tag;exports.Text=ie.Text;exports.TextInput=ne.TextInput;exports.Textarea=ae.Textarea;exports.ThemeProvider=ce.ThemeProvider;exports.ToggleButton=se.ToggleButton;exports.ToggleSwitch=ue.ToggleSwitch;exports.Tooltip=le.Tooltip;exports.ValueUnit=de.ValueUnit;exports.Toast=qe.Toast;exports.ToastMessage=ge.ToastMessage;exports.InlineAlert=Be.InlineAlert;exports.Avatar=Ce.Avatar;exports.StaticBox=pe.StaticBox;exports.Stepper=Te.Stepper;exports.InteractiveCard=Ie.InteractiveCard;exports.SidebarNavigation=Se.SidebarNavigation;exports.IconButtonGroup=ve.IconButtonGroup;exports.NavigationControls=be.NavigationControls;exports.useBreakpoint=me.useBreakpoint;exports.useEventListeners=he.useEventListeners;exports.useHandleEvent=ke.useHandleEvent;exports.useResizeObserver=De.useResizeObserver;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsxs as h, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import "@cupra/ui-kit/react/ds-date-picker";
|
|
3
|
+
import "@cupra/ui-kit/react/utils/breakpoints";
|
|
4
|
+
import "react";
|
|
5
|
+
import { useHandleEvent as u } from "../../hooks/useHandleEvent.js";
|
|
6
|
+
function k(t) {
|
|
7
|
+
const { className: i, children: n, onChange: a, inputId: e, value: o, label: l, required: d, disabled: s, readOnly: c, ...p } = t, { ref: m } = u({ change: a });
|
|
8
|
+
return /* @__PURE__ */ h("ds-date-picker-react", { ref: m, class: i, ...p, children: [
|
|
9
|
+
/* @__PURE__ */ r("label", { htmlFor: e, children: l }),
|
|
10
|
+
/* @__PURE__ */ r("input", { id: e, type: "date", value: o, required: d, disabled: s, readOnly: c }),
|
|
11
|
+
n
|
|
12
|
+
] });
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
k as DatePicker
|
|
16
|
+
};
|
package/dist/esm/index.js
CHANGED
|
@@ -3,160 +3,162 @@ import { Badge as m } from "./components/Badge/Badge.js";
|
|
|
3
3
|
import { BasicCard as f } from "./components/BasicCard/BasicCard.js";
|
|
4
4
|
import { BasicCardImage as i } from "./components/BasicCardImage/BasicCardImage.js";
|
|
5
5
|
import { BasicCardHeader as l } from "./components/BasicCardHeader/BasicCardHeader.js";
|
|
6
|
-
import { BasicCardSection as
|
|
6
|
+
import { BasicCardSection as c } 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
9
|
import { Bullets as T } from "./components/Bullets/Bullets.js";
|
|
10
10
|
import { Button as S } from "./components/Button/Button.js";
|
|
11
11
|
import { Calendar as b } from "./components/Calendar/Calendar.js";
|
|
12
|
-
import { CarouselIndicator as
|
|
13
|
-
import { Checkbox as
|
|
12
|
+
import { CarouselIndicator as k } from "./components/CarouselIndicator/CarouselIndicator.js";
|
|
13
|
+
import { Checkbox as L } from "./components/Checkbox/Checkbox.js";
|
|
14
14
|
import { CheckboxGroup as M } from "./components/CheckboxGroup/CheckboxGroup.js";
|
|
15
|
-
import { Chip as
|
|
16
|
-
import { Chips as
|
|
15
|
+
import { Chip as w } from "./components/Chip/Chip.js";
|
|
16
|
+
import { Chips as A } from "./components/Chips/Chips.js";
|
|
17
17
|
import { Currency as F } from "./components/Currency/Currency.js";
|
|
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 {
|
|
18
|
+
import { DatePicker as N } from "./components/DatePicker/DatePicker.js";
|
|
19
|
+
import { Dialog as z } from "./components/Dialog/Dialog.js";
|
|
20
|
+
import { DialogBody as U } from "./components/DialogBody/DialogBody.js";
|
|
21
|
+
import { DialogFooter as j } from "./components/DialogFooter/DialogFooter.js";
|
|
22
|
+
import { DialogFullscreen as J } from "./components/DialogFullscreen/DialogFullscreen.js";
|
|
23
|
+
import { DialogHeader as Q } from "./components/DialogHeader/DialogHeader.js";
|
|
24
|
+
import { Divider as X } from "./components/Divider/Divider.js";
|
|
25
|
+
import { Drawer as Z } from "./components/Drawer/Drawer.js";
|
|
26
|
+
import { FavouriteAction as $ } from "./components/FavouriteAction/FavouriteAction.js";
|
|
27
|
+
import { Hyperlink as ro } from "./components/Hyperlink/Hyperlink.js";
|
|
28
|
+
import { Icon as to } from "./components/Icon/Icon.js";
|
|
29
|
+
import { IconButton as mo } from "./components/IconButton/IconButton.js";
|
|
30
|
+
import { Input as fo } from "./components/Input/Input.js";
|
|
31
|
+
import { List as io } from "./components/List/List.js";
|
|
32
|
+
import { ListItem as lo } from "./components/ListItem/ListItem.js";
|
|
33
|
+
import { LinkButton as so } from "./components/LinkButton/LinkButton.js";
|
|
34
|
+
import { Loader as go, LoaderLogo as Bo } from "./components/Loader/Loader.js";
|
|
35
|
+
import { Logo as To } from "./components/Logo/Logo.js";
|
|
36
|
+
import { MainTitle as So } from "./components/MainTitle/MainTitle.js";
|
|
37
|
+
import { MapPin as bo } from "./components/MapPin/MapPin.js";
|
|
38
|
+
import { MediaControl as ko } from "./components/MediaControl/MediaControl.js";
|
|
38
39
|
import { Modal as Lo } from "./components/Modal/Modal.js";
|
|
39
|
-
import { PasswordInput as
|
|
40
|
-
import { PickerItem as
|
|
41
|
-
import { Radio as
|
|
42
|
-
import { RadioButton as
|
|
43
|
-
import { RadioButtonGroup as
|
|
44
|
-
import { Rating as
|
|
45
|
-
import { Search as
|
|
46
|
-
import { SearchInput as
|
|
47
|
-
import { SecondaryNavigation as
|
|
48
|
-
import { SegmentedControl as
|
|
49
|
-
import { Select as
|
|
50
|
-
import { Selection as
|
|
51
|
-
import { Skeleton as
|
|
52
|
-
import { Slider as
|
|
53
|
-
import { Table as
|
|
54
|
-
import { TableCell as
|
|
55
|
-
import { TableRow as
|
|
56
|
-
import { Tabs as
|
|
57
|
-
import { Tag as
|
|
58
|
-
import { Text as
|
|
59
|
-
import { TextInput as
|
|
60
|
-
import { Textarea as
|
|
61
|
-
import { ThemeProvider as
|
|
62
|
-
import { ToggleButton as
|
|
63
|
-
import { ToggleSwitch as
|
|
64
|
-
import { Tooltip as
|
|
40
|
+
import { PasswordInput as Mo } from "./components/PasswordInput/PasswordInput.js";
|
|
41
|
+
import { PickerItem as wo } from "./components/PickerItem/PickerItem.js";
|
|
42
|
+
import { Radio as Ao } from "./components/Radio/Radio.js";
|
|
43
|
+
import { RadioButton as Fo } from "./components/RadioButton/RadioButton.js";
|
|
44
|
+
import { RadioButtonGroup as No } from "./components/RadioButtonGroup/RadioButtonGroup.js";
|
|
45
|
+
import { Rating as zo } from "./components/Rating/Rating.js";
|
|
46
|
+
import { Search as Uo } from "./components/Search/Search.js";
|
|
47
|
+
import { SearchInput as jo } from "./components/SearchInput/SearchInput.js";
|
|
48
|
+
import { SecondaryNavigation as Jo } from "./components/SecondaryNavigation/SecondaryNavigation.js";
|
|
49
|
+
import { SegmentedControl as Qo } from "./components/SegmentedControl/SegmentedControl.js";
|
|
50
|
+
import { Select as Xo } from "./components/Select/Select.js";
|
|
51
|
+
import { Selection as Zo } from "./components/Selection/Selection.js";
|
|
52
|
+
import { Skeleton as $o } from "./components/Skeleton/Skeleton.js";
|
|
53
|
+
import { Slider as rr } from "./components/Slider/Slider.js";
|
|
54
|
+
import { Table as tr } from "./components/Table/Table.js";
|
|
55
|
+
import { TableCell as mr } from "./components/TableCell/TableCell.js";
|
|
56
|
+
import { TableRow as fr } from "./components/TableRow/TableRow.js";
|
|
57
|
+
import { Tabs as ir } from "./components/Tabs/Tabs.js";
|
|
58
|
+
import { Tag as lr } from "./components/Tag/Tag.js";
|
|
59
|
+
import { Text as cr } from "./components/Text/Text.js";
|
|
60
|
+
import { TextInput as ur } from "./components/TextInput/TextInput.js";
|
|
61
|
+
import { Textarea as Br } from "./components/Textarea/Textarea.js";
|
|
62
|
+
import { ThemeProvider as Tr } from "./components/ThemeProvider/ThemeProvider.js";
|
|
63
|
+
import { ToggleButton as Sr } from "./components/ToggleButton/ToggleButton.js";
|
|
64
|
+
import { ToggleSwitch as br } from "./components/ToggleSwitch/ToggleSwitch.js";
|
|
65
|
+
import { Tooltip as kr } from "./components/Tooltip/Tooltip.js";
|
|
65
66
|
import { ValueUnit as Lr } from "./components/ValueUnit/ValueUnit.js";
|
|
66
|
-
import { Toast as
|
|
67
|
-
import { ToastMessage as
|
|
68
|
-
import { InlineAlert as
|
|
69
|
-
import { Avatar as
|
|
70
|
-
import { StaticBox as
|
|
71
|
-
import { Stepper as
|
|
72
|
-
import { InteractiveCard as
|
|
73
|
-
import { SidebarNavigation as
|
|
74
|
-
import { IconButtonGroup as
|
|
75
|
-
import { NavigationControls as
|
|
76
|
-
import { useBreakpoint as
|
|
77
|
-
import { useEventListeners as
|
|
78
|
-
import { useHandleEvent as
|
|
67
|
+
import { Toast as Mr } from "./components/Toast/Toast.js";
|
|
68
|
+
import { ToastMessage as wr } from "./components/ToastMessage/ToastMessage.js";
|
|
69
|
+
import { InlineAlert as Ar } from "./components/InlineAlert/InlineAlert.js";
|
|
70
|
+
import { Avatar as Fr } from "./components/Avatar/Avatar.js";
|
|
71
|
+
import { StaticBox as Nr } from "./components/StaticBox/StaticBox.js";
|
|
72
|
+
import { Stepper as zr } from "./components/Stepper/Stepper.js";
|
|
73
|
+
import { InteractiveCard as Ur } from "./components/InteractiveCard/InteractiveCard.js";
|
|
74
|
+
import { SidebarNavigation as jr } from "./components/SidebarNavigation/SidebarNavigation.js";
|
|
75
|
+
import { IconButtonGroup as Jr } from "./components/IconButtonGroup/IconButtonGroup.js";
|
|
76
|
+
import { NavigationControls as Qr } from "./components/NavigationControls/NavigationControls.js";
|
|
77
|
+
import { useBreakpoint as Xr } from "./hooks/useBreakpoint.js";
|
|
78
|
+
import { useEventListeners as Zr } from "./hooks/useEventListeners.js";
|
|
79
|
+
import { useHandleEvent as $r } from "./hooks/useHandleEvent.js";
|
|
79
80
|
import "react";
|
|
80
|
-
import { useResizeObserver as
|
|
81
|
+
import { useResizeObserver as re } from "./hooks/useResizeObserver/useResizeObserver.js";
|
|
81
82
|
export {
|
|
82
83
|
t as Accordion,
|
|
83
|
-
|
|
84
|
+
Fr as Avatar,
|
|
84
85
|
m as Badge,
|
|
85
86
|
f as BasicCard,
|
|
86
87
|
l as BasicCardHeader,
|
|
87
88
|
i as BasicCardImage,
|
|
88
|
-
|
|
89
|
+
c as BasicCardSection,
|
|
89
90
|
u as Breadcrumbs,
|
|
90
91
|
B as BreadcrumbsItem,
|
|
91
92
|
T as Bullets,
|
|
92
93
|
S as Button,
|
|
93
94
|
b as Calendar,
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
k as CarouselIndicator,
|
|
96
|
+
L as Checkbox,
|
|
96
97
|
M as CheckboxGroup,
|
|
97
|
-
|
|
98
|
-
|
|
98
|
+
w as Chip,
|
|
99
|
+
A as Chips,
|
|
99
100
|
F as Currency,
|
|
100
|
-
N as
|
|
101
|
-
z as
|
|
102
|
-
U as
|
|
103
|
-
j as
|
|
104
|
-
J as
|
|
105
|
-
Q as
|
|
106
|
-
X as
|
|
107
|
-
Z as
|
|
108
|
-
$ as
|
|
109
|
-
ro as
|
|
110
|
-
to as
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
io as
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
Bo as
|
|
121
|
-
To as
|
|
122
|
-
So as
|
|
123
|
-
bo as
|
|
101
|
+
N as DatePicker,
|
|
102
|
+
z as Dialog,
|
|
103
|
+
U as DialogBody,
|
|
104
|
+
j as DialogFooter,
|
|
105
|
+
J as DialogFullscreen,
|
|
106
|
+
Q as DialogHeader,
|
|
107
|
+
X as Divider,
|
|
108
|
+
Z as Drawer,
|
|
109
|
+
$ as FavouriteAction,
|
|
110
|
+
ro as Hyperlink,
|
|
111
|
+
to as Icon,
|
|
112
|
+
mo as IconButton,
|
|
113
|
+
Jr as IconButtonGroup,
|
|
114
|
+
Ar as InlineAlert,
|
|
115
|
+
fo as Input,
|
|
116
|
+
Ur as InteractiveCard,
|
|
117
|
+
so as LinkButton,
|
|
118
|
+
io as List,
|
|
119
|
+
lo as ListItem,
|
|
120
|
+
go as Loader,
|
|
121
|
+
Bo as LoaderLogo,
|
|
122
|
+
To as Logo,
|
|
123
|
+
So as MainTitle,
|
|
124
|
+
bo as MapPin,
|
|
125
|
+
ko as MediaControl,
|
|
124
126
|
Lo as Modal,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
127
|
+
Qr as NavigationControls,
|
|
128
|
+
Mo as PasswordInput,
|
|
129
|
+
wo as PickerItem,
|
|
130
|
+
Ao as Radio,
|
|
131
|
+
Fo as RadioButton,
|
|
132
|
+
No as RadioButtonGroup,
|
|
133
|
+
zo as Rating,
|
|
134
|
+
Uo as Search,
|
|
135
|
+
jo as SearchInput,
|
|
136
|
+
Jo as SecondaryNavigation,
|
|
137
|
+
Qo as SegmentedControl,
|
|
138
|
+
Xo as Select,
|
|
139
|
+
Zo as Selection,
|
|
140
|
+
jr as SidebarNavigation,
|
|
141
|
+
$o as Skeleton,
|
|
142
|
+
rr as Slider,
|
|
143
|
+
Nr as StaticBox,
|
|
144
|
+
zr as Stepper,
|
|
145
|
+
tr as Table,
|
|
146
|
+
mr as TableCell,
|
|
147
|
+
fr as TableRow,
|
|
148
|
+
ir as Tabs,
|
|
149
|
+
lr as Tag,
|
|
150
|
+
cr as Text,
|
|
151
|
+
ur as TextInput,
|
|
152
|
+
Br as Textarea,
|
|
153
|
+
Tr as ThemeProvider,
|
|
154
|
+
Mr as Toast,
|
|
155
|
+
wr as ToastMessage,
|
|
156
|
+
Sr as ToggleButton,
|
|
157
|
+
br as ToggleSwitch,
|
|
158
|
+
kr as Tooltip,
|
|
157
159
|
Lr as ValueUnit,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
Xr as useBreakpoint,
|
|
161
|
+
Zr as useEventListeners,
|
|
162
|
+
$r as useHandleEvent,
|
|
163
|
+
re as useResizeObserver
|
|
162
164
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DsDatePickerAttrs } from '@cupra/ui-kit/react/types/ds-date-picker';
|
|
2
|
+
import { ChangeEvent, type ReactElement } from 'react';
|
|
3
|
+
import '@cupra/ui-kit/react/ds-date-picker';
|
|
4
|
+
type DatePickerProps = {
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
+
inputId: string;
|
|
9
|
+
value?: string;
|
|
10
|
+
label: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
readOnly?: boolean;
|
|
14
|
+
} & DsDatePickerAttrs;
|
|
15
|
+
export declare function DatePicker(props: DatePickerProps): ReactElement;
|
|
16
|
+
export {};
|
|
@@ -15,6 +15,7 @@ export * from './CheckboxGroup/CheckboxGroup';
|
|
|
15
15
|
export * from './Chip/Chip';
|
|
16
16
|
export * from './Chips/Chips';
|
|
17
17
|
export * from './Currency/Currency';
|
|
18
|
+
export * from './DatePicker/DatePicker';
|
|
18
19
|
export * from './Dialog/Dialog';
|
|
19
20
|
export * from './DialogBody/DialogBody';
|
|
20
21
|
export * from './DialogFooter/DialogFooter';
|
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.94",
|
|
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.83",
|
|
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.83"
|
|
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",
|