@swc-react/icons 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.
- package/next.d.ts +73 -54
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -1,36 +1,43 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
export declare const IconsLarge: import("react").ComponentType<Partial<{
|
|
3
4
|
dir?: string | undefined;
|
|
4
5
|
slot?: string | undefined;
|
|
6
|
+
accessKey?: string | undefined;
|
|
7
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
8
|
+
hidden?: boolean | undefined;
|
|
9
|
+
lang?: string | undefined;
|
|
10
|
+
title?: string | undefined;
|
|
11
|
+
translate?: "yes" | "no" | undefined;
|
|
12
|
+
className?: string | undefined;
|
|
13
|
+
id?: string | undefined;
|
|
14
|
+
prefix?: string | undefined;
|
|
15
|
+
children?: import("react").ReactNode;
|
|
16
|
+
style?: import("react").CSSProperties | undefined;
|
|
17
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
18
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
19
|
+
nonce?: string | undefined;
|
|
20
|
+
tabIndex?: number | undefined;
|
|
5
21
|
role?: import("react").AriaRole | undefined;
|
|
6
22
|
'aria-label'?: string | undefined;
|
|
7
23
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
8
|
-
style?: import("react").CSSProperties | undefined;
|
|
9
|
-
title?: string | undefined;
|
|
10
24
|
defaultChecked?: boolean | undefined;
|
|
11
25
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
12
26
|
suppressContentEditableWarning?: boolean | undefined;
|
|
13
27
|
suppressHydrationWarning?: boolean | undefined;
|
|
14
|
-
|
|
15
|
-
className?: string | undefined;
|
|
16
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
28
|
+
autoFocus?: boolean | undefined;
|
|
17
29
|
contextMenu?: string | undefined;
|
|
18
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
19
|
-
hidden?: boolean | undefined;
|
|
20
|
-
id?: string | undefined;
|
|
21
|
-
lang?: string | undefined;
|
|
22
|
-
nonce?: string | undefined;
|
|
23
30
|
placeholder?: string | undefined;
|
|
24
31
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
25
|
-
tabIndex?: number | undefined;
|
|
26
|
-
translate?: "yes" | "no" | undefined;
|
|
27
32
|
radioGroup?: string | undefined;
|
|
28
33
|
about?: string | undefined;
|
|
34
|
+
content?: string | undefined;
|
|
29
35
|
datatype?: string | undefined;
|
|
30
36
|
inlist?: any;
|
|
31
|
-
prefix?: string | undefined;
|
|
32
37
|
property?: string | undefined;
|
|
38
|
+
rel?: string | undefined;
|
|
33
39
|
resource?: string | undefined;
|
|
40
|
+
rev?: string | undefined;
|
|
34
41
|
typeof?: string | undefined;
|
|
35
42
|
vocab?: string | undefined;
|
|
36
43
|
autoCapitalize?: string | undefined;
|
|
@@ -45,19 +52,22 @@ export declare const IconsLarge: import("react").ComponentType<Partial<{
|
|
|
45
52
|
results?: number | undefined;
|
|
46
53
|
security?: string | undefined;
|
|
47
54
|
unselectable?: "on" | "off" | undefined;
|
|
48
|
-
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
49
55
|
is?: string | undefined;
|
|
50
56
|
'aria-activedescendant'?: string | undefined;
|
|
51
57
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
52
58
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
59
|
+
'aria-braillelabel'?: string | undefined;
|
|
60
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
53
61
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
54
62
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
55
63
|
'aria-colcount'?: number | undefined;
|
|
56
64
|
'aria-colindex'?: number | undefined;
|
|
65
|
+
'aria-colindextext'?: string | undefined;
|
|
57
66
|
'aria-colspan'?: number | undefined;
|
|
58
67
|
'aria-controls'?: string | undefined;
|
|
59
68
|
'aria-current'?: boolean | "true" | "false" | "time" | "page" | "step" | "location" | "date" | undefined;
|
|
60
69
|
'aria-describedby'?: string | undefined;
|
|
70
|
+
'aria-description'?: string | undefined;
|
|
61
71
|
'aria-details'?: string | undefined;
|
|
62
72
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
63
73
|
'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
@@ -85,6 +95,7 @@ export declare const IconsLarge: 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 IconsLarge: 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("icons/src").IconsLarge> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("icons/src").IconsLarge> | undefined;
|
|
@@ -270,7 +280,16 @@ export declare const IconsLarge: import("react").ComponentType<Partial<{
|
|
|
270
280
|
(options?: ScrollToOptions | undefined): void;
|
|
271
281
|
(x: number, y: number): void;
|
|
272
282
|
};
|
|
273
|
-
|
|
283
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
284
|
+
isUpdatePending: boolean;
|
|
285
|
+
hasUpdated: boolean;
|
|
286
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
287
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
288
|
+
connectedCallback: () => void;
|
|
289
|
+
disconnectedCallback: () => void;
|
|
290
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
291
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
292
|
+
readonly updateComplete: Promise<boolean>;
|
|
274
293
|
readonly accessKeyLabel: string;
|
|
275
294
|
autocapitalize: string;
|
|
276
295
|
inert: boolean;
|
|
@@ -445,6 +464,7 @@ export declare const IconsLarge: import("react").ComponentType<Partial<{
|
|
|
445
464
|
ariaValueMin: string | null;
|
|
446
465
|
ariaValueNow: string | null;
|
|
447
466
|
ariaValueText: string | null;
|
|
467
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
448
468
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
449
469
|
after: (...nodes: (string | Node)[]) => void;
|
|
450
470
|
before: (...nodes: (string | Node)[]) => void;
|
|
@@ -569,50 +589,46 @@ export declare const IconsLarge: import("react").ComponentType<Partial<{
|
|
|
569
589
|
updated: (changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>) => void;
|
|
570
590
|
applyIconToElement: (el: HTMLElement, icon: string, _size: string, label: string) => Promise<void>;
|
|
571
591
|
getIconList: () => string[];
|
|
572
|
-
connectedCallback: () => void;
|
|
573
|
-
disconnectedCallback: () => void;
|
|
574
592
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
575
|
-
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
576
|
-
isUpdatePending: boolean;
|
|
577
|
-
hasUpdated: boolean;
|
|
578
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
579
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
580
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
581
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
582
|
-
readonly updateComplete: Promise<boolean>;
|
|
583
593
|
} & {}> & import("react").RefAttributes<import("icons/src").IconsLarge>>;
|
|
584
594
|
export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
585
595
|
dir?: string | undefined;
|
|
586
596
|
slot?: string | undefined;
|
|
597
|
+
accessKey?: string | undefined;
|
|
598
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
599
|
+
hidden?: boolean | undefined;
|
|
600
|
+
lang?: string | undefined;
|
|
601
|
+
title?: string | undefined;
|
|
602
|
+
translate?: "yes" | "no" | undefined;
|
|
603
|
+
className?: string | undefined;
|
|
604
|
+
id?: string | undefined;
|
|
605
|
+
prefix?: string | undefined;
|
|
606
|
+
children?: import("react").ReactNode;
|
|
607
|
+
style?: import("react").CSSProperties | undefined;
|
|
608
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
609
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
610
|
+
nonce?: string | undefined;
|
|
611
|
+
tabIndex?: number | undefined;
|
|
587
612
|
role?: import("react").AriaRole | undefined;
|
|
588
613
|
'aria-label'?: string | undefined;
|
|
589
614
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
590
|
-
style?: import("react").CSSProperties | undefined;
|
|
591
|
-
title?: string | undefined;
|
|
592
615
|
defaultChecked?: boolean | undefined;
|
|
593
616
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
594
617
|
suppressContentEditableWarning?: boolean | undefined;
|
|
595
618
|
suppressHydrationWarning?: boolean | undefined;
|
|
596
|
-
|
|
597
|
-
className?: string | undefined;
|
|
598
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
619
|
+
autoFocus?: boolean | undefined;
|
|
599
620
|
contextMenu?: string | undefined;
|
|
600
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
601
|
-
hidden?: boolean | undefined;
|
|
602
|
-
id?: string | undefined;
|
|
603
|
-
lang?: string | undefined;
|
|
604
|
-
nonce?: string | undefined;
|
|
605
621
|
placeholder?: string | undefined;
|
|
606
622
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
607
|
-
tabIndex?: number | undefined;
|
|
608
|
-
translate?: "yes" | "no" | undefined;
|
|
609
623
|
radioGroup?: string | undefined;
|
|
610
624
|
about?: string | undefined;
|
|
625
|
+
content?: string | undefined;
|
|
611
626
|
datatype?: string | undefined;
|
|
612
627
|
inlist?: any;
|
|
613
|
-
prefix?: string | undefined;
|
|
614
628
|
property?: string | undefined;
|
|
629
|
+
rel?: string | undefined;
|
|
615
630
|
resource?: string | undefined;
|
|
631
|
+
rev?: string | undefined;
|
|
616
632
|
typeof?: string | undefined;
|
|
617
633
|
vocab?: string | undefined;
|
|
618
634
|
autoCapitalize?: string | undefined;
|
|
@@ -627,19 +643,22 @@ export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
|
627
643
|
results?: number | undefined;
|
|
628
644
|
security?: string | undefined;
|
|
629
645
|
unselectable?: "on" | "off" | undefined;
|
|
630
|
-
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
631
646
|
is?: string | undefined;
|
|
632
647
|
'aria-activedescendant'?: string | undefined;
|
|
633
648
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
634
649
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
650
|
+
'aria-braillelabel'?: string | undefined;
|
|
651
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
635
652
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
636
653
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
637
654
|
'aria-colcount'?: number | undefined;
|
|
638
655
|
'aria-colindex'?: number | undefined;
|
|
656
|
+
'aria-colindextext'?: string | undefined;
|
|
639
657
|
'aria-colspan'?: number | undefined;
|
|
640
658
|
'aria-controls'?: string | undefined;
|
|
641
659
|
'aria-current'?: boolean | "true" | "false" | "time" | "page" | "step" | "location" | "date" | undefined;
|
|
642
660
|
'aria-describedby'?: string | undefined;
|
|
661
|
+
'aria-description'?: string | undefined;
|
|
643
662
|
'aria-details'?: string | undefined;
|
|
644
663
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
645
664
|
'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
@@ -667,6 +686,7 @@ export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
|
667
686
|
'aria-roledescription'?: string | undefined;
|
|
668
687
|
'aria-rowcount'?: number | undefined;
|
|
669
688
|
'aria-rowindex'?: number | undefined;
|
|
689
|
+
'aria-rowindextext'?: string | undefined;
|
|
670
690
|
'aria-rowspan'?: number | undefined;
|
|
671
691
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
672
692
|
'aria-setsize'?: number | undefined;
|
|
@@ -675,9 +695,8 @@ export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
|
675
695
|
'aria-valuemin'?: number | undefined;
|
|
676
696
|
'aria-valuenow'?: number | undefined;
|
|
677
697
|
'aria-valuetext'?: string | undefined;
|
|
678
|
-
children?: import("react").ReactNode;
|
|
679
698
|
dangerouslySetInnerHTML?: {
|
|
680
|
-
__html: string;
|
|
699
|
+
__html: string | TrustedHTML;
|
|
681
700
|
} | undefined;
|
|
682
701
|
onCopy?: import("react").ClipboardEventHandler<import("icons/src").IconsMedium> | undefined;
|
|
683
702
|
onCopyCapture?: import("react").ClipboardEventHandler<import("icons/src").IconsMedium> | undefined;
|
|
@@ -852,7 +871,16 @@ export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
|
852
871
|
(options?: ScrollToOptions | undefined): void;
|
|
853
872
|
(x: number, y: number): void;
|
|
854
873
|
};
|
|
855
|
-
|
|
874
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
875
|
+
isUpdatePending: boolean;
|
|
876
|
+
hasUpdated: boolean;
|
|
877
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
878
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
879
|
+
connectedCallback: () => void;
|
|
880
|
+
disconnectedCallback: () => void;
|
|
881
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
882
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
883
|
+
readonly updateComplete: Promise<boolean>;
|
|
856
884
|
readonly accessKeyLabel: string;
|
|
857
885
|
autocapitalize: string;
|
|
858
886
|
inert: boolean;
|
|
@@ -1027,6 +1055,7 @@ export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
|
1027
1055
|
ariaValueMin: string | null;
|
|
1028
1056
|
ariaValueNow: string | null;
|
|
1029
1057
|
ariaValueText: string | null;
|
|
1058
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
1030
1059
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
1031
1060
|
after: (...nodes: (string | Node)[]) => void;
|
|
1032
1061
|
before: (...nodes: (string | Node)[]) => void;
|
|
@@ -1151,15 +1180,5 @@ export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
|
1151
1180
|
updated: (changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>) => void;
|
|
1152
1181
|
applyIconToElement: (el: HTMLElement, icon: string, _size: string, label: string) => Promise<void>;
|
|
1153
1182
|
getIconList: () => string[];
|
|
1154
|
-
connectedCallback: () => void;
|
|
1155
|
-
disconnectedCallback: () => void;
|
|
1156
1183
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
1157
|
-
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
1158
|
-
isUpdatePending: boolean;
|
|
1159
|
-
hasUpdated: boolean;
|
|
1160
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
1161
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
1162
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
1163
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
1164
|
-
readonly updateComplete: Promise<boolean>;
|
|
1165
1184
|
} & {}> & import("react").RefAttributes<import("icons/src").IconsMedium>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/icons",
|
|
3
|
-
"version": "0.
|
|
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/icons": "^0.
|
|
33
|
+
"@spectrum-web-components/icons": "^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": "
|
|
43
|
+
"gitHead": "9b76319e4f1cc7cb0dd03e9d9debf544e5bed4e9"
|
|
44
44
|
}
|