@featherds/badge
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -1,2 +0,2 @@ | ||
import { pushScopeId, popScopeId, openBlock, createElementBlock, normalizeClass, createElementVNode, resolveComponent, renderSlot, Fragment, renderList, createBlock } from "vue"; | ||
import { openBlock, createElementBlock, normalizeClass, createElementVNode, resolveComponent, renderSlot, Fragment, renderList, createBlock } from "vue"; | ||
const TYPES = { | ||
@@ -6,3 +6,3 @@ INFO: "info", | ||
}; | ||
var Badge_vue_vue_type_style_index_0_scoped_true_lang = ".badge[data-v-3ba49ab5] {\n width: 10px;\n height: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex: none;\n}\n.badge.info .badge-icon[data-v-3ba49ab5] {\n border-width: 5px;\n border-style: solid;\n border-color: var(--feather-primary);\n border-radius: 100%;\n height: 10px;\n width: 10px;\n}\n.badge.info.siblings[data-v-3ba49ab5] {\n margin-right: -2px;\n}\n.badge.info.siblings .badge-icon[data-v-3ba49ab5] {\n border-right-color: transparent;\n}\n.badge.error .badge-icon[data-v-3ba49ab5] {\n background-color: var(--feather-error);\n transform: rotate(45deg);\n transform-origin: center center;\n width: 7px;\n height: 7px;\n}"; | ||
var Badge_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
var _export_sfc = (sfc, props) => { | ||
@@ -21,5 +21,3 @@ for (const [key, val] of props) { | ||
}; | ||
pushScopeId("data-v-3ba49ab5"); | ||
const _hoisted_1$1 = ["title"]; | ||
popScopeId(); | ||
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { | ||
@@ -36,3 +34,3 @@ return openBlock(), createElementBlock("div", { | ||
var Badge = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-3ba49ab5"]]); | ||
var FeatherBadge_vue_vue_type_style_index_0_scoped_true_lang = ".badge-container[data-v-231e1072] {\n display: inline-block;\n position: relative;\n}\n.badge-container.inline[data-v-231e1072] {\n display: inline-flex;\n align-items: center;\n}\n.badge-container.inline .badges[data-v-231e1072] {\n position: static;\n margin-left: 4px;\n}\n.badge-container .badges[data-v-231e1072] {\n position: absolute;\n left: calc(100% - 5px);\n bottom: calc(100% - 5px);\n display: flex;\n}"; | ||
var FeatherBadge_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
const BADGES = [TYPES.INFO, TYPES.ERROR]; | ||
@@ -64,5 +62,3 @@ const _sfc_main$1 = { | ||
}; | ||
pushScopeId("data-v-231e1072"); | ||
const _hoisted_1 = { class: "badges" }; | ||
popScopeId(); | ||
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) { | ||
@@ -87,3 +83,3 @@ const _component_Badge = resolveComponent("Badge"); | ||
var FeatherBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-231e1072"]]); | ||
var FeatherTextBadge_vue_vue_type_style_index_0_scoped_true_lang = ".feather-text-badge[data-v-42e2cb72] {\n height: 20px;\n padding: 2px 8px;\n display: inline-flex;\n align-items: center;\n border-radius: 2px;\n font-size: 0.75rem;\n line-height: 1.375rem;\n letter-spacing: normal;\n font-style: italic;\n font-weight: var(--feather-font-semibold);\n color: var(--feather-primary-text-on-surface);\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-transform: uppercase;\n font-weight: var(--feather-font-bold);\n margin-left: 8px;\n}\n.feather-text-badge.error[data-v-42e2cb72] {\n color: var(--feather-error);\n background-color: rgba(var(--feather-error-r), var(--feather-error-g), var(--feather-error-b), 0.12);\n}\n.feather-text-badge.info[data-v-42e2cb72] {\n color: var(--feather-primary);\n background-color: rgba(var(--feather-primary-r), var(--feather-primary-g), var(--feather-primary-b), 0.12);\n}"; | ||
var FeatherTextBadge_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
const _sfc_main = { | ||
@@ -90,0 +86,0 @@ props: { |
{ | ||
"name": "@featherds/badge", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"publishConfig": { | ||
@@ -12,3 +12,3 @@ "access": "public" | ||
"dependencies": { | ||
"@featherds/styles": "^0.2.9", | ||
"@featherds/styles": "^0.2.10", | ||
"vue": "^3.1.0-0" | ||
@@ -21,3 +21,3 @@ }, | ||
"types": "./src/index.d.ts", | ||
"gitHead": "28578b1da72bd2bf1f56dded784e513fa34333d8" | ||
"gitHead": "945b2b349bd8bab6b37b573ae2bb7fb70e170f4d" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25323
288
Updated@featherds/styles@^0.2.10