Skip to content

Commit f2ea013

Browse files
committed
chore: reverting references to storageManager icon
1 parent 6a2b316 commit f2ea013

File tree

3 files changed

+16
-19
lines changed

3 files changed

+16
-19
lines changed

docs/src/pages/[platform]/theming/icons/IconSwitcher.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ const iconMap: Record<string, IconsContextInterface> = {
6767
error: <FiAlertCircle />,
6868
info: <FiInfo />,
6969
},
70-
fileUploader: {
71-
upload: <FiUploadCloud />,
72-
},
7370
passwordField: {
7471
visibility: <FiEye />,
7572
visibilityOff: <FiEyeOff />,
@@ -88,6 +85,9 @@ const iconMap: Record<string, IconsContextInterface> = {
8885
add: <FiPlus />,
8986
remove: <FiMinus />,
9087
},
88+
storageManager: {
89+
upload: <FiUploadCloud />,
90+
},
9191
},
9292
hi: {
9393
alert: {
@@ -100,9 +100,6 @@ const iconMap: Record<string, IconsContextInterface> = {
100100
checked: <HiCheck />,
101101
indeterminate: <HiMinus />,
102102
},
103-
fileUploader: {
104-
upload: <HiUpload />,
105-
},
106103
passwordField: {
107104
visibility: <HiEye />,
108105
visibilityOff: <HiEyeOff />,
@@ -121,6 +118,9 @@ const iconMap: Record<string, IconsContextInterface> = {
121118
add: <HiPlus />,
122119
remove: <HiMinus />,
123120
},
121+
storageManager: {
122+
upload: <HiUpload />,
123+
},
124124
},
125125
fc: {
126126
alert: {
@@ -130,9 +130,6 @@ const iconMap: Record<string, IconsContextInterface> = {
130130
info: <FcInfo />,
131131
close: <FcMinus />,
132132
},
133-
fileUploader: {
134-
upload: <FcUpload />,
135-
},
136133
passwordField: {
137134
visibility: <FcKey />,
138135
visibilityOff: <FcLock />,
@@ -151,6 +148,9 @@ const iconMap: Record<string, IconsContextInterface> = {
151148
add: <FcPlus />,
152149
remove: <FcMinus />,
153150
},
151+
storageManager: {
152+
upload: <FcUpload />,
153+
},
154154
},
155155
default: {},
156156
};

docs/src/pages/[platform]/theming/icons/react.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,6 @@ const icons = {
6464
field: {
6565
clear: () => </>,
6666
},
67-
fileUploader: {
68-
upload: () => </>,
69-
remove: () => </>,
70-
error: () => </>,
71-
success: () => </>,
72-
file: () => </>,
73-
},
7467
menu: {
7568
menu: () => </>,
7669
},
@@ -96,6 +89,13 @@ const icons = {
9689
add: () => </>,
9790
remove: () => </>,
9891
}
92+
storageManager: {
93+
upload: () => </>,
94+
remove: () => </>,
95+
error: () => </>,
96+
success: () => </>,
97+
file: () => </>,
98+
},
9999
}
100100
```
101101
</ExampleCode>

packages/react/src/primitives/Icon/context/IconsContext.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ export type IconsContextInterface = {
99
alert?: ComponentIcons<'close' | 'info' | 'error' | 'success' | 'warning'>;
1010
checkbox?: ComponentIcons<'indeterminate' | 'checked'>;
1111
field?: ComponentIcons<'clear'>;
12-
fileUploader?: ComponentIcons<
13-
'upload' | 'remove' | 'error' | 'success' | 'file'
14-
>;
1512
menu?: ComponentIcons<'menu'>;
1613
message?: ComponentIcons<'close' | 'info' | 'error' | 'success' | 'warning'>;
1714
pagination?: ComponentIcons<'previous' | 'next'>;

0 commit comments

Comments
 (0)