@openelement/ui 1.0.0-alpha.1 → 1.0.0-alpha.10
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/CUSTOMIZATION.md +272 -0
- package/README.md +59 -54
- package/package.json +19 -13
- package/src/component-recipes.js +80 -83
- package/src/generated-manifest.json +19 -9
- package/src/index.d.ts +14 -42
- package/src/index.js +14 -46
- package/src/instance-state.d.ts +16 -0
- package/src/instance-state.js +30 -24
- package/src/manifest.d.ts +5 -9
- package/src/manifest.js +6 -11
- package/src/open-badge.d.ts +113 -159
- package/src/open-badge.js +208 -262
- package/src/open-button.d.ts +296 -898
- package/src/open-button.js +1163 -1355
- package/src/open-callout.d.ts +225 -366
- package/src/open-callout.js +483 -584
- package/src/open-card.d.ts +114 -144
- package/src/open-card.js +208 -274
- package/src/open-code-block.d.ts +158 -168
- package/src/open-code-block.js +242 -445
- package/src/open-dialog.d.ts +241 -424
- package/src/open-dialog.js +705 -850
- package/src/open-dropdown.d.ts +195 -252
- package/src/open-dropdown.js +353 -473
- package/src/open-input.d.ts +404 -1420
- package/src/open-input.js +1809 -2116
- package/src/open-tabs.d.ts +163 -191
- package/src/open-tabs.js +302 -372
- package/src/open-theme-toggle.d.ts +171 -287
- package/src/open-theme-toggle.js +524 -765
- package/src/register.d.ts +4 -1
- package/src/register.js +27 -58
- package/src/theme.css +205 -0
- package/THIRD_PARTY_NOTICES.md +0 -45
- package/src/open-props-tokens.d.ts +0 -9
- package/src/open-props-tokens.js +0 -459
- package/src/semantic-tokens.css +0 -413
package/src/open-badge.d.ts
CHANGED
|
@@ -1,174 +1,127 @@
|
|
|
1
|
-
import { OpenElement,
|
|
1
|
+
import { OpenElement, StyleSheetLike } from "@openelement/element";
|
|
2
|
+
//#region src/open-badge.d.ts
|
|
2
3
|
declare const __partProgram: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
version: number;
|
|
5
|
+
tag: string;
|
|
6
|
+
root: {
|
|
7
|
+
id: string;
|
|
8
|
+
kind: string;
|
|
9
|
+
nodes: string[];
|
|
9
10
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
readonly "type": string;
|
|
52
|
-
readonly "converter": string;
|
|
53
|
-
readonly "reflect": boolean;
|
|
54
|
-
readonly "default": string;
|
|
55
|
-
}];
|
|
56
|
-
readonly "observedAttributes": readonly [string, string];
|
|
57
|
-
readonly "cem": {
|
|
58
|
-
readonly "tagName": string;
|
|
59
|
-
readonly "className": string;
|
|
60
|
-
readonly "declaration": {
|
|
61
|
-
readonly "name": string;
|
|
62
|
-
readonly "module": string;
|
|
11
|
+
template: {
|
|
12
|
+
k: string;
|
|
13
|
+
id: string;
|
|
14
|
+
tag: string;
|
|
15
|
+
attrs: string[][];
|
|
16
|
+
children: {
|
|
17
|
+
k: string;
|
|
18
|
+
id: string;
|
|
19
|
+
tag: string;
|
|
20
|
+
attrs: never[];
|
|
21
|
+
children: never[];
|
|
22
|
+
}[];
|
|
23
|
+
}[];
|
|
24
|
+
parts: never[];
|
|
25
|
+
regions: never[];
|
|
26
|
+
dependencies: never[];
|
|
27
|
+
locations: {
|
|
28
|
+
id: string;
|
|
29
|
+
kind: string;
|
|
30
|
+
tag: string;
|
|
31
|
+
path: number[];
|
|
32
|
+
}[];
|
|
33
|
+
metadata: {
|
|
34
|
+
tag: string;
|
|
35
|
+
className: string;
|
|
36
|
+
sourceFile: string;
|
|
37
|
+
properties: {
|
|
38
|
+
name: string;
|
|
39
|
+
attribute: string;
|
|
40
|
+
type: string;
|
|
41
|
+
converter: string;
|
|
42
|
+
reflect: boolean;
|
|
43
|
+
default: string;
|
|
44
|
+
}[];
|
|
45
|
+
observedAttributes: string[];
|
|
46
|
+
cem: {
|
|
47
|
+
tagName: string;
|
|
48
|
+
className: string;
|
|
49
|
+
declaration: {
|
|
50
|
+
name: string;
|
|
51
|
+
module: string;
|
|
63
52
|
};
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
readonly "fieldName": string;
|
|
78
|
-
readonly "type": string;
|
|
79
|
-
readonly "attribute": string;
|
|
80
|
-
readonly "reflect": boolean;
|
|
81
|
-
}, {
|
|
82
|
-
readonly "name": string;
|
|
83
|
-
readonly "fieldName": string;
|
|
84
|
-
readonly "type": string;
|
|
85
|
-
readonly "attribute": string;
|
|
86
|
-
readonly "reflect": boolean;
|
|
87
|
-
}];
|
|
53
|
+
attributes: {
|
|
54
|
+
name: string;
|
|
55
|
+
fieldName: string;
|
|
56
|
+
type: string;
|
|
57
|
+
reflect: boolean;
|
|
58
|
+
}[];
|
|
59
|
+
members: {
|
|
60
|
+
name: string;
|
|
61
|
+
fieldName: string;
|
|
62
|
+
type: string;
|
|
63
|
+
attribute: string;
|
|
64
|
+
reflect: boolean;
|
|
65
|
+
}[];
|
|
88
66
|
};
|
|
89
67
|
};
|
|
90
68
|
};
|
|
91
|
-
declare const __compiledProperties:
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
readonly "name": string;
|
|
100
|
-
readonly "attribute": string;
|
|
101
|
-
readonly "type": string;
|
|
102
|
-
readonly "converter": string;
|
|
103
|
-
readonly "reflect": boolean;
|
|
104
|
-
readonly "default": string;
|
|
105
|
-
}];
|
|
69
|
+
declare const __compiledProperties: {
|
|
70
|
+
name: string;
|
|
71
|
+
attribute: string;
|
|
72
|
+
type: string;
|
|
73
|
+
converter: string;
|
|
74
|
+
reflect: boolean;
|
|
75
|
+
default: string;
|
|
76
|
+
}[];
|
|
106
77
|
declare const __elementMetadata: {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
readonly "observedAttributes": readonly [string, string];
|
|
126
|
-
readonly "cem": {
|
|
127
|
-
readonly "tagName": string;
|
|
128
|
-
readonly "className": string;
|
|
129
|
-
readonly "declaration": {
|
|
130
|
-
readonly "name": string;
|
|
131
|
-
readonly "module": string;
|
|
78
|
+
tag: string;
|
|
79
|
+
className: string;
|
|
80
|
+
sourceFile: string;
|
|
81
|
+
properties: {
|
|
82
|
+
name: string;
|
|
83
|
+
attribute: string;
|
|
84
|
+
type: string;
|
|
85
|
+
converter: string;
|
|
86
|
+
reflect: boolean;
|
|
87
|
+
default: string;
|
|
88
|
+
}[];
|
|
89
|
+
observedAttributes: string[];
|
|
90
|
+
cem: {
|
|
91
|
+
tagName: string;
|
|
92
|
+
className: string;
|
|
93
|
+
declaration: {
|
|
94
|
+
name: string;
|
|
95
|
+
module: string;
|
|
132
96
|
};
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
readonly "fieldName": string;
|
|
147
|
-
readonly "type": string;
|
|
148
|
-
readonly "attribute": string;
|
|
149
|
-
readonly "reflect": boolean;
|
|
150
|
-
}, {
|
|
151
|
-
readonly "name": string;
|
|
152
|
-
readonly "fieldName": string;
|
|
153
|
-
readonly "type": string;
|
|
154
|
-
readonly "attribute": string;
|
|
155
|
-
readonly "reflect": boolean;
|
|
156
|
-
}];
|
|
97
|
+
attributes: {
|
|
98
|
+
name: string;
|
|
99
|
+
fieldName: string;
|
|
100
|
+
type: string;
|
|
101
|
+
reflect: boolean;
|
|
102
|
+
}[];
|
|
103
|
+
members: {
|
|
104
|
+
name: string;
|
|
105
|
+
fieldName: string;
|
|
106
|
+
type: string;
|
|
107
|
+
attribute: string;
|
|
108
|
+
reflect: boolean;
|
|
109
|
+
}[];
|
|
157
110
|
};
|
|
158
111
|
};
|
|
159
112
|
declare const __observedAttributes: string[];
|
|
160
113
|
declare const __compiledProps: {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
114
|
+
tone: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
reflect: boolean;
|
|
118
|
+
attribute: string;
|
|
166
119
|
};
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
120
|
+
size: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
reflect: boolean;
|
|
124
|
+
attribute: string;
|
|
172
125
|
};
|
|
173
126
|
};
|
|
174
127
|
export declare class OpenBadge extends OpenElement {
|
|
@@ -182,4 +135,5 @@ export declare class OpenBadge extends OpenElement {
|
|
|
182
135
|
size: string;
|
|
183
136
|
render(): never;
|
|
184
137
|
}
|
|
185
|
-
|
|
138
|
+
//#endregion
|
|
139
|
+
export { __elementMetadata, __partProgram };
|