@oub/fusion 0.2.155 → 0.2.157

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/fusion.js CHANGED
@@ -549,7 +549,7 @@ function ku(e, t, a, r, n, o) {
549
549
  _(e.$slots, "default", {}, void 0, !0)
550
550
  ], 10, pu);
551
551
  }
552
- const rs = /* @__PURE__ */ pe(cu, [["render", ku], ["__scopeId", "data-v-c48baa98"]]), Au = oe({
552
+ const rs = /* @__PURE__ */ pe(cu, [["render", ku], ["__scopeId", "data-v-dba21536"]]), Au = oe({
553
553
  name: "FusionRadio",
554
554
  props: {
555
555
  id: {
@@ -1324,7 +1324,7 @@ function pd(e, t, a, r, n, o) {
1324
1324
  _: 3
1325
1325
  }, 16, ["class", "tabindex", "onClick", "onKeydown", "onMouseover", "onMouseout", "onMousedown", "onMouseup"]);
1326
1326
  }
1327
- const us = /* @__PURE__ */ pe(ld, [["render", pd], ["__scopeId", "data-v-22a37a49"]]), fd = oe({
1327
+ const us = /* @__PURE__ */ pe(ld, [["render", pd], ["__scopeId", "data-v-9b89f3f9"]]), fd = oe({
1328
1328
  name: "FusionListBox",
1329
1329
  components: {
1330
1330
  SVGSearch: ls,
@@ -12887,7 +12887,7 @@ const Vg = /* @__PURE__ */ pe(Ig, [["render", Lg]]), Ng = oe({
12887
12887
  }
12888
12888
  },
12889
12889
  emits: ["update:modelValue"],
12890
- data() {
12890
+ data: function() {
12891
12891
  return {
12892
12892
  state: {
12893
12893
  value: 0
@@ -12895,39 +12895,39 @@ const Vg = /* @__PURE__ */ pe(Ig, [["render", Lg]]), Ng = oe({
12895
12895
  };
12896
12896
  },
12897
12897
  computed: {
12898
- stateClasses() {
12898
+ stateClasses: function() {
12899
12899
  return {
12900
12900
  disabled: this.disabled
12901
12901
  };
12902
12902
  },
12903
- isMinDisabled() {
12903
+ isMinDisabled: function() {
12904
12904
  return this.state.value === this.minValue;
12905
12905
  },
12906
- isMaxDisabled() {
12906
+ isMaxDisabled: function() {
12907
12907
  return this.state.value === this.maxValue;
12908
12908
  }
12909
12909
  },
12910
12910
  watch: {
12911
12911
  modelValue: {
12912
- immediate: !0,
12913
- handler(e) {
12912
+ handler: function(e) {
12914
12913
  this.state.value = e;
12915
- }
12914
+ },
12915
+ immediate: !0
12916
12916
  }
12917
12917
  },
12918
12918
  methods: {
12919
- increaseValue() {
12919
+ increaseValue: function() {
12920
12920
  this.state.value < this.maxValue && (this.state.value += 1, this.$emit("update:modelValue", this.state.value));
12921
12921
  },
12922
- decreaseValue() {
12922
+ decreaseValue: function() {
12923
12923
  this.state.value > this.minValue && (this.state.value -= 1, this.$emit("update:modelValue", this.state.value));
12924
12924
  }
12925
12925
  }
12926
- }), Qg = ["data-test"], Rg = { class: "fusion-numeric-input-stepper headers" }, Eg = { class: "fusion-numeric-input-stepper inputs-wrapper" };
12926
+ }), Qg = ["data-test"], Rg = { class: "fusion-numeric-input-stepper-label-wrapper" }, Eg = { class: "fusion-numeric-input-stepper-wrapper" };
12927
12927
  function qg(e, t, a, r, n, o) {
12928
12928
  const i = re("SVGDecrement"), s = re("FusionIconButton"), l = re("SVGIncrement");
12929
12929
  return c(), h("div", {
12930
- class: "fusion-numeric-input-stepper wrapper",
12930
+ class: "fusion-numeric-input-stepper-container",
12931
12931
  "data-test": e.dataTest
12932
12932
  }, [
12933
12933
  g("div", Rg, [
@@ -12945,9 +12945,9 @@ function qg(e, t, a, r, n, o) {
12945
12945
  g("div", Eg, [
12946
12946
  ue(s, {
12947
12947
  disabled: e.isMinDisabled || e.disabled,
12948
- label: "",
12949
12948
  type: "button",
12950
12949
  "variant-style": "outline",
12950
+ "aria-label": "Decrement value button",
12951
12951
  "data-test": "fusion-numeric-input-stepper-decrement-btn",
12952
12952
  onClick: e.decreaseValue
12953
12953
  }, {
@@ -12956,15 +12956,16 @@ function qg(e, t, a, r, n, o) {
12956
12956
  ]),
12957
12957
  _: 1
12958
12958
  }, 8, ["disabled", "onClick"]),
12959
- g("span", {
12959
+ g("div", {
12960
12960
  "data-text": "fusion-numeric-input-stepper-value",
12961
- class: z(["fusion-numeric-input-stepper value", e.stateClasses])
12961
+ class: z(["fusion-numeric-input-stepper value", e.stateClasses]),
12962
+ role: "status"
12962
12963
  }, te(e.state.value), 3),
12963
12964
  ue(s, {
12964
12965
  disabled: e.isMaxDisabled || e.disabled,
12965
- label: "",
12966
12966
  "variant-style": "outline",
12967
12967
  type: "button",
12968
+ "aria-label": "Increment value button",
12968
12969
  "data-test": "fusion-numeric-input-stepper-increment-btn",
12969
12970
  onClick: e.increaseValue
12970
12971
  }, {
@@ -12976,7 +12977,7 @@ function qg(e, t, a, r, n, o) {
12976
12977
  ])
12977
12978
  ], 8, Qg);
12978
12979
  }
12979
- const tb = /* @__PURE__ */ pe(Ng, [["render", qg], ["__scopeId", "data-v-c9dd10c1"]]), Hg = oe({
12980
+ const tb = /* @__PURE__ */ pe(Ng, [["render", qg], ["__scopeId", "data-v-50951b2e"]]), Hg = oe({
12980
12981
  name: "FusionTag",
12981
12982
  props: {
12982
12983
  variantStyle: {
@@ -13065,7 +13066,7 @@ function Jg(e, t, a, r, n, o) {
13065
13066
  g("div", zg, te(e.label), 1)
13066
13067
  ], 2);
13067
13068
  }
13068
- const Yg = /* @__PURE__ */ pe(Hg, [["render", Jg], ["__scopeId", "data-v-d6bac064"]]), jg = oe({
13069
+ const Yg = /* @__PURE__ */ pe(Hg, [["render", Jg], ["__scopeId", "data-v-74c94cb4"]]), jg = oe({
13069
13070
  name: "FusionDivider"
13070
13071
  }), Xg = {
13071
13072
  class: "fusion-divider",