@codemonster-ru/vueforge 0.15.0 → 0.16.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,41 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ interface Props {
4
+ modelValue?: string;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ readonly?: boolean;
8
+ min?: string;
9
+ max?: string;
10
+ locale?: string;
11
+ firstDayOfWeek?: number;
12
+ variant?: Variant;
13
+ size?: Size;
14
+ }
15
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ blur: (...args: any[]) => void;
17
+ change: (...args: any[]) => void;
18
+ focus: (...args: any[]) => void;
19
+ "update:modelValue": (...args: any[]) => void;
20
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
21
+ onBlur?: ((...args: any[]) => any) | undefined;
22
+ onChange?: ((...args: any[]) => any) | undefined;
23
+ onFocus?: ((...args: any[]) => any) | undefined;
24
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
25
+ }>, {
26
+ disabled: boolean;
27
+ size: Size;
28
+ variant: Variant;
29
+ modelValue: string;
30
+ placeholder: string;
31
+ readonly: boolean;
32
+ min: string;
33
+ max: string;
34
+ locale: string;
35
+ firstDayOfWeek: number;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
37
+ root: HTMLDivElement;
38
+ control: HTMLButtonElement;
39
+ panel: HTMLDivElement;
40
+ }, HTMLDivElement>;
41
+ export default _default;
@@ -234,6 +234,57 @@ export type AutocompleteTokens = {
234
234
  fontSize?: string;
235
235
  };
236
236
  };
237
+ export type DatePickerTokens = {
238
+ minWidth?: string;
239
+ fontSize?: string;
240
+ controlGap?: string;
241
+ chevronSize?: string;
242
+ padding?: string;
243
+ borderRadius?: string;
244
+ borderColor?: string;
245
+ backgroundColor?: string;
246
+ textColor?: string;
247
+ placeholderColor?: string;
248
+ focusBorderColor?: string;
249
+ hoverBorderColor?: string;
250
+ disabledOpacity?: string;
251
+ panelWidth?: string;
252
+ panelBackgroundColor?: string;
253
+ panelBorderColor?: string;
254
+ panelPadding?: string;
255
+ panelRadiusOffset?: string;
256
+ panelShadow?: string;
257
+ focusRingShadow?: string;
258
+ headerGap?: string;
259
+ headerPadding?: string;
260
+ monthLabelFontSize?: string;
261
+ monthLabelFontWeight?: string;
262
+ navButtonSize?: string;
263
+ navButtonRadius?: string;
264
+ navButtonFontSize?: string;
265
+ weekdayColor?: string;
266
+ weekdayFontSize?: string;
267
+ weekdaysMarginBottom?: string;
268
+ daysGap?: string;
269
+ daySize?: string;
270
+ dayFontSize?: string;
271
+ dayBorderRadius?: string;
272
+ dayHoverBackgroundColor?: string;
273
+ daySelectedBackgroundColor?: string;
274
+ daySelectedTextColor?: string;
275
+ dayMutedColor?: string;
276
+ dayTodayBorderColor?: string;
277
+ small?: {
278
+ padding?: string;
279
+ fontSize?: string;
280
+ daySize?: string;
281
+ };
282
+ large?: {
283
+ padding?: string;
284
+ fontSize?: string;
285
+ daySize?: string;
286
+ };
287
+ };
237
288
  export type SwitchTokens = {
238
289
  width?: string;
239
290
  height?: string;
@@ -335,6 +386,7 @@ export type ThemeComponentTokens = {
335
386
  popover?: PopoverTokens;
336
387
  select?: SelectTokens;
337
388
  autocomplete?: AutocompleteTokens;
389
+ datepicker?: DatePickerTokens;
338
390
  switch?: SwitchTokens;
339
391
  tooltip?: TooltipTokens;
340
392
  toast?: ToastTokens;
@@ -0,0 +1,52 @@
1
+ declare const _default: {
2
+ minWidth: string;
3
+ fontSize: string;
4
+ controlGap: string;
5
+ chevronSize: string;
6
+ padding: string;
7
+ borderRadius: string;
8
+ borderColor: string;
9
+ backgroundColor: string;
10
+ textColor: string;
11
+ placeholderColor: string;
12
+ focusBorderColor: string;
13
+ hoverBorderColor: string;
14
+ disabledOpacity: string;
15
+ panelWidth: string;
16
+ panelBackgroundColor: string;
17
+ panelBorderColor: string;
18
+ panelPadding: string;
19
+ panelRadiusOffset: string;
20
+ panelShadow: string;
21
+ focusRingShadow: string;
22
+ headerGap: string;
23
+ headerPadding: string;
24
+ monthLabelFontSize: string;
25
+ monthLabelFontWeight: string;
26
+ navButtonSize: string;
27
+ navButtonRadius: string;
28
+ navButtonFontSize: string;
29
+ weekdayColor: string;
30
+ weekdayFontSize: string;
31
+ weekdaysMarginBottom: string;
32
+ daysGap: string;
33
+ daySize: string;
34
+ dayFontSize: string;
35
+ dayBorderRadius: string;
36
+ dayHoverBackgroundColor: string;
37
+ daySelectedBackgroundColor: string;
38
+ daySelectedTextColor: string;
39
+ dayMutedColor: string;
40
+ dayTodayBorderColor: string;
41
+ small: {
42
+ padding: string;
43
+ fontSize: string;
44
+ daySize: string;
45
+ };
46
+ large: {
47
+ padding: string;
48
+ fontSize: string;
49
+ daySize: string;
50
+ };
51
+ };
52
+ export default _default;
@@ -388,6 +388,57 @@ declare const _default: {
388
388
  fontSize: string;
389
389
  };
390
390
  };
391
+ datepicker: {
392
+ minWidth: string;
393
+ fontSize: string;
394
+ controlGap: string;
395
+ chevronSize: string;
396
+ padding: string;
397
+ borderRadius: string;
398
+ borderColor: string;
399
+ backgroundColor: string;
400
+ textColor: string;
401
+ placeholderColor: string;
402
+ focusBorderColor: string;
403
+ hoverBorderColor: string;
404
+ disabledOpacity: string;
405
+ panelWidth: string;
406
+ panelBackgroundColor: string;
407
+ panelBorderColor: string;
408
+ panelPadding: string;
409
+ panelRadiusOffset: string;
410
+ panelShadow: string;
411
+ focusRingShadow: string;
412
+ headerGap: string;
413
+ headerPadding: string;
414
+ monthLabelFontSize: string;
415
+ monthLabelFontWeight: string;
416
+ navButtonSize: string;
417
+ navButtonRadius: string;
418
+ navButtonFontSize: string;
419
+ weekdayColor: string;
420
+ weekdayFontSize: string;
421
+ weekdaysMarginBottom: string;
422
+ daysGap: string;
423
+ daySize: string;
424
+ dayFontSize: string;
425
+ dayBorderRadius: string;
426
+ dayHoverBackgroundColor: string;
427
+ daySelectedBackgroundColor: string;
428
+ daySelectedTextColor: string;
429
+ dayMutedColor: string;
430
+ dayTodayBorderColor: string;
431
+ small: {
432
+ padding: string;
433
+ fontSize: string;
434
+ daySize: string;
435
+ };
436
+ large: {
437
+ padding: string;
438
+ fontSize: string;
439
+ daySize: string;
440
+ };
441
+ };
391
442
  checkbox: {
392
443
  size: string;
393
444
  gap: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",