@swc-react/button 0.34.1-rc.0 → 0.35.1-rc.15

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 +101 -75
  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 Button: 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;
@@ -8,29 +10,35 @@ export declare const Button: import("react").ComponentType<Partial<{
8
10
  title?: string | undefined;
9
11
  tabIndex?: number | undefined;
10
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;
11
23
  role?: import("react").AriaRole | undefined;
12
24
  'aria-label'?: string | undefined;
25
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
13
26
  defaultChecked?: boolean | undefined;
14
27
  defaultValue?: string | number | readonly string[] | undefined;
15
28
  suppressContentEditableWarning?: boolean | undefined;
16
29
  suppressHydrationWarning?: boolean | undefined;
17
- accessKey?: string | undefined;
18
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
30
+ autoFocus?: boolean | undefined;
19
31
  contextMenu?: string | undefined;
20
- draggable?: (boolean | "true" | "false") | undefined;
21
- hidden?: boolean | undefined;
22
- lang?: string | undefined;
23
- nonce?: string | undefined;
24
32
  placeholder?: string | undefined;
25
33
  spellCheck?: (boolean | "true" | "false") | undefined;
26
- translate?: "yes" | "no" | undefined;
27
34
  radioGroup?: string | undefined;
28
35
  about?: string | undefined;
36
+ content?: string | undefined;
29
37
  datatype?: string | undefined;
30
38
  inlist?: any;
31
- prefix?: string | undefined;
32
39
  property?: string | undefined;
33
40
  resource?: string | undefined;
41
+ rev?: string | undefined;
34
42
  typeof?: string | undefined;
35
43
  vocab?: string | undefined;
36
44
  autoCapitalize?: string | undefined;
@@ -45,19 +53,22 @@ export declare const Button: import("react").ComponentType<Partial<{
45
53
  results?: number | undefined;
46
54
  security?: string | undefined;
47
55
  unselectable?: "on" | "off" | undefined;
48
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
49
56
  is?: string | undefined;
50
57
  'aria-activedescendant'?: string | undefined;
51
58
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
52
59
  'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
60
+ 'aria-braillelabel'?: string | undefined;
61
+ 'aria-brailleroledescription'?: string | undefined;
53
62
  'aria-busy'?: (boolean | "true" | "false") | undefined;
54
63
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
55
64
  'aria-colcount'?: number | undefined;
56
65
  'aria-colindex'?: number | undefined;
66
+ 'aria-colindextext'?: string | undefined;
57
67
  'aria-colspan'?: number | undefined;
58
68
  'aria-controls'?: string | undefined;
59
69
  'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
60
70
  'aria-describedby'?: string | undefined;
71
+ 'aria-description'?: string | undefined;
61
72
  'aria-details'?: string | undefined;
62
73
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
63
74
  'aria-errormessage'?: string | undefined;
@@ -65,7 +76,6 @@ export declare const Button: import("react").ComponentType<Partial<{
65
76
  'aria-flowto'?: string | undefined;
66
77
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
67
78
  'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "listbox" | "tree" | undefined;
68
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
69
79
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
70
80
  'aria-keyshortcuts'?: string | undefined;
71
81
  'aria-labelledby'?: string | undefined;
@@ -85,6 +95,7 @@ export declare const Button: import("react").ComponentType<Partial<{
85
95
  'aria-roledescription'?: string | undefined;
86
96
  'aria-rowcount'?: number | undefined;
87
97
  'aria-rowindex'?: number | undefined;
98
+ 'aria-rowindextext'?: string | undefined;
88
99
  'aria-rowspan'?: number | undefined;
89
100
  'aria-selected'?: (boolean | "true" | "false") | undefined;
90
101
  'aria-setsize'?: number | undefined;
@@ -93,9 +104,8 @@ export declare const Button: import("react").ComponentType<Partial<{
93
104
  'aria-valuemin'?: number | undefined;
94
105
  'aria-valuenow'?: number | undefined;
95
106
  'aria-valuetext'?: string | undefined;
96
- children?: import("react").ReactNode;
97
107
  dangerouslySetInnerHTML?: {
98
- __html: string;
108
+ __html: string | TrustedHTML;
99
109
  } | undefined;
100
110
  onCopy?: import("react").ClipboardEventHandler<import("button/src").Button> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("button/src").Button> | undefined;
@@ -268,7 +278,6 @@ export declare const Button: 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;
@@ -284,10 +293,16 @@ export declare const Button: import("react").ComponentType<Partial<{
284
293
  slotHasContent: boolean;
285
294
  readonly childNodes: NodeListOf<ChildNode>;
286
295
  active: boolean;
287
- variant: import("button/src").ButtonVariants;
288
- static: "white" | "black" | undefined;
289
- treatment: import("button/src").ButtonTreatments;
290
- quiet: boolean;
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>;
291
306
  readonly accessKeyLabel: string;
292
307
  autocapitalize: string;
293
308
  inert: boolean;
@@ -579,25 +594,20 @@ export declare const Button: import("react").ComponentType<Partial<{
579
594
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
580
595
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
581
596
  readonly dataset: DOMStringMap;
597
+ variant: import("button/src").ButtonVariants;
598
+ static: "white" | "black" | undefined;
599
+ treatment: import("button/src").ButtonTreatments;
600
+ quiet: boolean;
582
601
  readonly focusElement: HTMLElement;
583
602
  renderAnchor: () => import("lit-html").TemplateResult<2 | 1>;
584
- connectedCallback: () => void;
585
603
  readonly renderOptions: import("lit-html").RenderOptions;
586
- disconnectedCallback: () => void;
587
- readonly renderRoot: HTMLElement | ShadowRoot;
588
- isUpdatePending: boolean;
589
- hasUpdated: boolean;
590
- addController: (controller: import("lit").ReactiveController) => void;
591
- removeController: (controller: import("lit").ReactiveController) => void;
592
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
593
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
594
- readonly updateComplete: Promise<boolean>;
595
604
  isLTR: boolean;
596
605
  hasVisibleFocusInTree: () => boolean;
597
606
  manageTextObservedSlot: () => void;
598
607
  } & {}> & import("react").RefAttributes<import("button/src").Button>>;
599
608
  export declare const ClearButton: import("react").ComponentType<Partial<{
600
609
  dir?: string | undefined;
610
+ rel?: string | undefined;
601
611
  id?: string | undefined;
602
612
  className?: string | undefined;
603
613
  slot?: string | undefined;
@@ -605,29 +615,35 @@ export declare const ClearButton: import("react").ComponentType<Partial<{
605
615
  title?: string | undefined;
606
616
  tabIndex?: number | undefined;
607
617
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
618
+ accessKey?: string | undefined;
619
+ draggable?: (boolean | "true" | "false") | undefined;
620
+ hidden?: boolean | undefined;
621
+ lang?: string | undefined;
622
+ translate?: "yes" | "no" | undefined;
623
+ prefix?: string | undefined;
624
+ children?: import("react").ReactNode;
625
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
626
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
627
+ nonce?: string | undefined;
608
628
  role?: import("react").AriaRole | undefined;
609
629
  'aria-label'?: string | undefined;
630
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
610
631
  defaultChecked?: boolean | undefined;
611
632
  defaultValue?: string | number | readonly string[] | undefined;
612
633
  suppressContentEditableWarning?: boolean | undefined;
613
634
  suppressHydrationWarning?: boolean | undefined;
614
- accessKey?: string | undefined;
615
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
635
+ autoFocus?: boolean | undefined;
616
636
  contextMenu?: string | undefined;
617
- draggable?: (boolean | "true" | "false") | undefined;
618
- hidden?: boolean | undefined;
619
- lang?: string | undefined;
620
- nonce?: string | undefined;
621
637
  placeholder?: string | undefined;
622
638
  spellCheck?: (boolean | "true" | "false") | undefined;
623
- translate?: "yes" | "no" | undefined;
624
639
  radioGroup?: string | undefined;
625
640
  about?: string | undefined;
641
+ content?: string | undefined;
626
642
  datatype?: string | undefined;
627
643
  inlist?: any;
628
- prefix?: string | undefined;
629
644
  property?: string | undefined;
630
645
  resource?: string | undefined;
646
+ rev?: string | undefined;
631
647
  typeof?: string | undefined;
632
648
  vocab?: string | undefined;
633
649
  autoCapitalize?: string | undefined;
@@ -642,19 +658,22 @@ export declare const ClearButton: import("react").ComponentType<Partial<{
642
658
  results?: number | undefined;
643
659
  security?: string | undefined;
644
660
  unselectable?: "on" | "off" | undefined;
645
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
646
661
  is?: string | undefined;
647
662
  'aria-activedescendant'?: string | undefined;
648
663
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
649
664
  'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
665
+ 'aria-braillelabel'?: string | undefined;
666
+ 'aria-brailleroledescription'?: string | undefined;
650
667
  'aria-busy'?: (boolean | "true" | "false") | undefined;
651
668
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
652
669
  'aria-colcount'?: number | undefined;
653
670
  'aria-colindex'?: number | undefined;
671
+ 'aria-colindextext'?: string | undefined;
654
672
  'aria-colspan'?: number | undefined;
655
673
  'aria-controls'?: string | undefined;
656
674
  'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
657
675
  'aria-describedby'?: string | undefined;
676
+ 'aria-description'?: string | undefined;
658
677
  'aria-details'?: string | undefined;
659
678
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
660
679
  'aria-errormessage'?: string | undefined;
@@ -662,7 +681,6 @@ export declare const ClearButton: import("react").ComponentType<Partial<{
662
681
  'aria-flowto'?: string | undefined;
663
682
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
664
683
  'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "listbox" | "tree" | undefined;
665
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
666
684
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
667
685
  'aria-keyshortcuts'?: string | undefined;
668
686
  'aria-labelledby'?: string | undefined;
@@ -682,6 +700,7 @@ export declare const ClearButton: import("react").ComponentType<Partial<{
682
700
  'aria-roledescription'?: string | undefined;
683
701
  'aria-rowcount'?: number | undefined;
684
702
  'aria-rowindex'?: number | undefined;
703
+ 'aria-rowindextext'?: string | undefined;
685
704
  'aria-rowspan'?: number | undefined;
686
705
  'aria-selected'?: (boolean | "true" | "false") | undefined;
687
706
  'aria-setsize'?: number | undefined;
@@ -690,9 +709,8 @@ export declare const ClearButton: import("react").ComponentType<Partial<{
690
709
  'aria-valuemin'?: number | undefined;
691
710
  'aria-valuenow'?: number | undefined;
692
711
  'aria-valuetext'?: string | undefined;
693
- children?: import("react").ReactNode;
694
712
  dangerouslySetInnerHTML?: {
695
- __html: string;
713
+ __html: string | TrustedHTML;
696
714
  } | undefined;
697
715
  onCopy?: import("react").ClipboardEventHandler<import("button/src").ClearButton> | undefined;
698
716
  onCopyCapture?: import("react").ClipboardEventHandler<import("button/src").ClearButton> | undefined;
@@ -865,7 +883,6 @@ export declare const ClearButton: import("react").ComponentType<Partial<{
865
883
  label?: string | undefined;
866
884
  href?: string | undefined;
867
885
  target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
868
- rel?: string | undefined;
869
886
  ariaHidden: string | null;
870
887
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
871
888
  blur: () => void;
@@ -881,7 +898,16 @@ export declare const ClearButton: import("react").ComponentType<Partial<{
881
898
  slotHasContent: boolean;
882
899
  readonly childNodes: NodeListOf<ChildNode>;
883
900
  active: boolean;
884
- variant: "" | "overBackground";
901
+ readonly renderRoot: HTMLElement | ShadowRoot;
902
+ isUpdatePending: boolean;
903
+ hasUpdated: boolean;
904
+ addController: (controller: import("lit").ReactiveController) => void;
905
+ removeController: (controller: import("lit").ReactiveController) => void;
906
+ connectedCallback: () => void;
907
+ disconnectedCallback: () => void;
908
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
909
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
910
+ readonly updateComplete: Promise<boolean>;
885
911
  readonly accessKeyLabel: string;
886
912
  autocapitalize: string;
887
913
  inert: boolean;
@@ -1173,25 +1199,17 @@ export declare const ClearButton: import("react").ComponentType<Partial<{
1173
1199
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1174
1200
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1175
1201
  readonly dataset: DOMStringMap;
1202
+ variant: "" | "overBackground";
1176
1203
  readonly focusElement: HTMLElement;
1177
1204
  renderAnchor: () => import("lit-html").TemplateResult<2 | 1>;
1178
- connectedCallback: () => void;
1179
1205
  readonly renderOptions: import("lit-html").RenderOptions;
1180
- disconnectedCallback: () => void;
1181
- readonly renderRoot: HTMLElement | ShadowRoot;
1182
- isUpdatePending: boolean;
1183
- hasUpdated: boolean;
1184
- addController: (controller: import("lit").ReactiveController) => void;
1185
- removeController: (controller: import("lit").ReactiveController) => void;
1186
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
1187
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
1188
- readonly updateComplete: Promise<boolean>;
1189
1206
  isLTR: boolean;
1190
1207
  hasVisibleFocusInTree: () => boolean;
1191
1208
  manageTextObservedSlot: () => void;
1192
1209
  } & {}> & import("react").RefAttributes<import("button/src").ClearButton>>;
1193
1210
  export declare const CloseButton: import("react").ComponentType<Partial<{
1194
1211
  dir?: string | undefined;
1212
+ rel?: string | undefined;
1195
1213
  id?: string | undefined;
1196
1214
  className?: string | undefined;
1197
1215
  slot?: string | undefined;
@@ -1199,29 +1217,35 @@ export declare const CloseButton: import("react").ComponentType<Partial<{
1199
1217
  title?: string | undefined;
1200
1218
  tabIndex?: number | undefined;
1201
1219
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
1220
+ accessKey?: string | undefined;
1221
+ draggable?: (boolean | "true" | "false") | undefined;
1222
+ hidden?: boolean | undefined;
1223
+ lang?: string | undefined;
1224
+ translate?: "yes" | "no" | undefined;
1225
+ prefix?: string | undefined;
1226
+ children?: import("react").ReactNode;
1227
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
1228
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1229
+ nonce?: string | undefined;
1202
1230
  role?: import("react").AriaRole | undefined;
1203
1231
  'aria-label'?: string | undefined;
1232
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
1204
1233
  defaultChecked?: boolean | undefined;
1205
1234
  defaultValue?: string | number | readonly string[] | undefined;
1206
1235
  suppressContentEditableWarning?: boolean | undefined;
1207
1236
  suppressHydrationWarning?: boolean | undefined;
1208
- accessKey?: string | undefined;
1209
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
1237
+ autoFocus?: boolean | undefined;
1210
1238
  contextMenu?: string | undefined;
1211
- draggable?: (boolean | "true" | "false") | undefined;
1212
- hidden?: boolean | undefined;
1213
- lang?: string | undefined;
1214
- nonce?: string | undefined;
1215
1239
  placeholder?: string | undefined;
1216
1240
  spellCheck?: (boolean | "true" | "false") | undefined;
1217
- translate?: "yes" | "no" | undefined;
1218
1241
  radioGroup?: string | undefined;
1219
1242
  about?: string | undefined;
1243
+ content?: string | undefined;
1220
1244
  datatype?: string | undefined;
1221
1245
  inlist?: any;
1222
- prefix?: string | undefined;
1223
1246
  property?: string | undefined;
1224
1247
  resource?: string | undefined;
1248
+ rev?: string | undefined;
1225
1249
  typeof?: string | undefined;
1226
1250
  vocab?: string | undefined;
1227
1251
  autoCapitalize?: string | undefined;
@@ -1236,19 +1260,22 @@ export declare const CloseButton: import("react").ComponentType<Partial<{
1236
1260
  results?: number | undefined;
1237
1261
  security?: string | undefined;
1238
1262
  unselectable?: "on" | "off" | undefined;
1239
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1240
1263
  is?: string | undefined;
1241
1264
  'aria-activedescendant'?: string | undefined;
1242
1265
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
1243
1266
  'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
1267
+ 'aria-braillelabel'?: string | undefined;
1268
+ 'aria-brailleroledescription'?: string | undefined;
1244
1269
  'aria-busy'?: (boolean | "true" | "false") | undefined;
1245
1270
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
1246
1271
  'aria-colcount'?: number | undefined;
1247
1272
  'aria-colindex'?: number | undefined;
1273
+ 'aria-colindextext'?: string | undefined;
1248
1274
  'aria-colspan'?: number | undefined;
1249
1275
  'aria-controls'?: string | undefined;
1250
1276
  'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
1251
1277
  'aria-describedby'?: string | undefined;
1278
+ 'aria-description'?: string | undefined;
1252
1279
  'aria-details'?: string | undefined;
1253
1280
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
1254
1281
  'aria-errormessage'?: string | undefined;
@@ -1256,7 +1283,6 @@ export declare const CloseButton: import("react").ComponentType<Partial<{
1256
1283
  'aria-flowto'?: string | undefined;
1257
1284
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
1258
1285
  'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "listbox" | "tree" | undefined;
1259
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
1260
1286
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
1261
1287
  'aria-keyshortcuts'?: string | undefined;
1262
1288
  'aria-labelledby'?: string | undefined;
@@ -1276,6 +1302,7 @@ export declare const CloseButton: import("react").ComponentType<Partial<{
1276
1302
  'aria-roledescription'?: string | undefined;
1277
1303
  'aria-rowcount'?: number | undefined;
1278
1304
  'aria-rowindex'?: number | undefined;
1305
+ 'aria-rowindextext'?: string | undefined;
1279
1306
  'aria-rowspan'?: number | undefined;
1280
1307
  'aria-selected'?: (boolean | "true" | "false") | undefined;
1281
1308
  'aria-setsize'?: number | undefined;
@@ -1284,9 +1311,8 @@ export declare const CloseButton: import("react").ComponentType<Partial<{
1284
1311
  'aria-valuemin'?: number | undefined;
1285
1312
  'aria-valuenow'?: number | undefined;
1286
1313
  'aria-valuetext'?: string | undefined;
1287
- children?: import("react").ReactNode;
1288
1314
  dangerouslySetInnerHTML?: {
1289
- __html: string;
1315
+ __html: string | TrustedHTML;
1290
1316
  } | undefined;
1291
1317
  onCopy?: import("react").ClipboardEventHandler<import("button/src").CloseButton> | undefined;
1292
1318
  onCopyCapture?: import("react").ClipboardEventHandler<import("button/src").CloseButton> | undefined;
@@ -1459,7 +1485,6 @@ export declare const CloseButton: import("react").ComponentType<Partial<{
1459
1485
  label?: string | undefined;
1460
1486
  href?: string | undefined;
1461
1487
  target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
1462
- rel?: string | undefined;
1463
1488
  ariaHidden: string | null;
1464
1489
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
1465
1490
  blur: () => void;
@@ -1475,7 +1500,16 @@ export declare const CloseButton: import("react").ComponentType<Partial<{
1475
1500
  slotHasContent: boolean;
1476
1501
  readonly childNodes: NodeListOf<ChildNode>;
1477
1502
  active: boolean;
1478
- variant: "" | import("button/src").ButtonStatics;
1503
+ readonly renderRoot: HTMLElement | ShadowRoot;
1504
+ isUpdatePending: boolean;
1505
+ hasUpdated: boolean;
1506
+ addController: (controller: import("lit").ReactiveController) => void;
1507
+ removeController: (controller: import("lit").ReactiveController) => void;
1508
+ connectedCallback: () => void;
1509
+ disconnectedCallback: () => void;
1510
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
1511
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
1512
+ readonly updateComplete: Promise<boolean>;
1479
1513
  readonly accessKeyLabel: string;
1480
1514
  autocapitalize: string;
1481
1515
  inert: boolean;
@@ -1767,19 +1801,11 @@ export declare const CloseButton: import("react").ComponentType<Partial<{
1767
1801
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1768
1802
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1769
1803
  readonly dataset: DOMStringMap;
1804
+ variant: "" | import("button/src").ButtonStatics;
1805
+ static: "white" | "black" | undefined;
1770
1806
  readonly focusElement: HTMLElement;
1771
1807
  renderAnchor: () => import("lit-html").TemplateResult<2 | 1>;
1772
- connectedCallback: () => void;
1773
1808
  readonly renderOptions: import("lit-html").RenderOptions;
1774
- disconnectedCallback: () => void;
1775
- readonly renderRoot: HTMLElement | ShadowRoot;
1776
- isUpdatePending: boolean;
1777
- hasUpdated: boolean;
1778
- addController: (controller: import("lit").ReactiveController) => void;
1779
- removeController: (controller: import("lit").ReactiveController) => void;
1780
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
1781
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
1782
- readonly updateComplete: Promise<boolean>;
1783
1809
  isLTR: boolean;
1784
1810
  hasVisibleFocusInTree: () => boolean;
1785
1811
  manageTextObservedSlot: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/button",
3
- "version": "0.34.1-rc.0+1647bfed5",
3
+ "version": "0.35.1-rc.15+9b76319e4",
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/button": "^0.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/button": "^0.35.1-rc.15+9b76319e4"
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": "9b76319e4f1cc7cb0dd03e9d9debf544e5bed4e9"
44
44
  }