@itcase/ui 1.8.129 → 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 (38) 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/{Group_cjs_DmfeUcFI.js → Group_cjs_DxyobxPf.js} +2 -2
  4. package/dist/{Group_es_BU5k8f5S.js → Group_es_DJ6GHMrs.js} +2 -2
  5. package/dist/cjs/components/AvatarStack.js +1 -1
  6. package/dist/cjs/components/Chips.js +1 -1
  7. package/dist/cjs/components/DatePeriod.js +1 -1
  8. package/dist/cjs/components/Group.js +1 -1
  9. package/dist/cjs/components/MenuItem.js +11 -11
  10. package/dist/cjs/components/Response.js +30 -41
  11. package/dist/cjs/components/Segmented.js +5 -5
  12. package/dist/cjs/components/Select.js +1 -1
  13. package/dist/cjs/hooks/useActiveClasses/useActiveClasses.helpers.js +2 -2
  14. package/dist/cjs/hooks/useStyles/styleAttributes.js +5 -1
  15. package/dist/components/AvatarStack.js +1 -1
  16. package/dist/components/Chips.js +1 -1
  17. package/dist/components/DatePeriod.js +1 -1
  18. package/dist/components/Group.js +1 -1
  19. package/dist/components/MenuItem.js +11 -11
  20. package/dist/components/Response.js +30 -41
  21. package/dist/components/Segmented.js +5 -5
  22. package/dist/components/Select.js +1 -1
  23. package/dist/css/components/MenuItem/MenuItem.css +1 -4
  24. package/dist/css/components/Pagination/Pagination.css +3 -0
  25. package/dist/css/styles/bundle.css +104 -0
  26. package/dist/css/styles/easing/easing.css +104 -0
  27. package/dist/hooks/useActiveClasses/useActiveClasses.helpers.js +2 -2
  28. package/dist/hooks/useStyles/styleAttributes.js +5 -1
  29. package/dist/types/components/Chips/appearance/chipsDisabled.d.ts +4 -0
  30. package/dist/types/components/Chips/appearance/chipsSurface.d.ts +2 -2
  31. package/dist/types/components/Dropdown/Dropdown.interface.d.ts +1 -3
  32. package/dist/types/components/MenuItem/MenuItem.appearance.d.ts +232 -290
  33. package/dist/types/components/MenuItem/MenuItem.interface.d.ts +6 -5
  34. package/dist/types/components/Response/Response.constant.d.ts +6 -20
  35. package/dist/types/components/Segmented/Segmented.interface.d.ts +2 -2
  36. package/dist/types/components/Segmented/appearance/segmentedDefault.d.ts +2 -2
  37. package/dist/types/components/Segmented/appearance/segmentedSuccess.d.ts +1 -1
  38. 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.129",
3
+ "version": "1.8.131",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",