@swc-react/action-button 0.35.0 → 0.35.1-rc.25

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 +28 -28
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -10,6 +10,16 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
10
10
  title?: string | undefined;
11
11
  tabIndex?: number | undefined;
12
12
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
13
+ accessKey?: string | undefined;
14
+ draggable?: (boolean | "true" | "false") | undefined;
15
+ hidden?: boolean | undefined;
16
+ lang?: string | undefined;
17
+ translate?: "yes" | "no" | undefined;
18
+ prefix?: string | undefined;
19
+ children?: import("react").ReactNode;
20
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
21
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
22
+ nonce?: string | undefined;
13
23
  role?: import("react").AriaRole | undefined;
14
24
  'aria-label'?: string | undefined;
15
25
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
@@ -20,23 +30,15 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
20
30
  defaultValue?: string | number | readonly string[] | undefined;
21
31
  suppressContentEditableWarning?: boolean | undefined;
22
32
  suppressHydrationWarning?: boolean | undefined;
23
- accessKey?: string | undefined;
24
33
  autoFocus?: boolean | undefined;
25
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
26
34
  contextMenu?: string | undefined;
27
- draggable?: (boolean | "true" | "false") | undefined;
28
- hidden?: boolean | undefined;
29
- lang?: string | undefined;
30
- nonce?: string | undefined;
31
35
  placeholder?: string | undefined;
32
36
  spellCheck?: (boolean | "true" | "false") | undefined;
33
- translate?: "yes" | "no" | undefined;
34
37
  radioGroup?: string | undefined;
35
38
  about?: string | undefined;
36
39
  content?: string | undefined;
37
40
  datatype?: string | undefined;
38
41
  inlist?: any;
39
- prefix?: string | undefined;
40
42
  property?: string | undefined;
41
43
  resource?: string | undefined;
42
44
  rev?: string | undefined;
@@ -54,7 +56,6 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
54
56
  results?: number | undefined;
55
57
  security?: string | undefined;
56
58
  unselectable?: "on" | "off" | undefined;
57
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
58
59
  is?: string | undefined;
59
60
  'aria-activedescendant'?: string | undefined;
60
61
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
@@ -103,7 +104,6 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
103
104
  'aria-valuemin'?: number | undefined;
104
105
  'aria-valuenow'?: number | undefined;
105
106
  'aria-valuetext'?: string | undefined;
106
- children?: import("react").ReactNode;
107
107
  dangerouslySetInnerHTML?: {
108
108
  __html: string | TrustedHTML;
109
109
  } | undefined;
@@ -293,14 +293,16 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
293
293
  slotHasContent: boolean;
294
294
  readonly childNodes: NodeListOf<ChildNode>;
295
295
  active: boolean;
296
- variant?: "white" | "black" | undefined;
297
- static?: "white" | "black" | undefined;
298
- quiet: boolean;
299
- emphasized: boolean;
300
- holdAffordance: boolean;
301
- selected: boolean;
302
- toggles: boolean;
303
- value: string;
296
+ readonly renderRoot: HTMLElement | ShadowRoot;
297
+ isUpdatePending: boolean;
298
+ hasUpdated: boolean;
299
+ addController: (controller: import("lit").ReactiveController) => void;
300
+ removeController: (controller: import("lit").ReactiveController) => void;
301
+ connectedCallback: () => void;
302
+ disconnectedCallback: () => void;
303
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
304
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
305
+ readonly updateComplete: Promise<boolean>;
304
306
  readonly accessKeyLabel: string;
305
307
  autocapitalize: string;
306
308
  inert: boolean;
@@ -592,20 +594,18 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
592
594
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
593
595
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
594
596
  readonly dataset: DOMStringMap;
597
+ variant?: "white" | "black" | undefined;
598
+ static?: "white" | "black" | undefined;
599
+ quiet: boolean;
600
+ emphasized: boolean;
601
+ holdAffordance: boolean;
602
+ selected: boolean;
603
+ toggles: boolean;
604
+ value: string;
595
605
  readonly itemText: string;
596
606
  readonly focusElement: HTMLElement;
597
607
  renderAnchor: () => import("lit-html").TemplateResult<2 | 1>;
598
- connectedCallback: () => void;
599
608
  readonly renderOptions: import("lit-html").RenderOptions;
600
- disconnectedCallback: () => void;
601
- readonly renderRoot: HTMLElement | ShadowRoot;
602
- isUpdatePending: boolean;
603
- hasUpdated: boolean;
604
- addController: (controller: import("lit").ReactiveController) => void;
605
- removeController: (controller: import("lit").ReactiveController) => void;
606
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
607
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
608
- readonly updateComplete: Promise<boolean>;
609
609
  isLTR: boolean;
610
610
  hasVisibleFocusInTree: () => boolean;
611
611
  manageTextObservedSlot: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/action-button",
3
- "version": "0.35.0",
3
+ "version": "0.35.1-rc.25+b3feb0eb9",
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.35.0"
33
+ "@spectrum-web-components/action-button": "^0.35.1-rc.25+b3feb0eb9"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "next": "~13.4"
@@ -40,5 +40,5 @@
40
40
  "optional": true
41
41
  }
42
42
  },
43
- "gitHead": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
43
+ "gitHead": "b3feb0eb979ff059457a00125919c13ea1afe9bc"
44
44
  }