@swc-react/accordion 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.
Files changed (2) hide show
  1. package/next.d.ts +10 -10
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -283,13 +283,17 @@ export declare const Accordion: import("react").ComponentType<Partial<{
283
283
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
284
284
  autofocus: boolean;
285
285
  normalize: () => void;
286
+ allowMultiple: boolean;
287
+ density?: "compact" | "spacious" | undefined;
288
+ focusGroupController: import("@spectrum-web-components/reactive-controllers/src/FocusGroup").FocusGroupController<import("accordion/src").AccordionItem>;
289
+ readonly renderOptions: import("lit-html").RenderOptions;
290
+ connectedCallback: () => void;
291
+ disconnectedCallback: () => void;
286
292
  readonly renderRoot: HTMLElement | ShadowRoot;
287
293
  isUpdatePending: boolean;
288
294
  hasUpdated: boolean;
289
295
  addController: (controller: import("lit").ReactiveController) => void;
290
296
  removeController: (controller: import("lit").ReactiveController) => void;
291
- connectedCallback: () => void;
292
- disconnectedCallback: () => void;
293
297
  attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
294
298
  requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
295
299
  readonly updateComplete: Promise<boolean>;
@@ -586,10 +590,6 @@ export declare const Accordion: import("react").ComponentType<Partial<{
586
590
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
587
591
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
588
592
  readonly dataset: DOMStringMap;
589
- allowMultiple: boolean;
590
- density?: "compact" | "spacious" | undefined;
591
- focusGroupController: import("@spectrum-web-components/reactive-controllers/src/FocusGroup").FocusGroupController<import("accordion/src").AccordionItem>;
592
- readonly renderOptions: import("lit-html").RenderOptions;
593
593
  isLTR: boolean;
594
594
  hasVisibleFocusInTree: () => boolean;
595
595
  } & {}> & import("react").RefAttributes<import("accordion/src").Accordion>>;
@@ -878,13 +878,15 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
878
878
  disabled: boolean;
879
879
  autofocus: boolean;
880
880
  normalize: () => void;
881
+ open: boolean;
882
+ readonly renderOptions: import("lit-html").RenderOptions;
883
+ connectedCallback: () => void;
884
+ disconnectedCallback: () => void;
881
885
  readonly renderRoot: HTMLElement | ShadowRoot;
882
886
  isUpdatePending: boolean;
883
887
  hasUpdated: boolean;
884
888
  addController: (controller: import("lit").ReactiveController) => void;
885
889
  removeController: (controller: import("lit").ReactiveController) => void;
886
- connectedCallback: () => void;
887
- disconnectedCallback: () => void;
888
890
  attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
889
891
  requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
890
892
  readonly updateComplete: Promise<boolean>;
@@ -1181,8 +1183,6 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
1181
1183
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1182
1184
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1183
1185
  readonly dataset: DOMStringMap;
1184
- open: boolean;
1185
- readonly renderOptions: import("lit-html").RenderOptions;
1186
1186
  isLTR: boolean;
1187
1187
  hasVisibleFocusInTree: () => boolean;
1188
1188
  readonly focusElement: HTMLElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/accordion",
3
- "version": "0.35.1-rc.26+05bd08374",
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/accordion": "^0.35.1-rc.26+05bd08374"
33
+ "@spectrum-web-components/accordion": "^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": "05bd0837417e287acdf2685d1ca05ab4d138fc95"
43
+ "gitHead": "a532ff8a410abeefb54d9638a2316ae82570566e"
44
44
  }