@swc-react/tray 0.34.1-rc.0 → 0.35.1-rc.15

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 +15 -5
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const Tray: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
4
5
  slot?: string | undefined;
@@ -21,16 +22,20 @@ export declare const Tray: import("react").ComponentType<Partial<{
21
22
  defaultValue?: string | number | readonly string[] | undefined;
22
23
  suppressContentEditableWarning?: boolean | undefined;
23
24
  suppressHydrationWarning?: boolean | undefined;
25
+ autoFocus?: boolean | undefined;
24
26
  contextMenu?: string | undefined;
25
27
  placeholder?: string | undefined;
26
28
  spellCheck?: (boolean | "true" | "false") | undefined;
27
29
  radioGroup?: string | undefined;
28
30
  role?: import("react").AriaRole | undefined;
29
31
  about?: string | undefined;
32
+ content?: string | undefined;
30
33
  datatype?: string | undefined;
31
34
  inlist?: any;
32
35
  property?: string | undefined;
36
+ rel?: string | undefined;
33
37
  resource?: string | undefined;
38
+ rev?: string | undefined;
34
39
  typeof?: string | undefined;
35
40
  vocab?: string | undefined;
36
41
  autoCapitalize?: string | undefined;
@@ -49,14 +54,18 @@ export declare const Tray: import("react").ComponentType<Partial<{
49
54
  'aria-activedescendant'?: string | undefined;
50
55
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
51
56
  'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
57
+ 'aria-braillelabel'?: string | undefined;
58
+ 'aria-brailleroledescription'?: string | undefined;
52
59
  'aria-busy'?: (boolean | "true" | "false") | undefined;
53
60
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
54
61
  'aria-colcount'?: number | undefined;
55
62
  'aria-colindex'?: number | undefined;
63
+ 'aria-colindextext'?: string | undefined;
56
64
  'aria-colspan'?: number | undefined;
57
65
  'aria-controls'?: string | undefined;
58
66
  'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
59
67
  'aria-describedby'?: string | undefined;
68
+ 'aria-description'?: string | undefined;
60
69
  'aria-details'?: string | undefined;
61
70
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
62
71
  'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
@@ -86,6 +95,7 @@ export declare const Tray: import("react").ComponentType<Partial<{
86
95
  'aria-roledescription'?: string | undefined;
87
96
  'aria-rowcount'?: number | undefined;
88
97
  'aria-rowindex'?: number | undefined;
98
+ 'aria-rowindextext'?: string | undefined;
89
99
  'aria-rowspan'?: number | undefined;
90
100
  'aria-selected'?: (boolean | "true" | "false") | undefined;
91
101
  'aria-setsize'?: number | undefined;
@@ -95,7 +105,7 @@ export declare const Tray: import("react").ComponentType<Partial<{
95
105
  'aria-valuenow'?: number | undefined;
96
106
  'aria-valuetext'?: string | undefined;
97
107
  dangerouslySetInnerHTML?: {
98
- __html: string;
108
+ __html: string | TrustedHTML;
99
109
  } | undefined;
100
110
  onCopy?: import("react").ClipboardEventHandler<import("tray/src").Tray> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("tray/src").Tray> | undefined;
@@ -266,15 +276,13 @@ export declare const Tray: import("react").ComponentType<Partial<{
266
276
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
267
277
  readonly renderOptions: import("lit-html").RenderOptions;
268
278
  matches: (selectors: string) => boolean;
269
- focus: () => void;
270
- overlayWillCloseCallback: () => boolean;
271
- connectedCallback: () => void;
272
- disconnectedCallback: () => void;
273
279
  readonly renderRoot: HTMLElement | ShadowRoot;
274
280
  isUpdatePending: boolean;
275
281
  hasUpdated: boolean;
276
282
  addController: (controller: import("lit").ReactiveController) => void;
277
283
  removeController: (controller: import("lit").ReactiveController) => void;
284
+ connectedCallback: () => void;
285
+ disconnectedCallback: () => void;
278
286
  attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
279
287
  requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
280
288
  readonly updateComplete: Promise<boolean>;
@@ -578,6 +586,8 @@ export declare const Tray: import("react").ComponentType<Partial<{
578
586
  autofocus: boolean;
579
587
  readonly dataset: DOMStringMap;
580
588
  blur: () => void;
589
+ focus: () => void;
590
+ overlayWillCloseCallback: () => boolean;
581
591
  isLTR: boolean;
582
592
  hasVisibleFocusInTree: () => boolean;
583
593
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/tray",
3
- "version": "0.34.1-rc.0+1647bfed5",
3
+ "version": "0.35.1-rc.15+9b76319e4",
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.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/tray": "^0.35.1-rc.15+9b76319e4"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "next": "~13.4"
@@ -40,5 +40,5 @@
40
40
  "optional": true
41
41
  }
42
42
  },
43
- "gitHead": "1647bfed54cb29f3513343cd0d2c2d9e73e1c508"
43
+ "gitHead": "9b76319e4f1cc7cb0dd03e9d9debf544e5bed4e9"
44
44
  }