@oub/fusion 0.2.47 → 0.2.48

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.
@@ -37,12 +37,17 @@ declare const _default: import("vue").DefineComponent<{
37
37
  type: StringConstructor;
38
38
  default: string;
39
39
  };
40
+ error: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
40
44
  }, unknown, {
41
45
  checked: boolean;
42
46
  }, {
43
47
  stateClasses(): {
44
48
  disabled: boolean;
45
49
  "gap-xs": boolean;
50
+ error: boolean;
46
51
  };
47
52
  }, {
48
53
  handleChange(e: Event): void;
@@ -85,6 +90,10 @@ declare const _default: import("vue").DefineComponent<{
85
90
  type: StringConstructor;
86
91
  default: string;
87
92
  };
93
+ error: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
96
+ };
88
97
  }>> & {
89
98
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
90
99
  }, {
@@ -93,6 +102,7 @@ declare const _default: import("vue").DefineComponent<{
93
102
  dataTest: string;
94
103
  value: string;
95
104
  disabled: boolean;
105
+ error: boolean;
96
106
  tabIndex: number;
97
107
  defaultValue: boolean;
98
108
  helperText: string;
package/dist/fusion.js CHANGED
@@ -435,6 +435,10 @@ const ki = /* @__PURE__ */ Ne(gi, [["render", Ai]]), wi = Ce({
435
435
  dataTest: {
436
436
  type: String,
437
437
  default: "fusion-checkbox"
438
+ },
439
+ error: {
440
+ type: Boolean,
441
+ default: !1
438
442
  }
439
443
  },
440
444
  emits: ["update:modelValue"],
@@ -447,7 +451,8 @@ const ki = /* @__PURE__ */ Ne(gi, [["render", Ai]]), wi = Ce({
447
451
  stateClasses() {
448
452
  return {
449
453
  disabled: this.disabled,
450
- "gap-xs": !!this.label
454
+ "gap-xs": !!this.label,
455
+ error: this.error
451
456
  };
452
457
  }
453
458
  },
@@ -503,7 +508,7 @@ function Fi(e, t, n, r, a, o) {
503
508
  name: e.name,
504
509
  value: e.value,
505
510
  tabindex: e.tabIndex,
506
- "data-test": "fusion-input",
511
+ "data-test": "fusion-checkbox-input",
507
512
  onClick: t[0] || (t[0] = (...l) => e.handleChange && e.handleChange(...l))
508
513
  }, null, 10, Di),
509
514
  e.checked ? (v(), k("span", Pi, [
@@ -517,7 +522,7 @@ function Fi(e, t, n, r, a, o) {
517
522
  oe(e.$slots, "default", {}, void 0, !0)
518
523
  ], 10, Ci);
519
524
  }
520
- const Oi = /* @__PURE__ */ Ne(wi, [["render", Fi], ["__scopeId", "data-v-d1241f68"]]), Ii = Ce({
525
+ const Oi = /* @__PURE__ */ Ne(wi, [["render", Fi], ["__scopeId", "data-v-6a48f2b1"]]), Ii = Ce({
521
526
  name: "FusionRadio",
522
527
  props: {
523
528
  id: {
@@ -3001,7 +3006,7 @@ function bu(e, t, n, r, a, o) {
3001
3006
  _: 3
3002
3007
  });
3003
3008
  }
3004
- const S0 = /* @__PURE__ */ Ne(pu, [["render", bu], ["__scopeId", "data-v-4c8c0294"]]);
3009
+ const S0 = /* @__PURE__ */ Ne(pu, [["render", bu], ["__scopeId", "data-v-5f90f955"]]);
3005
3010
  function ct(e) {
3006
3011
  "@babel/helpers - typeof";
3007
3012
  return ct = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -12178,7 +12183,7 @@ function m0(e, t, n, r, a, o) {
12178
12183
  ])
12179
12184
  ], 8, p0);
12180
12185
  }
12181
- const T0 = /* @__PURE__ */ Ne(c0, [["render", m0], ["__scopeId", "data-v-a04865f4"]]);
12186
+ const T0 = /* @__PURE__ */ Ne(c0, [["render", m0], ["__scopeId", "data-v-9d61755c"]]);
12182
12187
  export {
12183
12188
  S0 as FusionBanner,
12184
12189
  h0 as FusionButton,