@cupra/ui-react 1.0.0-canary.29 → 1.0.0-canary.30
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.
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DsBadgeAttrs } from '@cupra/ui-kit/react/types/ds-badge';
|
|
2
|
+
import { type ReactElement } from 'react';
|
|
3
|
+
import '@cupra/ui-kit/react/ds-badge';
|
|
4
|
+
export interface BadgeProps extends DsBadgeAttrs {
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function Badge({ className, ...rest }: BadgeProps): ReactElement;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: Meta;
|
|
3
|
+
export default meta;
|
|
4
|
+
type Story = StoryObj;
|
|
5
|
+
export declare const Dot: Story;
|
|
6
|
+
export declare const NumberBase: Story;
|
|
7
|
+
export declare const NumberSmallInverted: Story;
|
|
8
|
+
export declare const NumberInverted: Story;
|
package/dist/index.js
CHANGED
|
@@ -1,116 +1,118 @@
|
|
|
1
1
|
import { Accordion as t } from "./components/Accordion/Accordion.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
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 {
|
|
2
|
+
import { Badge as x } from "./components/Badge/Badge.js";
|
|
3
|
+
import { Bullets as f } from "./components/Bullets/Bullets.js";
|
|
4
|
+
import { Button as i } from "./components/Button/Button.js";
|
|
5
|
+
import { CarouselIndicator as d } from "./components/CarouselIndicator/CarouselIndicator.js";
|
|
6
|
+
import { Checkbox as s } from "./components/Checkbox/Checkbox.js";
|
|
7
|
+
import { Chip as g } from "./components/Chip/Chip.js";
|
|
8
|
+
import { Chips as T } from "./components/Chips/Chips.js";
|
|
9
|
+
import { Currency as S } from "./components/Currency/Currency.js";
|
|
10
|
+
import { Dialog as I } from "./components/Dialog/Dialog.js";
|
|
11
|
+
import { DialogBody as C } from "./components/DialogBody/DialogBody.js";
|
|
12
|
+
import { DialogFooter as k } from "./components/DialogFooter/DialogFooter.js";
|
|
13
|
+
import { DialogHeader as R } from "./components/DialogHeader/DialogHeader.js";
|
|
14
|
+
import { Divider as y } from "./components/Divider/Divider.js";
|
|
15
|
+
import { Hyperlink as P } from "./components/Hyperlink/Hyperlink.js";
|
|
16
|
+
import { Icon as w } from "./components/Icon/Icon.js";
|
|
17
|
+
import { IconButton as E } from "./components/IconButton/IconButton.js";
|
|
18
|
+
import { Input as z } from "./components/Input/Input.js";
|
|
19
|
+
import { LinkButton as G } from "./components/LinkButton/LinkButton.js";
|
|
20
|
+
import { Loader as j, LoaderLogo as q } from "./components/Loader/Loader.js";
|
|
21
|
+
import { Logo as K } from "./components/Logo/Logo.js";
|
|
22
|
+
import { MainTitle as U } from "./components/MainTitle/MainTitle.js";
|
|
23
|
+
import { MapPin as W } from "./components/MapPin/MapPin.js";
|
|
24
|
+
import { Modal as Y } from "./components/Modal/Modal.js";
|
|
25
|
+
import { PasswordInput as _ } from "./components/PasswordInput/PasswordInput.js";
|
|
26
|
+
import { PickerItem as oo } from "./components/PickerItem/PickerItem.js";
|
|
27
|
+
import { Radio as eo } from "./components/Radio/Radio.js";
|
|
28
|
+
import { RadioButton as po } from "./components/RadioButton/RadioButton.js";
|
|
29
|
+
import { RadioButtonGroup as mo } from "./components/RadioButtonGroup/RadioButtonGroup.js";
|
|
30
|
+
import { Rating as ao } from "./components/Rating/Rating.js";
|
|
31
|
+
import { Search as no } from "./components/Search/Search.js";
|
|
32
|
+
import { SearchInput as so } from "./components/SearchInput/SearchInput.js";
|
|
33
|
+
import { SecondaryNavigation as go } from "./components/SecondaryNavigation/SecondaryNavigation.js";
|
|
34
|
+
import { SegmentedControl as To } from "./components/SegmentedControl/SegmentedControl.js";
|
|
35
|
+
import { Select as So } from "./components/Select/Select.js";
|
|
36
|
+
import { Selection as Io } from "./components/Selection/Selection.js";
|
|
37
|
+
import { Slider as Co } from "./components/Slider/Slider.js";
|
|
38
|
+
import { Tabs as ko } from "./components/Tabs/Tabs.js";
|
|
39
|
+
import { Tag as Ro } from "./components/Tag/Tag.js";
|
|
40
|
+
import { Text as yo } from "./components/Text/Text.js";
|
|
41
|
+
import { TextInput as Po } from "./components/TextInput/TextInput.js";
|
|
42
|
+
import { Textarea as wo } from "./components/Textarea/Textarea.js";
|
|
43
|
+
import { ThemeProvider as Eo } from "./components/ThemeProvider/ThemeProvider.js";
|
|
44
|
+
import { ToggleButton as zo } from "./components/ToggleButton/ToggleButton.js";
|
|
45
|
+
import { ToggleSwitch as Go } from "./components/ToggleSwitch/ToggleSwitch.js";
|
|
46
|
+
import { Tooltip as jo } from "./components/Tooltip/Tooltip.js";
|
|
47
|
+
import { Toast as Jo } from "./components/Toast/Toast.js";
|
|
48
|
+
import { ToastMessage as Qo } from "./components/ToastMessage/ToastMessage.js";
|
|
49
|
+
import { Avatar as Vo } from "./components/Avatar/Avatar.js";
|
|
50
|
+
import { StaticBox as Xo } from "./components/StaticBox/StaticBox.js";
|
|
51
|
+
import { Stepper as Zo } from "./components/Stepper/Stepper.js";
|
|
52
|
+
import { InteractiveCard as $o } from "./components/InteractiveCard/InteractiveCard.js";
|
|
53
|
+
import { SidebarNavigation as rr } from "./components/SidebarNavigation/SidebarNavigation.js";
|
|
54
|
+
import { useBreakpoint as tr } from "./hooks/useBreakpoint.js";
|
|
55
|
+
import { useEventListeners as xr } from "./hooks/useEventListeners.js";
|
|
56
|
+
import { useHandleEvent as fr } from "./hooks/useHandleEvent.js";
|
|
56
57
|
import "react";
|
|
57
|
-
import { useResizeObserver as
|
|
58
|
+
import { useResizeObserver as ir } from "./hooks/useResizeObserver/useResizeObserver.js";
|
|
58
59
|
export {
|
|
59
60
|
t as Accordion,
|
|
60
|
-
|
|
61
|
-
x as
|
|
62
|
-
f as
|
|
63
|
-
i as
|
|
64
|
-
d as
|
|
65
|
-
s as
|
|
66
|
-
|
|
67
|
-
T as
|
|
68
|
-
|
|
69
|
-
I as
|
|
70
|
-
C as
|
|
71
|
-
k as
|
|
72
|
-
R as
|
|
73
|
-
y as
|
|
74
|
-
P as
|
|
75
|
-
w as
|
|
76
|
-
E as
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
G as
|
|
80
|
-
|
|
81
|
-
q as
|
|
82
|
-
K as
|
|
83
|
-
U as
|
|
84
|
-
W as
|
|
85
|
-
Y as
|
|
86
|
-
_ as
|
|
87
|
-
oo as
|
|
88
|
-
eo as
|
|
89
|
-
po as
|
|
90
|
-
mo as
|
|
91
|
-
ao as
|
|
92
|
-
no as
|
|
93
|
-
so as
|
|
94
|
-
|
|
95
|
-
To as
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
Xo as
|
|
101
|
-
|
|
102
|
-
ko as
|
|
103
|
-
Ro as
|
|
104
|
-
yo as
|
|
105
|
-
Po as
|
|
106
|
-
wo as
|
|
107
|
-
|
|
108
|
-
Jo as
|
|
109
|
-
|
|
110
|
-
zo as
|
|
111
|
-
Go as
|
|
112
|
-
|
|
113
|
-
tr as
|
|
114
|
-
xr as
|
|
115
|
-
fr as
|
|
61
|
+
Vo as Avatar,
|
|
62
|
+
x as Badge,
|
|
63
|
+
f as Bullets,
|
|
64
|
+
i as Button,
|
|
65
|
+
d as CarouselIndicator,
|
|
66
|
+
s as Checkbox,
|
|
67
|
+
g as Chip,
|
|
68
|
+
T as Chips,
|
|
69
|
+
S as Currency,
|
|
70
|
+
I as Dialog,
|
|
71
|
+
C as DialogBody,
|
|
72
|
+
k as DialogFooter,
|
|
73
|
+
R as DialogHeader,
|
|
74
|
+
y as Divider,
|
|
75
|
+
P as Hyperlink,
|
|
76
|
+
w as Icon,
|
|
77
|
+
E as IconButton,
|
|
78
|
+
z as Input,
|
|
79
|
+
$o as InteractiveCard,
|
|
80
|
+
G as LinkButton,
|
|
81
|
+
j as Loader,
|
|
82
|
+
q as LoaderLogo,
|
|
83
|
+
K as Logo,
|
|
84
|
+
U as MainTitle,
|
|
85
|
+
W as MapPin,
|
|
86
|
+
Y as Modal,
|
|
87
|
+
_ as PasswordInput,
|
|
88
|
+
oo as PickerItem,
|
|
89
|
+
eo as Radio,
|
|
90
|
+
po as RadioButton,
|
|
91
|
+
mo as RadioButtonGroup,
|
|
92
|
+
ao as Rating,
|
|
93
|
+
no as Search,
|
|
94
|
+
so as SearchInput,
|
|
95
|
+
go as SecondaryNavigation,
|
|
96
|
+
To as SegmentedControl,
|
|
97
|
+
So as Select,
|
|
98
|
+
Io as Selection,
|
|
99
|
+
rr as SidebarNavigation,
|
|
100
|
+
Co as Slider,
|
|
101
|
+
Xo as StaticBox,
|
|
102
|
+
Zo as Stepper,
|
|
103
|
+
ko as Tabs,
|
|
104
|
+
Ro as Tag,
|
|
105
|
+
yo as Text,
|
|
106
|
+
Po as TextInput,
|
|
107
|
+
wo as Textarea,
|
|
108
|
+
Eo as ThemeProvider,
|
|
109
|
+
Jo as Toast,
|
|
110
|
+
Qo as ToastMessage,
|
|
111
|
+
zo as ToggleButton,
|
|
112
|
+
Go as ToggleSwitch,
|
|
113
|
+
jo as Tooltip,
|
|
114
|
+
tr as useBreakpoint,
|
|
115
|
+
xr as useEventListeners,
|
|
116
|
+
fr as useHandleEvent,
|
|
117
|
+
ir as useResizeObserver
|
|
116
118
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cupra/ui-react",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.30",
|
|
4
4
|
"description": "React components library",
|
|
5
5
|
"author": "SEAT S.A.",
|
|
6
6
|
"license": "SEAT S.A. Library EULA 1.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">= 18.3.1 < 20",
|
|
46
46
|
"react-dom": ">= 18.3.1 < 20",
|
|
47
|
-
"@cupra/ui-kit": "1.0.0-canary.
|
|
47
|
+
"@cupra/ui-kit": "1.0.0-canary.19"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"styled-components": "^6.1.16"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"storybook": "^8.6.14",
|
|
67
67
|
"typescript": "^5.8.2",
|
|
68
68
|
"vite": "^6.4.1",
|
|
69
|
-
"@cupra/ui-kit": "1.0.0-canary.
|
|
69
|
+
"@cupra/ui-kit": "1.0.0-canary.19"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"build": "rm -rf dist && tsc --declaration --emitDeclarationOnly && vite build --emptyOutDir false",
|