@swc-react/action-menu 0.35.1-rc.34 → 0.37.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 +6 -6
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -12,7 +12,7 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
12
12
  draggable?: (boolean | "true" | "false") | undefined;
13
13
  hidden?: boolean | undefined;
14
14
  lang?: string | undefined;
15
- translate?: "yes" | "no" | undefined;
15
+ translate?: "no" | "yes" | undefined;
16
16
  className?: string | undefined;
17
17
  id?: string | undefined;
18
18
  prefix?: string | undefined;
@@ -20,14 +20,15 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
20
20
  contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
21
21
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
22
22
  nonce?: string | undefined;
23
- 'aria-describedby'?: string | undefined;
24
23
  rel?: string | undefined;
24
+ 'aria-describedby'?: string | undefined;
25
25
  'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | "grid" | undefined;
26
26
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
27
27
  role?: import("react").AriaRole | undefined;
28
28
  'aria-selected'?: (boolean | "true" | "false") | undefined;
29
29
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
30
30
  'aria-label'?: string | undefined;
31
+ content?: string | undefined;
31
32
  'aria-activedescendant'?: string | undefined;
32
33
  'aria-labelledby'?: string | undefined;
33
34
  placeholder?: string | undefined;
@@ -41,7 +42,6 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
41
42
  spellCheck?: (boolean | "true" | "false") | undefined;
42
43
  radioGroup?: string | undefined;
43
44
  about?: string | undefined;
44
- content?: string | undefined;
45
45
  datatype?: string | undefined;
46
46
  inlist?: any;
47
47
  property?: string | undefined;
@@ -592,14 +592,16 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
592
592
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
593
593
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
594
594
  readonly dataset: DOMStringMap;
595
+ readonly renderOptions: import("lit-html").RenderOptions;
596
+ slotHasContent: boolean;
595
597
  placement: import("@floating-ui/utils").Placement;
596
598
  open: boolean;
597
- readonly renderOptions: import("lit-html").RenderOptions;
598
599
  focused: boolean;
599
600
  value: string;
600
601
  readonly focusElement: HTMLElement;
601
602
  isLTR: boolean;
602
603
  hasVisibleFocusInTree: () => boolean;
604
+ manageTextObservedSlot: () => void;
603
605
  selects: "single" | undefined;
604
606
  appliedLabel?: string | undefined;
605
607
  icons?: "none" | "only" | undefined;
@@ -613,8 +615,6 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
613
615
  handleChange: (event: Event) => void;
614
616
  _selectedItemContent?: import("menu/src").MenuItemChildren | undefined;
615
617
  applyFocusElementLabel: (value?: string | undefined) => void;
616
- slotHasContent: boolean;
617
- manageTextObservedSlot: () => void;
618
618
  } & {
619
619
  change: (e: Event) => void;
620
620
  }> & import("react").RefAttributes<import("action-menu/src").ActionMenu>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/action-menu",
3
- "version": "0.35.1-rc.34+2cc53a49a",
3
+ "version": "0.37.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/action-menu": "^0.35.1-rc.34+2cc53a49a"
33
+ "@spectrum-web-components/action-menu": "^0.37.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": "d771f62f0d8063070af43283bb0fd5e3400bad06"
44
44
  }