@verbb/plugin-kit-icons 2.0.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/CHANGELOG.md +13 -0
- package/README.md +147 -0
- package/dist/all.d.ts +2 -0
- package/dist/all.d.ts.map +1 -0
- package/dist/all.js +19 -0
- package/dist/all.js.map +1 -0
- package/dist/icons.d.ts +147 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/icons.js +433 -0
- package/dist/icons.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/registry.d.ts +36 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +61 -0
- package/dist/registry.js.map +1 -0
- package/dist/svg.d.ts +12 -0
- package/dist/svg.d.ts.map +1 -0
- package/dist/svg.js +36 -0
- package/dist/svg.js.map +1 -0
- package/dist/types.d.ts +29 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +0 -0
- package/package.json +56 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 2.0.0 - 2026-07-19
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Opt-in curated icon set for `<pk-icon>` via `registerIcons` (named exports) or `@verbb/plugin-kit-icons/all.js` for the full set.
|
|
9
|
+
- No synonym aliases — one canonical kebab-case name per glyph; camelCase JS keys normalize on register.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- Package versions lockstep with `@verbb/plugin-kit-web` and related `@verbb/plugin-kit-*` packages at `2.0.0`.
|
|
13
|
+
- Bundler consumers no longer auto-register the full icon set on import (tree-shake friendly for Craft CP bundles).
|
package/README.md
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# `@verbb/plugin-kit-icons`
|
|
2
|
+
|
|
3
|
+
Curated UI icons as **raw SVG path data** — no icon font, no Font Awesome runtime. Each glyph is `{ width, height, path }`, so bundlers only ship the icons you import.
|
|
4
|
+
|
|
5
|
+
Used by `@verbb/plugin-kit-web` (`<pk-icon>`) and the React/Vue `<Icon>` facades.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @verbb/plugin-kit-icons
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Register for `<pk-icon>` / `<Icon>`
|
|
14
|
+
|
|
15
|
+
The name registry starts **empty** in bundler builds. Register the glyphs your markup looks up:
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import '@verbb/plugin-kit-web/components/icon.js';
|
|
19
|
+
import { registerIcons, plus, gear, ellipsis } from '@verbb/plugin-kit-icons';
|
|
20
|
+
|
|
21
|
+
registerIcons({ plus, gear, ellipsis });
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
```html
|
|
25
|
+
<pk-icon icon="plus"></pk-icon>
|
|
26
|
+
<pk-icon icon="gear" label="Settings"></pk-icon>
|
|
27
|
+
|
|
28
|
+
<pk-button>
|
|
29
|
+
<pk-icon icon="plus" slot="start"></pk-icon>
|
|
30
|
+
Add
|
|
31
|
+
</pk-button>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Full curated set in one shot (larger bundle):
|
|
35
|
+
|
|
36
|
+
```ts
|
|
37
|
+
import '@verbb/plugin-kit-icons/all.js';
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The no-build Plugin Kit loader already includes that full set.
|
|
41
|
+
|
|
42
|
+
### Sizing & colour
|
|
43
|
+
|
|
44
|
+
Icons follow `font-size` (default `1em`) and `currentColor`:
|
|
45
|
+
|
|
46
|
+
```html
|
|
47
|
+
<pk-icon icon="trash" style="font-size: 18px; color: #b91c1c"></pk-icon>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Accessibility
|
|
51
|
+
|
|
52
|
+
Pass `label="…"` when the icon is meaningful on its own (image + title). Omit it for decorative icons — they are hidden from assistive tech.
|
|
53
|
+
|
|
54
|
+
## Use path data in JS
|
|
55
|
+
|
|
56
|
+
Tree-shakeable named exports — no registry required:
|
|
57
|
+
|
|
58
|
+
```ts
|
|
59
|
+
import { chevronDown, iconToSvg } from '@verbb/plugin-kit-icons';
|
|
60
|
+
|
|
61
|
+
element.innerHTML = iconToSvg(chevronDown);
|
|
62
|
+
element.innerHTML = iconToSvg(chevronDown, { title: 'Expand' });
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Or register a name, then render `<pk-icon>`:
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
import { registerIcon, chevronDown } from '@verbb/plugin-kit-icons';
|
|
69
|
+
|
|
70
|
+
registerIcon('chevron-down', chevronDown);
|
|
71
|
+
element.innerHTML = `<pk-icon icon="chevron-down"></pk-icon>`;
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## React / Vue
|
|
75
|
+
|
|
76
|
+
Facades resolve the same registry. Register glyphs (or import `all.js`) before the first string lookup:
|
|
77
|
+
|
|
78
|
+
```tsx
|
|
79
|
+
import { registerIcons, plus } from '@verbb/plugin-kit-icons';
|
|
80
|
+
import { Icon, Button } from '@verbb/plugin-kit-react/components';
|
|
81
|
+
|
|
82
|
+
registerIcons({ plus });
|
|
83
|
+
|
|
84
|
+
<Icon icon="plus" className="size-4" />
|
|
85
|
+
<Icon icon="plus" label="Add" />
|
|
86
|
+
|
|
87
|
+
<Button>
|
|
88
|
+
<Icon slot="start" icon="plus" />
|
|
89
|
+
Add
|
|
90
|
+
</Button>
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
```vue
|
|
94
|
+
<script setup>
|
|
95
|
+
import { registerIcons, plus } from '@verbb/plugin-kit-icons';
|
|
96
|
+
import { Icon, Button } from '@verbb/plugin-kit-vue/components';
|
|
97
|
+
|
|
98
|
+
registerIcons({ plus });
|
|
99
|
+
</script>
|
|
100
|
+
|
|
101
|
+
<template>
|
|
102
|
+
<Button>
|
|
103
|
+
<Icon slot="start" icon="plus" />
|
|
104
|
+
Add
|
|
105
|
+
</Button>
|
|
106
|
+
</template>
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Naming
|
|
110
|
+
|
|
111
|
+
| Context | Form | Example |
|
|
112
|
+
|---------|------|---------|
|
|
113
|
+
| HTML / `getIcon` | kebab-case | `chevron-down`, `arrow-up` |
|
|
114
|
+
| JS exports | camelCase | `chevronDown`, `arrowUp` |
|
|
115
|
+
|
|
116
|
+
`registerIcons({ arrowUp })` stores under `arrow-up` for HTML lookup.
|
|
117
|
+
|
|
118
|
+
```ts
|
|
119
|
+
import { getIcon, getIconNames } from '@verbb/plugin-kit-icons';
|
|
120
|
+
|
|
121
|
+
getIcon('gear'); // PkIcon | undefined (after register)
|
|
122
|
+
getIconNames(); // registered kebab-case names
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## App-specific icons
|
|
126
|
+
|
|
127
|
+
Icons that should not join the shared set can still use the same lookup path:
|
|
128
|
+
|
|
129
|
+
```ts
|
|
130
|
+
import { registerIcon, registerIcons } from '@verbb/plugin-kit-icons';
|
|
131
|
+
|
|
132
|
+
registerIcon('sliders', {
|
|
133
|
+
width: 512,
|
|
134
|
+
height: 512,
|
|
135
|
+
path: 'M32 64…',
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
registerIcons({
|
|
139
|
+
'my-widget': { width: 512, height: 512, path: '…' },
|
|
140
|
+
});
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Register **before** the first render that looks up those names.
|
|
144
|
+
|
|
145
|
+
## Licensing
|
|
146
|
+
|
|
147
|
+
Path data in this package was originally traced from Font Awesome. Font Awesome Free icons are typically CC BY 4.0; some glyphs may originate from Pro. Confirm licensing before redistributing or adding new paths to this package.
|
package/dist/all.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"all.d.ts","sourceRoot":"","sources":["../src/all.ts"],"names":[],"mappings":""}
|
package/dist/all.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { icons } from "./icons.js";
|
|
2
|
+
import { normalizeIconName, registerIcons } from "./registry.js";
|
|
3
|
+
//#region src/all.ts
|
|
4
|
+
/**
|
|
5
|
+
* Side-effect entry: register every curated icon for `<pk-icon icon="…">` lookup.
|
|
6
|
+
*
|
|
7
|
+
* Prefer named imports + {@link registerIcons} in production CP bundles. Use this
|
|
8
|
+
* for docs, playgrounds, the no-build loader, and `registerAll()` workshops.
|
|
9
|
+
*
|
|
10
|
+
* ```ts
|
|
11
|
+
* import '@verbb/plugin-kit-icons/all.js';
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
var entries = {};
|
|
15
|
+
for (const [name, icon] of Object.entries(icons)) entries[normalizeIconName(name)] = icon;
|
|
16
|
+
registerIcons(entries);
|
|
17
|
+
//#endregion
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=all.js.map
|
package/dist/all.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"all.js","names":[],"sources":["../src/all.ts"],"sourcesContent":["/**\n * Side-effect entry: register every curated icon for `<pk-icon icon=\"…\">` lookup.\n *\n * Prefer named imports + {@link registerIcons} in production CP bundles. Use this\n * for docs, playgrounds, the no-build loader, and `registerAll()` workshops.\n *\n * ```ts\n * import '@verbb/plugin-kit-icons/all.js';\n * ```\n */\nimport { icons } from './icons.js';\nimport { normalizeIconName, registerIcons } from './registry.js';\n\nconst entries: Record<string, (typeof icons)[keyof typeof icons]> = {};\n\nfor (const [name, icon] of Object.entries(icons)) {\n entries[normalizeIconName(name)] = icon;\n}\n\nregisterIcons(entries);\n"],"mappings":";;;;;;;;;;;;;AAaA,IAAM,UAA8D,EAAE;AAEtE,KAAK,MAAM,CAAC,MAAM,SAAS,OAAO,QAAQ,MAAM,CAC5C,SAAQ,kBAAkB,KAAK,IAAI;AAGvC,cAAc,QAAQ"}
|
package/dist/icons.d.ts
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { PkIcon } from './types.js';
|
|
2
|
+
export declare const add: PkIcon;
|
|
3
|
+
export declare const alignCenter: PkIcon;
|
|
4
|
+
export declare const alignJustify: PkIcon;
|
|
5
|
+
export declare const alignLeft: PkIcon;
|
|
6
|
+
export declare const alignRight: PkIcon;
|
|
7
|
+
export declare const arrowDown: PkIcon;
|
|
8
|
+
export declare const arrowLeft: PkIcon;
|
|
9
|
+
export declare const arrowRight: PkIcon;
|
|
10
|
+
export declare const arrowRotateLeft: PkIcon;
|
|
11
|
+
export declare const arrowRotateRight: PkIcon;
|
|
12
|
+
export declare const arrowUp: PkIcon;
|
|
13
|
+
export declare const arrowUpRightFromSquare: PkIcon;
|
|
14
|
+
export declare const asterisk: PkIcon;
|
|
15
|
+
export declare const bold: PkIcon;
|
|
16
|
+
export declare const bracketsCurly: PkIcon;
|
|
17
|
+
export declare const calendar: PkIcon;
|
|
18
|
+
export declare const caretDown: PkIcon;
|
|
19
|
+
export declare const caretUp: PkIcon;
|
|
20
|
+
export declare const check: PkIcon;
|
|
21
|
+
export declare const chevronDown: PkIcon;
|
|
22
|
+
export declare const chevronLeft: PkIcon;
|
|
23
|
+
export declare const chevronRight: PkIcon;
|
|
24
|
+
export declare const chevronUp: PkIcon;
|
|
25
|
+
export declare const circle: PkIcon;
|
|
26
|
+
export declare const clipboard: PkIcon;
|
|
27
|
+
export declare const clock: PkIcon;
|
|
28
|
+
export declare const clone: PkIcon;
|
|
29
|
+
export declare const code: PkIcon;
|
|
30
|
+
export declare const copy: PkIcon;
|
|
31
|
+
export declare const download: PkIcon;
|
|
32
|
+
export declare const ellipsis: PkIcon;
|
|
33
|
+
export declare const eye: PkIcon;
|
|
34
|
+
export declare const fileDashedLine: PkIcon;
|
|
35
|
+
export declare const flagCheckered: PkIcon;
|
|
36
|
+
export declare const grip: PkIcon;
|
|
37
|
+
export declare const h1: PkIcon;
|
|
38
|
+
export declare const h2: PkIcon;
|
|
39
|
+
export declare const h3: PkIcon;
|
|
40
|
+
export declare const h4: PkIcon;
|
|
41
|
+
export declare const h5: PkIcon;
|
|
42
|
+
export declare const h6: PkIcon;
|
|
43
|
+
export declare const highlighter: PkIcon;
|
|
44
|
+
export declare const house: PkIcon;
|
|
45
|
+
export declare const italic: PkIcon;
|
|
46
|
+
export declare const lightbulb: PkIcon;
|
|
47
|
+
export declare const link: PkIcon;
|
|
48
|
+
export declare const list: PkIcon;
|
|
49
|
+
export declare const listOl: PkIcon;
|
|
50
|
+
export declare const listUl: PkIcon;
|
|
51
|
+
export declare const minus: PkIcon;
|
|
52
|
+
export declare const heading: PkIcon;
|
|
53
|
+
export declare const paragraph: PkIcon;
|
|
54
|
+
export declare const pen: PkIcon;
|
|
55
|
+
export declare const plus: PkIcon;
|
|
56
|
+
export declare const plusCircle: PkIcon;
|
|
57
|
+
export declare const quoteRight: PkIcon;
|
|
58
|
+
export declare const search: PkIcon;
|
|
59
|
+
export declare const share: PkIcon;
|
|
60
|
+
export declare const strikethrough: PkIcon;
|
|
61
|
+
export declare const subscript: PkIcon;
|
|
62
|
+
export declare const superscript: PkIcon;
|
|
63
|
+
export declare const table: PkIcon;
|
|
64
|
+
export declare const tableRegular: PkIcon;
|
|
65
|
+
export declare const textSlash: PkIcon;
|
|
66
|
+
export declare const triangleExclamation: PkIcon;
|
|
67
|
+
export declare const underline: PkIcon;
|
|
68
|
+
export declare const xmark: PkIcon;
|
|
69
|
+
export declare const ellipsisVertical: PkIcon;
|
|
70
|
+
export declare const gear: PkIcon;
|
|
71
|
+
export declare const penToSquare: PkIcon;
|
|
72
|
+
export declare const trash: PkIcon;
|
|
73
|
+
export declare const icons: {
|
|
74
|
+
readonly add: PkIcon;
|
|
75
|
+
readonly alignCenter: PkIcon;
|
|
76
|
+
readonly alignJustify: PkIcon;
|
|
77
|
+
readonly alignLeft: PkIcon;
|
|
78
|
+
readonly alignRight: PkIcon;
|
|
79
|
+
readonly arrowDown: PkIcon;
|
|
80
|
+
readonly arrowLeft: PkIcon;
|
|
81
|
+
readonly arrowRight: PkIcon;
|
|
82
|
+
readonly arrowRotateLeft: PkIcon;
|
|
83
|
+
readonly arrowRotateRight: PkIcon;
|
|
84
|
+
readonly arrowUp: PkIcon;
|
|
85
|
+
readonly arrowUpRightFromSquare: PkIcon;
|
|
86
|
+
readonly asterisk: PkIcon;
|
|
87
|
+
readonly bold: PkIcon;
|
|
88
|
+
readonly bracketsCurly: PkIcon;
|
|
89
|
+
readonly calendar: PkIcon;
|
|
90
|
+
readonly caretDown: PkIcon;
|
|
91
|
+
readonly caretUp: PkIcon;
|
|
92
|
+
readonly check: PkIcon;
|
|
93
|
+
readonly chevronDown: PkIcon;
|
|
94
|
+
readonly chevronLeft: PkIcon;
|
|
95
|
+
readonly chevronRight: PkIcon;
|
|
96
|
+
readonly chevronUp: PkIcon;
|
|
97
|
+
readonly circle: PkIcon;
|
|
98
|
+
readonly clipboard: PkIcon;
|
|
99
|
+
readonly clock: PkIcon;
|
|
100
|
+
readonly clone: PkIcon;
|
|
101
|
+
readonly code: PkIcon;
|
|
102
|
+
readonly copy: PkIcon;
|
|
103
|
+
readonly download: PkIcon;
|
|
104
|
+
readonly ellipsis: PkIcon;
|
|
105
|
+
readonly ellipsisVertical: PkIcon;
|
|
106
|
+
readonly eye: PkIcon;
|
|
107
|
+
readonly fileDashedLine: PkIcon;
|
|
108
|
+
readonly flagCheckered: PkIcon;
|
|
109
|
+
readonly gear: PkIcon;
|
|
110
|
+
readonly grip: PkIcon;
|
|
111
|
+
readonly h1: PkIcon;
|
|
112
|
+
readonly h2: PkIcon;
|
|
113
|
+
readonly h3: PkIcon;
|
|
114
|
+
readonly h4: PkIcon;
|
|
115
|
+
readonly h5: PkIcon;
|
|
116
|
+
readonly h6: PkIcon;
|
|
117
|
+
readonly heading: PkIcon;
|
|
118
|
+
readonly highlighter: PkIcon;
|
|
119
|
+
readonly house: PkIcon;
|
|
120
|
+
readonly italic: PkIcon;
|
|
121
|
+
readonly lightbulb: PkIcon;
|
|
122
|
+
readonly link: PkIcon;
|
|
123
|
+
readonly list: PkIcon;
|
|
124
|
+
readonly listOl: PkIcon;
|
|
125
|
+
readonly listUl: PkIcon;
|
|
126
|
+
readonly minus: PkIcon;
|
|
127
|
+
readonly paragraph: PkIcon;
|
|
128
|
+
readonly pen: PkIcon;
|
|
129
|
+
readonly penToSquare: PkIcon;
|
|
130
|
+
readonly plus: PkIcon;
|
|
131
|
+
readonly plusCircle: PkIcon;
|
|
132
|
+
readonly quoteRight: PkIcon;
|
|
133
|
+
readonly search: PkIcon;
|
|
134
|
+
readonly share: PkIcon;
|
|
135
|
+
readonly strikethrough: PkIcon;
|
|
136
|
+
readonly subscript: PkIcon;
|
|
137
|
+
readonly superscript: PkIcon;
|
|
138
|
+
readonly table: PkIcon;
|
|
139
|
+
readonly tableRegular: PkIcon;
|
|
140
|
+
readonly textSlash: PkIcon;
|
|
141
|
+
readonly trash: PkIcon;
|
|
142
|
+
readonly triangleExclamation: PkIcon;
|
|
143
|
+
readonly underline: PkIcon;
|
|
144
|
+
readonly xmark: PkIcon;
|
|
145
|
+
};
|
|
146
|
+
export type PkIconName = keyof typeof icons;
|
|
147
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"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"}
|
package/dist/icons.js
ADDED
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
//#region src/icons.ts
|
|
2
|
+
var add = {
|
|
3
|
+
width: 448,
|
|
4
|
+
height: 512,
|
|
5
|
+
path: "M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"
|
|
6
|
+
};
|
|
7
|
+
var alignCenter = {
|
|
8
|
+
width: 448,
|
|
9
|
+
height: 512,
|
|
10
|
+
path: "M352 64c0-17.7-14.3-32-32-32L128 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32zm96 128c0-17.7-14.3-32-32-32L32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32zM0 448c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 416c-17.7 0-32 14.3-32 32zM352 320c0-17.7-14.3-32-32-32l-192 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32z"
|
|
11
|
+
};
|
|
12
|
+
var alignJustify = {
|
|
13
|
+
width: 448,
|
|
14
|
+
height: 512,
|
|
15
|
+
path: "M448 64c0-17.7-14.3-32-32-32L32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32zm0 256c0-17.7-14.3-32-32-32L32 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32zM0 192c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160c-17.7 0-32 14.3-32 32zM448 448c0-17.7-14.3-32-32-32L32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32z"
|
|
16
|
+
};
|
|
17
|
+
var alignLeft = {
|
|
18
|
+
width: 448,
|
|
19
|
+
height: 512,
|
|
20
|
+
path: "M288 64c0 17.7-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32L32 352c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"
|
|
21
|
+
};
|
|
22
|
+
var alignRight = {
|
|
23
|
+
width: 448,
|
|
24
|
+
height: 512,
|
|
25
|
+
path: "M448 64c0 17.7-14.3 32-32 32L192 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"
|
|
26
|
+
};
|
|
27
|
+
var arrowDown = {
|
|
28
|
+
width: 384,
|
|
29
|
+
height: 512,
|
|
30
|
+
path: "M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"
|
|
31
|
+
};
|
|
32
|
+
var arrowLeft = {
|
|
33
|
+
width: 512,
|
|
34
|
+
height: 512,
|
|
35
|
+
path: "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-370.7 0 105.4-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"
|
|
36
|
+
};
|
|
37
|
+
var arrowRight = {
|
|
38
|
+
width: 512,
|
|
39
|
+
height: 512,
|
|
40
|
+
path: "M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"
|
|
41
|
+
};
|
|
42
|
+
var arrowRotateLeft = {
|
|
43
|
+
width: 512,
|
|
44
|
+
height: 512,
|
|
45
|
+
path: "M256 64c-56.8 0-107.9 24.7-143.1 64l47.1 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 54.7C110.9 33.6 179.5 0 256 0 397.4 0 512 114.6 512 256S397.4 512 256 512c-87 0-163.9-43.4-210.1-109.7-10.1-14.5-6.6-34.4 7.9-44.6s34.4-6.6 44.6 7.9c34.8 49.8 92.4 82.3 157.6 82.3 106 0 192-86 192-192S362 64 256 64z"
|
|
46
|
+
};
|
|
47
|
+
var arrowRotateRight = {
|
|
48
|
+
width: 512,
|
|
49
|
+
height: 512,
|
|
50
|
+
path: "M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z"
|
|
51
|
+
};
|
|
52
|
+
var arrowUp = {
|
|
53
|
+
width: 384,
|
|
54
|
+
height: 512,
|
|
55
|
+
path: "M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"
|
|
56
|
+
};
|
|
57
|
+
var arrowUpRightFromSquare = {
|
|
58
|
+
width: 512,
|
|
59
|
+
height: 512,
|
|
60
|
+
path: "M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0-201.4 201.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3 448 192c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 96C35.8 96 0 131.8 0 176L0 432c0 44.2 35.8 80 80 80l256 0c44.2 0 80-35.8 80-80l0-80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 80c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 96z"
|
|
61
|
+
};
|
|
62
|
+
var asterisk = {
|
|
63
|
+
width: 448,
|
|
64
|
+
height: 512,
|
|
65
|
+
path: "M224 0c17.7 0 32 14.3 32 32l0 168.6 144-83.1c15.3-8.8 34.9-3.6 43.7 11.7s3.6 34.9-11.7 43.7L288 256 432 339.1c15.3 8.8 20.6 28.4 11.7 43.7s-28.4 20.6-43.7 11.7L256 311.4 256 480c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-168.6-144 83.1c-15.3 8.8-34.9 3.6-43.7-11.7S.7 348 16 339.1L160 256 16 172.9C.7 164-4.5 144.5 4.3 129.1S32.7 108.6 48 117.4L192 200.6 192 32c0-17.7 14.3-32 32-32z"
|
|
66
|
+
};
|
|
67
|
+
var bold = {
|
|
68
|
+
width: 384,
|
|
69
|
+
height: 512,
|
|
70
|
+
path: "M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l32 0 0 320-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c70.7 0 128-57.3 128-128 0-46.5-24.8-87.3-62-109.7 18.7-22.3 30-51 30-82.3 0-70.7-57.3-128-128-128L32 32zM288 160c0 35.3-28.7 64-64 64l-96 0 0-128 96 0c35.3 0 64 28.7 64 64zM128 416l0-128 128 0c35.3 0 64 28.7 64 64s-28.7 64-64 64l-128 0z"
|
|
71
|
+
};
|
|
72
|
+
var bracketsCurly = {
|
|
73
|
+
width: 576,
|
|
74
|
+
height: 512,
|
|
75
|
+
path: "M416 32l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c17.7 0 32 14.3 32 32l0 37.5c0 25.5 10.1 49.9 28.1 67.9l22.6 22.6-22.6 22.6c-18 18-28.1 42.4-28.1 67.9l0 37.5c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c53 0 96-43 96-96l0-37.5c0-8.5 3.4-16.6 9.4-22.6l45.3-45.3c12.5-12.5 12.5-32.8 0-45.3l-45.3-45.3c-6-6-9.4-14.1-9.4-22.6l0-37.5c0-53-43-96-96-96zM160 32c-53 0-96 43-96 96l0 37.5c0 8.5-3.4 16.6-9.4 22.6L9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l45.3 45.3c6 6 9.4 14.1 9.4 22.6L64 384c0 53 43 96 96 96l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-17.7 0-32-14.3-32-32l0-37.5c0-25.5-10.1-49.9-28.1-67.9L77.3 256 99.9 233.4c18-18 28.1-42.4 28.1-67.9l0-37.5c0-17.7 14.3-32 32-32l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0z"
|
|
76
|
+
};
|
|
77
|
+
var calendar = {
|
|
78
|
+
width: 448,
|
|
79
|
+
height: 512,
|
|
80
|
+
path: "M128 0C110.3 0 96 14.3 96 32l0 32-32 0C28.7 64 0 92.7 0 128l0 48 448 0 0-48c0-35.3-28.7-64-64-64l-32 0 0-32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 32-128 0 0-32c0-17.7-14.3-32-32-32zM0 224L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-192-448 0z"
|
|
81
|
+
};
|
|
82
|
+
var caretDown = {
|
|
83
|
+
width: 320,
|
|
84
|
+
height: 512,
|
|
85
|
+
path: "M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z"
|
|
86
|
+
};
|
|
87
|
+
var caretUp = {
|
|
88
|
+
width: 320,
|
|
89
|
+
height: 512,
|
|
90
|
+
path: "M140.3 135.2c12.6-10.3 31.1-9.5 42.8 2.2l128 128c9.2 9.2 11.9 22.9 6.9 34.9S301.4 320 288.5 320l-256 0c-12.9 0-24.6-7.8-29.6-19.8S.7 274.5 9.9 265.4l128-128 2.4-2.2z"
|
|
91
|
+
};
|
|
92
|
+
var check = {
|
|
93
|
+
width: 448,
|
|
94
|
+
height: 512,
|
|
95
|
+
path: "M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z"
|
|
96
|
+
};
|
|
97
|
+
var chevronDown = {
|
|
98
|
+
width: 448,
|
|
99
|
+
height: 512,
|
|
100
|
+
path: "M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"
|
|
101
|
+
};
|
|
102
|
+
var chevronLeft = {
|
|
103
|
+
width: 320,
|
|
104
|
+
height: 512,
|
|
105
|
+
path: "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"
|
|
106
|
+
};
|
|
107
|
+
var chevronRight = {
|
|
108
|
+
width: 320,
|
|
109
|
+
height: 512,
|
|
110
|
+
path: "M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"
|
|
111
|
+
};
|
|
112
|
+
var chevronUp = {
|
|
113
|
+
width: 448,
|
|
114
|
+
height: 512,
|
|
115
|
+
path: "M201.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 173.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"
|
|
116
|
+
};
|
|
117
|
+
var circle = {
|
|
118
|
+
width: 512,
|
|
119
|
+
height: 512,
|
|
120
|
+
path: "M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"
|
|
121
|
+
};
|
|
122
|
+
var clipboard = {
|
|
123
|
+
width: 384,
|
|
124
|
+
height: 512,
|
|
125
|
+
path: "M320 32l-8.6 0C300.4 12.9 279.7 0 256 0L128 0C104.3 0 83.6 12.9 72.6 32L64 32C28.7 32 0 60.7 0 96L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-352c0-35.3-28.7-64-64-64zM136 112c-13.3 0-24-10.7-24-24s10.7-24 24-24l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0z"
|
|
126
|
+
};
|
|
127
|
+
var clock = {
|
|
128
|
+
width: 512,
|
|
129
|
+
height: 512,
|
|
130
|
+
path: "M256 0a256 256 0 1 1 0 512 256 256 0 1 1 0-512zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"
|
|
131
|
+
};
|
|
132
|
+
var clone = {
|
|
133
|
+
width: 512,
|
|
134
|
+
height: 512,
|
|
135
|
+
path: "M288 448l-224 0 0-224 48 0 0-64-48 0c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l224 0c35.3 0 64-28.7 64-64l0-48-64 0 0 48zm-64-96l224 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64L224 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64z"
|
|
136
|
+
};
|
|
137
|
+
var code = {
|
|
138
|
+
width: 576,
|
|
139
|
+
height: 512,
|
|
140
|
+
path: "M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z"
|
|
141
|
+
};
|
|
142
|
+
var copy = {
|
|
143
|
+
width: 448,
|
|
144
|
+
height: 512,
|
|
145
|
+
path: "M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z"
|
|
146
|
+
};
|
|
147
|
+
var download = {
|
|
148
|
+
width: 448,
|
|
149
|
+
height: 512,
|
|
150
|
+
path: "M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"
|
|
151
|
+
};
|
|
152
|
+
var ellipsis = {
|
|
153
|
+
width: 448,
|
|
154
|
+
height: 512,
|
|
155
|
+
path: "M0 256a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm168 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm224-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"
|
|
156
|
+
};
|
|
157
|
+
var eye = {
|
|
158
|
+
width: 576,
|
|
159
|
+
height: 512,
|
|
160
|
+
path: "M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z"
|
|
161
|
+
};
|
|
162
|
+
var fileDashedLine = {
|
|
163
|
+
width: 576,
|
|
164
|
+
height: 512,
|
|
165
|
+
path: "M272 48L160 48c-8.8 0-16 7.2-16 16l0 176-48 0 0-176c0-35.3 28.7-64 64-64L293.5 0c17 0 33.3 6.7 45.3 18.7L461.3 141.3c12 12 18.7 28.3 18.7 45.3l0 53.5-48 0 0-32-88 0c-39.8 0-72-32.2-72-72l0-88zM96 384l48 0 0 64c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-64 48 0 0 64c0 35.3-28.7 64-64 64l-256 0c-35.3 0-64-28.7-64-64l0-64zM412.1 160L320 67.9 320 136c0 13.3 10.7 24 24 24l68.1 0zM24 288l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L24 336c-13.3 0-24-10.7-24-24s10.7-24 24-24zm208 0l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm208 0l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"
|
|
166
|
+
};
|
|
167
|
+
var flagCheckered = {
|
|
168
|
+
width: 448,
|
|
169
|
+
height: 512,
|
|
170
|
+
path: "M32 0C49.7 0 64 14.3 64 32l0 16 69-17.2c38.1-9.5 78.3-5.1 113.5 12.5 46.3 23.2 100.8 23.2 147.1 0l9.6-4.8C423.8 28.1 448 43.1 448 66.1l0 279.7c0 13.3-8.3 25.3-20.8 30l-34.7 13c-46.2 17.3-97.6 14.6-141.7-7.4-37.9-19-81.4-23.7-122.5-13.4L64 384 64 480c0 17.7-14.3 32-32 32S0 497.7 0 480L0 32C0 14.3 14.3 0 32 0zM64 187.1l64-13.9 0 65.5-64 13.9 0 65.5 48.8-12.2c5.1-1.3 10.1-2.4 15.2-3.3l0-63.9 38.9-8.4c8.3-1.8 16.7-2.5 25.1-2.1l0-64c13.6 .4 27.2 2.6 40.4 6.4l23.6 6.9 0 66.7-41.7-12.3c-7.3-2.1-14.8-3.4-22.3-3.8l0 71.4c21.8 1.9 43.3 6.7 64 14.4l0-69.8 22.7 6.7c13.5 4 27.3 6.4 41.3 7.4l0-64.2c-7.8-.8-15.6-2.3-23.2-4.5l-40.8-12 0-62c-13-3.8-25.8-8.8-38.2-15-8.2-4.1-16.9-7-25.8-8.8l0 72.4c-13-.4-26 .8-38.7 3.6l-25.3 5.5 0-75.2-64 16 0 73.1zM320 335.7c16.8 1.5 33.9-.7 50-6.8l14-5.2 0-71.7-7.9 1.8c-18.4 4.3-37.3 5.7-56.1 4.5l0 77.4zm64-149.4l0-70.8c-20.9 6.1-42.4 9.1-64 9.1l0 69.4c13.9 1.4 28 .5 41.7-2.6l22.3-5.2z"
|
|
171
|
+
};
|
|
172
|
+
var grip = {
|
|
173
|
+
width: 512,
|
|
174
|
+
height: 512,
|
|
175
|
+
path: "M88 96c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0zM280 224l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40zm192 0l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40zm0 192l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40zM280 288c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0zM88 416l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40z"
|
|
176
|
+
};
|
|
177
|
+
var h1 = {
|
|
178
|
+
width: 512,
|
|
179
|
+
height: 512,
|
|
180
|
+
path: "M448 96c0-11.1-5.7-21.4-15.2-27.2s-21.2-6.4-31.1-1.4l-64 32c-15.8 7.9-22.2 27.1-14.3 42.9s27.1 22.2 42.9 14.3l17.7-8.8 0 236.2-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0 0-288zM64 96c0-17.7-14.3-32-32-32S0 78.3 0 96L0 416c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 128 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-128 0 0-128z"
|
|
181
|
+
};
|
|
182
|
+
var h2 = {
|
|
183
|
+
width: 576,
|
|
184
|
+
height: 512,
|
|
185
|
+
path: "M96 96c0-17.7-14.3-32-32-32S32 78.3 32 96l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 96 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-96 0 0-128zM368 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l81.1 0c21.5 0 38.9 17.4 38.9 38.9 0 13.9-7.5 26.8-19.6 33.8l-76.3 43.6C347.5 269.7 320 317.1 320 368.5l0 47.5c0 17.7 14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-128 0 0-15.5c0-28.4 15.2-54.6 39.9-68.7l76.3-43.6C532.2 237.9 552 203.8 552 166.9 552 110.1 505.9 64 449.1 64L368 64z"
|
|
186
|
+
};
|
|
187
|
+
var h3 = {
|
|
188
|
+
width: 576,
|
|
189
|
+
height: 512,
|
|
190
|
+
path: "M96 96c0-17.7-14.3-32-32-32S32 78.3 32 96l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 96 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-96 0 0-128zM352 256c0 17.7 14.3 32 32 32l56 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-88 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c61.9 0 112-50.1 112-112 0-31.3-12.9-59.7-33.6-80 20.7-20.3 33.6-48.7 33.6-80 0-61.9-50.1-112-112-112l-88 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-56 0c-17.7 0-32 14.3-32 32z"
|
|
191
|
+
};
|
|
192
|
+
var h4 = {
|
|
193
|
+
width: 512,
|
|
194
|
+
height: 512,
|
|
195
|
+
path: "M64 96c0-17.7-14.3-32-32-32S0 78.3 0 96L0 416c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 96 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-96 0 0-128zm288 0c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 44.2 35.8 80 80 80l80 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-80 0c-8.8 0-16-7.2-16-16l0-112z"
|
|
196
|
+
};
|
|
197
|
+
var h5 = {
|
|
198
|
+
width: 576,
|
|
199
|
+
height: 512,
|
|
200
|
+
path: "M96 96c0-17.7-14.3-32-32-32S32 78.3 32 96l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 96 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-96 0 0-128zM352 64c-17.7 0-32 14.3-32 32l0 144c0 17.7 14.3 32 32 32l80 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-80 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0c66.3 0 120-53.7 120-120S498.3 208 432 208l-48 0 0-80 120 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L352 64z"
|
|
201
|
+
};
|
|
202
|
+
var h6 = {
|
|
203
|
+
width: 512,
|
|
204
|
+
height: 512,
|
|
205
|
+
path: "M32 64c17.7 0 32 14.3 32 32l0 128 96 0 0-128c0-17.7 14.3-32 32-32s32 14.3 32 32l0 320c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-128-96 0 0 128c0 17.7-14.3 32-32 32S0 433.7 0 416L0 96C0 78.3 14.3 64 32 64zm352 64c-17.7 0-32 14.3-32 32l0 53.5c10-3.5 20.8-5.5 32-5.5l32 0c53 0 96 43 96 96l0 48c0 53-43 96-96 96l-32 0c-53 0-96-43-96-96l0-192c0-53 43-96 96-96l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0zM352 304l0 48c0 17.7 14.3 32 32 32l32 0c17.7 0 32-14.3 32-32l0-48c0-17.7-14.3-32-32-32l-32 0c-17.7 0-32 14.3-32 32z"
|
|
206
|
+
};
|
|
207
|
+
var highlighter = {
|
|
208
|
+
width: 576,
|
|
209
|
+
height: 512,
|
|
210
|
+
path: "M315 315L473.4 99.9 444.1 70.6 229 229 315 315zm-187 5l0 0 0-71.7c0-15.3 7.2-29.6 19.5-38.6L420.6 8.4C428 2.9 437 0 446.2 0 457.6 0 468.5 4.5 476.6 12.6l54.8 54.8c8.1 8.1 12.6 19 12.6 30.5 0 9.2-2.9 18.2-8.4 25.6L334.4 396.5c-9 12.3-23.4 19.5-38.6 19.5l-71.7 0-25.4 25.4c-12.5 12.5-32.8 12.5-45.3 0l-50.7-50.7c-12.5-12.5-12.5-32.8 0-45.3L128 320zM7 466.3l51.7-51.7 70.6 70.6-19.7 19.7c-4.5 4.5-10.6 7-17 7L24 512c-13.3 0-24-10.7-24-24l0-4.7c0-6.4 2.5-12.5 7-17z"
|
|
211
|
+
};
|
|
212
|
+
var house = {
|
|
213
|
+
width: 512,
|
|
214
|
+
height: 512,
|
|
215
|
+
path: "M277.8 8.6c-12.3-11.4-31.3-11.4-43.5 0l-224 208c-9.6 9-12.8 22.9-8 35.1S18.8 272 32 272l16 0 0 176c0 35.3 28.7 64 64 64l288 0c35.3 0 64-28.7 64-64l0-176 16 0c13.2 0 25-8.1 29.8-20.3s1.6-26.2-8-35.1l-224-208zM240 320l32 0c26.5 0 48 21.5 48 48l0 96-128 0 0-96c0-26.5 21.5-48 48-48z"
|
|
216
|
+
};
|
|
217
|
+
var italic = {
|
|
218
|
+
width: 384,
|
|
219
|
+
height: 512,
|
|
220
|
+
path: "M128 64c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-58.7 0-133.3 320 64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l58.7 0 133.3-320-64 0c-17.7 0-32-14.3-32-32z"
|
|
221
|
+
};
|
|
222
|
+
var lightbulb = {
|
|
223
|
+
width: 384,
|
|
224
|
+
height: 512,
|
|
225
|
+
path: "M292.9 384c7.3-22.3 21.9-42.5 38.4-59.9 32.7-34.4 52.7-80.9 52.7-132.1 0-106-86-192-192-192S0 86 0 192c0 51.2 20 97.7 52.7 132.1 16.5 17.4 31.2 37.6 38.4 59.9l201.7 0zM288 432l-192 0 0 16c0 44.2 35.8 80 80 80l32 0c44.2 0 80-35.8 80-80l0-16zM184 112c-39.8 0-72 32.2-72 72 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-66.3 53.7-120 120-120 13.3 0 24 10.7 24 24s-10.7 24-24 24z"
|
|
226
|
+
};
|
|
227
|
+
var link = {
|
|
228
|
+
width: 576,
|
|
229
|
+
height: 512,
|
|
230
|
+
path: "M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"
|
|
231
|
+
};
|
|
232
|
+
var list = {
|
|
233
|
+
width: 512,
|
|
234
|
+
height: 512,
|
|
235
|
+
path: "M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z"
|
|
236
|
+
};
|
|
237
|
+
var listOl = {
|
|
238
|
+
width: 512,
|
|
239
|
+
height: 512,
|
|
240
|
+
path: "M0 72C0 58.8 10.7 48 24 48l48 0c13.3 0 24 10.7 24 24l0 104 24 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-96 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-80-24 0C10.7 96 0 85.3 0 72zM30.4 301.2C41.8 292.6 55.7 288 70 288l4.9 0c33.7 0 61.1 27.4 61.1 61.1 0 19.6-9.4 37.9-25.2 49.4l-24 17.5 33.2 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-90.7 0C13.1 464 0 450.9 0 434.7 0 425.3 4.5 416.5 12.1 411l70.5-51.3c3.4-2.5 5.4-6.4 5.4-10.6 0-7.2-5.9-13.1-13.1-13.1L70 336c-3.9 0-7.7 1.3-10.8 3.6L38.4 355.2c-10.6 8-25.6 5.8-33.6-4.8S-1 324.8 9.6 316.8l20.8-15.6zM224 64l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"
|
|
241
|
+
};
|
|
242
|
+
var listUl = {
|
|
243
|
+
width: 512,
|
|
244
|
+
height: 512,
|
|
245
|
+
path: "M48 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM48 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM96 256a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z"
|
|
246
|
+
};
|
|
247
|
+
var minus = {
|
|
248
|
+
width: 448,
|
|
249
|
+
height: 512,
|
|
250
|
+
path: "M0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z"
|
|
251
|
+
};
|
|
252
|
+
var heading = {
|
|
253
|
+
width: 640,
|
|
254
|
+
height: 640,
|
|
255
|
+
path: "M96 128C96 110.3 110.3 96 128 96L224 96C241.7 96 256 110.3 256 128C256 145.7 241.7 160 224 160L208 160L208 272L432 272L432 160L416 160C398.3 160 384 145.7 384 128C384 110.3 398.3 96 416 96L512 96C529.7 96 544 110.3 544 128C544 145.7 529.7 160 512 160L496 160L496 480L512 480C529.7 480 544 494.3 544 512C544 529.7 529.7 544 512 544L416 544C398.3 544 384 529.7 384 512C384 494.3 398.3 480 416 480L432 480L432 336L208 336L208 480L224 480C241.7 480 256 494.3 256 512C256 529.7 241.7 544 224 544L128 544C110.3 544 96 529.7 96 512C96 494.3 110.3 480 128 480L144 480L144 160L128 160C110.3 160 96 145.7 96 128z"
|
|
256
|
+
};
|
|
257
|
+
var paragraph = {
|
|
258
|
+
width: 640,
|
|
259
|
+
height: 640,
|
|
260
|
+
path: "M256 64L512 64C529.7 64 544 78.3 544 96C544 113.7 529.7 128 512 128L480 128L480 544C480 561.7 465.7 576 448 576C430.3 576 416 561.7 416 544L416 128L368 128L368 544C368 561.7 353.7 576 336 576C318.3 576 304 561.7 304 544L304 384L256 384C167.6 384 96 312.4 96 224C96 135.6 167.6 64 256 64z"
|
|
261
|
+
};
|
|
262
|
+
var pen = {
|
|
263
|
+
width: 512,
|
|
264
|
+
height: 512,
|
|
265
|
+
path: "M352.9 21.2L308 66.1 445.9 204 490.8 159.1C504.4 145.6 512 127.2 512 108s-7.6-37.6-21.2-51.1L455.1 21.2C441.6 7.6 423.2 0 404 0s-37.6 7.6-51.1 21.2zM274.1 100L58.9 315.1c-10.7 10.7-18.5 24.1-22.6 38.7L.9 481.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6L412 237.9 274.1 100z"
|
|
266
|
+
};
|
|
267
|
+
var plus = {
|
|
268
|
+
width: 448,
|
|
269
|
+
height: 512,
|
|
270
|
+
path: "M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"
|
|
271
|
+
};
|
|
272
|
+
var plusCircle = {
|
|
273
|
+
width: 512,
|
|
274
|
+
height: 512,
|
|
275
|
+
path: "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM232 344c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 0 64z"
|
|
276
|
+
};
|
|
277
|
+
var quoteRight = {
|
|
278
|
+
width: 448,
|
|
279
|
+
height: 512,
|
|
280
|
+
path: "M448 296c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136zm-256 0c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136z"
|
|
281
|
+
};
|
|
282
|
+
var search = {
|
|
283
|
+
width: 512,
|
|
284
|
+
height: 512,
|
|
285
|
+
path: "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"
|
|
286
|
+
};
|
|
287
|
+
var share = {
|
|
288
|
+
width: 512,
|
|
289
|
+
height: 512,
|
|
290
|
+
path: "M307.8 18.4c-12 5-19.8 16.6-19.8 29.6l0 80-112 0c-97.2 0-176 78.8-176 176 0 113.3 81.5 163.9 100.2 174.1 2.5 1.4 5.3 1.9 8.1 1.9 10.9 0 19.7-8.9 19.7-19.7 0-7.5-4.3-14.4-9.8-19.5-9.4-8.8-22.2-26.4-22.2-56.7 0-53 43-96 96-96l96 0 0 80c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-9.2-9.2-22.9-11.9-34.9-6.9z"
|
|
291
|
+
};
|
|
292
|
+
var strikethrough = {
|
|
293
|
+
width: 512,
|
|
294
|
+
height: 512,
|
|
295
|
+
path: "M96 157.5C96 88.2 152.2 32 221.5 32L368 32c17.7 0 32 14.3 32 32s-14.3 32-32 32L221.5 96c-34 0-61.5 27.5-61.5 61.5 0 31 23.1 57.2 53.9 61l44.1 5.5 222 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l83.1 0C103 204.6 96 181.8 96 157.5zM349.2 336l65.5 0c.9 6.1 1.4 12.2 1.4 18.5 0 69.3-56.2 125.5-125.5 125.5L144 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l146.5 0c34 0 61.5-27.5 61.5-61.5 0-6.4-1-12.7-2.8-18.5z"
|
|
296
|
+
};
|
|
297
|
+
var subscript = {
|
|
298
|
+
width: 576,
|
|
299
|
+
height: 512,
|
|
300
|
+
path: "M96 64C78.3 64 64 78.3 64 96s14.3 32 32 32l15.3 0 89.6 128-89.6 128-15.3 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c10.4 0 20.2-5.1 26.2-13.6L240 311.8 325.8 434.4c6 8.6 15.8 13.6 26.2 13.6l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-15.3 0-89.6-128 89.6-128 15.3 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-10.4 0-20.2 5.1-26.2 13.6L240 200.2 154.2 77.6C148.2 69.1 138.4 64 128 64L96 64zM544 320c0-11.1-5.7-21.4-15.2-27.2s-21.2-6.4-31.1-1.4l-32 16c-15.8 7.9-22.2 27.1-14.3 42.9 5.6 11.2 16.9 17.7 28.6 17.7l0 80c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-128z"
|
|
301
|
+
};
|
|
302
|
+
var superscript = {
|
|
303
|
+
width: 576,
|
|
304
|
+
height: 512,
|
|
305
|
+
path: "M544 32c0-11.1-5.7-21.4-15.2-27.2s-21.2-6.4-31.1-1.4l-32 16C449.9 27.3 443.5 46.5 451.4 62.3 457 73.5 468.3 80 480 80l0 80c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-128zM96 64C78.3 64 64 78.3 64 96s14.3 32 32 32l15.3 0 89.6 128-89.6 128-15.3 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c10.4 0 20.2-5.1 26.2-13.6L240 311.8 325.8 434.4c6 8.6 15.8 13.6 26.2 13.6l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-15.3 0-89.6-128 89.6-128 15.3 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-10.4 0-20.2 5.1-26.2 13.6L240 200.2 154.2 77.6C148.2 69.1 138.4 64 128 64L96 64z"
|
|
306
|
+
};
|
|
307
|
+
var table = {
|
|
308
|
+
width: 448,
|
|
309
|
+
height: 512,
|
|
310
|
+
path: "M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64l-320 0-6.5-.3C25.2 476.4 0 449.1 0 416L0 96C0 60.7 28.7 32 64 32l320 0zM64 320l0 96 128 0 0-96-128 0zm192 0l0 96 128 0 0-96-128 0zM64 256l128 0 0-96-128 0 0 96zm192 0l128 0 0-96-128 0 0 96z"
|
|
311
|
+
};
|
|
312
|
+
var tableRegular = {
|
|
313
|
+
width: 448,
|
|
314
|
+
height: 512,
|
|
315
|
+
path: "M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64l-320 0-6.5-.3C25.2 476.4 0 449.1 0 416L0 96C0 60.7 28.7 32 64 32l320 0zM48 312l0 104c0 8.8 7.2 16 16 16l136 0 0-120-152 0zm200 0l0 120 136 0c8.8 0 16-7.2 16-16l0-104-152 0zM48 264l152 0 0-104-152 0 0 104zm200 0l152 0 0-104-152 0 0 104z"
|
|
316
|
+
};
|
|
317
|
+
var textSlash = {
|
|
318
|
+
width: 576,
|
|
319
|
+
height: 512,
|
|
320
|
+
path: "M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L322.7 256.9 368.2 96 471 96 465 120.2c-4.3 17.1 6.1 34.5 23.3 38.8s34.5-6.1 38.8-23.3l11-44.1C545.6 61.3 522.7 32 491.5 32l-319 0c-19.8 0-37.3 12.1-44.5 30.1l-87-87zM180.4 114.5l4.6-18.5 116.7 0-30.8 109-90.5-90.5zM241 310.8L211.3 416 160 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-42.2 0 15.1-53.3-51.9-51.9z"
|
|
321
|
+
};
|
|
322
|
+
var triangleExclamation = {
|
|
323
|
+
width: 512,
|
|
324
|
+
height: 512,
|
|
325
|
+
path: "M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"
|
|
326
|
+
};
|
|
327
|
+
var underline = {
|
|
328
|
+
width: 384,
|
|
329
|
+
height: 512,
|
|
330
|
+
path: "M0 32C0 14.3 14.3 0 32 0L96 0c17.7 0 32 14.3 32 32S113.7 64 96 64l0 160c0 53 43 96 96 96s96-43 96-96l0-160c-17.7 0-32-14.3-32-32S270.3 0 288 0l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l0 160c0 88.4-71.6 160-160 160S32 312.4 32 224L32 64C14.3 64 0 49.7 0 32zM0 480c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 512c-17.7 0-32-14.3-32-32z"
|
|
331
|
+
};
|
|
332
|
+
var xmark = {
|
|
333
|
+
width: 384,
|
|
334
|
+
height: 512,
|
|
335
|
+
path: "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"
|
|
336
|
+
};
|
|
337
|
+
var ellipsisVertical = {
|
|
338
|
+
width: 128,
|
|
339
|
+
height: 512,
|
|
340
|
+
path: "M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z"
|
|
341
|
+
};
|
|
342
|
+
var gear = {
|
|
343
|
+
width: 512,
|
|
344
|
+
height: 512,
|
|
345
|
+
path: "M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z"
|
|
346
|
+
};
|
|
347
|
+
var penToSquare = {
|
|
348
|
+
width: 512,
|
|
349
|
+
height: 512,
|
|
350
|
+
path: "M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L368 46.1 465.9 144 490.3 119.6c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L432 177.9 334.1 80 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z"
|
|
351
|
+
};
|
|
352
|
+
var trash = {
|
|
353
|
+
width: 448,
|
|
354
|
+
height: 512,
|
|
355
|
+
path: "M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z"
|
|
356
|
+
};
|
|
357
|
+
var icons = {
|
|
358
|
+
add,
|
|
359
|
+
alignCenter,
|
|
360
|
+
alignJustify,
|
|
361
|
+
alignLeft,
|
|
362
|
+
alignRight,
|
|
363
|
+
arrowDown,
|
|
364
|
+
arrowLeft,
|
|
365
|
+
arrowRight,
|
|
366
|
+
arrowRotateLeft,
|
|
367
|
+
arrowRotateRight,
|
|
368
|
+
arrowUp,
|
|
369
|
+
arrowUpRightFromSquare,
|
|
370
|
+
asterisk,
|
|
371
|
+
bold,
|
|
372
|
+
bracketsCurly,
|
|
373
|
+
calendar,
|
|
374
|
+
caretDown,
|
|
375
|
+
caretUp,
|
|
376
|
+
check,
|
|
377
|
+
chevronDown,
|
|
378
|
+
chevronLeft,
|
|
379
|
+
chevronRight,
|
|
380
|
+
chevronUp,
|
|
381
|
+
circle,
|
|
382
|
+
clipboard,
|
|
383
|
+
clock,
|
|
384
|
+
clone,
|
|
385
|
+
code,
|
|
386
|
+
copy,
|
|
387
|
+
download,
|
|
388
|
+
ellipsis,
|
|
389
|
+
ellipsisVertical,
|
|
390
|
+
eye,
|
|
391
|
+
fileDashedLine,
|
|
392
|
+
flagCheckered,
|
|
393
|
+
gear,
|
|
394
|
+
grip,
|
|
395
|
+
h1,
|
|
396
|
+
h2,
|
|
397
|
+
h3,
|
|
398
|
+
h4,
|
|
399
|
+
h5,
|
|
400
|
+
h6,
|
|
401
|
+
heading,
|
|
402
|
+
highlighter,
|
|
403
|
+
house,
|
|
404
|
+
italic,
|
|
405
|
+
lightbulb,
|
|
406
|
+
link,
|
|
407
|
+
list,
|
|
408
|
+
listOl,
|
|
409
|
+
listUl,
|
|
410
|
+
minus,
|
|
411
|
+
paragraph,
|
|
412
|
+
pen,
|
|
413
|
+
penToSquare,
|
|
414
|
+
plus,
|
|
415
|
+
plusCircle,
|
|
416
|
+
quoteRight,
|
|
417
|
+
search,
|
|
418
|
+
share,
|
|
419
|
+
strikethrough,
|
|
420
|
+
subscript,
|
|
421
|
+
superscript,
|
|
422
|
+
table,
|
|
423
|
+
tableRegular,
|
|
424
|
+
textSlash,
|
|
425
|
+
trash,
|
|
426
|
+
triangleExclamation,
|
|
427
|
+
underline,
|
|
428
|
+
xmark
|
|
429
|
+
};
|
|
430
|
+
//#endregion
|
|
431
|
+
export { add, alignCenter, alignJustify, alignLeft, alignRight, arrowDown, arrowLeft, arrowRight, arrowRotateLeft, arrowRotateRight, arrowUp, arrowUpRightFromSquare, asterisk, bold, bracketsCurly, calendar, caretDown, caretUp, check, chevronDown, chevronLeft, chevronRight, chevronUp, circle, clipboard, clock, clone, code, copy, download, ellipsis, ellipsisVertical, eye, fileDashedLine, flagCheckered, gear, grip, h1, h2, h3, h4, h5, h6, heading, highlighter, house, icons, italic, lightbulb, link, list, listOl, listUl, minus, paragraph, pen, penToSquare, plus, plusCircle, quoteRight, search, share, strikethrough, subscript, superscript, table, tableRegular, textSlash, trash, triangleExclamation, underline, xmark };
|
|
432
|
+
|
|
433
|
+
//# sourceMappingURL=icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.js","names":[],"sources":["../src/icons.ts"],"sourcesContent":["// Raw SVG icon collection. Hand-maintained: add an icon by appending a\n// `{ width, height, path }` record and registering its name(s) in `registry.ts`.\n//\n// Path data was originally traced from Font Awesome. Verify licensing before\n// adding icons sourced from Font Awesome Pro (see README).\n\nimport type { PkIcon } from './types.js';\n\nexport const add: PkIcon = { width: 448, height: 512, path: \"M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z\" };\nexport const alignCenter: PkIcon = { width: 448, height: 512, path: \"M352 64c0-17.7-14.3-32-32-32L128 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32zm96 128c0-17.7-14.3-32-32-32L32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32zM0 448c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 416c-17.7 0-32 14.3-32 32zM352 320c0-17.7-14.3-32-32-32l-192 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32z\" };\nexport const alignJustify: PkIcon = { width: 448, height: 512, path: \"M448 64c0-17.7-14.3-32-32-32L32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32zm0 256c0-17.7-14.3-32-32-32L32 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32zM0 192c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160c-17.7 0-32 14.3-32 32zM448 448c0-17.7-14.3-32-32-32L32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32z\" };\nexport const alignLeft: PkIcon = { width: 448, height: 512, path: \"M288 64c0 17.7-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32L32 352c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z\" };\nexport const alignRight: PkIcon = { width: 448, height: 512, path: \"M448 64c0 17.7-14.3 32-32 32L192 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z\" };\nexport const arrowDown: PkIcon = { width: 384, height: 512, path: \"M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z\" };\nexport const arrowLeft: PkIcon = { width: 512, height: 512, path: \"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-370.7 0 105.4-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z\" };\nexport const arrowRight: PkIcon = { width: 512, height: 512, path: \"M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z\" };\nexport const arrowRotateLeft: PkIcon = { width: 512, height: 512, path: \"M256 64c-56.8 0-107.9 24.7-143.1 64l47.1 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 54.7C110.9 33.6 179.5 0 256 0 397.4 0 512 114.6 512 256S397.4 512 256 512c-87 0-163.9-43.4-210.1-109.7-10.1-14.5-6.6-34.4 7.9-44.6s34.4-6.6 44.6 7.9c34.8 49.8 92.4 82.3 157.6 82.3 106 0 192-86 192-192S362 64 256 64z\" };\nexport const arrowRotateRight: PkIcon = { width: 512, height: 512, path: \"M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z\" };\nexport const arrowUp: PkIcon = { width: 384, height: 512, path: \"M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z\" };\nexport const arrowUpRightFromSquare: PkIcon = { width: 512, height: 512, path: \"M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0-201.4 201.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3 448 192c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 96C35.8 96 0 131.8 0 176L0 432c0 44.2 35.8 80 80 80l256 0c44.2 0 80-35.8 80-80l0-80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 80c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 96z\" };\nexport const asterisk: PkIcon = { width: 448, height: 512, path: \"M224 0c17.7 0 32 14.3 32 32l0 168.6 144-83.1c15.3-8.8 34.9-3.6 43.7 11.7s3.6 34.9-11.7 43.7L288 256 432 339.1c15.3 8.8 20.6 28.4 11.7 43.7s-28.4 20.6-43.7 11.7L256 311.4 256 480c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-168.6-144 83.1c-15.3 8.8-34.9 3.6-43.7-11.7S.7 348 16 339.1L160 256 16 172.9C.7 164-4.5 144.5 4.3 129.1S32.7 108.6 48 117.4L192 200.6 192 32c0-17.7 14.3-32 32-32z\" };\nexport const bold: PkIcon = { width: 384, height: 512, path: \"M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l32 0 0 320-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c70.7 0 128-57.3 128-128 0-46.5-24.8-87.3-62-109.7 18.7-22.3 30-51 30-82.3 0-70.7-57.3-128-128-128L32 32zM288 160c0 35.3-28.7 64-64 64l-96 0 0-128 96 0c35.3 0 64 28.7 64 64zM128 416l0-128 128 0c35.3 0 64 28.7 64 64s-28.7 64-64 64l-128 0z\" };\nexport const bracketsCurly: PkIcon = { width: 576, height: 512, path: \"M416 32l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c17.7 0 32 14.3 32 32l0 37.5c0 25.5 10.1 49.9 28.1 67.9l22.6 22.6-22.6 22.6c-18 18-28.1 42.4-28.1 67.9l0 37.5c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c53 0 96-43 96-96l0-37.5c0-8.5 3.4-16.6 9.4-22.6l45.3-45.3c12.5-12.5 12.5-32.8 0-45.3l-45.3-45.3c-6-6-9.4-14.1-9.4-22.6l0-37.5c0-53-43-96-96-96zM160 32c-53 0-96 43-96 96l0 37.5c0 8.5-3.4 16.6-9.4 22.6L9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l45.3 45.3c6 6 9.4 14.1 9.4 22.6L64 384c0 53 43 96 96 96l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-17.7 0-32-14.3-32-32l0-37.5c0-25.5-10.1-49.9-28.1-67.9L77.3 256 99.9 233.4c18-18 28.1-42.4 28.1-67.9l0-37.5c0-17.7 14.3-32 32-32l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0z\" };\nexport const calendar: PkIcon = { width: 448, height: 512, path: \"M128 0C110.3 0 96 14.3 96 32l0 32-32 0C28.7 64 0 92.7 0 128l0 48 448 0 0-48c0-35.3-28.7-64-64-64l-32 0 0-32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 32-128 0 0-32c0-17.7-14.3-32-32-32zM0 224L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-192-448 0z\" };\nexport const caretDown: PkIcon = { width: 320, height: 512, path: \"M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z\" };\nexport const caretUp: PkIcon = { width: 320, height: 512, path: \"M140.3 135.2c12.6-10.3 31.1-9.5 42.8 2.2l128 128c9.2 9.2 11.9 22.9 6.9 34.9S301.4 320 288.5 320l-256 0c-12.9 0-24.6-7.8-29.6-19.8S.7 274.5 9.9 265.4l128-128 2.4-2.2z\" };\nexport const check: PkIcon = { width: 448, height: 512, path: \"M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z\" };\nexport const chevronDown: PkIcon = { width: 448, height: 512, path: \"M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z\" };\nexport const chevronLeft: PkIcon = { width: 320, height: 512, path: \"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z\" };\nexport const chevronRight: PkIcon = { width: 320, height: 512, path: \"M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\" };\nexport const chevronUp: PkIcon = { width: 448, height: 512, path: \"M201.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 173.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z\" };\nexport const circle: PkIcon = { width: 512, height: 512, path: \"M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z\" };\nexport const clipboard: PkIcon = { width: 384, height: 512, path: \"M320 32l-8.6 0C300.4 12.9 279.7 0 256 0L128 0C104.3 0 83.6 12.9 72.6 32L64 32C28.7 32 0 60.7 0 96L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-352c0-35.3-28.7-64-64-64zM136 112c-13.3 0-24-10.7-24-24s10.7-24 24-24l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0z\" };\nexport const clock: PkIcon = { width: 512, height: 512, path: \"M256 0a256 256 0 1 1 0 512 256 256 0 1 1 0-512zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z\" };\nexport const clone: PkIcon = { width: 512, height: 512, path: \"M288 448l-224 0 0-224 48 0 0-64-48 0c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l224 0c35.3 0 64-28.7 64-64l0-48-64 0 0 48zm-64-96l224 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64L224 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64z\" };\nexport const code: PkIcon = { width: 576, height: 512, path: \"M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z\" };\nexport const copy: PkIcon = { width: 448, height: 512, path: \"M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z\" };\nexport const download: PkIcon = { width: 448, height: 512, path: \"M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z\" };\nexport const ellipsis: PkIcon = { width: 448, height: 512, path: \"M0 256a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm168 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm224-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z\" };\nexport const eye: PkIcon = { width: 576, height: 512, path: \"M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z\" };\nexport const fileDashedLine: PkIcon = { width: 576, height: 512, path: \"M272 48L160 48c-8.8 0-16 7.2-16 16l0 176-48 0 0-176c0-35.3 28.7-64 64-64L293.5 0c17 0 33.3 6.7 45.3 18.7L461.3 141.3c12 12 18.7 28.3 18.7 45.3l0 53.5-48 0 0-32-88 0c-39.8 0-72-32.2-72-72l0-88zM96 384l48 0 0 64c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-64 48 0 0 64c0 35.3-28.7 64-64 64l-256 0c-35.3 0-64-28.7-64-64l0-64zM412.1 160L320 67.9 320 136c0 13.3 10.7 24 24 24l68.1 0zM24 288l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L24 336c-13.3 0-24-10.7-24-24s10.7-24 24-24zm208 0l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm208 0l112 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z\" };\nexport const flagCheckered: PkIcon = { width: 448, height: 512, path: \"M32 0C49.7 0 64 14.3 64 32l0 16 69-17.2c38.1-9.5 78.3-5.1 113.5 12.5 46.3 23.2 100.8 23.2 147.1 0l9.6-4.8C423.8 28.1 448 43.1 448 66.1l0 279.7c0 13.3-8.3 25.3-20.8 30l-34.7 13c-46.2 17.3-97.6 14.6-141.7-7.4-37.9-19-81.4-23.7-122.5-13.4L64 384 64 480c0 17.7-14.3 32-32 32S0 497.7 0 480L0 32C0 14.3 14.3 0 32 0zM64 187.1l64-13.9 0 65.5-64 13.9 0 65.5 48.8-12.2c5.1-1.3 10.1-2.4 15.2-3.3l0-63.9 38.9-8.4c8.3-1.8 16.7-2.5 25.1-2.1l0-64c13.6 .4 27.2 2.6 40.4 6.4l23.6 6.9 0 66.7-41.7-12.3c-7.3-2.1-14.8-3.4-22.3-3.8l0 71.4c21.8 1.9 43.3 6.7 64 14.4l0-69.8 22.7 6.7c13.5 4 27.3 6.4 41.3 7.4l0-64.2c-7.8-.8-15.6-2.3-23.2-4.5l-40.8-12 0-62c-13-3.8-25.8-8.8-38.2-15-8.2-4.1-16.9-7-25.8-8.8l0 72.4c-13-.4-26 .8-38.7 3.6l-25.3 5.5 0-75.2-64 16 0 73.1zM320 335.7c16.8 1.5 33.9-.7 50-6.8l14-5.2 0-71.7-7.9 1.8c-18.4 4.3-37.3 5.7-56.1 4.5l0 77.4zm64-149.4l0-70.8c-20.9 6.1-42.4 9.1-64 9.1l0 69.4c13.9 1.4 28 .5 41.7-2.6l22.3-5.2z\" };\nexport const grip: PkIcon = { width: 512, height: 512, path: \"M88 96c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0zM280 224l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40zm192 0l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40zm0 192l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40zM280 288c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0zM88 416l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40z\" };\nexport const h1: PkIcon = { width: 512, height: 512, path: \"M448 96c0-11.1-5.7-21.4-15.2-27.2s-21.2-6.4-31.1-1.4l-64 32c-15.8 7.9-22.2 27.1-14.3 42.9s27.1 22.2 42.9 14.3l17.7-8.8 0 236.2-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0 0-288zM64 96c0-17.7-14.3-32-32-32S0 78.3 0 96L0 416c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 128 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-128 0 0-128z\" };\nexport const h2: PkIcon = { width: 576, height: 512, path: \"M96 96c0-17.7-14.3-32-32-32S32 78.3 32 96l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 96 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-96 0 0-128zM368 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l81.1 0c21.5 0 38.9 17.4 38.9 38.9 0 13.9-7.5 26.8-19.6 33.8l-76.3 43.6C347.5 269.7 320 317.1 320 368.5l0 47.5c0 17.7 14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-128 0 0-15.5c0-28.4 15.2-54.6 39.9-68.7l76.3-43.6C532.2 237.9 552 203.8 552 166.9 552 110.1 505.9 64 449.1 64L368 64z\" };\nexport const h3: PkIcon = { width: 576, height: 512, path: \"M96 96c0-17.7-14.3-32-32-32S32 78.3 32 96l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 96 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-96 0 0-128zM352 256c0 17.7 14.3 32 32 32l56 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-88 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c61.9 0 112-50.1 112-112 0-31.3-12.9-59.7-33.6-80 20.7-20.3 33.6-48.7 33.6-80 0-61.9-50.1-112-112-112l-88 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-56 0c-17.7 0-32 14.3-32 32z\" };\nexport const h4: PkIcon = { width: 512, height: 512, path: \"M64 96c0-17.7-14.3-32-32-32S0 78.3 0 96L0 416c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 96 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-96 0 0-128zm288 0c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 44.2 35.8 80 80 80l80 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-80 0c-8.8 0-16-7.2-16-16l0-112z\" };\nexport const h5: PkIcon = { width: 576, height: 512, path: \"M96 96c0-17.7-14.3-32-32-32S32 78.3 32 96l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 96 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128-96 0 0-128zM352 64c-17.7 0-32 14.3-32 32l0 144c0 17.7 14.3 32 32 32l80 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-80 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0c66.3 0 120-53.7 120-120S498.3 208 432 208l-48 0 0-80 120 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L352 64z\" };\nexport const h6: PkIcon = { width: 512, height: 512, path: \"M32 64c17.7 0 32 14.3 32 32l0 128 96 0 0-128c0-17.7 14.3-32 32-32s32 14.3 32 32l0 320c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-128-96 0 0 128c0 17.7-14.3 32-32 32S0 433.7 0 416L0 96C0 78.3 14.3 64 32 64zm352 64c-17.7 0-32 14.3-32 32l0 53.5c10-3.5 20.8-5.5 32-5.5l32 0c53 0 96 43 96 96l0 48c0 53-43 96-96 96l-32 0c-53 0-96-43-96-96l0-192c0-53 43-96 96-96l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0zM352 304l0 48c0 17.7 14.3 32 32 32l32 0c17.7 0 32-14.3 32-32l0-48c0-17.7-14.3-32-32-32l-32 0c-17.7 0-32 14.3-32 32z\" };\nexport const highlighter: PkIcon = { width: 576, height: 512, path: \"M315 315L473.4 99.9 444.1 70.6 229 229 315 315zm-187 5l0 0 0-71.7c0-15.3 7.2-29.6 19.5-38.6L420.6 8.4C428 2.9 437 0 446.2 0 457.6 0 468.5 4.5 476.6 12.6l54.8 54.8c8.1 8.1 12.6 19 12.6 30.5 0 9.2-2.9 18.2-8.4 25.6L334.4 396.5c-9 12.3-23.4 19.5-38.6 19.5l-71.7 0-25.4 25.4c-12.5 12.5-32.8 12.5-45.3 0l-50.7-50.7c-12.5-12.5-12.5-32.8 0-45.3L128 320zM7 466.3l51.7-51.7 70.6 70.6-19.7 19.7c-4.5 4.5-10.6 7-17 7L24 512c-13.3 0-24-10.7-24-24l0-4.7c0-6.4 2.5-12.5 7-17z\" };\nexport const house: PkIcon = { width: 512, height: 512, path: \"M277.8 8.6c-12.3-11.4-31.3-11.4-43.5 0l-224 208c-9.6 9-12.8 22.9-8 35.1S18.8 272 32 272l16 0 0 176c0 35.3 28.7 64 64 64l288 0c35.3 0 64-28.7 64-64l0-176 16 0c13.2 0 25-8.1 29.8-20.3s1.6-26.2-8-35.1l-224-208zM240 320l32 0c26.5 0 48 21.5 48 48l0 96-128 0 0-96c0-26.5 21.5-48 48-48z\" };\nexport const italic: PkIcon = { width: 384, height: 512, path: \"M128 64c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-58.7 0-133.3 320 64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l58.7 0 133.3-320-64 0c-17.7 0-32-14.3-32-32z\" };\nexport const lightbulb: PkIcon = { width: 384, height: 512, path: \"M292.9 384c7.3-22.3 21.9-42.5 38.4-59.9 32.7-34.4 52.7-80.9 52.7-132.1 0-106-86-192-192-192S0 86 0 192c0 51.2 20 97.7 52.7 132.1 16.5 17.4 31.2 37.6 38.4 59.9l201.7 0zM288 432l-192 0 0 16c0 44.2 35.8 80 80 80l32 0c44.2 0 80-35.8 80-80l0-16zM184 112c-39.8 0-72 32.2-72 72 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-66.3 53.7-120 120-120 13.3 0 24 10.7 24 24s-10.7 24-24 24z\" };\nexport const link: PkIcon = { width: 576, height: 512, path: \"M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z\" };\nexport const list: PkIcon = { width: 512, height: 512, path: \"M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z\" };\nexport const listOl: PkIcon = { width: 512, height: 512, path: \"M0 72C0 58.8 10.7 48 24 48l48 0c13.3 0 24 10.7 24 24l0 104 24 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-96 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-80-24 0C10.7 96 0 85.3 0 72zM30.4 301.2C41.8 292.6 55.7 288 70 288l4.9 0c33.7 0 61.1 27.4 61.1 61.1 0 19.6-9.4 37.9-25.2 49.4l-24 17.5 33.2 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-90.7 0C13.1 464 0 450.9 0 434.7 0 425.3 4.5 416.5 12.1 411l70.5-51.3c3.4-2.5 5.4-6.4 5.4-10.6 0-7.2-5.9-13.1-13.1-13.1L70 336c-3.9 0-7.7 1.3-10.8 3.6L38.4 355.2c-10.6 8-25.6 5.8-33.6-4.8S-1 324.8 9.6 316.8l20.8-15.6zM224 64l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z\" };\nexport const listUl: PkIcon = { width: 512, height: 512, path: \"M48 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM48 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM96 256a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z\" };\nexport const minus: PkIcon = { width: 448, height: 512, path: \"M0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z\" };\nexport const heading: PkIcon = { width: 640, height: 640, path: \"M96 128C96 110.3 110.3 96 128 96L224 96C241.7 96 256 110.3 256 128C256 145.7 241.7 160 224 160L208 160L208 272L432 272L432 160L416 160C398.3 160 384 145.7 384 128C384 110.3 398.3 96 416 96L512 96C529.7 96 544 110.3 544 128C544 145.7 529.7 160 512 160L496 160L496 480L512 480C529.7 480 544 494.3 544 512C544 529.7 529.7 544 512 544L416 544C398.3 544 384 529.7 384 512C384 494.3 398.3 480 416 480L432 480L432 336L208 336L208 480L224 480C241.7 480 256 494.3 256 512C256 529.7 241.7 544 224 544L128 544C110.3 544 96 529.7 96 512C96 494.3 110.3 480 128 480L144 480L144 160L128 160C110.3 160 96 145.7 96 128z\" };\nexport const paragraph: PkIcon = { width: 640, height: 640, path: \"M256 64L512 64C529.7 64 544 78.3 544 96C544 113.7 529.7 128 512 128L480 128L480 544C480 561.7 465.7 576 448 576C430.3 576 416 561.7 416 544L416 128L368 128L368 544C368 561.7 353.7 576 336 576C318.3 576 304 561.7 304 544L304 384L256 384C167.6 384 96 312.4 96 224C96 135.6 167.6 64 256 64z\" };\nexport const pen: PkIcon = { width: 512, height: 512, path: \"M352.9 21.2L308 66.1 445.9 204 490.8 159.1C504.4 145.6 512 127.2 512 108s-7.6-37.6-21.2-51.1L455.1 21.2C441.6 7.6 423.2 0 404 0s-37.6 7.6-51.1 21.2zM274.1 100L58.9 315.1c-10.7 10.7-18.5 24.1-22.6 38.7L.9 481.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6L412 237.9 274.1 100z\" };\nexport const plus: PkIcon = { width: 448, height: 512, path: \"M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z\" };\nexport const plusCircle: PkIcon = { width: 512, height: 512, path: \"M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM232 344c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 0 64z\" };\nexport const quoteRight: PkIcon = { width: 448, height: 512, path: \"M448 296c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136zm-256 0c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136z\" };\nexport const search: PkIcon = { width: 512, height: 512, path: \"M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z\" };\nexport const share: PkIcon = { width: 512, height: 512, path: \"M307.8 18.4c-12 5-19.8 16.6-19.8 29.6l0 80-112 0c-97.2 0-176 78.8-176 176 0 113.3 81.5 163.9 100.2 174.1 2.5 1.4 5.3 1.9 8.1 1.9 10.9 0 19.7-8.9 19.7-19.7 0-7.5-4.3-14.4-9.8-19.5-9.4-8.8-22.2-26.4-22.2-56.7 0-53 43-96 96-96l96 0 0 80c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-9.2-9.2-22.9-11.9-34.9-6.9z\" };\nexport const strikethrough: PkIcon = { width: 512, height: 512, path: \"M96 157.5C96 88.2 152.2 32 221.5 32L368 32c17.7 0 32 14.3 32 32s-14.3 32-32 32L221.5 96c-34 0-61.5 27.5-61.5 61.5 0 31 23.1 57.2 53.9 61l44.1 5.5 222 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l83.1 0C103 204.6 96 181.8 96 157.5zM349.2 336l65.5 0c.9 6.1 1.4 12.2 1.4 18.5 0 69.3-56.2 125.5-125.5 125.5L144 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l146.5 0c34 0 61.5-27.5 61.5-61.5 0-6.4-1-12.7-2.8-18.5z\" };\nexport const subscript: PkIcon = { width: 576, height: 512, path: \"M96 64C78.3 64 64 78.3 64 96s14.3 32 32 32l15.3 0 89.6 128-89.6 128-15.3 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c10.4 0 20.2-5.1 26.2-13.6L240 311.8 325.8 434.4c6 8.6 15.8 13.6 26.2 13.6l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-15.3 0-89.6-128 89.6-128 15.3 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-10.4 0-20.2 5.1-26.2 13.6L240 200.2 154.2 77.6C148.2 69.1 138.4 64 128 64L96 64zM544 320c0-11.1-5.7-21.4-15.2-27.2s-21.2-6.4-31.1-1.4l-32 16c-15.8 7.9-22.2 27.1-14.3 42.9 5.6 11.2 16.9 17.7 28.6 17.7l0 80c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-128z\" };\nexport const superscript: PkIcon = { width: 576, height: 512, path: \"M544 32c0-11.1-5.7-21.4-15.2-27.2s-21.2-6.4-31.1-1.4l-32 16C449.9 27.3 443.5 46.5 451.4 62.3 457 73.5 468.3 80 480 80l0 80c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-128zM96 64C78.3 64 64 78.3 64 96s14.3 32 32 32l15.3 0 89.6 128-89.6 128-15.3 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c10.4 0 20.2-5.1 26.2-13.6L240 311.8 325.8 434.4c6 8.6 15.8 13.6 26.2 13.6l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-15.3 0-89.6-128 89.6-128 15.3 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-10.4 0-20.2 5.1-26.2 13.6L240 200.2 154.2 77.6C148.2 69.1 138.4 64 128 64L96 64z\" };\nexport const table: PkIcon = { width: 448, height: 512, path: \"M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64l-320 0-6.5-.3C25.2 476.4 0 449.1 0 416L0 96C0 60.7 28.7 32 64 32l320 0zM64 320l0 96 128 0 0-96-128 0zm192 0l0 96 128 0 0-96-128 0zM64 256l128 0 0-96-128 0 0 96zm192 0l128 0 0-96-128 0 0 96z\" };\nexport const tableRegular: PkIcon = { width: 448, height: 512, path: \"M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64l-320 0-6.5-.3C25.2 476.4 0 449.1 0 416L0 96C0 60.7 28.7 32 64 32l320 0zM48 312l0 104c0 8.8 7.2 16 16 16l136 0 0-120-152 0zm200 0l0 120 136 0c8.8 0 16-7.2 16-16l0-104-152 0zM48 264l152 0 0-104-152 0 0 104zm200 0l152 0 0-104-152 0 0 104z\" };\nexport const textSlash: PkIcon = { width: 576, height: 512, path: \"M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L322.7 256.9 368.2 96 471 96 465 120.2c-4.3 17.1 6.1 34.5 23.3 38.8s34.5-6.1 38.8-23.3l11-44.1C545.6 61.3 522.7 32 491.5 32l-319 0c-19.8 0-37.3 12.1-44.5 30.1l-87-87zM180.4 114.5l4.6-18.5 116.7 0-30.8 109-90.5-90.5zM241 310.8L211.3 416 160 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-42.2 0 15.1-53.3-51.9-51.9z\" };\nexport const triangleExclamation: PkIcon = { width: 512, height: 512, path: \"M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z\" };\nexport const underline: PkIcon = { width: 384, height: 512, path: \"M0 32C0 14.3 14.3 0 32 0L96 0c17.7 0 32 14.3 32 32S113.7 64 96 64l0 160c0 53 43 96 96 96s96-43 96-96l0-160c-17.7 0-32-14.3-32-32S270.3 0 288 0l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l0 160c0 88.4-71.6 160-160 160S32 312.4 32 224L32 64C14.3 64 0 49.7 0 32zM0 480c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 512c-17.7 0-32-14.3-32-32z\" };\nexport const xmark: PkIcon = { width: 384, height: 512, path: \"M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z\" };\nexport const ellipsisVertical: PkIcon = { width: 128, height: 512, path: \"M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z\" };\nexport const gear: PkIcon = { width: 512, height: 512, path: \"M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z\" };\nexport const penToSquare: PkIcon = { width: 512, height: 512, path: \"M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L368 46.1 465.9 144 490.3 119.6c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L432 177.9 334.1 80 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z\" };\nexport const trash: PkIcon = { width: 448, height: 512, path: \"M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z\" };\n\nexport const icons = {\n add,\n alignCenter,\n alignJustify,\n alignLeft,\n alignRight,\n arrowDown,\n arrowLeft,\n arrowRight,\n arrowRotateLeft,\n arrowRotateRight,\n arrowUp,\n arrowUpRightFromSquare,\n asterisk,\n bold,\n bracketsCurly,\n calendar,\n caretDown,\n caretUp,\n check,\n chevronDown,\n chevronLeft,\n chevronRight,\n chevronUp,\n circle,\n clipboard,\n clock,\n clone,\n code,\n copy,\n download,\n ellipsis,\n ellipsisVertical,\n eye,\n fileDashedLine,\n flagCheckered,\n gear,\n grip,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n heading,\n highlighter,\n house,\n italic,\n lightbulb,\n link,\n list,\n listOl,\n listUl,\n minus,\n paragraph,\n pen,\n penToSquare,\n plus,\n plusCircle,\n quoteRight,\n search,\n share,\n strikethrough,\n subscript,\n superscript,\n table,\n tableRegular,\n textSlash,\n trash,\n triangleExclamation,\n underline,\n xmark,\n} as const;\n\nexport type PkIconName = keyof typeof icons;\n"],"mappings":"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"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type { PkIcon, PkIconRenderOptions } from './types.js';
|
|
2
|
+
export { iconToSvg, iconViewBox } from './svg.js';
|
|
3
|
+
export { icons, type PkIconName } from './icons.js';
|
|
4
|
+
export * from './icons.js';
|
|
5
|
+
export { getIcon, getIconNames, normalizeIconName, registerIcon, registerIcons, } from './registry.js';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AACpD,cAAc,YAAY,CAAC;AAC3B,OAAO,EACH,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,aAAa,GAChB,MAAM,eAAe,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { add, alignCenter, alignJustify, alignLeft, alignRight, arrowDown, arrowLeft, arrowRight, arrowRotateLeft, arrowRotateRight, arrowUp, arrowUpRightFromSquare, asterisk, bold, bracketsCurly, calendar, caretDown, caretUp, check, chevronDown, chevronLeft, chevronRight, chevronUp, circle, clipboard, clock, clone, code, copy, download, ellipsis, ellipsisVertical, eye, fileDashedLine, flagCheckered, gear, grip, h1, h2, h3, h4, h5, h6, heading, highlighter, house, icons, italic, lightbulb, link, list, listOl, listUl, minus, paragraph, pen, penToSquare, plus, plusCircle, quoteRight, search, share, strikethrough, subscript, superscript, table, tableRegular, textSlash, trash, triangleExclamation, underline, xmark } from "./icons.js";
|
|
2
|
+
import { getIcon, getIconNames, normalizeIconName, registerIcon, registerIcons } from "./registry.js";
|
|
3
|
+
import { iconToSvg, iconViewBox } from "./svg.js";
|
|
4
|
+
export { add, alignCenter, alignJustify, alignLeft, alignRight, arrowDown, arrowLeft, arrowRight, arrowRotateLeft, arrowRotateRight, arrowUp, arrowUpRightFromSquare, asterisk, bold, bracketsCurly, calendar, caretDown, caretUp, check, chevronDown, chevronLeft, chevronRight, chevronUp, circle, clipboard, clock, clone, code, copy, download, ellipsis, ellipsisVertical, eye, fileDashedLine, flagCheckered, gear, getIcon, getIconNames, grip, h1, h2, h3, h4, h5, h6, heading, highlighter, house, iconToSvg, iconViewBox, icons, italic, lightbulb, link, list, listOl, listUl, minus, normalizeIconName, paragraph, pen, penToSquare, plus, plusCircle, quoteRight, registerIcon, registerIcons, search, share, strikethrough, subscript, superscript, table, tableRegular, textSlash, trash, triangleExclamation, underline, xmark };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PkIcon } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* Normalize a consumer-facing name to the registry key.
|
|
4
|
+
* Accepts kebab-case (`chevron-down`) or camelCase (`chevronDown`) — same glyph, not synonyms.
|
|
5
|
+
*/
|
|
6
|
+
export declare const normalizeIconName: (name: string) => string;
|
|
7
|
+
/** All currently registered icon names (kebab-case). */
|
|
8
|
+
export declare const getIconNames: () => readonly string[];
|
|
9
|
+
/** Resolve an icon by kebab-case or camelCase name. Returns `undefined` if unknown. */
|
|
10
|
+
export declare const getIcon: (name: string) => PkIcon | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Register (or overwrite) an icon for `<pk-icon icon="…">` / {@link getIcon}.
|
|
13
|
+
*
|
|
14
|
+
* Call once at app bootstrap for every name your Twig/HTML looks up. Prefer named
|
|
15
|
+
* icon imports so unused glyphs stay out of the bundle; use
|
|
16
|
+
* `@verbb/plugin-kit-icons/all.js` only when you need the full curated set.
|
|
17
|
+
*
|
|
18
|
+
* Object keys may be camelCase (`arrowUp`) or kebab-case (`arrow-up`) — both
|
|
19
|
+
* store under the kebab key that HTML uses.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* import { registerIcons, plus, gear, arrowUp } from '@verbb/plugin-kit-icons';
|
|
24
|
+
*
|
|
25
|
+
* registerIcons({ plus, gear, arrowUp });
|
|
26
|
+
* // <pk-icon icon="plus"></pk-icon>
|
|
27
|
+
* // <pk-icon icon="arrow-up"></pk-icon>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare const registerIcon: (name: string, icon: PkIcon) => void;
|
|
31
|
+
/**
|
|
32
|
+
* Register several icons in one call. Equivalent to repeated {@link registerIcon}.
|
|
33
|
+
* Keys may be kebab-case or camelCase (normalized to kebab).
|
|
34
|
+
*/
|
|
35
|
+
export declare const registerIcons: (entries: Record<string, PkIcon>) => void;
|
|
36
|
+
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAMzC;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,KAAG,MAYhD,CAAC;AAKF,wDAAwD;AACxD,eAAO,MAAM,YAAY,QAAO,SAAS,MAAM,EAE9C,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,OAAO,GAAI,MAAM,MAAM,KAAG,MAAM,GAAG,SAQ/C,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,IAYzD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,IAI/D,CAAC"}
|
package/dist/registry.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
//#region src/registry.ts
|
|
2
|
+
var camelToKebab = (value) => {
|
|
3
|
+
return value.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Normalize a consumer-facing name to the registry key.
|
|
7
|
+
* Accepts kebab-case (`chevron-down`) or camelCase (`chevronDown`) — same glyph, not synonyms.
|
|
8
|
+
*/
|
|
9
|
+
var normalizeIconName = (name) => {
|
|
10
|
+
const trimmed = name.trim();
|
|
11
|
+
if (!trimmed) return trimmed;
|
|
12
|
+
if (!/[A-Z]/.test(trimmed)) return trimmed.toLowerCase();
|
|
13
|
+
return camelToKebab(trimmed);
|
|
14
|
+
};
|
|
15
|
+
/** Empty until the consumer registers icons or imports `@verbb/plugin-kit-icons/all.js`. */
|
|
16
|
+
var registry = {};
|
|
17
|
+
/** All currently registered icon names (kebab-case). */
|
|
18
|
+
var getIconNames = () => {
|
|
19
|
+
return Object.keys(registry).sort();
|
|
20
|
+
};
|
|
21
|
+
/** Resolve an icon by kebab-case or camelCase name. Returns `undefined` if unknown. */
|
|
22
|
+
var getIcon = (name) => {
|
|
23
|
+
if (!name) return;
|
|
24
|
+
return registry[normalizeIconName(name)] ?? registry[name];
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Register (or overwrite) an icon for `<pk-icon icon="…">` / {@link getIcon}.
|
|
28
|
+
*
|
|
29
|
+
* Call once at app bootstrap for every name your Twig/HTML looks up. Prefer named
|
|
30
|
+
* icon imports so unused glyphs stay out of the bundle; use
|
|
31
|
+
* `@verbb/plugin-kit-icons/all.js` only when you need the full curated set.
|
|
32
|
+
*
|
|
33
|
+
* Object keys may be camelCase (`arrowUp`) or kebab-case (`arrow-up`) — both
|
|
34
|
+
* store under the kebab key that HTML uses.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* import { registerIcons, plus, gear, arrowUp } from '@verbb/plugin-kit-icons';
|
|
39
|
+
*
|
|
40
|
+
* registerIcons({ plus, gear, arrowUp });
|
|
41
|
+
* // <pk-icon icon="plus"></pk-icon>
|
|
42
|
+
* // <pk-icon icon="arrow-up"></pk-icon>
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
var registerIcon = (name, icon) => {
|
|
46
|
+
const key = normalizeIconName(name);
|
|
47
|
+
if (!key) throw new Error("registerIcon: name must be a non-empty string");
|
|
48
|
+
if (!icon?.path || !icon.width || !icon.height) throw new Error(`registerIcon: icon "${key}" must include width, height, and path`);
|
|
49
|
+
registry[key] = icon;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Register several icons in one call. Equivalent to repeated {@link registerIcon}.
|
|
53
|
+
* Keys may be kebab-case or camelCase (normalized to kebab).
|
|
54
|
+
*/
|
|
55
|
+
var registerIcons = (entries) => {
|
|
56
|
+
for (const [name, icon] of Object.entries(entries)) registerIcon(name, icon);
|
|
57
|
+
};
|
|
58
|
+
//#endregion
|
|
59
|
+
export { getIcon, getIconNames, normalizeIconName, registerIcon, registerIcons };
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.js","names":[],"sources":["../src/registry.ts"],"sourcesContent":["import type { PkIcon } from './types.js';\n\nconst camelToKebab = (value: string): string => {\n return value.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n};\n\n/**\n * Normalize a consumer-facing name to the registry key.\n * Accepts kebab-case (`chevron-down`) or camelCase (`chevronDown`) — same glyph, not synonyms.\n */\nexport const normalizeIconName = (name: string): string => {\n const trimmed = name.trim();\n if (!trimmed) {\n return trimmed;\n }\n\n // Already kebab / lowercase with separators — keep as-is after lowercasing.\n if (!/[A-Z]/.test(trimmed)) {\n return trimmed.toLowerCase();\n }\n\n return camelToKebab(trimmed);\n};\n\n/** Empty until the consumer registers icons or imports `@verbb/plugin-kit-icons/all.js`. */\nconst registry: Record<string, PkIcon> = {};\n\n/** All currently registered icon names (kebab-case). */\nexport const getIconNames = (): readonly string[] => {\n return Object.keys(registry).sort();\n};\n\n/** Resolve an icon by kebab-case or camelCase name. Returns `undefined` if unknown. */\nexport const getIcon = (name: string): PkIcon | undefined => {\n if (!name) {\n return undefined;\n }\n\n const key = normalizeIconName(name);\n\n return registry[key] ?? registry[name];\n};\n\n/**\n * Register (or overwrite) an icon for `<pk-icon icon=\"…\">` / {@link getIcon}.\n *\n * Call once at app bootstrap for every name your Twig/HTML looks up. Prefer named\n * icon imports so unused glyphs stay out of the bundle; use\n * `@verbb/plugin-kit-icons/all.js` only when you need the full curated set.\n *\n * Object keys may be camelCase (`arrowUp`) or kebab-case (`arrow-up`) — both\n * store under the kebab key that HTML uses.\n *\n * @example\n * ```ts\n * import { registerIcons, plus, gear, arrowUp } from '@verbb/plugin-kit-icons';\n *\n * registerIcons({ plus, gear, arrowUp });\n * // <pk-icon icon=\"plus\"></pk-icon>\n * // <pk-icon icon=\"arrow-up\"></pk-icon>\n * ```\n */\nexport const registerIcon = (name: string, icon: PkIcon): void => {\n const key = normalizeIconName(name);\n\n if (!key) {\n throw new Error('registerIcon: name must be a non-empty string');\n }\n\n if (!icon?.path || !icon.width || !icon.height) {\n throw new Error(`registerIcon: icon \"${key}\" must include width, height, and path`);\n }\n\n registry[key] = icon;\n};\n\n/**\n * Register several icons in one call. Equivalent to repeated {@link registerIcon}.\n * Keys may be kebab-case or camelCase (normalized to kebab).\n */\nexport const registerIcons = (entries: Record<string, PkIcon>): void => {\n for (const [name, icon] of Object.entries(entries)) {\n registerIcon(name, icon);\n }\n};\n"],"mappings":";AAEA,IAAM,gBAAgB,UAA0B;AAC5C,QAAO,MAAM,QAAQ,sBAAsB,QAAQ,CAAC,aAAa;;;;;;AAOrE,IAAa,qBAAqB,SAAyB;CACvD,MAAM,UAAU,KAAK,MAAM;AAC3B,KAAI,CAAC,QACD,QAAO;AAIX,KAAI,CAAC,QAAQ,KAAK,QAAQ,CACtB,QAAO,QAAQ,aAAa;AAGhC,QAAO,aAAa,QAAQ;;;AAIhC,IAAM,WAAmC,EAAE;;AAG3C,IAAa,qBAAwC;AACjD,QAAO,OAAO,KAAK,SAAS,CAAC,MAAM;;;AAIvC,IAAa,WAAW,SAAqC;AACzD,KAAI,CAAC,KACD;AAKJ,QAAO,SAFK,kBAAkB,KAEd,KAAQ,SAAS;;;;;;;;;;;;;;;;;;;;;AAsBrC,IAAa,gBAAgB,MAAc,SAAuB;CAC9D,MAAM,MAAM,kBAAkB,KAAK;AAEnC,KAAI,CAAC,IACD,OAAM,IAAI,MAAM,gDAAgD;AAGpE,KAAI,CAAC,MAAM,QAAQ,CAAC,KAAK,SAAS,CAAC,KAAK,OACpC,OAAM,IAAI,MAAM,uBAAuB,IAAI,wCAAwC;AAGvF,UAAS,OAAO;;;;;;AAOpB,IAAa,iBAAiB,YAA0C;AACpE,MAAK,MAAM,CAAC,MAAM,SAAS,OAAO,QAAQ,QAAQ,CAC9C,cAAa,MAAM,KAAK"}
|
package/dist/svg.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PkIcon, PkIconRenderOptions } from './types.js';
|
|
2
|
+
/** Build the `viewBox` value for an icon. */
|
|
3
|
+
export declare const iconViewBox: (icon: PkIcon) => string;
|
|
4
|
+
/**
|
|
5
|
+
* Render a {@link PkIcon} to a standalone SVG markup string.
|
|
6
|
+
*
|
|
7
|
+
* Framework-agnostic: web components pass the result through Lit's `unsafeSVG`,
|
|
8
|
+
* or parse it into an element. React consumers should use their own component
|
|
9
|
+
* (the raw {@link PkIcon} data is exported for that purpose).
|
|
10
|
+
*/
|
|
11
|
+
export declare const iconToSvg: (icon: PkIcon, options?: PkIconRenderOptions) => string;
|
|
12
|
+
//# sourceMappingURL=svg.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svg.d.ts","sourceRoot":"","sources":["../src/svg.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAU9D,6CAA6C;AAC7C,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,KAAG,MAE1C,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,EAAE,UAAS,mBAAwB,KAAG,MA2B3E,CAAC"}
|
package/dist/svg.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/svg.ts
|
|
2
|
+
var escapeHtml = (value) => {
|
|
3
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
4
|
+
};
|
|
5
|
+
/** Build the `viewBox` value for an icon. */
|
|
6
|
+
var iconViewBox = (icon) => {
|
|
7
|
+
return `0 0 ${icon.width} ${icon.height}`;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Render a {@link PkIcon} to a standalone SVG markup string.
|
|
11
|
+
*
|
|
12
|
+
* Framework-agnostic: web components pass the result through Lit's `unsafeSVG`,
|
|
13
|
+
* or parse it into an element. React consumers should use their own component
|
|
14
|
+
* (the raw {@link PkIcon} data is exported for that purpose).
|
|
15
|
+
*/
|
|
16
|
+
var iconToSvg = (icon, options = {}) => {
|
|
17
|
+
const { title, className, attributes = {} } = options;
|
|
18
|
+
const attrs = {
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
+
viewBox: iconViewBox(icon),
|
|
21
|
+
...attributes
|
|
22
|
+
};
|
|
23
|
+
if (className) attrs.class = className;
|
|
24
|
+
if (title) attrs.role = "img";
|
|
25
|
+
else {
|
|
26
|
+
attrs["aria-hidden"] = "true";
|
|
27
|
+
attrs.focusable = "false";
|
|
28
|
+
}
|
|
29
|
+
return `<svg ${Object.entries(attrs).map(([key, value]) => {
|
|
30
|
+
return `${key}="${escapeHtml(value)}"`;
|
|
31
|
+
}).join(" ")}>${title ? `<title>${escapeHtml(title)}</title>` : ""}<path fill="currentColor" d="${escapeHtml(icon.path)}"/></svg>`;
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
export { iconToSvg, iconViewBox };
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=svg.js.map
|
package/dist/svg.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svg.js","names":[],"sources":["../src/svg.ts"],"sourcesContent":["import type { PkIcon, PkIconRenderOptions } from './types.js';\n\nconst escapeHtml = (value: string): string => {\n return value\n .replace(/&/g, '&')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/\"/g, '"');\n};\n\n/** Build the `viewBox` value for an icon. */\nexport const iconViewBox = (icon: PkIcon): string => {\n return `0 0 ${icon.width} ${icon.height}`;\n};\n\n/**\n * Render a {@link PkIcon} to a standalone SVG markup string.\n *\n * Framework-agnostic: web components pass the result through Lit's `unsafeSVG`,\n * or parse it into an element. React consumers should use their own component\n * (the raw {@link PkIcon} data is exported for that purpose).\n */\nexport const iconToSvg = (icon: PkIcon, options: PkIconRenderOptions = {}): string => {\n const { title, className, attributes = {} } = options;\n\n const attrs: Record<string, string> = {\n xmlns: 'http://www.w3.org/2000/svg',\n viewBox: iconViewBox(icon),\n ...attributes,\n };\n\n if (className) {\n attrs.class = className;\n }\n\n if (title) {\n attrs.role = 'img';\n } else {\n attrs['aria-hidden'] = 'true';\n attrs.focusable = 'false';\n }\n\n const attrString = Object.entries(attrs)\n .map(([key, value]) => { return `${key}=\"${escapeHtml(value)}\"`; })\n .join(' ');\n\n const titleMarkup = title ? `<title>${escapeHtml(title)}</title>` : '';\n\n return `<svg ${attrString}>${titleMarkup}<path fill=\"currentColor\" d=\"${escapeHtml(icon.path)}\"/></svg>`;\n};\n"],"mappings":";AAEA,IAAM,cAAc,UAA0B;AAC1C,QAAO,MACF,QAAQ,MAAM,QAAQ,CACtB,QAAQ,MAAM,OAAO,CACrB,QAAQ,MAAM,OAAO,CACrB,QAAQ,MAAM,SAAS;;;AAIhC,IAAa,eAAe,SAAyB;AACjD,QAAO,OAAO,KAAK,MAAM,GAAG,KAAK;;;;;;;;;AAUrC,IAAa,aAAa,MAAc,UAA+B,EAAE,KAAa;CAClF,MAAM,EAAE,OAAO,WAAW,aAAa,EAAE,KAAK;CAE9C,MAAM,QAAgC;EAClC,OAAO;EACP,SAAS,YAAY,KAAK;EAC1B,GAAG;EACN;AAED,KAAI,UACA,OAAM,QAAQ;AAGlB,KAAI,MACA,OAAM,OAAO;MACV;AACH,QAAM,iBAAiB;AACvB,QAAM,YAAY;;AAStB,QAAO,QANY,OAAO,QAAQ,MAAM,CACnC,KAAK,CAAC,KAAK,WAAW;AAAE,SAAO,GAAG,IAAI,IAAI,WAAW,MAAM,CAAC;GAAM,CAClE,KAAK,IAIK,CAAW,GAFN,QAAQ,UAAU,WAAW,MAAM,CAAC,YAAY,GAE3B,+BAA+B,WAAW,KAAK,KAAK,CAAC"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A raw, framework-agnostic icon definition.
|
|
3
|
+
*
|
|
4
|
+
* Sourced from Font Awesome at build time (see `scripts/generate-icons.mjs`)
|
|
5
|
+
* but shipped as plain SVG path data so consumers are not tied to Font Awesome
|
|
6
|
+
* (or any icon font). Consumers bring their own font/rendering system.
|
|
7
|
+
*/
|
|
8
|
+
export type PkIcon = {
|
|
9
|
+
/** Intrinsic viewBox width. */
|
|
10
|
+
readonly width: number;
|
|
11
|
+
/** Intrinsic viewBox height. */
|
|
12
|
+
readonly height: number;
|
|
13
|
+
/** SVG path `d` attribute data. */
|
|
14
|
+
readonly path: string;
|
|
15
|
+
};
|
|
16
|
+
/** Options for rendering a {@link PkIcon} to an SVG string. */
|
|
17
|
+
export type PkIconRenderOptions = {
|
|
18
|
+
/**
|
|
19
|
+
* Accessible title. When provided the SVG is exposed as an image
|
|
20
|
+
* (`role="img"`) with a `<title>`; otherwise it is hidden from the
|
|
21
|
+
* accessibility tree (`aria-hidden="true"`).
|
|
22
|
+
*/
|
|
23
|
+
title?: string;
|
|
24
|
+
/** Value for the SVG `class` attribute. */
|
|
25
|
+
className?: string;
|
|
26
|
+
/** Additional attributes to set on the root `<svg>` element. */
|
|
27
|
+
attributes?: Record<string, string>;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,MAAM,GAAG;IACjB,+BAA+B;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,gCAAgC;IAChC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,mCAAmC;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,+DAA+D;AAC/D,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACvC,CAAC"}
|
package/dist/types.js
ADDED
|
File without changes
|
package/package.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@verbb/plugin-kit-icons",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"CHANGELOG.md",
|
|
11
|
+
"LICENSE.md"
|
|
12
|
+
],
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/verbb/plugin-kit.git",
|
|
16
|
+
"directory": "plugin-kit-icons"
|
|
17
|
+
},
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/verbb/plugin-kit/issues"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://docs.verbb.io/plugin-kit",
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=20.0.0"
|
|
24
|
+
},
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public"
|
|
27
|
+
},
|
|
28
|
+
"sideEffects": [
|
|
29
|
+
"./dist/all.js"
|
|
30
|
+
],
|
|
31
|
+
"exports": {
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"import": "./dist/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./all.js": {
|
|
37
|
+
"types": "./dist/all.d.ts",
|
|
38
|
+
"import": "./dist/all.js"
|
|
39
|
+
},
|
|
40
|
+
"./all": {
|
|
41
|
+
"types": "./dist/all.d.ts",
|
|
42
|
+
"import": "./dist/all.js"
|
|
43
|
+
},
|
|
44
|
+
"./package.json": "./package.json"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "vite build",
|
|
48
|
+
"dev": "vite build --watch"
|
|
49
|
+
},
|
|
50
|
+
"license": "MIT",
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"typescript": "^6.0.3",
|
|
53
|
+
"vite": "^8.0.10",
|
|
54
|
+
"vite-plugin-dts": "^4.5.4"
|
|
55
|
+
}
|
|
56
|
+
}
|