@swc-react/icons 0.35.1-rc.34 → 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.
- package/next.d.ts +52 -52
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -3,37 +3,35 @@
|
|
|
3
3
|
export declare const IconsLarge: import("react").ComponentType<Partial<{
|
|
4
4
|
dir?: string | undefined;
|
|
5
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;
|
|
21
6
|
role?: import("react").AriaRole | undefined;
|
|
22
7
|
'aria-label'?: string | undefined;
|
|
23
8
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
9
|
+
style?: import("react").CSSProperties | undefined;
|
|
10
|
+
title?: string | undefined;
|
|
24
11
|
defaultChecked?: boolean | undefined;
|
|
25
12
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
26
13
|
suppressContentEditableWarning?: boolean | undefined;
|
|
27
14
|
suppressHydrationWarning?: boolean | undefined;
|
|
15
|
+
accessKey?: string | undefined;
|
|
28
16
|
autoFocus?: boolean | undefined;
|
|
17
|
+
className?: string | undefined;
|
|
18
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
29
19
|
contextMenu?: string | undefined;
|
|
20
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
21
|
+
hidden?: boolean | undefined;
|
|
22
|
+
id?: string | undefined;
|
|
23
|
+
lang?: string | undefined;
|
|
24
|
+
nonce?: string | undefined;
|
|
30
25
|
placeholder?: string | undefined;
|
|
31
26
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
27
|
+
tabIndex?: number | undefined;
|
|
28
|
+
translate?: "yes" | "no" | undefined;
|
|
32
29
|
radioGroup?: string | undefined;
|
|
33
30
|
about?: string | undefined;
|
|
34
31
|
content?: string | undefined;
|
|
35
32
|
datatype?: string | undefined;
|
|
36
33
|
inlist?: any;
|
|
34
|
+
prefix?: string | undefined;
|
|
37
35
|
property?: string | undefined;
|
|
38
36
|
rel?: string | undefined;
|
|
39
37
|
resource?: string | undefined;
|
|
@@ -52,6 +50,7 @@ export declare const IconsLarge: import("react").ComponentType<Partial<{
|
|
|
52
50
|
results?: number | undefined;
|
|
53
51
|
security?: string | undefined;
|
|
54
52
|
unselectable?: "on" | "off" | undefined;
|
|
53
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
55
54
|
is?: string | undefined;
|
|
56
55
|
'aria-activedescendant'?: string | undefined;
|
|
57
56
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -104,6 +103,7 @@ export declare const IconsLarge: import("react").ComponentType<Partial<{
|
|
|
104
103
|
'aria-valuemin'?: number | undefined;
|
|
105
104
|
'aria-valuenow'?: number | undefined;
|
|
106
105
|
'aria-valuetext'?: string | undefined;
|
|
106
|
+
children?: import("react").ReactNode;
|
|
107
107
|
dangerouslySetInnerHTML?: {
|
|
108
108
|
__html: string | TrustedHTML;
|
|
109
109
|
} | undefined;
|
|
@@ -280,16 +280,7 @@ export declare const IconsLarge: import("react").ComponentType<Partial<{
|
|
|
280
280
|
(options?: ScrollToOptions | undefined): void;
|
|
281
281
|
(x: number, y: number): void;
|
|
282
282
|
};
|
|
283
|
-
|
|
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>;
|
|
283
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
293
284
|
readonly accessKeyLabel: string;
|
|
294
285
|
autocapitalize: string;
|
|
295
286
|
inert: boolean;
|
|
@@ -464,7 +455,6 @@ export declare const IconsLarge: import("react").ComponentType<Partial<{
|
|
|
464
455
|
ariaValueMin: string | null;
|
|
465
456
|
ariaValueNow: string | null;
|
|
466
457
|
ariaValueText: string | null;
|
|
467
|
-
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
468
458
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
469
459
|
after: (...nodes: (string | Node)[]) => void;
|
|
470
460
|
before: (...nodes: (string | Node)[]) => void;
|
|
@@ -589,42 +579,50 @@ export declare const IconsLarge: import("react").ComponentType<Partial<{
|
|
|
589
579
|
updated: (changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>) => void;
|
|
590
580
|
applyIconToElement: (el: HTMLElement, icon: string, _size: string, label: string) => Promise<void>;
|
|
591
581
|
getIconList: () => string[];
|
|
582
|
+
connectedCallback: () => void;
|
|
583
|
+
disconnectedCallback: () => void;
|
|
592
584
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
585
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
586
|
+
isUpdatePending: boolean;
|
|
587
|
+
hasUpdated: boolean;
|
|
588
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
589
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
590
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
591
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
592
|
+
readonly updateComplete: Promise<boolean>;
|
|
593
593
|
} & {}> & import("react").RefAttributes<import("icons/src").IconsLarge>>;
|
|
594
594
|
export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
595
595
|
dir?: string | undefined;
|
|
596
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;
|
|
612
597
|
role?: import("react").AriaRole | undefined;
|
|
613
598
|
'aria-label'?: string | undefined;
|
|
614
599
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
600
|
+
style?: import("react").CSSProperties | undefined;
|
|
601
|
+
title?: string | undefined;
|
|
615
602
|
defaultChecked?: boolean | undefined;
|
|
616
603
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
617
604
|
suppressContentEditableWarning?: boolean | undefined;
|
|
618
605
|
suppressHydrationWarning?: boolean | undefined;
|
|
606
|
+
accessKey?: string | undefined;
|
|
619
607
|
autoFocus?: boolean | undefined;
|
|
608
|
+
className?: string | undefined;
|
|
609
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
620
610
|
contextMenu?: string | undefined;
|
|
611
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
612
|
+
hidden?: boolean | undefined;
|
|
613
|
+
id?: string | undefined;
|
|
614
|
+
lang?: string | undefined;
|
|
615
|
+
nonce?: string | undefined;
|
|
621
616
|
placeholder?: string | undefined;
|
|
622
617
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
618
|
+
tabIndex?: number | undefined;
|
|
619
|
+
translate?: "yes" | "no" | undefined;
|
|
623
620
|
radioGroup?: string | undefined;
|
|
624
621
|
about?: string | undefined;
|
|
625
622
|
content?: string | undefined;
|
|
626
623
|
datatype?: string | undefined;
|
|
627
624
|
inlist?: any;
|
|
625
|
+
prefix?: string | undefined;
|
|
628
626
|
property?: string | undefined;
|
|
629
627
|
rel?: string | undefined;
|
|
630
628
|
resource?: string | undefined;
|
|
@@ -643,6 +641,7 @@ export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
|
643
641
|
results?: number | undefined;
|
|
644
642
|
security?: string | undefined;
|
|
645
643
|
unselectable?: "on" | "off" | undefined;
|
|
644
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
646
645
|
is?: string | undefined;
|
|
647
646
|
'aria-activedescendant'?: string | undefined;
|
|
648
647
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -695,6 +694,7 @@ export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
|
695
694
|
'aria-valuemin'?: number | undefined;
|
|
696
695
|
'aria-valuenow'?: number | undefined;
|
|
697
696
|
'aria-valuetext'?: string | undefined;
|
|
697
|
+
children?: import("react").ReactNode;
|
|
698
698
|
dangerouslySetInnerHTML?: {
|
|
699
699
|
__html: string | TrustedHTML;
|
|
700
700
|
} | undefined;
|
|
@@ -871,16 +871,7 @@ export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
|
871
871
|
(options?: ScrollToOptions | undefined): void;
|
|
872
872
|
(x: number, y: number): void;
|
|
873
873
|
};
|
|
874
|
-
|
|
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>;
|
|
874
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
884
875
|
readonly accessKeyLabel: string;
|
|
885
876
|
autocapitalize: string;
|
|
886
877
|
inert: boolean;
|
|
@@ -1055,7 +1046,6 @@ export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
|
1055
1046
|
ariaValueMin: string | null;
|
|
1056
1047
|
ariaValueNow: string | null;
|
|
1057
1048
|
ariaValueText: string | null;
|
|
1058
|
-
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
1059
1049
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
1060
1050
|
after: (...nodes: (string | Node)[]) => void;
|
|
1061
1051
|
before: (...nodes: (string | Node)[]) => void;
|
|
@@ -1180,5 +1170,15 @@ export declare const IconsMedium: import("react").ComponentType<Partial<{
|
|
|
1180
1170
|
updated: (changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>) => void;
|
|
1181
1171
|
applyIconToElement: (el: HTMLElement, icon: string, _size: string, label: string) => Promise<void>;
|
|
1182
1172
|
getIconList: () => string[];
|
|
1173
|
+
connectedCallback: () => void;
|
|
1174
|
+
disconnectedCallback: () => void;
|
|
1183
1175
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
1176
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
1177
|
+
isUpdatePending: boolean;
|
|
1178
|
+
hasUpdated: boolean;
|
|
1179
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
1180
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
1181
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
1182
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
1183
|
+
readonly updateComplete: Promise<boolean>;
|
|
1184
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.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/icons": "^0.
|
|
33
|
+
"@spectrum-web-components/icons": "^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": "
|
|
43
|
+
"gitHead": "a532ff8a410abeefb54d9638a2316ae82570566e"
|
|
44
44
|
}
|