fds-vue-core 2.1.33 → 2.1.34
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/fds-vue-core.cjs.js +6 -4
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +1 -1
- package/dist/fds-vue-core.es.js +6 -4
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.vue +4 -2
- package/src/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue +4 -2
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -4219,9 +4219,10 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
4219
4219
|
const emit = __emit;
|
|
4220
4220
|
const { disabled, href, attrs } = useAttrsWithDefaults(props);
|
|
4221
4221
|
const rootClasses = vue.computed(() => ["inline-block transition-opacity duration-200", props.block && "block w-full"]);
|
|
4222
|
+
const externalClass = vue.computed(() => attrs.class);
|
|
4222
4223
|
const sizeClasses = {
|
|
4223
4224
|
sm: "text-sm h-7 px-3",
|
|
4224
|
-
md: "text-base h-12 px-4",
|
|
4225
|
+
md: "text-base h-12 px-4 min-w-[120px]",
|
|
4225
4226
|
lg: "text-lg h-[68px] px-6"
|
|
4226
4227
|
};
|
|
4227
4228
|
const blockElClasses = vue.computed(() => props.block && "w-full justify-center");
|
|
@@ -4253,7 +4254,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
4253
4254
|
}));
|
|
4254
4255
|
return (_ctx, _cache) => {
|
|
4255
4256
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
4256
|
-
class: vue.normalizeClass(rootClasses.value),
|
|
4257
|
+
class: vue.normalizeClass([rootClasses.value, externalClass.value]),
|
|
4257
4258
|
"aria-disabled": vue.unref(disabled) ? "true" : void 0
|
|
4258
4259
|
}, [
|
|
4259
4260
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.as), vue.mergeProps(componentAttrs.value, {
|
|
@@ -4321,9 +4322,10 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
4321
4322
|
const emit = __emit;
|
|
4322
4323
|
const { disabled, href, attrs } = useAttrsWithDefaults(props);
|
|
4323
4324
|
const rootClasses = vue.computed(() => ["inline-block transition-opacity duration-200", props.block && "block w-full"]);
|
|
4325
|
+
const externalClass = vue.computed(() => attrs.class);
|
|
4324
4326
|
const sizeClasses = {
|
|
4325
4327
|
sm: "text-sm h-7 px-3",
|
|
4326
|
-
md: "text-base h-12 px-4",
|
|
4328
|
+
md: "text-base h-12 px-4 min-w-[120px]",
|
|
4327
4329
|
lg: "text-lg h-[68px] px-6"
|
|
4328
4330
|
};
|
|
4329
4331
|
const blockElClasses = vue.computed(() => props.block && "w-full justify-center");
|
|
@@ -4355,7 +4357,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
4355
4357
|
}));
|
|
4356
4358
|
return (_ctx, _cache) => {
|
|
4357
4359
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
4358
|
-
class: vue.normalizeClass(rootClasses.value),
|
|
4360
|
+
class: vue.normalizeClass([rootClasses.value, externalClass.value]),
|
|
4359
4361
|
"aria-disabled": vue.unref(disabled) ? "true" : void 0
|
|
4360
4362
|
}, [
|
|
4361
4363
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.as), vue.mergeProps(componentAttrs.value, {
|