@oub/fusion 0.2.103 → 0.2.105

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
@@ -3180,6 +3180,11 @@ const Wi = /* @__PURE__ */ he(Nc, [["render", qc]]), Hc = le({
3180
3180
  dataTest: {
3181
3181
  type: String,
3182
3182
  default: "fusion-icon-button"
3183
+ },
3184
+ ariaLabel: {
3185
+ type: String,
3186
+ required: !1,
3187
+ default: void 0
3183
3188
  }
3184
3189
  },
3185
3190
  emits: ["click"],
@@ -3247,7 +3252,7 @@ const Wi = /* @__PURE__ */ he(Nc, [["render", qc]]), Hc = le({
3247
3252
  }
3248
3253
  }
3249
3254
  });
3250
- const zc = ["disabled", "data-test", "type"], jc = { key: 1 };
3255
+ const zc = ["disabled", "data-test", "type", "aria-label"], jc = { key: 1 };
3251
3256
  function Jc(e, t, a, r, n, o) {
3252
3257
  const i = ne("FusionLoadingSpinner");
3253
3258
  return d(), h("button", {
@@ -3257,6 +3262,7 @@ function Jc(e, t, a, r, n, o) {
3257
3262
  class: H(["fusion-icon-button fusion-button", [e.variantTypeClass, e.variantStyleClass, e.buttonSizeClass]]),
3258
3263
  "data-test": e.dataTest,
3259
3264
  type: e.type,
3265
+ "aria-label": e.ariaLabel,
3260
3266
  onFocus: t[0] || (t[0] = (s) => e.focus = !0),
3261
3267
  onBlur: t[1] || (t[1] = (s) => e.focus = !1),
3262
3268
  onMouseover: t[2] || (t[2] = (s) => e.hover = !0),
@@ -13324,20 +13330,21 @@ function k0(e, t, a, r, n, o) {
13324
13330
  size: "small",
13325
13331
  "variant-type": "primary",
13326
13332
  class: "fusion-toolbar-back-button",
13333
+ "aria-label": e.backButtonAriaLabel,
13327
13334
  onClick: e.handleBackClick
13328
13335
  }, {
13329
13336
  icon: be(() => [
13330
13337
  ue(i)
13331
13338
  ]),
13332
13339
  _: 1
13333
- }, 8, ["onClick"])) : C("", !0),
13340
+ }, 8, ["aria-label", "onClick"])) : C("", !0),
13334
13341
  g("div", g0, [
13335
13342
  e.title ? (d(), h("h2", y0, _(e.title), 1)) : C("", !0),
13336
13343
  e.helperText ? (d(), h("p", b0, _(e.helperText), 1)) : C("", !0)
13337
13344
  ])
13338
13345
  ]);
13339
13346
  }
13340
- const lk = /* @__PURE__ */ he(m0, [["render", k0], ["__scopeId", "data-v-406fe148"]]), A0 = le({
13347
+ const lk = /* @__PURE__ */ he(m0, [["render", k0], ["__scopeId", "data-v-d38e99f9"]]), A0 = le({
13341
13348
  name: "FusionActionBar"
13342
13349
  });
13343
13350
  const w0 = { class: "fusion-action-bar" };
@@ -13735,6 +13742,10 @@ const H0 = /* @__PURE__ */ he(E0, [["render", q0], ["__scopeId", "data-v-37ccd52
13735
13742
  confirmButtonLoading: {
13736
13743
  type: Boolean,
13737
13744
  default: !1
13745
+ },
13746
+ formElementId: {
13747
+ type: String,
13748
+ default: ""
13738
13749
  }
13739
13750
  },
13740
13751
  emits: ["cancel", "confirm"],
@@ -13782,14 +13793,15 @@ function j0(e, t, a, r, n, o) {
13782
13793
  size: "small",
13783
13794
  loading: a.confirmButtonLoading,
13784
13795
  "data-test": "fusion-modal-footer-confirm-button",
13796
+ form: a.formElementId || null,
13785
13797
  "variant-style": "filled",
13786
13798
  label: a.confirmButtonLabel,
13787
13799
  "variant-type": a.confirmButtonVariant,
13788
13800
  onClick: o.handleConfirm
13789
- }, null, 8, ["loading", "label", "variant-type", "onClick"]))
13801
+ }, null, 8, ["loading", "form", "label", "variant-type", "onClick"]))
13790
13802
  ], 2);
13791
13803
  }
13792
- const J0 = /* @__PURE__ */ he(z0, [["render", j0], ["__scopeId", "data-v-a9cb64f3"]]), X0 = {
13804
+ const J0 = /* @__PURE__ */ he(z0, [["render", j0], ["__scopeId", "data-v-a88d5948"]]), X0 = {
13793
13805
  name: "FusionModal",
13794
13806
  components: {
13795
13807
  FusionModalHeader: H0,
@@ -13832,6 +13844,10 @@ const J0 = /* @__PURE__ */ he(z0, [["render", j0], ["__scopeId", "data-v-a9cb64f
13832
13844
  confirmButtonLoading: {
13833
13845
  type: Boolean,
13834
13846
  default: !1
13847
+ },
13848
+ formElementId: {
13849
+ type: String,
13850
+ default: ""
13835
13851
  }
13836
13852
  },
13837
13853
  emits: ["close", "confirm", "cancel"],
@@ -13881,7 +13897,7 @@ const J0 = /* @__PURE__ */ he(z0, [["render", j0], ["__scopeId", "data-v-a9cb64f
13881
13897
  }
13882
13898
  }
13883
13899
  };
13884
- const W0 = (e) => (so("data-v-308764ad"), e = e(), lo(), e), K0 = ["aria-labelledby"], Y0 = /* @__PURE__ */ W0(() => /* @__PURE__ */ g("div", {
13900
+ const W0 = (e) => (so("data-v-6aec5dd1"), e = e(), lo(), e), K0 = ["aria-labelledby"], Y0 = /* @__PURE__ */ W0(() => /* @__PURE__ */ g("div", {
13885
13901
  class: "fusion-modal-background",
13886
13902
  "aria-hidden": "true"
13887
13903
  }, null, -1));
@@ -13928,9 +13944,10 @@ function G0(e, t, a, r, n, o) {
13928
13944
  "confirm-button-variant": a.confirmButtonVariant,
13929
13945
  "cancel-button-loading": a.cancelButtonLoading,
13930
13946
  "confirm-button-loading": a.confirmButtonLoading,
13947
+ "form-element-id": a.formElementId,
13931
13948
  onCancel: o.cancelModal,
13932
13949
  onConfirm: o.confirmModal
13933
- }, null, 8, ["mobile-breakpoint", "has-shadow", "cancel-button-label", "confirm-button-label", "hide-cancel", "hide-confirm", "confirm-button-variant", "cancel-button-loading", "confirm-button-loading", "onCancel", "onConfirm"]))
13950
+ }, null, 8, ["mobile-breakpoint", "has-shadow", "cancel-button-label", "confirm-button-label", "hide-cancel", "hide-confirm", "confirm-button-variant", "cancel-button-loading", "confirm-button-loading", "form-element-id", "onCancel", "onConfirm"]))
13934
13951
  ], 8, K0)
13935
13952
  ]),
13936
13953
  _: 3
@@ -13938,7 +13955,7 @@ function G0(e, t, a, r, n, o) {
13938
13955
  Y0
13939
13956
  ], 2);
13940
13957
  }
13941
- const fk = /* @__PURE__ */ he(X0, [["render", G0], ["__scopeId", "data-v-308764ad"]]), Z0 = 12, Ho = le({
13958
+ const fk = /* @__PURE__ */ he(X0, [["render", G0], ["__scopeId", "data-v-6aec5dd1"]]), Z0 = 12, Ho = le({
13942
13959
  name: "FusionCircularProgressIndicator",
13943
13960
  props: {
13944
13961
  size: {