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