@memobit/icons 1.6.0 → 1.8.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 +111 -94
- package/dist/animated/running.d.ts +6 -0
- package/dist/animated/running.js +132 -0
- package/dist/animated.d.ts +6 -0
- package/dist/animated.js +7 -0
- package/dist/iconAliases/actions.js +7 -0
- package/dist/iconAliases/files.js +8 -0
- package/dist/iconAliases/navigation.js +14 -0
- package/dist/iconAliases/status.js +8 -0
- package/dist/iconAliases/tools.js +156 -0
- package/dist/iconCategories.js +27 -1
- package/dist/iconModules.js +27 -1
- package/dist/iconNames.d.ts +1 -1
- package/dist/icons/blur.d.ts +1 -0
- package/dist/icons/blur.js +12 -0
- package/dist/icons/brush.d.ts +1 -0
- package/dist/icons/brush.js +12 -0
- package/dist/icons/calendar-year.js +31 -37
- package/dist/icons/carrot.js +1 -7
- package/dist/icons/cheese.js +1 -7
- package/dist/icons/clone-stamp.d.ts +1 -0
- package/dist/icons/clone-stamp.js +12 -0
- package/dist/icons/corn.js +0 -3
- package/dist/icons/crop.d.ts +1 -0
- package/dist/icons/crop.js +12 -0
- package/dist/icons/death.js +0 -1
- package/dist/icons/eraser.d.ts +1 -0
- package/dist/icons/eraser.js +12 -0
- package/dist/icons/eyedropper.d.ts +1 -0
- package/dist/icons/eyedropper.js +12 -0
- package/dist/icons/file-add.d.ts +1 -0
- package/dist/icons/file-add.js +12 -0
- package/dist/icons/gradient.d.ts +1 -0
- package/dist/icons/gradient.js +15 -0
- package/dist/icons/hammer.js +1 -7
- package/dist/icons/hand.d.ts +1 -0
- package/dist/icons/hand.js +12 -0
- package/dist/icons/hd.js +33 -43
- package/dist/icons/heating.js +0 -1
- package/dist/icons/invert-selection.d.ts +1 -0
- package/dist/icons/invert-selection.js +15 -0
- package/dist/icons/lasso.d.ts +1 -0
- package/dist/icons/lasso.js +12 -0
- package/dist/icons/magic-wand.d.ts +1 -0
- package/dist/icons/magic-wand.js +12 -0
- package/dist/icons/marquee-ellipse.d.ts +1 -0
- package/dist/icons/marquee-ellipse.js +12 -0
- package/dist/icons/marquee-rectangle.d.ts +1 -0
- package/dist/icons/marquee-rectangle.js +12 -0
- package/dist/icons/minimum.js +71 -77
- package/dist/icons/move.d.ts +1 -0
- package/dist/icons/move.js +12 -0
- package/dist/icons/paint-bucket.d.ts +1 -0
- package/dist/icons/paint-bucket.js +12 -0
- package/dist/icons/pencil.d.ts +1 -0
- package/dist/icons/pencil.js +12 -0
- package/dist/icons/pig.js +1 -7
- package/dist/icons/rain.js +1 -7
- package/dist/icons/satellite.js +33 -43
- package/dist/icons/scss.js +0 -3
- package/dist/icons/sd.js +33 -43
- package/dist/icons/shapes.d.ts +1 -0
- package/dist/icons/shapes.js +12 -0
- package/dist/icons/sharpen.d.ts +1 -0
- package/dist/icons/sharpen.js +12 -0
- package/dist/icons/smudge.d.ts +1 -0
- package/dist/icons/smudge.js +12 -0
- package/dist/icons/spot-healing.d.ts +1 -0
- package/dist/icons/spot-healing.js +12 -0
- package/dist/icons/ssl.js +45 -51
- package/dist/icons/text.d.ts +1 -0
- package/dist/icons/text.js +12 -0
- package/dist/icons/triangle-left.d.ts +1 -0
- package/dist/icons/triangle-left.js +12 -0
- package/dist/icons/triangle-right.d.ts +1 -0
- package/dist/icons/triangle-right.js +12 -0
- package/dist/icons/view-off.d.ts +1 -0
- package/dist/icons/view-off.js +12 -0
- package/dist/icons/zoom-in.d.ts +1 -0
- package/dist/icons/zoom-in.js +12 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +27 -1
- package/dist/map.js +52 -0
- package/package.json +106 -101
package/README.md
CHANGED
|
@@ -1,94 +1,111 @@
|
|
|
1
|
-
# @memobit/icons
|
|
2
|
-
|
|
3
|
-
495 hand-built SVG icons for the Memobit apps, with categories and search aliases.
|
|
4
|
-
TypeScript-first, ESM-only, React 19.
|
|
5
|
-
|
|
6
|
-
Extracted from [`@memobit/libs`](https://github.com/CristeaIulian/memobit-react-library)
|
|
7
|
-
in v2.0.0 of that library, so icons can be versioned and released independently.
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npm install @memobit/icons
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
`react` is a peer dependency.
|
|
16
|
-
|
|
17
|
-
## Usage
|
|
18
|
-
|
|
19
|
-
### Import the icons you need (tree-shakeable)
|
|
20
|
-
|
|
21
|
-
```ts
|
|
22
|
-
import { arrowUp, bee } from '@memobit/icons';
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Each icon is a `ReactElement` rendering an inline `<svg>` sized at `1em` with
|
|
26
|
-
`fill="currentColor"`, so it inherits font size and colour from its container.
|
|
27
|
-
|
|
28
|
-
Every icon is its own module and the package is marked side-effect free, so a bundler
|
|
29
|
-
drops whatever you do not import. Importing two icons costs ~4 KB, not the full set.
|
|
30
|
-
|
|
31
|
-
### Look an icon up by name
|
|
32
|
-
|
|
33
|
-
```ts
|
|
34
|
-
import { iconMap } from '@memobit/icons/map';
|
|
35
|
-
|
|
36
|
-
const element = iconMap[name];
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
`iconMap` is behind its own subpath deliberately: it references all 495 icons, so
|
|
40
|
-
importing it pulls in the whole set and defeats tree-shaking. Reach for it only when the
|
|
41
|
-
name is not known until runtime — for example a value chosen through a picker and
|
|
42
|
-
persisted to a database.
|
|
43
|
-
|
|
44
|
-
The same subpath exports `getIcon(name)`, `loadIcon(name)`, `loadAllIcons()` and
|
|
45
|
-
`canLoadMoreIcons`. With the full map they simply read it. With the Vite plugin's
|
|
46
|
-
`lazy: true`, only the icons found in the app's source ship up front; any other icon is
|
|
47
|
-
fetched as its own small chunk the first time `loadIcon` asks for it, and `loadAllIcons`
|
|
48
|
-
fetches the rest of the set, which is what an icon picker needs.
|
|
49
|
-
|
|
50
|
-
```ts
|
|
51
|
-
memobitIcons({ root: import.meta.dirname, lazy: true });
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### Metadata
|
|
55
|
-
|
|
56
|
-
```ts
|
|
57
|
-
import {
|
|
58
|
-
iconAliases,
|
|
59
|
-
iconCategoryById,
|
|
60
|
-
iconCategoryByPath,
|
|
61
|
-
iconCategoryDefinitions,
|
|
62
|
-
OTHER_CATEGORY_ID,
|
|
63
|
-
otherCategory,
|
|
64
|
-
type IconCategory,
|
|
65
|
-
type IconName,
|
|
66
|
-
} from '@memobit/icons';
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
- `IconName` — union of all 495 names.
|
|
70
|
-
- `iconCategoryDefinitions` — the categories, each with its icon names.
|
|
71
|
-
- `iconAliases` — search synonyms per icon, used by the icon picker.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
1
|
+
# @memobit/icons
|
|
2
|
+
|
|
3
|
+
495 hand-built SVG icons for the Memobit apps, with categories and search aliases.
|
|
4
|
+
TypeScript-first, ESM-only, React 19.
|
|
5
|
+
|
|
6
|
+
Extracted from [`@memobit/libs`](https://github.com/CristeaIulian/memobit-react-library)
|
|
7
|
+
in v2.0.0 of that library, so icons can be versioned and released independently.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install @memobit/icons
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
`react` is a peer dependency.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### Import the icons you need (tree-shakeable)
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import { arrowUp, bee } from '@memobit/icons';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Each icon is a `ReactElement` rendering an inline `<svg>` sized at `1em` with
|
|
26
|
+
`fill="currentColor"`, so it inherits font size and colour from its container.
|
|
27
|
+
|
|
28
|
+
Every icon is its own module and the package is marked side-effect free, so a bundler
|
|
29
|
+
drops whatever you do not import. Importing two icons costs ~4 KB, not the full set.
|
|
30
|
+
|
|
31
|
+
### Look an icon up by name
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
import { iconMap } from '@memobit/icons/map';
|
|
35
|
+
|
|
36
|
+
const element = iconMap[name];
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
`iconMap` is behind its own subpath deliberately: it references all 495 icons, so
|
|
40
|
+
importing it pulls in the whole set and defeats tree-shaking. Reach for it only when the
|
|
41
|
+
name is not known until runtime — for example a value chosen through a picker and
|
|
42
|
+
persisted to a database.
|
|
43
|
+
|
|
44
|
+
The same subpath exports `getIcon(name)`, `loadIcon(name)`, `loadAllIcons()` and
|
|
45
|
+
`canLoadMoreIcons`. With the full map they simply read it. With the Vite plugin's
|
|
46
|
+
`lazy: true`, only the icons found in the app's source ship up front; any other icon is
|
|
47
|
+
fetched as its own small chunk the first time `loadIcon` asks for it, and `loadAllIcons`
|
|
48
|
+
fetches the rest of the set, which is what an icon picker needs.
|
|
49
|
+
|
|
50
|
+
```ts
|
|
51
|
+
memobitIcons({ root: import.meta.dirname, lazy: true });
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Metadata
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
import {
|
|
58
|
+
iconAliases,
|
|
59
|
+
iconCategoryById,
|
|
60
|
+
iconCategoryByPath,
|
|
61
|
+
iconCategoryDefinitions,
|
|
62
|
+
OTHER_CATEGORY_ID,
|
|
63
|
+
otherCategory,
|
|
64
|
+
type IconCategory,
|
|
65
|
+
type IconName,
|
|
66
|
+
} from '@memobit/icons';
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
- `IconName` — union of all 495 names.
|
|
70
|
+
- `iconCategoryDefinitions` — the categories, each with its icon names.
|
|
71
|
+
- `iconAliases` — search synonyms per icon, used by the icon picker.
|
|
72
|
+
|
|
73
|
+
### Animated icons
|
|
74
|
+
|
|
75
|
+
```tsx
|
|
76
|
+
import { AnimatedIcon } from '@memobit/libs';
|
|
77
|
+
|
|
78
|
+
<AnimatedIcon name="running" size="sm" />;
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
A separate set behind `@memobit/icons/animated`, for something happening right now (motion
|
|
82
|
+
in a room, a job running). It exports `animatedIconMap`, the `AnimatedIconName` union and
|
|
83
|
+
`animatedIconDescriptions`. These icons move on their own (SMIL inside the SVG, no CSS
|
|
84
|
+
needed), may use strokes, and stay out of `iconMap`, `IconName`, the categories and the
|
|
85
|
+
Vite trim plugin.
|
|
86
|
+
|
|
87
|
+
To add one: put `src/animated/<kebab-name>.tsx` next to `running.tsx`, then add it to
|
|
88
|
+
`animatedIconMap` and `animatedIconDescriptions` in `src/animated.ts`.
|
|
89
|
+
|
|
90
|
+
## Adding an icon
|
|
91
|
+
|
|
92
|
+
1. Add `src/icons/<kebab-name>.tsx` exporting a camelCase const.
|
|
93
|
+
2. Add the import and the map entry in `src/map.ts`.
|
|
94
|
+
3. Add the name to the right category in `src/iconCategories.ts`, and aliases in
|
|
95
|
+
`src/iconAliases/` if it needs them.
|
|
96
|
+
4. Run `npm run generate:icon-names` to regenerate the `IconName` union.
|
|
97
|
+
5. Run `npm run build`.
|
|
98
|
+
|
|
99
|
+
The `IconName` union is generated rather than derived as `keyof typeof iconMap`, because
|
|
100
|
+
the derived form forced the whole map's object type into the emitted declarations and
|
|
101
|
+
dominated the type-build time.
|
|
102
|
+
|
|
103
|
+
## Build output
|
|
104
|
+
|
|
105
|
+
Modules are preserved one-to-one from `src/` into `dist/` rather than bundled, so every
|
|
106
|
+
icon stays its own chunk. `dist/index.js` re-exports them all; `dist/map.js` holds the
|
|
107
|
+
lookup.
|
|
108
|
+
|
|
109
|
+
## License
|
|
110
|
+
|
|
111
|
+
Apache-2.0
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A stick figure running in place, with a slight bob. The limbs are SMIL animations rather than CSS
|
|
3
|
+
* ones, as each joint turns around its own point inside the limb above it. The far arm and leg are
|
|
4
|
+
* fainter, so the two legs read apart even at text size.
|
|
5
|
+
*/
|
|
6
|
+
export declare const running: import('react').JSX.Element;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/animated/running.tsx
|
|
3
|
+
var STRIDE_SECONDS = .7;
|
|
4
|
+
var HALF_STRIDE = `-${STRIDE_SECONDS / 2}s`;
|
|
5
|
+
var EASE = "0.45 0 0.55 1";
|
|
6
|
+
/** Rotates its group around the joint at the group's origin, through the angles (0 hangs straight down, negative swings forward). */
|
|
7
|
+
var swing = (angles, keyTimes, begin = "0s") => /* @__PURE__ */ jsx("animateTransform", {
|
|
8
|
+
attributeName: "transform",
|
|
9
|
+
type: "rotate",
|
|
10
|
+
values: angles.join(";"),
|
|
11
|
+
keyTimes: keyTimes.join(";"),
|
|
12
|
+
keySplines: keyTimes.slice(1).map(() => EASE).join(";"),
|
|
13
|
+
calcMode: "spline",
|
|
14
|
+
dur: `${STRIDE_SECONDS}s`,
|
|
15
|
+
begin,
|
|
16
|
+
repeatCount: "indefinite"
|
|
17
|
+
});
|
|
18
|
+
/** The upper arm swings from the shoulder, the forearm held bent forward. */
|
|
19
|
+
var arm = (begin) => /* @__PURE__ */ jsx("g", {
|
|
20
|
+
transform: "translate(13.6 8.9)",
|
|
21
|
+
children: /* @__PURE__ */ jsxs("g", { children: [
|
|
22
|
+
swing([
|
|
23
|
+
40,
|
|
24
|
+
-45,
|
|
25
|
+
40
|
|
26
|
+
], [
|
|
27
|
+
0,
|
|
28
|
+
.5,
|
|
29
|
+
1
|
|
30
|
+
], begin),
|
|
31
|
+
/* @__PURE__ */ jsx("line", {
|
|
32
|
+
x1: "0",
|
|
33
|
+
y1: "0",
|
|
34
|
+
x2: "0",
|
|
35
|
+
y2: "3.6"
|
|
36
|
+
}),
|
|
37
|
+
/* @__PURE__ */ jsx("g", {
|
|
38
|
+
transform: "translate(0 3.6) rotate(-85)",
|
|
39
|
+
children: /* @__PURE__ */ jsx("line", {
|
|
40
|
+
x1: "0",
|
|
41
|
+
y1: "0",
|
|
42
|
+
x2: "0",
|
|
43
|
+
y2: "3.2"
|
|
44
|
+
})
|
|
45
|
+
})
|
|
46
|
+
] })
|
|
47
|
+
});
|
|
48
|
+
/** The thigh swings from the hip, the shin folds back on the recovery and reaches out to land. */
|
|
49
|
+
var leg = (begin) => /* @__PURE__ */ jsx("g", {
|
|
50
|
+
transform: "translate(11.5 13.6)",
|
|
51
|
+
children: /* @__PURE__ */ jsxs("g", { children: [
|
|
52
|
+
swing([
|
|
53
|
+
-45,
|
|
54
|
+
35,
|
|
55
|
+
-45
|
|
56
|
+
], [
|
|
57
|
+
0,
|
|
58
|
+
.5,
|
|
59
|
+
1
|
|
60
|
+
], begin),
|
|
61
|
+
/* @__PURE__ */ jsx("line", {
|
|
62
|
+
x1: "0",
|
|
63
|
+
y1: "0",
|
|
64
|
+
x2: "0",
|
|
65
|
+
y2: "4.6"
|
|
66
|
+
}),
|
|
67
|
+
/* @__PURE__ */ jsx("g", {
|
|
68
|
+
transform: "translate(0 4.6)",
|
|
69
|
+
children: /* @__PURE__ */ jsxs("g", { children: [swing([
|
|
70
|
+
10,
|
|
71
|
+
20,
|
|
72
|
+
100,
|
|
73
|
+
10
|
|
74
|
+
], [
|
|
75
|
+
0,
|
|
76
|
+
.5,
|
|
77
|
+
.75,
|
|
78
|
+
1
|
|
79
|
+
], begin), /* @__PURE__ */ jsx("line", {
|
|
80
|
+
x1: "0",
|
|
81
|
+
y1: "0",
|
|
82
|
+
x2: "0",
|
|
83
|
+
y2: "4.8"
|
|
84
|
+
})] })
|
|
85
|
+
})
|
|
86
|
+
] })
|
|
87
|
+
});
|
|
88
|
+
/**
|
|
89
|
+
* A stick figure running in place, with a slight bob. The limbs are SMIL animations rather than CSS
|
|
90
|
+
* ones, as each joint turns around its own point inside the limb above it. The far arm and leg are
|
|
91
|
+
* fainter, so the two legs read apart even at text size.
|
|
92
|
+
*/
|
|
93
|
+
var running = /* @__PURE__ */ jsx("svg", {
|
|
94
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
95
|
+
viewBox: "0 0 24 24",
|
|
96
|
+
width: "1em",
|
|
97
|
+
height: "1em",
|
|
98
|
+
fill: "none",
|
|
99
|
+
stroke: "currentColor",
|
|
100
|
+
strokeWidth: "2.4",
|
|
101
|
+
strokeLinecap: "round",
|
|
102
|
+
children: /* @__PURE__ */ jsxs("g", { children: [
|
|
103
|
+
/* @__PURE__ */ jsx("animateTransform", {
|
|
104
|
+
attributeName: "transform",
|
|
105
|
+
type: "translate",
|
|
106
|
+
values: "0 0;0 -0.8;0 0",
|
|
107
|
+
dur: `${STRIDE_SECONDS / 2}s`,
|
|
108
|
+
repeatCount: "indefinite"
|
|
109
|
+
}),
|
|
110
|
+
/* @__PURE__ */ jsxs("g", {
|
|
111
|
+
opacity: "0.55",
|
|
112
|
+
children: [arm(HALF_STRIDE), leg(HALF_STRIDE)]
|
|
113
|
+
}),
|
|
114
|
+
/* @__PURE__ */ jsx("circle", {
|
|
115
|
+
cx: "15",
|
|
116
|
+
cy: "4.2",
|
|
117
|
+
r: "2.3",
|
|
118
|
+
fill: "currentColor",
|
|
119
|
+
stroke: "none"
|
|
120
|
+
}),
|
|
121
|
+
/* @__PURE__ */ jsx("line", {
|
|
122
|
+
x1: "14",
|
|
123
|
+
y1: "8",
|
|
124
|
+
x2: "11.5",
|
|
125
|
+
y2: "13.6"
|
|
126
|
+
}),
|
|
127
|
+
leg(),
|
|
128
|
+
arm()
|
|
129
|
+
] })
|
|
130
|
+
});
|
|
131
|
+
//#endregion
|
|
132
|
+
export { running };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const animatedIconMap: {
|
|
2
|
+
running: import('react').JSX.Element;
|
|
3
|
+
};
|
|
4
|
+
export type AnimatedIconName = keyof typeof animatedIconMap;
|
|
5
|
+
/** What each animated icon is for, shown in the icon catalog. */
|
|
6
|
+
export declare const animatedIconDescriptions: Readonly<Record<AnimatedIconName, string>>;
|
package/dist/animated.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { running } from "./animated/running.js";
|
|
2
|
+
//#region src/animated.ts
|
|
3
|
+
var animatedIconMap = { running };
|
|
4
|
+
/** What each animated icon is for, shown in the icon catalog. */
|
|
5
|
+
var animatedIconDescriptions = { running: "Someone moving right now: motion or presence detected." };
|
|
6
|
+
//#endregion
|
|
7
|
+
export { animatedIconDescriptions, animatedIconMap };
|
|
@@ -274,6 +274,20 @@ var aliasesNavigation = {
|
|
|
274
274
|
"display",
|
|
275
275
|
"preview",
|
|
276
276
|
"look"
|
|
277
|
+
],
|
|
278
|
+
"triangle-left": [
|
|
279
|
+
"previous",
|
|
280
|
+
"back",
|
|
281
|
+
"left",
|
|
282
|
+
"arrow",
|
|
283
|
+
"prev"
|
|
284
|
+
],
|
|
285
|
+
"triangle-right": [
|
|
286
|
+
"next",
|
|
287
|
+
"forward",
|
|
288
|
+
"right",
|
|
289
|
+
"arrow",
|
|
290
|
+
"play"
|
|
277
291
|
]
|
|
278
292
|
};
|
|
279
293
|
//#endregion
|
|
@@ -92,6 +92,162 @@ var aliasesTools = {
|
|
|
92
92
|
"art",
|
|
93
93
|
"roller",
|
|
94
94
|
"redecorate"
|
|
95
|
+
],
|
|
96
|
+
move: [
|
|
97
|
+
"move-tool",
|
|
98
|
+
"drag",
|
|
99
|
+
"reposition",
|
|
100
|
+
"arrows",
|
|
101
|
+
"pan",
|
|
102
|
+
"layer"
|
|
103
|
+
],
|
|
104
|
+
"marquee-rectangle": [
|
|
105
|
+
"select",
|
|
106
|
+
"selection",
|
|
107
|
+
"rectangle",
|
|
108
|
+
"marquee",
|
|
109
|
+
"dashed",
|
|
110
|
+
"area"
|
|
111
|
+
],
|
|
112
|
+
"marquee-ellipse": [
|
|
113
|
+
"select",
|
|
114
|
+
"selection",
|
|
115
|
+
"ellipse",
|
|
116
|
+
"circle",
|
|
117
|
+
"marquee",
|
|
118
|
+
"dotted"
|
|
119
|
+
],
|
|
120
|
+
lasso: [
|
|
121
|
+
"select",
|
|
122
|
+
"selection",
|
|
123
|
+
"freehand",
|
|
124
|
+
"rope",
|
|
125
|
+
"loop"
|
|
126
|
+
],
|
|
127
|
+
"magic-wand": [
|
|
128
|
+
"select",
|
|
129
|
+
"wand",
|
|
130
|
+
"auto",
|
|
131
|
+
"magic",
|
|
132
|
+
"sparkle",
|
|
133
|
+
"similar"
|
|
134
|
+
],
|
|
135
|
+
crop: [
|
|
136
|
+
"trim",
|
|
137
|
+
"cut",
|
|
138
|
+
"frame",
|
|
139
|
+
"image",
|
|
140
|
+
"resize"
|
|
141
|
+
],
|
|
142
|
+
eyedropper: [
|
|
143
|
+
"color-picker",
|
|
144
|
+
"sample",
|
|
145
|
+
"pipette",
|
|
146
|
+
"dropper",
|
|
147
|
+
"pick-color"
|
|
148
|
+
],
|
|
149
|
+
"spot-healing": [
|
|
150
|
+
"heal",
|
|
151
|
+
"bandage",
|
|
152
|
+
"retouch",
|
|
153
|
+
"repair",
|
|
154
|
+
"blemish",
|
|
155
|
+
"fix"
|
|
156
|
+
],
|
|
157
|
+
brush: [
|
|
158
|
+
"paint",
|
|
159
|
+
"paintbrush",
|
|
160
|
+
"draw",
|
|
161
|
+
"art",
|
|
162
|
+
"stroke"
|
|
163
|
+
],
|
|
164
|
+
pencil: [
|
|
165
|
+
"draw",
|
|
166
|
+
"write",
|
|
167
|
+
"sketch",
|
|
168
|
+
"pixel",
|
|
169
|
+
"line"
|
|
170
|
+
],
|
|
171
|
+
"clone-stamp": [
|
|
172
|
+
"stamp",
|
|
173
|
+
"clone",
|
|
174
|
+
"copy",
|
|
175
|
+
"duplicate",
|
|
176
|
+
"retouch"
|
|
177
|
+
],
|
|
178
|
+
eraser: [
|
|
179
|
+
"erase",
|
|
180
|
+
"rubber",
|
|
181
|
+
"remove",
|
|
182
|
+
"delete",
|
|
183
|
+
"clear"
|
|
184
|
+
],
|
|
185
|
+
"paint-bucket": [
|
|
186
|
+
"fill",
|
|
187
|
+
"bucket",
|
|
188
|
+
"flood",
|
|
189
|
+
"color",
|
|
190
|
+
"paint"
|
|
191
|
+
],
|
|
192
|
+
gradient: [
|
|
193
|
+
"fade",
|
|
194
|
+
"blend",
|
|
195
|
+
"transition",
|
|
196
|
+
"ramp",
|
|
197
|
+
"shade"
|
|
198
|
+
],
|
|
199
|
+
blur: [
|
|
200
|
+
"soften",
|
|
201
|
+
"drop",
|
|
202
|
+
"smooth",
|
|
203
|
+
"focus",
|
|
204
|
+
"water"
|
|
205
|
+
],
|
|
206
|
+
sharpen: [
|
|
207
|
+
"sharp",
|
|
208
|
+
"focus",
|
|
209
|
+
"detail",
|
|
210
|
+
"triangle",
|
|
211
|
+
"crisp"
|
|
212
|
+
],
|
|
213
|
+
smudge: [
|
|
214
|
+
"smear",
|
|
215
|
+
"finger",
|
|
216
|
+
"touch",
|
|
217
|
+
"blend",
|
|
218
|
+
"drag"
|
|
219
|
+
],
|
|
220
|
+
text: [
|
|
221
|
+
"type",
|
|
222
|
+
"typography",
|
|
223
|
+
"font",
|
|
224
|
+
"letter",
|
|
225
|
+
"caption",
|
|
226
|
+
"write"
|
|
227
|
+
],
|
|
228
|
+
shapes: [
|
|
229
|
+
"shape",
|
|
230
|
+
"triangle",
|
|
231
|
+
"circle",
|
|
232
|
+
"square",
|
|
233
|
+
"geometry",
|
|
234
|
+
"draw"
|
|
235
|
+
],
|
|
236
|
+
hand: [
|
|
237
|
+
"pan",
|
|
238
|
+
"grab",
|
|
239
|
+
"drag",
|
|
240
|
+
"move",
|
|
241
|
+
"scroll",
|
|
242
|
+
"palm"
|
|
243
|
+
],
|
|
244
|
+
"zoom-in": [
|
|
245
|
+
"zoom",
|
|
246
|
+
"magnify",
|
|
247
|
+
"enlarge",
|
|
248
|
+
"magnifier",
|
|
249
|
+
"plus",
|
|
250
|
+
"search"
|
|
95
251
|
]
|
|
96
252
|
};
|
|
97
253
|
//#endregion
|
package/dist/iconCategories.js
CHANGED
|
@@ -39,6 +39,8 @@ var iconCategoryDefinitions = [
|
|
|
39
39
|
"table",
|
|
40
40
|
"toggle-off",
|
|
41
41
|
"toggle-on",
|
|
42
|
+
"triangle-left",
|
|
43
|
+
"triangle-right",
|
|
42
44
|
"tune",
|
|
43
45
|
"ungroup",
|
|
44
46
|
"vertical-dots",
|
|
@@ -72,6 +74,7 @@ var iconCategoryDefinitions = [
|
|
|
72
74
|
"status",
|
|
73
75
|
"threshold",
|
|
74
76
|
"unassociated",
|
|
77
|
+
"view-off",
|
|
75
78
|
"wait",
|
|
76
79
|
"warning",
|
|
77
80
|
"not-found"
|
|
@@ -375,6 +378,7 @@ var iconCategoryDefinitions = [
|
|
|
375
378
|
"document",
|
|
376
379
|
"documents",
|
|
377
380
|
"file",
|
|
381
|
+
"file-add",
|
|
378
382
|
"folder",
|
|
379
383
|
"folder-open",
|
|
380
384
|
"memory",
|
|
@@ -444,18 +448,39 @@ var iconCategoryDefinitions = [
|
|
|
444
448
|
id: "tools",
|
|
445
449
|
label: "Tools",
|
|
446
450
|
icons: [
|
|
451
|
+
"blur",
|
|
447
452
|
"broom",
|
|
453
|
+
"brush",
|
|
448
454
|
"calibrate",
|
|
455
|
+
"clone-stamp",
|
|
456
|
+
"crop",
|
|
457
|
+
"eraser",
|
|
458
|
+
"eyedropper",
|
|
459
|
+
"gradient",
|
|
449
460
|
"hammer",
|
|
461
|
+
"hand",
|
|
450
462
|
"ink-cartridge",
|
|
463
|
+
"lasso",
|
|
464
|
+
"magic-wand",
|
|
451
465
|
"magnet",
|
|
466
|
+
"marquee-ellipse",
|
|
467
|
+
"marquee-rectangle",
|
|
452
468
|
"microscope",
|
|
469
|
+
"move",
|
|
453
470
|
"paint",
|
|
471
|
+
"paint-bucket",
|
|
472
|
+
"pencil",
|
|
454
473
|
"ruler",
|
|
455
474
|
"scissors",
|
|
475
|
+
"shapes",
|
|
476
|
+
"sharpen",
|
|
477
|
+
"smudge",
|
|
478
|
+
"spot-healing",
|
|
456
479
|
"telescope",
|
|
480
|
+
"text",
|
|
457
481
|
"toolbox",
|
|
458
|
-
"wrench"
|
|
482
|
+
"wrench",
|
|
483
|
+
"zoom-in"
|
|
459
484
|
]
|
|
460
485
|
},
|
|
461
486
|
{
|
|
@@ -630,6 +655,7 @@ var iconCategoryDefinitions = [
|
|
|
630
655
|
"duplicates",
|
|
631
656
|
"export",
|
|
632
657
|
"import",
|
|
658
|
+
"invert-selection",
|
|
633
659
|
"logout",
|
|
634
660
|
"manage",
|
|
635
661
|
"power",
|