saha-ui 1.22.10 → 1.22.11
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/dist/components/Rating/Rating.colors.d.ts +32 -0
- package/dist/components/Rating/Rating.colors.d.ts.map +1 -0
- package/dist/components/Rating/Rating.colors.js +149 -0
- package/dist/components/Rating/Rating.d.ts +33 -0
- package/dist/components/Rating/Rating.d.ts.map +1 -0
- package/dist/components/Rating/Rating.icons.d.ts +32 -0
- package/dist/components/Rating/Rating.icons.d.ts.map +1 -0
- package/dist/components/Rating/Rating.icons.js +209 -0
- package/dist/components/Rating/Rating.js +245 -0
- package/dist/components/Rating/Rating.styles.d.ts +9 -3
- package/dist/components/Rating/Rating.styles.d.ts.map +1 -1
- package/dist/components/Rating/Rating.styles.js +98 -65
- package/dist/components/Rating/Rating.types.d.ts +51 -13
- package/dist/components/Rating/Rating.types.d.ts.map +1 -1
- package/dist/components/Rating/index.d.ts +4 -16
- package/dist/components/Rating/index.d.ts.map +1 -1
- package/dist/components/Rating/index.js +11 -215
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +937 -936
- package/package.json +2 -2
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RatingColorScheme } from './Rating.types';
|
|
2
|
+
/**
|
|
3
|
+
* Color scheme configuration
|
|
4
|
+
*/
|
|
5
|
+
export interface ColorSchemeConfig {
|
|
6
|
+
filled: string;
|
|
7
|
+
empty: string;
|
|
8
|
+
glow: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Predefined color schemes with filled and empty colors
|
|
12
|
+
*/
|
|
13
|
+
export declare const colorSchemes: Record<RatingColorScheme, ColorSchemeConfig>;
|
|
14
|
+
/**
|
|
15
|
+
* Get color scheme by name or return default
|
|
16
|
+
*/
|
|
17
|
+
export declare const getColorScheme: (scheme: RatingColorScheme | undefined) => ColorSchemeConfig;
|
|
18
|
+
/**
|
|
19
|
+
* Get all available color scheme names
|
|
20
|
+
*/
|
|
21
|
+
export declare const getAllColorSchemes: () => RatingColorScheme[];
|
|
22
|
+
/**
|
|
23
|
+
* Color scheme categories for documentation
|
|
24
|
+
*/
|
|
25
|
+
export declare const colorSchemeCategories: {
|
|
26
|
+
readonly warm: readonly ["yellow", "amber", "orange", "red", "rose", "pink", "fuchsia"];
|
|
27
|
+
readonly cool: readonly ["purple", "violet", "indigo", "blue", "sky", "cyan", "teal"];
|
|
28
|
+
readonly nature: readonly ["green", "emerald", "lime"];
|
|
29
|
+
readonly neutral: readonly ["slate", "gray", "zinc", "neutral", "stone"];
|
|
30
|
+
readonly special: readonly ["gold", "bronze", "silver", "rainbow"];
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=Rating.colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rating.colors.d.ts","sourceRoot":"","sources":["../../../src/components/Rating/Rating.colors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,CA6IrE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GACzB,QAAQ,iBAAiB,GAAG,SAAS,KACpC,iBAEF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,QAAO,iBAAiB,EAEtD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;CAMxB,CAAC"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
// Warm colors
|
|
3
|
+
yellow: {
|
|
4
|
+
filled: "#eab308",
|
|
5
|
+
empty: "#fef9c3",
|
|
6
|
+
glow: "rgba(234, 179, 8, 0.6)"
|
|
7
|
+
},
|
|
8
|
+
amber: {
|
|
9
|
+
filled: "#f59e0b",
|
|
10
|
+
empty: "#fef3c7",
|
|
11
|
+
glow: "rgba(245, 158, 11, 0.6)"
|
|
12
|
+
},
|
|
13
|
+
orange: {
|
|
14
|
+
filled: "#f97316",
|
|
15
|
+
empty: "#ffedd5",
|
|
16
|
+
glow: "rgba(249, 115, 22, 0.6)"
|
|
17
|
+
},
|
|
18
|
+
red: {
|
|
19
|
+
filled: "#ef4444",
|
|
20
|
+
empty: "#fee2e2",
|
|
21
|
+
glow: "rgba(239, 68, 68, 0.6)"
|
|
22
|
+
},
|
|
23
|
+
rose: {
|
|
24
|
+
filled: "#f43f5e",
|
|
25
|
+
empty: "#ffe4e6",
|
|
26
|
+
glow: "rgba(244, 63, 94, 0.6)"
|
|
27
|
+
},
|
|
28
|
+
pink: {
|
|
29
|
+
filled: "#ec4899",
|
|
30
|
+
empty: "#fce7f3",
|
|
31
|
+
glow: "rgba(236, 72, 153, 0.6)"
|
|
32
|
+
},
|
|
33
|
+
fuchsia: {
|
|
34
|
+
filled: "#d946ef",
|
|
35
|
+
empty: "#fae8ff",
|
|
36
|
+
glow: "rgba(217, 70, 239, 0.6)"
|
|
37
|
+
},
|
|
38
|
+
// Cool colors
|
|
39
|
+
purple: {
|
|
40
|
+
filled: "#a855f7",
|
|
41
|
+
empty: "#f3e8ff",
|
|
42
|
+
glow: "rgba(168, 85, 247, 0.6)"
|
|
43
|
+
},
|
|
44
|
+
violet: {
|
|
45
|
+
filled: "#8b5cf6",
|
|
46
|
+
empty: "#ede9fe",
|
|
47
|
+
glow: "rgba(139, 92, 246, 0.6)"
|
|
48
|
+
},
|
|
49
|
+
indigo: {
|
|
50
|
+
filled: "#6366f1",
|
|
51
|
+
empty: "#e0e7ff",
|
|
52
|
+
glow: "rgba(99, 102, 241, 0.6)"
|
|
53
|
+
},
|
|
54
|
+
blue: {
|
|
55
|
+
filled: "#3b82f6",
|
|
56
|
+
empty: "#dbeafe",
|
|
57
|
+
glow: "rgba(59, 130, 246, 0.6)"
|
|
58
|
+
},
|
|
59
|
+
sky: {
|
|
60
|
+
filled: "#0ea5e9",
|
|
61
|
+
empty: "#e0f2fe",
|
|
62
|
+
glow: "rgba(14, 165, 233, 0.6)"
|
|
63
|
+
},
|
|
64
|
+
cyan: {
|
|
65
|
+
filled: "#06b6d4",
|
|
66
|
+
empty: "#cffafe",
|
|
67
|
+
glow: "rgba(6, 182, 212, 0.6)"
|
|
68
|
+
},
|
|
69
|
+
teal: {
|
|
70
|
+
filled: "#14b8a6",
|
|
71
|
+
empty: "#ccfbf1",
|
|
72
|
+
glow: "rgba(20, 184, 166, 0.6)"
|
|
73
|
+
},
|
|
74
|
+
// Nature colors
|
|
75
|
+
green: {
|
|
76
|
+
filled: "#22c55e",
|
|
77
|
+
empty: "#dcfce7",
|
|
78
|
+
glow: "rgba(34, 197, 94, 0.6)"
|
|
79
|
+
},
|
|
80
|
+
emerald: {
|
|
81
|
+
filled: "#10b981",
|
|
82
|
+
empty: "#d1fae5",
|
|
83
|
+
glow: "rgba(16, 185, 129, 0.6)"
|
|
84
|
+
},
|
|
85
|
+
lime: {
|
|
86
|
+
filled: "#84cc16",
|
|
87
|
+
empty: "#ecfccb",
|
|
88
|
+
glow: "rgba(132, 204, 22, 0.6)"
|
|
89
|
+
},
|
|
90
|
+
// Neutral colors
|
|
91
|
+
slate: {
|
|
92
|
+
filled: "#64748b",
|
|
93
|
+
empty: "#e2e8f0",
|
|
94
|
+
glow: "rgba(100, 116, 139, 0.6)"
|
|
95
|
+
},
|
|
96
|
+
gray: {
|
|
97
|
+
filled: "#6b7280",
|
|
98
|
+
empty: "#e5e7eb",
|
|
99
|
+
glow: "rgba(107, 114, 128, 0.6)"
|
|
100
|
+
},
|
|
101
|
+
zinc: {
|
|
102
|
+
filled: "#71717a",
|
|
103
|
+
empty: "#e4e4e7",
|
|
104
|
+
glow: "rgba(113, 113, 122, 0.6)"
|
|
105
|
+
},
|
|
106
|
+
neutral: {
|
|
107
|
+
filled: "#737373",
|
|
108
|
+
empty: "#e5e5e5",
|
|
109
|
+
glow: "rgba(115, 115, 115, 0.6)"
|
|
110
|
+
},
|
|
111
|
+
stone: {
|
|
112
|
+
filled: "#78716c",
|
|
113
|
+
empty: "#e7e5e4",
|
|
114
|
+
glow: "rgba(120, 113, 108, 0.6)"
|
|
115
|
+
},
|
|
116
|
+
// Special colors
|
|
117
|
+
gold: {
|
|
118
|
+
filled: "#ca8a04",
|
|
119
|
+
empty: "#fef3c7",
|
|
120
|
+
glow: "rgba(202, 138, 4, 0.8)"
|
|
121
|
+
},
|
|
122
|
+
bronze: {
|
|
123
|
+
filled: "#c2410c",
|
|
124
|
+
empty: "#ffedd5",
|
|
125
|
+
glow: "rgba(194, 65, 12, 0.6)"
|
|
126
|
+
},
|
|
127
|
+
silver: {
|
|
128
|
+
filled: "#9ca3af",
|
|
129
|
+
empty: "#f3f4f6",
|
|
130
|
+
glow: "rgba(156, 163, 175, 0.8)"
|
|
131
|
+
},
|
|
132
|
+
rainbow: {
|
|
133
|
+
filled: "linear-gradient(90deg, #ef4444, #f97316, #eab308, #22c55e, #3b82f6, #8b5cf6)",
|
|
134
|
+
empty: "#e5e7eb",
|
|
135
|
+
glow: "rgba(168, 85, 247, 0.6)"
|
|
136
|
+
}
|
|
137
|
+
}, f = (l) => e[l || "yellow"] || e.yellow, a = () => Object.keys(e), g = {
|
|
138
|
+
warm: ["yellow", "amber", "orange", "red", "rose", "pink", "fuchsia"],
|
|
139
|
+
cool: ["purple", "violet", "indigo", "blue", "sky", "cyan", "teal"],
|
|
140
|
+
nature: ["green", "emerald", "lime"],
|
|
141
|
+
neutral: ["slate", "gray", "zinc", "neutral", "stone"],
|
|
142
|
+
special: ["gold", "bronze", "silver", "rainbow"]
|
|
143
|
+
};
|
|
144
|
+
export {
|
|
145
|
+
g as colorSchemeCategories,
|
|
146
|
+
e as colorSchemes,
|
|
147
|
+
a as getAllColorSchemes,
|
|
148
|
+
f as getColorScheme
|
|
149
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RatingProps } from './Rating.types';
|
|
3
|
+
/**
|
|
4
|
+
* Rating Component
|
|
5
|
+
*
|
|
6
|
+
* A flexible rating component with:
|
|
7
|
+
* - 80+ built-in icons
|
|
8
|
+
* - 25+ predefined color schemes
|
|
9
|
+
* - Custom color and emptyColor support
|
|
10
|
+
* - Support for custom icons (Lucide, Iconify, etc.)
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* // Using predefined colorScheme
|
|
15
|
+
* <Rating value={4} icon="heart" colorScheme="rose" />
|
|
16
|
+
*
|
|
17
|
+
* // Using custom colors
|
|
18
|
+
* <Rating value={4} icon="star" color="#ff6b6b" emptyColor="#ffe3e3" />
|
|
19
|
+
*
|
|
20
|
+
* // Custom Lucide icon with colors
|
|
21
|
+
* import { Banana } from "lucide-react";
|
|
22
|
+
* <Rating value={4} customIcon={Banana} color="#fbbf24" emptyColor="#fef3c7" />
|
|
23
|
+
*
|
|
24
|
+
* // Iconify with colors
|
|
25
|
+
* import { Icon } from "@iconify/react";
|
|
26
|
+
* <Rating value={4} customIcon={<Icon icon="mdi:star" />} colorScheme="gold" />
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
export default Rating;
|
|
31
|
+
export { getAllIconNames, iconCategories } from './Rating.icons';
|
|
32
|
+
export { getAllColorSchemes, colorSchemeCategories } from './Rating.colors';
|
|
33
|
+
//# sourceMappingURL=Rating.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rating.d.ts","sourceRoot":"","sources":["../../../src/components/Rating/Rating.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EACV,WAAW,EAGZ,MAAM,gBAAgB,CAAC;AAuDxB;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,QAAA,MAAM,MAAM,oFA0WX,CAAC;AAIF,eAAe,MAAM,CAAC;AAGtB,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { LucideIcon } from 'lucide-react';
|
|
2
|
+
import { RatingIcon } from './Rating.types';
|
|
3
|
+
/**
|
|
4
|
+
* Comprehensive icon mapping - 80+ icons
|
|
5
|
+
*/
|
|
6
|
+
export declare const iconMap: Record<RatingIcon, LucideIcon>;
|
|
7
|
+
/**
|
|
8
|
+
* Get icon component by name
|
|
9
|
+
*/
|
|
10
|
+
export declare const getIconComponent: (icon: RatingIcon) => LucideIcon;
|
|
11
|
+
/**
|
|
12
|
+
* Get all available icon names
|
|
13
|
+
*/
|
|
14
|
+
export declare const getAllIconNames: () => RatingIcon[];
|
|
15
|
+
/**
|
|
16
|
+
* Icon categories for documentation/reference
|
|
17
|
+
*/
|
|
18
|
+
export declare const iconCategories: {
|
|
19
|
+
readonly shapes: readonly ["star", "heart", "circle", "square", "diamond", "triangle", "hexagon", "octagon", "pentagon"];
|
|
20
|
+
readonly emotions: readonly ["smile", "frown", "meh", "laugh", "angry", "thumbsUp", "thumbsDown"];
|
|
21
|
+
readonly nature: readonly ["sun", "moon", "cloud", "snowflake", "droplet", "flame", "leaf", "flower", "tree"];
|
|
22
|
+
readonly awards: readonly ["award", "trophy", "medal", "crown", "gem", "badge", "ribbon"];
|
|
23
|
+
readonly energy: readonly ["zap", "bolt", "sparkle", "sparkles", "rocket", "target"];
|
|
24
|
+
readonly food: readonly ["coffee", "pizza", "cake", "cookie", "apple", "cherry", "iceCream", "beer", "wine"];
|
|
25
|
+
readonly animals: readonly ["cat", "dog", "bird", "fish", "bug", "rabbit", "pawPrint"];
|
|
26
|
+
readonly entertainment: readonly ["music", "headphones", "gamepad", "dice", "puzzle", "palette"];
|
|
27
|
+
readonly communication: readonly ["messageCircle", "bell", "mail", "send"];
|
|
28
|
+
readonly objects: readonly ["gift", "bookmark", "flag", "key", "lock", "lightbulb", "umbrella", "glasses", "watch", "compass"];
|
|
29
|
+
readonly status: readonly ["check", "checkCircle", "x", "xCircle", "alertCircle", "info", "help"];
|
|
30
|
+
readonly misc: readonly ["ghost", "skull", "anchor", "plane", "car", "home", "building", "mountain", "waves", "infinity", "percent", "dollarSign", "euro", "bitcoin"];
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=Rating.icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rating.icons.d.ts","sourceRoot":"","sources":["../../../src/components/Rating/Rating.icons.ts"],"names":[],"mappings":"AA6GA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,UAAU,EAAE,UAAU,CAuHlD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,MAAM,UAAU,KAAG,UAEnD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,QAAO,UAAU,EAE5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;CA4FjB,CAAC"}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { Bitcoin as r, Euro as l, DollarSign as n, Percent as i, Infinity as t, Waves as c, Mountain as s, Building as m, Home as g, Car as p, Plane as h, Anchor as u, Skull as b, Ghost as d, HelpCircle as k, Info as f, AlertCircle as C, XCircle as w, X as y, CheckCircle as z, Check as S, Compass as P, Watch as D, Glasses as x, Umbrella as B, Lightbulb as M, Lock as A, Key as T, Flag as F, Bookmark as G, Gift as H, Send as I, Mail as L, Bell as U, MessageCircle as q, Palette as v, Puzzle as R, Dice5 as W, Gamepad2 as j, Headphones as O, Music as X, PawPrint as E, Rabbit as K, Bug as N, Fish as Z, Bird as J, Dog as Q, Cat as V, Wine as Y, Beer as _, IceCream2 as $, Cherry as ee, Apple as ae, Cookie as oe, Cake as re, Pizza as le, Coffee as ne, Target as ie, Rocket as te, Sparkles as ce, Sparkle as se, Zap as a, Ribbon as me, BadgeCheck as ge, Gem as pe, Crown as he, Medal as ue, Trophy as be, Award as de, TreeDeciduous as ke, Flower2 as fe, Leaf as Ce, Flame as we, Droplet as ye, Snowflake as ze, Cloud as Se, Moon as Pe, Sun as De, ThumbsDown as xe, ThumbsUp as Be, Angry as Me, Laugh as Ae, Meh as Te, Frown as Fe, Smile as Ge, Pentagon as He, Octagon as Ie, Hexagon as Le, Triangle as Ue, Diamond as qe, Square as ve, Circle as Re, Heart as We, Star as je } from "lucide-react";
|
|
2
|
+
const e = {
|
|
3
|
+
// Basic shapes
|
|
4
|
+
star: je,
|
|
5
|
+
heart: We,
|
|
6
|
+
circle: Re,
|
|
7
|
+
square: ve,
|
|
8
|
+
diamond: qe,
|
|
9
|
+
triangle: Ue,
|
|
10
|
+
hexagon: Le,
|
|
11
|
+
octagon: Ie,
|
|
12
|
+
pentagon: He,
|
|
13
|
+
// Expressions & Emotions
|
|
14
|
+
smile: Ge,
|
|
15
|
+
frown: Fe,
|
|
16
|
+
meh: Te,
|
|
17
|
+
laugh: Ae,
|
|
18
|
+
angry: Me,
|
|
19
|
+
thumbsUp: Be,
|
|
20
|
+
thumbsDown: xe,
|
|
21
|
+
// Nature & Weather
|
|
22
|
+
sun: De,
|
|
23
|
+
moon: Pe,
|
|
24
|
+
cloud: Se,
|
|
25
|
+
snowflake: ze,
|
|
26
|
+
droplet: ye,
|
|
27
|
+
flame: we,
|
|
28
|
+
leaf: Ce,
|
|
29
|
+
flower: fe,
|
|
30
|
+
tree: ke,
|
|
31
|
+
// Awards & Achievements
|
|
32
|
+
award: de,
|
|
33
|
+
trophy: be,
|
|
34
|
+
medal: ue,
|
|
35
|
+
crown: he,
|
|
36
|
+
gem: pe,
|
|
37
|
+
badge: ge,
|
|
38
|
+
ribbon: me,
|
|
39
|
+
// Energy & Power
|
|
40
|
+
zap: a,
|
|
41
|
+
bolt: a,
|
|
42
|
+
sparkle: se,
|
|
43
|
+
sparkles: ce,
|
|
44
|
+
rocket: te,
|
|
45
|
+
target: ie,
|
|
46
|
+
// Food & Drinks
|
|
47
|
+
coffee: ne,
|
|
48
|
+
pizza: le,
|
|
49
|
+
cake: re,
|
|
50
|
+
cookie: oe,
|
|
51
|
+
apple: ae,
|
|
52
|
+
cherry: ee,
|
|
53
|
+
iceCream: $,
|
|
54
|
+
beer: _,
|
|
55
|
+
wine: Y,
|
|
56
|
+
// Animals
|
|
57
|
+
cat: V,
|
|
58
|
+
dog: Q,
|
|
59
|
+
bird: J,
|
|
60
|
+
fish: Z,
|
|
61
|
+
bug: N,
|
|
62
|
+
rabbit: K,
|
|
63
|
+
pawPrint: E,
|
|
64
|
+
// Entertainment
|
|
65
|
+
music: X,
|
|
66
|
+
headphones: O,
|
|
67
|
+
gamepad: j,
|
|
68
|
+
dice: W,
|
|
69
|
+
puzzle: R,
|
|
70
|
+
palette: v,
|
|
71
|
+
// Communication
|
|
72
|
+
messageCircle: q,
|
|
73
|
+
bell: U,
|
|
74
|
+
mail: L,
|
|
75
|
+
send: I,
|
|
76
|
+
// Objects
|
|
77
|
+
gift: H,
|
|
78
|
+
bookmark: G,
|
|
79
|
+
flag: F,
|
|
80
|
+
key: T,
|
|
81
|
+
lock: A,
|
|
82
|
+
lightbulb: M,
|
|
83
|
+
umbrella: B,
|
|
84
|
+
glasses: x,
|
|
85
|
+
watch: D,
|
|
86
|
+
compass: P,
|
|
87
|
+
// Status
|
|
88
|
+
check: S,
|
|
89
|
+
checkCircle: z,
|
|
90
|
+
x: y,
|
|
91
|
+
xCircle: w,
|
|
92
|
+
alertCircle: C,
|
|
93
|
+
info: f,
|
|
94
|
+
help: k,
|
|
95
|
+
// Misc
|
|
96
|
+
ghost: d,
|
|
97
|
+
skull: b,
|
|
98
|
+
anchor: u,
|
|
99
|
+
plane: h,
|
|
100
|
+
car: p,
|
|
101
|
+
home: g,
|
|
102
|
+
building: m,
|
|
103
|
+
mountain: s,
|
|
104
|
+
waves: c,
|
|
105
|
+
infinity: t,
|
|
106
|
+
// Use renamed import
|
|
107
|
+
percent: i,
|
|
108
|
+
dollarSign: n,
|
|
109
|
+
euro: l,
|
|
110
|
+
bitcoin: r
|
|
111
|
+
}, Xe = (o) => e[o] || e.star, Ee = () => Object.keys(e), Ke = {
|
|
112
|
+
shapes: [
|
|
113
|
+
"star",
|
|
114
|
+
"heart",
|
|
115
|
+
"circle",
|
|
116
|
+
"square",
|
|
117
|
+
"diamond",
|
|
118
|
+
"triangle",
|
|
119
|
+
"hexagon",
|
|
120
|
+
"octagon",
|
|
121
|
+
"pentagon"
|
|
122
|
+
],
|
|
123
|
+
emotions: [
|
|
124
|
+
"smile",
|
|
125
|
+
"frown",
|
|
126
|
+
"meh",
|
|
127
|
+
"laugh",
|
|
128
|
+
"angry",
|
|
129
|
+
"thumbsUp",
|
|
130
|
+
"thumbsDown"
|
|
131
|
+
],
|
|
132
|
+
nature: [
|
|
133
|
+
"sun",
|
|
134
|
+
"moon",
|
|
135
|
+
"cloud",
|
|
136
|
+
"snowflake",
|
|
137
|
+
"droplet",
|
|
138
|
+
"flame",
|
|
139
|
+
"leaf",
|
|
140
|
+
"flower",
|
|
141
|
+
"tree"
|
|
142
|
+
],
|
|
143
|
+
awards: ["award", "trophy", "medal", "crown", "gem", "badge", "ribbon"],
|
|
144
|
+
energy: ["zap", "bolt", "sparkle", "sparkles", "rocket", "target"],
|
|
145
|
+
food: [
|
|
146
|
+
"coffee",
|
|
147
|
+
"pizza",
|
|
148
|
+
"cake",
|
|
149
|
+
"cookie",
|
|
150
|
+
"apple",
|
|
151
|
+
"cherry",
|
|
152
|
+
"iceCream",
|
|
153
|
+
"beer",
|
|
154
|
+
"wine"
|
|
155
|
+
],
|
|
156
|
+
animals: ["cat", "dog", "bird", "fish", "bug", "rabbit", "pawPrint"],
|
|
157
|
+
entertainment: [
|
|
158
|
+
"music",
|
|
159
|
+
"headphones",
|
|
160
|
+
"gamepad",
|
|
161
|
+
"dice",
|
|
162
|
+
"puzzle",
|
|
163
|
+
"palette"
|
|
164
|
+
],
|
|
165
|
+
communication: ["messageCircle", "bell", "mail", "send"],
|
|
166
|
+
objects: [
|
|
167
|
+
"gift",
|
|
168
|
+
"bookmark",
|
|
169
|
+
"flag",
|
|
170
|
+
"key",
|
|
171
|
+
"lock",
|
|
172
|
+
"lightbulb",
|
|
173
|
+
"umbrella",
|
|
174
|
+
"glasses",
|
|
175
|
+
"watch",
|
|
176
|
+
"compass"
|
|
177
|
+
],
|
|
178
|
+
status: [
|
|
179
|
+
"check",
|
|
180
|
+
"checkCircle",
|
|
181
|
+
"x",
|
|
182
|
+
"xCircle",
|
|
183
|
+
"alertCircle",
|
|
184
|
+
"info",
|
|
185
|
+
"help"
|
|
186
|
+
],
|
|
187
|
+
misc: [
|
|
188
|
+
"ghost",
|
|
189
|
+
"skull",
|
|
190
|
+
"anchor",
|
|
191
|
+
"plane",
|
|
192
|
+
"car",
|
|
193
|
+
"home",
|
|
194
|
+
"building",
|
|
195
|
+
"mountain",
|
|
196
|
+
"waves",
|
|
197
|
+
"infinity",
|
|
198
|
+
"percent",
|
|
199
|
+
"dollarSign",
|
|
200
|
+
"euro",
|
|
201
|
+
"bitcoin"
|
|
202
|
+
]
|
|
203
|
+
};
|
|
204
|
+
export {
|
|
205
|
+
Ee as getAllIconNames,
|
|
206
|
+
Xe as getIconComponent,
|
|
207
|
+
Ke as iconCategories,
|
|
208
|
+
e as iconMap
|
|
209
|
+
};
|