fds-vue-core 2.0.67 → 2.0.69
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsButtonMinor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FdsButtonMinor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue"],"names":[],"mappings":"AAmHA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAU5D,UAAU,mBAAoB,SAAQ,kBAAkB;IACtD,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;;;;;;;;;;;YADU,OAAO;;;;;;;;;AA2MlB,wBAIG"}
|
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -1674,6 +1674,9 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
1674
1674
|
const _hoisted_1$k = ["aria-disabled"];
|
|
1675
1675
|
const elBase$2 = "box-border appearance-none inline-flex items-center justify-center w-full cursor-pointer shadow-none p-1 text-base h-7 select-none m-0 rounded-md textcenter align-middle whitespace-nowrap no-underline transition-[box-shadow,border-color,background-color] duration-200 font-main font-bold text-base leading-5 tracking-normal focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500";
|
|
1676
1676
|
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
1677
|
+
...{
|
|
1678
|
+
inheritAttrs: false
|
|
1679
|
+
},
|
|
1677
1680
|
__name: "FdsButtonMinor",
|
|
1678
1681
|
props: {
|
|
1679
1682
|
invert: { type: Boolean, default: false },
|
|
@@ -1694,6 +1697,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
1694
1697
|
},
|
|
1695
1698
|
emits: ["click"],
|
|
1696
1699
|
setup(__props, { emit: __emit }) {
|
|
1700
|
+
const attrs = vue.useAttrs();
|
|
1697
1701
|
const props = __props;
|
|
1698
1702
|
const emit = __emit;
|
|
1699
1703
|
const rootClasses = vue.computed(() => [
|
|
@@ -1727,12 +1731,16 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
1727
1731
|
if (props.as === "router-link") return { to: props.href };
|
|
1728
1732
|
return {};
|
|
1729
1733
|
});
|
|
1734
|
+
const componentAttrs = vue.computed(() => ({
|
|
1735
|
+
...linkAttrs.value,
|
|
1736
|
+
...attrs
|
|
1737
|
+
}));
|
|
1730
1738
|
return (_ctx, _cache) => {
|
|
1731
1739
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
1732
1740
|
class: vue.normalizeClass(rootClasses.value),
|
|
1733
1741
|
"aria-disabled": _ctx.disabled ? "true" : null
|
|
1734
1742
|
}, [
|
|
1735
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.as), vue.mergeProps(
|
|
1743
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.as), vue.mergeProps(componentAttrs.value, {
|
|
1736
1744
|
type: _ctx.as === "button" ? _ctx.type : void 0,
|
|
1737
1745
|
disabled: _ctx.as === "button" ? _ctx.disabled : void 0,
|
|
1738
1746
|
target: _ctx.as === "a" ? _ctx.target : void 0,
|