@cupra/ui-react 2.0.0-canary.5 → 2.0.0-canary.7
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/README.md +164 -64
- package/dist/components/index.d.ts +56 -56
- package/package.json +3 -19
- package/dist/components/Accordion/index.d.ts +0 -1
- package/dist/components/Avatar/index.d.ts +0 -1
- package/dist/components/Badge/index.d.ts +0 -1
- package/dist/components/BasicCard/index.d.ts +0 -1
- package/dist/components/BasicCardHeader/index.d.ts +0 -1
- package/dist/components/BasicCardImage/index.d.ts +0 -1
- package/dist/components/BasicCardSection/index.d.ts +0 -1
- package/dist/components/Bullets/index.d.ts +0 -1
- package/dist/components/Button/index.d.ts +0 -1
- package/dist/components/CarouselIndicator/index.d.ts +0 -1
- package/dist/components/Checkbox/index.d.ts +0 -1
- package/dist/components/Chip/index.d.ts +0 -1
- package/dist/components/Chips/index.d.ts +0 -1
- package/dist/components/Currency/index.d.ts +0 -1
- package/dist/components/Dialog/index.d.ts +0 -1
- package/dist/components/DialogBody/index.d.ts +0 -1
- package/dist/components/DialogFooter/index.d.ts +0 -1
- package/dist/components/DialogFullscreen/index.d.ts +0 -1
- package/dist/components/DialogHeader/index.d.ts +0 -1
- package/dist/components/Divider/index.d.ts +0 -1
- package/dist/components/Drawer/index.d.ts +0 -1
- package/dist/components/Hyperlink/index.d.ts +0 -1
- package/dist/components/Icon/index.d.ts +0 -1
- package/dist/components/IconButton/index.d.ts +0 -1
- package/dist/components/Input/index.d.ts +0 -1
- package/dist/components/InteractiveCard/index.d.ts +0 -1
- package/dist/components/LinkButton/index.d.ts +0 -1
- package/dist/components/Loader/index.d.ts +0 -1
- package/dist/components/Logo/index.d.ts +0 -1
- package/dist/components/MainTitle/index.d.ts +0 -1
- package/dist/components/MapPin/index.d.ts +0 -1
- package/dist/components/Modal/index.d.ts +0 -1
- package/dist/components/PasswordInput/index.d.ts +0 -1
- package/dist/components/PickerItem/index.d.ts +0 -1
- package/dist/components/Radio/index.d.ts +0 -1
- package/dist/components/RadioButton/index.d.ts +0 -1
- package/dist/components/RadioButtonGroup/index.d.ts +0 -1
- package/dist/components/Rating/index.d.ts +0 -1
- package/dist/components/Search/index.d.ts +0 -1
- package/dist/components/SearchInput/index.d.ts +0 -1
- package/dist/components/SecondaryNavigation/index.d.ts +0 -1
- package/dist/components/SegmentedControl/index.d.ts +0 -1
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Selection/index.d.ts +0 -1
- package/dist/components/SidebarNavigation/index.d.ts +0 -1
- package/dist/components/Slider/index.d.ts +0 -1
- package/dist/components/StaticBox/index.d.ts +0 -1
- package/dist/components/Stepper/index.d.ts +0 -1
- package/dist/components/Tabs/index.d.ts +0 -1
- package/dist/components/Tag/index.d.ts +0 -1
- package/dist/components/Text/index.d.ts +0 -1
- package/dist/components/TextInput/index.d.ts +0 -1
- package/dist/components/Textarea/index.d.ts +0 -1
- package/dist/components/ThemeProvider/index.d.ts +0 -1
- package/dist/components/Toast/index.d.ts +0 -1
- package/dist/components/ToastMessage/index.d.ts +0 -1
- package/dist/components/ToggleButton/index.d.ts +0 -1
- package/dist/components/ToggleSwitch/index.d.ts +0 -1
- package/dist/components/Tooltip/index.d.ts +0 -1
package/README.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
# UI React (React Components)
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
|
+
|
|
4
5
|
React components and wrappers built on top of the DS-UI Web Components, providing a seamless and idiomatic developer experience for React.
|
|
5
6
|
This package exposes React-friendly APIs (props, JSX, typed events) while preserving the DS-UI theming, styling, and asset resolution model.
|
|
6
7
|
|
|
8
|
+
---
|
|
9
|
+
|
|
7
10
|
## Audience
|
|
11
|
+
|
|
8
12
|
Use `@cupra/ui-react` if your application is built with **React** and you want:
|
|
9
13
|
|
|
10
14
|
- First-class React ergonomics with DS-UI components
|
|
@@ -14,6 +18,8 @@ Use `@cupra/ui-react` if your application is built with **React** and you want:
|
|
|
14
18
|
|
|
15
19
|
If you need a **framework-agnostic** solution, consider `@cupra/ui-kit` (Web Components).
|
|
16
20
|
|
|
21
|
+
---
|
|
22
|
+
|
|
17
23
|
## Requirements & Compatibility
|
|
18
24
|
|
|
19
25
|
This library currently provides **official support for React 18**.
|
|
@@ -22,36 +28,116 @@ This library currently provides **official support for React 18**.
|
|
|
22
28
|
|
|
23
29
|
Projects using other React versions may still install and use the library, but behaviour is not guaranteed until official support is released.
|
|
24
30
|
|
|
25
|
-
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## TypeScript and module resolution
|
|
34
|
+
|
|
35
|
+
This library is **bundler-first**.
|
|
36
|
+
|
|
37
|
+
### Subpath imports (recommended)
|
|
38
|
+
|
|
39
|
+
Importing components via subpaths (for example `@cupra/ui-react/Accordion`) requires
|
|
40
|
+
TypeScript to use **bundler-based module resolution**:
|
|
41
|
+
|
|
42
|
+
- **TypeScript ≥ 5**
|
|
43
|
+
- `"moduleResolution": "bundler"`
|
|
44
|
+
|
|
45
|
+
This matches how modern bundlers resolve modules and enables the best developer experience,
|
|
46
|
+
including proper tree-shaking and code-splitting.
|
|
47
|
+
|
|
48
|
+
Minimal required `tsconfig.json` setting:
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
{
|
|
52
|
+
"compilerOptions": {
|
|
53
|
+
"moduleResolution": "bundler"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Other compiler options (`target`, `module`, `lib`, etc.) are project-specific and can be configured as needed.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### Root imports (compatibility mode)
|
|
63
|
+
|
|
64
|
+
If your project cannot use `moduleResolution: "bundler"`, you can still consume the library using **root imports**:
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
import { Accordion, IconButton } from "@cupra/ui-react";
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
This mode works with legacy or constrained TypeScript setups, but has the following trade-offs:
|
|
71
|
+
|
|
72
|
+
- Subpath imports are not available
|
|
73
|
+
- Reduced tree-shaking and chunking opportunities
|
|
74
|
+
- All components are imported from the package entry point
|
|
75
|
+
|
|
76
|
+
Root imports are supported as a fallback, but **subpath imports are recommended whenever possible**.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
### Notes
|
|
81
|
+
|
|
82
|
+
- Subpath imports are intentionally designed for bundler-based environments.
|
|
83
|
+
- The library does not attempt to enforce Node-style module resolution.
|
|
84
|
+
- No additional runtime configuration is required when using a modern bundler.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Getting started
|
|
89
|
+
|
|
90
|
+
### Installation
|
|
26
91
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- pnpm: `pnpm add @cupra/ui-react`
|
|
30
|
-
- yarn: `yarn add @cupra/ui-react`
|
|
92
|
+
`@cupra/ui-react` is a React wrapper around the Web Components provided by
|
|
93
|
+
`@cupra/ui-kit`.
|
|
31
94
|
|
|
32
|
-
|
|
95
|
+
For this reason, **both packages must be installed** in your project.
|
|
33
96
|
|
|
34
|
-
|
|
97
|
+
Using npm:
|
|
35
98
|
|
|
36
|
-
```
|
|
37
|
-
@cupra
|
|
99
|
+
```
|
|
100
|
+
npm install @cupra/ui-react @cupra/ui-kit
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Using pnpm:
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
pnpm add @cupra/ui-react @cupra/ui-kit
|
|
38
107
|
```
|
|
39
108
|
|
|
40
|
-
|
|
109
|
+
Using yarn:
|
|
41
110
|
|
|
42
|
-
```yaml
|
|
43
|
-
npmScopes:
|
|
44
|
-
cupra:
|
|
45
|
-
npmRegistryServer: "https://registry.npmjs.org"
|
|
46
111
|
```
|
|
112
|
+
yarn add @cupra/ui-react @cupra/ui-kit
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
### About peer dependencies
|
|
118
|
+
|
|
119
|
+
`@cupra/ui-kit` is declared as a **peer dependency** of `@cupra/ui-react`.
|
|
120
|
+
|
|
121
|
+
This means:
|
|
122
|
+
|
|
123
|
+
- `@cupra/ui-react` does not bundle or ship the Web Components itself
|
|
124
|
+
- the consuming project must provide a compatible version of `@cupra/ui-kit`
|
|
125
|
+
- only a single instance of the design system is expected at runtime
|
|
126
|
+
|
|
127
|
+
Some package managers (such as npm ≥ 7 or pnpm with compatible settings) may install
|
|
128
|
+
peer dependencies automatically. Others (such as Yarn) require installing them explicitly.
|
|
129
|
+
|
|
130
|
+
If you encounter missing-module or runtime errors after installing `@cupra/ui-react`,
|
|
131
|
+
make sure that `@cupra/ui-kit` is also installed in your project.
|
|
47
132
|
|
|
48
133
|
---
|
|
49
134
|
|
|
50
135
|
## Documentation & Live Playground
|
|
51
136
|
|
|
52
|
-
You can explore all `ui-react`
|
|
137
|
+
You can explore all `ui-react` components, their APIs, theming options and live examples
|
|
138
|
+
in the online documentation and playground:
|
|
53
139
|
|
|
54
|
-
|
|
140
|
+
https://diagonal.cupra.com/ui-react/index.html
|
|
55
141
|
|
|
56
142
|
---
|
|
57
143
|
|
|
@@ -59,7 +145,8 @@ You can explore all `ui-react` Components, their APIs, theming options and live
|
|
|
59
145
|
|
|
60
146
|
This package is distributed through npm using **two release channels**.
|
|
61
147
|
|
|
62
|
-
### Stable
|
|
148
|
+
### Stable releases (`latest`)
|
|
149
|
+
|
|
63
150
|
Production-ready versions:
|
|
64
151
|
|
|
65
152
|
- Follow Semantic Versioning
|
|
@@ -68,19 +155,20 @@ Production-ready versions:
|
|
|
68
155
|
|
|
69
156
|
Install:
|
|
70
157
|
|
|
71
|
-
```
|
|
72
|
-
npm install @cupra/ui-react
|
|
158
|
+
```
|
|
159
|
+
npm install @cupra/ui-react
|
|
73
160
|
```
|
|
74
161
|
|
|
75
162
|
Specific version:
|
|
76
163
|
|
|
77
|
-
```
|
|
78
|
-
npm install @cupra/ui-react@0.1.3
|
|
164
|
+
```
|
|
165
|
+
npm install @cupra/ui-react@0.1.3
|
|
79
166
|
```
|
|
80
167
|
|
|
81
168
|
---
|
|
82
169
|
|
|
83
|
-
### Canary
|
|
170
|
+
### Canary releases (`canary`)
|
|
171
|
+
|
|
84
172
|
Early-access versions published after each merge into `main`.
|
|
85
173
|
|
|
86
174
|
Use canary releases if you:
|
|
@@ -91,87 +179,99 @@ Use canary releases if you:
|
|
|
91
179
|
|
|
92
180
|
Latest canary:
|
|
93
181
|
|
|
94
|
-
```
|
|
95
|
-
npm install @cupra/ui-react@canary
|
|
182
|
+
```
|
|
183
|
+
npm install @cupra/ui-react@canary
|
|
96
184
|
```
|
|
97
185
|
|
|
98
186
|
Specific canary version:
|
|
99
187
|
|
|
100
|
-
```
|
|
101
|
-
npm install @cupra/ui-react@0.1.4-canary.2
|
|
188
|
+
```
|
|
189
|
+
npm install @cupra/ui-react@0.1.4-canary.2
|
|
102
190
|
```
|
|
103
191
|
|
|
104
192
|
---
|
|
105
193
|
|
|
106
194
|
## Recommended usage
|
|
107
195
|
|
|
108
|
-
- **Production:** use **stable versions (
|
|
109
|
-
- **Internal testing / preview:** use
|
|
110
|
-
|
|
111
|
-
```bash
|
|
112
|
-
npm install @cupra/ui-react@0.1.4-canary.2
|
|
113
|
-
```
|
|
196
|
+
- **Production:** use **stable versions** (for example `@cupra/ui-react@1.1.3`)
|
|
197
|
+
- **Internal testing / preview:** use **canary** versions
|
|
114
198
|
|
|
115
199
|
---
|
|
116
200
|
|
|
117
201
|
## Usage
|
|
118
202
|
|
|
119
|
-
|
|
120
|
-
|
|
203
|
+
When possible, import components via subpaths:
|
|
204
|
+
|
|
205
|
+
```
|
|
206
|
+
import { Button } from "@cupra/ui-react/Button";
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
If your TypeScript setup does not support bundler-based module resolution, use root imports instead:
|
|
210
|
+
|
|
211
|
+
```
|
|
212
|
+
import { Button } from "@cupra/ui-react";
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
Wrap your React application with `ThemeProvider`.
|
|
121
216
|
|
|
122
|
-
Wrap your React app with `ThemeProvider`.
|
|
123
217
|
The provider requires **three props**:
|
|
124
218
|
|
|
125
|
-
| Prop
|
|
126
|
-
|
|
127
|
-
| `theme`
|
|
128
|
-
| `loadFonts` | boolean | Yes
|
|
129
|
-
| `loadStyles
|
|
219
|
+
| Prop | Type | Required | Description |
|
|
220
|
+
|-------------|---------|----------|-----------------------------------------------|
|
|
221
|
+
| `theme` | string | Yes | Visual theme identifier (e.g. cupra-diagonal) |
|
|
222
|
+
| `loadFonts` | boolean | Yes | Auto-load DS-UI font files |
|
|
223
|
+
| `loadStyles`| boolean | Yes | Auto-load DS-UI CSS |
|
|
130
224
|
|
|
131
|
-
If `loadFonts` or `loadStyles` are `false`, you must manually include `<link>` tags
|
|
225
|
+
If `loadFonts` or `loadStyles` are `false`, you must manually include the corresponding `<link>` tags.
|
|
132
226
|
|
|
133
227
|
### Option A — Manual CSS and font links
|
|
134
228
|
|
|
135
|
-
```
|
|
136
|
-
import { ThemeProvider } from
|
|
137
|
-
import { Button } from
|
|
138
|
-
import { Icon } from
|
|
229
|
+
```
|
|
230
|
+
import { ThemeProvider } from "@cupra/ui-react/ThemeProvider";
|
|
231
|
+
import { Button } from "@cupra/ui-react/Button";
|
|
232
|
+
import { Icon } from "@cupra/ui-react/Icon";
|
|
139
233
|
|
|
140
|
-
export function App() {
|
|
141
|
-
|
|
234
|
+
export function App() {
|
|
235
|
+
return (
|
|
142
236
|
<>
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
</
|
|
237
|
+
<link rel="preload" as="style" href="https://ds-assets.cupra.com/[version]/styles/cupra/theme.css" />
|
|
238
|
+
<link rel="stylesheet" href="https://ds-assets.cupra.com/[version]/styles/cupra/theme.css" />
|
|
239
|
+
<ThemeProvider theme="cupra-diagonal" loadFonts={false} loadStyles={false}>
|
|
240
|
+
<Button variant="destructive" icon-name="filters-background">
|
|
241
|
+
Click me
|
|
242
|
+
</Button>
|
|
243
|
+
<Icon icon-name="filters-background" />
|
|
244
|
+
</ThemeProvider>
|
|
149
245
|
</>
|
|
150
|
-
|
|
151
|
-
}
|
|
246
|
+
);
|
|
247
|
+
}
|
|
152
248
|
```
|
|
153
249
|
|
|
154
250
|
### Option B — Provider loads assets automatically
|
|
155
251
|
|
|
156
|
-
```
|
|
157
|
-
import { ThemeProvider } from
|
|
158
|
-
import { Button } from
|
|
252
|
+
```
|
|
253
|
+
import { ThemeProvider } from "@cupra/ui-react/ThemeProvider";
|
|
254
|
+
import { Button } from "@cupra/ui-react/Button";
|
|
159
255
|
|
|
160
|
-
export function App() {
|
|
161
|
-
|
|
256
|
+
export function App() {
|
|
257
|
+
return (
|
|
162
258
|
<ThemeProvider theme="cupra-diagonal" loadFonts={true} loadStyles={true}>
|
|
163
|
-
|
|
259
|
+
<Button variant="primary">Button</Button>
|
|
164
260
|
</ThemeProvider>
|
|
165
|
-
|
|
166
|
-
}
|
|
261
|
+
);
|
|
262
|
+
}
|
|
167
263
|
```
|
|
168
264
|
|
|
169
265
|
---
|
|
170
266
|
|
|
171
267
|
## License
|
|
172
|
-
|
|
268
|
+
|
|
269
|
+
SEAT S.A. Library EULA 1.0
|
|
173
270
|
See `LICENSE.md` in this package for the full text.
|
|
174
271
|
Third-party attributions may appear in `THIRD_PARTY_LICENSES.md`.
|
|
175
272
|
|
|
273
|
+
---
|
|
274
|
+
|
|
176
275
|
## Support
|
|
276
|
+
|
|
177
277
|
For help and support, contact: **ds.support@seat.es**
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
export * from './Accordion/
|
|
2
|
-
export * from './Badge/
|
|
3
|
-
export * from './BasicCard/
|
|
4
|
-
export * from './BasicCardSection/
|
|
5
|
-
export * from './Bullets/
|
|
6
|
-
export * from './Button/
|
|
7
|
-
export * from './CarouselIndicator/
|
|
8
|
-
export * from './Checkbox/
|
|
9
|
-
export * from './Chip/
|
|
10
|
-
export * from './Chips/
|
|
11
|
-
export * from './Currency/
|
|
12
|
-
export * from './Dialog/
|
|
13
|
-
export * from './DialogBody/
|
|
14
|
-
export * from './DialogFooter/
|
|
15
|
-
export * from './DialogHeader/
|
|
16
|
-
export * from './Divider/
|
|
17
|
-
export * from './Drawer/
|
|
18
|
-
export * from './Hyperlink/
|
|
19
|
-
export * from './Icon/
|
|
20
|
-
export * from './IconButton/
|
|
21
|
-
export * from './Input/
|
|
22
|
-
export * from './LinkButton/
|
|
23
|
-
export * from './Loader/
|
|
24
|
-
export * from './Logo/
|
|
25
|
-
export * from './MainTitle/
|
|
26
|
-
export * from './MapPin/
|
|
27
|
-
export * from './Modal/
|
|
28
|
-
export * from './PasswordInput/
|
|
29
|
-
export * from './PickerItem/
|
|
30
|
-
export * from './Radio/
|
|
31
|
-
export * from './RadioButton/
|
|
32
|
-
export * from './RadioButtonGroup/
|
|
33
|
-
export * from './Rating/
|
|
34
|
-
export * from './Search/
|
|
35
|
-
export * from './SearchInput/
|
|
36
|
-
export * from './SecondaryNavigation/
|
|
37
|
-
export * from './SegmentedControl/
|
|
38
|
-
export * from './Select/
|
|
39
|
-
export * from './Selection/
|
|
40
|
-
export * from './Slider/
|
|
41
|
-
export * from './Tabs/
|
|
42
|
-
export * from './Tag/
|
|
43
|
-
export * from './Text/
|
|
44
|
-
export * from './TextInput/
|
|
45
|
-
export * from './Textarea/
|
|
46
|
-
export * from './ThemeProvider/
|
|
47
|
-
export * from './ToggleButton/
|
|
48
|
-
export * from './ToggleSwitch/
|
|
49
|
-
export * from './Tooltip/
|
|
50
|
-
export * from './Toast/
|
|
51
|
-
export * from './ToastMessage/
|
|
52
|
-
export * from './Avatar/
|
|
53
|
-
export * from './StaticBox/
|
|
54
|
-
export * from './Stepper/
|
|
55
|
-
export * from './InteractiveCard/
|
|
56
|
-
export * from './SidebarNavigation/
|
|
1
|
+
export * from './Accordion/Accordion';
|
|
2
|
+
export * from './Badge/Badge';
|
|
3
|
+
export * from './BasicCard/BasicCard';
|
|
4
|
+
export * from './BasicCardSection/BasicCardSection';
|
|
5
|
+
export * from './Bullets/Bullets';
|
|
6
|
+
export * from './Button/Button';
|
|
7
|
+
export * from './CarouselIndicator/CarouselIndicator';
|
|
8
|
+
export * from './Checkbox/Checkbox';
|
|
9
|
+
export * from './Chip/Chip';
|
|
10
|
+
export * from './Chips/Chips';
|
|
11
|
+
export * from './Currency/Currency';
|
|
12
|
+
export * from './Dialog/Dialog';
|
|
13
|
+
export * from './DialogBody/DialogBody';
|
|
14
|
+
export * from './DialogFooter/DialogFooter';
|
|
15
|
+
export * from './DialogHeader/DialogHeader';
|
|
16
|
+
export * from './Divider/Divider';
|
|
17
|
+
export * from './Drawer/Drawer';
|
|
18
|
+
export * from './Hyperlink/Hyperlink';
|
|
19
|
+
export * from './Icon/Icon';
|
|
20
|
+
export * from './IconButton/IconButton';
|
|
21
|
+
export * from './Input/Input';
|
|
22
|
+
export * from './LinkButton/LinkButton';
|
|
23
|
+
export * from './Loader/Loader';
|
|
24
|
+
export * from './Logo/Logo';
|
|
25
|
+
export * from './MainTitle/MainTitle';
|
|
26
|
+
export * from './MapPin/MapPin';
|
|
27
|
+
export * from './Modal/Modal';
|
|
28
|
+
export * from './PasswordInput/PasswordInput';
|
|
29
|
+
export * from './PickerItem/PickerItem';
|
|
30
|
+
export * from './Radio/Radio';
|
|
31
|
+
export * from './RadioButton/RadioButton';
|
|
32
|
+
export * from './RadioButtonGroup/RadioButtonGroup';
|
|
33
|
+
export * from './Rating/Rating';
|
|
34
|
+
export * from './Search/Search';
|
|
35
|
+
export * from './SearchInput/SearchInput';
|
|
36
|
+
export * from './SecondaryNavigation/SecondaryNavigation';
|
|
37
|
+
export * from './SegmentedControl/SegmentedControl';
|
|
38
|
+
export * from './Select/Select';
|
|
39
|
+
export * from './Selection/Selection';
|
|
40
|
+
export * from './Slider/Slider';
|
|
41
|
+
export * from './Tabs/Tabs';
|
|
42
|
+
export * from './Tag/Tag';
|
|
43
|
+
export * from './Text/Text';
|
|
44
|
+
export * from './TextInput/TextInput';
|
|
45
|
+
export * from './Textarea/Textarea';
|
|
46
|
+
export * from './ThemeProvider/ThemeProvider';
|
|
47
|
+
export * from './ToggleButton/ToggleButton';
|
|
48
|
+
export * from './ToggleSwitch/ToggleSwitch';
|
|
49
|
+
export * from './Tooltip/Tooltip';
|
|
50
|
+
export * from './Toast/Toast';
|
|
51
|
+
export * from './ToastMessage/ToastMessage';
|
|
52
|
+
export * from './Avatar/Avatar';
|
|
53
|
+
export * from './StaticBox/StaticBox';
|
|
54
|
+
export * from './Stepper/Stepper';
|
|
55
|
+
export * from './InteractiveCard/InteractiveCard';
|
|
56
|
+
export * from './SidebarNavigation/SidebarNavigation';
|
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.7",
|
|
4
4
|
"description": "React components library",
|
|
5
5
|
"author": "SEAT S.A.",
|
|
6
6
|
"license": "SEAT S.A. Library EULA 1.0",
|
|
@@ -13,30 +13,14 @@
|
|
|
13
13
|
"types": "./dist/index.d.ts"
|
|
14
14
|
},
|
|
15
15
|
"./*": {
|
|
16
|
-
"import": "./dist/components
|
|
17
|
-
"types": "./dist/components
|
|
16
|
+
"import": "./dist/components/*/*.js",
|
|
17
|
+
"types": "./dist/components/*/*.d.ts"
|
|
18
18
|
},
|
|
19
19
|
"./hooks/*": {
|
|
20
20
|
"import": "./dist/hooks/*.js",
|
|
21
21
|
"types": "./dist/hooks/*.d.ts"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
"typesVersions": {
|
|
25
|
-
"*": {
|
|
26
|
-
"": [
|
|
27
|
-
"dist/index.d.ts"
|
|
28
|
-
],
|
|
29
|
-
"index": [
|
|
30
|
-
"dist/index.d.ts"
|
|
31
|
-
],
|
|
32
|
-
"*": [
|
|
33
|
-
"dist/components/*/index.d.ts"
|
|
34
|
-
],
|
|
35
|
-
"hooks/*": [
|
|
36
|
-
"dist/hooks/*.d.ts"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
24
|
"files": [
|
|
41
25
|
"LICENSE",
|
|
42
26
|
"THIRD_PARTY_LICENSES.MD",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Accordion';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Avatar';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Badge';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './BasicCard';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './BasicCardHeader';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './BasicCardImage';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './BasicCardSection';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Bullets';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Button';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './CarouselIndicator';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Checkbox';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Chip';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Chips';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Currency';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Dialog';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DialogBody';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DialogFooter';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DialogFullscreen';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DialogHeader';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Divider';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Drawer';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Hyperlink';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Icon';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './IconButton';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Input';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './InteractiveCard';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './LinkButton';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Loader';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Logo';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MainTitle';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MapPin';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Modal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PasswordInput';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PickerItem';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Radio';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './RadioButton';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './RadioButtonGroup';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Rating';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Search';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './SearchInput';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './SecondaryNavigation';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './SegmentedControl';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Select';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Selection';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './SidebarNavigation';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Slider';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './StaticBox';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Stepper';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Tabs';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Tag';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Text';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TextInput';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Textarea';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ThemeProvider';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Toast';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ToastMessage';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ToggleButton';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ToggleSwitch';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Tooltip';
|