@mxenabled/mx-icons 1.0.0 → 1.2.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/README.md +4 -4
- package/dist/index.d.ts +27 -0
- package/dist/index.es.js +150 -132
- package/dist/index.es.js.map +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -11,8 +11,8 @@ running a script that will build new React components for the added icons.
|
|
|
11
11
|
|
|
12
12
|
```json
|
|
13
13
|
{
|
|
14
|
-
"weight":
|
|
15
|
-
"size":
|
|
14
|
+
"weight": 400,
|
|
15
|
+
"size": 24,
|
|
16
16
|
"material_icon_type": "materialsymbolsrounded",
|
|
17
17
|
"material_icons": [
|
|
18
18
|
"account_balance",
|
|
@@ -24,7 +24,7 @@ running a script that will build new React components for the added icons.
|
|
|
24
24
|
}
|
|
25
25
|
```
|
|
26
26
|
- `weight` - The line thickness to use for the material symbols `[100-700]`
|
|
27
|
-
- `size` - The
|
|
27
|
+
- `size` - The optical DPS size `[20, 24, 40, 48]`
|
|
28
28
|
- `material_icon_type` - The type of icons `[materialsymbolsoutlined, materialsymbolsrounded, materialsymbolssharp]`
|
|
29
29
|
- `material_icons` - A list of material icon names to include in the library
|
|
30
30
|
|
|
@@ -62,7 +62,7 @@ directly using the named icon component `<AccountBalance />`
|
|
|
62
62
|
- name (required) - material symbol name in pascal_case
|
|
63
63
|
- size (optional) - The font size of the icon (Defaults to `20`)
|
|
64
64
|
- sx (optional) - MUI SX Prop
|
|
65
|
-
- weight (optional) - DEPRECATED - Weight is hardcoded in config (Defaults to `
|
|
65
|
+
- weight (optional) - DEPRECATED - Weight is hardcoded in config (Defaults to `400`)
|
|
66
66
|
|
|
67
67
|
##### Named icon component
|
|
68
68
|
```tsx
|
package/dist/index.d.ts
CHANGED
|
@@ -8,10 +8,14 @@ export declare const Add: ({ color, filled, size, sx }: MxIconProps) => JSX.Elem
|
|
|
8
8
|
|
|
9
9
|
export declare const AddBox: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
10
10
|
|
|
11
|
+
export declare const AirplaneTicket: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
12
|
+
|
|
11
13
|
export declare const ArrowBack: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
12
14
|
|
|
13
15
|
export declare const Article: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
14
16
|
|
|
17
|
+
export declare const AttachMoney: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
18
|
+
|
|
15
19
|
export declare const BarChart: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
16
20
|
|
|
17
21
|
export declare const BidLandscape: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
@@ -48,10 +52,14 @@ export declare const DarkMode: ({ color, filled, size, sx }: MxIconProps) => JSX
|
|
|
48
52
|
|
|
49
53
|
export declare const Delete: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
50
54
|
|
|
55
|
+
export declare const DesktopWindows: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
56
|
+
|
|
51
57
|
export declare const Diamond: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
52
58
|
|
|
53
59
|
export declare const DirectionsCar: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
54
60
|
|
|
61
|
+
export declare const EcgHeart: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
62
|
+
|
|
55
63
|
export declare const Edit: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
56
64
|
|
|
57
65
|
export declare const Equal: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
@@ -85,8 +93,10 @@ export declare const IconList: {
|
|
|
85
93
|
account_balance: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
86
94
|
add: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
87
95
|
add_box: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
96
|
+
airplane_ticket: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
88
97
|
arrow_back: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
89
98
|
article: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
99
|
+
attach_money: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
90
100
|
bar_chart: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
91
101
|
bid_landscape: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
92
102
|
bubble_chart: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
@@ -105,8 +115,10 @@ export declare const IconList: {
|
|
|
105
115
|
currency_exchange: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
106
116
|
dark_mode: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
107
117
|
delete: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
118
|
+
desktop_windows: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
108
119
|
diamond: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
109
120
|
directions_car: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
121
|
+
ecg_heart: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
110
122
|
edit: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
111
123
|
equal: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
112
124
|
error: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
@@ -128,12 +140,17 @@ export declare const IconList: {
|
|
|
128
140
|
menu: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
129
141
|
monetization_on: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
130
142
|
monitor_heart: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
143
|
+
mountain_flag: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
144
|
+
note_stack: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
131
145
|
notifications: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
132
146
|
open_in_new: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
133
147
|
paid: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
148
|
+
payments: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
149
|
+
person: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
134
150
|
photo_camera: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
135
151
|
remove: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
136
152
|
savings: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
153
|
+
school: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
137
154
|
search: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
138
155
|
sell: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
139
156
|
settings: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
@@ -170,6 +187,8 @@ export declare const MonetizationOn: ({ color, filled, size, sx }: MxIconProps)
|
|
|
170
187
|
|
|
171
188
|
export declare const MonitorHeart: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
172
189
|
|
|
190
|
+
export declare const MountainFlag: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
191
|
+
|
|
173
192
|
/**
|
|
174
193
|
* @filled - Use filled variant if true
|
|
175
194
|
* @size - The size of the icon
|
|
@@ -179,18 +198,26 @@ declare interface MxIconProps extends IconProps_3 {
|
|
|
179
198
|
size?: number;
|
|
180
199
|
}
|
|
181
200
|
|
|
201
|
+
export declare const NoteStack: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
202
|
+
|
|
182
203
|
export declare const Notifications: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
183
204
|
|
|
184
205
|
export declare const OpenInNew: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
185
206
|
|
|
186
207
|
export declare const Paid: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
187
208
|
|
|
209
|
+
export declare const Payments: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
210
|
+
|
|
211
|
+
export declare const Person: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
212
|
+
|
|
188
213
|
export declare const PhotoCamera: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
189
214
|
|
|
190
215
|
export declare const Remove: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
191
216
|
|
|
192
217
|
export declare const Savings: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
193
218
|
|
|
219
|
+
export declare const School: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
220
|
+
|
|
194
221
|
export declare const Search: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|
|
195
222
|
|
|
196
223
|
export declare const Sell: ({ color, filled, size, sx }: MxIconProps) => JSX.Element;
|