@nexxtmove/ui 1.27.0 → 1.28.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/EditorPadding/EditorPadding.vue.d.ts +6 -0
- package/dist/components/editor/molecules/EditorPadding/_PaddingField.vue.d.ts +10 -8
- package/dist/index.js +444 -381
- package/dist/ui.css +1 -1
- package/package.json +1 -1
- package/src/components/editor/molecules/EditorPadding/EditorPadding.vue +74 -30
- package/src/components/editor/molecules/EditorPadding/_PaddingField.vue +208 -21
|
@@ -17,6 +17,12 @@ export interface EditorPaddingMessages {
|
|
|
17
17
|
* fields. Defaults to `'Padding per zijde'`.
|
|
18
18
|
*/
|
|
19
19
|
toggle?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Unit the fields show and read, appended to every accessible name. The
|
|
22
|
+
* values themselves are px whatever this says, so it is copy, not a
|
|
23
|
+
* conversion. Defaults to `'px'`.
|
|
24
|
+
*/
|
|
25
|
+
unit?: string;
|
|
20
26
|
}
|
|
21
27
|
export interface NexxtEditorPaddingProps {
|
|
22
28
|
/**
|
|
@@ -2,17 +2,19 @@ import { PaddingIconSide } from './_PaddingIcon.vue';
|
|
|
2
2
|
export interface NexxtEditorPaddingFieldProps {
|
|
3
3
|
/** Sides the icon marks, which is also what this field edits. */
|
|
4
4
|
sides: PaddingIconSide[];
|
|
5
|
-
/**
|
|
5
|
+
/** Name of the field; the unit is appended to it for the accessible name. */
|
|
6
6
|
label: string;
|
|
7
|
-
/** Value as shown,
|
|
7
|
+
/** Value as shown, in the unit below. An empty string falls back to the `0` placeholder. */
|
|
8
8
|
value: string;
|
|
9
|
-
/**
|
|
10
|
-
|
|
9
|
+
/** Unit of the value, shown behind the input and part of the accessible name. */
|
|
10
|
+
unit: string;
|
|
11
11
|
}
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
12
14
|
declare const __VLS_export: import('vue').DefineComponent<NexxtEditorPaddingFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
|
|
15
|
+
step: (direction: 1 | -1) => any;
|
|
16
|
+
commit: (value: number) => any;
|
|
14
17
|
}, string, import('vue').PublicProps, Readonly<NexxtEditorPaddingFieldProps> & Readonly<{
|
|
15
|
-
|
|
18
|
+
onStep?: ((direction: 1 | -1) => any) | undefined;
|
|
19
|
+
onCommit?: ((value: number) => any) | undefined;
|
|
16
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
|
-
export default _default;
|