@rededor/cura 0.2.0 → 0.3.0
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/app-globals-5f5b9fbf.js +398 -0
- package/dist/cjs/cura-display_3.cjs.entry.js +187 -0
- package/dist/cjs/cura-icon.cjs.entry.js +59 -0
- package/dist/cjs/{cura-icon_2.cjs.entry.js → cura-icons-view.cjs.entry.js} +2 -56
- package/dist/cjs/cura.cjs.js +3 -3
- package/dist/cjs/{index-9092c64d.js → index-8686299e.js} +29 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/api/cura-api.js +10 -1
- package/dist/collection/api/modules/cura-theme-colors-module.js +69 -0
- package/dist/collection/api/modules/cura-theme-fonts-module.js +35 -0
- package/dist/collection/api/modules/cura-theme-module.js +4 -0
- package/dist/collection/api/theme-presets/static.js +103 -0
- package/dist/collection/api/theme-presets/theme-default.js +28 -22
- package/dist/collection/api/theme-presets/theme-maternity.js +10 -12
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/cura-icon/cura-icon.css +1 -42
- package/dist/collection/components/cura-icon/cura-icon.js +15 -12
- package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -1
- package/dist/collection/components/text/cura-display/cura-display.css +61 -0
- package/dist/collection/components/text/cura-display/cura-display.js +110 -0
- package/dist/collection/components/text/cura-heading/cura-heading.css +69 -0
- package/dist/collection/components/text/cura-heading/cura-heading.js +136 -0
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +81 -0
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +76 -0
- package/dist/components/{dummy-component.d.ts → cura-display.d.ts} +4 -4
- package/dist/components/cura-display.js +86 -0
- package/dist/components/cura-heading.d.ts +11 -0
- package/dist/components/cura-heading.js +95 -0
- package/dist/components/cura-icon2.js +12 -13
- package/dist/components/cura-icons-view.js +1 -1
- package/dist/components/cura-paragraph.d.ts +11 -0
- package/dist/components/cura-paragraph.js +69 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +261 -36
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/cura.js +1 -1
- package/dist/cura/p-22290742.entry.js +1 -0
- package/dist/cura/p-265c1706.js +1 -0
- package/dist/cura/p-3d8bbf37.system.js +1 -0
- package/dist/cura/p-5ae0d10c.system.entry.js +1 -0
- package/dist/cura/p-80dc1c9f.entry.js +1 -0
- package/dist/cura/p-9312a846.system.entry.js +1 -0
- package/dist/cura/p-a50716bc.js +2 -0
- package/dist/cura/p-a8dcaaed.system.js +1 -0
- package/dist/cura/p-d29b9e16.entry.js +1 -0
- package/dist/cura/p-e447016d.system.js +2 -0
- package/dist/cura/p-e8fadcfa.system.entry.js +1 -0
- package/dist/esm/app-globals-d7dd3a4d.js +396 -0
- package/dist/esm/cura-display_3.entry.js +181 -0
- package/dist/esm/cura-icon.entry.js +55 -0
- package/dist/esm/{cura-icon_2.entry.js → cura-icons-view.entry.js} +3 -56
- package/dist/esm/cura.js +3 -3
- package/dist/esm/{index-cec9b650.js → index-c3d31886.js} +29 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm-es5/app-globals-d7dd3a4d.js +1 -0
- package/dist/esm-es5/cura-display_3.entry.js +1 -0
- package/dist/esm-es5/cura-icon.entry.js +1 -0
- package/dist/esm-es5/cura-icons-view.entry.js +1 -0
- package/dist/esm-es5/cura.js +1 -1
- package/dist/esm-es5/index-c3d31886.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/types/api/cura-api.type.d.ts +9 -0
- package/dist/types/api/modules/cura-theme-colors-module.d.ts +48 -0
- package/dist/types/api/modules/cura-theme-fonts-module.d.ts +24 -0
- package/dist/types/api/modules/cura-theme-module.d.ts +4 -0
- package/dist/types/api/theme-presets/static.d.ts +78 -0
- package/dist/types/api/theme-presets/theme-default.d.ts +28 -22
- package/dist/types/api/theme-presets/theme-maternity.d.ts +23 -19
- package/dist/types/api/theme-presets/theme-presets.d.ts +51 -41
- package/dist/types/components/cura-icon/cura-icon.d.ts +1 -1
- package/dist/types/components/text/cura-display/cura-display.d.ts +28 -0
- package/dist/types/components/text/cura-heading/cura-heading.d.ts +33 -0
- package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +22 -0
- package/dist/types/components.d.ts +83 -9
- package/package.json +2 -2
- package/dist/cjs/app-globals-af978331.js +0 -175
- package/dist/cjs/dummy-component.cjs.entry.js +0 -19
- package/dist/collection/components/dummy-component/dummy-component.css +0 -3
- package/dist/collection/components/dummy-component/dummy-component.js +0 -18
- package/dist/components/dummy-component.js +0 -33
- package/dist/cura/p-3132f4b7.system.js +0 -2
- package/dist/cura/p-70abb532.system.js +0 -1
- package/dist/cura/p-81ae13d7.entry.js +0 -1
- package/dist/cura/p-a0cd4b75.system.js +0 -1
- package/dist/cura/p-abcda1d1.js +0 -2
- package/dist/cura/p-ac79f9d1.entry.js +0 -1
- package/dist/cura/p-b4c69836.system.entry.js +0 -1
- package/dist/cura/p-d2dcd470.js +0 -1
- package/dist/cura/p-e1e4b2ea.system.entry.js +0 -1
- package/dist/esm/app-globals-962e5cc3.js +0 -173
- package/dist/esm/dummy-component.entry.js +0 -15
- package/dist/esm-es5/app-globals-962e5cc3.js +0 -1
- package/dist/esm-es5/cura-icon_2.entry.js +0 -1
- package/dist/esm-es5/dummy-component.entry.js +0 -1
- package/dist/esm-es5/index-cec9b650.js +0 -2
- package/dist/types/components/dummy-component/dummy-component.d.ts +0 -3
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Static
|
|
3
|
+
*/
|
|
4
|
+
export declare const Static: {
|
|
5
|
+
color: {
|
|
6
|
+
success: {
|
|
7
|
+
lighter: string;
|
|
8
|
+
light: string;
|
|
9
|
+
base: string;
|
|
10
|
+
dark: string;
|
|
11
|
+
darker: string;
|
|
12
|
+
depth100: string;
|
|
13
|
+
depth300: string;
|
|
14
|
+
depth500: string;
|
|
15
|
+
depth700: string;
|
|
16
|
+
depth900: string;
|
|
17
|
+
};
|
|
18
|
+
info: {
|
|
19
|
+
lighter: string;
|
|
20
|
+
light: string;
|
|
21
|
+
base: string;
|
|
22
|
+
dark: string;
|
|
23
|
+
darker: string;
|
|
24
|
+
depth100: string;
|
|
25
|
+
depth300: string;
|
|
26
|
+
depth500: string;
|
|
27
|
+
depth700: string;
|
|
28
|
+
depth900: string;
|
|
29
|
+
};
|
|
30
|
+
error: {
|
|
31
|
+
lighter: string;
|
|
32
|
+
light: string;
|
|
33
|
+
base: string;
|
|
34
|
+
dark: string;
|
|
35
|
+
darker: string;
|
|
36
|
+
depth100: string;
|
|
37
|
+
depth300: string;
|
|
38
|
+
depth500: string;
|
|
39
|
+
depth700: string;
|
|
40
|
+
depth900: string;
|
|
41
|
+
};
|
|
42
|
+
warning: {
|
|
43
|
+
lighter: string;
|
|
44
|
+
light: string;
|
|
45
|
+
base: string;
|
|
46
|
+
dark: string;
|
|
47
|
+
darker: string;
|
|
48
|
+
depth100: string;
|
|
49
|
+
depth300: string;
|
|
50
|
+
depth500: string;
|
|
51
|
+
depth700: string;
|
|
52
|
+
depth900: string;
|
|
53
|
+
};
|
|
54
|
+
neutral: {
|
|
55
|
+
'0': string;
|
|
56
|
+
'100': string;
|
|
57
|
+
'200': string;
|
|
58
|
+
'300': string;
|
|
59
|
+
'400': string;
|
|
60
|
+
'500': string;
|
|
61
|
+
'600': string;
|
|
62
|
+
'700': string;
|
|
63
|
+
'800': string;
|
|
64
|
+
'900': string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
icons: {
|
|
68
|
+
sizes: string[];
|
|
69
|
+
strokes: string[];
|
|
70
|
+
'default-size': string;
|
|
71
|
+
};
|
|
72
|
+
breakpoints: {
|
|
73
|
+
small: string;
|
|
74
|
+
medium: string;
|
|
75
|
+
large: string;
|
|
76
|
+
xlarge: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -4,37 +4,43 @@
|
|
|
4
4
|
export declare const ThemeDefault: {
|
|
5
5
|
color: {
|
|
6
6
|
primary: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
'100': string;
|
|
8
|
+
'300': string;
|
|
9
|
+
'500': string;
|
|
10
|
+
'700': string;
|
|
11
|
+
'900': string;
|
|
12
12
|
};
|
|
13
13
|
secondary: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
'100': string;
|
|
15
|
+
'300': string;
|
|
16
|
+
'500': string;
|
|
17
|
+
'700': string;
|
|
18
|
+
'900': string;
|
|
19
19
|
};
|
|
20
20
|
accent: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
'100': string;
|
|
22
|
+
'300': string;
|
|
23
|
+
'500': string;
|
|
24
|
+
'700': string;
|
|
25
|
+
'900': string;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
spacing: {
|
|
29
|
-
base:
|
|
29
|
+
base: number;
|
|
30
30
|
};
|
|
31
31
|
font: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
size: string;
|
|
33
|
+
color: string;
|
|
34
|
+
body: string;
|
|
35
|
+
heading: string;
|
|
36
|
+
display: string;
|
|
37
|
+
weights: {
|
|
38
|
+
thin: number;
|
|
39
|
+
light: number;
|
|
40
|
+
regular: number;
|
|
41
|
+
medium: number;
|
|
42
|
+
bold: number;
|
|
43
|
+
black: number;
|
|
38
44
|
};
|
|
39
45
|
};
|
|
40
46
|
};
|
|
@@ -1,32 +1,36 @@
|
|
|
1
1
|
export declare const ThemeMaternity: {
|
|
2
2
|
color: {
|
|
3
3
|
primary: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
depth900: string;
|
|
4
|
+
'100': string;
|
|
5
|
+
'300': string;
|
|
6
|
+
'500': string;
|
|
7
|
+
'700': string;
|
|
8
|
+
'900': string;
|
|
10
9
|
};
|
|
11
10
|
secondary: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
depth900: string;
|
|
11
|
+
'100': string;
|
|
12
|
+
'300': string;
|
|
13
|
+
'500': string;
|
|
14
|
+
'700': string;
|
|
15
|
+
'900': string;
|
|
18
16
|
};
|
|
19
17
|
};
|
|
20
18
|
spacing: {
|
|
21
|
-
base:
|
|
19
|
+
base: number;
|
|
22
20
|
};
|
|
23
21
|
font: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
size: string;
|
|
23
|
+
color: string;
|
|
24
|
+
body: string;
|
|
25
|
+
heading: string;
|
|
26
|
+
display: string;
|
|
27
|
+
weights: {
|
|
28
|
+
thin: number;
|
|
29
|
+
light: number;
|
|
30
|
+
regular: number;
|
|
31
|
+
medium: number;
|
|
32
|
+
bold: number;
|
|
33
|
+
black: number;
|
|
30
34
|
};
|
|
31
35
|
};
|
|
32
36
|
};
|
|
@@ -2,69 +2,79 @@ export declare const ThemePresets: {
|
|
|
2
2
|
default: {
|
|
3
3
|
color: {
|
|
4
4
|
primary: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
'100': string;
|
|
6
|
+
'300': string;
|
|
7
|
+
'500': string;
|
|
8
|
+
'700': string;
|
|
9
|
+
'900': string;
|
|
10
10
|
};
|
|
11
11
|
secondary: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
'100': string;
|
|
13
|
+
'300': string;
|
|
14
|
+
'500': string;
|
|
15
|
+
'700': string;
|
|
16
|
+
'900': string;
|
|
17
17
|
};
|
|
18
18
|
accent: {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
'100': string;
|
|
20
|
+
'300': string;
|
|
21
|
+
'500': string;
|
|
22
|
+
'700': string;
|
|
23
|
+
'900': string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
spacing: {
|
|
27
|
-
base:
|
|
27
|
+
base: number;
|
|
28
28
|
};
|
|
29
29
|
font: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
size: string;
|
|
31
|
+
color: string;
|
|
32
|
+
body: string;
|
|
33
|
+
heading: string;
|
|
34
|
+
display: string;
|
|
35
|
+
weights: {
|
|
36
|
+
thin: number;
|
|
37
|
+
light: number;
|
|
38
|
+
regular: number;
|
|
39
|
+
medium: number;
|
|
40
|
+
bold: number;
|
|
41
|
+
black: number;
|
|
36
42
|
};
|
|
37
43
|
};
|
|
38
44
|
};
|
|
39
45
|
maternidade: {
|
|
40
46
|
color: {
|
|
41
47
|
primary: {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
depth900: string;
|
|
48
|
+
'100': string;
|
|
49
|
+
'300': string;
|
|
50
|
+
'500': string;
|
|
51
|
+
'700': string;
|
|
52
|
+
'900': string;
|
|
48
53
|
};
|
|
49
54
|
secondary: {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
depth900: string;
|
|
55
|
+
'100': string;
|
|
56
|
+
'300': string;
|
|
57
|
+
'500': string;
|
|
58
|
+
'700': string;
|
|
59
|
+
'900': string;
|
|
56
60
|
};
|
|
57
61
|
};
|
|
58
62
|
spacing: {
|
|
59
|
-
base:
|
|
63
|
+
base: number;
|
|
60
64
|
};
|
|
61
65
|
font: {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
size: string;
|
|
67
|
+
color: string;
|
|
68
|
+
body: string;
|
|
69
|
+
heading: string;
|
|
70
|
+
display: string;
|
|
71
|
+
weights: {
|
|
72
|
+
thin: number;
|
|
73
|
+
light: number;
|
|
74
|
+
regular: number;
|
|
75
|
+
medium: number;
|
|
76
|
+
bold: number;
|
|
77
|
+
black: number;
|
|
68
78
|
};
|
|
69
79
|
};
|
|
70
80
|
};
|
|
@@ -48,9 +48,9 @@ export declare class CuraIcon {
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
sizeHandler(size: string | number): void;
|
|
51
|
+
colorHandler(): void;
|
|
51
52
|
assetsPath: string;
|
|
52
53
|
connectedCallback(): void;
|
|
53
|
-
getClasses(): {};
|
|
54
54
|
setHostProperty(prop: string, value: string): void;
|
|
55
55
|
render(): any;
|
|
56
56
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare class CuraDisplay {
|
|
2
|
+
/**
|
|
3
|
+
* Heading level for semantics.
|
|
4
|
+
* Values: 1(default)-6.
|
|
5
|
+
*/
|
|
6
|
+
level: number;
|
|
7
|
+
/**
|
|
8
|
+
* Heading style size.
|
|
9
|
+
* Values: small | regular(default) | large.
|
|
10
|
+
*/
|
|
11
|
+
size: string;
|
|
12
|
+
/**
|
|
13
|
+
* Host element <cura-heading>
|
|
14
|
+
*/
|
|
15
|
+
host: HTMLElement;
|
|
16
|
+
/**
|
|
17
|
+
* Internal Props
|
|
18
|
+
*/
|
|
19
|
+
weights: any;
|
|
20
|
+
styles: any;
|
|
21
|
+
connectedCallback(): void;
|
|
22
|
+
getClasses(): {};
|
|
23
|
+
setFontProperties(): void;
|
|
24
|
+
setColors(): void;
|
|
25
|
+
setHostProperty(prop: string, value: string): void;
|
|
26
|
+
getHeadingTag(): any;
|
|
27
|
+
render(): any;
|
|
28
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare class CuraHeading {
|
|
2
|
+
/**
|
|
3
|
+
* Heading level for semantics.
|
|
4
|
+
* Values: 1(default)-6.
|
|
5
|
+
*/
|
|
6
|
+
level: number;
|
|
7
|
+
/**
|
|
8
|
+
* Heading style size.
|
|
9
|
+
* Values: small | regular(default) | large.
|
|
10
|
+
*/
|
|
11
|
+
size: string;
|
|
12
|
+
/**
|
|
13
|
+
* Heading font weight.
|
|
14
|
+
* Values: regular(default) | bold.
|
|
15
|
+
*/
|
|
16
|
+
weight: string;
|
|
17
|
+
/**
|
|
18
|
+
* Host element <cura-heading>
|
|
19
|
+
*/
|
|
20
|
+
host: HTMLElement;
|
|
21
|
+
/**
|
|
22
|
+
* Internal Props
|
|
23
|
+
*/
|
|
24
|
+
weights: any;
|
|
25
|
+
styles: any;
|
|
26
|
+
connectedCallback(): void;
|
|
27
|
+
getClasses(): {};
|
|
28
|
+
setFontProperties(): void;
|
|
29
|
+
setColors(): void;
|
|
30
|
+
setHostProperty(prop: string, value: string): void;
|
|
31
|
+
getHeadingTag(): any;
|
|
32
|
+
render(): any;
|
|
33
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class CuraParagraph {
|
|
2
|
+
/**
|
|
3
|
+
* Set size of body text.
|
|
4
|
+
* Values: regular (default) | large | small | caption.
|
|
5
|
+
*/
|
|
6
|
+
size: string;
|
|
7
|
+
/**
|
|
8
|
+
* Host element <cura-paragraph>
|
|
9
|
+
*/
|
|
10
|
+
host: HTMLElement;
|
|
11
|
+
/**
|
|
12
|
+
* Internal Props
|
|
13
|
+
*/
|
|
14
|
+
weights: any;
|
|
15
|
+
styles: any;
|
|
16
|
+
connectedCallback(): void;
|
|
17
|
+
setsizeClass(): {};
|
|
18
|
+
setFontProperties(): void;
|
|
19
|
+
setColors(): void;
|
|
20
|
+
setHostProperty(prop: string, value: string): void;
|
|
21
|
+
render(): any;
|
|
22
|
+
}
|
|
@@ -6,6 +6,30 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
export namespace Components {
|
|
9
|
+
interface CuraDisplay {
|
|
10
|
+
/**
|
|
11
|
+
* Heading level for semantics. Values: 1(default)-6.
|
|
12
|
+
*/
|
|
13
|
+
"level": number;
|
|
14
|
+
/**
|
|
15
|
+
* Heading style size. Values: small | regular(default) | large.
|
|
16
|
+
*/
|
|
17
|
+
"size": string;
|
|
18
|
+
}
|
|
19
|
+
interface CuraHeading {
|
|
20
|
+
/**
|
|
21
|
+
* Heading level for semantics. Values: 1(default)-6.
|
|
22
|
+
*/
|
|
23
|
+
"level": number;
|
|
24
|
+
/**
|
|
25
|
+
* Heading style size. Values: small | regular(default) | large.
|
|
26
|
+
*/
|
|
27
|
+
"size": string;
|
|
28
|
+
/**
|
|
29
|
+
* Heading font weight. Values: regular(default) | bold.
|
|
30
|
+
*/
|
|
31
|
+
"weight": string;
|
|
32
|
+
}
|
|
9
33
|
interface CuraIcon {
|
|
10
34
|
"color": string;
|
|
11
35
|
"disabled": boolean;
|
|
@@ -15,10 +39,26 @@ export namespace Components {
|
|
|
15
39
|
}
|
|
16
40
|
interface CuraIconsView {
|
|
17
41
|
}
|
|
18
|
-
interface
|
|
42
|
+
interface CuraParagraph {
|
|
43
|
+
/**
|
|
44
|
+
* Set size of body text. Values: regular (default) | large | small | caption.
|
|
45
|
+
*/
|
|
46
|
+
"size": string;
|
|
19
47
|
}
|
|
20
48
|
}
|
|
21
49
|
declare global {
|
|
50
|
+
interface HTMLCuraDisplayElement extends Components.CuraDisplay, HTMLStencilElement {
|
|
51
|
+
}
|
|
52
|
+
var HTMLCuraDisplayElement: {
|
|
53
|
+
prototype: HTMLCuraDisplayElement;
|
|
54
|
+
new (): HTMLCuraDisplayElement;
|
|
55
|
+
};
|
|
56
|
+
interface HTMLCuraHeadingElement extends Components.CuraHeading, HTMLStencilElement {
|
|
57
|
+
}
|
|
58
|
+
var HTMLCuraHeadingElement: {
|
|
59
|
+
prototype: HTMLCuraHeadingElement;
|
|
60
|
+
new (): HTMLCuraHeadingElement;
|
|
61
|
+
};
|
|
22
62
|
interface HTMLCuraIconElement extends Components.CuraIcon, HTMLStencilElement {
|
|
23
63
|
}
|
|
24
64
|
var HTMLCuraIconElement: {
|
|
@@ -31,19 +71,45 @@ declare global {
|
|
|
31
71
|
prototype: HTMLCuraIconsViewElement;
|
|
32
72
|
new (): HTMLCuraIconsViewElement;
|
|
33
73
|
};
|
|
34
|
-
interface
|
|
74
|
+
interface HTMLCuraParagraphElement extends Components.CuraParagraph, HTMLStencilElement {
|
|
35
75
|
}
|
|
36
|
-
var
|
|
37
|
-
prototype:
|
|
38
|
-
new ():
|
|
76
|
+
var HTMLCuraParagraphElement: {
|
|
77
|
+
prototype: HTMLCuraParagraphElement;
|
|
78
|
+
new (): HTMLCuraParagraphElement;
|
|
39
79
|
};
|
|
40
80
|
interface HTMLElementTagNameMap {
|
|
81
|
+
"cura-display": HTMLCuraDisplayElement;
|
|
82
|
+
"cura-heading": HTMLCuraHeadingElement;
|
|
41
83
|
"cura-icon": HTMLCuraIconElement;
|
|
42
84
|
"cura-icons-view": HTMLCuraIconsViewElement;
|
|
43
|
-
"
|
|
85
|
+
"cura-paragraph": HTMLCuraParagraphElement;
|
|
44
86
|
}
|
|
45
87
|
}
|
|
46
88
|
declare namespace LocalJSX {
|
|
89
|
+
interface CuraDisplay {
|
|
90
|
+
/**
|
|
91
|
+
* Heading level for semantics. Values: 1(default)-6.
|
|
92
|
+
*/
|
|
93
|
+
"level"?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Heading style size. Values: small | regular(default) | large.
|
|
96
|
+
*/
|
|
97
|
+
"size"?: string;
|
|
98
|
+
}
|
|
99
|
+
interface CuraHeading {
|
|
100
|
+
/**
|
|
101
|
+
* Heading level for semantics. Values: 1(default)-6.
|
|
102
|
+
*/
|
|
103
|
+
"level"?: number;
|
|
104
|
+
/**
|
|
105
|
+
* Heading style size. Values: small | regular(default) | large.
|
|
106
|
+
*/
|
|
107
|
+
"size"?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Heading font weight. Values: regular(default) | bold.
|
|
110
|
+
*/
|
|
111
|
+
"weight"?: string;
|
|
112
|
+
}
|
|
47
113
|
interface CuraIcon {
|
|
48
114
|
"color"?: string;
|
|
49
115
|
"disabled"?: boolean;
|
|
@@ -53,21 +119,29 @@ declare namespace LocalJSX {
|
|
|
53
119
|
}
|
|
54
120
|
interface CuraIconsView {
|
|
55
121
|
}
|
|
56
|
-
interface
|
|
122
|
+
interface CuraParagraph {
|
|
123
|
+
/**
|
|
124
|
+
* Set size of body text. Values: regular (default) | large | small | caption.
|
|
125
|
+
*/
|
|
126
|
+
"size"?: string;
|
|
57
127
|
}
|
|
58
128
|
interface IntrinsicElements {
|
|
129
|
+
"cura-display": CuraDisplay;
|
|
130
|
+
"cura-heading": CuraHeading;
|
|
59
131
|
"cura-icon": CuraIcon;
|
|
60
132
|
"cura-icons-view": CuraIconsView;
|
|
61
|
-
"
|
|
133
|
+
"cura-paragraph": CuraParagraph;
|
|
62
134
|
}
|
|
63
135
|
}
|
|
64
136
|
export { LocalJSX as JSX };
|
|
65
137
|
declare module "@stencil/core" {
|
|
66
138
|
export namespace JSX {
|
|
67
139
|
interface IntrinsicElements {
|
|
140
|
+
"cura-display": LocalJSX.CuraDisplay & JSXBase.HTMLAttributes<HTMLCuraDisplayElement>;
|
|
141
|
+
"cura-heading": LocalJSX.CuraHeading & JSXBase.HTMLAttributes<HTMLCuraHeadingElement>;
|
|
68
142
|
"cura-icon": LocalJSX.CuraIcon & JSXBase.HTMLAttributes<HTMLCuraIconElement>;
|
|
69
143
|
"cura-icons-view": LocalJSX.CuraIconsView & JSXBase.HTMLAttributes<HTMLCuraIconsViewElement>;
|
|
70
|
-
"
|
|
144
|
+
"cura-paragraph": LocalJSX.CuraParagraph & JSXBase.HTMLAttributes<HTMLCuraParagraphElement>;
|
|
71
145
|
}
|
|
72
146
|
}
|
|
73
147
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rededor/cura",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Cura Design System",
|
|
5
5
|
"author": "Rede D`Or São Luiz",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"puppeteer": "^10.0.0",
|
|
39
39
|
"svgo": "^3.0.1"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "a1a5e872c5a1580bfa9e834260f9a71c58eb0a1e"
|
|
42
42
|
}
|