@swc-react/popover 0.32.0 → 0.32.1-overlay.41

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 +11 -11
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -6,13 +6,11 @@ export declare const Popover: import("react").ComponentType<Partial<{
6
6
  slot?: string | undefined;
7
7
  style?: import("react").CSSProperties | undefined;
8
8
  title?: string | undefined;
9
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
10
- accessKey?: string | undefined;
11
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
12
9
  defaultChecked?: boolean | undefined;
13
10
  defaultValue?: string | number | readonly string[] | undefined;
14
11
  suppressContentEditableWarning?: boolean | undefined;
15
12
  suppressHydrationWarning?: boolean | undefined;
13
+ accessKey?: string | undefined;
16
14
  className?: string | undefined;
17
15
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
18
16
  contextMenu?: string | undefined;
@@ -45,18 +43,18 @@ export declare const Popover: import("react").ComponentType<Partial<{
45
43
  results?: number | undefined;
46
44
  security?: string | undefined;
47
45
  unselectable?: "on" | "off" | undefined;
48
- inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
46
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
49
47
  is?: string | undefined;
50
48
  'aria-activedescendant'?: string | undefined;
51
49
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
52
- 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
50
+ 'aria-autocomplete'?: "inline" | "list" | "none" | "both" | undefined;
53
51
  'aria-busy'?: (boolean | "true" | "false") | undefined;
54
52
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
55
53
  'aria-colcount'?: number | undefined;
56
54
  'aria-colindex'?: number | undefined;
57
55
  'aria-colspan'?: number | undefined;
58
56
  'aria-controls'?: string | undefined;
59
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
57
+ 'aria-current'?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
60
58
  'aria-describedby'?: string | undefined;
61
59
  'aria-details'?: string | undefined;
62
60
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
@@ -66,12 +64,14 @@ export declare const Popover: import("react").ComponentType<Partial<{
66
64
  'aria-flowto'?: string | undefined;
67
65
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
68
66
  'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
67
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
69
68
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
70
69
  'aria-keyshortcuts'?: string | undefined;
71
70
  'aria-label'?: string | undefined;
72
71
  'aria-labelledby'?: string | undefined;
73
72
  'aria-level'?: number | undefined;
74
73
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
74
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
75
75
  'aria-multiline'?: (boolean | "true" | "false") | undefined;
76
76
  'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
77
77
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
@@ -272,11 +272,9 @@ export declare const Popover: import("react").ComponentType<Partial<{
272
272
  (options?: ScrollToOptions | undefined): void;
273
273
  (x: number, y: number): void;
274
274
  };
275
- animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
276
- readonly renderOptions: import("lit-html").RenderOptions;
277
- placement: import("overlay/src/overlay-types").Placement;
278
- remove: () => void;
275
+ placement?: import("@floating-ui/core").Placement | undefined;
279
276
  tip: boolean;
277
+ tipElement: HTMLSpanElement;
280
278
  normalize: () => void;
281
279
  readonly accessKeyLabel: string;
282
280
  autocapitalize: string;
@@ -450,9 +448,11 @@ export declare const Popover: import("react").ComponentType<Partial<{
450
448
  ariaValueMin: string | null;
451
449
  ariaValueNow: string | null;
452
450
  ariaValueText: string | null;
451
+ animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
453
452
  getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
454
453
  after: (...nodes: (string | Node)[]) => void;
455
454
  before: (...nodes: (string | Node)[]) => void;
455
+ remove: () => void;
456
456
  replaceWith: (...nodes: (string | Node)[]) => void;
457
457
  innerHTML: string;
458
458
  readonly nextElementSibling: Element | null;
@@ -570,9 +570,9 @@ export declare const Popover: import("react").ComponentType<Partial<{
570
570
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
571
571
  autofocus: boolean;
572
572
  readonly dataset: DOMStringMap;
573
+ readonly renderOptions: import("lit-html").RenderOptions;
573
574
  connectedCallback: () => void;
574
575
  disconnectedCallback: () => void;
575
- onOverlayQuery: (event: CustomEvent<import("overlay/src/overlay-types").OverlayDisplayQueryDetail>) => void;
576
576
  readonly renderRoot: HTMLElement | ShadowRoot;
577
577
  isUpdatePending: boolean;
578
578
  hasUpdated: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/popover",
3
- "version": "0.32.0",
3
+ "version": "0.32.1-overlay.41+ea2752a5d",
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/popover": "^0.32.0"
33
+ "@spectrum-web-components/popover": "^0.32.1-overlay.41+ea2752a5d"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "next": "~13.4"
@@ -40,5 +40,5 @@
40
40
  "optional": true
41
41
  }
42
42
  },
43
- "gitHead": "c5f67662ac54d0e37debaf7cbd7c2df60e8b294e"
43
+ "gitHead": "ea2752a5dab7c3fc9f9d68148e74af23c63e2cfd"
44
44
  }