@nexxtmove/ui 1.51.0 → 1.52.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/editor/molecules/EditorOverrideStatus/EditorOverrideStatus.vue.d.ts +44 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +583 -504
- package/dist/nuxt.js +1 -0
- package/package.json +1 -1
- package/src/components/editor/molecules/EditorOverrideStatus/EditorOverrideStatus.vue +213 -0
- package/src/components.json +1 -0
- package/src/index.ts +1 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export interface NexxtEditorOverrideStatusProps {
|
|
2
|
+
/** Whether the setting differs from where its value comes from without an override. */
|
|
3
|
+
overridden: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* The status while the setting is not overridden, such as `'Volgt huisstijl'`
|
|
6
|
+
* or `'Grootte 100% (origineel)'`. With `hideWhenDefault` it is not shown,
|
|
7
|
+
* but it is still announced when a reset brings the setting back.
|
|
8
|
+
*/
|
|
9
|
+
label: string;
|
|
10
|
+
/**
|
|
11
|
+
* The status while the setting is overridden, shown next to a dot. Defaults
|
|
12
|
+
* to the Dutch `'Aangepast'`; a value such as `'Grootte 150%'` works too.
|
|
13
|
+
*/
|
|
14
|
+
overriddenLabel?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Text of the reset button, shown only while overridden, such as
|
|
17
|
+
* `'Terug naar huisstijl'`.
|
|
18
|
+
*/
|
|
19
|
+
resetLabel: string;
|
|
20
|
+
/** Render no status line at all while the setting is not overridden. */
|
|
21
|
+
hideWhenDefault?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* A selector, matched inside the default slot, for the element that takes the
|
|
24
|
+
* focus after a reset. Defaults to the first focusable element in the slot.
|
|
25
|
+
* When it matches nothing focusable, the first focusable element is used, and
|
|
26
|
+
* without one the component itself takes the focus.
|
|
27
|
+
*/
|
|
28
|
+
focusTarget?: string;
|
|
29
|
+
}
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<NexxtEditorOverrideStatusProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
+
reset: () => any;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<NexxtEditorOverrideStatusProps> & Readonly<{
|
|
35
|
+
onReset?: (() => any) | undefined;
|
|
36
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
37
|
+
/** The control the status belongs to, rendered above the status line. */
|
|
38
|
+
default?: () => unknown;
|
|
39
|
+
}>;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ export { default as NexxtEditorLetterSpacing } from './components/editor/molecul
|
|
|
93
93
|
export { default as NexxtEditorLineHeight } from './components/editor/molecules/EditorLineHeight/EditorLineHeight.vue';
|
|
94
94
|
export { default as NexxtEditorLineStyle } from './components/editor/molecules/EditorLineStyle/EditorLineStyle.vue';
|
|
95
95
|
export { default as NexxtEditorMaxWidth } from './components/editor/molecules/EditorMaxWidth/EditorMaxWidth.vue';
|
|
96
|
+
export { default as NexxtEditorOverrideStatus } from './components/editor/molecules/EditorOverrideStatus/EditorOverrideStatus.vue';
|
|
96
97
|
export { default as NexxtEditorPadding } from './components/editor/molecules/EditorPadding/EditorPadding.vue';
|
|
97
98
|
export { default as NexxtEditorRadius } from './components/editor/molecules/EditorRadius/EditorRadius.vue';
|
|
98
99
|
export { default as NexxtEditorSettingsBlock } from './components/editor/atoms/EditorSettingsBlock/EditorSettingsBlock.vue';
|