@frollo/frollo-web-ui 1.2.4 → 1.2.6

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/cjs/index.js CHANGED
@@ -4738,8 +4738,8 @@ var _hoisted_2$F = {
4738
4738
  var _hoisted_3$D = {
4739
4739
  "class": "flex flex-row justify-between"
4740
4740
  };
4741
- var _hoisted_4$d = ["for"];
4742
- var _hoisted_5$8 = {
4741
+ var _hoisted_4$c = ["for"];
4742
+ var _hoisted_5$7 = {
4743
4743
  key: 1
4744
4744
  };
4745
4745
  var _hoisted_6$5 = {
@@ -4763,7 +4763,7 @@ var _hoisted_9$4 = /*#__PURE__*/vue.createElementVNode("svg", {
4763
4763
  })], -1);
4764
4764
 
4765
4765
  var _hoisted_10$4 = [_hoisted_9$4];
4766
- var _hoisted_11$2 = {
4766
+ var _hoisted_11$1 = {
4767
4767
  key: 1,
4768
4768
  "class": "flex text-black absolute w-10 h-full inset-y-0 right-0 items-center pr-3"
4769
4769
  };
@@ -4797,7 +4797,7 @@ function render$K(_ctx, _cache, $props, $setup, $data, $options) {
4797
4797
  key: 0,
4798
4798
  "for": _ctx.name,
4799
4799
  "class": "block mb-2 font-medium"
4800
- }, vue.toDisplayString(_ctx.label), 9, _hoisted_4$d)) : vue.createCommentVNode("", true), _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, [vue.renderSlot(_ctx.$slots, "action")])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_6$5, [_ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$5, [vue.renderSlot(_ctx.$slots, "prefix")])) : vue.createCommentVNode("", true), vue.createElementVNode("input", vue.mergeProps(field, {
4800
+ }, vue.toDisplayString(_ctx.label), 9, _hoisted_4$c)) : vue.createCommentVNode("", true), _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$7, [vue.renderSlot(_ctx.$slots, "action")])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_6$5, [_ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$5, [vue.renderSlot(_ctx.$slots, "prefix")])) : vue.createCommentVNode("", true), vue.createElementVNode("input", vue.mergeProps(field, {
4801
4801
  placeholder: _ctx.placeholder,
4802
4802
  type: _ctx.type,
4803
4803
  readonly: _ctx.readonly,
@@ -4818,7 +4818,7 @@ function render$K(_ctx, _cache, $props, $setup, $data, $options) {
4818
4818
  }, _hoisted_10$4, 2)) : vue.createCommentVNode("", true)];
4819
4819
  }),
4820
4820
  _: 2
4821
- }, 1024), _ctx.$slots.suffix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$2, [vue.renderSlot(_ctx.$slots, "suffix")])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_12, [vue.createVNode(vue.Transition, {
4821
+ }, 1024), _ctx.$slots.suffix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$1, [vue.renderSlot(_ctx.$slots, "suffix")])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_12, [vue.createVNode(vue.Transition, {
4822
4822
  name: "fwFadeIn",
4823
4823
  mode: "out-in"
4824
4824
  }, {
@@ -4903,8 +4903,8 @@ var _hoisted_2$E = {
4903
4903
  "class": "flex flex-col"
4904
4904
  };
4905
4905
  var _hoisted_3$C = ["for"];
4906
- var _hoisted_4$c = ["value", "name"];
4907
- var _hoisted_5$7 = ["innerHTML"];
4906
+ var _hoisted_4$b = ["value", "name"];
4907
+ var _hoisted_5$6 = ["innerHTML"];
4908
4908
  var _hoisted_6$4 = {
4909
4909
  "class": "italic text-sm font-medium min-h-[21px]"
4910
4910
  };
@@ -4937,11 +4937,11 @@ function render$J(_ctx, _cache, $props, $setup, $data, $options) {
4937
4937
  name: _ctx.name,
4938
4938
  type: "checkbox",
4939
4939
  "class": "text-link w-6 h-6 cursor-pointer bg-white border-grey-light border rounded"
4940
- }), null, 16, _hoisted_4$c), _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
4940
+ }), null, 16, _hoisted_4$b), _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
4941
4941
  key: 0,
4942
4942
  "class": "ml-2",
4943
4943
  innerHTML: _ctx.label
4944
- }, null, 8, _hoisted_5$7)) : vue.createCommentVNode("", true)], 8, _hoisted_3$C), vue.createElementVNode("div", _hoisted_6$4, [vue.createVNode(vue.Transition, {
4944
+ }, null, 8, _hoisted_5$6)) : vue.createCommentVNode("", true)], 8, _hoisted_3$C), vue.createElementVNode("div", _hoisted_6$4, [vue.createVNode(vue.Transition, {
4945
4945
  name: "fwFadeIn",
4946
4946
  mode: "out-in"
4947
4947
  }, {
@@ -5031,13 +5031,13 @@ function render$F(_ctx, _cache) {
5031
5031
  };
5032
5032
  const _hoisted_2$z = /*#__PURE__*/vue.createElementVNode("path", { d: "M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z" }, null, -1);
5033
5033
  const _hoisted_3$x = /*#__PURE__*/vue.createElementVNode("path", { d: "M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z" }, null, -1);
5034
- const _hoisted_4$b = [
5034
+ const _hoisted_4$a = [
5035
5035
  _hoisted_2$z,
5036
5036
  _hoisted_3$x
5037
5037
  ];
5038
5038
 
5039
5039
  function render$E(_ctx, _cache) {
5040
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$D, _hoisted_4$b))
5040
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$D, _hoisted_4$a))
5041
5041
  }const _hoisted_1$C = {
5042
5042
  viewBox: "0 0 24 24",
5043
5043
  fill: "currentColor",
@@ -5069,13 +5069,13 @@ function render$C(_ctx, _cache) {
5069
5069
  };
5070
5070
  const _hoisted_2$w = /*#__PURE__*/vue.createElementVNode("path", { d: "M609.608 315.426a19.767 19.767 0 000-18.853c-58.464-107.643-172.5-180.72-303.607-180.72S60.857 188.931 2.393 296.573a19.767 19.767 0 000 18.853C60.858 423.069 174.892 496.147 306 496.147s245.143-73.078 303.608-180.721zM306 451.855c-80.554 0-145.855-65.302-145.855-145.855S225.446 160.144 306 160.144 451.856 225.446 451.856 306 386.554 451.855 306 451.855z" }, null, -1);
5071
5071
  const _hoisted_3$u = /*#__PURE__*/vue.createElementVNode("path", { d: "M306 231.67c-6.136 0-12.095.749-17.798 2.15 5.841 6.76 9.383 15.563 9.383 25.198 0 21.3-17.267 38.568-38.568 38.568-9.635 0-18.438-3.541-25.198-9.383a74.513 74.513 0 00-2.15 17.798c0 41.052 33.279 74.33 74.33 74.33s74.33-33.279 74.33-74.33S347.052 231.67 306 231.67z" }, null, -1);
5072
- const _hoisted_4$a = [
5072
+ const _hoisted_4$9 = [
5073
5073
  _hoisted_2$w,
5074
5074
  _hoisted_3$u
5075
5075
  ];
5076
5076
 
5077
5077
  function render$B(_ctx, _cache) {
5078
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$A, _hoisted_4$a))
5078
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$A, _hoisted_4$9))
5079
5079
  }const _hoisted_1$z = {
5080
5080
  fill: "currentColor",
5081
5081
  xmlns: "http://www.w3.org/2000/svg",
@@ -5095,13 +5095,13 @@ function render$A(_ctx, _cache) {
5095
5095
  };
5096
5096
  const _hoisted_2$u = /*#__PURE__*/vue.createElementVNode("path", { d: "M16 13h-4.172l-1.414 1.414A1.99 1.99 0 019 15a1.986 1.986 0 01-1.414-.586L6.172 13H2a1 1 0 00-1 1v3a1 1 0 001 1h14a1 1 0 001-1v-3c0-.553-.447-1-1-1zm-1.5 3.25a.752.752 0 01-.75-.75c0-.412.338-.75.75-.75s.75.338.75.75-.338.75-.75.75z" }, null, -1);
5097
5097
  const _hoisted_3$s = /*#__PURE__*/vue.createElementVNode("path", { d: "M4.293 8.706a1 1 0 011.414-1.414l2.292 2.296V2a1 1 0 012 0v7.588l2.293-2.294a1 1 0 111.414 1.414l-4 4A.997.997 0 019 13a.995.995 0 01-.707-.293l-4-4z" }, null, -1);
5098
- const _hoisted_4$9 = [
5098
+ const _hoisted_4$8 = [
5099
5099
  _hoisted_2$u,
5100
5100
  _hoisted_3$s
5101
5101
  ];
5102
5102
 
5103
5103
  function render$z(_ctx, _cache) {
5104
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$y, _hoisted_4$9))
5104
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$y, _hoisted_4$8))
5105
5105
  }const _hoisted_1$x = {
5106
5106
  fill: "currentColor",
5107
5107
  xmlns: "http://www.w3.org/2000/svg",
@@ -5439,10 +5439,10 @@ var _hoisted_2$d = {
5439
5439
  "class": "block mb-2 font-medium text-left"
5440
5440
  };
5441
5441
  var _hoisted_3$b = ["id", "aria-expanded"];
5442
- var _hoisted_4$8 = {
5442
+ var _hoisted_4$7 = {
5443
5443
  key: 0
5444
5444
  };
5445
- var _hoisted_5$6 = {
5445
+ var _hoisted_5$5 = {
5446
5446
  key: 1,
5447
5447
  "class": "text-grey-base"
5448
5448
  };
@@ -5472,7 +5472,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
5472
5472
  id: "".concat(_ctx.name, "-fw-dropdown--button"),
5473
5473
  "aria-expanded": _ctx.isOpen,
5474
5474
  "aria-haspopup": "true"
5475
- }, [(_ctx$selectedOption = _ctx.selectedOption) !== null && _ctx$selectedOption !== void 0 && _ctx$selectedOption.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$8, vue.toDisplayString((_ctx$selectedOption2 = _ctx.selectedOption) === null || _ctx$selectedOption2 === void 0 ? void 0 : _ctx$selectedOption2.label), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$6, vue.toDisplayString(_ctx.placeholder), 1)), vue.createVNode(_component_ChevronDownSvg, {
5475
+ }, [(_ctx$selectedOption = _ctx.selectedOption) !== null && _ctx$selectedOption !== void 0 && _ctx$selectedOption.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$7, vue.toDisplayString((_ctx$selectedOption2 = _ctx.selectedOption) === null || _ctx$selectedOption2 === void 0 ? void 0 : _ctx$selectedOption2.label), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$5, vue.toDisplayString(_ctx.placeholder), 1)), vue.createVNode(_component_ChevronDownSvg, {
5476
5476
  "class": vue.normalizeClass(["w-6 text-primary transition-transform duration-300", _ctx.isOpen ? 'rotate-180' : ''])
5477
5477
  }, null, 8, ["class"])], 10, _hoisted_3$b), vue.createVNode(vue.Transition, {
5478
5478
  name: "slideUpDown"
@@ -5834,6 +5834,14 @@ styleInject(css_248z$8);script$e.render = render$g;var script$d = vue.defineComp
5834
5834
  */
5835
5835
  actionLabel: {
5836
5836
  type: String
5837
+ },
5838
+
5839
+ /**
5840
+ * The class for the container wrapper.
5841
+ */
5842
+ containerClass: {
5843
+ type: String,
5844
+ "default": 'max-w-6xl'
5837
5845
  }
5838
5846
  },
5839
5847
  setup: function setup(_props, ctx) {
@@ -5860,32 +5868,29 @@ styleInject(css_248z$8);script$e.render = render$g;var script$d = vue.defineComp
5860
5868
  "class": "fw-nav-menu relative z-50 h-20 shadow-md"
5861
5869
  };
5862
5870
  var _hoisted_2$b = {
5863
- "class": "px-6 flex-1 h-full flex bg-white items-stretch justify-between max-w-6xl mx-auto"
5864
- };
5865
- var _hoisted_3$9 = {
5866
5871
  key: 0,
5867
5872
  "class": "flex-shrink-0 flex items-center"
5868
5873
  };
5869
- var _hoisted_4$7 = {
5874
+ var _hoisted_3$9 = {
5870
5875
  key: 1,
5871
5876
  "class": "container hidden sm:flex items-center justify-start sm:ml-6"
5872
5877
  };
5873
- var _hoisted_5$5 = {
5878
+ var _hoisted_4$6 = {
5874
5879
  "class": "flex space-x-2"
5875
5880
  };
5876
- var _hoisted_6$2 = {
5881
+ var _hoisted_5$4 = {
5877
5882
  key: 2,
5878
5883
  "class": "hidden sm:flex items-center justify-start sm:ml-6"
5879
5884
  };
5880
- var _hoisted_7$2 = {
5885
+ var _hoisted_6$2 = {
5881
5886
  "class": "flex items-center sm:hidden"
5882
5887
  };
5883
5888
 
5884
- var _hoisted_8$2 = /*#__PURE__*/vue.createElementVNode("span", {
5889
+ var _hoisted_7$2 = /*#__PURE__*/vue.createElementVNode("span", {
5885
5890
  "class": "sr-only"
5886
5891
  }, "Open main menu", -1);
5887
5892
 
5888
- var _hoisted_9$2 = {
5893
+ var _hoisted_8$2 = {
5889
5894
  "class": "block h-6 w-6",
5890
5895
  xmlns: "http://www.w3.org/2000/svg",
5891
5896
  fill: "none",
@@ -5893,8 +5898,8 @@ var _hoisted_9$2 = {
5893
5898
  stroke: "currentColor",
5894
5899
  "aria-hidden": "true"
5895
5900
  };
5896
- var _hoisted_10$2 = ["d"];
5897
- var _hoisted_11$1 = {
5901
+ var _hoisted_9$2 = ["d"];
5902
+ var _hoisted_10$2 = {
5898
5903
  "class": "w-full flex flex-col space-y-1"
5899
5904
  };
5900
5905
  function render$f(_ctx, _cache, $props, $setup, $data, $options) {
@@ -5902,7 +5907,9 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
5902
5907
 
5903
5908
  var _component_FwButton = vue.resolveComponent("FwButton");
5904
5909
 
5905
- return vue.openBlock(), vue.createElementBlock("nav", _hoisted_1$e, [vue.createElementVNode("div", _hoisted_2$b, [_ctx.$slots.logo ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$9, [vue.renderSlot(_ctx.$slots, "logo")])) : vue.createCommentVNode("", true), _ctx.menuItems && ((_ctx$menuItems = _ctx.menuItems) === null || _ctx$menuItems === void 0 ? void 0 : _ctx$menuItems.length) > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$7, [vue.createElementVNode("div", _hoisted_5$5, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, function (item, i) {
5910
+ return vue.openBlock(), vue.createElementBlock("nav", _hoisted_1$e, [vue.createElementVNode("div", {
5911
+ "class": vue.normalizeClass(["px-6 flex-1 h-full flex bg-white items-stretch justify-between mx-auto", _ctx.containerClass])
5912
+ }, [_ctx.$slots.logo ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$b, [vue.renderSlot(_ctx.$slots, "logo")])) : vue.createCommentVNode("", true), _ctx.menuItems && ((_ctx$menuItems = _ctx.menuItems) === null || _ctx$menuItems === void 0 ? void 0 : _ctx$menuItems.length) > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$9, [vue.createElementVNode("div", _hoisted_4$6, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, function (item, i) {
5906
5913
  return vue.openBlock(), vue.createBlock(_component_FwButton, {
5907
5914
  key: i,
5908
5915
  variant: "text",
@@ -5916,7 +5923,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
5916
5923
  }),
5917
5924
  _: 2
5918
5925
  }, 1032, ["href", "to"]);
5919
- }), 128))])])) : vue.createCommentVNode("", true), _ctx.actionLabel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$2, [vue.createVNode(_component_FwButton, {
5926
+ }), 128))])])) : vue.createCommentVNode("", true), _ctx.actionLabel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [vue.createVNode(_component_FwButton, {
5920
5927
  onClick: _ctx.actionClicked,
5921
5928
  size: "md",
5922
5929
  "aria-label": _ctx.actionLabel
@@ -5925,28 +5932,28 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
5925
5932
  return [vue.createTextVNode(vue.toDisplayString(_ctx.actionLabel), 1)];
5926
5933
  }),
5927
5934
  _: 1
5928
- }, 8, ["onClick", "aria-label"])])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_7$2, [vue.createVNode(_component_FwButton, {
5935
+ }, 8, ["onClick", "aria-label"])])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_6$2, [vue.createVNode(_component_FwButton, {
5929
5936
  variant: "text",
5930
5937
  size: "sm",
5931
5938
  onClick: _ctx.toggleMobileMenu
5932
5939
  }, {
5933
5940
  "default": vue.withCtx(function () {
5934
- return [_hoisted_8$2, (vue.openBlock(), vue.createElementBlock("svg", _hoisted_9$2, [vue.createElementVNode("path", {
5941
+ return [_hoisted_7$2, (vue.openBlock(), vue.createElementBlock("svg", _hoisted_8$2, [vue.createElementVNode("path", {
5935
5942
  "stroke-linecap": "round",
5936
5943
  "stroke-linejoin": "round",
5937
5944
  "stroke-width": "2",
5938
5945
  d: _ctx.isMobileMenuOpen ? 'M6 18L18 6M6 6l12 12' : 'M4 6h16M4 12h16M4 18h16'
5939
- }, null, 8, _hoisted_10$2)]))];
5946
+ }, null, 8, _hoisted_9$2)]))];
5940
5947
  }),
5941
5948
  _: 1
5942
- }, 8, ["onClick"])])]), vue.createVNode(vue.Transition, {
5949
+ }, 8, ["onClick"])])], 2), vue.createVNode(vue.Transition, {
5943
5950
  name: "slideInLeft"
5944
5951
  }, {
5945
5952
  "default": vue.withCtx(function () {
5946
5953
  return [_ctx.menuItems && _ctx.menuItems.length > 0 && _ctx.isMobileMenuOpen ? (vue.openBlock(), vue.createElementBlock("div", {
5947
5954
  key: 0,
5948
5955
  "class": vue.normalizeClass(["fw-nav-menu--mobile", _ctx.mobileMenuClass])
5949
- }, [vue.createElementVNode("div", _hoisted_11$1, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, function (item, i) {
5956
+ }, [vue.createElementVNode("div", _hoisted_10$2, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, function (item, i) {
5950
5957
  return vue.openBlock(), vue.createBlock(_component_FwButton, {
5951
5958
  key: i,
5952
5959
  "class": "w-full rounded-md",
@@ -6634,8 +6641,8 @@ var _hoisted_2$9 = {
6634
6641
  var _hoisted_3$7 = {
6635
6642
  "class": "fw-modal--wrapper text-center overflow-auto flex justify-center items-center h-full"
6636
6643
  };
6637
- var _hoisted_4$6 = ["role", "aria-labelledby", "aria-describedby"];
6638
- var _hoisted_5$4 = {
6644
+ var _hoisted_4$5 = ["role", "aria-labelledby", "aria-describedby"];
6645
+ var _hoisted_5$3 = {
6639
6646
  key: 0,
6640
6647
  "class": "fw-modal--header text-center"
6641
6648
  };
@@ -6666,7 +6673,7 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
6666
6673
  "class": "fw-modal--container p-12 m-8 inline-block w-full max-w-[540px] bg-white rounded-2xl shadow",
6667
6674
  "aria-labelledby": _ctx.$slots.header || _ctx.header ? "modal_".concat(_ctx.uuid, "_header") : undefined,
6668
6675
  "aria-describedby": _ctx.$slots.body ? "modal_".concat(_ctx.uuid, "_body") : undefined
6669
- }, [_ctx.$slots.icon || _ctx.$slots.header || _ctx.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [_ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$1, [vue.renderSlot(_ctx.$slots, "icon")])) : vue.createCommentVNode("", true), _ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("h2", {
6676
+ }, [_ctx.$slots.icon || _ctx.$slots.header || _ctx.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$3, [_ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$1, [vue.renderSlot(_ctx.$slots, "icon")])) : vue.createCommentVNode("", true), _ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("h2", {
6670
6677
  key: 1,
6671
6678
  id: "modal_".concat(_ctx.uuid, "_header")
6672
6679
  }, [vue.renderSlot(_ctx.$slots, "header")], 8, _hoisted_7$1)) : _ctx.header ? (vue.openBlock(), vue.createElementBlock("h2", {
@@ -6708,7 +6715,7 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
6708
6715
  return [vue.createTextVNode(vue.toDisplayString(_ctx.confirmButtonText), 1)];
6709
6716
  }),
6710
6717
  _: 1
6711
- }, 8, ["variant", "aria-label"])) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true)], 8, _hoisted_4$6)])])])];
6718
+ }, 8, ["variant", "aria-label"])) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true)], 8, _hoisted_4$5)])])])];
6712
6719
  }),
6713
6720
  _: 3
6714
6721
  });
@@ -6773,11 +6780,11 @@ var _hoisted_3$6 = {
6773
6780
  key: 1,
6774
6781
  "class": "text-base font-semibold text-center w-full"
6775
6782
  };
6776
- var _hoisted_4$5 = {
6783
+ var _hoisted_4$4 = {
6777
6784
  key: 0,
6778
6785
  "class": "w-full flex items-start mt-[13px] mx-[-15px]"
6779
6786
  };
6780
- var _hoisted_5$3 = {
6787
+ var _hoisted_5$2 = {
6781
6788
  "class": "w-full bg-grey-40 rounded flex-1"
6782
6789
  };
6783
6790
  function render$b(_ctx, _cache, $props, $setup, $data, $options) {
@@ -6799,7 +6806,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
6799
6806
  'font-bold': step.position === _ctx.activeStep,
6800
6807
  'text-body': step.position > _ctx.activeStep
6801
6808
  }])
6802
- }, vue.toDisplayString(step.label), 3)], 2), step.position !== _ctx.steps.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$5, [vue.createElementVNode("div", _hoisted_5$3, [vue.createElementVNode("div", {
6809
+ }, vue.toDisplayString(step.label), 3)], 2), step.position !== _ctx.steps.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$4, [vue.createElementVNode("div", _hoisted_5$2, [vue.createElementVNode("div", {
6803
6810
  "class": "bg-primary text-xs leading-none py-0.5 text-center rounded transition-all",
6804
6811
  style: vue.normalizeStyle(step.position < _ctx.activeStep ? 'width:100%;' : _ctx.calculatedProgressBar(step))
6805
6812
  }, null, 4)])])) : vue.createCommentVNode("", true)], 2);
@@ -7081,7 +7088,7 @@ $$4({ target: 'Array', proto: true, forced: FORCED }, {
7081
7088
  });var script$7 = vue.defineComponent({
7082
7089
  name: 'FwLoadingBar'
7083
7090
  });var _hoisted_1$9 = {
7084
- "class": "fw-loading-bar rounded shadow-md",
7091
+ "class": "fw-loading-bar rounded",
7085
7092
  "aria-hidden": "true"
7086
7093
  };
7087
7094
  function render$9(_ctx, _cache, $props, $setup, $data, $options) {
@@ -7207,10 +7214,10 @@ var _hoisted_2$7 = ["tabindex", "onKeydown", "onClick"];
7207
7214
  var _hoisted_3$5 = {
7208
7215
  "class": "flex flex-row items-center space-x-1"
7209
7216
  };
7210
- var _hoisted_4$4 = {
7217
+ var _hoisted_4$3 = {
7211
7218
  "class": "w-full"
7212
7219
  };
7213
- var _hoisted_5$2 = {
7220
+ var _hoisted_5$1 = {
7214
7221
  key: 0
7215
7222
  };
7216
7223
  var _hoisted_6 = {
@@ -7248,7 +7255,7 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
7248
7255
  onClick: function onClick($event) {
7249
7256
  return _ctx.sortColumn(column);
7250
7257
  }
7251
- }, [vue.createElementVNode("div", _hoisted_3$5, [vue.createElementVNode("span", _hoisted_4$4, vue.toDisplayString(column), 1), _ctx.isColumnSortable(column) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$2, [vue.createElementVNode("span", _hoisted_6, [vue.createVNode(_component_CaretDownSvg, {
7258
+ }, [vue.createElementVNode("div", _hoisted_3$5, [vue.createElementVNode("span", _hoisted_4$3, vue.toDisplayString(column), 1), _ctx.isColumnSortable(column) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$1, [vue.createElementVNode("span", _hoisted_6, [vue.createVNode(_component_CaretDownSvg, {
7252
7259
  "class": vue.normalizeClass(["inline-block w-[12px] rotate-180", _ctx.sortedIcon('asc', column)])
7253
7260
  }, null, 8, ["class"]), vue.createVNode(_component_CaretDownSvg, {
7254
7261
  "class": vue.normalizeClass(["inline-block w-[12px] mt-[2px]", _ctx.sortedIcon('desc', column)])
@@ -7366,10 +7373,10 @@ var _hoisted_2$5 = {
7366
7373
  var _hoisted_3$3 = {
7367
7374
  "class": "flex flex-row items-center"
7368
7375
  };
7369
- var _hoisted_4$3 = {
7376
+ var _hoisted_4$2 = {
7370
7377
  "class": "h4 mb-0 ml-6"
7371
7378
  };
7372
- var _hoisted_5$1 = {
7379
+ var _hoisted_5 = {
7373
7380
  key: 0,
7374
7381
  "class": "h4"
7375
7382
  };
@@ -7381,7 +7388,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
7381
7388
  "class": "fw-accordion--header px-8 py-4 bg-grey-lightest w-full border-opacity-0 hover:bg-grey-20"
7382
7389
  }, [vue.createElementVNode("div", _hoisted_2$5, [vue.createElementVNode("div", _hoisted_3$3, [vue.createElementVNode("span", {
7383
7390
  "class": vue.normalizeClass(["fw-accordion--icon", _ctx.isOpen ? 'fw-accordion--icon-open' : ''])
7384
- }, null, 2), vue.createElementVNode("span", _hoisted_4$3, vue.toDisplayString(_ctx.title), 1)]), _ctx.suffixTitle ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$1, vue.toDisplayString(_ctx.suffixTitle), 1)) : vue.createCommentVNode("", true)])]), vue.createVNode(vue.Transition, {
7391
+ }, null, 2), vue.createElementVNode("span", _hoisted_4$2, vue.toDisplayString(_ctx.title), 1)]), _ctx.suffixTitle ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, vue.toDisplayString(_ctx.suffixTitle), 1)) : vue.createCommentVNode("", true)])]), vue.createVNode(vue.Transition, {
7385
7392
  name: "slideInOut",
7386
7393
  onBeforeEnter: _ctx.transitionEnter,
7387
7394
  onEnter: _ctx.transitionEnter,
@@ -7937,7 +7944,7 @@ $({ global: true, bind: true, forced: global$1.setTimeout !== setTimeout$1 }, {
7937
7944
  var createObserver = function createObserver() {
7938
7945
  var options = {
7939
7946
  root: null,
7940
- threshold: Number(el.getAttribute('threshold')) || 0.01
7947
+ threshold: Number(el.getAttribute('threshold')) || 0
7941
7948
  };
7942
7949
  var observer = new IntersectionObserver(handleIntersect, options);
7943
7950
  observer.observe(el);
@@ -7978,6 +7985,29 @@ $({ global: true, bind: true, forced: global$1.setTimeout !== setTimeout$1 }, {
7978
7985
  validator: function validator(value) {
7979
7986
  return ['native', 'background'].includes(value);
7980
7987
  }
7988
+ },
7989
+
7990
+ /**
7991
+ * Whether the loading bar and error state are rounded.
7992
+ */
7993
+ rounded: {
7994
+ type: Boolean,
7995
+ "default": false
7996
+ },
7997
+
7998
+ /**
7999
+ * The class for the native image element
8000
+ */
8001
+ imageClass: {
8002
+ type: String
8003
+ },
8004
+
8005
+ /**
8006
+ * Controls the threshold before the component triggers the src url.
8007
+ */
8008
+ threshold: {
8009
+ type: Number,
8010
+ "default": 0
7981
8011
  }
7982
8012
  },
7983
8013
  setup: function setup(props) {
@@ -7990,17 +8020,11 @@ $({ global: true, bind: true, forced: global$1.setTimeout !== setTimeout$1 }, {
7990
8020
  isBackground: isBackground
7991
8021
  };
7992
8022
  }
7993
- });var _hoisted_1$4 = ["type"];
8023
+ });var _hoisted_1$4 = ["type", "threshold"];
7994
8024
  var _hoisted_2$4 = ["data-url", "alt"];
7995
8025
  var _hoisted_3$2 = {
7996
- "class": "fw-image--error bg-grey-20"
7997
- };
7998
- var _hoisted_4$2 = {
7999
8026
  "class": "fw-image--error-wrapper flex flex-col items-center justify-center"
8000
8027
  };
8001
-
8002
- var _hoisted_5 = /*#__PURE__*/vue.createElementVNode("p", null, "Image failed to load", -1);
8003
-
8004
8028
  function render$4(_ctx, _cache, $props, $setup, $data, $options) {
8005
8029
  var _component_FwLoadingBar = vue.resolveComponent("FwLoadingBar");
8006
8030
 
@@ -8011,8 +8035,10 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
8011
8035
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
8012
8036
  ref: "fwImageRef",
8013
8037
  type: _ctx.type,
8038
+ threshold: _ctx.threshold,
8014
8039
  "class": vue.normalizeClass(["fw-image", {
8015
- 'fw-image--background': _ctx.isBackground
8040
+ 'fw-image--background': _ctx.isBackground,
8041
+ 'rounded-full': _ctx.rounded
8016
8042
  }]),
8017
8043
  onClick: _cache[0] || (_cache[0] = function ($event) {
8018
8044
  return _ctx.$emit('click', $event);
@@ -8034,14 +8060,21 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
8034
8060
  })
8035
8061
  }, [vue.createElementVNode("img", {
8036
8062
  "data-url": _ctx.src,
8037
- alt: _ctx.alt
8038
- }, null, 8, _hoisted_2$4), vue.createVNode(_component_FwLoadingBar, {
8039
- "class": "fw-image--loading w-full h-full"
8040
- }), vue.createElementVNode("div", _hoisted_3$2, [vue.createElementVNode("div", _hoisted_4$2, [vue.createVNode(_component_FileExclamationSvg, {
8041
- "class": "w-10 h-10 text-alert mb-2"
8042
- }), _hoisted_5])]), vue.renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$4)), [[_directive_lazyload]]);
8043
- }var css_248z$2 = ".fw-image{position:relative}.fw-image img,.fw-image--error{opacity:0;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;visibility:hidden;width:100%}.fw-image--error{height:100%;left:0;position:relative;position:absolute;top:0}.fw-image--error-wrapper{font-size:20px;left:50%;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%}.fw-image--error-wrapper p{font-size:16px}.fw-image--loading{height:100%;left:0;position:absolute!important;top:0;width:100%}.fw-image--loaded img,.fw-image--loading{opacity:1;visibility:visible}.fw-image--loaded .fw-image--loading,.fw-image--loaded img,.fw-image--loading{-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.fw-image--loaded .fw-image--loading{opacity:0;visibility:hidden;width:100%}.fw-image--loaded-error img{display:none}.fw-image--loaded-error .fw-image--error{opacity:1;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;visibility:visible}.fw-image--background{background-position:50%;background-repeat:no-repeat;background-size:cover}";
8044
- var stylesheet$2 = ".fw-image{position:relative}.fw-image img,.fw-image--error{opacity:0;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;visibility:hidden;width:100%}.fw-image--error{height:100%;left:0;position:relative;position:absolute;top:0}.fw-image--error-wrapper{font-size:20px;left:50%;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%}.fw-image--error-wrapper p{font-size:16px}.fw-image--loading{height:100%;left:0;position:absolute!important;top:0;width:100%}.fw-image--loaded img,.fw-image--loading{opacity:1;visibility:visible}.fw-image--loaded .fw-image--loading,.fw-image--loaded img,.fw-image--loading{-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.fw-image--loaded .fw-image--loading{opacity:0;visibility:hidden;width:100%}.fw-image--loaded-error img{display:none}.fw-image--loaded-error .fw-image--error{opacity:1;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;visibility:visible}.fw-image--background{background-position:50%;background-repeat:no-repeat;background-size:cover}";
8063
+ alt: _ctx.alt,
8064
+ "class": vue.normalizeClass(_ctx.imageClass)
8065
+ }, null, 10, _hoisted_2$4), vue.createVNode(_component_FwLoadingBar, {
8066
+ "class": vue.normalizeClass(["fw-image--loading w-full h-full", {
8067
+ 'rounded-full': _ctx.rounded
8068
+ }])
8069
+ }, null, 8, ["class"]), vue.createElementVNode("div", {
8070
+ "class": vue.normalizeClass(["fw-image--error bg-grey-20", {
8071
+ 'rounded-full': _ctx.rounded
8072
+ }])
8073
+ }, [vue.createElementVNode("div", _hoisted_3$2, [vue.createVNode(_component_FileExclamationSvg, {
8074
+ "class": "w-full h-full scale-[0.3] opacity-80 text-alert max-w-[150px]"
8075
+ })])], 2), vue.renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$4)), [[_directive_lazyload]]);
8076
+ }var css_248z$2 = ".fw-image{position:relative}.fw-image img{-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.fw-image img,.fw-image--error{opacity:0;visibility:hidden;width:100%}.fw-image--error{height:100%;left:0;position:relative;position:absolute;top:0;-webkit-transition:all .5s ease-in;-o-transition:all .5s ease-in;transition:all .5s ease-in}.fw-image--error-wrapper{font-size:inherit;left:50%;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%}.fw-image--loading{height:100%;left:0;position:absolute!important;top:0;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;width:100%}.fw-image--loaded img,.fw-image--loading{opacity:1;visibility:visible}.fw-image--loaded .fw-image--loading{opacity:0;visibility:hidden;width:100%}.fw-image--loaded-error img{display:none}.fw-image--loaded-error .fw-image--error{opacity:1;visibility:visible}.fw-image--background{background-position:50%;background-repeat:no-repeat;background-size:cover}";
8077
+ var stylesheet$2 = ".fw-image{position:relative}.fw-image img{-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.fw-image img,.fw-image--error{opacity:0;visibility:hidden;width:100%}.fw-image--error{height:100%;left:0;position:relative;position:absolute;top:0;-webkit-transition:all .5s ease-in;-o-transition:all .5s ease-in;transition:all .5s ease-in}.fw-image--error-wrapper{font-size:inherit;left:50%;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%}.fw-image--loading{height:100%;left:0;position:absolute!important;top:0;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;width:100%}.fw-image--loaded img,.fw-image--loading{opacity:1;visibility:visible}.fw-image--loaded .fw-image--loading{opacity:0;visibility:hidden;width:100%}.fw-image--loaded-error img{display:none}.fw-image--loaded-error .fw-image--error{opacity:1;visibility:visible}.fw-image--background{background-position:50%;background-repeat:no-repeat;background-size:cover}";
8045
8078
  styleInject(css_248z$2);script$2.render = render$4;var script$1 = vue.defineComponent({
8046
8079
  name: 'FwLoadingCard',
8047
8080
  components: {
package/esm/fw-image.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import './es.array.includes-9a6e4066.js';
2
- import { defineComponent, computed, ref, createElementVNode, resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, withKeys, createVNode, renderSlot } from 'vue';
2
+ import { o as objectSetPrototypeOf } from './es.number.constructor-b7faae1f.js';
3
+ import { defineComponent, computed, ref, resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, withKeys, createElementVNode, createVNode, renderSlot } from 'vue';
3
4
  import './es.array.find-54b8f84b.js';
4
5
  import { a as documentCreateElement$1, g as global$4, b as functionCall, c as anObject$3, e as getMethod$2, w as wellKnownSymbol$6, h as aCallable$1, t as tryToString$1, i as toObject$2, f as functionUncurryThis, r as requireObjectCoercible$1, j as fails$2, k as hasOwnProperty_1, l as isCallable$4, m as isPure, o as objectDefineProperty, n as functionName, p as functionBindNative, q as engineUserAgent } from './function-name-c49146fc.js';
5
6
  import { _ as _export } from './object-keys-3c73c404.js';
@@ -9,8 +10,7 @@ import { a as arrayMethodIsStrict$1, c as createProperty$1 } from './create-prop
9
10
  import { c as classof$1 } from './classof-088c9833.js';
10
11
  import { t as toString$2 } from './to-string-c2bd1f4d.js';
11
12
  import { o as objectCreate } from './add-to-unscopables-a5032b1d.js';
12
- import { o as objectSetPrototypeOf } from './es.number.constructor-b7faae1f.js';
13
- import { s as script$1 } from './fw-loading-bar-525e9129.js';
13
+ import { s as script$1 } from './fw-loading-bar-da7d53fb.js';
14
14
  import { r as render$1 } from './index-b3aa1664.js';
15
15
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
16
16
  import './check-94a5917a.js';
@@ -704,7 +704,7 @@ var lazyLoadDirective = {
704
704
  var createObserver = function createObserver() {
705
705
  var options = {
706
706
  root: null,
707
- threshold: Number(el.getAttribute('threshold')) || 0.01
707
+ threshold: Number(el.getAttribute('threshold')) || 0
708
708
  };
709
709
  var observer = new IntersectionObserver(handleIntersect, options);
710
710
  observer.observe(el);
@@ -747,6 +747,29 @@ var script = defineComponent({
747
747
  validator: function validator(value) {
748
748
  return ['native', 'background'].includes(value);
749
749
  }
750
+ },
751
+
752
+ /**
753
+ * Whether the loading bar and error state are rounded.
754
+ */
755
+ rounded: {
756
+ type: Boolean,
757
+ "default": false
758
+ },
759
+
760
+ /**
761
+ * The class for the native image element
762
+ */
763
+ imageClass: {
764
+ type: String
765
+ },
766
+
767
+ /**
768
+ * Controls the threshold before the component triggers the src url.
769
+ */
770
+ threshold: {
771
+ type: Number,
772
+ "default": 0
750
773
  }
751
774
  },
752
775
  setup: function setup(props) {
@@ -761,17 +784,11 @@ var script = defineComponent({
761
784
  }
762
785
  });
763
786
 
764
- var _hoisted_1 = ["type"];
787
+ var _hoisted_1 = ["type", "threshold"];
765
788
  var _hoisted_2 = ["data-url", "alt"];
766
789
  var _hoisted_3 = {
767
- "class": "fw-image--error bg-grey-20"
768
- };
769
- var _hoisted_4 = {
770
790
  "class": "fw-image--error-wrapper flex flex-col items-center justify-center"
771
791
  };
772
-
773
- var _hoisted_5 = /*#__PURE__*/createElementVNode("p", null, "Image failed to load", -1);
774
-
775
792
  function render(_ctx, _cache, $props, $setup, $data, $options) {
776
793
  var _component_FwLoadingBar = resolveComponent("FwLoadingBar");
777
794
 
@@ -782,8 +799,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
782
799
  return withDirectives((openBlock(), createElementBlock("div", {
783
800
  ref: "fwImageRef",
784
801
  type: _ctx.type,
802
+ threshold: _ctx.threshold,
785
803
  "class": normalizeClass(["fw-image", {
786
- 'fw-image--background': _ctx.isBackground
804
+ 'fw-image--background': _ctx.isBackground,
805
+ 'rounded-full': _ctx.rounded
787
806
  }]),
788
807
  onClick: _cache[0] || (_cache[0] = function ($event) {
789
808
  return _ctx.$emit('click', $event);
@@ -805,16 +824,23 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
805
824
  })
806
825
  }, [createElementVNode("img", {
807
826
  "data-url": _ctx.src,
808
- alt: _ctx.alt
809
- }, null, 8, _hoisted_2), createVNode(_component_FwLoadingBar, {
810
- "class": "fw-image--loading w-full h-full"
811
- }), createElementVNode("div", _hoisted_3, [createElementVNode("div", _hoisted_4, [createVNode(_component_FileExclamationSvg, {
812
- "class": "w-10 h-10 text-alert mb-2"
813
- }), _hoisted_5])]), renderSlot(_ctx.$slots, "default")], 42, _hoisted_1)), [[_directive_lazyload]]);
827
+ alt: _ctx.alt,
828
+ "class": normalizeClass(_ctx.imageClass)
829
+ }, null, 10, _hoisted_2), createVNode(_component_FwLoadingBar, {
830
+ "class": normalizeClass(["fw-image--loading w-full h-full", {
831
+ 'rounded-full': _ctx.rounded
832
+ }])
833
+ }, null, 8, ["class"]), createElementVNode("div", {
834
+ "class": normalizeClass(["fw-image--error bg-grey-20", {
835
+ 'rounded-full': _ctx.rounded
836
+ }])
837
+ }, [createElementVNode("div", _hoisted_3, [createVNode(_component_FileExclamationSvg, {
838
+ "class": "w-full h-full scale-[0.3] opacity-80 text-alert max-w-[150px]"
839
+ })])], 2), renderSlot(_ctx.$slots, "default")], 42, _hoisted_1)), [[_directive_lazyload]]);
814
840
  }
815
841
 
816
- var css_248z = ".fw-image{position:relative}.fw-image img,.fw-image--error{opacity:0;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;visibility:hidden;width:100%}.fw-image--error{height:100%;left:0;position:relative;position:absolute;top:0}.fw-image--error-wrapper{font-size:20px;left:50%;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%}.fw-image--error-wrapper p{font-size:16px}.fw-image--loading{height:100%;left:0;position:absolute!important;top:0;width:100%}.fw-image--loaded img,.fw-image--loading{opacity:1;visibility:visible}.fw-image--loaded .fw-image--loading,.fw-image--loaded img,.fw-image--loading{-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.fw-image--loaded .fw-image--loading{opacity:0;visibility:hidden;width:100%}.fw-image--loaded-error img{display:none}.fw-image--loaded-error .fw-image--error{opacity:1;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;visibility:visible}.fw-image--background{background-position:50%;background-repeat:no-repeat;background-size:cover}";
817
- var stylesheet = ".fw-image{position:relative}.fw-image img,.fw-image--error{opacity:0;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;visibility:hidden;width:100%}.fw-image--error{height:100%;left:0;position:relative;position:absolute;top:0}.fw-image--error-wrapper{font-size:20px;left:50%;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%}.fw-image--error-wrapper p{font-size:16px}.fw-image--loading{height:100%;left:0;position:absolute!important;top:0;width:100%}.fw-image--loaded img,.fw-image--loading{opacity:1;visibility:visible}.fw-image--loaded .fw-image--loading,.fw-image--loaded img,.fw-image--loading{-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.fw-image--loaded .fw-image--loading{opacity:0;visibility:hidden;width:100%}.fw-image--loaded-error img{display:none}.fw-image--loaded-error .fw-image--error{opacity:1;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;visibility:visible}.fw-image--background{background-position:50%;background-repeat:no-repeat;background-size:cover}";
842
+ var css_248z = ".fw-image{position:relative}.fw-image img{-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.fw-image img,.fw-image--error{opacity:0;visibility:hidden;width:100%}.fw-image--error{height:100%;left:0;position:relative;position:absolute;top:0;-webkit-transition:all .5s ease-in;-o-transition:all .5s ease-in;transition:all .5s ease-in}.fw-image--error-wrapper{font-size:inherit;left:50%;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%}.fw-image--loading{height:100%;left:0;position:absolute!important;top:0;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;width:100%}.fw-image--loaded img,.fw-image--loading{opacity:1;visibility:visible}.fw-image--loaded .fw-image--loading{opacity:0;visibility:hidden;width:100%}.fw-image--loaded-error img{display:none}.fw-image--loaded-error .fw-image--error{opacity:1;visibility:visible}.fw-image--background{background-position:50%;background-repeat:no-repeat;background-size:cover}";
843
+ var stylesheet = ".fw-image{position:relative}.fw-image img{-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.fw-image img,.fw-image--error{opacity:0;visibility:hidden;width:100%}.fw-image--error{height:100%;left:0;position:relative;position:absolute;top:0;-webkit-transition:all .5s ease-in;-o-transition:all .5s ease-in;transition:all .5s ease-in}.fw-image--error-wrapper{font-size:inherit;left:50%;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%}.fw-image--loading{height:100%;left:0;position:absolute!important;top:0;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;width:100%}.fw-image--loaded img,.fw-image--loading{opacity:1;visibility:visible}.fw-image--loaded .fw-image--loading{opacity:0;visibility:hidden;width:100%}.fw-image--loaded-error img{display:none}.fw-image--loaded-error .fw-image--error{opacity:1;visibility:visible}.fw-image--background{background-position:50%;background-repeat:no-repeat;background-size:cover}";
818
844
  styleInject(css_248z);
819
845
 
820
846
  script.render = render;
@@ -6,7 +6,7 @@ var script = defineComponent({
6
6
  });
7
7
 
8
8
  var _hoisted_1 = {
9
- "class": "fw-loading-bar rounded shadow-md",
9
+ "class": "fw-loading-bar rounded",
10
10
  "aria-hidden": "true"
11
11
  };
12
12
  function render(_ctx, _cache, $props, $setup, $data, $options) {
package/esm/fw-loading.js CHANGED
@@ -1,5 +1,5 @@
1
- import { s as script$2 } from './fw-loading-bar-525e9129.js';
2
- export { s as FwLoadingBar } from './fw-loading-bar-525e9129.js';
1
+ import { s as script$2 } from './fw-loading-bar-da7d53fb.js';
2
+ export { s as FwLoadingBar } from './fw-loading-bar-da7d53fb.js';
3
3
  import { defineComponent, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, normalizeClass, Fragment, renderList } from 'vue';
4
4
  import './es.number.constructor-b7faae1f.js';
5
5
  import './style-inject.es-1f59c1d0.js';