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