@openelement/ui 1.0.0-alpha.6 → 1.0.0-alpha.8

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.
@@ -1,261 +1,203 @@
1
- import { OpenElement, type ReadonlySignal, type StyleSheetLike } from '@openelement/element';
1
+ import { OpenElement, ReadonlySignal, StyleSheetLike } from "@openelement/element";
2
+ //#region src/open-dropdown.d.ts
2
3
  declare const __partProgram: {
3
- readonly "version": number;
4
- readonly "tag": string;
5
- readonly "root": {
6
- readonly "id": string;
7
- readonly "kind": string;
8
- readonly "nodes": readonly [string];
4
+ version: number;
5
+ tag: string;
6
+ root: {
7
+ id: string;
8
+ kind: string;
9
+ nodes: string[];
9
10
  };
10
- readonly "template": readonly [{
11
- readonly "k": string;
12
- readonly "id": string;
13
- readonly "tag": string;
14
- readonly "attrs": readonly [];
15
- readonly "children": readonly [{
16
- readonly "k": string;
17
- readonly "id": string;
18
- readonly "tag": string;
19
- readonly "attrs": readonly [readonly [string, string], readonly [string, string]];
20
- readonly "children": readonly [{
21
- readonly "k": string;
22
- readonly "id": string;
23
- readonly "tag": string;
24
- readonly "attrs": readonly [readonly [string, string]];
25
- readonly "children": readonly [];
26
- }];
27
- }, {
28
- readonly "k": string;
29
- readonly "id": string;
30
- readonly "tag": string;
31
- readonly "attrs": readonly [readonly [string, string], readonly [string, string], readonly [string, string]];
32
- readonly "children": readonly [{
33
- readonly "k": string;
34
- readonly "id": string;
35
- readonly "tag": string;
36
- readonly "attrs": readonly [];
37
- readonly "children": readonly [];
38
- }];
39
- }];
40
- }];
41
- readonly "parts": readonly [{
42
- readonly "k": string;
43
- readonly "event": string;
44
- readonly "handler": string;
45
- readonly "action": {
46
- readonly "kind": string;
47
- readonly "name": string;
48
- };
49
- readonly "path": readonly [number, number];
50
- readonly "index": number;
51
- readonly "location": {
52
- readonly "id": string;
53
- readonly "kind": string;
54
- readonly "path": readonly [number, number];
55
- readonly "node": string;
56
- };
57
- }, {
58
- readonly "k": string;
59
- readonly "event": string;
60
- readonly "handler": string;
61
- readonly "action": {
62
- readonly "kind": string;
63
- readonly "name": string;
64
- };
65
- readonly "path": readonly [number, number];
66
- readonly "index": number;
67
- readonly "location": {
68
- readonly "id": string;
69
- readonly "kind": string;
70
- readonly "path": readonly [number, number];
71
- readonly "node": string;
72
- };
73
- }, {
74
- readonly "k": string;
75
- readonly "signal": string;
76
- readonly "path": readonly [number, number];
77
- readonly "index": number;
78
- readonly "location": {
79
- readonly "id": string;
80
- readonly "kind": string;
81
- readonly "path": readonly [number, number];
82
- readonly "node": string;
83
- };
84
- }];
85
- readonly "regions": readonly [];
86
- readonly "dependencies": readonly [{
87
- readonly "signal": string;
88
- readonly "owner": {
89
- readonly "kind": string;
90
- readonly "index": number;
91
- };
92
- readonly "location": string;
93
- }];
94
- readonly "locations": readonly [{
95
- readonly "id": string;
96
- readonly "kind": string;
97
- readonly "tag": string;
98
- readonly "path": readonly [number];
99
- }, {
100
- readonly "id": string;
101
- readonly "kind": string;
102
- readonly "tag": string;
103
- readonly "path": readonly [number, number];
104
- }, {
105
- readonly "id": string;
106
- readonly "kind": string;
107
- readonly "part": number;
108
- readonly "node": string;
109
- readonly "path": readonly [number, number];
110
- }, {
111
- readonly "id": string;
112
- readonly "kind": string;
113
- readonly "part": number;
114
- readonly "node": string;
115
- readonly "path": readonly [number, number];
116
- }, {
117
- readonly "id": string;
118
- readonly "kind": string;
119
- readonly "tag": string;
120
- readonly "path": readonly [number, number, number];
121
- }, {
122
- readonly "id": string;
123
- readonly "kind": string;
124
- readonly "tag": string;
125
- readonly "path": readonly [number, number];
126
- }, {
127
- readonly "id": string;
128
- readonly "kind": string;
129
- readonly "part": number;
130
- readonly "node": string;
131
- readonly "path": readonly [number, number];
132
- }, {
133
- readonly "id": string;
134
- readonly "kind": string;
135
- readonly "tag": string;
136
- readonly "path": readonly [number, number, number];
137
- }];
138
- readonly "metadata": {
139
- readonly "tag": string;
140
- readonly "className": string;
141
- readonly "sourceFile": string;
142
- readonly "properties": readonly [{
143
- readonly "name": string;
144
- readonly "attribute": null;
145
- readonly "type": string;
146
- readonly "converter": string;
147
- readonly "reflect": boolean;
148
- readonly "default": string;
149
- }, {
150
- readonly "name": string;
151
- readonly "attribute": null;
152
- readonly "type": string;
153
- readonly "converter": string;
154
- readonly "reflect": boolean;
155
- readonly "default": null;
156
- readonly "computed": boolean;
157
- readonly "deps": readonly [string];
158
- }];
159
- readonly "observedAttributes": readonly [];
160
- readonly "cem": {
161
- readonly "tagName": string;
162
- readonly "className": string;
163
- readonly "declaration": {
164
- readonly "name": string;
165
- readonly "module": string;
11
+ template: {
12
+ k: string;
13
+ id: string;
14
+ tag: string;
15
+ attrs: never[];
16
+ children: {
17
+ k: string;
18
+ id: string;
19
+ tag: string;
20
+ attrs: string[][];
21
+ children: {
22
+ k: string;
23
+ id: string;
24
+ tag: string;
25
+ attrs: string[][];
26
+ children: never[];
27
+ }[];
28
+ }[];
29
+ }[];
30
+ parts: ({
31
+ k: string;
32
+ event: string;
33
+ handler: string;
34
+ action: {
35
+ kind: string;
36
+ name: string;
37
+ };
38
+ path: number[];
39
+ index: number;
40
+ location: {
41
+ id: string;
42
+ kind: string;
43
+ path: number[];
44
+ node: string;
45
+ };
46
+ signal?: undefined;
47
+ } | {
48
+ k: string;
49
+ signal: string;
50
+ path: number[];
51
+ index: number;
52
+ location: {
53
+ id: string;
54
+ kind: string;
55
+ path: number[];
56
+ node: string;
57
+ };
58
+ event?: undefined;
59
+ handler?: undefined;
60
+ action?: undefined;
61
+ })[];
62
+ regions: never[];
63
+ dependencies: {
64
+ signal: string;
65
+ owner: {
66
+ kind: string;
67
+ index: number;
68
+ };
69
+ location: string;
70
+ }[];
71
+ locations: ({
72
+ id: string;
73
+ kind: string;
74
+ tag: string;
75
+ path: number[];
76
+ part?: undefined;
77
+ node?: undefined;
78
+ } | {
79
+ id: string;
80
+ kind: string;
81
+ part: number;
82
+ node: string;
83
+ path: number[];
84
+ tag?: undefined;
85
+ })[];
86
+ metadata: {
87
+ tag: string;
88
+ className: string;
89
+ sourceFile: string;
90
+ properties: ({
91
+ name: string;
92
+ attribute: null;
93
+ type: string;
94
+ converter: string;
95
+ reflect: boolean;
96
+ default: string;
97
+ computed?: undefined;
98
+ deps?: undefined;
99
+ } | {
100
+ name: string;
101
+ attribute: null;
102
+ type: string;
103
+ converter: string;
104
+ reflect: boolean;
105
+ default: null;
106
+ computed: boolean;
107
+ deps: string[];
108
+ })[];
109
+ observedAttributes: never[];
110
+ cem: {
111
+ tagName: string;
112
+ className: string;
113
+ declaration: {
114
+ name: string;
115
+ module: string;
166
116
  };
167
- readonly "attributes": readonly [];
168
- readonly "members": readonly [{
169
- readonly "name": string;
170
- readonly "fieldName": string;
171
- readonly "type": string;
172
- readonly "attribute": null;
173
- readonly "reflect": boolean;
174
- }, {
175
- readonly "name": string;
176
- readonly "fieldName": string;
177
- readonly "type": string;
178
- readonly "attribute": null;
179
- readonly "reflect": boolean;
180
- }];
117
+ attributes: never[];
118
+ members: {
119
+ name: string;
120
+ fieldName: string;
121
+ type: string;
122
+ attribute: null;
123
+ reflect: boolean;
124
+ }[];
181
125
  };
182
126
  };
183
127
  };
184
- declare const __compiledProperties: readonly [{
185
- readonly "name": string;
186
- readonly "attribute": null;
187
- readonly "type": string;
188
- readonly "converter": string;
189
- readonly "reflect": boolean;
190
- readonly "default": string;
191
- }, {
192
- readonly "name": string;
193
- readonly "attribute": null;
194
- readonly "type": string;
195
- readonly "converter": string;
196
- readonly "reflect": boolean;
197
- readonly "default": null;
198
- readonly "computed": boolean;
199
- readonly "deps": readonly [string];
200
- }];
128
+ declare const __compiledProperties: ({
129
+ name: string;
130
+ attribute: null;
131
+ type: string;
132
+ converter: string;
133
+ reflect: boolean;
134
+ default: string;
135
+ computed?: undefined;
136
+ deps?: undefined;
137
+ } | {
138
+ name: string;
139
+ attribute: null;
140
+ type: string;
141
+ converter: string;
142
+ reflect: boolean;
143
+ default: null;
144
+ computed: boolean;
145
+ deps: string[];
146
+ })[];
201
147
  declare const __elementMetadata: {
202
- readonly "tag": string;
203
- readonly "className": string;
204
- readonly "sourceFile": string;
205
- readonly "properties": readonly [{
206
- readonly "name": string;
207
- readonly "attribute": null;
208
- readonly "type": string;
209
- readonly "converter": string;
210
- readonly "reflect": boolean;
211
- readonly "default": string;
212
- }, {
213
- readonly "name": string;
214
- readonly "attribute": null;
215
- readonly "type": string;
216
- readonly "converter": string;
217
- readonly "reflect": boolean;
218
- readonly "default": null;
219
- readonly "computed": boolean;
220
- readonly "deps": readonly [string];
221
- }];
222
- readonly "observedAttributes": readonly [];
223
- readonly "cem": {
224
- readonly "tagName": string;
225
- readonly "className": string;
226
- readonly "declaration": {
227
- readonly "name": string;
228
- readonly "module": string;
148
+ tag: string;
149
+ className: string;
150
+ sourceFile: string;
151
+ properties: ({
152
+ name: string;
153
+ attribute: null;
154
+ type: string;
155
+ converter: string;
156
+ reflect: boolean;
157
+ default: string;
158
+ computed?: undefined;
159
+ deps?: undefined;
160
+ } | {
161
+ name: string;
162
+ attribute: null;
163
+ type: string;
164
+ converter: string;
165
+ reflect: boolean;
166
+ default: null;
167
+ computed: boolean;
168
+ deps: string[];
169
+ })[];
170
+ observedAttributes: never[];
171
+ cem: {
172
+ tagName: string;
173
+ className: string;
174
+ declaration: {
175
+ name: string;
176
+ module: string;
229
177
  };
230
- readonly "attributes": readonly [];
231
- readonly "members": readonly [{
232
- readonly "name": string;
233
- readonly "fieldName": string;
234
- readonly "type": string;
235
- readonly "attribute": null;
236
- readonly "reflect": boolean;
237
- }, {
238
- readonly "name": string;
239
- readonly "fieldName": string;
240
- readonly "type": string;
241
- readonly "attribute": null;
242
- readonly "reflect": boolean;
243
- }];
178
+ attributes: never[];
179
+ members: {
180
+ name: string;
181
+ fieldName: string;
182
+ type: string;
183
+ attribute: null;
184
+ reflect: boolean;
185
+ }[];
244
186
  };
245
187
  };
246
188
  declare const __observedAttributes: string[];
247
189
  declare const __compiledProps: {
248
- readonly anchorName: {
249
- readonly type;
250
- readonly default: string;
251
- readonly reflect: boolean;
252
- readonly attribute: boolean;
190
+ anchorName: {
191
+ type: StringConstructor;
192
+ default: string;
193
+ reflect: boolean;
194
+ attribute: boolean;
253
195
  };
254
- readonly anchorStyle: {
255
- readonly type;
256
- readonly default;
257
- readonly reflect: boolean;
258
- readonly attribute: boolean;
196
+ anchorStyle: {
197
+ type: ObjectConstructor;
198
+ default: undefined;
199
+ reflect: boolean;
200
+ attribute: boolean;
259
201
  };
260
202
  };
261
203
  export declare class OpenDropdown extends OpenElement {
@@ -271,12 +213,13 @@ export declare class OpenDropdown extends OpenElement {
271
213
  };
272
214
  static styles: StyleSheetLike[];
273
215
  anchorName: string;
274
- override onDsdHydrated(): void;
275
- override onCsrRendered(): void;
276
- private watchFocusReturn: any;
277
- private syncAnchorName: any;
278
- private onTriggerPointerDown: any;
279
- private toggle: any;
216
+ onDsdHydrated(): void;
217
+ onCsrRendered(): void;
218
+ private watchFocusReturn;
219
+ private syncAnchorName;
220
+ private onTriggerPointerDown;
221
+ private toggle;
280
222
  render(): never;
281
223
  }
282
- export { __partProgram, __elementMetadata };
224
+ //#endregion
225
+ export { __elementMetadata, __partProgram };