Comparing version 1.1.1 to 1.1.2
import * as h from "vue"; | ||
import { ref as x, defineComponent as f, useSlots as z, useAttrs as O, computed as c, openBlock as i, createBlock as j, resolveDynamicComponent as $, mergeProps as S, unref as b, withCtx as G, createElementBlock as d, renderSlot as p, normalizeClass as _, createCommentVNode as V, createElementVNode as C, normalizeProps as E, guardReactiveProps as I } from "vue"; | ||
const M = "1.1.1", y = Symbol("Onu_UI_Installed"); | ||
import { ref as P, defineComponent as f, useSlots as z, useAttrs as O, computed as c, openBlock as i, createBlock as j, resolveDynamicComponent as $, mergeProps as S, unref as b, withCtx as G, createElementBlock as d, renderSlot as p, normalizeClass as _, createCommentVNode as V, createElementVNode as C, normalizeProps as E, guardReactiveProps as I } from "vue"; | ||
const M = "1.1.2", y = Symbol("Onu_UI_Installed"); | ||
function N(t = []) { | ||
@@ -31,11 +31,11 @@ return { | ||
var B = {}; | ||
R(B, { Vue: () => h, Vue2: () => F, del: () => U, install: () => K, isVue2: () => X, isVue3: () => Y, set: () => Q }); | ||
R(B, { Vue: () => h, Vue2: () => K, del: () => H, install: () => Q, isVue2: () => Y, isVue3: () => F, set: () => U }); | ||
W(B, h); | ||
var X = !1, Y = !0, F = void 0; | ||
function K() { | ||
var Y = !1, F = !0, K = void 0; | ||
function Q() { | ||
} | ||
function Q(t, e, n) { | ||
function U(t, e, n) { | ||
return Array.isArray(t) ? (t.length = Math.max(t.length, e), t.splice(e, 1, n), n) : (t[e] = n, n); | ||
} | ||
function U(t, e) { | ||
function H(t, e) { | ||
if (Array.isArray(t)) { | ||
@@ -48,4 +48,4 @@ t.splice(e, 1); | ||
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope; | ||
x(); | ||
const H = { type: Boolean }, J = { type: Boolean }, Z = { type: Boolean }, g = { | ||
P(); | ||
const J = { type: Boolean }, X = { type: Boolean }, Z = { type: Boolean }, g = { | ||
type: String, | ||
@@ -58,4 +58,4 @@ default: "md" | ||
size: g, | ||
disabled: H, | ||
readonly: J, | ||
disabled: J, | ||
readonly: X, | ||
loading: Z, | ||
@@ -91,3 +91,3 @@ variant: { type: String } | ||
"ghost-light": "btn btn-ghost-light" | ||
}, u = c(() => s[e.size]), r = c(() => [e.variant ? l[e.variant] ?? "btn" : "btn"]), v = c(() => e.loading || e.disabled), P = c(() => (n.icon || e.icon) && !n.default); | ||
}, u = c(() => s[e.size]), r = c(() => [e.variant ? l[e.variant] ?? "btn" : "btn"]), v = c(() => e.loading || e.disabled), x = c(() => (n.icon || e.icon) && !n.default); | ||
return (o, pe) => (i(), j($(o.to ? "a" : "button"), S(b(a), { | ||
@@ -99,3 +99,3 @@ disabled: v.value, | ||
r.value, | ||
P.value && "aspect-square px-0", | ||
x.value && "aspect-square px-0", | ||
o.rounded && "rounded-full" | ||
@@ -189,3 +189,3 @@ ] | ||
e.vertical ? "flex-col" : "flex-row" | ||
], s = e.vertical ? { "space-y": e.spaceX } : { "space-x": e.spaceX }; | ||
], s = e.vertical ? { "space-y": e["space-y"] } : { "space-x": e["space-x"] }; | ||
return (l, u) => (i(), d("div", S({ class: a }, b(s)), [ | ||
@@ -196,5 +196,5 @@ p(l.$slots, "default") | ||
}), ce = m(ie), de = m(le), ue = [ | ||
ne, | ||
ce, | ||
de | ||
de, | ||
ne | ||
], w = N(ue), fe = w.install, be = w.version; | ||
@@ -201,0 +201,0 @@ export { |
{ | ||
"name": "onu-ui", | ||
"type": "module", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Onu UI Vue Components", | ||
"author": "Chris <https://github.com/zyyv>", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/onu-ui/onu-ui.git", | ||
"directory": "packages/vue" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/onu-ui/onu-ui/issues" | ||
}, | ||
"keywords": [ | ||
@@ -25,2 +33,5 @@ "Onu UI", | ||
], | ||
"dependencies": { | ||
"@onu-ui/utils": "1.1.2" | ||
}, | ||
"devDependencies": { | ||
@@ -31,3 +42,3 @@ "@vitejs/plugin-vue": "^5.1.2", | ||
"vue": "^3.4.38", | ||
"@onu-ui/preset": "1.1.1" | ||
"@onu-ui/preset": "1.1.2" | ||
}, | ||
@@ -34,0 +45,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
35441
218
0
0
0
1
+ Added@onu-ui/utils@1.1.2
+ Added@babel/helper-string-parser@7.25.9(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@babel/parser@7.26.9(transitive)
+ Added@babel/types@7.26.9(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@onu-ui/utils@1.1.2(transitive)
+ Added@vue/compiler-core@3.5.13(transitive)
+ Added@vue/compiler-dom@3.5.13(transitive)
+ Added@vue/compiler-sfc@3.5.13(transitive)
+ Added@vue/compiler-ssr@3.5.13(transitive)
+ Added@vue/reactivity@3.5.13(transitive)
+ Added@vue/runtime-core@3.5.13(transitive)
+ Added@vue/runtime-dom@3.5.13(transitive)
+ Added@vue/server-renderer@3.5.13(transitive)
+ Added@vue/shared@3.5.13(transitive)
+ Addedcsstype@3.1.3(transitive)
+ Addedentities@4.5.0(transitive)
+ Addedestree-walker@2.0.2(transitive)
+ Addedmagic-string@0.30.17(transitive)
+ Addednanoid@3.3.8(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpostcss@8.5.2(transitive)
+ Addedsource-map-js@1.2.1(transitive)
+ Addedvue@3.5.13(transitive)