@nexxtmove/ui 1.16.0 → 1.18.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/EditorAlignItems/EditorAlignItems.vue.d.ts +44 -0
- package/dist/components/editor/molecules/EditorJustifyContent/EditorJustifyContent.vue.d.ts +44 -0
- package/dist/components/molecules/ToggleGroup/ToggleGroup.vue.d.ts +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +396 -282
- package/dist/nuxt.js +3 -1
- package/package.json +1 -1
- package/src/components/editor/molecules/EditorAlignItems/EditorAlignItems.vue +94 -0
- package/src/components/editor/molecules/EditorJustifyContent/EditorJustifyContent.vue +95 -0
- package/src/components/molecules/ToggleGroup/ToggleGroup.vue +20 -1
- package/src/components.json +3 -1
- package/src/index.ts +10 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The cross-axis alignment as the editor needs it: the Tailwind class itself,
|
|
3
|
+
* so the consumer can put the model value straight on the element it styles.
|
|
4
|
+
*/
|
|
5
|
+
export type EditorAlignItemsValue = 'items-start' | 'items-center' | 'items-end' | 'items-stretch';
|
|
6
|
+
/** Overridable copy for the four options. Every key is optional. */
|
|
7
|
+
export interface EditorAlignItemsMessages {
|
|
8
|
+
/** Accessible name of the `items-start` option. Defaults to `'Begin'`. */
|
|
9
|
+
start?: string;
|
|
10
|
+
/** Accessible name of the `items-center` option. Defaults to `'Midden'`. */
|
|
11
|
+
center?: string;
|
|
12
|
+
/** Accessible name of the `items-end` option. Defaults to `'Einde'`. */
|
|
13
|
+
end?: string;
|
|
14
|
+
/** Accessible name of the `items-stretch` option. Defaults to `'Uitrekken'`. */
|
|
15
|
+
stretch?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface NexxtEditorAlignItemsProps {
|
|
18
|
+
/**
|
|
19
|
+
* Header text of the settings block. Defaults to the Dutch
|
|
20
|
+
* `'Uitlijning items'`; 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?: EditorAlignItemsMessages;
|
|
31
|
+
}
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
declare const __VLS_export: import('vue').DefineComponent<NexxtEditorAlignItemsProps & {
|
|
35
|
+
/** The selected alignment, as the Tailwind class to apply. */
|
|
36
|
+
modelValue: EditorAlignItemsValue;
|
|
37
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
+
"update:modelValue": (value: EditorAlignItemsValue) => any;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<NexxtEditorAlignItemsProps & {
|
|
40
|
+
/** The selected alignment, as the Tailwind class to apply. */
|
|
41
|
+
modelValue: EditorAlignItemsValue;
|
|
42
|
+
}> & Readonly<{
|
|
43
|
+
"onUpdate:modelValue"?: ((value: EditorAlignItemsValue) => any) | undefined;
|
|
44
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The justification 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 EditorJustifyContentValue = 'justify-start' | 'justify-center' | 'justify-end' | 'justify-between';
|
|
6
|
+
/** Overridable copy for the four options. Every key is optional. */
|
|
7
|
+
export interface EditorJustifyContentMessages {
|
|
8
|
+
/** Accessible name of the `justify-start` option. Defaults to `'Begin'`. */
|
|
9
|
+
start?: string;
|
|
10
|
+
/** Accessible name of the `justify-center` option. Defaults to `'Midden'`. */
|
|
11
|
+
center?: string;
|
|
12
|
+
/** Accessible name of the `justify-end` option. Defaults to `'Einde'`. */
|
|
13
|
+
end?: string;
|
|
14
|
+
/** Accessible name of the `justify-between` option. Defaults to `'Verdelen'`. */
|
|
15
|
+
between?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface NexxtEditorJustifyContentProps {
|
|
18
|
+
/**
|
|
19
|
+
* Header text of the settings block. Defaults to the Dutch `'Uitlijning'`;
|
|
20
|
+
* the library has no i18n layer, so a consumer in another language passes
|
|
21
|
+
* 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?: EditorJustifyContentMessages;
|
|
31
|
+
}
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
declare const __VLS_export: import('vue').DefineComponent<NexxtEditorJustifyContentProps & {
|
|
35
|
+
/** The selected justification, as the Tailwind class to apply. */
|
|
36
|
+
modelValue: EditorJustifyContentValue;
|
|
37
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
+
"update:modelValue": (value: EditorJustifyContentValue) => any;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<NexxtEditorJustifyContentProps & {
|
|
40
|
+
/** The selected justification, as the Tailwind class to apply. */
|
|
41
|
+
modelValue: EditorJustifyContentValue;
|
|
42
|
+
}> & Readonly<{
|
|
43
|
+
"onUpdate:modelValue"?: ((value: EditorJustifyContentValue) => any) | undefined;
|
|
44
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -4,6 +4,13 @@ export interface NexxtToggleGroupOption {
|
|
|
4
4
|
icon?: IconName;
|
|
5
5
|
label?: string;
|
|
6
6
|
tooltip?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Accessible name for an icon-only option without a visible label. A button
|
|
9
|
+
* whose only content is an icon has no discernible text, so axe flags it with
|
|
10
|
+
* `button-name`; this is the copy that names it. Takes precedence over the
|
|
11
|
+
* `tooltip` fallback below, and is not needed when `label` is set.
|
|
12
|
+
*/
|
|
13
|
+
ariaLabel?: string;
|
|
7
14
|
activeClass?: string;
|
|
8
15
|
}
|
|
9
16
|
interface NexxtToggleGroupProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,9 @@ export type { EnergyLabelLetter } from './components/atoms/EnergyLabel/EnergyLab
|
|
|
5
5
|
export type { IconType, NexxtIconName } from './components/atoms/Icon/Icon.vue';
|
|
6
6
|
export type { CustomIconName } from './components/atoms/Icon/customIcons';
|
|
7
7
|
export type { NexxtTabItem } from './components/molecules/Tabs/Tabs.vue';
|
|
8
|
+
export type { EditorAlignItemsMessages, EditorAlignItemsValue, } from './components/editor/molecules/EditorAlignItems/EditorAlignItems.vue';
|
|
8
9
|
export type { EditorFlexDirectionMessages, EditorFlexDirectionValue, } from './components/editor/molecules/EditorFlexDirection/EditorFlexDirection.vue';
|
|
10
|
+
export type { EditorJustifyContentMessages, EditorJustifyContentValue, } from './components/editor/molecules/EditorJustifyContent/EditorJustifyContent.vue';
|
|
9
11
|
export type { NexxtTemplateCardContentFeature, NexxtTemplateCardProps, NexxtTemplateCardSlots, } from './components/molecules/TemplateCard/TemplateCard.vue';
|
|
10
12
|
export { default as NexxtAnimatedNumber } from './components/atoms/AnimatedNumber/AnimatedNumber.vue';
|
|
11
13
|
export { default as NexxtAnnouncement } from './components/molecules/Announcement/Announcement.vue';
|
|
@@ -24,7 +26,9 @@ export { default as NexxtCustomerJourneyTile } from './components/molecules/Cust
|
|
|
24
26
|
export { default as NexxtDatePicker } from './components/organisms/DatePicker/DatePicker.vue';
|
|
25
27
|
export { default as NexxtDoughnutChart } from './components/molecules/DoughnutChart/DoughnutChart.vue';
|
|
26
28
|
export { default as NexxtDropdownButton } from './components/organisms/DropdownButton/DropdownButton.vue';
|
|
29
|
+
export { default as NexxtEditorAlignItems } from './components/editor/molecules/EditorAlignItems/EditorAlignItems.vue';
|
|
27
30
|
export { default as NexxtEditorFlexDirection } from './components/editor/molecules/EditorFlexDirection/EditorFlexDirection.vue';
|
|
31
|
+
export { default as NexxtEditorJustifyContent } from './components/editor/molecules/EditorJustifyContent/EditorJustifyContent.vue';
|
|
28
32
|
export { default as NexxtEditorSettingsBlock } from './components/editor/atoms/EditorSettingsBlock/EditorSettingsBlock.vue';
|
|
29
33
|
export { default as NexxtEnergyLabel } from './components/atoms/EnergyLabel/EnergyLabel.vue';
|
|
30
34
|
export { default as NexxtFloatingPanel } from './components/atoms/FloatingPanel/FloatingPanel.vue';
|