@swc-react/accordion 0.33.3-overlay.66 → 0.34.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 +48 -45
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -7,27 +7,29 @@ export declare const Accordion: import("react").ComponentType<Partial<{
7
7
  tabIndex?: number | undefined;
8
8
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
9
9
  accessKey?: string | undefined;
10
+ draggable?: (boolean | "true" | "false") | undefined;
11
+ hidden?: boolean | undefined;
12
+ lang?: string | undefined;
13
+ translate?: "yes" | "no" | undefined;
14
+ className?: string | undefined;
15
+ id?: string | undefined;
16
+ prefix?: string | undefined;
17
+ children?: import("react").ReactNode;
18
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
19
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
20
+ nonce?: string | undefined;
10
21
  defaultChecked?: boolean | undefined;
11
22
  defaultValue?: string | number | readonly string[] | undefined;
12
23
  suppressContentEditableWarning?: boolean | undefined;
13
24
  suppressHydrationWarning?: boolean | undefined;
14
- className?: string | undefined;
15
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
16
25
  contextMenu?: string | undefined;
17
- draggable?: (boolean | "true" | "false") | undefined;
18
- hidden?: boolean | undefined;
19
- id?: string | undefined;
20
- lang?: string | undefined;
21
- nonce?: string | undefined;
22
26
  placeholder?: string | undefined;
23
27
  spellCheck?: (boolean | "true" | "false") | undefined;
24
- translate?: "yes" | "no" | undefined;
25
28
  radioGroup?: string | undefined;
26
29
  role?: import("react").AriaRole | undefined;
27
30
  about?: string | undefined;
28
31
  datatype?: string | undefined;
29
32
  inlist?: any;
30
- prefix?: string | undefined;
31
33
  property?: string | undefined;
32
34
  resource?: string | undefined;
33
35
  typeof?: string | undefined;
@@ -44,7 +46,6 @@ export declare const Accordion: import("react").ComponentType<Partial<{
44
46
  results?: number | undefined;
45
47
  security?: string | undefined;
46
48
  unselectable?: "on" | "off" | undefined;
47
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
48
49
  is?: string | undefined;
49
50
  'aria-activedescendant'?: string | undefined;
50
51
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
@@ -93,7 +94,6 @@ export declare const Accordion: import("react").ComponentType<Partial<{
93
94
  'aria-valuemin'?: number | undefined;
94
95
  'aria-valuenow'?: number | undefined;
95
96
  'aria-valuetext'?: string | undefined;
96
- children?: import("react").ReactNode;
97
97
  dangerouslySetInnerHTML?: {
98
98
  __html: string;
99
99
  } | undefined;
@@ -262,6 +262,7 @@ export declare const Accordion: import("react").ComponentType<Partial<{
262
262
  } & {
263
263
  readonly attributes: NamedNodeMap;
264
264
  readonly localName: string;
265
+ size: import("@spectrum-web-components/base").ElementSize;
265
266
  focus: () => void;
266
267
  blur: () => void;
267
268
  click: () => void;
@@ -273,6 +274,19 @@ export declare const Accordion: import("react").ComponentType<Partial<{
273
274
  autofocus: boolean;
274
275
  normalize: () => void;
275
276
  allowMultiple: boolean;
277
+ density?: "compact" | "spacious" | undefined;
278
+ focusGroupController: import("@spectrum-web-components/reactive-controllers/src/FocusGroup").FocusGroupController<import("accordion/src").AccordionItem>;
279
+ readonly renderOptions: import("lit-html").RenderOptions;
280
+ connectedCallback: () => void;
281
+ disconnectedCallback: () => void;
282
+ readonly renderRoot: HTMLElement | ShadowRoot;
283
+ isUpdatePending: boolean;
284
+ hasUpdated: boolean;
285
+ addController: (controller: import("lit").ReactiveController) => void;
286
+ removeController: (controller: import("lit").ReactiveController) => void;
287
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
288
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
289
+ readonly updateComplete: Promise<boolean>;
276
290
  readonly accessKeyLabel: string;
277
291
  autocapitalize: string;
278
292
  inert: boolean;
@@ -566,18 +580,6 @@ export declare const Accordion: import("react").ComponentType<Partial<{
566
580
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
567
581
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
568
582
  readonly dataset: DOMStringMap;
569
- focusGroupController: import("@spectrum-web-components/reactive-controllers/src/FocusGroup").FocusGroupController<import("accordion/src").AccordionItem>;
570
- readonly renderOptions: import("lit-html").RenderOptions;
571
- connectedCallback: () => void;
572
- disconnectedCallback: () => void;
573
- readonly renderRoot: HTMLElement | ShadowRoot;
574
- isUpdatePending: boolean;
575
- hasUpdated: boolean;
576
- addController: (controller: import("lit").ReactiveController) => void;
577
- removeController: (controller: import("lit").ReactiveController) => void;
578
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
579
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
580
- readonly updateComplete: Promise<boolean>;
581
583
  isLTR: boolean;
582
584
  hasVisibleFocusInTree: () => boolean;
583
585
  } & {}> & import("react").RefAttributes<import("accordion/src").Accordion>>;
@@ -589,27 +591,29 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
589
591
  tabIndex?: number | undefined;
590
592
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
591
593
  accessKey?: string | undefined;
594
+ draggable?: (boolean | "true" | "false") | undefined;
595
+ hidden?: boolean | undefined;
596
+ lang?: string | undefined;
597
+ translate?: "yes" | "no" | undefined;
598
+ className?: string | undefined;
599
+ id?: string | undefined;
600
+ prefix?: string | undefined;
601
+ children?: import("react").ReactNode;
602
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
603
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
604
+ nonce?: string | undefined;
592
605
  defaultChecked?: boolean | undefined;
593
606
  defaultValue?: string | number | readonly string[] | undefined;
594
607
  suppressContentEditableWarning?: boolean | undefined;
595
608
  suppressHydrationWarning?: boolean | undefined;
596
- className?: string | undefined;
597
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
598
609
  contextMenu?: string | undefined;
599
- draggable?: (boolean | "true" | "false") | undefined;
600
- hidden?: boolean | undefined;
601
- id?: string | undefined;
602
- lang?: string | undefined;
603
- nonce?: string | undefined;
604
610
  placeholder?: string | undefined;
605
611
  spellCheck?: (boolean | "true" | "false") | undefined;
606
- translate?: "yes" | "no" | undefined;
607
612
  radioGroup?: string | undefined;
608
613
  role?: import("react").AriaRole | undefined;
609
614
  about?: string | undefined;
610
615
  datatype?: string | undefined;
611
616
  inlist?: any;
612
- prefix?: string | undefined;
613
617
  property?: string | undefined;
614
618
  resource?: string | undefined;
615
619
  typeof?: string | undefined;
@@ -626,7 +630,6 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
626
630
  results?: number | undefined;
627
631
  security?: string | undefined;
628
632
  unselectable?: "on" | "off" | undefined;
629
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
630
633
  is?: string | undefined;
631
634
  'aria-activedescendant'?: string | undefined;
632
635
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
@@ -675,7 +678,6 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
675
678
  'aria-valuemin'?: number | undefined;
676
679
  'aria-valuenow'?: number | undefined;
677
680
  'aria-valuetext'?: string | undefined;
678
- children?: import("react").ReactNode;
679
681
  dangerouslySetInnerHTML?: {
680
682
  __html: string;
681
683
  } | undefined;
@@ -844,6 +846,7 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
844
846
  } & {
845
847
  readonly attributes: NamedNodeMap;
846
848
  readonly localName: string;
849
+ size: import("@spectrum-web-components/base").ElementSize;
847
850
  focus: (options?: FocusOptions | undefined) => void;
848
851
  blur: () => void;
849
852
  click: () => void;
@@ -857,6 +860,17 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
857
860
  autofocus: boolean;
858
861
  normalize: () => void;
859
862
  open: boolean;
863
+ readonly renderOptions: import("lit-html").RenderOptions;
864
+ connectedCallback: () => void;
865
+ disconnectedCallback: () => void;
866
+ readonly renderRoot: HTMLElement | ShadowRoot;
867
+ isUpdatePending: boolean;
868
+ hasUpdated: boolean;
869
+ addController: (controller: import("lit").ReactiveController) => void;
870
+ removeController: (controller: import("lit").ReactiveController) => void;
871
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
872
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
873
+ readonly updateComplete: Promise<boolean>;
860
874
  readonly accessKeyLabel: string;
861
875
  autocapitalize: string;
862
876
  inert: boolean;
@@ -1150,17 +1164,6 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
1150
1164
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1151
1165
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1152
1166
  readonly dataset: DOMStringMap;
1153
- readonly renderOptions: import("lit-html").RenderOptions;
1154
- connectedCallback: () => void;
1155
- disconnectedCallback: () => void;
1156
- readonly renderRoot: HTMLElement | ShadowRoot;
1157
- isUpdatePending: boolean;
1158
- hasUpdated: boolean;
1159
- addController: (controller: import("lit").ReactiveController) => void;
1160
- removeController: (controller: import("lit").ReactiveController) => void;
1161
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
1162
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
1163
- readonly updateComplete: Promise<boolean>;
1164
1167
  isLTR: boolean;
1165
1168
  hasVisibleFocusInTree: () => boolean;
1166
1169
  readonly focusElement: HTMLElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/accordion",
3
- "version": "0.33.3-overlay.66+30e96d5ea",
3
+ "version": "0.34.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/accordion": "^0.33.3-overlay.66+30e96d5ea"
33
+ "@spectrum-web-components/accordion": "^0.34.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": "30e96d5eaed31b7b2af916d78cabccb722889fe3"
43
+ "gitHead": "f9b3294d67cdd52b2c36897cdc1c20ceaeb019cf"
44
44
  }