@zeturn/watercolor-icons-phosphor-vue 1.1.29

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.
@@ -0,0 +1,2 @@
1
+ export * from './src/index'
2
+ export {}
@@ -0,0 +1,7 @@
1
+ import { Component } from 'vue';
2
+ /**
3
+ * Resolve a Phosphor Vue icon component by kebab-case name (e.g. "arrow-right").
4
+ * Note: phosphor-vue exports are prefixed with `Ph`.
5
+ */
6
+ export declare function getIcon(name: string): Component | undefined;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAUpC;;;GAGG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAI3D"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import('vite').UserConfig;
2
+ export default _default;
3
+ //# sourceMappingURL=vite.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../vite.config.js"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import * as e from "@phosphor-icons/vue";
2
+ function r(t) {
3
+ return t.split("-").filter(Boolean).map((o) => o.charAt(0).toUpperCase() + o.slice(1)).join("");
4
+ }
5
+ function s(t) {
6
+ const o = e, n = "Ph" + r(t);
7
+ return o[n] || o.PhQuestion;
8
+ }
9
+ export {
10
+ s as getIcon
11
+ };
@@ -0,0 +1 @@
1
+ (function(t,r){typeof exports=="object"&&typeof module<"u"?r(exports,require("@phosphor-icons/vue")):typeof define=="function"&&define.amd?define(["exports","@phosphor-icons/vue"],r):(t=typeof globalThis<"u"?globalThis:t||self,r(t.WatercolorIconsPhosphorVue={},t.Phosphor))})(this,function(t,r){"use strict";function c(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(o,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return o.default=e,Object.freeze(o)}const s=c(r);function u(e){return e.split("-").filter(Boolean).map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join("")}function f(e){const o=s,n="Ph"+u(e);return o[n]||o.PhQuestion}t.getIcon=f,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@zeturn/watercolor-icons-phosphor-vue",
3
+ "version": "1.1.29",
4
+ "type": "module",
5
+ "main": "dist/watercolor-icons-phosphor-vue.umd.js",
6
+ "module": "dist/watercolor-icons-phosphor-vue.es.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/watercolor-icons-phosphor-vue.es.js",
12
+ "require": "./dist/watercolor-icons-phosphor-vue.umd.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "scripts": {
19
+ "build": "vite build"
20
+ },
21
+ "peerDependencies": {
22
+ "vue": "^3.0.0"
23
+ },
24
+ "dependencies": {
25
+ "@phosphor-icons/vue": "^2.2.1"
26
+ },
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/zeturn/watercolor.git",
33
+ "directory": "packages/icons-phosphor-vue"
34
+ },
35
+ "license": "MIT"
36
+ }