@swc-react/overlay 0.39.3 → 0.40.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
@@ -6,7 +6,9 @@ export declare const Overlay: import("react").ComponentType<Partial<{
6
6
  style?: import("react").CSSProperties | undefined;
7
7
  title?: string | undefined;
8
8
  accessKey?: string | undefined;
9
+ color?: string | undefined;
9
10
  content?: string | undefined;
11
+ translate?: "yes" | "no" | undefined;
10
12
  tabIndex?: number | undefined;
11
13
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
12
14
  rel?: string | undefined;
@@ -15,7 +17,6 @@ export declare const Overlay: import("react").ComponentType<Partial<{
15
17
  draggable?: (boolean | "true" | "false") | undefined;
16
18
  hidden?: boolean | undefined;
17
19
  lang?: string | undefined;
18
- translate?: "yes" | "no" | undefined;
19
20
  prefix?: string | undefined;
20
21
  children?: import("react").ReactNode;
21
22
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
@@ -43,7 +44,6 @@ export declare const Overlay: import("react").ComponentType<Partial<{
43
44
  autoCapitalize?: string | undefined;
44
45
  autoCorrect?: string | undefined;
45
46
  autoSave?: string | undefined;
46
- color?: string | undefined;
47
47
  itemProp?: string | undefined;
48
48
  itemScope?: boolean | undefined;
49
49
  itemType?: string | undefined;
@@ -73,7 +73,7 @@ export declare const Overlay: import("react").ComponentType<Partial<{
73
73
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
74
74
  'aria-flowto'?: string | undefined;
75
75
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
76
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
76
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
77
77
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
78
78
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
79
79
  'aria-keyshortcuts'?: string | undefined;
@@ -90,7 +90,7 @@ export declare const Overlay: import("react").ComponentType<Partial<{
90
90
  'aria-posinset'?: number | undefined;
91
91
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
92
92
  'aria-readonly'?: (boolean | "true" | "false") | undefined;
93
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
93
+ 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
94
94
  'aria-required'?: (boolean | "true" | "false") | undefined;
95
95
  'aria-roledescription'?: string | undefined;
96
96
  'aria-rowcount'?: number | undefined;
@@ -283,6 +283,7 @@ export declare const Overlay: import("react").ComponentType<Partial<{
283
283
  (options?: ScrollToOptions | undefined): void;
284
284
  (x: number, y: number): void;
285
285
  };
286
+ offset: number | [number, number];
286
287
  open: boolean;
287
288
  normalize: () => void;
288
289
  delayed: boolean;
@@ -596,7 +597,6 @@ export declare const Overlay: import("react").ComponentType<Partial<{
596
597
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
597
598
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
598
599
  readonly dataset: DOMStringMap;
599
- offset: number | [number, number];
600
600
  receivesFocus: "auto" | "true" | "false";
601
601
  slotEl: HTMLSlotElement;
602
602
  state: import("overlay/src").OverlayState;
@@ -625,7 +625,9 @@ export declare const OverlayTrigger: import("react").ComponentType<Partial<{
625
625
  style?: import("react").CSSProperties | undefined;
626
626
  title?: string | undefined;
627
627
  accessKey?: string | undefined;
628
+ color?: string | undefined;
628
629
  content?: string | undefined;
630
+ translate?: "yes" | "no" | undefined;
629
631
  tabIndex?: number | undefined;
630
632
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
631
633
  rel?: string | undefined;
@@ -634,7 +636,6 @@ export declare const OverlayTrigger: import("react").ComponentType<Partial<{
634
636
  draggable?: (boolean | "true" | "false") | undefined;
635
637
  hidden?: boolean | undefined;
636
638
  lang?: string | undefined;
637
- translate?: "yes" | "no" | undefined;
638
639
  prefix?: string | undefined;
639
640
  children?: import("react").ReactNode;
640
641
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
@@ -662,7 +663,6 @@ export declare const OverlayTrigger: import("react").ComponentType<Partial<{
662
663
  autoCapitalize?: string | undefined;
663
664
  autoCorrect?: string | undefined;
664
665
  autoSave?: string | undefined;
665
- color?: string | undefined;
666
666
  itemProp?: string | undefined;
667
667
  itemScope?: boolean | undefined;
668
668
  itemType?: string | undefined;
@@ -692,7 +692,7 @@ export declare const OverlayTrigger: import("react").ComponentType<Partial<{
692
692
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
693
693
  'aria-flowto'?: string | undefined;
694
694
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
695
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
695
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
696
696
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
697
697
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
698
698
  'aria-keyshortcuts'?: string | undefined;
@@ -709,7 +709,7 @@ export declare const OverlayTrigger: import("react").ComponentType<Partial<{
709
709
  'aria-posinset'?: number | undefined;
710
710
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
711
711
  'aria-readonly'?: (boolean | "true" | "false") | undefined;
712
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
712
+ 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
713
713
  'aria-required'?: (boolean | "true" | "false") | undefined;
714
714
  'aria-roledescription'?: string | undefined;
715
715
  'aria-rowcount'?: number | undefined;
@@ -901,6 +901,7 @@ export declare const OverlayTrigger: import("react").ComponentType<Partial<{
901
901
  (options?: ScrollToOptions | undefined): void;
902
902
  (x: number, y: number): void;
903
903
  };
904
+ offset: number;
904
905
  open?: import("overlay/src").OverlayContentTypes | undefined;
905
906
  normalize: () => void;
906
907
  readonly renderOptions: import("lit-html").RenderOptions;
@@ -1209,7 +1210,6 @@ export declare const OverlayTrigger: import("react").ComponentType<Partial<{
1209
1210
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1210
1211
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1211
1212
  readonly dataset: DOMStringMap;
1212
- offset: number;
1213
1213
  clickOverlayElement: import("overlay/src").Overlay;
1214
1214
  longpressOverlayElement: import("overlay/src").Overlay;
1215
1215
  hoverOverlayElement: import("overlay/src").Overlay;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/overlay",
3
- "version": "0.39.3",
3
+ "version": "0.40.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/overlay": "^0.39.3"
33
+ "@spectrum-web-components/overlay": "^0.40.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": "d7840b3a9b99db4de62c44e3fb91b69dec7319af"
43
+ "gitHead": "24d5569a839da94892ecfd125428779587ffb1f5"
44
44
  }