@invopop/ui-icons 0.0.79 → 0.0.82

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 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.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { IconSource } from "./types.js";
2
- export { IconSource };
2
+ export type { IconSource };
3
3
  export declare const AddCircle: IconSource;
4
4
  export declare const Add: IconSource;
5
5
  export declare const Alert: IconSource;
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.79",
4
+ "version": "0.0.82",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "npm run package && vite build",
@@ -12,7 +12,7 @@
12
12
  "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
13
13
  "lint": "prettier --plugin-search-dir . --check .",
14
14
  "format": "prettier --plugin-search-dir . --write .",
15
- "build:icons": "node build.js"
15
+ "build:icons": "node build.js && node fix-exports.js"
16
16
  },
17
17
  "svelte": "./dist/index.js",
18
18
  "types": "./dist/index.d.ts",
@@ -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
  }