Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

portabilis-ui

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

portabilis-ui - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

18

dist/portabilis-ui.js
import { computed as l, defineComponent as g, h as i, ref as C, Transition as R } from "vue";
/**
* Portabilis UI 0.0.9
* Portabilis UI 0.0.10
* (c) 2022

@@ -27,3 +27,3 @@ * @license MIT

}
const h = {
const m = {
xs: 15,

@@ -37,3 +37,3 @@ sm: 20,

};
function k(e, n = h) {
function k(e, n = m) {
return l(

@@ -101,3 +101,3 @@ () => e.size !== void 0 ? {

padding: (d = e.padding) == null ? void 0 : d.split(/\s+/).map(
(m) => m in v ? `${v[m]}px` : m
(h) => h in v ? `${v[h]}px` : h
).join(" "),

@@ -121,3 +121,3 @@ minWidth: "0",

let t;
return e.color !== void 0 ? e.flat === !0 ? t = `text-${e.textColor || e.color}` : e.outline === !0 ? t = `text-${e.textColor || e.color} border-${e.textColor || e.color}` : t = `bg-${e.color} text-${e.textColor || "white"}` : e.textColor && (t = `text-${e.textColor}`), `x-btn--${f.value} x-btn--${e.round === !0 ? "round" : `rectangle${s.value === !0 ? " x-btn--rounded" : ""}`}` + (t !== void 0 ? " " + t : "") + (o.value === !0 ? " x-btn--actionable pmd-focusable pmd-hoverable" : e.disable === !0 ? " disabled" : "") + (e.fab === !0 ? " x-btn--fab" : e.fabMini === !0 ? " x-btn--fab-mini" : "") + (e.noCaps === !0 ? " x-btn--no-uppercase" : "") + (e.dense === !0 ? " x-btn--dense" : "") + (e.stretch === !0 ? " no-border-radius align-self-stretch" : "");
return e.color !== void 0 ? e.flat === !0 ? t = `text-${e.textColor || e.color}` : e.outline === !0 ? t = `text-${e.textColor || e.color} border-${e.textColor || e.color}` : t = `bg-${e.color} text-${e.textColor || "white"}` : e.textColor && (t = `text-${e.textColor}`), `x-btn--${f.value} x-btn--${e.round === !0 ? "round" : `rectangle${s.value === !0 ? " x-btn--rounded" : ""}`}` + (t !== void 0 ? " " + t : "") + (o.value === !0 ? " x-btn--actionable x-focusable x-hoverable" : e.disable === !0 ? " disabled" : "") + (e.fab === !0 ? " x-btn--fab" : e.fabMini === !0 ? " x-btn--fab-mini" : "") + (e.noCaps === !0 ? " x-btn--no-uppercase" : "") + (e.dense === !0 ? " x-btn--dense" : "") + (e.stretch === !0 ? " no-border-radius align-self-stretch" : "");
}), x = l(

@@ -145,3 +145,3 @@ () => a.value + (e.stack === !0 ? " flex-col" : "") + (e.noWrap === !0 ? " no-wrap text-no-wrap" : "") + (e.loading === !0 ? " x-btn__content--hidden" : "")

"mdi-": (e) => `mdi ${e}`,
"pmd-": (e) => `icon-${e}`
"x-": (e) => `icon-${e}`
}, q = new RegExp(`^(${Object.keys(w).join("|")})`), A = /^[l|f]a[s|r|l|b|d]? /, y = g({

@@ -168,3 +168,3 @@ name: "Icon",

const a = k(e), r = l(
() => "pmd-icon" + (e.left === !0 ? " on-left" : "") + (e.right === !0 ? " on-right" : "") + (e.color !== void 0 ? ` text-${e.color}` : "")
() => "x-icon" + (e.left === !0 ? " on-left" : "") + (e.right === !0 ? " on-right" : "") + (e.color !== void 0 ? ` text-${e.color}` : "")
), s = l(() => {

@@ -202,3 +202,3 @@ let o;

cSize: l(
() => e.size in h ? `${h[e.size]}px` : e.size
() => e.size in m ? `${m[e.size]}px` : e.size
),

@@ -407,5 +407,5 @@ classes: l(() => e.normal ? `x-normal-spinner-${e.size} text-${e.color}` : `x-spinner${e.color ? ` text-${e.color}` : ""}`)

X as useBtnProps,
h as useSizeDefaults,
m as useSizeDefaults,
$ as useSizeProps
};
//# sourceMappingURL=portabilis-ui.js.map
{
"name": "portabilis-ui",
"private": false,
"version": "0.0.9",
"version": "0.0.10",
"type": "module",

@@ -6,0 +6,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc