@cupra/ui-kit 0.2.0-canary.0 → 1.0.0-canary.2
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 +91 -780
- package/THIRD-PARTY-LICENSES.MD +79 -0
- package/dist/components/ds-button/ds-button.types.d.ts +1 -3
- package/dist/components/ds-icon-button/ds-icon-button.types.d.ts +1 -3
- package/dist/components/ds-picker-item/ds-picker-item.types.d.ts +1 -4
- package/dist/components/ds-slider/ds-slider.types.d.ts +1 -3
- package/dist/components/ds-static-box/ds-static-box.types.d.ts +1 -1
- package/dist/components/ds-theme-provider/ds-theme-provider.types.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1392 -983
- package/dist-react/components/ds-button/ds-button.types.d.ts +1 -3
- package/dist-react/components/ds-icon-button/ds-icon-button.types.d.ts +1 -3
- package/dist-react/components/ds-picker-item/ds-picker-item.types.d.ts +1 -4
- package/dist-react/components/ds-slider/ds-slider.types.d.ts +1 -3
- package/dist-react/components/ds-static-box/ds-static-box.types.d.ts +1 -1
- package/dist-react/components/ds-theme-provider/ds-theme-provider.types.d.ts +1 -1
- package/dist-react/index.d.ts +1 -0
- package/dist-react/index.js +1082 -673
- package/package.json +9 -9
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
This file was generated with the generate-license-file npm package!
|
|
2
|
+
https://www.npmjs.com/package/generate-license-file
|
|
3
|
+
|
|
4
|
+
The following npm package may be included in this product:
|
|
5
|
+
|
|
6
|
+
- lit@3.3.1
|
|
7
|
+
|
|
8
|
+
This package contains the following license:
|
|
9
|
+
|
|
10
|
+
BSD 3-Clause License
|
|
11
|
+
|
|
12
|
+
Copyright (c) 2017 Google LLC. All rights reserved.
|
|
13
|
+
|
|
14
|
+
Redistribution and use in source and binary forms, with or without
|
|
15
|
+
modification, are permitted provided that the following conditions are met:
|
|
16
|
+
|
|
17
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
18
|
+
list of conditions and the following disclaimer.
|
|
19
|
+
|
|
20
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
21
|
+
this list of conditions and the following disclaimer in the documentation
|
|
22
|
+
and/or other materials provided with the distribution.
|
|
23
|
+
|
|
24
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
25
|
+
contributors may be used to endorse or promote products derived from
|
|
26
|
+
this software without specific prior written permission.
|
|
27
|
+
|
|
28
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
29
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
30
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
31
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
32
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
33
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
34
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
35
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
36
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
37
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
38
|
+
|
|
39
|
+
-----------
|
|
40
|
+
|
|
41
|
+
The following npm package may be included in this product:
|
|
42
|
+
|
|
43
|
+
- @lit/context@1.1.6
|
|
44
|
+
|
|
45
|
+
This package contains the following license:
|
|
46
|
+
|
|
47
|
+
BSD 3-Clause License
|
|
48
|
+
|
|
49
|
+
Copyright (c) 2021 Google LLC. All rights reserved.
|
|
50
|
+
|
|
51
|
+
Redistribution and use in source and binary forms, with or without
|
|
52
|
+
modification, are permitted provided that the following conditions are met:
|
|
53
|
+
|
|
54
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
55
|
+
list of conditions and the following disclaimer.
|
|
56
|
+
|
|
57
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
58
|
+
this list of conditions and the following disclaimer in the documentation
|
|
59
|
+
and/or other materials provided with the distribution.
|
|
60
|
+
|
|
61
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
62
|
+
contributors may be used to endorse or promote products derived from
|
|
63
|
+
this software without specific prior written permission.
|
|
64
|
+
|
|
65
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
66
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
67
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
68
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
69
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
70
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
71
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
72
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
73
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
74
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
75
|
+
|
|
76
|
+
-----------
|
|
77
|
+
|
|
78
|
+
This file was generated with the generate-license-file npm package!
|
|
79
|
+
https://www.npmjs.com/package/generate-license-file
|
|
@@ -19,15 +19,13 @@ type CustomElement = {
|
|
|
19
19
|
target?: never;
|
|
20
20
|
};
|
|
21
21
|
type HtmlElement = Link | Button | CustomElement;
|
|
22
|
-
type SizeType = 'small' | 'medium' | 'large';
|
|
23
|
-
type ResponsiveSize = SizeType | Record<string, SizeType>;
|
|
24
22
|
export type DsButtonAttrs = {
|
|
25
23
|
variant?: string;
|
|
26
24
|
mode?: 'dark' | 'light';
|
|
27
25
|
disabled?: boolean;
|
|
28
26
|
destructive?: boolean;
|
|
29
27
|
'icon-name'?: DsIconAttrs['icon-name'];
|
|
30
|
-
size?:
|
|
28
|
+
size?: 'small' | 'medium' | 'large' | string;
|
|
31
29
|
type?: 'button' | 'submit' | 'reset';
|
|
32
30
|
'icon-position'?: 'left' | 'right';
|
|
33
31
|
'icon-size'?: number;
|
|
@@ -18,13 +18,11 @@ type CustomElement = {
|
|
|
18
18
|
rel?: never;
|
|
19
19
|
target?: never;
|
|
20
20
|
};
|
|
21
|
-
type SizeType = 'large' | 'medium' | 'small' | 'xlarge';
|
|
22
|
-
type ResponsiveSize = SizeType | Record<string, SizeType>;
|
|
23
21
|
type HtmlElement = Link | Button | CustomElement;
|
|
24
22
|
export type DsIconButtonAttrs = {
|
|
25
23
|
variant?: string;
|
|
26
24
|
mode?: 'dark' | 'light';
|
|
27
|
-
size?:
|
|
25
|
+
size?: 'large' | 'medium' | 'small' | 'xlarge' | string;
|
|
28
26
|
disabled?: boolean;
|
|
29
27
|
'data-aria-label'?: string;
|
|
30
28
|
'icon-name'?: DsIconAttrs['icon-name'];
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type { CommonAttrs } from '../../types/types.ts';
|
|
2
|
-
type SizeType = 'small' | 'medium';
|
|
3
|
-
type ResponsiveSize = SizeType | Record<string, SizeType>;
|
|
4
2
|
export type DsPickerItemAttrs = {
|
|
5
3
|
variant?: 'with-border' | 'without-border';
|
|
6
|
-
size?:
|
|
4
|
+
size?: 'small' | 'medium' | string;
|
|
7
5
|
loading?: boolean;
|
|
8
6
|
selected?: boolean;
|
|
9
7
|
} & CommonAttrs;
|
|
10
|
-
export {};
|
|
@@ -25,8 +25,6 @@ type SliderCustomUnit = Omit<NoUnit, 'style'> & {
|
|
|
25
25
|
'unit-symbol': string;
|
|
26
26
|
};
|
|
27
27
|
type SliderUnitStyle = SliderCurrency | SliderDecimal | SliderPercent | SliderUnit | SliderNoUnit | SliderCustomUnit;
|
|
28
|
-
type SliderSize = 'medium' | 'large';
|
|
29
|
-
export type ResponsiveSliderSize = SliderSize | Record<string, SliderSize>;
|
|
30
28
|
export type DsSliderAttrs = CommonAttrs & {
|
|
31
29
|
min?: number;
|
|
32
30
|
max?: number;
|
|
@@ -36,7 +34,7 @@ export type DsSliderAttrs = CommonAttrs & {
|
|
|
36
34
|
'initial-value-min'?: number;
|
|
37
35
|
'initial-value-max'?: number;
|
|
38
36
|
mode?: 'dark' | 'light';
|
|
39
|
-
size?:
|
|
37
|
+
size?: 'medium' | 'large' | string;
|
|
40
38
|
disabled?: boolean;
|
|
41
39
|
'unit-symbol-position'?: 'left' | 'right';
|
|
42
40
|
locale?: Locale;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Theme } from '../ds-theme-provider/themeContext.ts';
|
|
2
2
|
import type { CommonAttrs } from '../../types/types';
|
|
3
3
|
export interface DsThemeProviderAttrs extends CommonAttrs {
|
|
4
|
-
theme
|
|
4
|
+
theme: Theme;
|
|
5
5
|
'load-fonts': boolean;
|
|
6
6
|
'load-styles': boolean;
|
|
7
7
|
}
|
package/dist/index.d.ts
CHANGED