@fkui/vue-labs 6.45.0 → 6.46.0

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.
@@ -2642,7 +2642,6 @@ var _hoisted_5 = {
2642
2642
  class: "sr-only"
2643
2643
  };
2644
2644
  var _hoisted_6 = { class: "filstorlek" };
2645
- var _hoisted_7 = ["aria-label"];
2646
2645
  var STATUS_HAR_INTE_VALT_FIL = 0, STATUS_HAR_VALT_FIL = 1, STATUS_MISSLYCKATS = 2;
2647
2646
  //#endregion
2648
2647
  //#region src/components/XFileDragdrop/XFileDragdrop.vue
@@ -2841,15 +2840,16 @@ var XFileDragdrop_default = /* @__PURE__ */ (0, vue.defineComponent)({
2841
2840
  _cache[2] || (_cache[2] = (0, vue.createTextVNode)()),
2842
2841
  (0, vue.createElementVNode)("span", _hoisted_6, (0, vue.toDisplayString)(filstorlek.value) + " KB", 1),
2843
2842
  _cache[3] || (_cache[3] = (0, vue.createTextVNode)()),
2844
- (0, vue.createElementVNode)("button", {
2845
- type: "button",
2846
- class: "button button--discrete file-item__file-remove",
2843
+ (0, vue.createVNode)((0, vue.unref)(_fkui_vue.FButton), {
2844
+ "data-test": "file-item__file-remove",
2845
+ "icon-left": "trashcan",
2846
+ variant: "tertiary",
2847
2847
  "aria-label": `Ta bort ${fileName.value}`,
2848
2848
  onClick: taBortFil
2849
- }, [(0, vue.createVNode)((0, vue.unref)(_fkui_vue.FIcon), {
2850
- name: "trashcan",
2851
- class: "button__icon"
2852
- }), _cache[1] || (_cache[1] = (0, vue.createTextVNode)("\n Ta bort\n ", -1))], 8, _hoisted_7)
2849
+ }, {
2850
+ default: (0, vue.withCtx)(() => [..._cache[1] || (_cache[1] = [(0, vue.createTextVNode)("\n Ta bort\n ", -1)])]),
2851
+ _: 1
2852
+ }, 8, ["aria-label"])
2853
2853
  ])]),
2854
2854
  _: 1
2855
2855
  }, 8, [