fds-vue-core 2.0.88 → 2.0.89
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/README.md +1 -0
- package/dist/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.vue.d.ts.map +1 -1
- package/dist/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue.d.ts.map +1 -1
- package/dist/fds-vue-core.cjs.js +24 -22
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.es.js +24 -22
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,3 +36,4 @@ After you are done editing the fds-vue-core project you want to publish your cha
|
|
|
36
36
|
1. Bump the version in `package.json` (Use the [Semver](https://semver.org/) set of rules for versioning).
|
|
37
37
|
2. Push your changes to github.
|
|
38
38
|
3. Publish the new version to npm: `npm publish --access-public`. (You might need to login: `npm login`)
|
|
39
|
+
4. Authenticate your account
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsButtonPrimary.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FdsButtonPrimary.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.vue"],"names":[],"mappings":"AAqGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;AAuM5D,wBAIG"}
|
|
@@ -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":"AAmGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;AAuM5D,wBAIG"}
|
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -415,7 +415,7 @@ function useHasSlot(name = "default") {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
const _hoisted_1$q = ["for"];
|
|
418
|
-
const _hoisted_2$
|
|
418
|
+
const _hoisted_2$k = ["id", "name", "value", "disabled", "required"];
|
|
419
419
|
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
420
420
|
__name: "FdsCheckbox",
|
|
421
421
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -531,7 +531,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
531
531
|
required: _ctx.required,
|
|
532
532
|
type: "checkbox",
|
|
533
533
|
class: vue.normalizeClass([checkboxClasses.value])
|
|
534
|
-
}, null, 10, _hoisted_2$
|
|
534
|
+
}, null, 10, _hoisted_2$k), [
|
|
535
535
|
[vue.vModelCheckbox, internalChecked.value]
|
|
536
536
|
]),
|
|
537
537
|
vue.unref(hasLabelSlot) || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -1144,7 +1144,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
1144
1144
|
}
|
|
1145
1145
|
});
|
|
1146
1146
|
const _hoisted_1$n = ["for"];
|
|
1147
|
-
const _hoisted_2$
|
|
1147
|
+
const _hoisted_2$j = ["id", "name", "value", "disabled", "required"];
|
|
1148
1148
|
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
1149
1149
|
__name: "FdsRadio",
|
|
1150
1150
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -1208,7 +1208,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
1208
1208
|
required: _ctx.required,
|
|
1209
1209
|
type: "radio",
|
|
1210
1210
|
class: vue.normalizeClass([inputClasses.value, "m-[2px]"])
|
|
1211
|
-
}, null, 10, _hoisted_2$
|
|
1211
|
+
}, null, 10, _hoisted_2$j), [
|
|
1212
1212
|
[vue.vModelRadio, radioModel.value]
|
|
1213
1213
|
]),
|
|
1214
1214
|
vue.unref(hasLabelSlot) || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -1225,7 +1225,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
1225
1225
|
}
|
|
1226
1226
|
});
|
|
1227
1227
|
const _hoisted_1$m = { class: "flex items-start" };
|
|
1228
|
-
const _hoisted_2$
|
|
1228
|
+
const _hoisted_2$i = { class: "flex-1 flex" };
|
|
1229
1229
|
const _hoisted_3$b = ["innerHTML"];
|
|
1230
1230
|
const _hoisted_4$a = { key: 1 };
|
|
1231
1231
|
const _hoisted_5$8 = { key: 0 };
|
|
@@ -1455,7 +1455,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
1455
1455
|
key: 1,
|
|
1456
1456
|
style: vue.normalizeStyle({ minWidth: `${_ctx.indentation}px` })
|
|
1457
1457
|
}, null, 4)) : vue.createCommentVNode("", true),
|
|
1458
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
1458
|
+
vue.createElementVNode("div", _hoisted_2$i, [
|
|
1459
1459
|
vue.createVNode(_sfc_main$w, {
|
|
1460
1460
|
id: `checkbox-${props.nodeId}`,
|
|
1461
1461
|
checked: vue.unref(treeState)?.isNodeSelected(props.nodeId),
|
|
@@ -4849,7 +4849,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
4849
4849
|
}
|
|
4850
4850
|
});
|
|
4851
4851
|
const _hoisted_1$k = ["aria-disabled"];
|
|
4852
|
-
const _hoisted_2$
|
|
4852
|
+
const _hoisted_2$h = { class: "pt-0.5" };
|
|
4853
4853
|
const elBase$2 = "box-border appearance-none inline-flex items-start justify-center w-fit cursor-pointer shadow-none p-0.5 text-base select-none m-0 rounded-md text-left align-start 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";
|
|
4854
4854
|
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
4855
4855
|
...{
|
|
@@ -4943,7 +4943,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
4943
4943
|
size: 24
|
|
4944
4944
|
}, null, 8, ["class", "name"])
|
|
4945
4945
|
], 2)) : vue.createCommentVNode("", true),
|
|
4946
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
4946
|
+
vue.createElementVNode("span", _hoisted_2$h, vue.toDisplayString(_ctx.text), 1)
|
|
4947
4947
|
]),
|
|
4948
4948
|
_: 1
|
|
4949
4949
|
}, 16, ["type", "disabled", "target", "rel", "class"]))
|
|
@@ -4952,7 +4952,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
4952
4952
|
}
|
|
4953
4953
|
});
|
|
4954
4954
|
const _hoisted_1$j = { class: "w-full mb-4" };
|
|
4955
|
-
const _hoisted_2$
|
|
4955
|
+
const _hoisted_2$g = ["for"];
|
|
4956
4956
|
const _hoisted_3$a = { class: "relative" };
|
|
4957
4957
|
const _hoisted_4$9 = ["id", "name", "type", "disabled", "required", "size", "maxlength", "aria-invalid"];
|
|
4958
4958
|
const _hoisted_5$7 = {
|
|
@@ -5091,7 +5091,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
5091
5091
|
key: 0,
|
|
5092
5092
|
for: inputId.value,
|
|
5093
5093
|
class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
|
|
5094
|
-
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$
|
|
5094
|
+
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$g)) : vue.createCommentVNode("", true),
|
|
5095
5095
|
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
5096
5096
|
key: 1,
|
|
5097
5097
|
class: vue.normalizeClass(["font-thin", { "mb-1": !_ctx.labelLeft }])
|
|
@@ -5153,7 +5153,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
5153
5153
|
}
|
|
5154
5154
|
});
|
|
5155
5155
|
const _hoisted_1$i = ["id"];
|
|
5156
|
-
const _hoisted_2$
|
|
5156
|
+
const _hoisted_2$f = {
|
|
5157
5157
|
key: 0,
|
|
5158
5158
|
class: "flex items-start justify-between gap-4"
|
|
5159
5159
|
};
|
|
@@ -5199,7 +5199,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
5199
5199
|
class: vue.normalizeClass(contentClasses.value),
|
|
5200
5200
|
style: vue.normalizeStyle(borderLeftStyle.value)
|
|
5201
5201
|
}, [
|
|
5202
|
-
_ctx.heading ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_2$
|
|
5202
|
+
_ctx.heading ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_2$f, [
|
|
5203
5203
|
vue.createElementVNode("div", _hoisted_3$9, [
|
|
5204
5204
|
vue.createElementVNode("h3", {
|
|
5205
5205
|
class: vue.normalizeClass(headerClasses.value)
|
|
@@ -5243,7 +5243,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
5243
5243
|
}
|
|
5244
5244
|
});
|
|
5245
5245
|
const _hoisted_1$h = { key: 0 };
|
|
5246
|
-
const _hoisted_2$
|
|
5246
|
+
const _hoisted_2$e = {
|
|
5247
5247
|
key: 0,
|
|
5248
5248
|
class: "text-xl"
|
|
5249
5249
|
};
|
|
@@ -5346,7 +5346,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
5346
5346
|
_: 1
|
|
5347
5347
|
}, 8, ["value", "label"]),
|
|
5348
5348
|
props.searchCountTemplate || props.searchCountTemplateUnfiltered ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
|
|
5349
|
-
props.searchCountTemplate && vue.unref(treeState)?.searchTerm?.value && String(vue.unref(treeState)?.searchTerm?.value || "").trim().length >= (vue.unref(treeState)?.triggerLength ?? 1) ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_2$
|
|
5349
|
+
props.searchCountTemplate && vue.unref(treeState)?.searchTerm?.value && String(vue.unref(treeState)?.searchTerm?.value || "").trim().length >= (vue.unref(treeState)?.triggerLength ?? 1) ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_2$e, vue.toDisplayString(props.searchCountTemplate.replace("[[filteredNodes]]", vue.unref(treeState)?.filteredMatchCount.value.toString()).replace("[[totalNodes]]", totalNodeCount.value.toString())), 1)) : (vue.openBlock(), vue.createElementBlock("h2", _hoisted_3$8, vue.toDisplayString(props.searchCountTemplateUnfiltered?.replace("[[totalNodes]]", totalNodeCount.value.toString()).replace("[[totalNodes]]", totalNodeCount.value.toString())), 1))
|
|
5350
5350
|
])) : vue.createCommentVNode("", true)
|
|
5351
5351
|
], 512)) : vue.createCommentVNode("", true),
|
|
5352
5352
|
vue.unref(treeState)?.isEmptySearchResult?.value ? (vue.openBlock(), vue.createBlock(_sfc_main$o, {
|
|
@@ -5401,6 +5401,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
5401
5401
|
}
|
|
5402
5402
|
});
|
|
5403
5403
|
const _hoisted_1$g = ["aria-disabled"];
|
|
5404
|
+
const _hoisted_2$d = { key: 2 };
|
|
5404
5405
|
const elBase$1 = "box-border appearance-none inline-flex items-center justify-center cursor-pointer select-none w-full 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";
|
|
5405
5406
|
const variantClasses$1 = "bg-red-600 border border-red-700 text-white hover:bg-red-700 active:bg-red-800 active:border-red-800";
|
|
5406
5407
|
const iconFillClass$1 = "fill-white";
|
|
@@ -5438,14 +5439,15 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
5438
5439
|
};
|
|
5439
5440
|
const blockElClasses = vue.computed(() => props.block && "w-full justify-center");
|
|
5440
5441
|
const iconOrderClasses = vue.computed(
|
|
5441
|
-
() => props.icon && props.iconPos === "right" ? "order-2
|
|
5442
|
+
() => props.icon && props.iconPos === "right" ? "order-2" : ""
|
|
5442
5443
|
);
|
|
5443
5444
|
const buttonClasses = vue.computed(() => [
|
|
5444
5445
|
elBase$1,
|
|
5445
5446
|
sizeClasses[props.size || "m"],
|
|
5446
5447
|
variantClasses$1,
|
|
5447
5448
|
blockElClasses.value,
|
|
5448
|
-
props.textSelection && "select-text"
|
|
5449
|
+
props.textSelection && "select-text",
|
|
5450
|
+
(props.icon || props.text) && "gap-2"
|
|
5449
5451
|
]);
|
|
5450
5452
|
function onClick(ev) {
|
|
5451
5453
|
if (props.disabled || props.loading) {
|
|
@@ -5473,7 +5475,6 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
5473
5475
|
default: vue.withCtx(() => [
|
|
5474
5476
|
_ctx.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$r, {
|
|
5475
5477
|
key: 0,
|
|
5476
|
-
class: "mr-2",
|
|
5477
5478
|
size: "24px",
|
|
5478
5479
|
color: "inherit"
|
|
5479
5480
|
})) : _ctx.icon ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -5487,7 +5488,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
5487
5488
|
size: 24
|
|
5488
5489
|
}, null, 8, ["name"])
|
|
5489
5490
|
], 2)) : vue.createCommentVNode("", true),
|
|
5490
|
-
vue.
|
|
5491
|
+
_ctx.text ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$d, vue.toDisplayString(_ctx.text), 1)) : vue.createCommentVNode("", true)
|
|
5491
5492
|
]),
|
|
5492
5493
|
_: 1
|
|
5493
5494
|
}, 16, ["type", "disabled", "class"]))
|
|
@@ -5496,6 +5497,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
5496
5497
|
}
|
|
5497
5498
|
});
|
|
5498
5499
|
const _hoisted_1$f = ["aria-disabled"];
|
|
5500
|
+
const _hoisted_2$c = { key: 2 };
|
|
5499
5501
|
const elBase = "box-border appearance-none inline-flex items-center justify-center cursor-pointer select-none w-full 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";
|
|
5500
5502
|
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";
|
|
5501
5503
|
const iconFillClass = "fill-blue-500";
|
|
@@ -5533,14 +5535,15 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
5533
5535
|
};
|
|
5534
5536
|
const blockElClasses = vue.computed(() => props.block && "w-full justify-center");
|
|
5535
5537
|
const iconOrderClasses = vue.computed(
|
|
5536
|
-
() => props.icon && props.iconPos === "right" ? "order-2
|
|
5538
|
+
() => props.icon && props.iconPos === "right" ? "order-2" : ""
|
|
5537
5539
|
);
|
|
5538
5540
|
const buttonClasses = vue.computed(() => [
|
|
5539
5541
|
elBase,
|
|
5540
5542
|
sizeClasses[props.size || "m"],
|
|
5541
5543
|
variantClasses,
|
|
5542
5544
|
blockElClasses.value,
|
|
5543
|
-
props.textSelection && "select-text"
|
|
5545
|
+
props.textSelection && "select-text",
|
|
5546
|
+
(props.icon || props.text) && "gap-2"
|
|
5544
5547
|
]);
|
|
5545
5548
|
function onClick(ev) {
|
|
5546
5549
|
if (props.disabled || props.loading) {
|
|
@@ -5568,7 +5571,6 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
5568
5571
|
default: vue.withCtx(() => [
|
|
5569
5572
|
_ctx.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$r, {
|
|
5570
5573
|
key: 0,
|
|
5571
|
-
class: "mr-2",
|
|
5572
5574
|
size: "24px",
|
|
5573
5575
|
color: "inherit"
|
|
5574
5576
|
})) : _ctx.icon ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -5582,7 +5584,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
5582
5584
|
size: 24
|
|
5583
5585
|
}, null, 8, ["name"])
|
|
5584
5586
|
], 2)) : vue.createCommentVNode("", true),
|
|
5585
|
-
vue.
|
|
5587
|
+
_ctx.text ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$c, vue.toDisplayString(_ctx.text), 1)) : vue.createCommentVNode("", true)
|
|
5586
5588
|
]),
|
|
5587
5589
|
_: 1
|
|
5588
5590
|
}, 16, ["type", "disabled", "class"]))
|