@nexxtmove/ui 1.29.0 → 1.30.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.
@@ -0,0 +1,42 @@
1
+ /**
2
+ * The background size 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 EditorBackgroundSizeValue = 'bg-cover' | 'bg-contain' | 'bg-auto';
6
+ /** Overridable copy for the three options. Every key is optional. */
7
+ export interface EditorBackgroundSizeMessages {
8
+ /** Accessible name of the `bg-cover` option. Defaults to `'Opvullen'`. */
9
+ cover?: string;
10
+ /** Accessible name of the `bg-contain` option. Defaults to `'Passend'`. */
11
+ contain?: string;
12
+ /** Accessible name of the `bg-auto` option. Defaults to `'Origineel'`. */
13
+ auto?: string;
14
+ }
15
+ export interface NexxtEditorBackgroundSizeProps {
16
+ /**
17
+ * Header text of the settings block. Defaults to the Dutch `'Vulling'`;
18
+ * the library has no i18n layer, so a consumer in another language passes
19
+ * its own copy in.
20
+ */
21
+ label?: string;
22
+ /**
23
+ * Copy of the three options. The options are icon-only and show no tooltip,
24
+ * so this copy is purely the accessible name of each button. Defaults are
25
+ * Dutch and are merged per key, so overriding one keeps the defaults of the
26
+ * others. Copy is never translated inside the component.
27
+ */
28
+ messages?: EditorBackgroundSizeMessages;
29
+ }
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ declare const __VLS_export: import('vue').DefineComponent<NexxtEditorBackgroundSizeProps & {
33
+ /** The selected background size, as the Tailwind class to apply. */
34
+ modelValue: EditorBackgroundSizeValue;
35
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ "update:modelValue": (value: EditorBackgroundSizeValue) => any;
37
+ }, string, import('vue').PublicProps, Readonly<NexxtEditorBackgroundSizeProps & {
38
+ /** The selected background size, as the Tailwind class to apply. */
39
+ modelValue: EditorBackgroundSizeValue;
40
+ }> & Readonly<{
41
+ "onUpdate:modelValue"?: ((value: EditorBackgroundSizeValue) => any) | undefined;
42
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export type { NexxtPageCardProps, NexxtPageCardSlots, } from './components/molec
9
9
  export type { NexxtPageMockupType } from './components/molecules/PageMockup/PageMockup.vue';
10
10
  export type { NexxtTreeNode, NexxtTreeProps } from './components/molecules/Tree/Tree.vue';
11
11
  export type { EditorAlignItemsMessages, EditorAlignItemsValue, } from './components/editor/molecules/EditorAlignItems/EditorAlignItems.vue';
12
+ export type { EditorBackgroundSizeMessages, EditorBackgroundSizeValue, } from './components/editor/molecules/EditorBackgroundSize/EditorBackgroundSize.vue';
12
13
  export type { EditorFlexDirectionMessages, EditorFlexDirectionValue, } from './components/editor/molecules/EditorFlexDirection/EditorFlexDirection.vue';
13
14
  export type { EditorGapMessages, EditorGapValue, } from './components/editor/molecules/EditorGap/EditorGap.vue';
14
15
  export type { EditorColorMessages, EditorColorProperty, EditorColorValue, } from './components/editor/molecules/EditorColor/EditorColor.vue';
@@ -39,6 +40,7 @@ export { default as NexxtDatePicker } from './components/organisms/DatePicker/Da
39
40
  export { default as NexxtDoughnutChart } from './components/molecules/DoughnutChart/DoughnutChart.vue';
40
41
  export { default as NexxtDropdownButton } from './components/organisms/DropdownButton/DropdownButton.vue';
41
42
  export { default as NexxtEditorAlignItems } from './components/editor/molecules/EditorAlignItems/EditorAlignItems.vue';
43
+ export { default as NexxtEditorBackgroundSize } from './components/editor/molecules/EditorBackgroundSize/EditorBackgroundSize.vue';
42
44
  export { default as NexxtEditorBorder } from './components/editor/molecules/EditorBorder/EditorBorder.vue';
43
45
  export { default as NexxtEditorColor } from './components/editor/molecules/EditorColor/EditorColor.vue';
44
46
  export { default as NexxtEditorFlexDirection } from './components/editor/molecules/EditorFlexDirection/EditorFlexDirection.vue';