@omnitend/dashboard-for-laravel 0.30.0 → 0.32.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.
@@ -7,6 +7,14 @@ interface Props {
7
7
  textWhenTrue?: string;
8
8
  /** Text shown when off — overrides `label` in the off state (e.g. "Product is not current"). */
9
9
  textWhenFalse?: string;
10
+ /**
11
+ * On-state colour. `"success"` (default) reads the house green-on / red-off
12
+ * style — an active/enabled/good switch ("Product is current", "Stock is
13
+ * tracked", "Visible"). `"neutral"` is for semantically-mixed switches
14
+ * ("contains alcohol", an allergen toggle, "hidden on web shop") that
15
+ * shouldn't imply good/bad — it uses the brand primary on / grey off (#158).
16
+ */
17
+ onVariant?: "success" | "neutral";
10
18
  }
11
19
  declare var __VLS_4: {
12
20
  on: boolean;
@@ -20,6 +28,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
20
28
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
29
  }>, {
22
30
  modelValue: boolean;
31
+ onVariant: "success" | "neutral";
23
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
33
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
34
  export default _default;