@nexxtmove/ui 1.30.0 → 1.31.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/molecules/PlaceholderInput/PlaceholderInput.vue.d.ts +33 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +325 -234
- package/dist/nuxt.js +1 -0
- package/package.json +1 -1
- package/src/components/molecules/PlaceholderInput/PlaceholderInput.vue +121 -0
- package/src/components.json +1 -0
- package/src/index.ts +6 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface NexxtPlaceholderGroup {
|
|
2
|
+
/** Heading of the group, shown when there is more than one group. */
|
|
3
|
+
label: string;
|
|
4
|
+
/** Placeholder keys, inserted as `{{key}}`. */
|
|
5
|
+
items: string[];
|
|
6
|
+
}
|
|
7
|
+
export interface NexxtPlaceholderInputMessages {
|
|
8
|
+
/** Accessible name and tooltip of the pen button. */
|
|
9
|
+
insert?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface NexxtPlaceholderInputProps {
|
|
12
|
+
placeholders: NexxtPlaceholderGroup[];
|
|
13
|
+
label?: string;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
error?: boolean;
|
|
17
|
+
errorMessage?: string;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
messages?: NexxtPlaceholderInputMessages;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
declare const __VLS_export: import('vue').DefineComponent<NexxtPlaceholderInputProps & {
|
|
24
|
+
/** The text, with placeholders written as `{{key}}`. */
|
|
25
|
+
modelValue?: string;
|
|
26
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
"update:modelValue": (value: string) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<NexxtPlaceholderInputProps & {
|
|
29
|
+
/** The text, with placeholders written as `{{key}}`. */
|
|
30
|
+
modelValue?: string;
|
|
31
|
+
}> & Readonly<{
|
|
32
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export type { NexxtTabItem } from './components/molecules/Tabs/Tabs.vue';
|
|
|
8
8
|
export type { NexxtPageCardProps, NexxtPageCardSlots, } from './components/molecules/PageCard/PageCard.vue';
|
|
9
9
|
export type { NexxtPageMockupType } from './components/molecules/PageMockup/PageMockup.vue';
|
|
10
10
|
export type { NexxtTreeNode, NexxtTreeProps } from './components/molecules/Tree/Tree.vue';
|
|
11
|
+
export type { NexxtPlaceholderGroup, NexxtPlaceholderInputMessages, NexxtPlaceholderInputProps, } from './components/molecules/PlaceholderInput/PlaceholderInput.vue';
|
|
11
12
|
export type { EditorAlignItemsMessages, EditorAlignItemsValue, } from './components/editor/molecules/EditorAlignItems/EditorAlignItems.vue';
|
|
12
13
|
export type { EditorBackgroundSizeMessages, EditorBackgroundSizeValue, } from './components/editor/molecules/EditorBackgroundSize/EditorBackgroundSize.vue';
|
|
13
14
|
export type { EditorFlexDirectionMessages, EditorFlexDirectionValue, } from './components/editor/molecules/EditorFlexDirection/EditorFlexDirection.vue';
|
|
@@ -67,6 +68,7 @@ export { default as NexxtPageContainer } from './components/molecules/PageContai
|
|
|
67
68
|
export { default as NexxtPageMockup } from './components/molecules/PageMockup/PageMockup.vue';
|
|
68
69
|
export { default as NexxtPageTypeTile } from './components/molecules/PageTypeTile/PageTypeTile.vue';
|
|
69
70
|
export { default as NexxtPagination } from './components/molecules/Pagination/Pagination.vue';
|
|
71
|
+
export { default as NexxtPlaceholderInput } from './components/molecules/PlaceholderInput/PlaceholderInput.vue';
|
|
70
72
|
export { default as NexxtPresenceIndicator } from './components/atoms/PresenceIndicator/PresenceIndicator.vue';
|
|
71
73
|
export { default as NexxtProgressBar } from './components/organisms/ProgressBar/ProgressBar.vue';
|
|
72
74
|
export { default as NexxtPropertyCard } from './components/molecules/PropertyCard/PropertyCard.vue';
|