@nexxtmove/ui 1.14.0 → 1.15.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,35 @@
1
+ interface NexxtEditorSettingsBlockProps {
2
+ /** Header text of the block. Wraps over multiple lines when it is too long. */
3
+ label: string;
4
+ /**
5
+ * Render a switch next to the label that collapses and expands the content.
6
+ * When `false` the content is always visible and the model is ignored.
7
+ */
8
+ switchable?: boolean;
9
+ }
10
+ type __VLS_Props = NexxtEditorSettingsBlockProps;
11
+ type __VLS_ModelProps = {
12
+ /**
13
+ * Open state of the block, driven by the switch. Only has an effect when
14
+ * `switchable` is `true`; the parent owns the state.
15
+ */
16
+ modelValue?: boolean;
17
+ };
18
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
19
+ declare var __VLS_7: {};
20
+ type __VLS_Slots = {} & {
21
+ default?: (props: typeof __VLS_7) => any;
22
+ };
23
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ "update:modelValue": (value: boolean) => any;
25
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
27
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
package/dist/index.d.ts CHANGED
@@ -23,6 +23,7 @@ export { default as NexxtCustomerJourneyTile } from './components/molecules/Cust
23
23
  export { default as NexxtDatePicker } from './components/organisms/DatePicker/DatePicker.vue';
24
24
  export { default as NexxtDoughnutChart } from './components/molecules/DoughnutChart/DoughnutChart.vue';
25
25
  export { default as NexxtDropdownButton } from './components/organisms/DropdownButton/DropdownButton.vue';
26
+ export { default as NexxtEditorSettingsBlock } from './components/editor/atoms/EditorSettingsBlock/EditorSettingsBlock.vue';
26
27
  export { default as NexxtEnergyLabel } from './components/atoms/EnergyLabel/EnergyLabel.vue';
27
28
  export { default as NexxtFloatingPanel } from './components/atoms/FloatingPanel/FloatingPanel.vue';
28
29
  export { default as NexxtHeader } from './components/organisms/Header/Header.vue';