@invopop/ui-icons 0.0.78 → 0.0.81

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.
Files changed (3) hide show
  1. package/README.md +38 -0
  2. package/dist/index.js +2 -1
  3. package/package.json +10 -6
package/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # Invopop Icons
2
+
3
+ Default set of icons used inside Invopop.
4
+
5
+ ## Build
6
+
7
+ ### Go
8
+
9
+ Simply call the following after the list of icons has been modified:
10
+
11
+ ```bash
12
+ go generate .
13
+ ```
14
+
15
+ Upload generated code to the repository to ensure it can be used directly by Go.
16
+
17
+ ### Svelte
18
+
19
+ The icons are automatically built and published to npm when changes are pushed to the `themes/` folder.
20
+
21
+ #### Installation
22
+
23
+ ```bash
24
+ npm install @invopop/ui-icons @steeze-ui/svelte-icon
25
+ ```
26
+
27
+ #### Usage
28
+
29
+ ```svelte
30
+ <script>
31
+ import { Icon } from "@steeze-ui/svelte-icon";
32
+ import { AddCircle, Alert, Calendar } from "@invopop/ui-icons";
33
+ </script>
34
+
35
+ <Icon src={AddCircle} />
36
+ <Icon src={Alert} size="24" />
37
+ <Icon src={Calendar} theme="solid" />
38
+ ```
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export { IconSource };
1
2
  export const AddCircle = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16" }, "path": [{ "fill": "currentColor", "d": "M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 1a6 6 0 1 0 0 12A6 6 0 0 0 8 2Zm0 2.5a.5.5 0 0 1 .5.5v2.505H11a.5.5 0 0 1 0 1H8.5V11a.5.5 0 0 1-1 0V8.505H5a.5.5 0 1 1 0-1h2.5V5a.5.5 0 0 1 .5-.5Z" }] } };
2
3
  export const Add = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16" }, "path": [{ "fill": "currentColor", "d": "M8 2.5a.5.5 0 0 1 .5.5v4.5H13a.5.5 0 0 1 0 1H8.5V13a.5.5 0 0 1-1 0V8.5H3a.5.5 0 0 1 0-1h4.5V3a.5.5 0 0 1 .5-.5Z" }] } };
3
4
  export const Alert = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16" }, "path": [{ "fill": "currentColor", "d": "M8 15.005a7 7 0 1 1 0-14 7 7 0 0 1 0 14Zm.5-6v-5h-1v5h1Zm-.5 3a.75.75 0 1 0-.002-1.502A.75.75 0 0 0 8 12.005Z" }] } };
@@ -72,7 +73,7 @@ export const Lock = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16"
72
73
  export const Logout = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16" }, "path": [{ "fill": "currentColor", "d": "M6.5 1a.5.5 0 0 1 0 1h-3A1.5 1.5 0 0 0 2 3.5v9A1.5 1.5 0 0 0 3.5 14h3a.5.5 0 0 1 0 1h-3A2.5 2.5 0 0 1 1 12.5v-9A2.5 2.5 0 0 1 3.5 1h3Zm3.168 2.626a.5.5 0 0 1 .664.748L6.814 7.5l7.686.001a.5.5 0 0 1 0 1L6.815 8.5l3.517 3.126a.5.5 0 0 1-.664.748l-4.5-4c-.004-.003-.007-.008-.01-.012a.498.498 0 0 1-.047-.05l-.018-.023a.498.498 0 0 1-.038-.064c-.004-.009-.01-.016-.013-.025a.498.498 0 0 1 0-.401c.004-.01.01-.018.015-.028.01-.02.021-.04.035-.06l.026-.032a.502.502 0 0 1 .04-.042l.01-.011 4.5-4Z" }] } };
73
74
  export const Menu = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16" }, "path": [{ "fill": "currentColor", "d": "M10.5 11a.5.5 0 0 1 0 1h-8a.5.5 0 0 1 0-1h8Zm-3-3.5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1h5Zm6-3.5a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1h11Z" }] } };
74
75
  export const Note = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16" }, "path": [{ "fill": "currentColor", "d": "M12.5 1.005a2.5 2.5 0 0 1 2.5 2.5v5.167c0 .662-.263 1.299-.731 1.768l-3.83 3.832a2.5 2.5 0 0 1-1.768.733H3.5a2.5 2.5 0 0 1-2.5-2.5v-9a2.5 2.5 0 0 1 2.5-2.5h9Zm-9 1a1.5 1.5 0 0 0-1.5 1.5v9a1.5 1.5 0 0 0 1.5 1.5h5.17c.113 0 .223-.014.33-.038V10.5A1.5 1.5 0 0 1 10.5 9h3.462c.024-.107.038-.217.038-.328V3.505a1.5 1.5 0 0 0-1.5-1.5h-9Zm7 7.995a.5.5 0 0 0-.5.5v2.797L13.294 10H10.5Zm-4 0a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1h2Zm2-3a.5.5 0 0 1 0 1h-4a.5.5 0 0 1 0-1h4Zm2-3a.5.5 0 0 1 0 1h-6a.5.5 0 0 1 0-1h6Z" }] } };
75
- export const Notification = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16" }, "path": [{ "fill": "#B32530", "d": "M8 3.996a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z" }] } };
76
+ export const Notification = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16" }, "path": [{ "fill": "currentColor", "d": "M8 3.996a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z" }] } };
76
77
  export const Options = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16" }, "path": [{ "fill": "currentColor", "d": "M3.25 6.75a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm4.75 0a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm4.75 0a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Z" }] } };
77
78
  export const Order = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16" }, "path": [{ "fill": "currentColor", "d": "M11.5 1A2.5 2.5 0 0 1 14 3.5v9a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1h7Zm-7 1A1.5 1.5 0 0 0 3 3.5v9A1.5 1.5 0 0 0 4.5 14h7a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 11.5 2h-7Zm5.126 6.668a.5.5 0 0 1 .748.664l-2.667 3a.5.5 0 0 1-.708.04l-1.334-1.2a.5.5 0 0 1 .67-.743l.959.862 2.332-2.623Zm0-5a.5.5 0 0 1 .748.664l-2.667 3a.5.5 0 0 1-.708.04l-1.334-1.2a.5.5 0 0 1 .67-.743l.959.862 2.332-2.623Z" }] } };
78
79
  export const Payment = { "default": { "a": { "fill": "none", "viewBox": "0 0 16 16" }, "path": [{ "fill": "currentColor", "d": "M5.151 7.97c1.312-.26 2.622.268 3.676.631h-.001c.467.159.781.535.932.943.071.195.108.407.107.622l2.802-1.221a1.7 1.7 0 0 1 2.169.694l.08.155a1.7 1.7 0 0 1-.85 2.248l-.005.002-6.134 2.702v-.001a3.046 3.046 0 0 1-2.176.124l-.022-.008-1.823-.678c-.206.48-.683.817-1.238.818H1.5a.5.5 0 0 1 0-1h1.167a.349.349 0 0 0 .348-.35v-.028a.495.495 0 0 1 0-.238V10.9l-.005-.001.005-.024V9.41a.349.349 0 0 0-.347-.349L1.5 9.062a.5.5 0 0 1 0-1h1.167c.49 0 .917.261 1.153.651.306-.357.731-.625 1.331-.744Zm3.35 1.576c-1.161-.4-2.17-.79-3.156-.595-.515.102-.77.345-.943.676-.184.353-.273.794-.387 1.346v2.185l2.04.758.183.05c.43.094.879.048 1.282-.134l.004-.002 6.128-2.699a.7.7 0 0 0 .352-.925v-.001a.7.7 0 0 0-.791-.394l-.141.047-3.991 1.74c-.157.1-.33.173-.51.217a1.69 1.69 0 0 1-1.105-.102l-1.672-.757a.5.5 0 0 1 .412-.912l1.673.76.134.044c.093.021.186.02.276.004l.303-.132a.696.696 0 0 0 .213-.265.76.76 0 0 0 .014-.566c-.067-.183-.188-.298-.315-.342l.16-.473-.163.472ZM10.955.955a3.046 3.046 0 1 1-.002 6.091 3.046 3.046 0 0 1 .002-6.091Zm0 1a2.046 2.046 0 0 0 0 4.09 2.046 2.046 0 0 0 0-4.09Zm0 .909a.5.5 0 0 1 .5.5v1.272a.5.5 0 0 1-1 0V3.364a.5.5 0 0 1 .5-.5Z", "clip-path": "url(#a)" }], "defs": [{}] } };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@invopop/ui-icons",
3
3
  "description": "Icon Sources (based on template) built for @steeze-ui/icons",
4
- "version": "0.0.78",
4
+ "version": "0.0.81",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "npm run package && vite build",
@@ -32,20 +32,21 @@
32
32
  "devDependencies": {
33
33
  "@steeze-ui/icons": "^2.1.0",
34
34
  "@steeze-ui/svelte-icon": "^1.5.0",
35
- "@sveltejs/adapter-static": "^1.0.6",
36
- "@sveltejs/kit": "^1.20.4",
35
+ "@sveltejs/adapter-static": "^3.0.10",
36
+ "@sveltejs/kit": "^2.53.1",
37
37
  "@sveltejs/package": "^2.0.2",
38
+ "@sveltejs/vite-plugin-svelte": "^6.2.4",
38
39
  "prettier": "^2.8.8",
39
40
  "prettier-plugin-svelte": "^2.10.1",
40
41
  "publint": "^0.1.12",
41
- "svelte": "^4.2.19",
42
+ "svelte": "^5.53.3",
42
43
  "svelte-check": "^3.4.3",
43
44
  "tslib": "^2.5.3",
44
45
  "typescript": "^5.1.3",
45
- "vite": "^4.3.9"
46
+ "vite": "^7.3.1"
46
47
  },
47
48
  "repository": {
48
- "url": "https://github.com/invopop/popui"
49
+ "url": "https://github.com/invopop/icons"
49
50
  },
50
51
  "keywords": [
51
52
  "raw",
@@ -61,5 +62,8 @@
61
62
  "publishConfig": {
62
63
  "access": "public",
63
64
  "registry": "https://registry.npmjs.org/"
65
+ },
66
+ "overrides": {
67
+ "cookie": "^1.1.1"
64
68
  }
65
69
  }