fds-vue-core 2.1.39 → 2.1.40

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.
@@ -393,13 +393,13 @@ const icons = {
393
393
  <path fill-rule="evenodd" clip-rule="evenodd" d="M12 2.5002C12.3316 2.49979 12.6474 2.64223 12.8665 2.89111L17.7834 8.48008C18.1066 8.86527 18.0632 9.43804 17.6857 9.77013C17.3081 10.1022 16.7345 10.0722 16.3937 9.70242L12.0942 4.81507C12.0704 4.78793 12.0361 4.77237 12 4.77237C11.9639 4.77237 11.9296 4.78793 11.9058 4.81507L7.6063 9.70242C7.26552 10.0722 6.6919 10.1022 6.31433 9.77013C5.93676 9.43804 5.89336 8.86527 6.21658 8.48008L11.132 2.89311C11.3515 2.64363 11.6677 2.50052 12 2.5002Z" />
394
394
  </svg>`,
395
395
  ascending: () => `
396
- <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
397
- <path fill-rule="evenodd" clip-rule="evenodd" d="M12 2.24947C12.3316 2.24906 12.6474 2.39149 12.8665 2.64038L17.7834 8.22935C18.1066 8.61454 18.0632 9.18731 17.6857 9.5194C17.3081 9.85148 16.7345 9.82142 16.3937 9.45168L12.0942 4.56434C12.0704 4.5372 12.0361 4.52164 12 4.52164C11.9639 4.52164 11.9296 4.5372 11.9058 4.56434L7.6063 9.45168C7.26552 9.82142 6.6919 9.85148 6.31433 9.5194C5.93676 9.18731 5.89336 8.61454 6.21658 8.22935L11.132 2.64238C11.3515 2.3929 11.6677 2.24978 12 2.24947Z" />
396
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24">
397
+ <path fill-rule="evenodd" d="M12 15.75c-.332 0-.647-.142-.867-.39L6.217 9.77a.926.926 0 0 1 1.39-1.222l4.299 4.888a.125.125 0 0 0 .188 0l4.3-4.888a.926.926 0 0 1 1.39 1.223l-4.916 5.587c-.22.25-.536.392-.868.393Z" clip-rule="evenodd"/>
398
398
  </svg>
399
399
  `,
400
400
  descending: () => `
401
- <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
402
- <path fill-rule="evenodd" clip-rule="evenodd" d="M12 21.7505C11.6684 21.7509 11.3526 21.6085 11.1335 21.3596L6.21658 15.7707C5.89336 15.3855 5.93676 14.8127 6.31433 14.4806C6.6919 14.1485 7.26552 14.1786 7.6063 14.5483L11.9058 19.4357C11.9296 19.4628 11.9639 19.4784 12 19.4784C12.0361 19.4784 12.0704 19.4628 12.0942 19.4357L16.3937 14.5483C16.7345 14.1786 17.3081 14.1485 17.6857 14.4806C18.0632 14.8127 18.1066 15.3855 17.7834 15.7707L12.868 21.3576C12.6485 21.6071 12.3323 21.7502 12 21.7505Z" />
401
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24">
402
+ <path fill-rule="evenodd" d="M12 8.25c.332 0 .647.141.867.39l4.916 5.59a.926.926 0 0 1-1.39 1.222l-4.299-4.888a.125.125 0 0 0-.188 0l-4.3 4.888a.926.926 0 0 1-1.39-1.223l4.916-5.587c.22-.25.536-.392.868-.393Z" clip-rule="evenodd"/>
403
403
  </svg>
404
404
  `,
405
405
  switchUser: () => `
@@ -633,9 +633,11 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
633
633
  }
634
634
  });
635
635
  const _hoisted_1$o = ["id"];
636
- const _hoisted_2$j = { class: "flex items-center gap-2" };
637
- const _hoisted_3$b = { class: "relative" };
638
- const _hoisted_4$a = {
636
+ const _hoisted_2$j = { class: "flex items-start gap-2" };
637
+ const _hoisted_3$b = { class: "h-7 flex items-center" };
638
+ const _hoisted_4$a = { class: "leading-7" };
639
+ const _hoisted_5$9 = { class: "relative h-7" };
640
+ const _hoisted_6$6 = {
639
641
  key: 1,
640
642
  class: "fds-block-alert-slot mb-0-last-child"
641
643
  };
@@ -694,27 +696,29 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
694
696
  vue.createElementVNode("div", null, [
695
697
  __props.label ? (vue.openBlock(), vue.createElementBlock("div", {
696
698
  key: 0,
697
- class: vue.normalizeClass(["font-bold w-full justify-between items-center h-[24px] flex gap-2", { "mb-4": (isExpanded.value || !__props.collapsable) && vue.unref(hasSlot) }])
699
+ class: vue.normalizeClass(["font-bold w-full justify-between items-start flex gap-2", { "mb-4": (isExpanded.value || !__props.collapsable) && vue.unref(hasSlot) }])
698
700
  }, [
699
701
  vue.createElementVNode("div", _hoisted_2$j, [
700
- vue.createVNode(_sfc_main$w, {
701
- name: "alert",
702
- size: 24,
703
- class: "fill-yellow-700"
704
- }),
705
- vue.createElementVNode("span", null, vue.toDisplayString(__props.label), 1)
702
+ vue.createElementVNode("div", _hoisted_3$b, [
703
+ vue.createVNode(_sfc_main$w, {
704
+ name: "alert",
705
+ size: 24,
706
+ class: "fill-yellow-700"
707
+ })
708
+ ]),
709
+ vue.createElementVNode("span", _hoisted_4$a, vue.toDisplayString(__props.label), 1)
706
710
  ]),
707
- vue.createElementVNode("div", _hoisted_3$b, [
711
+ vue.createElementVNode("div", _hoisted_5$9, [
708
712
  __props.closeable ? (vue.openBlock(), vue.createBlock(_sfc_main$v, vue.mergeProps({
709
713
  key: 0,
710
714
  icon: "cross",
711
- size: 24,
715
+ size: 28,
712
716
  onClick: handleClose
713
717
  }, { "aria-label": closeLabel.value }, { class: ["fill-gray-900! hover:bg-gray-100 active:bg-gray-200"] }), null, 16)) : vue.createCommentVNode("", true),
714
718
  __props.collapsable ? (vue.openBlock(), vue.createBlock(_sfc_main$v, vue.mergeProps({
715
719
  key: 1,
716
720
  icon: "arrowDown",
717
- size: 24,
721
+ size: 28,
718
722
  onClick: handleToggle
719
723
  }, { "aria-label": isExpanded.value ? collapseLabel.value : expandLabel.value }, {
720
724
  class: [
@@ -725,7 +729,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
725
729
  }), null, 16, ["class"])) : vue.createCommentVNode("", true)
726
730
  ])
727
731
  ], 2)) : vue.createCommentVNode("", true),
728
- isExpanded.value || !__props.collapsable ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$a, [
732
+ isExpanded.value || !__props.collapsable ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$6, [
729
733
  vue.renderSlot(_ctx.$slots, "default")
730
734
  ])) : vue.createCommentVNode("", true)
731
735
  ])
@@ -7845,8 +7849,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
7845
7849
  };
7846
7850
  });
7847
7851
  const clearButtonLabel = vue.computed(() => props.locale === "sv" ? "Rensa input" : "Clear input");
7848
- const passwordButtonShowLabel = vue.computed(() => props.locale === "sv" ? "Visa lösenord" : "Show password");
7849
- const passwordButtonHideLabel = vue.computed(() => props.locale === "sv" ? "Dölj lösenord" : "Hide password");
7852
+ const passwordButtonShowLabel = vue.computed(() => props.locale === "sv" ? "Visa" : "Show");
7853
+ const passwordButtonHideLabel = vue.computed(() => props.locale === "sv" ? "Dölj" : "Hide");
7850
7854
  const showInvalidMessage = vue.computed(() => props.valid === false && !props.optional && props.invalidMessage);
7851
7855
  const isInvalid = vue.computed(() => props.valid === false && !props.optional && !disabled.value);
7852
7856
  const isValid = vue.computed(() => props.valid === true);