@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.
- package/dist/components/extended/DXSwitch.vue.d.ts +9 -0
- package/dist/dashboard-for-laravel.js +5417 -5355
- package/dist/dashboard-for-laravel.js.map +1 -1
- package/dist/dashboard-for-laravel.umd.cjs +7 -7
- package/dist/dashboard-for-laravel.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +8 -0
- package/docs/public/api-reference.json +10 -3
- package/docs/public/docs-map.md +1 -1
- package/package.json +1 -1
- package/resources/css/theme.scss +126 -12
- package/resources/js/components/extended/DXField.vue +2 -0
- package/resources/js/components/extended/DXSwitch.vue +67 -18
- package/resources/js/components/extended/DXTablePagination.vue +119 -25
- package/resources/js/types/index.ts +9 -0
|
@@ -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;
|