@swc-react/action-bar 0.35.1-rc.26 → 0.36.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/next.d.ts +46 -46
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -2,28 +2,21 @@
|
|
|
2
2
|
/// <reference types="react" />
|
|
3
3
|
export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
4
4
|
dir?: string | undefined;
|
|
5
|
+
color?: string | undefined;
|
|
6
|
+
lang?: string | undefined;
|
|
5
7
|
slot?: string | undefined;
|
|
6
8
|
style?: import("react").CSSProperties | undefined;
|
|
7
9
|
title?: string | undefined;
|
|
10
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
8
11
|
accessKey?: string | undefined;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
lang?: string | undefined;
|
|
12
|
-
translate?: "yes" | "no" | undefined;
|
|
13
|
-
className?: string | undefined;
|
|
12
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
13
|
+
rel?: string | undefined;
|
|
14
14
|
id?: string | undefined;
|
|
15
|
-
|
|
16
|
-
children?: import("react").ReactNode;
|
|
17
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
18
|
-
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
19
|
-
nonce?: string | undefined;
|
|
15
|
+
className?: string | undefined;
|
|
20
16
|
tabIndex?: number | undefined;
|
|
21
|
-
'aria-describedby'?: string | undefined;
|
|
22
|
-
rel?: string | undefined;
|
|
23
17
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
24
18
|
role?: import("react").AriaRole | undefined;
|
|
25
19
|
'aria-label'?: string | undefined;
|
|
26
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
27
20
|
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
28
21
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
29
22
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
@@ -34,14 +27,20 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
34
27
|
suppressContentEditableWarning?: boolean | undefined;
|
|
35
28
|
suppressHydrationWarning?: boolean | undefined;
|
|
36
29
|
autoFocus?: boolean | undefined;
|
|
30
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
37
31
|
contextMenu?: string | undefined;
|
|
32
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
33
|
+
hidden?: boolean | undefined;
|
|
34
|
+
nonce?: string | undefined;
|
|
38
35
|
placeholder?: string | undefined;
|
|
39
36
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
37
|
+
translate?: "yes" | "no" | undefined;
|
|
40
38
|
radioGroup?: string | undefined;
|
|
41
39
|
about?: string | undefined;
|
|
42
40
|
content?: string | undefined;
|
|
43
41
|
datatype?: string | undefined;
|
|
44
42
|
inlist?: any;
|
|
43
|
+
prefix?: string | undefined;
|
|
45
44
|
property?: string | undefined;
|
|
46
45
|
resource?: string | undefined;
|
|
47
46
|
rev?: string | undefined;
|
|
@@ -50,7 +49,6 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
50
49
|
autoCapitalize?: string | undefined;
|
|
51
50
|
autoCorrect?: string | undefined;
|
|
52
51
|
autoSave?: string | undefined;
|
|
53
|
-
color?: string | undefined;
|
|
54
52
|
itemProp?: string | undefined;
|
|
55
53
|
itemScope?: boolean | undefined;
|
|
56
54
|
itemType?: string | undefined;
|
|
@@ -59,6 +57,7 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
59
57
|
results?: number | undefined;
|
|
60
58
|
security?: string | undefined;
|
|
61
59
|
unselectable?: "on" | "off" | undefined;
|
|
60
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
62
61
|
is?: string | undefined;
|
|
63
62
|
'aria-activedescendant'?: string | undefined;
|
|
64
63
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -71,7 +70,8 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
71
70
|
'aria-colindextext'?: string | undefined;
|
|
72
71
|
'aria-colspan'?: number | undefined;
|
|
73
72
|
'aria-controls'?: string | undefined;
|
|
74
|
-
'aria-current'?: boolean | "time" | "
|
|
73
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
74
|
+
'aria-describedby'?: string | undefined;
|
|
75
75
|
'aria-description'?: string | undefined;
|
|
76
76
|
'aria-details'?: string | undefined;
|
|
77
77
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
@@ -82,7 +82,6 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
82
82
|
'aria-keyshortcuts'?: string | undefined;
|
|
83
83
|
'aria-level'?: number | undefined;
|
|
84
84
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
85
|
-
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
86
85
|
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
87
86
|
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
88
87
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
@@ -104,6 +103,7 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
104
103
|
'aria-valuemin'?: number | undefined;
|
|
105
104
|
'aria-valuenow'?: number | undefined;
|
|
106
105
|
'aria-valuetext'?: string | undefined;
|
|
106
|
+
children?: import("react").ReactNode;
|
|
107
107
|
dangerouslySetInnerHTML?: {
|
|
108
108
|
__html: string | TrustedHTML;
|
|
109
109
|
} | undefined;
|
|
@@ -272,7 +272,8 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
272
272
|
} & {
|
|
273
273
|
readonly attributes: NamedNodeMap;
|
|
274
274
|
readonly localName: string;
|
|
275
|
-
|
|
275
|
+
shadowRoot: ShadowRoot;
|
|
276
|
+
open: boolean;
|
|
276
277
|
blur: () => void;
|
|
277
278
|
click: () => void;
|
|
278
279
|
focus: (options?: FocusOptions | undefined) => void;
|
|
@@ -280,28 +281,16 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
280
281
|
(options?: ScrollToOptions | undefined): void;
|
|
281
282
|
(x: number, y: number): void;
|
|
282
283
|
};
|
|
283
|
-
|
|
284
|
-
normalize: () => void;
|
|
284
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
285
285
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
};
|
|
295
|
-
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
296
|
-
isUpdatePending: boolean;
|
|
297
|
-
hasUpdated: boolean;
|
|
298
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
299
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
300
|
-
connectedCallback: () => void;
|
|
301
|
-
disconnectedCallback: () => void;
|
|
302
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
303
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
304
|
-
readonly updateComplete: Promise<boolean>;
|
|
286
|
+
remove: () => void;
|
|
287
|
+
normalize: () => void;
|
|
288
|
+
ariaHidden: string | null;
|
|
289
|
+
autofocus: boolean;
|
|
290
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
291
|
+
variant: string;
|
|
292
|
+
emphasized: boolean;
|
|
293
|
+
flexible: boolean;
|
|
305
294
|
readonly accessKeyLabel: string;
|
|
306
295
|
autocapitalize: string;
|
|
307
296
|
inert: boolean;
|
|
@@ -314,6 +303,14 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
314
303
|
outerText: string;
|
|
315
304
|
spellcheck: boolean;
|
|
316
305
|
attachInternals: () => ElementInternals;
|
|
306
|
+
addEventListener: {
|
|
307
|
+
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
308
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
309
|
+
};
|
|
310
|
+
removeEventListener: {
|
|
311
|
+
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
312
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
313
|
+
};
|
|
317
314
|
readonly classList: DOMTokenList;
|
|
318
315
|
readonly clientHeight: number;
|
|
319
316
|
readonly clientLeft: number;
|
|
@@ -329,7 +326,6 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
329
326
|
scrollLeft: number;
|
|
330
327
|
scrollTop: number;
|
|
331
328
|
readonly scrollWidth: number;
|
|
332
|
-
shadowRoot: ShadowRoot;
|
|
333
329
|
readonly tagName: string;
|
|
334
330
|
attachShadow: (init: ShadowRootInit) => ShadowRoot;
|
|
335
331
|
closest: {
|
|
@@ -386,7 +382,6 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
386
382
|
toggleAttribute: (qualifiedName: string, force?: boolean | undefined) => boolean;
|
|
387
383
|
webkitMatchesSelector: (selectors: string) => boolean;
|
|
388
384
|
readonly baseURI: string;
|
|
389
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
390
385
|
readonly firstChild: ChildNode | null;
|
|
391
386
|
readonly isConnected: boolean;
|
|
392
387
|
readonly lastChild: ChildNode | null;
|
|
@@ -430,6 +425,7 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
430
425
|
readonly NOTATION_NODE: number;
|
|
431
426
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
432
427
|
readonly TEXT_NODE: number;
|
|
428
|
+
dispatchEvent: (event: Event) => boolean;
|
|
433
429
|
ariaAtomic: string | null;
|
|
434
430
|
ariaAutoComplete: string | null;
|
|
435
431
|
ariaBusy: string | null;
|
|
@@ -441,7 +437,6 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
441
437
|
ariaDisabled: string | null;
|
|
442
438
|
ariaExpanded: string | null;
|
|
443
439
|
ariaHasPopup: string | null;
|
|
444
|
-
ariaHidden: string | null;
|
|
445
440
|
ariaKeyShortcuts: string | null;
|
|
446
441
|
ariaLabel: string | null;
|
|
447
442
|
ariaLevel: string | null;
|
|
@@ -469,7 +464,6 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
469
464
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
470
465
|
after: (...nodes: (string | Node)[]) => void;
|
|
471
466
|
before: (...nodes: (string | Node)[]) => void;
|
|
472
|
-
remove: () => void;
|
|
473
467
|
replaceWith: (...nodes: (string | Node)[]) => void;
|
|
474
468
|
innerHTML: string;
|
|
475
469
|
readonly nextElementSibling: Element | null;
|
|
@@ -585,12 +579,18 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
|
|
|
585
579
|
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
586
580
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
587
581
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
588
|
-
autofocus: boolean;
|
|
589
582
|
readonly dataset: DOMStringMap;
|
|
590
|
-
variant: string;
|
|
591
|
-
emphasized: boolean;
|
|
592
|
-
flexible: boolean;
|
|
593
583
|
render: () => import("lit-html").TemplateResult<2 | 1>;
|
|
584
|
+
connectedCallback: () => void;
|
|
585
|
+
disconnectedCallback: () => void;
|
|
586
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
587
|
+
isUpdatePending: boolean;
|
|
588
|
+
hasUpdated: boolean;
|
|
589
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
590
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
591
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
592
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
593
|
+
readonly updateComplete: Promise<boolean>;
|
|
594
594
|
isLTR: boolean;
|
|
595
595
|
hasVisibleFocusInTree: () => boolean;
|
|
596
596
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/action-bar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@lit-labs/react": "^1.1.1",
|
|
33
|
-
"@spectrum-web-components/action-bar": "^0.
|
|
33
|
+
"@spectrum-web-components/action-bar": "^0.36.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"next": "~13.4"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"optional": true
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "a532ff8a410abeefb54d9638a2316ae82570566e"
|
|
44
44
|
}
|