@swc-react/action-button 0.34.1-rc.0 → 0.35.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 +13 -3
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const ActionButton: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
5
+ rel?: string | undefined;
4
6
  id?: string | undefined;
5
7
  className?: string | undefined;
6
8
  slot?: string | undefined;
@@ -10,6 +12,7 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
10
12
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
11
13
  role?: import("react").AriaRole | undefined;
12
14
  'aria-label'?: string | undefined;
15
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
13
16
  'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "listbox" | "tree" | undefined;
14
17
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
15
18
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
@@ -18,6 +21,7 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
18
21
  suppressContentEditableWarning?: boolean | undefined;
19
22
  suppressHydrationWarning?: boolean | undefined;
20
23
  accessKey?: string | undefined;
24
+ autoFocus?: boolean | undefined;
21
25
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
22
26
  contextMenu?: string | undefined;
23
27
  draggable?: (boolean | "true" | "false") | undefined;
@@ -29,11 +33,13 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
29
33
  translate?: "yes" | "no" | undefined;
30
34
  radioGroup?: string | undefined;
31
35
  about?: string | undefined;
36
+ content?: string | undefined;
32
37
  datatype?: string | undefined;
33
38
  inlist?: any;
34
39
  prefix?: string | undefined;
35
40
  property?: string | undefined;
36
41
  resource?: string | undefined;
42
+ rev?: string | undefined;
37
43
  typeof?: string | undefined;
38
44
  vocab?: string | undefined;
39
45
  autoCapitalize?: string | undefined;
@@ -53,20 +59,23 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
53
59
  'aria-activedescendant'?: string | undefined;
54
60
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
55
61
  'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
62
+ 'aria-braillelabel'?: string | undefined;
63
+ 'aria-brailleroledescription'?: string | undefined;
56
64
  'aria-busy'?: (boolean | "true" | "false") | undefined;
57
65
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
58
66
  'aria-colcount'?: number | undefined;
59
67
  'aria-colindex'?: number | undefined;
68
+ 'aria-colindextext'?: string | undefined;
60
69
  'aria-colspan'?: number | undefined;
61
70
  'aria-controls'?: string | undefined;
62
71
  'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
63
72
  'aria-describedby'?: string | undefined;
73
+ 'aria-description'?: string | undefined;
64
74
  'aria-details'?: string | undefined;
65
75
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
66
76
  'aria-errormessage'?: string | undefined;
67
77
  'aria-flowto'?: string | undefined;
68
78
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
69
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
70
79
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
71
80
  'aria-keyshortcuts'?: string | undefined;
72
81
  'aria-labelledby'?: string | undefined;
@@ -85,6 +94,7 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
85
94
  'aria-roledescription'?: string | undefined;
86
95
  'aria-rowcount'?: number | undefined;
87
96
  'aria-rowindex'?: number | undefined;
97
+ 'aria-rowindextext'?: string | undefined;
88
98
  'aria-rowspan'?: number | undefined;
89
99
  'aria-selected'?: (boolean | "true" | "false") | undefined;
90
100
  'aria-setsize'?: number | undefined;
@@ -95,7 +105,7 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
95
105
  'aria-valuetext'?: string | undefined;
96
106
  children?: import("react").ReactNode;
97
107
  dangerouslySetInnerHTML?: {
98
- __html: string;
108
+ __html: string | TrustedHTML;
99
109
  } | undefined;
100
110
  onCopy?: import("react").ClipboardEventHandler<import("action-button/src").ActionButton> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("action-button/src").ActionButton> | undefined;
@@ -268,7 +278,6 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
268
278
  label?: string | undefined;
269
279
  href?: string | undefined;
270
280
  target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
271
- rel?: string | undefined;
272
281
  ariaHidden: string | null;
273
282
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
274
283
  blur: () => void;
@@ -285,6 +294,7 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
285
294
  readonly childNodes: NodeListOf<ChildNode>;
286
295
  active: boolean;
287
296
  variant?: "white" | "black" | undefined;
297
+ static?: "white" | "black" | undefined;
288
298
  quiet: boolean;
289
299
  emphasized: boolean;
290
300
  holdAffordance: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/action-button",
3
- "version": "0.34.1-rc.0+1647bfed5",
3
+ "version": "0.35.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-button": "^0.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/action-button": "^0.35.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": "1647bfed54cb29f3513343cd0d2c2d9e73e1c508"
43
+ "gitHead": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
44
44
  }