@codemonster-ru/vueforge 0.61.0 → 0.62.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,15 @@
1
+ import { ComputedRef, InjectionKey, StyleValue } from 'vue';
2
+ export type SplitterDirection = 'horizontal' | 'vertical';
3
+ export type SplitterPanelConfig = {
4
+ id: string;
5
+ size?: number;
6
+ minSize?: number;
7
+ };
8
+ export type SplitterContext = {
9
+ direction: ComputedRef<SplitterDirection>;
10
+ disabled: ComputedRef<boolean>;
11
+ registerPanel: (config: Omit<SplitterPanelConfig, 'id'>) => string;
12
+ unregisterPanel: (id: string) => void;
13
+ getPanelStyle: (id: string) => StyleValue;
14
+ };
15
+ export declare const splitterKey: InjectionKey<SplitterContext>;
@@ -0,0 +1,24 @@
1
+ interface Props {
2
+ size?: number;
3
+ minSize?: number;
4
+ }
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
15
+ size: number;
16
+ minSize: number;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,41 @@
1
+ import { SplitterDirection } from './splitter-context';
2
+ interface Props {
3
+ modelValue?: Array<number>;
4
+ minSizes?: Array<number>;
5
+ direction?: SplitterDirection;
6
+ gutterSize?: number | string;
7
+ disabled?: boolean;
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ default?(_: {}): any;
13
+ };
14
+ refs: {
15
+ root: HTMLDivElement;
16
+ };
17
+ rootEl: HTMLDivElement;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ change: (...args: any[]) => void;
22
+ "update:modelValue": (...args: any[]) => void;
23
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
24
+ onChange?: ((...args: any[]) => any) | undefined;
25
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
26
+ }>, {
27
+ disabled: boolean;
28
+ modelValue: Array<number>;
29
+ direction: SplitterDirection;
30
+ minSizes: Array<number>;
31
+ gutterSize: number | string;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
33
+ root: HTMLDivElement;
34
+ }, HTMLDivElement>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
+ export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -1402,6 +1402,17 @@ export type VirtualScrollerTokens = {
1402
1402
  emptyPadding?: string;
1403
1403
  emptyColor?: string;
1404
1404
  };
1405
+ export type SplitterTokens = {
1406
+ borderColor?: string;
1407
+ borderRadius?: string;
1408
+ panelBackgroundColor?: string;
1409
+ handleWidth?: string;
1410
+ handleHeight?: string;
1411
+ handleRadius?: string;
1412
+ handleColor?: string;
1413
+ gutterActiveBackgroundColor?: string;
1414
+ disabledOpacity?: string;
1415
+ };
1405
1416
  export type StepperTokens = {
1406
1417
  gap?: string;
1407
1418
  itemGap?: string;
@@ -1850,6 +1861,7 @@ export type ThemeComponentTokens = {
1850
1861
  skeleton?: SkeletonTokens;
1851
1862
  progress?: ProgressTokens;
1852
1863
  slider?: SliderTokens;
1864
+ splitter?: SplitterTokens;
1853
1865
  stepper?: StepperTokens;
1854
1866
  timeline?: TimelineTokens;
1855
1867
  datatable?: DataTableTokens;
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ borderColor: string;
3
+ borderRadius: string;
4
+ panelBackgroundColor: string;
5
+ handleWidth: string;
6
+ handleHeight: string;
7
+ handleRadius: string;
8
+ handleColor: string;
9
+ gutterActiveBackgroundColor: string;
10
+ disabledOpacity: string;
11
+ };
12
+ export default _default;
@@ -1823,6 +1823,17 @@ declare const _default: {
1823
1823
  valueFontSize: string;
1824
1824
  };
1825
1825
  };
1826
+ splitter: {
1827
+ borderColor: string;
1828
+ borderRadius: string;
1829
+ panelBackgroundColor: string;
1830
+ handleWidth: string;
1831
+ handleHeight: string;
1832
+ handleRadius: string;
1833
+ handleColor: string;
1834
+ gutterActiveBackgroundColor: string;
1835
+ disabledOpacity: string;
1836
+ };
1826
1837
  stepper: {
1827
1838
  gap: string;
1828
1839
  itemGap: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.61.0",
3
+ "version": "0.62.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",