@codemonster-ru/vueforge 0.27.0 → 0.28.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,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
+ };
@@ -175,6 +175,33 @@ export type ModalTokens = {
175
175
  closeFontSize?: string;
176
176
  closeHoverBackgroundColor?: string;
177
177
  };
178
+ export type DrawerTokens = {
179
+ width?: string;
180
+ widthSm?: string;
181
+ widthLg?: string;
182
+ height?: string;
183
+ heightSm?: string;
184
+ heightLg?: string;
185
+ padding?: string;
186
+ borderRadius?: string;
187
+ backgroundColor?: string;
188
+ textColor?: string;
189
+ overlayBackgroundColor?: string;
190
+ shadow?: string;
191
+ zIndex?: string;
192
+ headerGap?: string;
193
+ bodyGap?: string;
194
+ footerGap?: string;
195
+ titleFontSize?: string;
196
+ titleLineHeight?: string;
197
+ titleFontWeight?: string;
198
+ closeSize?: string;
199
+ closeRadius?: string;
200
+ closeOffset?: string;
201
+ closeColor?: string;
202
+ closeFontSize?: string;
203
+ closeHoverBackgroundColor?: string;
204
+ };
178
205
  export type PopoverTokens = {
179
206
  borderRadius?: string;
180
207
  borderColor?: string;
@@ -727,6 +754,7 @@ export type ThemeComponentTokens = {
727
754
  link?: LinkTokens;
728
755
  menu?: MenuTokens;
729
756
  modal?: ModalTokens;
757
+ drawer?: DrawerTokens;
730
758
  popover?: PopoverTokens;
731
759
  select?: SelectTokens;
732
760
  autocomplete?: AutocompleteTokens;
@@ -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;
@@ -332,6 +332,33 @@ declare const _default: {
332
332
  closeFontSize: string;
333
333
  closeHoverBackgroundColor: string;
334
334
  };
335
+ drawer: {
336
+ width: string;
337
+ widthSm: string;
338
+ widthLg: string;
339
+ height: string;
340
+ heightSm: string;
341
+ heightLg: string;
342
+ padding: string;
343
+ borderRadius: string;
344
+ backgroundColor: string;
345
+ textColor: string;
346
+ overlayBackgroundColor: string;
347
+ shadow: string;
348
+ zIndex: string;
349
+ headerGap: string;
350
+ bodyGap: string;
351
+ footerGap: string;
352
+ titleFontSize: string;
353
+ titleLineHeight: string;
354
+ titleFontWeight: string;
355
+ closeSize: string;
356
+ closeRadius: string;
357
+ closeOffset: string;
358
+ closeColor: string;
359
+ closeFontSize: string;
360
+ closeHoverBackgroundColor: string;
361
+ };
335
362
  popover: {
336
363
  backgroundColor: string;
337
364
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",