@codemonster-ru/vueforge 0.27.0 → 0.29.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 {};
@@ -0,0 +1,43 @@
1
+ import { RouteLocationAsRelativeGeneric, RouteLocationAsPathGeneric } from 'vue-router';
2
+ interface BreadcrumbItem {
3
+ label?: string;
4
+ to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric;
5
+ href?: string;
6
+ url?: string;
7
+ active?: boolean;
8
+ disabled?: boolean;
9
+ }
10
+ interface Props {
11
+ items?: Array<BreadcrumbItem>;
12
+ separator?: string;
13
+ ariaLabel?: string;
14
+ }
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: {
18
+ item?(_: {
19
+ item: BreadcrumbItem;
20
+ index: number;
21
+ isLast: boolean;
22
+ active: boolean;
23
+ }): any;
24
+ separator?(_: {
25
+ separator: string;
26
+ }): any;
27
+ };
28
+ refs: {};
29
+ rootEl: HTMLElement;
30
+ };
31
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
32
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
33
+ items: Array<BreadcrumbItem>;
34
+ separator: string;
35
+ ariaLabel: string;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ export default _default;
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -0,0 +1,59 @@
1
+ interface Props {
2
+ modelValue?: boolean;
3
+ title?: string;
4
+ position?: 'left' | 'right' | 'top' | 'bottom';
5
+ overlay?: boolean;
6
+ closeOnOverlay?: boolean;
7
+ closeOnEsc?: boolean;
8
+ showClose?: boolean;
9
+ lockScroll?: boolean;
10
+ size?: 'sm' | 'md' | 'lg';
11
+ }
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: {
15
+ header?(_: {}): any;
16
+ close?(_: {
17
+ close: () => void;
18
+ }): any;
19
+ body?(_: {}): any;
20
+ default?(_: {}): any;
21
+ footer?(_: {}): any;
22
+ };
23
+ refs: {
24
+ panel: HTMLDivElement;
25
+ };
26
+ rootEl: any;
27
+ };
28
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
+ declare const __VLS_component: import('vue').DefineComponent<Props, {
30
+ open: () => void;
31
+ close: () => void;
32
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
+ close: (...args: any[]) => void;
34
+ "update:modelValue": (...args: any[]) => void;
35
+ open: (...args: any[]) => void;
36
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
37
+ onClose?: ((...args: any[]) => any) | undefined;
38
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
39
+ onOpen?: ((...args: any[]) => any) | undefined;
40
+ }>, {
41
+ title: string;
42
+ size: "sm" | "md" | "lg";
43
+ modelValue: boolean;
44
+ position: "left" | "right" | "top" | "bottom";
45
+ closeOnOverlay: boolean;
46
+ closeOnEsc: boolean;
47
+ showClose: boolean;
48
+ lockScroll: boolean;
49
+ overlay: boolean;
50
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
51
+ panel: HTMLDivElement;
52
+ }, any>;
53
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
54
+ export default _default;
55
+ type __VLS_WithTemplateSlots<T, S> = T & {
56
+ new (): {
57
+ $slots: S;
58
+ };
59
+ };
@@ -126,6 +126,15 @@ export type LinkTokens = {
126
126
  hoverColor?: string;
127
127
  activeColor?: string;
128
128
  };
129
+ export type BreadcrumbsTokens = {
130
+ gap?: string;
131
+ fontSize?: string;
132
+ textColor?: string;
133
+ hoverColor?: string;
134
+ activeColor?: string;
135
+ separatorColor?: string;
136
+ disabledOpacity?: string;
137
+ };
129
138
  export type MenuTokens = {
130
139
  iconGap?: string;
131
140
  submenuOffset?: string;
@@ -175,6 +184,33 @@ export type ModalTokens = {
175
184
  closeFontSize?: string;
176
185
  closeHoverBackgroundColor?: string;
177
186
  };
187
+ export type DrawerTokens = {
188
+ width?: string;
189
+ widthSm?: string;
190
+ widthLg?: string;
191
+ height?: string;
192
+ heightSm?: string;
193
+ heightLg?: string;
194
+ padding?: string;
195
+ borderRadius?: string;
196
+ backgroundColor?: string;
197
+ textColor?: string;
198
+ overlayBackgroundColor?: string;
199
+ shadow?: string;
200
+ zIndex?: string;
201
+ headerGap?: string;
202
+ bodyGap?: string;
203
+ footerGap?: string;
204
+ titleFontSize?: string;
205
+ titleLineHeight?: string;
206
+ titleFontWeight?: string;
207
+ closeSize?: string;
208
+ closeRadius?: string;
209
+ closeOffset?: string;
210
+ closeColor?: string;
211
+ closeFontSize?: string;
212
+ closeHoverBackgroundColor?: string;
213
+ };
178
214
  export type PopoverTokens = {
179
215
  borderRadius?: string;
180
216
  borderColor?: string;
@@ -725,8 +761,10 @@ export type ThemeComponentTokens = {
725
761
  formField?: FormFieldTokens;
726
762
  textarea?: TextareaTokens;
727
763
  link?: LinkTokens;
764
+ breadcrumbs?: BreadcrumbsTokens;
728
765
  menu?: MenuTokens;
729
766
  modal?: ModalTokens;
767
+ drawer?: DrawerTokens;
730
768
  popover?: PopoverTokens;
731
769
  select?: SelectTokens;
732
770
  autocomplete?: AutocompleteTokens;
@@ -0,0 +1,10 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ fontSize: string;
4
+ textColor: string;
5
+ hoverColor: string;
6
+ activeColor: string;
7
+ separatorColor: string;
8
+ disabledOpacity: string;
9
+ };
10
+ export default _default;
@@ -0,0 +1,28 @@
1
+ declare const _default: {
2
+ width: string;
3
+ widthSm: string;
4
+ widthLg: string;
5
+ height: string;
6
+ heightSm: string;
7
+ heightLg: string;
8
+ padding: string;
9
+ borderRadius: string;
10
+ backgroundColor: string;
11
+ textColor: string;
12
+ overlayBackgroundColor: string;
13
+ shadow: string;
14
+ zIndex: string;
15
+ headerGap: string;
16
+ bodyGap: string;
17
+ footerGap: string;
18
+ titleFontSize: string;
19
+ titleLineHeight: string;
20
+ titleFontWeight: string;
21
+ closeSize: string;
22
+ closeRadius: string;
23
+ closeOffset: string;
24
+ closeColor: string;
25
+ closeFontSize: string;
26
+ closeHoverBackgroundColor: string;
27
+ };
28
+ export default _default;
@@ -283,6 +283,15 @@ declare const _default: {
283
283
  hoverColor: string;
284
284
  activeColor: string;
285
285
  };
286
+ breadcrumbs: {
287
+ gap: string;
288
+ fontSize: string;
289
+ textColor: string;
290
+ hoverColor: string;
291
+ activeColor: string;
292
+ separatorColor: string;
293
+ disabledOpacity: string;
294
+ };
286
295
  menu: {
287
296
  iconGap: string;
288
297
  submenuOffset: string;
@@ -332,6 +341,33 @@ declare const _default: {
332
341
  closeFontSize: string;
333
342
  closeHoverBackgroundColor: string;
334
343
  };
344
+ drawer: {
345
+ width: string;
346
+ widthSm: string;
347
+ widthLg: string;
348
+ height: string;
349
+ heightSm: string;
350
+ heightLg: string;
351
+ padding: string;
352
+ borderRadius: string;
353
+ backgroundColor: string;
354
+ textColor: string;
355
+ overlayBackgroundColor: string;
356
+ shadow: string;
357
+ zIndex: string;
358
+ headerGap: string;
359
+ bodyGap: string;
360
+ footerGap: string;
361
+ titleFontSize: string;
362
+ titleLineHeight: string;
363
+ titleFontWeight: string;
364
+ closeSize: string;
365
+ closeRadius: string;
366
+ closeOffset: string;
367
+ closeColor: string;
368
+ closeFontSize: string;
369
+ closeHoverBackgroundColor: string;
370
+ };
335
371
  popover: {
336
372
  backgroundColor: string;
337
373
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.27.0",
3
+ "version": "0.29.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",