@swc-react/accordion 0.36.0 → 0.38.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 +10 -10
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -283,17 +283,13 @@ 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;
|
|
292
286
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
293
287
|
isUpdatePending: boolean;
|
|
294
288
|
hasUpdated: boolean;
|
|
295
289
|
addController: (controller: import("lit").ReactiveController) => void;
|
|
296
290
|
removeController: (controller: import("lit").ReactiveController) => void;
|
|
291
|
+
connectedCallback: () => void;
|
|
292
|
+
disconnectedCallback: () => void;
|
|
297
293
|
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
298
294
|
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
299
295
|
readonly updateComplete: Promise<boolean>;
|
|
@@ -590,6 +586,10 @@ export declare const Accordion: import("react").ComponentType<Partial<{
|
|
|
590
586
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
591
587
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
592
588
|
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,15 +878,13 @@ 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;
|
|
885
881
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
886
882
|
isUpdatePending: boolean;
|
|
887
883
|
hasUpdated: boolean;
|
|
888
884
|
addController: (controller: import("lit").ReactiveController) => void;
|
|
889
885
|
removeController: (controller: import("lit").ReactiveController) => void;
|
|
886
|
+
connectedCallback: () => void;
|
|
887
|
+
disconnectedCallback: () => void;
|
|
890
888
|
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
891
889
|
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
892
890
|
readonly updateComplete: Promise<boolean>;
|
|
@@ -1183,6 +1181,8 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
|
|
|
1183
1181
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1184
1182
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1185
1183
|
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.
|
|
3
|
+
"version": "0.38.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
|
+
"@spectrum-web-components/accordion": "^0.38.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": "9a099b7543672f2fd4030833ab813b16c2cad62e"
|
|
44
44
|
}
|