@codemonster-ru/vueforge 0.52.0 → 0.54.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,49 @@
1
+ type FilterValue = string | number;
2
+ type FilterModel = FilterValue | Array<FilterValue> | null;
3
+ type FilterVariant = 'soft' | 'outline' | 'solid';
4
+ type FilterSize = 'small' | 'normal' | 'large';
5
+ interface FilterChipOption {
6
+ label: string;
7
+ value: FilterValue;
8
+ disabled?: boolean;
9
+ count?: number;
10
+ }
11
+ interface Props {
12
+ modelValue?: FilterModel;
13
+ options?: Array<FilterChipOption>;
14
+ multiple?: boolean;
15
+ allowEmpty?: boolean;
16
+ clearable?: boolean;
17
+ clearText?: string;
18
+ clearLabel?: string;
19
+ disabled?: boolean;
20
+ wrap?: boolean;
21
+ size?: FilterSize;
22
+ variant?: FilterVariant;
23
+ ariaLabel?: string;
24
+ ariaLabelledby?: string;
25
+ }
26
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ change: (...args: any[]) => void;
28
+ "update:modelValue": (...args: any[]) => void;
29
+ clear: (...args: any[]) => void;
30
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
31
+ onChange?: ((...args: any[]) => any) | undefined;
32
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
33
+ onClear?: ((...args: any[]) => any) | undefined;
34
+ }>, {
35
+ disabled: boolean;
36
+ size: FilterSize;
37
+ variant: FilterVariant;
38
+ modelValue: FilterModel;
39
+ clearable: boolean;
40
+ ariaLabel: string;
41
+ multiple: boolean;
42
+ options: Array<FilterChipOption>;
43
+ ariaLabelledby: string;
44
+ allowEmpty: boolean;
45
+ clearText: string;
46
+ clearLabel: string;
47
+ wrap: boolean;
48
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
49
+ export default _default;
@@ -0,0 +1,39 @@
1
+ type SegmentedValue = string | number;
2
+ type Size = 'small' | 'normal' | 'large';
3
+ type Variant = 'filled' | 'outlined';
4
+ interface SegmentedOption {
5
+ label: string;
6
+ value: SegmentedValue;
7
+ disabled?: boolean;
8
+ }
9
+ interface Props {
10
+ modelValue?: SegmentedValue;
11
+ options?: Array<SegmentedOption>;
12
+ disabled?: boolean;
13
+ fullWidth?: boolean;
14
+ size?: Size;
15
+ variant?: Variant;
16
+ ariaLabel?: string;
17
+ ariaLabelledby?: string;
18
+ }
19
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ blur: (...args: any[]) => void;
21
+ change: (...args: any[]) => void;
22
+ focus: (...args: any[]) => void;
23
+ "update:modelValue": (...args: any[]) => void;
24
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
25
+ onBlur?: ((...args: any[]) => any) | undefined;
26
+ onChange?: ((...args: any[]) => any) | undefined;
27
+ onFocus?: ((...args: any[]) => any) | undefined;
28
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
+ }>, {
30
+ disabled: boolean;
31
+ size: Size;
32
+ variant: Variant;
33
+ modelValue: SegmentedValue;
34
+ ariaLabel: string;
35
+ options: Array<SegmentedOption>;
36
+ ariaLabelledby: string;
37
+ fullWidth: boolean;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
39
+ export default _default;
@@ -988,6 +988,33 @@ export type SwitchTokens = {
988
988
  textColor?: string;
989
989
  disabledOpacity?: string;
990
990
  };
991
+ export type SegmentedControlTokens = {
992
+ fontSize?: string;
993
+ padding?: string;
994
+ gap?: string;
995
+ borderRadius?: string;
996
+ borderColor?: string;
997
+ backgroundColor?: string;
998
+ textColor?: string;
999
+ hoverBackgroundColor?: string;
1000
+ activeBackgroundColor?: string;
1001
+ activeTextColor?: string;
1002
+ focusRingShadow?: string;
1003
+ disabledOpacity?: string;
1004
+ segmentPadding?: string;
1005
+ segmentRadius?: string;
1006
+ segmentFontWeight?: string;
1007
+ small?: {
1008
+ fontSize?: string;
1009
+ padding?: string;
1010
+ segmentPadding?: string;
1011
+ };
1012
+ large?: {
1013
+ fontSize?: string;
1014
+ padding?: string;
1015
+ segmentPadding?: string;
1016
+ };
1017
+ };
991
1018
  export type TabsTokens = {
992
1019
  gap?: string;
993
1020
  listGap?: string;
@@ -1478,6 +1505,39 @@ export type ChipTokens = {
1478
1505
  paddingY?: string;
1479
1506
  };
1480
1507
  };
1508
+ export type FilterChipsTokens = {
1509
+ fontSize?: string;
1510
+ gap?: string;
1511
+ chipGap?: string;
1512
+ chipPadding?: string;
1513
+ chipBorderRadius?: string;
1514
+ chipBorderColor?: string;
1515
+ chipBackgroundColor?: string;
1516
+ chipTextColor?: string;
1517
+ chipHoverBackgroundColor?: string;
1518
+ chipHoverBorderColor?: string;
1519
+ chipActiveBackgroundColor?: string;
1520
+ chipActiveBorderColor?: string;
1521
+ chipActiveTextColor?: string;
1522
+ chipSolidActiveBackgroundColor?: string;
1523
+ chipSolidActiveBorderColor?: string;
1524
+ chipSolidActiveTextColor?: string;
1525
+ countPadding?: string;
1526
+ countFontSize?: string;
1527
+ countBackgroundColor?: string;
1528
+ countTextColor?: string;
1529
+ countActiveBackgroundColor?: string;
1530
+ countActiveTextColor?: string;
1531
+ disabledOpacity?: string;
1532
+ small?: {
1533
+ fontSize?: string;
1534
+ chipPadding?: string;
1535
+ };
1536
+ large?: {
1537
+ fontSize?: string;
1538
+ chipPadding?: string;
1539
+ };
1540
+ };
1481
1541
  export type AvatarTokens = {
1482
1542
  size?: string;
1483
1543
  fontSize?: string;
@@ -1544,6 +1604,7 @@ export type ThemeComponentTokens = {
1544
1604
  datetimepicker?: DateTimePickerTokens;
1545
1605
  pagination?: PaginationTokens;
1546
1606
  switch?: SwitchTokens;
1607
+ segmentedControl?: SegmentedControlTokens;
1547
1608
  tooltip?: TooltipTokens;
1548
1609
  skeleton?: SkeletonTokens;
1549
1610
  progress?: ProgressTokens;
@@ -1554,6 +1615,7 @@ export type ThemeComponentTokens = {
1554
1615
  alert?: AlertTokens;
1555
1616
  badge?: BadgeTokens;
1556
1617
  chip?: ChipTokens;
1618
+ filterChips?: FilterChipsTokens;
1557
1619
  avatar?: AvatarTokens;
1558
1620
  rating?: RatingTokens;
1559
1621
  tree?: TreeTokens;
@@ -0,0 +1,34 @@
1
+ declare const _default: {
2
+ fontSize: string;
3
+ gap: string;
4
+ chipGap: string;
5
+ chipPadding: string;
6
+ chipBorderRadius: string;
7
+ chipBorderColor: string;
8
+ chipBackgroundColor: string;
9
+ chipTextColor: string;
10
+ chipHoverBackgroundColor: string;
11
+ chipHoverBorderColor: string;
12
+ chipActiveBackgroundColor: string;
13
+ chipActiveBorderColor: string;
14
+ chipActiveTextColor: string;
15
+ chipSolidActiveBackgroundColor: string;
16
+ chipSolidActiveBorderColor: string;
17
+ chipSolidActiveTextColor: string;
18
+ countPadding: string;
19
+ countFontSize: string;
20
+ countBackgroundColor: string;
21
+ countTextColor: string;
22
+ countActiveBackgroundColor: string;
23
+ countActiveTextColor: string;
24
+ disabledOpacity: string;
25
+ small: {
26
+ fontSize: string;
27
+ chipPadding: string;
28
+ };
29
+ large: {
30
+ fontSize: string;
31
+ chipPadding: string;
32
+ };
33
+ };
34
+ export default _default;
@@ -0,0 +1,28 @@
1
+ declare const _default: {
2
+ fontSize: string;
3
+ padding: string;
4
+ gap: string;
5
+ borderRadius: string;
6
+ borderColor: string;
7
+ backgroundColor: string;
8
+ textColor: string;
9
+ hoverBackgroundColor: string;
10
+ activeBackgroundColor: string;
11
+ activeTextColor: string;
12
+ focusRingShadow: string;
13
+ disabledOpacity: string;
14
+ segmentPadding: string;
15
+ segmentRadius: string;
16
+ segmentFontWeight: string;
17
+ small: {
18
+ fontSize: string;
19
+ padding: string;
20
+ segmentPadding: string;
21
+ };
22
+ large: {
23
+ fontSize: string;
24
+ padding: string;
25
+ segmentPadding: string;
26
+ };
27
+ };
28
+ export default _default;
@@ -1170,6 +1170,33 @@ declare const _default: {
1170
1170
  textColor: string;
1171
1171
  disabledOpacity: string;
1172
1172
  };
1173
+ segmentedControl: {
1174
+ fontSize: string;
1175
+ padding: string;
1176
+ gap: string;
1177
+ borderRadius: string;
1178
+ borderColor: string;
1179
+ backgroundColor: string;
1180
+ textColor: string;
1181
+ hoverBackgroundColor: string;
1182
+ activeBackgroundColor: string;
1183
+ activeTextColor: string;
1184
+ focusRingShadow: string;
1185
+ disabledOpacity: string;
1186
+ segmentPadding: string;
1187
+ segmentRadius: string;
1188
+ segmentFontWeight: string;
1189
+ small: {
1190
+ fontSize: string;
1191
+ padding: string;
1192
+ segmentPadding: string;
1193
+ };
1194
+ large: {
1195
+ fontSize: string;
1196
+ padding: string;
1197
+ segmentPadding: string;
1198
+ };
1199
+ };
1173
1200
  tabs: {
1174
1201
  gap: string;
1175
1202
  listGap: string;
@@ -1532,6 +1559,39 @@ declare const _default: {
1532
1559
  paddingY: string;
1533
1560
  };
1534
1561
  };
1562
+ filterChips: {
1563
+ fontSize: string;
1564
+ gap: string;
1565
+ chipGap: string;
1566
+ chipPadding: string;
1567
+ chipBorderRadius: string;
1568
+ chipBorderColor: string;
1569
+ chipBackgroundColor: string;
1570
+ chipTextColor: string;
1571
+ chipHoverBackgroundColor: string;
1572
+ chipHoverBorderColor: string;
1573
+ chipActiveBackgroundColor: string;
1574
+ chipActiveBorderColor: string;
1575
+ chipActiveTextColor: string;
1576
+ chipSolidActiveBackgroundColor: string;
1577
+ chipSolidActiveBorderColor: string;
1578
+ chipSolidActiveTextColor: string;
1579
+ countPadding: string;
1580
+ countFontSize: string;
1581
+ countBackgroundColor: string;
1582
+ countTextColor: string;
1583
+ countActiveBackgroundColor: string;
1584
+ countActiveTextColor: string;
1585
+ disabledOpacity: string;
1586
+ small: {
1587
+ fontSize: string;
1588
+ chipPadding: string;
1589
+ };
1590
+ large: {
1591
+ fontSize: string;
1592
+ chipPadding: string;
1593
+ };
1594
+ };
1535
1595
  avatar: {
1536
1596
  size: string;
1537
1597
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.52.0",
3
+ "version": "0.54.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",