@swc-react/radio 0.35.1-rc.26 → 0.36.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 +14 -14
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -10,20 +10,20 @@ export declare const Radio: import("react").ComponentType<Partial<{
10
10
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
11
11
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
12
12
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
13
+ hidden?: boolean | undefined;
14
+ 'aria-describedby'?: string | undefined;
15
+ id?: string | undefined;
13
16
  accessKey?: string | undefined;
14
17
  draggable?: (boolean | "true" | "false") | undefined;
15
- hidden?: boolean | undefined;
16
18
  lang?: string | undefined;
17
19
  translate?: "yes" | "no" | undefined;
18
20
  className?: string | undefined;
19
- id?: string | undefined;
20
21
  prefix?: string | undefined;
21
22
  children?: import("react").ReactNode;
22
23
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
23
24
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
24
25
  nonce?: string | undefined;
25
26
  tabIndex?: number | undefined;
26
- 'aria-describedby'?: string | undefined;
27
27
  'aria-label'?: string | undefined;
28
28
  defaultChecked?: boolean | undefined;
29
29
  defaultValue?: string | number | readonly string[] | undefined;
@@ -289,13 +289,14 @@ export declare const Radio: import("react").ComponentType<Partial<{
289
289
  emphasized: boolean;
290
290
  readonly: boolean;
291
291
  normalize: () => void;
292
+ readonly renderOptions: import("lit-html").RenderOptions;
293
+ connectedCallback: () => void;
294
+ disconnectedCallback: () => void;
292
295
  readonly renderRoot: HTMLElement | ShadowRoot;
293
296
  isUpdatePending: boolean;
294
297
  hasUpdated: boolean;
295
298
  addController: (controller: import("lit").ReactiveController) => void;
296
299
  removeController: (controller: import("lit").ReactiveController) => void;
297
- connectedCallback: () => void;
298
- disconnectedCallback: () => void;
299
300
  attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
300
301
  requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
301
302
  readonly updateComplete: Promise<boolean>;
@@ -592,7 +593,6 @@ export declare const Radio: import("react").ComponentType<Partial<{
592
593
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
593
594
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
594
595
  readonly dataset: DOMStringMap;
595
- readonly renderOptions: import("lit-html").RenderOptions;
596
596
  isLTR: boolean;
597
597
  hasVisibleFocusInTree: () => boolean;
598
598
  } & {
@@ -609,20 +609,20 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
609
609
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
610
610
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
611
611
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
612
+ hidden?: boolean | undefined;
613
+ 'aria-describedby'?: string | undefined;
614
+ id?: string | undefined;
612
615
  accessKey?: string | undefined;
613
616
  draggable?: (boolean | "true" | "false") | undefined;
614
- hidden?: boolean | undefined;
615
617
  lang?: string | undefined;
616
618
  translate?: "yes" | "no" | undefined;
617
619
  className?: string | undefined;
618
- id?: string | undefined;
619
620
  prefix?: string | undefined;
620
621
  children?: import("react").ReactNode;
621
622
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
622
623
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
623
624
  nonce?: string | undefined;
624
625
  tabIndex?: number | undefined;
625
- 'aria-describedby'?: string | undefined;
626
626
  'aria-label'?: string | undefined;
627
627
  defaultChecked?: boolean | undefined;
628
628
  defaultValue?: string | number | readonly string[] | undefined;
@@ -884,13 +884,16 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
884
884
  autofocus: boolean;
885
885
  normalize: () => void;
886
886
  name: string;
887
+ horizontal: boolean;
888
+ vertical: boolean;
889
+ readonly renderOptions: import("lit-html").RenderOptions;
890
+ connectedCallback: () => void;
891
+ disconnectedCallback: () => void;
887
892
  readonly renderRoot: HTMLElement | ShadowRoot;
888
893
  isUpdatePending: boolean;
889
894
  hasUpdated: boolean;
890
895
  addController: (controller: import("lit").ReactiveController) => void;
891
896
  removeController: (controller: import("lit").ReactiveController) => void;
892
- connectedCallback: () => void;
893
- disconnectedCallback: () => void;
894
897
  attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
895
898
  requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
896
899
  readonly updateComplete: Promise<boolean>;
@@ -1187,9 +1190,6 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
1187
1190
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1188
1191
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1189
1192
  readonly dataset: DOMStringMap;
1190
- horizontal: boolean;
1191
- vertical: boolean;
1192
- readonly renderOptions: import("lit-html").RenderOptions;
1193
1193
  isLTR: boolean;
1194
1194
  hasVisibleFocusInTree: () => boolean;
1195
1195
  renderHelpText: (negative?: boolean | undefined) => import("lit-html").TemplateResult<2 | 1>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/radio",
3
- "version": "0.35.1-rc.26+05bd08374",
3
+ "version": "0.36.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/radio": "^0.35.1-rc.26+05bd08374"
33
+ "@spectrum-web-components/radio": "^0.36.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": "05bd0837417e287acdf2685d1ca05ab4d138fc95"
43
+ "gitHead": "a532ff8a410abeefb54d9638a2316ae82570566e"
44
44
  }