chili-ui 0.0.1 → 0.1.1

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.
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { Icons } from './types';
3
+ export declare const ICON_PATHS: Record<Icons, React.ReactNode[]>;
@@ -0,0 +1,78 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icons } from './types';
3
+ export const ICON_PATHS = {
4
+ [Icons.Calendar]: [
5
+ _jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }, "0"),
6
+ _jsx("line", { x1: "3", y1: "10", x2: "21", y2: "10" }, "1"),
7
+ _jsx("line", { x1: "16", y1: "2", x2: "16", y2: "6" }, "2"),
8
+ _jsx("line", { x1: "8", y1: "2", x2: "8", y2: "6" }, "3"),
9
+ ],
10
+ [Icons.Check]: [
11
+ _jsx("polyline", { points: "20 6 9 17 4 12" }, "0"),
12
+ ],
13
+ [Icons.CheckCircle]: [
14
+ _jsx("circle", { cx: "12", cy: "12", r: "10" }, "0"),
15
+ _jsx("polyline", { points: "9 12 12 15 17 10" }, "1"),
16
+ ],
17
+ [Icons.CheckSquare]: [
18
+ _jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }, "0"),
19
+ _jsx("polyline", { points: "9 11 12 14 22 4" }, "1"),
20
+ ],
21
+ [Icons.ChevronDown]: [
22
+ _jsx("polyline", { points: "6 9 12 15 18 9" }, "0"),
23
+ ],
24
+ [Icons.ChevronLeft]: [
25
+ _jsx("polyline", { points: "15 18 9 12 15 6" }, "0"),
26
+ ],
27
+ [Icons.ChevronRight]: [
28
+ _jsx("polyline", { points: "9 18 15 12 9 6" }, "0"),
29
+ ],
30
+ [Icons.ChevronUp]: [
31
+ _jsx("polyline", { points: "18 15 12 9 6 15" }, "0"),
32
+ ],
33
+ [Icons.ChevronsLeft]: [
34
+ _jsx("polyline", { points: "11 17 6 12 11 7" }, "0"),
35
+ _jsx("polyline", { points: "18 17 13 12 18 7" }, "1"),
36
+ ],
37
+ [Icons.ChevronsRight]: [
38
+ _jsx("polyline", { points: "13 17 18 12 13 7" }, "0"),
39
+ _jsx("polyline", { points: "6 17 11 12 6 7" }, "1"),
40
+ ],
41
+ [Icons.Circle]: [
42
+ _jsx("circle", { cx: "12", cy: "12", r: "10" }, "0"),
43
+ ],
44
+ [Icons.Eye]: [
45
+ _jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z" }, "0"),
46
+ _jsx("circle", { cx: "12", cy: "12", r: "3" }, "1"),
47
+ ],
48
+ [Icons.EyeOff]: [
49
+ _jsx("path", { d: "M17.94 17.94A10.94 10.94 0 0 1 12 20c-7 0-11-8-11-8a21.08 21.08 0 0 1 5.07-6.88" }, "0"),
50
+ _jsx("path", { d: "M1 1l22 22" }, "1"),
51
+ ],
52
+ [Icons.Github]: [
53
+ _jsx("path", { d: "M12 2a10 10 0 0 0-3.16 19.49c.5.09.68-.22.68-.48 0-.24-.01-1-.02-1.82-2.78.6-3.37-1.34-3.37-1.34-.45-1.17-1.1-1.48-1.1-1.48-.9-.61.07-.6.07-.6 1 .07 1.53 1.04 1.53 1.04.89 1.52 2.34 1.08 2.91.83.09-.64.35-1.08.63-1.33-2.22-.25-4.55-1.11-4.55-4.94 0-1.09.39-1.98 1.03-2.68-.1-.26-.45-1.3.1-2.71 0 0 .84-.27 2.75 1.03a9.56 9.56 0 0 1 5 0c1.91-1.3 2.75-1.03 2.75-1.03.55 1.41.2 2.45.1 2.71.64.7 1.03 1.59 1.03 2.68 0 3.84-2.34 4.69-4.57 4.94.36.31.69.92.69 1.86 0 1.34-.01 2.42-.01 2.75 0 .27.18.58.69.48A10 10 0 0 0 12 2z" }, "0"),
54
+ ],
55
+ [Icons.Loader]: [
56
+ _jsx("circle", { cx: "12", cy: "12", r: "10" }, "0"),
57
+ ],
58
+ [Icons.MinusSquare]: [
59
+ _jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }, "0"),
60
+ _jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" }, "1"),
61
+ ],
62
+ [Icons.PlusSquare]: [
63
+ _jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }, "0"),
64
+ _jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" }, "1"),
65
+ _jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" }, "2"),
66
+ ],
67
+ [Icons.Square]: [
68
+ _jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }, "0"),
69
+ ],
70
+ [Icons.Star]: [
71
+ _jsx("polygon", { points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" }, "0"),
72
+ ],
73
+ [Icons.X]: [
74
+ _jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }, "0"),
75
+ _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" }, "1"),
76
+ ],
77
+ };
78
+ //# sourceMappingURL=icons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../leda/components/Icon/icons.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,CAAC,MAAM,UAAU,GAAqC;IAC1D,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;QAChB,eAAc,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,IAApD,GAAG,CAAoD;QACjE,eAAc,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,IAAlC,GAAG,CAAkC;QAC/C,eAAc,EAAE,EAAC,I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C;KAC/C;CACF,CAAC"}
@@ -10,12 +10,20 @@ var __rest = (this && this.__rest) || function (s, e) {
10
10
  return t;
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
- import FeatherIcon from 'feather-icons-react';
14
13
  import { useProps } from '../../utils';
14
+ import { ICON_PATHS } from './icons';
15
15
  export const Icon = (props) => {
16
- const _a = useProps(props), { size = 24, shouldRender, stroke = 'currentColor' } = _a, restProps = __rest(_a, ["size", "shouldRender", "stroke"]);
16
+ const _a = useProps(props), { size = 24, shouldRender, stroke = 'currentColor', strokeWidth = 2, strokeOpacity, fill = 'none', icon } = _a, restProps = __rest(_a, ["size", "shouldRender", "stroke", "strokeWidth", "strokeOpacity", "fill", "icon"]);
17
17
  if (shouldRender === false)
18
18
  return null;
19
- return (_jsx(FeatherIcon, Object.assign({ size: size, stroke: stroke }, restProps)));
19
+ const paths = ICON_PATHS[icon];
20
+ if (!paths)
21
+ return null;
22
+ const sanitizedSize = size !== null && size !== void 0 ? size : undefined;
23
+ const sanitizedFill = fill !== null && fill !== void 0 ? fill : undefined;
24
+ const sanitizedStroke = stroke !== null && stroke !== void 0 ? stroke : undefined;
25
+ const sanitizedStrokeWidth = strokeWidth !== null && strokeWidth !== void 0 ? strokeWidth : undefined;
26
+ const sanitizedStrokeOpacity = strokeOpacity !== null && strokeOpacity !== void 0 ? strokeOpacity : undefined;
27
+ return (_jsx("svg", Object.assign({ width: sanitizedSize, height: sanitizedSize, viewBox: "0 0 24 24", fill: sanitizedFill, stroke: sanitizedStroke, strokeWidth: sanitizedStrokeWidth, strokeOpacity: sanitizedStrokeOpacity, strokeLinecap: "round", strokeLinejoin: "round" }, restProps, { children: paths })));
20
28
  };
21
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../leda/components/Icon/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAE9C,OAAO,E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N,MAAM,cAAN,MAAM,GAAI,SAAS,CAAC;IAC5C,MAAM,oBAAoB,GAAG,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,SAAS,CAAC;IACtD,MAAM,sBAAsB,GAAG,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,SAAS,CAAC;IAE1D,OAAO,CACL,4BACE,KAAK,EAAE,aAAa,EACpB,MAAM,EAAE,aAAa,EACrB,OAAO,EAAC,WAAW,EACnB,IAAI,EAAE,aAAa,EACnB,MAAM,EAAE,eAAe,EACvB,WAAW,EAAE,oBAAoB,EACjC,aAAa,EAAE,sBAAsB,EACrC,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,IAClB,SAAS,cAEZ,KAAK,IACF,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -8,293 +8,26 @@ export type IconProps = {
8
8
  strokeOpacity?: number | string | null;
9
9
  strokeWidth?: number | string | null;
10
10
  [x: string]: unknown;
11
- } & Omit<SVGProps<SVGElement>, 'fill' | 'stroke' | 'strokeOpacity' | 'strokeWidth'>;
11
+ } & Omit<SVGProps<SVGSVGElement>, 'fill' | 'stroke' | 'strokeOpacity' | 'strokeWidth'>;
12
12
  export declare enum Icons {
13
- Activity = "activity",
14
- Airplay = "airplay",
15
- AlertCircle = "alert-circle",
16
- AlertOctagon = "alert-octagon",
17
- AlertTriangle = "alert-triangle",
18
- AlignCenter = "align-center",
19
- AlignJustify = "align-justify",
20
- AlignLeft = "align-left",
21
- AlignRight = "align-right",
22
- Anchor = "anchor",
23
- Aperture = "aperture",
24
- Archive = "archive",
25
- ArrowDownCircle = "arrow-down-circle",
26
- ArrowDownLeft = "arrow-down-left",
27
- ArrowDownRight = "arrow-down-right",
28
- ArrowDown = "arrow-down",
29
- ArrowLeftCircle = "arrow-left-circle",
30
- ArrowLeft = "arrow-left",
31
- ArrowRightCircle = "arrow-right-circle",
32
- ArrowRight = "arrow-right",
33
- ArrowUpCircle = "arrow-up-circle",
34
- ArrowUpLeft = "arrow-up-left",
35
- ArrowUpRight = "arrow-up-right",
36
- ArrowUp = "arrow-up",
37
- AtSign = "at-sign",
38
- Award = "award",
39
- BarChart2 = "bar-chart-2",
40
- BarChart = "bar-chart",
41
- BatteryCharging = "battery-charging",
42
- Battery = "battery",
43
- BellOff = "bell-off",
44
- Bell = "bell",
45
- Bluetooth = "bluetooth",
46
- Bold = "bold",
47
- BookOpen = "book-open",
48
- Book = "book",
49
- Bookmark = "bookmark",
50
- Box = "box",
51
- Briefcase = "briefcase",
52
13
  Calendar = "calendar",
53
- CameraOff = "camera-off",
54
- Camera = "camera",
55
- Cast = "cast",
14
+ Check = "check",
56
15
  CheckCircle = "check-circle",
57
16
  CheckSquare = "check-square",
58
- Check = "check",
59
17
  ChevronDown = "chevron-down",
60
18
  ChevronLeft = "chevron-left",
61
19
  ChevronRight = "chevron-right",
62
20
  ChevronUp = "chevron-up",
63
- ChevronsDown = "chevrons-down",
64
21
  ChevronsLeft = "chevrons-left",
65
22
  ChevronsRight = "chevrons-right",
66
- ChevronsUp = "chevrons-up",
67
- Chrome = "chrome",
68
23
  Circle = "circle",
69
- Clipboard = "clipboard",
70
- Clock = "clock",
71
- CloudDrizzle = "cloud-drizzle",
72
- CloudLightning = "cloud-lightning",
73
- CloudOff = "cloud-off",
74
- CloudRain = "cloud-rain",
75
- CloudSnow = "cloud-snow",
76
- Cloud = "cloud",
77
- Code = "code",
78
- Codepen = "codepen",
79
- Codesandbox = "codesandbox",
80
- Coffee = "coffee",
81
- Columns = "columns",
82
- Command = "command",
83
- Compass = "compass",
84
- Copy = "copy",
85
- CornerDownLeft = "corner-down-left",
86
- CornerDownRight = "corner-down-right",
87
- CornerLeftDown = "corner-left-down",
88
- CornerLeftUp = "corner-left-up",
89
- CornerRightDown = "corner-right-down",
90
- CornerRightUp = "corner-right-up",
91
- CornerUpLeft = "corner-up-left",
92
- CornerUpRight = "corner-up-right",
93
- Cpu = "cpu",
94
- CreditCard = "credit-card",
95
- Crop = "crop",
96
- Crosshair = "crosshair",
97
- Database = "database",
98
- Delete = "delete",
99
- Disc = "disc",
100
- DivideCircle = "divide-circle",
101
- DivideSquare = "divide-square",
102
- Divide = "divide",
103
- DollarSign = "dollar-sign",
104
- DownloadCloud = "download-cloud",
105
- Download = "download",
106
- Dribbble = "dribbble",
107
- Droplet = "droplet",
108
- Edit2 = "edit-2",
109
- Edit3 = "edit-3",
110
- Edit = "edit",
111
- ExternalLink = "external-link",
112
- EyeOff = "eye-off",
113
24
  Eye = "eye",
114
- Facebook = "facebook",
115
- FastForward = "fast-forward",
116
- Feather = "feather",
117
- Figma = "figma",
118
- FileMinus = "file-minus",
119
- FilePlus = "file-plus",
120
- FileText = "file-text",
121
- File = "file",
122
- Film = "film",
123
- Filter = "filter",
124
- Flag = "flag",
125
- FolderMinus = "folder-minus",
126
- FolderPlus = "folder-plus",
127
- Folder = "folder",
128
- Framer = "framer",
129
- Frown = "frown",
130
- Gift = "gift",
131
- GitBranch = "git-branch",
132
- GitCommit = "git-commit",
133
- GitMerge = "git-merge",
134
- GitPullRequest = "git-pull-request",
25
+ EyeOff = "eye-off",
135
26
  Github = "github",
136
- Gitlab = "gitlab",
137
- Globe = "globe",
138
- Grid = "grid",
139
- HardDrive = "hard-drive",
140
- Hash = "hash",
141
- Headphones = "headphones",
142
- Heart = "heart",
143
- HelpCircle = "help-circle",
144
- Hexagon = "hexagon",
145
- Home = "home",
146
- Image = "image",
147
- Inbox = "inbox",
148
- Info = "info",
149
- Instagram = "instagram",
150
- Italic = "italic",
151
- Key = "key",
152
- Layers = "layers",
153
- Layout = "layout",
154
- LifeBuoy = "life-buoy",
155
- Link2 = "link-2",
156
- Link = "link",
157
- Linkedin = "linkedin",
158
- List = "list",
159
27
  Loader = "loader",
160
- Lock = "lock",
161
- LogIn = "log-in",
162
- LogOut = "log-out",
163
- Mail = "mail",
164
- MapPin = "map-pin",
165
- Map = "map",
166
- Maximize2 = "maximize-2",
167
- Maximize = "maximize",
168
- Meh = "meh",
169
- Menu = "menu",
170
- MessageCircle = "message-circle",
171
- MessageSquare = "message-square",
172
- MicOff = "mic-off",
173
- Mic = "mic",
174
- Minimize2 = "minimize-2",
175
- Minimize = "minimize",
176
- MinusCircle = "minus-circle",
177
28
  MinusSquare = "minus-square",
178
- Minus = "minus",
179
- Monitor = "monitor",
180
- Moon = "moon",
181
- MoreHorizontal = "more-horizontal",
182
- MoreVertical = "more-vertical",
183
- MousePointer = "mouse-pointer",
184
- Move = "move",
185
- Music = "music",
186
- Navigation2 = "navigation-2",
187
- Navigation = "navigation",
188
- Octagon = "octagon",
189
- Package = "package",
190
- Paperclip = "paperclip",
191
- PauseCircle = "pause-circle",
192
- Pause = "pause",
193
- PenTool = "pen-tool",
194
- Percent = "percent",
195
- PhoneCall = "phone-call",
196
- PhoneForwarded = "phone-forwarded",
197
- PhoneIncoming = "phone-incoming",
198
- PhoneMissed = "phone-missed",
199
- PhoneOff = "phone-off",
200
- PhoneOutgoing = "phone-outgoing",
201
- Phone = "phone",
202
- PieChart = "pie-chart",
203
- PlayCircle = "play-circle",
204
- Play = "play",
205
- PlusCircle = "plus-circle",
206
29
  PlusSquare = "plus-square",
207
- Plus = "plus",
208
- Pocket = "pocket",
209
- Power = "power",
210
- Printer = "printer",
211
- Radio = "radio",
212
- RefreshCcw = "refresh-ccw",
213
- RefreshCw = "refresh-cw",
214
- Repeat = "repeat",
215
- Rewind = "rewind",
216
- RotateCcw = "rotate-ccw",
217
- RotateCw = "rotate-cw",
218
- Rss = "rss",
219
- Save = "save",
220
- Scissors = "scissors",
221
- Search = "search",
222
- Send = "send",
223
- Server = "server",
224
- Settings = "settings",
225
- Share2 = "share-2",
226
- Share = "share",
227
- ShieldOff = "shield-off",
228
- Shield = "shield",
229
- ShoppingBag = "shopping-bag",
230
- ShoppingCart = "shopping-cart",
231
- Shuffle = "shuffle",
232
- Sidebar = "sidebar",
233
- SkipBack = "skip-back",
234
- SkipForward = "skip-forward",
235
- Slack = "slack",
236
- Slash = "slash",
237
- Sliders = "sliders",
238
- Smartphone = "smartphone",
239
- Smile = "smile",
240
- Speaker = "speaker",
241
30
  Square = "square",
242
31
  Star = "star",
243
- StopCircle = "stop-circle",
244
- Sun = "sun",
245
- Sunrise = "sunrise",
246
- Sunset = "sunset",
247
- Table = "table",
248
- Tablet = "tablet",
249
- Tag = "tag",
250
- Target = "target",
251
- Terminal = "terminal",
252
- Thermometer = "thermometer",
253
- ThumbsDown = "thumbs-down",
254
- ThumbsUp = "thumbs-up",
255
- ToggleLeft = "toggle-left",
256
- ToggleRight = "toggle-right",
257
- Tool = "tool",
258
- Trash2 = "trash-2",
259
- Trash = "trash",
260
- Trello = "trello",
261
- TrendingDown = "trending-down",
262
- TrendingUp = "trending-up",
263
- Triangle = "triangle",
264
- Truck = "truck",
265
- Tv = "tv",
266
- Twitch = "twitch",
267
- Twitter = "twitter",
268
- Type = "type",
269
- Umbrella = "umbrella",
270
- Underline = "underline",
271
- Unlock = "unlock",
272
- UploadCloud = "upload-cloud",
273
- Upload = "upload",
274
- UserCheck = "user-check",
275
- UserMinus = "user-minus",
276
- UserPlus = "user-plus",
277
- UserX = "user-x",
278
- User = "user",
279
- Users = "users",
280
- VideoOff = "video-off",
281
- Video = "video",
282
- Voicemail = "voicemail",
283
- Volume1 = "volume-1",
284
- Volume2 = "volume-2",
285
- VolumeX = "volume-x",
286
- Volume = "volume",
287
- Watch = "watch",
288
- WifiOff = "wifi-off",
289
- Wifi = "wifi",
290
- Wind = "wind",
291
- XCircle = "x-circle",
292
- XOctagon = "x-octagon",
293
- XSquare = "x-square",
294
- X = "x",
295
- Youtube = "youtube",
296
- ZapOff = "zap-off",
297
- Zap = "zap",
298
- ZoomIn = "zoom-in",
299
- ZoomOut = "zoom-out"
32
+ X = "x"
300
33
  }
@@ -1,291 +1,24 @@
1
1
  export var Icons;
2
2
  (function (Icons) {
3
- Icons["Activity"] = "activity";
4
- Icons["Airplay"] = "airplay";
5
- Icons["AlertCircle"] = "alert-circle";
6
- Icons["AlertOctagon"] = "alert-octagon";
7
- Icons["AlertTriangle"] = "alert-triangle";
8
- Icons["AlignCenter"] = "align-center";
9
- Icons["AlignJustify"] = "align-justify";
10
- Icons["AlignLeft"] = "align-left";
11
- Icons["AlignRight"] = "align-right";
12
- Icons["Anchor"] = "anchor";
13
- Icons["Aperture"] = "aperture";
14
- Icons["Archive"] = "archive";
15
- Icons["ArrowDownCircle"] = "arrow-down-circle";
16
- Icons["ArrowDownLeft"] = "arrow-down-left";
17
- Icons["ArrowDownRight"] = "arrow-down-right";
18
- Icons["ArrowDown"] = "arrow-down";
19
- Icons["ArrowLeftCircle"] = "arrow-left-circle";
20
- Icons["ArrowLeft"] = "arrow-left";
21
- Icons["ArrowRightCircle"] = "arrow-right-circle";
22
- Icons["ArrowRight"] = "arrow-right";
23
- Icons["ArrowUpCircle"] = "arrow-up-circle";
24
- Icons["ArrowUpLeft"] = "arrow-up-left";
25
- Icons["ArrowUpRight"] = "arrow-up-right";
26
- Icons["ArrowUp"] = "arrow-up";
27
- Icons["AtSign"] = "at-sign";
28
- Icons["Award"] = "award";
29
- Icons["BarChart2"] = "bar-chart-2";
30
- Icons["BarChart"] = "bar-chart";
31
- Icons["BatteryCharging"] = "battery-charging";
32
- Icons["Battery"] = "battery";
33
- Icons["BellOff"] = "bell-off";
34
- Icons["Bell"] = "bell";
35
- Icons["Bluetooth"] = "bluetooth";
36
- Icons["Bold"] = "bold";
37
- Icons["BookOpen"] = "book-open";
38
- Icons["Book"] = "book";
39
- Icons["Bookmark"] = "bookmark";
40
- Icons["Box"] = "box";
41
- Icons["Briefcase"] = "briefcase";
42
3
  Icons["Calendar"] = "calendar";
43
- Icons["CameraOff"] = "camera-off";
44
- Icons["Camera"] = "camera";
45
- Icons["Cast"] = "cast";
4
+ Icons["Check"] = "check";
46
5
  Icons["CheckCircle"] = "check-circle";
47
6
  Icons["CheckSquare"] = "check-square";
48
- Icons["Check"] = "check";
49
7
  Icons["ChevronDown"] = "chevron-down";
50
8
  Icons["ChevronLeft"] = "chevron-left";
51
9
  Icons["ChevronRight"] = "chevron-right";
52
10
  Icons["ChevronUp"] = "chevron-up";
53
- Icons["ChevronsDown"] = "chevrons-down";
54
11
  Icons["ChevronsLeft"] = "chevrons-left";
55
12
  Icons["ChevronsRight"] = "chevrons-right";
56
- Icons["ChevronsUp"] = "chevrons-up";
57
- Icons["Chrome"] = "chrome";
58
13
  Icons["Circle"] = "circle";
59
- Icons["Clipboard"] = "clipboard";
60
- Icons["Clock"] = "clock";
61
- Icons["CloudDrizzle"] = "cloud-drizzle";
62
- Icons["CloudLightning"] = "cloud-lightning";
63
- Icons["CloudOff"] = "cloud-off";
64
- Icons["CloudRain"] = "cloud-rain";
65
- Icons["CloudSnow"] = "cloud-snow";
66
- Icons["Cloud"] = "cloud";
67
- Icons["Code"] = "code";
68
- Icons["Codepen"] = "codepen";
69
- Icons["Codesandbox"] = "codesandbox";
70
- Icons["Coffee"] = "coffee";
71
- Icons["Columns"] = "columns";
72
- Icons["Command"] = "command";
73
- Icons["Compass"] = "compass";
74
- Icons["Copy"] = "copy";
75
- Icons["CornerDownLeft"] = "corner-down-left";
76
- Icons["CornerDownRight"] = "corner-down-right";
77
- Icons["CornerLeftDown"] = "corner-left-down";
78
- Icons["CornerLeftUp"] = "corner-left-up";
79
- Icons["CornerRightDown"] = "corner-right-down";
80
- Icons["CornerRightUp"] = "corner-right-up";
81
- Icons["CornerUpLeft"] = "corner-up-left";
82
- Icons["CornerUpRight"] = "corner-up-right";
83
- Icons["Cpu"] = "cpu";
84
- Icons["CreditCard"] = "credit-card";
85
- Icons["Crop"] = "crop";
86
- Icons["Crosshair"] = "crosshair";
87
- Icons["Database"] = "database";
88
- Icons["Delete"] = "delete";
89
- Icons["Disc"] = "disc";
90
- Icons["DivideCircle"] = "divide-circle";
91
- Icons["DivideSquare"] = "divide-square";
92
- Icons["Divide"] = "divide";
93
- Icons["DollarSign"] = "dollar-sign";
94
- Icons["DownloadCloud"] = "download-cloud";
95
- Icons["Download"] = "download";
96
- Icons["Dribbble"] = "dribbble";
97
- Icons["Droplet"] = "droplet";
98
- Icons["Edit2"] = "edit-2";
99
- Icons["Edit3"] = "edit-3";
100
- Icons["Edit"] = "edit";
101
- Icons["ExternalLink"] = "external-link";
102
- Icons["EyeOff"] = "eye-off";
103
14
  Icons["Eye"] = "eye";
104
- Icons["Facebook"] = "facebook";
105
- Icons["FastForward"] = "fast-forward";
106
- Icons["Feather"] = "feather";
107
- Icons["Figma"] = "figma";
108
- Icons["FileMinus"] = "file-minus";
109
- Icons["FilePlus"] = "file-plus";
110
- Icons["FileText"] = "file-text";
111
- Icons["File"] = "file";
112
- Icons["Film"] = "film";
113
- Icons["Filter"] = "filter";
114
- Icons["Flag"] = "flag";
115
- Icons["FolderMinus"] = "folder-minus";
116
- Icons["FolderPlus"] = "folder-plus";
117
- Icons["Folder"] = "folder";
118
- Icons["Framer"] = "framer";
119
- Icons["Frown"] = "frown";
120
- Icons["Gift"] = "gift";
121
- Icons["GitBranch"] = "git-branch";
122
- Icons["GitCommit"] = "git-commit";
123
- Icons["GitMerge"] = "git-merge";
124
- Icons["GitPullRequest"] = "git-pull-request";
15
+ Icons["EyeOff"] = "eye-off";
125
16
  Icons["Github"] = "github";
126
- Icons["Gitlab"] = "gitlab";
127
- Icons["Globe"] = "globe";
128
- Icons["Grid"] = "grid";
129
- Icons["HardDrive"] = "hard-drive";
130
- Icons["Hash"] = "hash";
131
- Icons["Headphones"] = "headphones";
132
- Icons["Heart"] = "heart";
133
- Icons["HelpCircle"] = "help-circle";
134
- Icons["Hexagon"] = "hexagon";
135
- Icons["Home"] = "home";
136
- Icons["Image"] = "image";
137
- Icons["Inbox"] = "inbox";
138
- Icons["Info"] = "info";
139
- Icons["Instagram"] = "instagram";
140
- Icons["Italic"] = "italic";
141
- Icons["Key"] = "key";
142
- Icons["Layers"] = "layers";
143
- Icons["Layout"] = "layout";
144
- Icons["LifeBuoy"] = "life-buoy";
145
- Icons["Link2"] = "link-2";
146
- Icons["Link"] = "link";
147
- Icons["Linkedin"] = "linkedin";
148
- Icons["List"] = "list";
149
17
  Icons["Loader"] = "loader";
150
- Icons["Lock"] = "lock";
151
- Icons["LogIn"] = "log-in";
152
- Icons["LogOut"] = "log-out";
153
- Icons["Mail"] = "mail";
154
- Icons["MapPin"] = "map-pin";
155
- Icons["Map"] = "map";
156
- Icons["Maximize2"] = "maximize-2";
157
- Icons["Maximize"] = "maximize";
158
- Icons["Meh"] = "meh";
159
- Icons["Menu"] = "menu";
160
- Icons["MessageCircle"] = "message-circle";
161
- Icons["MessageSquare"] = "message-square";
162
- Icons["MicOff"] = "mic-off";
163
- Icons["Mic"] = "mic";
164
- Icons["Minimize2"] = "minimize-2";
165
- Icons["Minimize"] = "minimize";
166
- Icons["MinusCircle"] = "minus-circle";
167
18
  Icons["MinusSquare"] = "minus-square";
168
- Icons["Minus"] = "minus";
169
- Icons["Monitor"] = "monitor";
170
- Icons["Moon"] = "moon";
171
- Icons["MoreHorizontal"] = "more-horizontal";
172
- Icons["MoreVertical"] = "more-vertical";
173
- Icons["MousePointer"] = "mouse-pointer";
174
- Icons["Move"] = "move";
175
- Icons["Music"] = "music";
176
- Icons["Navigation2"] = "navigation-2";
177
- Icons["Navigation"] = "navigation";
178
- Icons["Octagon"] = "octagon";
179
- Icons["Package"] = "package";
180
- Icons["Paperclip"] = "paperclip";
181
- Icons["PauseCircle"] = "pause-circle";
182
- Icons["Pause"] = "pause";
183
- Icons["PenTool"] = "pen-tool";
184
- Icons["Percent"] = "percent";
185
- Icons["PhoneCall"] = "phone-call";
186
- Icons["PhoneForwarded"] = "phone-forwarded";
187
- Icons["PhoneIncoming"] = "phone-incoming";
188
- Icons["PhoneMissed"] = "phone-missed";
189
- Icons["PhoneOff"] = "phone-off";
190
- Icons["PhoneOutgoing"] = "phone-outgoing";
191
- Icons["Phone"] = "phone";
192
- Icons["PieChart"] = "pie-chart";
193
- Icons["PlayCircle"] = "play-circle";
194
- Icons["Play"] = "play";
195
- Icons["PlusCircle"] = "plus-circle";
196
19
  Icons["PlusSquare"] = "plus-square";
197
- Icons["Plus"] = "plus";
198
- Icons["Pocket"] = "pocket";
199
- Icons["Power"] = "power";
200
- Icons["Printer"] = "printer";
201
- Icons["Radio"] = "radio";
202
- Icons["RefreshCcw"] = "refresh-ccw";
203
- Icons["RefreshCw"] = "refresh-cw";
204
- Icons["Repeat"] = "repeat";
205
- Icons["Rewind"] = "rewind";
206
- Icons["RotateCcw"] = "rotate-ccw";
207
- Icons["RotateCw"] = "rotate-cw";
208
- Icons["Rss"] = "rss";
209
- Icons["Save"] = "save";
210
- Icons["Scissors"] = "scissors";
211
- Icons["Search"] = "search";
212
- Icons["Send"] = "send";
213
- Icons["Server"] = "server";
214
- Icons["Settings"] = "settings";
215
- Icons["Share2"] = "share-2";
216
- Icons["Share"] = "share";
217
- Icons["ShieldOff"] = "shield-off";
218
- Icons["Shield"] = "shield";
219
- Icons["ShoppingBag"] = "shopping-bag";
220
- Icons["ShoppingCart"] = "shopping-cart";
221
- Icons["Shuffle"] = "shuffle";
222
- Icons["Sidebar"] = "sidebar";
223
- Icons["SkipBack"] = "skip-back";
224
- Icons["SkipForward"] = "skip-forward";
225
- Icons["Slack"] = "slack";
226
- Icons["Slash"] = "slash";
227
- Icons["Sliders"] = "sliders";
228
- Icons["Smartphone"] = "smartphone";
229
- Icons["Smile"] = "smile";
230
- Icons["Speaker"] = "speaker";
231
20
  Icons["Square"] = "square";
232
21
  Icons["Star"] = "star";
233
- Icons["StopCircle"] = "stop-circle";
234
- Icons["Sun"] = "sun";
235
- Icons["Sunrise"] = "sunrise";
236
- Icons["Sunset"] = "sunset";
237
- Icons["Table"] = "table";
238
- Icons["Tablet"] = "tablet";
239
- Icons["Tag"] = "tag";
240
- Icons["Target"] = "target";
241
- Icons["Terminal"] = "terminal";
242
- Icons["Thermometer"] = "thermometer";
243
- Icons["ThumbsDown"] = "thumbs-down";
244
- Icons["ThumbsUp"] = "thumbs-up";
245
- Icons["ToggleLeft"] = "toggle-left";
246
- Icons["ToggleRight"] = "toggle-right";
247
- Icons["Tool"] = "tool";
248
- Icons["Trash2"] = "trash-2";
249
- Icons["Trash"] = "trash";
250
- Icons["Trello"] = "trello";
251
- Icons["TrendingDown"] = "trending-down";
252
- Icons["TrendingUp"] = "trending-up";
253
- Icons["Triangle"] = "triangle";
254
- Icons["Truck"] = "truck";
255
- Icons["Tv"] = "tv";
256
- Icons["Twitch"] = "twitch";
257
- Icons["Twitter"] = "twitter";
258
- Icons["Type"] = "type";
259
- Icons["Umbrella"] = "umbrella";
260
- Icons["Underline"] = "underline";
261
- Icons["Unlock"] = "unlock";
262
- Icons["UploadCloud"] = "upload-cloud";
263
- Icons["Upload"] = "upload";
264
- Icons["UserCheck"] = "user-check";
265
- Icons["UserMinus"] = "user-minus";
266
- Icons["UserPlus"] = "user-plus";
267
- Icons["UserX"] = "user-x";
268
- Icons["User"] = "user";
269
- Icons["Users"] = "users";
270
- Icons["VideoOff"] = "video-off";
271
- Icons["Video"] = "video";
272
- Icons["Voicemail"] = "voicemail";
273
- Icons["Volume1"] = "volume-1";
274
- Icons["Volume2"] = "volume-2";
275
- Icons["VolumeX"] = "volume-x";
276
- Icons["Volume"] = "volume";
277
- Icons["Watch"] = "watch";
278
- Icons["WifiOff"] = "wifi-off";
279
- Icons["Wifi"] = "wifi";
280
- Icons["Wind"] = "wind";
281
- Icons["XCircle"] = "x-circle";
282
- Icons["XOctagon"] = "x-octagon";
283
- Icons["XSquare"] = "x-square";
284
22
  Icons["X"] = "x";
285
- Icons["Youtube"] = "youtube";
286
- Icons["ZapOff"] = "zap-off";
287
- Icons["Zap"] = "zap";
288
- Icons["ZoomIn"] = "zoom-in";
289
- Icons["ZoomOut"] = "zoom-out";
290
23
  })(Icons || (Icons = {}));
291
24
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../leda/components/Icon/types.ts"],"names":[],"mappings":"AA2BA,MAAM,CAAN,IAAY,KA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C5B,sBAAa,CAAA;IACb,2BAAkB,CAAA;IAClB,wBAAe,CAAA;IACf,0BAAiB,CAAA;IACjB,uCAA8B,CAAA;IAC9B,mCAA0B,CAAA;IAC1B,8BAAqB,CAAA;IACrB,wBAAe,CAAA;IACf,kBAAS,CAAA;IACT,0BAAiB,CAAA;IACjB,4BAAmB,CAAA;IACnB,sBAAa,CAAA;IACb,8BAAqB,CAAA;IACrB,gCAAuB,CAAA;IACvB,0BAAiB,CAAA;IACjB,qCAA4B,CAAA;IAC5B,0BAAiB,CAAA;IACjB,iCAAwB,CAAA;IACxB,iCAAwB,CAAA;IACxB,+BAAsB,CAAA;IACtB,yBAAgB,CAAA;IAChB,sBAAa,CAAA;IACb,wBAAe,CAAA;IACf,+BAAsB,CAAA;IACtB,wBAAe,CAAA;IACf,gCAAuB,CAAA;IACvB,6BAAoB,CAAA;IACpB,6BAAoB,CAAA;IACpB,6BAAoB,CAAA;IACpB,0BAAiB,CAAA;IACjB,wBAAe,CAAA;IACf,6BAAoB,CAAA;IACpB,sBAAa,CAAA;IACb,sBAAa,CAAA;IACb,6BAAoB,CAAA;IACpB,+BAAsB,CAAA;IACtB,6BAAoB,CAAA;IACpB,gBAAO,CAAA;IACP,4BAAmB,CAAA;IACnB,2BAAkB,CAAA;IAClB,oBAAW,CAAA;IACX,2BAAkB,CAAA;IAClB,6BAAoB,CAAA;AACtB,CAAC,EAhSW,KAAK,KAAL,KAAK,QAgShB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../leda/components/Icon/types.ts"],"names":[],"mappings":"AAaA,MAAM,CAAN,IAAY,KAqBX;AArBD,WAAY,KAAK;IACf,8BAAqB,CAAA;IACrB,wBAAe,CAAA;IACf,qCAA4B,CAAA;IAC5B,qCAA4B,CAAA;IAC5B,qCAA4B,CAAA;IAC5B,qCAA4B,CAAA;IAC5B,uCAA8B,CAAA;IAC9B,iCAAwB,CAAA;IACxB,uCAA8B,CAAA;IAC9B,yCAAgC,CAAA;IAChC,0BAAiB,CAAA;IACjB,oBAAW,CAAA;IACX,2BAAkB,CAAA;IAClB,0BAAiB,CAAA;IACjB,0BAAiB,CAAA;IACjB,qCAA4B,CAAA;IAC5B,mCAA0B,CAAA;IAC1B,0BAAiB,CAAA;IACjB,sBAAa,CAAA;IACb,gBAAO,CAAA;AACT,CAAC,EArBW,KAAK,KAAL,KAAK,QAqBhB"}
@@ -16,10 +16,8 @@ const IconPage = () => {
16
16
  <H1>Icon</H1>
17
17
 
18
18
  <P>
19
- Leda wraps{' '}
20
- <A target="_blank" href="https://github.com/ianmiller347/feather-icons-react#readme">
21
- feather-icons-react
22
- </A> to add standard Leda props and types.
19
+ Leda provides its own lightweight set of SVG icons.
20
+ Use icon names or the exported enum <Code>L.IconTypes.Icons</Code> to pick one.
23
21
  </P>
24
22
 
25
23
  <PropsTableSection>
@@ -65,7 +63,7 @@ const IconPage = () => {
65
63
  </tr>
66
64
  <tr>
67
65
  <Td>[SVG props]</Td>
68
- <Td>{'SVGProps<SVGElement>'}</Td>
66
+ <Td>{'SVGProps<SVGSVGElement>'}</Td>
69
67
  <Td>You can pass all supported SVG props</Td>
70
68
  </tr>
71
69
  <UnderscoreClasses />
@@ -0,0 +1,78 @@
1
+ import * as React from 'react';
2
+ import { Icons } from './types';
3
+
4
+ export const ICON_PATHS: Record<Icons, React.ReactNode[]> = {
5
+ [Icons.Calendar]: [
6
+ <rect key="0" x="3" y="4" width="18" height="18" rx="2" ry="2" />,
7
+ <line key="1" x1="3" y1="10" x2="21" y2="10" />,
8
+ <line key="2" x1="16" y1="2" x2="16" y2="6" />,
9
+ <line key="3" x1="8" y1="2" x2="8" y2="6" />,
10
+ ],
11
+ [Icons.Check]: [
12
+ <polyline key="0" points="20 6 9 17 4 12" />,
13
+ ],
14
+ [Icons.CheckCircle]: [
15
+ <circle key="0" cx="12" cy="12" r="10" />,
16
+ <polyline key="1" points="9 12 12 15 17 10" />,
17
+ ],
18
+ [Icons.CheckSquare]: [
19
+ <rect key="0" x="3" y="3" width="18" height="18" rx="2" ry="2" />,
20
+ <polyline key="1" points="9 11 12 14 22 4" />,
21
+ ],
22
+ [Icons.ChevronDown]: [
23
+ <polyline key="0" points="6 9 12 15 18 9" />,
24
+ ],
25
+ [Icons.ChevronLeft]: [
26
+ <polyline key="0" points="15 18 9 12 15 6" />,
27
+ ],
28
+ [Icons.ChevronRight]: [
29
+ <polyline key="0" points="9 18 15 12 9 6" />,
30
+ ],
31
+ [Icons.ChevronUp]: [
32
+ <polyline key="0" points="18 15 12 9 6 15" />,
33
+ ],
34
+ [Icons.ChevronsLeft]: [
35
+ <polyline key="0" points="11 17 6 12 11 7" />,
36
+ <polyline key="1" points="18 17 13 12 18 7" />,
37
+ ],
38
+ [Icons.ChevronsRight]: [
39
+ <polyline key="0" points="13 17 18 12 13 7" />,
40
+ <polyline key="1" points="6 17 11 12 6 7" />,
41
+ ],
42
+ [Icons.Circle]: [
43
+ <circle key="0" cx="12" cy="12" r="10" />,
44
+ ],
45
+ [Icons.Eye]: [
46
+ <path key="0" d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z" />,
47
+ <circle key="1" cx="12" cy="12" r="3" />,
48
+ ],
49
+ [Icons.EyeOff]: [
50
+ <path key="0" d="M17.94 17.94A10.94 10.94 0 0 1 12 20c-7 0-11-8-11-8a21.08 21.08 0 0 1 5.07-6.88" />,
51
+ <path key="1" d="M1 1l22 22" />,
52
+ ],
53
+ [Icons.Github]: [
54
+ <path key="0" d="M12 2a10 10 0 0 0-3.16 19.49c.5.09.68-.22.68-.48 0-.24-.01-1-.02-1.82-2.78.6-3.37-1.34-3.37-1.34-.45-1.17-1.1-1.48-1.1-1.48-.9-.61.07-.6.07-.6 1 .07 1.53 1.04 1.53 1.04.89 1.52 2.34 1.08 2.91.83.09-.64.35-1.08.63-1.33-2.22-.25-4.55-1.11-4.55-4.94 0-1.09.39-1.98 1.03-2.68-.1-.26-.45-1.3.1-2.71 0 0 .84-.27 2.75 1.03a9.56 9.56 0 0 1 5 0c1.91-1.3 2.75-1.03 2.75-1.03.55 1.41.2 2.45.1 2.71.64.7 1.03 1.59 1.03 2.68 0 3.84-2.34 4.69-4.57 4.94.36.31.69.92.69 1.86 0 1.34-.01 2.42-.01 2.75 0 .27.18.58.69.48A10 10 0 0 0 12 2z" />,
55
+ ],
56
+ [Icons.Loader]: [
57
+ <circle key="0" cx="12" cy="12" r="10" />,
58
+ ],
59
+ [Icons.MinusSquare]: [
60
+ <rect key="0" x="3" y="3" width="18" height="18" rx="2" ry="2" />,
61
+ <line key="1" x1="8" y1="12" x2="16" y2="12" />,
62
+ ],
63
+ [Icons.PlusSquare]: [
64
+ <rect key="0" x="3" y="3" width="18" height="18" rx="2" ry="2" />,
65
+ <line key="1" x1="12" y1="8" x2="12" y2="16" />,
66
+ <line key="2" x1="8" y1="12" x2="16" y2="12" />,
67
+ ],
68
+ [Icons.Square]: [
69
+ <rect key="0" x="3" y="3" width="18" height="18" rx="2" ry="2" />,
70
+ ],
71
+ [Icons.Star]: [
72
+ <polygon key="0" points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" />,
73
+ ],
74
+ [Icons.X]: [
75
+ <line key="0" x1="18" y1="6" x2="6" y2="18" />,
76
+ <line key="1" x1="6" y1="6" x2="18" y2="18" />,
77
+ ],
78
+ };
@@ -1,23 +1,45 @@
1
1
  import * as React from 'react';
2
- import FeatherIcon from 'feather-icons-react';
3
2
  import type { IconProps } from './types';
4
3
  import { useProps } from '../../utils';
4
+ import { ICON_PATHS } from './icons';
5
5
 
6
6
  export const Icon = (props: IconProps): React.ReactElement | null => {
7
7
  const {
8
8
  size = 24,
9
9
  shouldRender,
10
10
  stroke = 'currentColor',
11
+ strokeWidth = 2,
12
+ strokeOpacity,
13
+ fill = 'none',
14
+ icon,
11
15
  ...restProps
12
16
  } = useProps(props);
13
17
 
14
18
  if (shouldRender === false) return null;
15
19
 
20
+ const paths = ICON_PATHS[icon];
21
+ if (!paths) return null;
22
+
23
+ const sanitizedSize = size ?? undefined;
24
+ const sanitizedFill = fill ?? undefined;
25
+ const sanitizedStroke = stroke ?? undefined;
26
+ const sanitizedStrokeWidth = strokeWidth ?? undefined;
27
+ const sanitizedStrokeOpacity = strokeOpacity ?? undefined;
28
+
16
29
  return (
17
- <FeatherIcon
18
- size={size}
19
- stroke={stroke}
30
+ <svg
31
+ width={sanitizedSize}
32
+ height={sanitizedSize}
33
+ viewBox="0 0 24 24"
34
+ fill={sanitizedFill}
35
+ stroke={sanitizedStroke}
36
+ strokeWidth={sanitizedStrokeWidth}
37
+ strokeOpacity={sanitizedStrokeOpacity}
38
+ strokeLinecap="round"
39
+ strokeLinejoin="round"
20
40
  {...restProps}
21
- />
41
+ >
42
+ {paths}
43
+ </svg>
22
44
  );
23
45
  };
@@ -1,316 +1,35 @@
1
1
  import type { SVGProps } from 'react';
2
2
 
3
3
  export type IconProps = {
4
- // fill color, e.g. red or #ff0000 or rgb(255,0,0), default is none
5
- fill?: string | null,
6
- // one of the feather icons
7
- icon: `${Icons}`,
8
- // in case you don't want the component to show up
9
- shouldRender?: boolean,
10
- // icon size, default is 24
11
- size?: number | string | null,
12
- // stroke color, e.g. red or #ff0000 or rgb(255,0,0), defaults to currentColor
13
- stroke?: string | null,
14
- // stroke opacity
15
- strokeOpacity?: number | string | null,
16
- // stroke width, default is 2
17
- strokeWidth?: number | string | null,
18
- // _ css classes
19
- [x: string]: unknown,
20
- } & Omit<
21
- SVGProps<SVGElement>,
22
- 'fill'
23
- | 'stroke'
24
- | 'strokeOpacity'
25
- | 'strokeWidth'
26
- >;
4
+ fill?: string | null;
5
+ icon: `${Icons}`;
6
+ shouldRender?: boolean;
7
+ size?: number | string | null;
8
+ stroke?: string | null;
9
+ strokeOpacity?: number | string | null;
10
+ strokeWidth?: number | string | null;
11
+ [x: string]: unknown;
12
+ } & Omit<SVGProps<SVGSVGElement>, 'fill' | 'stroke' | 'strokeOpacity' | 'strokeWidth'>;
27
13
 
28
14
  export enum Icons {
29
- Activity = 'activity',
30
- Airplay = 'airplay',
31
- AlertCircle = 'alert-circle',
32
- AlertOctagon = 'alert-octagon',
33
- AlertTriangle = 'alert-triangle',
34
- AlignCenter = 'align-center',
35
- AlignJustify = 'align-justify',
36
- AlignLeft = 'align-left',
37
- AlignRight = 'align-right',
38
- Anchor = 'anchor',
39
- Aperture = 'aperture',
40
- Archive = 'archive',
41
- ArrowDownCircle = 'arrow-down-circle',
42
- ArrowDownLeft = 'arrow-down-left',
43
- ArrowDownRight = 'arrow-down-right',
44
- ArrowDown = 'arrow-down',
45
- ArrowLeftCircle = 'arrow-left-circle',
46
- ArrowLeft = 'arrow-left',
47
- ArrowRightCircle = 'arrow-right-circle',
48
- ArrowRight = 'arrow-right',
49
- ArrowUpCircle = 'arrow-up-circle',
50
- ArrowUpLeft = 'arrow-up-left',
51
- ArrowUpRight = 'arrow-up-right',
52
- ArrowUp = 'arrow-up',
53
- AtSign = 'at-sign',
54
- Award = 'award',
55
- BarChart2 = 'bar-chart-2',
56
- BarChart = 'bar-chart',
57
- BatteryCharging = 'battery-charging',
58
- Battery = 'battery',
59
- BellOff = 'bell-off',
60
- Bell = 'bell',
61
- Bluetooth = 'bluetooth',
62
- Bold = 'bold',
63
- BookOpen = 'book-open',
64
- Book = 'book',
65
- Bookmark = 'bookmark',
66
- Box = 'box',
67
- Briefcase = 'briefcase',
68
15
  Calendar = 'calendar',
69
- CameraOff = 'camera-off',
70
- Camera = 'camera',
71
- Cast = 'cast',
16
+ Check = 'check',
72
17
  CheckCircle = 'check-circle',
73
18
  CheckSquare = 'check-square',
74
- Check = 'check',
75
19
  ChevronDown = 'chevron-down',
76
20
  ChevronLeft = 'chevron-left',
77
21
  ChevronRight = 'chevron-right',
78
22
  ChevronUp = 'chevron-up',
79
- ChevronsDown = 'chevrons-down',
80
23
  ChevronsLeft = 'chevrons-left',
81
24
  ChevronsRight = 'chevrons-right',
82
- ChevronsUp = 'chevrons-up',
83
- Chrome = 'chrome',
84
25
  Circle = 'circle',
85
- Clipboard = 'clipboard',
86
- Clock = 'clock',
87
- CloudDrizzle = 'cloud-drizzle',
88
- CloudLightning = 'cloud-lightning',
89
- CloudOff = 'cloud-off',
90
- CloudRain = 'cloud-rain',
91
- CloudSnow = 'cloud-snow',
92
- Cloud = 'cloud',
93
- Code = 'code',
94
- Codepen = 'codepen',
95
- Codesandbox = 'codesandbox',
96
- Coffee = 'coffee',
97
- Columns = 'columns',
98
- Command = 'command',
99
- Compass = 'compass',
100
- Copy = 'copy',
101
- CornerDownLeft = 'corner-down-left',
102
- CornerDownRight = 'corner-down-right',
103
- CornerLeftDown = 'corner-left-down',
104
- CornerLeftUp = 'corner-left-up',
105
- CornerRightDown = 'corner-right-down',
106
- CornerRightUp = 'corner-right-up',
107
- CornerUpLeft = 'corner-up-left',
108
- CornerUpRight = 'corner-up-right',
109
- Cpu = 'cpu',
110
- CreditCard = 'credit-card',
111
- Crop = 'crop',
112
- Crosshair = 'crosshair',
113
- Database = 'database',
114
- Delete = 'delete',
115
- Disc = 'disc',
116
- DivideCircle = 'divide-circle',
117
- DivideSquare = 'divide-square',
118
- Divide = 'divide',
119
- DollarSign = 'dollar-sign',
120
- DownloadCloud = 'download-cloud',
121
- Download = 'download',
122
- Dribbble = 'dribbble',
123
- Droplet = 'droplet',
124
- Edit2 = 'edit-2',
125
- Edit3 = 'edit-3',
126
- Edit = 'edit',
127
- ExternalLink = 'external-link',
128
- EyeOff = 'eye-off',
129
26
  Eye = 'eye',
130
- Facebook = 'facebook',
131
- FastForward = 'fast-forward',
132
- Feather = 'feather',
133
- Figma = 'figma',
134
- FileMinus = 'file-minus',
135
- FilePlus = 'file-plus',
136
- FileText = 'file-text',
137
- File = 'file',
138
- Film = 'film',
139
- Filter = 'filter',
140
- Flag = 'flag',
141
- FolderMinus = 'folder-minus',
142
- FolderPlus = 'folder-plus',
143
- Folder = 'folder',
144
- Framer = 'framer',
145
- Frown = 'frown',
146
- Gift = 'gift',
147
- GitBranch = 'git-branch',
148
- GitCommit = 'git-commit',
149
- GitMerge = 'git-merge',
150
- GitPullRequest = 'git-pull-request',
27
+ EyeOff = 'eye-off',
151
28
  Github = 'github',
152
- Gitlab = 'gitlab',
153
- Globe = 'globe',
154
- Grid = 'grid',
155
- HardDrive = 'hard-drive',
156
- Hash = 'hash',
157
- Headphones = 'headphones',
158
- Heart = 'heart',
159
- HelpCircle = 'help-circle',
160
- Hexagon = 'hexagon',
161
- Home = 'home',
162
- Image = 'image',
163
- Inbox = 'inbox',
164
- Info = 'info',
165
- Instagram = 'instagram',
166
- Italic = 'italic',
167
- Key = 'key',
168
- Layers = 'layers',
169
- Layout = 'layout',
170
- LifeBuoy = 'life-buoy',
171
- Link2 = 'link-2',
172
- Link = 'link',
173
- Linkedin = 'linkedin',
174
- List = 'list',
175
29
  Loader = 'loader',
176
- Lock = 'lock',
177
- LogIn = 'log-in',
178
- LogOut = 'log-out',
179
- Mail = 'mail',
180
- MapPin = 'map-pin',
181
- Map = 'map',
182
- Maximize2 = 'maximize-2',
183
- Maximize = 'maximize',
184
- Meh = 'meh',
185
- Menu = 'menu',
186
- MessageCircle = 'message-circle',
187
- MessageSquare = 'message-square',
188
- MicOff = 'mic-off',
189
- Mic = 'mic',
190
- Minimize2 = 'minimize-2',
191
- Minimize = 'minimize',
192
- MinusCircle = 'minus-circle',
193
30
  MinusSquare = 'minus-square',
194
- Minus = 'minus',
195
- Monitor = 'monitor',
196
- Moon = 'moon',
197
- MoreHorizontal = 'more-horizontal',
198
- MoreVertical = 'more-vertical',
199
- MousePointer = 'mouse-pointer',
200
- Move = 'move',
201
- Music = 'music',
202
- Navigation2 = 'navigation-2',
203
- Navigation = 'navigation',
204
- Octagon = 'octagon',
205
- Package = 'package',
206
- Paperclip = 'paperclip',
207
- PauseCircle = 'pause-circle',
208
- Pause = 'pause',
209
- PenTool = 'pen-tool',
210
- Percent = 'percent',
211
- PhoneCall = 'phone-call',
212
- PhoneForwarded = 'phone-forwarded',
213
- PhoneIncoming = 'phone-incoming',
214
- PhoneMissed = 'phone-missed',
215
- PhoneOff = 'phone-off',
216
- PhoneOutgoing = 'phone-outgoing',
217
- Phone = 'phone',
218
- PieChart = 'pie-chart',
219
- PlayCircle = 'play-circle',
220
- Play = 'play',
221
- PlusCircle = 'plus-circle',
222
31
  PlusSquare = 'plus-square',
223
- Plus = 'plus',
224
- Pocket = 'pocket',
225
- Power = 'power',
226
- Printer = 'printer',
227
- Radio = 'radio',
228
- RefreshCcw = 'refresh-ccw',
229
- RefreshCw = 'refresh-cw',
230
- Repeat = 'repeat',
231
- Rewind = 'rewind',
232
- RotateCcw = 'rotate-ccw',
233
- RotateCw = 'rotate-cw',
234
- Rss = 'rss',
235
- Save = 'save',
236
- Scissors = 'scissors',
237
- Search = 'search',
238
- Send = 'send',
239
- Server = 'server',
240
- Settings = 'settings',
241
- Share2 = 'share-2',
242
- Share = 'share',
243
- ShieldOff = 'shield-off',
244
- Shield = 'shield',
245
- ShoppingBag = 'shopping-bag',
246
- ShoppingCart = 'shopping-cart',
247
- Shuffle = 'shuffle',
248
- Sidebar = 'sidebar',
249
- SkipBack = 'skip-back',
250
- SkipForward = 'skip-forward',
251
- Slack = 'slack',
252
- Slash = 'slash',
253
- Sliders = 'sliders',
254
- Smartphone = 'smartphone',
255
- Smile = 'smile',
256
- Speaker = 'speaker',
257
32
  Square = 'square',
258
33
  Star = 'star',
259
- StopCircle = 'stop-circle',
260
- Sun = 'sun',
261
- Sunrise = 'sunrise',
262
- Sunset = 'sunset',
263
- Table = 'table',
264
- Tablet = 'tablet',
265
- Tag = 'tag',
266
- Target = 'target',
267
- Terminal = 'terminal',
268
- Thermometer = 'thermometer',
269
- ThumbsDown = 'thumbs-down',
270
- ThumbsUp = 'thumbs-up',
271
- ToggleLeft = 'toggle-left',
272
- ToggleRight = 'toggle-right',
273
- Tool = 'tool',
274
- Trash2 = 'trash-2',
275
- Trash = 'trash',
276
- Trello = 'trello',
277
- TrendingDown = 'trending-down',
278
- TrendingUp = 'trending-up',
279
- Triangle = 'triangle',
280
- Truck = 'truck',
281
- Tv = 'tv',
282
- Twitch = 'twitch',
283
- Twitter = 'twitter',
284
- Type = 'type',
285
- Umbrella = 'umbrella',
286
- Underline = 'underline',
287
- Unlock = 'unlock',
288
- UploadCloud = 'upload-cloud',
289
- Upload = 'upload',
290
- UserCheck = 'user-check',
291
- UserMinus = 'user-minus',
292
- UserPlus = 'user-plus',
293
- UserX = 'user-x',
294
- User = 'user',
295
- Users = 'users',
296
- VideoOff = 'video-off',
297
- Video = 'video',
298
- Voicemail = 'voicemail',
299
- Volume1 = 'volume-1',
300
- Volume2 = 'volume-2',
301
- VolumeX = 'volume-x',
302
- Volume = 'volume',
303
- Watch = 'watch',
304
- WifiOff = 'wifi-off',
305
- Wifi = 'wifi',
306
- Wind = 'wind',
307
- XCircle = 'x-circle',
308
- XOctagon = 'x-octagon',
309
- XSquare = 'x-square',
310
34
  X = 'x',
311
- Youtube = 'youtube',
312
- ZapOff = 'zap-off',
313
- Zap = 'zap',
314
- ZoomIn = 'zoom-in',
315
- ZoomOut = 'zoom-out',
316
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chili-ui",
3
- "version": "0.0.1",
3
+ "version": "0.1.1",
4
4
  "description": "UI components library for React applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -37,7 +37,6 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "classnames": "2.2.6",
40
- "feather-icons-react": "0.6.2",
41
40
  "lodash": "^4.17.21"
42
41
  },
43
42
  "peerDependencies": {
@@ -1 +0,0 @@
1
- declare module 'feather-icons-react';
@@ -1 +0,0 @@
1
- declare module 'feather-icons-react';