@hotelinking/ui 1.0.3 → 1.2.5

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/dist/index.css CHANGED
@@ -785,9 +785,6 @@ select{
785
785
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
786
786
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
787
787
  }
788
- .outline{
789
- outline-style: solid;
790
- }
791
788
  .hover\:bg-cyan-300:hover{
792
789
  --tw-bg-opacity: 1;
793
790
  background-color: rgb(103 232 249 / var(--tw-bg-opacity));
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./ui2.cjs"),t=u.default,l={install(o){Object.keys(t).forEach(e=>{o.component(e,t[e])})}};exports.default=l;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./ui.cjs2.js"),t=u.default,l={install(o){Object.keys(t).forEach(e=>{o.component(e,t[e])})}};exports.default=l;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./ui3.cjs"),t=require("./ui4.cjs"),u={uiButton:e.default,uiIcon:t.default};exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./ui.cjs3.js"),t=require("./ui.cjs4.js"),u={uiButton:e.default,uiIcon:t.default};exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),n={name:"uiIcon"},s=Object.assign(n,{props:{name:{type:Function,required:!0},size:{type:String,default:"normal"}},setup(e){return(a,i)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.name),{class:t.normalizeClass({"h-4 w-4":e.size==="normal","h-6 w-6":e.size==="big","h-12 w-12":e.size==="huge","h-20 w-20":e.size==="massive"})},null,8,["class"]))}});exports.default=s;
@@ -1,4 +1,4 @@
1
- import n from "./ui2.js";
1
+ import n from "./ui.es2.js";
2
2
  const t = n, c = {
3
3
  install(e) {
4
4
  Object.keys(t).forEach((o) => {
@@ -1,5 +1,5 @@
1
- import o from "./ui3.js";
2
- import i from "./ui4.js";
1
+ import o from "./ui.es3.js";
2
+ import i from "./ui.es4.js";
3
3
  const n = {
4
4
  uiButton: o,
5
5
  uiIcon: i
package/dist/ui.es4.js ADDED
@@ -0,0 +1,20 @@
1
+ import { openBlock as n, createBlock as a, resolveDynamicComponent as t, normalizeClass as s } from "vue";
2
+ const i = { name: "uiIcon" }, r = /* @__PURE__ */ Object.assign(i, {
3
+ props: {
4
+ name: { type: Function, required: !0 },
5
+ size: { type: String, default: "normal" }
6
+ },
7
+ setup(e) {
8
+ return (c, l) => (n(), a(t(e.name), {
9
+ class: s({
10
+ "h-4 w-4": e.size === "normal",
11
+ "h-6 w-6": e.size === "big",
12
+ "h-12 w-12": e.size === "huge",
13
+ "h-20 w-20": e.size === "massive"
14
+ })
15
+ }, null, 8, ["class"]));
16
+ }
17
+ });
18
+ export {
19
+ r as default
20
+ };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@hotelinking/ui",
3
3
  "private": false,
4
- "version": "1.0.3",
4
+ "version": "1.2.5",
5
5
  "type": "module",
6
- "main": "dist/ui.cjs",
7
- "module": "dist/ui.js",
6
+ "main": "dist/ui.cjs.js",
7
+ "module": "dist/ui.es.js",
8
8
  "files": [
9
9
  "dist"
10
10
  ],
@@ -15,13 +15,15 @@
15
15
  "preview": "vite preview"
16
16
  },
17
17
  "devDependencies": {
18
+ "@heroicons/vue": "^2.0.18",
18
19
  "@tailwindcss/forms": "^0.5.3",
19
20
  "@vitejs/plugin-vue": "^4.1.0",
20
21
  "autoprefixer": "^10.4.14",
21
22
  "postcss": "^8.4.24",
22
23
  "postcss-cli": "^10.1.0",
23
24
  "tailwindcss": "^3.3.2",
24
- "vite": "^4.3.9"
25
+ "vite": "^4.3.9",
26
+ "vue": "^3.2.47"
25
27
  },
26
28
  "peerDependencies": {
27
29
  "vue": "^3.2.47",
package/dist/ui4.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o={name:"uiIcon"},a=Object.assign(o,{props:{name:{type:String},size:{type:String,default:"normal"}},setup(t){const n=t,s=e.computed(()=>{}),c=e.computed(()=>s.outline[n.name]);return(i,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.value),{class:e.normalizeClass({"h-4 w-4":t.size==="normal","h-6 w-6":t.size==="big","h-12 w-12":t.size==="huge","h-20 w-20":t.size==="massive"})},null,8,["class"]))}});exports.default=a;
package/dist/ui4.js DELETED
@@ -1,27 +0,0 @@
1
- import { computed as n, openBlock as c, createBlock as o, resolveDynamicComponent as i, normalizeClass as l } from "vue";
2
- const m = { name: "uiIcon" }, z = /* @__PURE__ */ Object.assign(m, {
3
- props: {
4
- name: {
5
- type: String
6
- },
7
- size: {
8
- type: String,
9
- default: "normal"
10
- }
11
- },
12
- setup(e) {
13
- const s = e, t = n(() => {
14
- }), a = n(() => t.outline[s.name]);
15
- return (r, u) => (c(), o(i(a.value), {
16
- class: l({
17
- "h-4 w-4": e.size === "normal",
18
- "h-6 w-6": e.size === "big",
19
- "h-12 w-12": e.size === "huge",
20
- "h-20 w-20": e.size === "massive"
21
- })
22
- }, null, 8, ["class"]));
23
- }
24
- });
25
- export {
26
- z as default
27
- };
File without changes
File without changes