@nexxtmove/ui 1.23.0 → 1.24.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/EditorTextAlign/EditorTextAlign.vue.d.ts +44 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +319 -263
- package/dist/nuxt.js +2 -1
- package/package.json +1 -1
- package/src/components/editor/molecules/EditorTextAlign/EditorTextAlign.vue +86 -0
- package/src/components.json +2 -1
- package/src/index.ts +5 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The text alignment as the editor needs it: the Tailwind class itself, so the
|
|
3
|
+
* consumer can put the model value straight on the element it styles.
|
|
4
|
+
*/
|
|
5
|
+
export type EditorTextAlignValue = 'text-left' | 'text-center' | 'text-right' | 'text-justify';
|
|
6
|
+
/** Overridable copy for the four options. Every key is optional. */
|
|
7
|
+
export interface EditorTextAlignMessages {
|
|
8
|
+
/** Accessible name of the `text-left` option. Defaults to `'Links'`. */
|
|
9
|
+
left?: string;
|
|
10
|
+
/** Accessible name of the `text-center` option. Defaults to `'Midden'`. */
|
|
11
|
+
center?: string;
|
|
12
|
+
/** Accessible name of the `text-right` option. Defaults to `'Rechts'`. */
|
|
13
|
+
right?: string;
|
|
14
|
+
/** Accessible name of the `text-justify` option. Defaults to `'Uitvullen'`. */
|
|
15
|
+
justify?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface NexxtEditorTextAlignProps {
|
|
18
|
+
/**
|
|
19
|
+
* Header text of the settings block. Defaults to the Dutch
|
|
20
|
+
* `'Tekst uitlijning'`; the library has no i18n layer, so a consumer in
|
|
21
|
+
* another language passes its own copy in.
|
|
22
|
+
*/
|
|
23
|
+
label?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Copy of the four options. The options are icon-only and show no tooltip, so
|
|
26
|
+
* this copy is purely the accessible name of each button. Defaults are Dutch
|
|
27
|
+
* and are merged per key, so overriding one keeps the defaults of the others.
|
|
28
|
+
* Copy is never translated inside the component.
|
|
29
|
+
*/
|
|
30
|
+
messages?: EditorTextAlignMessages;
|
|
31
|
+
}
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
declare const __VLS_export: import('vue').DefineComponent<NexxtEditorTextAlignProps & {
|
|
35
|
+
/** The selected text alignment, as the Tailwind class to apply. */
|
|
36
|
+
modelValue: EditorTextAlignValue;
|
|
37
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
+
"update:modelValue": (value: EditorTextAlignValue) => any;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<NexxtEditorTextAlignProps & {
|
|
40
|
+
/** The selected text alignment, as the Tailwind class to apply. */
|
|
41
|
+
modelValue: EditorTextAlignValue;
|
|
42
|
+
}> & Readonly<{
|
|
43
|
+
"onUpdate:modelValue"?: ((value: EditorTextAlignValue) => any) | undefined;
|
|
44
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export type { EditorGapMessages, EditorGapValue, } from './components/editor/mol
|
|
|
11
11
|
export type { EditorColorMessages, EditorColorProperty, EditorColorValue, } from './components/editor/molecules/EditorColor/EditorColor.vue';
|
|
12
12
|
export type { EditorHeadingTypeMessages, EditorHeadingTypeValue, } from './components/editor/molecules/EditorHeadingType/EditorHeadingType.vue';
|
|
13
13
|
export type { EditorRadiusMessages, EditorRadiusValue, } from './components/editor/molecules/EditorRadius/EditorRadius.vue';
|
|
14
|
+
export type { EditorTextAlignMessages, EditorTextAlignValue, } from './components/editor/molecules/EditorTextAlign/EditorTextAlign.vue';
|
|
14
15
|
export type { EditorJustifyContentMessages, EditorJustifyContentValue, } from './components/editor/molecules/EditorJustifyContent/EditorJustifyContent.vue';
|
|
15
16
|
export type { EditorPaddingMessages } from './components/editor/molecules/EditorPadding/EditorPadding.vue';
|
|
16
17
|
export type { NexxtTemplateCardContentFeature, NexxtTemplateCardProps, NexxtTemplateCardSlots, } from './components/molecules/TemplateCard/TemplateCard.vue';
|
|
@@ -40,6 +41,7 @@ export { default as NexxtEditorJustifyContent } from './components/editor/molecu
|
|
|
40
41
|
export { default as NexxtEditorPadding } from './components/editor/molecules/EditorPadding/EditorPadding.vue';
|
|
41
42
|
export { default as NexxtEditorRadius } from './components/editor/molecules/EditorRadius/EditorRadius.vue';
|
|
42
43
|
export { default as NexxtEditorSettingsBlock } from './components/editor/atoms/EditorSettingsBlock/EditorSettingsBlock.vue';
|
|
44
|
+
export { default as NexxtEditorTextAlign } from './components/editor/molecules/EditorTextAlign/EditorTextAlign.vue';
|
|
43
45
|
export { default as NexxtEnergyLabel } from './components/atoms/EnergyLabel/EnergyLabel.vue';
|
|
44
46
|
export { default as NexxtFloatingPanel } from './components/atoms/FloatingPanel/FloatingPanel.vue';
|
|
45
47
|
export { default as NexxtHeader } from './components/organisms/Header/Header.vue';
|