@itcase/ui 1.8.130 → 1.8.131

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.
Files changed (25) hide show
  1. package/dist/{ChipsGroup_cjs_BMkiDYau.js → ChipsGroup_cjs_Du8WHI-Y.js} +15 -11
  2. package/dist/{ChipsGroup_es_Czu95rkL.js → ChipsGroup_es_CzVlqaHv.js} +15 -11
  3. package/dist/cjs/components/Chips.js +1 -1
  4. package/dist/cjs/components/DatePeriod.js +1 -1
  5. package/dist/cjs/components/MenuItem.js +11 -11
  6. package/dist/cjs/components/Response.js +29 -40
  7. package/dist/cjs/components/Segmented.js +5 -5
  8. package/dist/cjs/hooks/useActiveClasses/useActiveClasses.helpers.js +2 -2
  9. package/dist/components/Chips.js +1 -1
  10. package/dist/components/DatePeriod.js +1 -1
  11. package/dist/components/MenuItem.js +11 -11
  12. package/dist/components/Response.js +29 -40
  13. package/dist/components/Segmented.js +5 -5
  14. package/dist/css/components/Pagination/Pagination.css +3 -0
  15. package/dist/hooks/useActiveClasses/useActiveClasses.helpers.js +2 -2
  16. package/dist/types/components/Chips/appearance/chipsDisabled.d.ts +4 -0
  17. package/dist/types/components/Chips/appearance/chipsSurface.d.ts +2 -2
  18. package/dist/types/components/Dropdown/Dropdown.interface.d.ts +1 -3
  19. package/dist/types/components/MenuItem/MenuItem.appearance.d.ts +232 -290
  20. package/dist/types/components/MenuItem/MenuItem.interface.d.ts +6 -5
  21. package/dist/types/components/Response/Response.constant.d.ts +6 -20
  22. package/dist/types/components/Segmented/Segmented.interface.d.ts +2 -2
  23. package/dist/types/components/Segmented/appearance/segmentedDefault.d.ts +2 -2
  24. package/dist/types/components/Segmented/appearance/segmentedSuccess.d.ts +1 -1
  25. package/package.json +1 -1
@@ -8,8 +8,8 @@ type MenuItemAppearanceProps = {
8
8
  borderColor?: BorderColorProps;
9
9
  cursor?: string;
10
10
  fill?: FillProps;
11
- fillActive?: FillActiveProps;
12
- fillActiveHover?: FillActiveHoverProps;
11
+ fillActive?: FillActiveProps | FillProps;
12
+ fillActiveHover?: FillActiveHoverProps | FillProps;
13
13
  fillHover?: FillHoverProps | FillProps;
14
14
  iconAfter?: IconProps['SvgImage'];
15
15
  iconAfterFill?: IconProps['fill'];
@@ -31,7 +31,7 @@ type MenuItemAppearanceProps = {
31
31
  iconBeforeSrc?: IconProps['imageSrc'];
32
32
  labelStyle?: TextProps['textStyle'];
33
33
  labelTextActiveColor?: TextProps['textColorActive'];
34
- labelTextActiveHoverColor?: TextProps['textColorActiveHover'];
34
+ labelTextActiveColorHover?: TextProps['textColorActiveHover'];
35
35
  labelTextColor?: TextProps['textColor'];
36
36
  labelTextColorHover?: TextProps['textColorHover'];
37
37
  labelTextSize?: TextProps['size'];
@@ -43,9 +43,8 @@ type MenuItemAppearanceProps = {
43
43
  tooltipFill?: TooltipProps['fill'];
44
44
  tooltipShape?: TooltipProps['shape'];
45
45
  tooltipShapeStrength?: TooltipProps['shapeStrength'];
46
- tooltipText?: TooltipProps['shapeStrength'];
47
46
  tooltipTextColor?: TooltipProps['textColor'];
48
- tooltipTitleTextColor?: TooltipProps['titleTextColor'];
47
+ tooltipTitleTextColor?: TooltipProps['titleColor'];
49
48
  };
50
49
  type MenuItemProps = MenuItemAppearanceProps & StyleAttributes & {
51
50
  after?: string;
@@ -64,6 +63,8 @@ type MenuItemProps = MenuItemAppearanceProps & StyleAttributes & {
64
63
  onDoubleClick?: () => void;
65
64
  style?: CSSProperties;
66
65
  tag: TextTagProps;
66
+ tooltipText?: string;
67
+ tooltipTitle?: string;
67
68
  };
68
69
  type MenuItemAppearanceKey = AppearanceKeysDefault | AppearanceShapeKey | AppearanceSizeKey | AppearanceStyleKey;
69
70
  type MenuItemAppearance = {
@@ -1,45 +1,35 @@
1
1
  declare const RESPONSE_MESSAGES: {
2
- empty: {
3
- appearance: string;
4
- title: string;
5
- desc: string;
6
- code: string;
7
- imageSrc: any;
8
- primaryButtonAppearance: string;
9
- primaryButtonLabel: string;
10
- };
11
2
  error: {
12
3
  appearance: string;
13
4
  title: string;
14
5
  desc: string;
15
- code: string;
16
6
  imageSrc: any;
17
7
  primaryButtonAppearance: string;
18
8
  primaryButtonLabel: string;
19
9
  secondaryButtonAppearance: string;
20
10
  secondaryButtonLabel: string;
21
11
  };
22
- warning: {
12
+ errorNetwork: {
23
13
  appearance: string;
24
14
  title: string;
15
+ desc: string;
25
16
  imageSrc: any;
26
17
  primaryButtonAppearance: string;
27
18
  primaryButtonLabel: string;
28
19
  secondaryButtonAppearance: string;
29
20
  secondaryButtonLabel: string;
30
21
  };
31
- success: {
22
+ nothingFound: {
32
23
  appearance: string;
33
24
  title: string;
34
25
  desc: string;
35
- code: string;
36
26
  imageSrc: any;
37
27
  primaryButtonAppearance: string;
38
28
  primaryButtonLabel: string;
39
29
  secondaryButtonAppearance: string;
40
30
  secondaryButtonLabel: string;
41
31
  };
42
- nothingFound: {
32
+ empty: {
43
33
  appearance: string;
44
34
  title: string;
45
35
  desc: string;
@@ -47,10 +37,8 @@ declare const RESPONSE_MESSAGES: {
47
37
  imageSrc: any;
48
38
  primaryButtonAppearance: string;
49
39
  primaryButtonLabel: string;
50
- secondaryButtonAppearance: string;
51
- secondaryButtonLabel: string;
52
40
  };
53
- errorNetwork: {
41
+ errorAccessDenied: {
54
42
  appearance: string;
55
43
  title: string;
56
44
  desc: string;
@@ -61,11 +49,9 @@ declare const RESPONSE_MESSAGES: {
61
49
  secondaryButtonAppearance: string;
62
50
  secondaryButtonLabel: string;
63
51
  };
64
- errorRequest: {
52
+ warning: {
65
53
  appearance: string;
66
54
  title: string;
67
- desc: string;
68
- code: string;
69
55
  imageSrc: any;
70
56
  primaryButtonAppearance: string;
71
57
  primaryButtonLabel: string;
@@ -9,9 +9,9 @@ export interface SegmentedThemeColor {
9
9
  indicatorFill?: ItemColorProps;
10
10
  inputBorderColor?: BorderColorProps;
11
11
  labelTextActiveColor?: TextColorActiveProps;
12
- labelTextActiveHoverColor?: TextColorActiveProps;
12
+ labelTextActiveColorHover?: TextColorActiveProps;
13
13
  labelTextColor?: TextColorProps;
14
- labelTextHoverColor?: TextColorProps;
14
+ labelTextColorHover?: TextColorProps;
15
15
  labelTextSize?: TextSizeProps;
16
16
  labelTextWrap?: TextWrapProps;
17
17
  shape?: ShapeProps;
@@ -5,7 +5,7 @@ declare const segmentedAppearanceDefault: {
5
5
  fillActiveHover: string;
6
6
  fillHover: string;
7
7
  labelTextActiveColor: string;
8
- labelTextActiveHoverColor: string;
8
+ labelTextActiveColorHover: string;
9
9
  labelTextColor: string;
10
10
  borderColor: string;
11
11
  iconAfterFill: string;
@@ -22,7 +22,7 @@ declare const segmentedAppearanceDefault: {
22
22
  fillActiveHover: string;
23
23
  fillHover: string;
24
24
  labelTextActiveColor: string;
25
- labelTextActiveHoverColor: string;
25
+ labelTextActiveColorHover: string;
26
26
  labelTextColor: string;
27
27
  borderColor: string;
28
28
  iconAfterFill: string;
@@ -5,7 +5,7 @@ declare const segmentedAppearanceSuccess: {
5
5
  fillHover: string;
6
6
  labelTextActiveColor: string;
7
7
  labelTextColor: string;
8
- labelTextHoverColor: string;
8
+ labelTextColorHover: string;
9
9
  borderColor: string;
10
10
  iconAfterFill: string;
11
11
  iconAfterFillActive: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.130",
3
+ "version": "1.8.131",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",