@swc-react/action-menu 0.33.3-overlay.66 → 0.34.1-rc.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 -2
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -27,6 +27,8 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
27
27
  'aria-activedescendant'?: string | undefined;
28
28
  'aria-labelledby'?: string | undefined;
29
29
  placeholder?: string | undefined;
30
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "listbox" | "grid" | "tree" | undefined;
31
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
30
32
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
31
33
  defaultChecked?: boolean | undefined;
32
34
  defaultValue?: string | number | readonly string[] | undefined;
@@ -65,10 +67,8 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
65
67
  'aria-details'?: string | undefined;
66
68
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
67
69
  'aria-errormessage'?: string | undefined;
68
- 'aria-expanded'?: (boolean | "true" | "false") | undefined;
69
70
  'aria-flowto'?: string | undefined;
70
71
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
71
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "listbox" | "grid" | "tree" | undefined;
72
72
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
73
73
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
74
74
  'aria-keyshortcuts'?: string | undefined;
@@ -593,6 +593,7 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
593
593
  isLTR: boolean;
594
594
  hasVisibleFocusInTree: () => boolean;
595
595
  selects: "single" | undefined;
596
+ appliedLabel?: string | undefined;
596
597
  icons?: "none" | "only" | undefined;
597
598
  readonly: boolean;
598
599
  optionsMenu: import("menu/src").Menu;
@@ -607,6 +608,7 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
607
608
  handleChange: (event: Event) => void;
608
609
  setValueFromItem: (item: import("menu/src").MenuItem, menuChangeEvent?: Event | undefined) => Promise<void>;
609
610
  _selectedItemContent?: import("menu/src").MenuItemChildren | undefined;
611
+ applyFocusElementLabel: (value?: string | undefined) => void;
610
612
  manageTextObservedSlot: () => void;
611
613
  } & {
612
614
  change: (e: Event) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/action-menu",
3
- "version": "0.33.3-overlay.66+30e96d5ea",
3
+ "version": "0.34.1-rc.0+1647bfed5",
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.33.3-overlay.66+30e96d5ea"
33
+ "@spectrum-web-components/action-menu": "^0.34.1-rc.0+1647bfed5"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "next": "~13.4"
@@ -40,5 +40,5 @@
40
40
  "optional": true
41
41
  }
42
42
  },
43
- "gitHead": "30e96d5eaed31b7b2af916d78cabccb722889fe3"
43
+ "gitHead": "1647bfed54cb29f3513343cd0d2c2d9e73e1c508"
44
44
  }