fds-vue-core 2.0.52 → 2.0.53
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/components/Buttons/ButtonBaseProps.d.ts +1 -1
- package/dist/components/Buttons/ButtonBaseProps.d.ts.map +1 -1
- package/dist/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.vue.d.ts +1 -1
- package/dist/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue.d.ts +1 -1
- package/dist/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue.d.ts.map +1 -1
- package/dist/fds-vue-core.cjs.js +10 -10
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.es.js +10 -10
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ export interface FdsButtonBaseProps {
|
|
|
7
7
|
state?: 'hover' | 'focus' | 'active' | undefined;
|
|
8
8
|
icon?: FdsIconName | undefined;
|
|
9
9
|
iconPos?: 'right' | 'left';
|
|
10
|
-
size?: '
|
|
10
|
+
size?: 'sm' | 'md' | 'lg';
|
|
11
11
|
textSelection?: boolean;
|
|
12
12
|
as?: 'button' | 'a' | 'router-link';
|
|
13
13
|
href?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonBaseProps.d.ts","sourceRoot":"","sources":["../../../src/components/Buttons/ButtonBaseProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAA;IAChD,IAAI,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;IAC9B,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC1B,IAAI,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"ButtonBaseProps.d.ts","sourceRoot":"","sources":["../../../src/components/Buttons/ButtonBaseProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAA;IAChD,IAAI,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;IAC9B,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC1B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,EAAE,CAAC,EAAE,QAAQ,GAAG,GAAG,GAAG,aAAa,CAAA;IACnC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;CACrC"}
|
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<FdsButtonBaseProps, {}, {}
|
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<FdsButtonBaseProps> & Readonly<{
|
|
5
5
|
onClick?: (ev: MouseEvent) => any;
|
|
6
6
|
}>, {
|
|
7
|
-
size: "
|
|
7
|
+
size: "sm" | "md" | "lg";
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
type: "button" | "submit" | "reset";
|
|
10
10
|
icon: import("../../..").FdsIconName | undefined;
|
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<FdsButtonBaseProps, {}, {}
|
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<FdsButtonBaseProps> & Readonly<{
|
|
5
5
|
onClick?: (ev: MouseEvent) => any;
|
|
6
6
|
}>, {
|
|
7
|
-
size: "
|
|
7
|
+
size: "sm" | "md" | "lg";
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
type: "button" | "submit" | "reset";
|
|
10
10
|
icon: import("../../..").FdsIconName | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsButtonSecondary.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FdsButtonSecondary.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;AAmM5D,wBAIG"}
|
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -2154,7 +2154,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
2154
2154
|
}
|
|
2155
2155
|
});
|
|
2156
2156
|
const _hoisted_1$g = ["aria-disabled"];
|
|
2157
|
-
const elBase$1 = "box-border appearance-none inline-flex items-center justify-center cursor-pointer select-none min-h-0 min-w-12
|
|
2157
|
+
const elBase$1 = "box-border appearance-none inline-flex items-center justify-center cursor-pointer select-none min-h-0 min-w-12 m-0 rounded-lg text-center align-middle whitespace-nowrap no-underline shadow-[0_2px_4px_rgba(12,72,153,0.12)] 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";
|
|
2158
2158
|
const variantClasses$1 = "bg-red-600 border border-red-700 text-white hover:bg-red-700 active:bg-red-800 active:border-red-800";
|
|
2159
2159
|
const iconFillClass$1 = "fill-white";
|
|
2160
2160
|
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -2167,7 +2167,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
2167
2167
|
state: { default: void 0 },
|
|
2168
2168
|
icon: { default: void 0 },
|
|
2169
2169
|
iconPos: { default: "left" },
|
|
2170
|
-
size: { default: "
|
|
2170
|
+
size: { default: "md" },
|
|
2171
2171
|
textSelection: { type: Boolean, default: false },
|
|
2172
2172
|
as: { default: "button" },
|
|
2173
2173
|
href: { default: void 0 },
|
|
@@ -2183,9 +2183,9 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
2183
2183
|
props.block && "block w-full"
|
|
2184
2184
|
]);
|
|
2185
2185
|
const sizeClasses = {
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2186
|
+
sm: "text-sm h-7 px-3",
|
|
2187
|
+
md: "text-base h-12 px-4",
|
|
2188
|
+
lg: "text-lg h-[68px] px-6"
|
|
2189
2189
|
};
|
|
2190
2190
|
const blockElClasses = vue.computed(() => props.block && "w-full justify-center");
|
|
2191
2191
|
const iconOrderClasses = vue.computed(
|
|
@@ -2247,7 +2247,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
2247
2247
|
}
|
|
2248
2248
|
});
|
|
2249
2249
|
const _hoisted_1$f = ["aria-disabled"];
|
|
2250
|
-
const elBase = "box-border appearance-none inline-flex items-center justify-center cursor-pointer select-none min-h-0 min-w-12
|
|
2250
|
+
const elBase = "box-border appearance-none inline-flex items-center justify-center cursor-pointer select-none min-h-0 min-w-12 m-0 rounded-lg text-center align-middle whitespace-nowrap no-underline shadow-[0_2px_4px_rgba(12,72,153,0.12)] 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";
|
|
2251
2251
|
const variantClasses = "bg-white border-2 border-blue-500 text-blue-600 hover:border-blue-600 active:bg-blue-600 active:border-blue-600 active:text-white";
|
|
2252
2252
|
const iconFillClass = "fill-blue-500";
|
|
2253
2253
|
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -2260,7 +2260,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
2260
2260
|
state: { default: void 0 },
|
|
2261
2261
|
icon: { default: void 0 },
|
|
2262
2262
|
iconPos: { default: "left" },
|
|
2263
|
-
size: { default: "
|
|
2263
|
+
size: { default: "md" },
|
|
2264
2264
|
textSelection: { type: Boolean, default: false },
|
|
2265
2265
|
as: { default: "button" },
|
|
2266
2266
|
href: { default: void 0 },
|
|
@@ -2276,9 +2276,9 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
2276
2276
|
props.block && "block w-full"
|
|
2277
2277
|
]);
|
|
2278
2278
|
const sizeClasses = {
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2279
|
+
sm: "text-sm h-7 px-3",
|
|
2280
|
+
md: "text-base h-12 px-4",
|
|
2281
|
+
lg: "text-lg h-[68px] px-6"
|
|
2282
2282
|
};
|
|
2283
2283
|
const blockElClasses = vue.computed(() => props.block && "w-full justify-center");
|
|
2284
2284
|
const iconOrderClasses = vue.computed(
|