@swc-react/tray 0.35.1-rc.34 → 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 +4 -4
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -276,13 +276,15 @@ export declare const Tray: import("react").ComponentType<Partial<{
276
276
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
277
277
  readonly renderOptions: import("lit-html").RenderOptions;
278
278
  matches: (selectors: string) => boolean;
279
+ focus: () => void;
280
+ overlayWillCloseCallback: () => boolean;
281
+ connectedCallback: () => void;
282
+ disconnectedCallback: () => void;
279
283
  readonly renderRoot: HTMLElement | ShadowRoot;
280
284
  isUpdatePending: boolean;
281
285
  hasUpdated: boolean;
282
286
  addController: (controller: import("lit").ReactiveController) => void;
283
287
  removeController: (controller: import("lit").ReactiveController) => void;
284
- connectedCallback: () => void;
285
- disconnectedCallback: () => void;
286
288
  attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
287
289
  requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
288
290
  readonly updateComplete: Promise<boolean>;
@@ -586,8 +588,6 @@ export declare const Tray: import("react").ComponentType<Partial<{
586
588
  autofocus: boolean;
587
589
  readonly dataset: DOMStringMap;
588
590
  blur: () => void;
589
- focus: () => void;
590
- overlayWillCloseCallback: () => boolean;
591
591
  isLTR: boolean;
592
592
  hasVisibleFocusInTree: () => boolean;
593
593
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/tray",
3
- "version": "0.35.1-rc.34+2cc53a49a",
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/tray": "^0.35.1-rc.34+2cc53a49a"
33
+ "@spectrum-web-components/tray": "^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": "2cc53a49a9491e4d86ed3c39ab430fda8a7a5b96"
43
+ "gitHead": "a532ff8a410abeefb54d9638a2316ae82570566e"
44
44
  }