@codacy/ui-components 0.65.92 → 0.65.93

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 (50) hide show
  1. package/lib/Avatar/Avatar.js +3 -2
  2. package/lib/ExpandableBox/ExpandableBox.styles.d.ts +2 -2
  3. package/lib/StepNumber/styles.d.ts +1 -1
  4. package/lib/Stepper/Stepper.styles.d.ts +1 -1
  5. package/lib/theme/ColorSchemes/dark/background.d.ts +72 -0
  6. package/lib/theme/ColorSchemes/dark/background.js +53 -0
  7. package/lib/theme/ColorSchemes/dark/border.d.ts +70 -0
  8. package/lib/theme/ColorSchemes/dark/border.js +52 -0
  9. package/lib/theme/ColorSchemes/dark/data.d.ts +16 -0
  10. package/lib/theme/ColorSchemes/dark/data.js +23 -0
  11. package/lib/theme/ColorSchemes/dark/icon.d.ts +73 -0
  12. package/lib/theme/ColorSchemes/dark/icon.js +54 -0
  13. package/lib/theme/ColorSchemes/dark/illustration.d.ts +11 -0
  14. package/lib/theme/ColorSchemes/dark/illustration.js +18 -0
  15. package/lib/theme/ColorSchemes/dark/index.d.ts +2 -0
  16. package/lib/theme/ColorSchemes/dark/index.js +73 -0
  17. package/lib/theme/ColorSchemes/dark/text.d.ts +80 -0
  18. package/lib/theme/ColorSchemes/dark/text.js +61 -0
  19. package/lib/theme/ColorSchemes/index.d.ts +5 -0
  20. package/lib/theme/ColorSchemes/index.js +60 -0
  21. package/lib/theme/ColorSchemes/light/background.d.ts +72 -0
  22. package/lib/theme/ColorSchemes/light/background.js +53 -0
  23. package/lib/theme/ColorSchemes/light/border.d.ts +70 -0
  24. package/lib/theme/ColorSchemes/light/border.js +52 -0
  25. package/lib/theme/ColorSchemes/light/data.d.ts +16 -0
  26. package/lib/theme/ColorSchemes/light/data.js +23 -0
  27. package/lib/theme/ColorSchemes/light/icon.d.ts +73 -0
  28. package/lib/theme/ColorSchemes/light/icon.js +54 -0
  29. package/lib/theme/ColorSchemes/light/illustration.d.ts +11 -0
  30. package/lib/theme/ColorSchemes/light/illustration.js +18 -0
  31. package/lib/theme/ColorSchemes/{dark.d.ts → light/index.d.ts} +210 -288
  32. package/lib/theme/ColorSchemes/light/index.js +82 -0
  33. package/lib/theme/ColorSchemes/light/text.d.ts +80 -0
  34. package/lib/theme/ColorSchemes/light/text.js +61 -0
  35. package/lib/theme/ColorSchemes/primitives.d.ts +6 -0
  36. package/lib/theme/ColorSchemes/primitives.js +95 -0
  37. package/lib/theme/ColorSchemes/semantics.d.ts +9 -0
  38. package/lib/theme/ColorSchemes/semantics.js +26 -0
  39. package/lib/theme/ColorSchemes/types.d.ts +3 -0
  40. package/lib/theme/ColorSchemes/types.js +7 -0
  41. package/lib/theme/index.d.ts +1 -3
  42. package/lib/theme/index.js +4 -26
  43. package/lib/theme/theme.d.ts +0 -3
  44. package/lib/theme/theme.js +2 -6
  45. package/package.json +1 -1
  46. package/lib/theme/ColorSchemes/codacy.d.ts +0 -610
  47. package/lib/theme/ColorSchemes/codacy.js +0 -387
  48. package/lib/theme/ColorSchemes/dark.js +0 -270
  49. package/lib/theme/ColorSchemes/security.d.ts +0 -2
  50. package/lib/theme/ColorSchemes/security.js +0 -28
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.borderColors = void 0;
8
+ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
9
+ var _primitives = require("../primitives");
10
+ var _semantics = require("../semantics");
11
+ var borderColors = exports.borderColors = (0, _objectSpread2["default"])((0, _objectSpread2["default"])({
12
+ 'border-inverted': _primitives.primitiveColors['white'],
13
+ 'border-primary': _primitives.primitiveColors['grey-90'],
14
+ 'border-subtle-enabled': _primitives.primitiveColors['grey-50'],
15
+ 'border-subtle-hover': _primitives.primitiveColors['grey-30'],
16
+ 'border-subtle-focus': _primitives.primitiveColors['grey-30'],
17
+ 'border-subtle-pressed': _primitives.primitiveColors['grey-10'],
18
+ 'border-subtle-disabled': _primitives.primitiveColors['grey-70']
19
+ }, (0, _semantics.semanticFunctionalColorsFx)('border', 40)), {}, {
20
+ //Border - Semantic
21
+ // blue
22
+ 'border-brand-subtle': _primitives.primitiveColors['blue-70'],
23
+ 'border-brand-enabled': _primitives.primitiveColors['blue-40'],
24
+ 'border-brand-pressed': _primitives.primitiveColors['blue-20'],
25
+ 'border-brand-hover': _primitives.primitiveColors['blue-30'],
26
+ 'border-brand-primary': _primitives.primitiveColors['blue-70'],
27
+ 'border-brand-disabled': _primitives.primitiveColors['blue-70'],
28
+ 'border-info-enabled': _primitives.primitiveColors['blue-40'],
29
+ 'border-minor-enabled': _primitives.primitiveColors['blue-40'],
30
+ 'border-minor-disabled': _primitives.primitiveColors['blue-70'],
31
+ // red
32
+ 'border-danger-subtle': _primitives.primitiveColors['red-95'],
33
+ 'border-danger-enabled': _primitives.primitiveColors['red-40'],
34
+ 'border-danger-hover': _primitives.primitiveColors['red-30'],
35
+ 'border-danger-focus': _primitives.primitiveColors['red-30'],
36
+ 'border-danger-pressed': _primitives.primitiveColors['red-20'],
37
+ 'border-critical-enabled': _primitives.primitiveColors['red-40'],
38
+ 'border-critical-disabled': _primitives.primitiveColors['red-70'],
39
+ // yellow
40
+ 'border-warning-enabled': _primitives.primitiveColors['yellow-40'],
41
+ 'border-medium-enabled': _primitives.primitiveColors['yellow-50'],
42
+ 'border-medium-disabled': _primitives.primitiveColors['yellow-70'],
43
+ // green
44
+ 'border-success-enabled': _primitives.primitiveColors['green-40'],
45
+ 'border-success-subtle': _primitives.primitiveColors['green-90'],
46
+ // purple
47
+ 'border-attention-enabled': _primitives.primitiveColors['purple-40'],
48
+ 'border-attention-disabled': _primitives.primitiveColors['purple-70'],
49
+ // orange
50
+ 'border-high-enabled': _primitives.primitiveColors['orange-40'],
51
+ 'border-high-disabled': _primitives.primitiveColors['orange-70']
52
+ });
@@ -0,0 +1,16 @@
1
+ export declare const dataColors: {
2
+ 'data-color1-enabled': string;
3
+ 'data-color1-disabled': string;
4
+ 'data-color2-enabled': string;
5
+ 'data-color2-disabled': string;
6
+ 'data-color3-enabled': string;
7
+ 'data-color3-disabled': string;
8
+ 'data-color4-enabled': string;
9
+ 'data-color4-disabled': string;
10
+ 'data-color5-enabled': string;
11
+ 'data-color5-disabled': string;
12
+ 'data-color6-enabled': string;
13
+ 'data-color6-disabled': string;
14
+ 'data-color7-enabled': string;
15
+ 'data-color7-disabled': string;
16
+ };
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.dataColors = void 0;
7
+ var _primitives = require("../primitives");
8
+ var dataColors = exports.dataColors = {
9
+ 'data-color1-enabled': _primitives.primitiveColors['blue-60'],
10
+ 'data-color1-disabled': _primitives.primitiveColors['blue-98'],
11
+ 'data-color2-enabled': _primitives.primitiveColors['blue-30'],
12
+ 'data-color2-disabled': _primitives.primitiveColors['blue-95'],
13
+ 'data-color3-enabled': _primitives.primitiveColors['purple-60'],
14
+ 'data-color3-disabled': _primitives.primitiveColors['purple-95'],
15
+ 'data-color4-enabled': _primitives.primitiveColors['magenta-40'],
16
+ 'data-color4-disabled': _primitives.primitiveColors['magenta-95'],
17
+ 'data-color5-enabled': _primitives.primitiveColors['purple-80'],
18
+ 'data-color5-disabled': _primitives.primitiveColors['purple-98'],
19
+ 'data-color6-enabled': _primitives.primitiveColors['grey-60'],
20
+ 'data-color6-disabled': _primitives.primitiveColors['grey-98'],
21
+ 'data-color7-enabled': _primitives.primitiveColors['grey-20'],
22
+ 'data-color7-disabled': _primitives.primitiveColors['grey-95']
23
+ };
@@ -0,0 +1,73 @@
1
+ export declare const iconColors: {
2
+ 'icon-info-enabled': string;
3
+ 'icon-minor-enabled': string;
4
+ 'icon-minor-disabled': string;
5
+ 'icon-brand-enabled': string;
6
+ 'icon-brand-hover': string;
7
+ 'icon-brand-focus': string;
8
+ 'icon-brand-pressed': string;
9
+ 'icon-brand-disabled': string;
10
+ 'icon-danger-enabled': string;
11
+ 'icon-danger-hover': string;
12
+ 'icon-danger-focus': string;
13
+ 'icon-danger-pressed': string;
14
+ 'icon-danger-disabled': string;
15
+ 'icon-critical-enabled': string;
16
+ 'icon-critical-disabled': string;
17
+ 'icon-warning-enabled': string;
18
+ 'icon-medium-enabled': string;
19
+ 'icon-medium-disabled': string;
20
+ 'icon-success-enabled': string;
21
+ 'icon-success-disabled': string;
22
+ 'icon-high-enabled': string;
23
+ 'icon-high-disabled': string;
24
+ 'icon-attention-enabled': string;
25
+ "background-high": string;
26
+ "background-medium": string;
27
+ "background-success": string;
28
+ "background-danger": string;
29
+ "background-warning": string;
30
+ "background-info": string;
31
+ "background-attention": string;
32
+ "background-critical": string;
33
+ "background-minor": string;
34
+ "border-high": string;
35
+ "border-medium": string;
36
+ "border-success": string;
37
+ "border-danger": string;
38
+ "border-warning": string;
39
+ "border-info": string;
40
+ "border-attention": string;
41
+ "border-critical": string;
42
+ "border-minor": string;
43
+ "text-high": string;
44
+ "text-medium": string;
45
+ "text-success": string;
46
+ "text-danger": string;
47
+ "text-warning": string;
48
+ "text-info": string;
49
+ "text-attention": string;
50
+ "text-critical": string;
51
+ "text-minor": string;
52
+ "icon-high": string;
53
+ "icon-medium": string;
54
+ "icon-success": string;
55
+ "icon-danger": string;
56
+ "icon-warning": string;
57
+ "icon-info": string;
58
+ "icon-attention": string;
59
+ "icon-critical": string;
60
+ "icon-minor": string;
61
+ 'icon-enabled': string;
62
+ 'icon-hover': string;
63
+ 'icon-disabled': string;
64
+ 'icon-focus': string;
65
+ 'icon-pressed': string;
66
+ 'icon-inverted': string;
67
+ 'icon-subtle-enabled': string;
68
+ 'icon-subtle-hover': string;
69
+ 'icon-subtle-focus': string;
70
+ 'icon-subtle-pressed': string;
71
+ 'icon-subtle-disabled': string;
72
+ 'icon-subtle-inverted': string;
73
+ };
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.iconColors = void 0;
8
+ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
9
+ var _primitives = require("../primitives");
10
+ var _semantics = require("../semantics");
11
+ var iconColors = exports.iconColors = (0, _objectSpread2["default"])((0, _objectSpread2["default"])({
12
+ 'icon-enabled': _primitives.primitiveColors['grey-50'],
13
+ 'icon-hover': _primitives.primitiveColors['grey-30'],
14
+ 'icon-disabled': _primitives.primitiveColors['grey-70'],
15
+ 'icon-focus': _primitives.primitiveColors['grey-30'],
16
+ 'icon-pressed': _primitives.primitiveColors['grey-30'],
17
+ 'icon-inverted': _primitives.primitiveColors['white'],
18
+ 'icon-subtle-enabled': _primitives.primitiveColors['grey-50'],
19
+ 'icon-subtle-hover': _primitives.primitiveColors['grey-30'],
20
+ 'icon-subtle-focus': _primitives.primitiveColors['grey-30'],
21
+ 'icon-subtle-pressed': _primitives.primitiveColors['grey-10'],
22
+ 'icon-subtle-disabled': _primitives.primitiveColors['grey-70'],
23
+ 'icon-subtle-inverted': _primitives.primitiveColors['white']
24
+ }, (0, _semantics.semanticFunctionalColorsFx)('icon', 40)), {}, {
25
+ // blue
26
+ 'icon-info-enabled': _primitives.primitiveColors['blue-40'],
27
+ 'icon-minor-enabled': _primitives.primitiveColors['blue-40'],
28
+ 'icon-minor-disabled': _primitives.primitiveColors['blue-70'],
29
+ 'icon-brand-enabled': _primitives.primitiveColors['blue-40'],
30
+ 'icon-brand-hover': _primitives.primitiveColors['blue-30'],
31
+ 'icon-brand-focus': _primitives.primitiveColors['blue-30'],
32
+ 'icon-brand-pressed': _primitives.primitiveColors['blue-20'],
33
+ 'icon-brand-disabled': _primitives.primitiveColors['blue-70'],
34
+ // red
35
+ 'icon-danger-enabled': _primitives.primitiveColors['red-40'],
36
+ 'icon-danger-hover': _primitives.primitiveColors['red-30'],
37
+ 'icon-danger-focus': _primitives.primitiveColors['red-30'],
38
+ 'icon-danger-pressed': _primitives.primitiveColors['red-20'],
39
+ 'icon-danger-disabled': _primitives.primitiveColors['red-70'],
40
+ 'icon-critical-enabled': _primitives.primitiveColors['red-40'],
41
+ 'icon-critical-disabled': _primitives.primitiveColors['red-70'],
42
+ // yellow
43
+ 'icon-warning-enabled': _primitives.primitiveColors['yellow-40'],
44
+ 'icon-medium-enabled': _primitives.primitiveColors['yellow-50'],
45
+ 'icon-medium-disabled': _primitives.primitiveColors['yellow-70'],
46
+ // green
47
+ 'icon-success-enabled': _primitives.primitiveColors['green-40'],
48
+ 'icon-success-disabled': _primitives.primitiveColors['green-70'],
49
+ // orange
50
+ 'icon-high-enabled': _primitives.primitiveColors['orange-40'],
51
+ 'icon-high-disabled': _primitives.primitiveColors['orange-70'],
52
+ // purple
53
+ 'icon-attention-enabled': _primitives.primitiveColors['purple-40']
54
+ });
@@ -0,0 +1,11 @@
1
+ export declare const illustrationColors: {
2
+ 'illustration-neutral1': string;
3
+ 'illustration-neutral2': string;
4
+ 'illustration-neutral3': string;
5
+ 'illustration-neutral4': string;
6
+ 'illustration-brand1': string;
7
+ 'illustration-brand2': string;
8
+ 'illustration-brand3': string;
9
+ 'illustration-brand4': string;
10
+ 'illustration-brand-inverted': string;
11
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.illustrationColors = void 0;
7
+ var _primitives = require("../primitives");
8
+ var illustrationColors = exports.illustrationColors = {
9
+ 'illustration-neutral1': _primitives.primitiveColors['grey-10'],
10
+ 'illustration-neutral2': _primitives.primitiveColors['grey-50'],
11
+ 'illustration-neutral3': _primitives.primitiveColors['grey-95'],
12
+ 'illustration-neutral4': _primitives.primitiveColors['white'],
13
+ 'illustration-brand1': _primitives.primitiveColors['blue-40'],
14
+ 'illustration-brand2': _primitives.primitiveColors['blue-30'],
15
+ 'illustration-brand3': _primitives.primitiveColors['blue-70'],
16
+ 'illustration-brand4': _primitives.primitiveColors['blue-98'],
17
+ 'illustration-brand-inverted': _primitives.primitiveColors['white']
18
+ };