@invopop/ui-icons 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -0
- package/dist/types.d.ts +8 -0
- package/package.json +66 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
## Overview
|
|
2
|
+
|
|
3
|
+
Effortless Icon Pack for template Icons
|
|
4
|
+
|
|
5
|
+
- Based on [unnamed]()
|
|
6
|
+
- Defines the Icon Source to be used in any [steeze-ui icon component](https://github.com/steeze-ui/icons/tree/main/packages/components)
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm i -D @steeze-ui/unnamed
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
import { Activity } from '@steeze-ui/unnamed'
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Documentation
|
|
21
|
+
|
|
22
|
+
### Themes
|
|
23
|
+
|
|
24
|
+
| Value | Description |
|
|
25
|
+
| ------- | -------------------------------- |
|
|
26
|
+
| default | The default version of the Icons |
|
|
27
|
+
|
|
28
|
+
### Other Icon Packs
|
|
29
|
+
|
|
30
|
+
For all other available Icon Packs visit [steeze-ui/icons](https://github.com/steeze-ui/icons)
|
|
31
|
+
|
|
32
|
+
## Development
|
|
33
|
+
|
|
34
|
+
This repo uses pnpm. To build a new version of the package just run:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pnpm install && pnpm package
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
This produces a ready-to-publish package for the npm registry
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const SubFolder = { "default": { "a": { "viewBox": "0 0 20 20", "fill": "none" }, "path": [{ "d": "M10 2.5L10 6.99999C10 8.88561 10 9.82842 10.5858 10.4142C11.1716 11 12.1144 11 14 11L17.5 11", "stroke": "#7E7F7F", "stroke-width": "1.1" }] } };
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type AllowedTags = 'path' | 'circle' | 'rect' | 'polygon' | 'polyline' | 'line'
|
|
2
|
+
type IconThemeSource = {
|
|
3
|
+
a: { [attribute: string]: string }
|
|
4
|
+
} & {
|
|
5
|
+
[tag in AllowedTags]?: { [attribute: string]: string }[]
|
|
6
|
+
}
|
|
7
|
+
export type IconSource = { default: IconThemeSource } & { [theme: string]: IconThemeSource }
|
|
8
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@invopop/ui-icons",
|
|
3
|
+
"description": "Icon Sources (based on template) built for @steeze-ui/icons",
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "vite dev",
|
|
7
|
+
"build": "vite build && npm run package",
|
|
8
|
+
"preview": "vite preview",
|
|
9
|
+
"package": "pnpm build:icons && svelte-kit sync && svelte-package && publint",
|
|
10
|
+
"prepublishOnly": "npm run package",
|
|
11
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
12
|
+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
13
|
+
"lint": "prettier --plugin-search-dir . --check .",
|
|
14
|
+
"format": "prettier --plugin-search-dir . --write .",
|
|
15
|
+
"build:icons": "node build.js"
|
|
16
|
+
},
|
|
17
|
+
"svelte": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"type": "module",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.js",
|
|
24
|
+
"svelte": "./dist/index.js"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"!dist/**/*.test.*",
|
|
30
|
+
"!dist/**/*.spec.*"
|
|
31
|
+
],
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@steeze-ui/icons": "^2.1.0",
|
|
34
|
+
"@steeze-ui/svelte-icon": "^1.5.0",
|
|
35
|
+
"@sveltejs/adapter-auto": "^2.1.0",
|
|
36
|
+
"@sveltejs/kit": "^1.20.4",
|
|
37
|
+
"@sveltejs/package": "^2.0.2",
|
|
38
|
+
"prettier": "^2.8.8",
|
|
39
|
+
"prettier-plugin-svelte": "^2.10.1",
|
|
40
|
+
"publint": "^0.1.12",
|
|
41
|
+
"svelte": "^3.59.1",
|
|
42
|
+
"svelte-check": "^3.4.3",
|
|
43
|
+
"tslib": "^2.5.3",
|
|
44
|
+
"typescript": "^5.1.3",
|
|
45
|
+
"vite": "^4.3.9"
|
|
46
|
+
},
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "git+https://github.com/steeze-ui/icons.git"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"raw",
|
|
53
|
+
"icons",
|
|
54
|
+
"steeze"
|
|
55
|
+
],
|
|
56
|
+
"author": "Justin Voitel <mail@justinv.me>",
|
|
57
|
+
"license": "MIT",
|
|
58
|
+
"bugs": {
|
|
59
|
+
"url": "https://github.com/steeze-ui/icons/issues"
|
|
60
|
+
},
|
|
61
|
+
"homepage": "https://github.com/steeze-ui/icons#readme",
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public",
|
|
64
|
+
"registry": "https://registry.npmjs.org/"
|
|
65
|
+
}
|
|
66
|
+
}
|