@codemonster-ru/vueforge 0.36.0 → 0.37.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,52 @@
1
+ type RatingSize = 'small' | 'normal' | 'large';
2
+ interface Props {
3
+ modelValue?: number;
4
+ max?: number;
5
+ size?: RatingSize;
6
+ allowHalf?: boolean;
7
+ readonly?: boolean;
8
+ disabled?: boolean;
9
+ ariaLabel?: string;
10
+ }
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ icon?(_: {}): any;
15
+ 'active-icon'?(_: {}): any;
16
+ };
17
+ refs: {
18
+ rootRef: HTMLDivElement;
19
+ itemRefs: HTMLButtonElement[];
20
+ };
21
+ rootEl: HTMLDivElement;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ blur: (...args: any[]) => void;
26
+ change: (...args: any[]) => void;
27
+ focus: (...args: any[]) => void;
28
+ "update:modelValue": (...args: any[]) => void;
29
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
30
+ onBlur?: ((...args: any[]) => any) | undefined;
31
+ onChange?: ((...args: any[]) => any) | undefined;
32
+ onFocus?: ((...args: any[]) => any) | undefined;
33
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
34
+ }>, {
35
+ disabled: boolean;
36
+ size: RatingSize;
37
+ modelValue: number;
38
+ readonly: boolean;
39
+ max: number;
40
+ ariaLabel: string;
41
+ allowHalf: boolean;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
43
+ rootRef: HTMLDivElement;
44
+ itemRefs: HTMLButtonElement[];
45
+ }, HTMLDivElement>;
46
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
47
+ export default _default;
48
+ type __VLS_WithTemplateSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
@@ -746,6 +746,22 @@ export type SliderTokens = {
746
746
  valueFontSize?: string;
747
747
  };
748
748
  };
749
+ export type RatingTokens = {
750
+ gap?: string;
751
+ size?: string;
752
+ color?: string;
753
+ activeColor?: string;
754
+ hoverColor?: string;
755
+ focusRingShadow?: string;
756
+ focusRadius?: string;
757
+ disabledOpacity?: string;
758
+ small?: {
759
+ size?: string;
760
+ };
761
+ large?: {
762
+ size?: string;
763
+ };
764
+ };
749
765
  export type StepperTokens = {
750
766
  gap?: string;
751
767
  itemGap?: string;
@@ -1053,6 +1069,7 @@ export type ThemeComponentTokens = {
1053
1069
  badge?: BadgeTokens;
1054
1070
  chip?: ChipTokens;
1055
1071
  avatar?: AvatarTokens;
1072
+ rating?: RatingTokens;
1056
1073
  [key: string]: unknown;
1057
1074
  };
1058
1075
  export type ThemeTokens = {
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ size: string;
4
+ color: string;
5
+ activeColor: string;
6
+ hoverColor: string;
7
+ focusRingShadow: string;
8
+ focusRadius: string;
9
+ disabledOpacity: string;
10
+ small: {
11
+ size: string;
12
+ };
13
+ large: {
14
+ size: string;
15
+ };
16
+ };
17
+ export default _default;
@@ -1249,6 +1249,22 @@ declare const _default: {
1249
1249
  itemGap: string;
1250
1250
  };
1251
1251
  };
1252
+ rating: {
1253
+ gap: string;
1254
+ size: string;
1255
+ color: string;
1256
+ activeColor: string;
1257
+ hoverColor: string;
1258
+ focusRingShadow: string;
1259
+ focusRadius: string;
1260
+ disabledOpacity: string;
1261
+ small: {
1262
+ size: string;
1263
+ };
1264
+ large: {
1265
+ size: string;
1266
+ };
1267
+ };
1252
1268
  };
1253
1269
  colors: {
1254
1270
  white: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.36.0",
3
+ "version": "0.37.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",