igniteui-theming 1.4.2 → 1.4.3-beta.2

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 (109) hide show
  1. package/index.js +3 -0
  2. package/json/colors/meta/multipliers.json +1 -1
  3. package/package.json +21 -14
  4. package/sass/animations/_easings.scss +23 -23
  5. package/sass/animations/entrances/_bounce.scss +3 -3
  6. package/sass/animations/entrances/_flicker.scss +10 -26
  7. package/sass/animations/exits/_bounce.scss +6 -6
  8. package/sass/animations/exits/_flicker.scss +12 -28
  9. package/sass/animations/exits/_flip.scss +8 -8
  10. package/sass/animations/exits/_puff.scss +11 -11
  11. package/sass/animations/exits/_roll.scss +4 -4
  12. package/sass/animations/exits/_rotate.scss +25 -25
  13. package/sass/animations/exits/_scale.scss +15 -15
  14. package/sass/animations/exits/_slide.scss +34 -34
  15. package/sass/animations/exits/_slit.scss +4 -4
  16. package/sass/animations/exits/_swing.scss +8 -8
  17. package/sass/animations/exits/_swirl.scss +18 -18
  18. package/sass/animations/generic/_flip.scss +4 -4
  19. package/sass/animations/generic/_rotate.scss +5 -5
  20. package/sass/animations/generic/_scale.scss +31 -31
  21. package/sass/animations/generic/_shadows.scss +12 -68
  22. package/sass/bem/_index.scss +9 -3
  23. package/sass/color/_charts.scss +1 -1
  24. package/sass/color/_functions.scss +22 -56
  25. package/sass/color/_multipliers.scss +14 -14
  26. package/sass/color/_types.scss +6 -1
  27. package/sass/color/presets/dark/_bootstrap.scss +1 -1
  28. package/sass/color/presets/dark/_fluent.scss +3 -3
  29. package/sass/color/presets/dark/_indigo.scss +1 -1
  30. package/sass/color/presets/dark/_material.scss +1 -1
  31. package/sass/color/presets/light/_bootstrap.scss +1 -1
  32. package/sass/color/presets/light/_extra.scss +2 -2
  33. package/sass/color/presets/light/_fluent.scss +3 -3
  34. package/sass/color/presets/light/_indigo.scss +1 -1
  35. package/sass/color/presets/light/_material.scss +1 -1
  36. package/sass/elevations/presets/_index.scss +1 -5
  37. package/sass/elevations/presets/_material.scss +1 -1
  38. package/sass/themes/_functions.scss +2 -12
  39. package/sass/themes/_index.scss +1 -0
  40. package/sass/themes/_mixins.scss +4 -5
  41. package/sass/themes/charts/_category-chart-theme.scss +15 -11
  42. package/sass/themes/charts/_data-chart-theme.scss +4 -7
  43. package/sass/themes/charts/_doughnut-chart-theme.scss +2 -2
  44. package/sass/themes/charts/_financial-chart-theme.scss +15 -11
  45. package/sass/themes/charts/_funnel-chart-theme.scss +22 -18
  46. package/sass/themes/charts/_gauge-theme.scss +8 -16
  47. package/sass/themes/charts/_geo-map-theme.scss +10 -11
  48. package/sass/themes/charts/_graph-theme.scss +3 -3
  49. package/sass/themes/charts/_pie-chart-theme.scss +21 -20
  50. package/sass/themes/charts/_shape-chart-theme.scss +15 -11
  51. package/sass/themes/charts/_sparkline-theme.scss +2 -2
  52. package/sass/themes/schemas/_index.scss +10 -33
  53. package/sass/themes/schemas/charts/light/_category-chart.scss +68 -24
  54. package/sass/themes/schemas/charts/light/_data-chart.scss +12 -3
  55. package/sass/themes/schemas/charts/light/_financial-chart.scss +1 -1
  56. package/sass/themes/schemas/charts/light/_gauge.scss +14 -5
  57. package/sass/themes/schemas/charts/light/_geo-map.scss +2 -2
  58. package/sass/themes/schemas/charts/light/_graph.scss +20 -5
  59. package/sass/themes/schemas/charts/light/_pie-chart.scss +4 -1
  60. package/sass/themes/schemas/charts/light/_shape-chart.scss +8 -2
  61. package/sass/themes/schemas/charts/light/_sparkline.scss +4 -1
  62. package/sass/themes/schemas/components/_index.scss +2 -0
  63. package/sass/themes/schemas/components/dark/_avatar.scss +46 -0
  64. package/sass/themes/schemas/components/dark/_button.scss +491 -0
  65. package/sass/themes/schemas/components/dark/_checkbox.scss +88 -0
  66. package/sass/themes/schemas/components/dark/_combo.scss +56 -0
  67. package/sass/themes/schemas/components/dark/_drop-down.scss +86 -0
  68. package/sass/themes/schemas/components/dark/_icon.scss +39 -0
  69. package/sass/themes/schemas/components/dark/_index.scss +120 -0
  70. package/sass/themes/schemas/components/dark/_input-group.scss +170 -0
  71. package/sass/themes/schemas/components/dark/_navbar.scss +27 -0
  72. package/sass/themes/schemas/components/dark/_radio.scss +144 -0
  73. package/sass/themes/schemas/components/dark/_rating.scss +29 -0
  74. package/sass/themes/schemas/components/dark/_select.scss +56 -0
  75. package/sass/themes/schemas/components/dark/_slider.scss +136 -0
  76. package/sass/themes/schemas/components/dark/_switch.scss +216 -0
  77. package/sass/themes/schemas/components/dark/_tabs.scss +65 -0
  78. package/sass/themes/schemas/components/dark/_tree.scss +132 -0
  79. package/sass/themes/schemas/components/elevation/_button.scss +63 -0
  80. package/sass/themes/schemas/components/elevation/_drop-down.scss +29 -0
  81. package/sass/themes/schemas/components/elevation/_input-group.scss +37 -0
  82. package/sass/themes/schemas/components/elevation/_navbar.scss +23 -0
  83. package/sass/themes/schemas/components/elevation/_switch.scss +15 -0
  84. package/sass/themes/schemas/components/light/_avatar.scss +69 -0
  85. package/sass/themes/schemas/components/light/_button.scss +1700 -0
  86. package/sass/themes/schemas/components/light/_checkbox.scss +285 -0
  87. package/sass/themes/schemas/components/light/_combo.scss +317 -0
  88. package/sass/themes/schemas/components/light/_drop-down.scss +376 -0
  89. package/sass/themes/schemas/components/light/_icon.scss +55 -0
  90. package/sass/themes/schemas/components/light/_index.scss +121 -0
  91. package/sass/themes/schemas/components/light/_input-group.scss +794 -0
  92. package/sass/themes/schemas/components/light/_navbar.scss +116 -0
  93. package/sass/themes/schemas/components/light/_radio.scss +279 -0
  94. package/sass/themes/schemas/components/light/_rating.scss +129 -0
  95. package/sass/themes/schemas/components/light/_select.scss +176 -0
  96. package/sass/themes/schemas/components/light/_slider.scss +362 -0
  97. package/sass/themes/schemas/components/light/_switch.scss +473 -0
  98. package/sass/themes/schemas/components/light/_tabs.scss +402 -0
  99. package/sass/themes/schemas/components/light/_tree.scss +288 -0
  100. package/sass/typography/_functions.scss +7 -5
  101. package/sass/typography/_mixins.scss +1 -3
  102. package/sass/typography/_types.scss +2 -16
  103. package/sass/typography/presets/_bootstrap.scss +24 -24
  104. package/sass/typography/presets/_fluent.scss +23 -23
  105. package/sass/typography/presets/_indigo.scss +24 -24
  106. package/sass/typography/presets/_material.scss +23 -23
  107. package/sass/utils/_css.scss +6 -1
  108. package/sass/utils/_map.scss +4 -8
  109. package/sass/utils/_string.scss +14 -6
@@ -0,0 +1,132 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/tree' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /* stylelint-disable max-line-length */
12
+
13
+ /// Generates a base dark tree schema.
14
+ /// @type {Map}
15
+ /// @prop {Map} background-active [color: ('gray', 100)] - The background color used for the active tree node.
16
+ /// @prop {Map} foreground-active [color: ('gray', 900)] - The color used for the content in active state of the tree node.
17
+ $base-dark-tree: (
18
+ background-active: (
19
+ color: (
20
+ 'gray',
21
+ 100,
22
+ ),
23
+ ),
24
+ foreground-active: (
25
+ color: (
26
+ 'gray',
27
+ 900,
28
+ ),
29
+ ),
30
+ hover-color: (
31
+ color: (
32
+ 'gray',
33
+ 50,
34
+ 0.1,
35
+ ),
36
+ ),
37
+ );
38
+
39
+ /// Generates a dark tree schema.
40
+ /// @type {Map}
41
+ /// @requires $light-tree
42
+ /// @requires $base-dark-tree
43
+ $dark-tree: extend($light-tree, $base-dark-tree);
44
+
45
+ /// Generates a dark fluent tree schema.
46
+ /// @type {Map}
47
+ /// @prop {Map} background-active [color: ('gray', 100)] - The background color used for the active tree node.
48
+ /// @prop {Map} background-selected [color: ('gray', 100)] - The background color used for the selected tree node.
49
+ /// @prop {Map} foreground-selected [color: ('gray', 900)] - The color used for the content of the selected tree node.
50
+ /// @prop {Map} background-active-selected [color: ('gray', 200)] - The background color used for the active selected tree node.
51
+ /// @prop {Map} foreground-active-selected [color: ('gray', 900)] - The color used for the content of the active selected tree node.
52
+ /// @requires $fluent-tree
53
+ /// @requires $base-dark-tree
54
+ $dark-fluent-tree: extend(
55
+ $fluent-tree,
56
+ $base-dark-tree,
57
+ (
58
+ background-active: (
59
+ color: (
60
+ 'gray',
61
+ 100,
62
+ ),
63
+ ),
64
+ background-selected: (
65
+ color: (
66
+ 'gray',
67
+ 100,
68
+ ),
69
+ ),
70
+ foreground-selected: (
71
+ color: (
72
+ 'gray',
73
+ 900,
74
+ ),
75
+ ),
76
+ background-active-selected: (
77
+ color: (
78
+ 'gray',
79
+ 200,
80
+ ),
81
+ ),
82
+ foreground-active-selected: (
83
+ color: (
84
+ 'gray',
85
+ 900,
86
+ ),
87
+ ),
88
+ hover-color: (
89
+ color: (
90
+ 'gray',
91
+ 200,
92
+ 0.5,
93
+ ),
94
+ ),
95
+ )
96
+ );
97
+
98
+ /// Generates a dark bootstrap tree schema.
99
+ /// @type {Map}
100
+ /// @requires $bootstrap-tree
101
+ /// @requires $base-dark-tree
102
+ $dark-bootstrap-tree: extend(
103
+ $bootstrap-tree,
104
+ $base-dark-tree,
105
+ (
106
+ hover-color: (
107
+ color: (
108
+ 'gray',
109
+ 500,
110
+ 0.3,
111
+ ),
112
+ ),
113
+ )
114
+ );
115
+
116
+ /// Generates a dark indigo tree schema.
117
+ /// @type {Map}
118
+ /// @requires $indigo-tree
119
+ /// @requires $base-dark-tree
120
+ $dark-indigo-tree: extend(
121
+ $indigo-tree,
122
+ $base-dark-tree,
123
+ (
124
+ hover-color: (
125
+ color: (
126
+ 'primary',
127
+ 200,
128
+ 0.5,
129
+ ),
130
+ ),
131
+ )
132
+ );
@@ -0,0 +1,63 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
9
+ /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
10
+ /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
11
+ /// @prop {Number} active-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
12
+ $flat-elevation-button: (
13
+ resting-elevation: 0,
14
+ hover-elevation: 0,
15
+ focus-elevation: 0,
16
+ active-elevation: 0,
17
+ );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
21
+ /// @prop {Number} hover-elevation [4] - The elevation level, between 0-24, to be used for the hover state.
22
+ /// @prop {Number} focus-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
23
+ /// @prop {Number} active-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
24
+ $material-raised-elevation: (
25
+ resting-elevation: 2,
26
+ hover-elevation: 4,
27
+ focus-elevation: 8,
28
+ active-elevation: 8,
29
+ );
30
+
31
+ /// @type Map
32
+ /// @prop {Number} resting-elevation [6] - The elevation level, between 0-24, to be used for the resting state.
33
+ /// @prop {Number} hover-elevation [12] - The elevation level, between 0-24, to be used for the hover state.
34
+ /// @prop {Number} focus-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
35
+ /// @prop {Number} active-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
36
+ $material-fab-elevation: (
37
+ resting-elevation: 6,
38
+ hover-elevation: 12,
39
+ focus-elevation: 12,
40
+ active-elevation: 12,
41
+ );
42
+
43
+ /// @type Map
44
+ /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
45
+ /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
46
+ /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
47
+ /// @prop {Number} active-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
48
+ $material-ib-elevation: (
49
+ resting-elevation: 0,
50
+ hover-elevation: 0,
51
+ focus-elevation: 0,
52
+ active-elevation: 0,
53
+ );
54
+
55
+ /// @type Map
56
+ /// @see $flat-elevation-button
57
+ /// @requires $flat-elevation-button
58
+ $bootstrap-elevation-button: $flat-elevation-button;
59
+
60
+ /// @type Map
61
+ /// @see $flat-elevation-button
62
+ /// @requires $flat-elevation-button
63
+ $indigo-elevation-button: $flat-elevation-button;
@@ -0,0 +1,29 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} elevation [8] - The elevation level, between 0-24, to be used for the drop-down shadow.
9
+ $default-elevation-drop-down: (
10
+ elevation: 8,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the drop-down shadow.
15
+ $fluent-elevation-drop-down: (
16
+ elevation: 4,
17
+ );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the drop-down shadow.
21
+ $bootstrap-elevation-drop-down: (
22
+ elevation: 0,
23
+ );
24
+
25
+ /// @type Map
26
+ /// @prop {Number} elevation [3] - The elevation level, between 0-24, to be used for the drop-down shadow.
27
+ $indigo-elevation-drop-down: (
28
+ elevation: 3,
29
+ );
@@ -0,0 +1,37 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /* stylelint-disable max-line-length */
8
+
9
+ /// @type Map
10
+ /// @prop {Number} search-resting-elevation [1] - The elevation level, between 0-24, to be used for the resting state of the search input.
11
+ /// @prop {Number} search-hover-elevation [2] - The elevation level, between 0-24, to be used for the hover state of the search input.
12
+ /// @prop {Number} search-disabled-elevation [0] - The elevation level, between 0-24, to be used for the disabled state of the search input.
13
+ $default-elevation-input-group: (
14
+ search-resting-elevation: 1,
15
+ search-hover-elevation: 2,
16
+ search-disabled-elevation: 0,
17
+ );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} search-resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state of the search input.
21
+ /// @prop {Number} search-hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state of the search input.
22
+ /// @prop {Number} search-disabled-elevation [0] - The elevation level, between 0-24, to be used for the disabled state of the search input.
23
+ $fluent-elevation-input-group: (
24
+ search-resting-elevation: 0,
25
+ search-hover-elevation: 0,
26
+ search-disabled-elevation: 0,
27
+ );
28
+
29
+ /// @type Map
30
+ /// @prop {Number} search-resting-elevation [1] - The elevation level, between 0-24, to be used for the resting state of the search input.
31
+ /// @prop {Number} search-hover-elevation [1] - The elevation level, between 0-24, to be used for the hover state of the search input.
32
+ /// @prop {Number} search-disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state of the search input.
33
+ $indigo-elevation-input-group: (
34
+ search-resting-elevation: 1,
35
+ search-hover-elevation: 1,
36
+ search-disabled-elevation: 1,
37
+ );
@@ -0,0 +1,23 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the navbar.
9
+ $default-elevation-navbar: (
10
+ elevation: 4,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the navbar.
15
+ $bootstrap-elevation-navbar: (
16
+ elevation: 0,
17
+ );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the navbar.
21
+ $indigo-elevation-navbar: (
22
+ elevation: 0,
23
+ );
@@ -0,0 +1,15 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
9
+ /// @prop {Number} hover-elevation [3] - The elevation level, between 0-24, to be used for the hover state.
10
+ /// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
11
+ $default-elevation-switch: (
12
+ resting-elevation: 2,
13
+ hover-elevation: 3,
14
+ disabled-elevation: 1,
15
+ );
@@ -0,0 +1,69 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /// Generates a light avatar schema.
11
+ /// @type {Map}
12
+ /// @prop {Map} background [color: ('gray', 400, .54)]- The background color of the avatar.
13
+ /// @prop {Map} color [color: ('gray', 800, .96)] - The text/icon color of the avatar.
14
+ /// @prop {Number} border-radius [0] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
15
+ /// @prop {Number} size - The size of the avatar.
16
+ $light-avatar: extend(
17
+ (
18
+ background: (
19
+ color: (
20
+ 'gray',
21
+ 400,
22
+ 0.54,
23
+ ),
24
+ ),
25
+ color: (
26
+ color: (
27
+ 'gray',
28
+ 800,
29
+ 0.96,
30
+ ),
31
+ ),
32
+ border-radius: rem(0),
33
+ )
34
+ );
35
+
36
+ /// Generates a fluent avatar schema.
37
+ /// @type {Map}
38
+ /// @requires {Map} $light-avatar
39
+ $fluent-avatar: extend($light-avatar);
40
+
41
+ /// Generates a bootstrap avatar schema.
42
+ /// @type {Map}
43
+ /// @prop {Map} background [color: ('gray', 400)]- The background color of the avatar.
44
+ /// @prop {Map} color [contrast-color: ('gray', 400)] - The text/icon color of the avatar.
45
+ /// @prop {Number} border-radius [4px] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
46
+ /// @requires {Map} $light-avatar
47
+ $bootstrap-avatar: extend(
48
+ $light-avatar,
49
+ (
50
+ background: (
51
+ color: (
52
+ 'gray',
53
+ 400,
54
+ ),
55
+ ),
56
+ color: (
57
+ contrast-color: (
58
+ 'gray',
59
+ 400,
60
+ ),
61
+ ),
62
+ border-radius: rem(4px),
63
+ )
64
+ );
65
+
66
+ /// Generates an indigo avatar schema.
67
+ /// @type {Map}
68
+ /// @requires {Map} $light-avatar
69
+ $indigo-avatar: extend($light-avatar);