@codemonster-ru/vueforge 0.74.0 → 0.75.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 @@
1
+ export {};
@@ -59,13 +59,13 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
59
59
  onRowClick?: ((...args: any[]) => any) | undefined;
60
60
  }>, {
61
61
  size: Size;
62
+ columns: Array<DataTableColumn>;
62
63
  loading: boolean;
63
64
  variant: Variant;
64
65
  ariaLabel: string;
65
66
  loadingText: string;
66
67
  emptyText: string;
67
68
  rows: Array<Record<string, unknown>>;
68
- columns: Array<DataTableColumn>;
69
69
  rowKey: string | ((row: Record<string, unknown>, index: number) => string | number);
70
70
  sortable: boolean;
71
71
  sortField: string | null;
@@ -0,0 +1,36 @@
1
+ type Breakpoint = 'sm' | 'md' | 'lg' | 'xl';
2
+ type GridItemBreakpointConfig = {
3
+ span?: number | string;
4
+ start?: number | string;
5
+ end?: number | string;
6
+ };
7
+ interface Props {
8
+ as?: string;
9
+ span?: number | string;
10
+ start?: number | string;
11
+ end?: number | string;
12
+ breakpoints?: Partial<Record<Breakpoint, GridItemBreakpointConfig>>;
13
+ }
14
+ declare function __VLS_template(): {
15
+ attrs: Partial<{}>;
16
+ slots: {
17
+ default?(_: {}): any;
18
+ };
19
+ refs: {};
20
+ rootEl: any;
21
+ };
22
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
24
+ as: string;
25
+ end: number | string;
26
+ span: number | string;
27
+ start: number | string;
28
+ breakpoints: Partial<Record<Breakpoint, GridItemBreakpointConfig>>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,47 @@
1
+ type Align = 'start' | 'center' | 'end' | 'stretch';
2
+ type Justify = 'start' | 'center' | 'end' | 'stretch';
3
+ type Breakpoint = 'sm' | 'md' | 'lg' | 'xl';
4
+ type GridBreakpointConfig = {
5
+ columns?: number | string;
6
+ gap?: string;
7
+ columnGap?: string;
8
+ rowGap?: string;
9
+ align?: Align;
10
+ justify?: Justify;
11
+ };
12
+ interface Props {
13
+ as?: string;
14
+ columns?: number | string;
15
+ gap?: string;
16
+ columnGap?: string;
17
+ rowGap?: string;
18
+ align?: Align;
19
+ justify?: Justify;
20
+ breakpoints?: Partial<Record<Breakpoint, GridBreakpointConfig>>;
21
+ }
22
+ declare function __VLS_template(): {
23
+ attrs: Partial<{}>;
24
+ slots: {
25
+ default?(_: {}): any;
26
+ };
27
+ refs: {};
28
+ rootEl: any;
29
+ };
30
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
32
+ as: string;
33
+ columns: number | string;
34
+ gap: string;
35
+ columnGap: string;
36
+ rowGap: string;
37
+ align: Align;
38
+ justify: Justify;
39
+ breakpoints: Partial<Record<Breakpoint, GridBreakpointConfig>>;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
+ export default _default;
43
+ type __VLS_WithTemplateSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -19,17 +19,17 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
19
19
  blur: (...args: any[]) => void;
20
20
  cancel: (...args: any[]) => void;
21
21
  focus: (...args: any[]) => void;
22
+ start: (...args: any[]) => void;
22
23
  "update:modelValue": (...args: any[]) => void;
23
24
  save: (...args: any[]) => void;
24
- start: (...args: any[]) => void;
25
25
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
26
26
  onEnd?: ((...args: any[]) => any) | undefined;
27
27
  onBlur?: ((...args: any[]) => any) | undefined;
28
28
  onCancel?: ((...args: any[]) => any) | undefined;
29
29
  onFocus?: ((...args: any[]) => any) | undefined;
30
+ onStart?: ((...args: any[]) => any) | undefined;
30
31
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
31
32
  onSave?: ((...args: any[]) => any) | undefined;
32
- onStart?: ((...args: any[]) => any) | undefined;
33
33
  }>, {
34
34
  type: InlineEditType;
35
35
  disabled: boolean;
@@ -76,9 +76,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
76
76
  "onUpdate:items"?: ((...args: any[]) => any) | undefined;
77
77
  onMove?: ((...args: any[]) => any) | undefined;
78
78
  }>, {
79
+ columns: Array<KanbanColumn>;
79
80
  items: Array<KanbanBoardItem>;
80
81
  ariaLabel: string;
81
- columns: Array<KanbanColumn>;
82
82
  emptyColumnText: string;
83
83
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
84
84
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -51,6 +51,18 @@ export type SectionTokens = {
51
51
  backgroundColorElevated?: string;
52
52
  borderColor?: string;
53
53
  };
54
+ export type GridTokens = {
55
+ columns?: string;
56
+ gap?: string;
57
+ columnGap?: string;
58
+ rowGap?: string;
59
+ alignItems?: string;
60
+ justifyItems?: string;
61
+ breakpointSm?: string;
62
+ breakpointMd?: string;
63
+ breakpointLg?: string;
64
+ breakpointXl?: string;
65
+ };
54
66
  export type CheckboxTokens = {
55
67
  size?: string;
56
68
  gap?: string;
@@ -2141,6 +2153,7 @@ export type ThemeComponentTokens = {
2141
2153
  card?: CardTokens;
2142
2154
  container?: ContainerTokens;
2143
2155
  section?: SectionTokens;
2156
+ grid?: GridTokens;
2144
2157
  checkbox?: CheckboxTokens;
2145
2158
  radio?: RadioTokens;
2146
2159
  tabs?: TabsTokens;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ columns: string;
3
+ gap: string;
4
+ columnGap: string;
5
+ rowGap: string;
6
+ alignItems: string;
7
+ justifyItems: string;
8
+ breakpointSm: string;
9
+ breakpointMd: string;
10
+ breakpointLg: string;
11
+ breakpointXl: string;
12
+ };
13
+ export default _default;
@@ -227,6 +227,18 @@ declare const _default: {
227
227
  paddingXSm: string;
228
228
  paddingXLg: string;
229
229
  };
230
+ grid: {
231
+ columns: string;
232
+ gap: string;
233
+ columnGap: string;
234
+ rowGap: string;
235
+ alignItems: string;
236
+ justifyItems: string;
237
+ breakpointSm: string;
238
+ breakpointMd: string;
239
+ breakpointLg: string;
240
+ breakpointXl: string;
241
+ };
230
242
  section: {
231
243
  paddingY: string;
232
244
  paddingYSm: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.74.0",
3
+ "version": "0.75.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",