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,794 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../elevation/input-group' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /* stylelint-disable max-line-length */
12
+
13
+ /// Generates a light input-group schema.
14
+ /// @type {Map}
15
+ /// @prop {Map} input-prefix-color [color: ('gray', 700)] - The text color of an input prefix of type line, box and border.
16
+ /// @prop {Color} input-prefix-background [transparent] - The background color of an input prefix of type line, box and border.
17
+ /// @prop {Map} input-suffix-color [color: ('gray', 700)] - The text color of an input suffix of type line, box and border.
18
+ /// @prop {Color} input-suffix-background [transparent] - The background color of an input suffix of type line, box and border.
19
+ /// @prop {Map} idle-text-color [color: ('gray', 700)] - The input text color in the idle state.
20
+ /// @prop {Map} filled-text-color [color: ('gray', 900)] - The input text color in the filled state.
21
+ /// @prop {Map} focused-text-color [color: ('gray', 900)] - The input text color in the focused state.
22
+ /// @prop {Map} disabled-text-color [color: ('gray', 500)] - The input text color in the disabled state.
23
+ /// @prop {Map} helper-text-color [color: ('gray', 700)] - The helper text color.
24
+ /// @prop {Map} idle-secondary-color [color: ('gray', 700)] - The label color in the idle state.
25
+ /// @prop {Map} filled-secondary-color [color: ('gray', 600)] - The label color in the filled state.
26
+ /// @prop {Map} focused-secondary-color [ color: ('primary', 500)] - The label color in the focused state.
27
+ /// @prop {Map} idle-bottom-line-color [color: ('gray', 600)] - The bottom line and border colors in the idle state.
28
+ /// @prop {Map} hover-bottom-line-color [color: ('gray', 900)] - The bottom line and border colors in the hover state.
29
+ /// @prop {Map} focused-bottom-line-color [color: ('primary', 500)] - The bottom line and border colors in the focused state.
30
+ /// @prop {Map} interim-bottom-line-color [color: ('primary', 500, .12)] - The bottom line and border colors during the to-focused transition.
31
+ /// @prop {Map} disabled-bottom-line-color [color: ('gray', 500)] - The bottom line and border colors in the disabled state.
32
+ /// @prop {Map} border-color [color: ('gray', 600)] - The border color for input groups of type border and fluent.
33
+ /// @prop {Map} hover-border-color [color: ('gray', 900)] - The hover input border for input groups of type border and fluent.
34
+ /// @prop {Map} focused-border-color [color: ('primary', 500)] - The focused input border color for input groups of type border and fluent.
35
+ /// @prop {Map} disabled-border-color [color: ('gray', 400)] - The disabled border color for input groups of type border and fluent.
36
+ /// @prop {Map} box-background [color: ('gray', 100)] - The background color of an input group of type box.
37
+ /// @prop {Map} box-background-hover [color: ('gray', 200)] - The background color of an input group of type box on hover.
38
+ /// @prop {Map} box-background-focus [color: ('gray', 200)] - The background color of an input group of type box on focus.
39
+ /// @prop {Map} box-disabled-background [color: ('gray', 100)] - The background color of an input group of type box in the disabled state.
40
+ /// @prop {Color} border-background [transparent] - The background color of an input group of type border.
41
+ /// @prop {Color} border-disabled-background [transparent] - The background color of an input group of type border in the disabled state.
42
+ /// @prop {Map} search-background [color: ('gray', 50)] - The background color of an input group of type search.
43
+ /// @prop {Map} search-disabled-background [color: ('gray', 100)] - The background color of an input group of type search in the disabled state.
44
+ /// @prop {Number} search-resting-elevation [1] - The elevation level, between 0-24, to be used for the resting state of the search input.
45
+ /// @prop {Number} search-hover-elevation [2] - The elevation level, between 0-24, to be used for the hover state of the search input.
46
+ /// @prop {Number} search-disabled-elevation [0] - The elevation level, between 0-24, to be used for the disabled state of the search input.
47
+ /// @prop {Map} success-secondary-color [color: ('success')] - The success color used in the valid state.
48
+ /// @prop {Map} warning-secondary-color [color: ('warn')] - The warning color used in the warning state.
49
+ /// @prop {Map} error-secondary-color [color: ('error')] - The error color used in the error state.
50
+ /// @prop {Map} success-shadow-color [color: ('success', 500, .38)] - The shadow/border color for success state for bootstrap input group.
51
+ /// @prop {Map} error-shadow-color [color: ('error', 500, .38)] - The shadow/border color for error state for bootstrap input group.
52
+ /// @prop {Map} placeholder-color [color: ('gray', 700)] - The placeholder color of an input group.
53
+ /// @prop {Map} disabled-placeholder-color [color: ('gray', 500)] - The disabled placeholder color of an input group.
54
+ /// @prop {Number} box-border-radius [4px 4px 0 0] - The border radius used for box input. Can be a fraction between 0 and 1, pixels, or percent.
55
+ /// @prop {Number} border-border-radius [4px] - The border radius used for border input. Can be a fraction between 0 and 1, pixels, or percent.
56
+ /// @prop {Number} search-border-radius [4px] - The border radius used for search input. Can be a fraction between 0 and 1, pixels, or percent.
57
+ /// @prop {Map} input-prefix-color--filled [color: ('gray', 900)] - The input prefix color in the filled state.
58
+ /// @prop {Color} input-prefix-background--filled [inherit] - The background color of an input prefix in the filled state.
59
+ /// @prop {Map} input-prefix-color--focused [color: ('gray', 900)] - The input prefix color in the focused state.
60
+ /// @prop {Color} input-prefix-background--focused [inherit] - The background color of an input prefix in the focused state.
61
+ /// @prop {Map} input-suffix-color--filled [color: ('gray', 900)] - The input suffix color in the filled state.
62
+ /// @prop {Color} input-suffix-background-filled [inherit] - The background color of an input suffix in the filled state.
63
+ /// @prop {Map} input-suffix-color--focused [color: ('gray', 900)] - The input suffix color in the focused state.
64
+ /// @prop {Color} input-suffix-background--focused [inherit] - The background color of an input suffix in the focused state.
65
+ /// @requires {Map} $default-elevation-input-group
66
+ $light-input-group: extend(
67
+ $default-elevation-input-group,
68
+ (
69
+ helper-text-color: (
70
+ color: (
71
+ 'gray',
72
+ 700,
73
+ ),
74
+ ),
75
+ input-prefix-background: transparent,
76
+ input-prefix-color: (
77
+ color: (
78
+ 'gray',
79
+ 700,
80
+ ),
81
+ ),
82
+ input-prefix-background--filled: inherit,
83
+ input-prefix-color--filled: (
84
+ color: (
85
+ 'gray',
86
+ 900,
87
+ ),
88
+ ),
89
+ input-prefix-background--focused: inherit,
90
+ input-prefix-color--focused: (
91
+ color: (
92
+ 'gray',
93
+ 900,
94
+ ),
95
+ ),
96
+ input-suffix-background: transparent,
97
+ input-suffix-color: (
98
+ color: (
99
+ 'gray',
100
+ 700,
101
+ ),
102
+ ),
103
+ input-suffix-background--filled: inherit,
104
+ input-suffix-color--filled: (
105
+ color: (
106
+ 'gray',
107
+ 900,
108
+ ),
109
+ ),
110
+ input-suffix-background--focused: inherit,
111
+ input-suffix-color--focused: (
112
+ color: (
113
+ 'gray',
114
+ 900,
115
+ ),
116
+ ),
117
+ // Text colors
118
+ idle-text-color:
119
+ (
120
+ color: (
121
+ 'gray',
122
+ 700,
123
+ ),
124
+ ),
125
+ filled-text-color: (
126
+ color: (
127
+ 'gray',
128
+ 900,
129
+ ),
130
+ ),
131
+ focused-text-color: (
132
+ color: (
133
+ 'gray',
134
+ 900,
135
+ ),
136
+ ),
137
+ disabled-text-color: (
138
+ color: (
139
+ 'gray',
140
+ 500,
141
+ ),
142
+ ),
143
+ // State colors
144
+ idle-secondary-color:
145
+ (
146
+ color: (
147
+ 'gray',
148
+ 700,
149
+ ),
150
+ ),
151
+ filled-secondary-color: (
152
+ color: (
153
+ 'gray',
154
+ 600,
155
+ ),
156
+ ),
157
+ focused-secondary-color: (
158
+ color: (
159
+ 'primary',
160
+ 500,
161
+ ),
162
+ ),
163
+ idle-bottom-line-color: (
164
+ color: (
165
+ 'gray',
166
+ 500,
167
+ ),
168
+ ),
169
+ hover-bottom-line-color: (
170
+ color: (
171
+ 'gray',
172
+ 800,
173
+ ),
174
+ ),
175
+ focused-bottom-line-color: (
176
+ color: (
177
+ 'primary',
178
+ 500,
179
+ ),
180
+ ),
181
+ interim-bottom-line-color: (
182
+ color: (
183
+ 'primary',
184
+ 500,
185
+ 0.12,
186
+ ),
187
+ ),
188
+ disabled-bottom-line-color: (
189
+ color: (
190
+ 'gray',
191
+ 500,
192
+ ),
193
+ ),
194
+ disabled-border-color: (
195
+ color: (
196
+ 'gray',
197
+ 500,
198
+ ),
199
+ ),
200
+ border-color: (
201
+ color: (
202
+ 'gray',
203
+ 600,
204
+ ),
205
+ ),
206
+ hover-border-color: (
207
+ color: (
208
+ 'gray',
209
+ 900,
210
+ ),
211
+ ),
212
+ focused-border-color: (
213
+ color: (
214
+ 'primary',
215
+ 500,
216
+ ),
217
+ ),
218
+ border-background: transparent,
219
+ border-disabled-background: transparent,
220
+ search-background: (
221
+ color: (
222
+ 'gray',
223
+ 50,
224
+ ),
225
+ ),
226
+ search-disabled-background: (
227
+ color: (
228
+ 'gray',
229
+ 100,
230
+ ),
231
+ ),
232
+ success-secondary-color: (
233
+ color: (
234
+ 'success',
235
+ ),
236
+ ),
237
+ warning-secondary-color: (
238
+ color: (
239
+ 'warn',
240
+ ),
241
+ ),
242
+ error-secondary-color: (
243
+ color: (
244
+ 'error',
245
+ ),
246
+ ),
247
+ placeholder-color: (
248
+ color: (
249
+ 'gray',
250
+ 700,
251
+ ),
252
+ ),
253
+ disabled-placeholder-color: (
254
+ color: (
255
+ 'gray',
256
+ 500,
257
+ ),
258
+ ),
259
+ box-background: (
260
+ color: (
261
+ 'gray',
262
+ 200,
263
+ ),
264
+ ),
265
+ box-background-hover: (
266
+ color: (
267
+ 'gray',
268
+ 200,
269
+ ),
270
+ ),
271
+ box-background-focus: (
272
+ color: (
273
+ 'gray',
274
+ 300,
275
+ ),
276
+ ),
277
+ box-disabled-background: (
278
+ color: (
279
+ 'gray',
280
+ 100,
281
+ ),
282
+ ),
283
+ box-border-radius: rem(4px),
284
+ border-border-radius: rem(4px),
285
+ search-border-radius: rem(4px),
286
+ success-shadow-color: (
287
+ color: (
288
+ 'success',
289
+ 500,
290
+ 0.38,
291
+ ),
292
+ ),
293
+ error-shadow-color: (
294
+ color: (
295
+ 'error',
296
+ 500,
297
+ 0.38,
298
+ ),
299
+ ),
300
+ )
301
+ );
302
+
303
+ /// Generates a fluent input-group schema.
304
+ /// @type {Map}
305
+ /// @prop {Map} idle-secondary-color [color: ('gray', 900)] - The label color in the idle state.
306
+ /// @prop {Map} idle-text-color [color: ('gray', 900)] - The input text color in the idle state.
307
+ /// @prop {Map} disabled-text-color [color: ('gray', 500)] - The input text color in the disabled state.
308
+ /// @prop {Map} border-color [color: ('gray', 500)] - The border color for input groups of type border and fluent.
309
+ /// @prop {Map} hover-border-color [color: ('gray', 700)] - The hover input border for input groups of type border and fluent.
310
+ /// @prop {Map} disabled-border-color [color: ('gray', 100)] - The disabled border color for input groups of type border and fluent.
311
+ /// @prop {Map} focused-border-color [color: ('primary', 500)] - The focused input border color for input groups of type border and fluent.
312
+ /// @prop {Map} border-disabled-background [color: ('gray', 100)] - The background color of an input group of type border in the disabled state.
313
+ /// @prop {Map} search-disabled-background [color: ('gray', 100)] - The background color of an input group of type search in the disabled state.
314
+ /// @prop {Number} search-resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state of the search input.
315
+ /// @prop {Number} search-hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state of the search input.
316
+ /// @prop {Number} search-disabled-elevation [0] - The elevation level, between 0-24, to be used for the disabled state of the search input.
317
+ /// @prop {Number} box-border-radius [2px] - The border radius used for box input. Can be a fraction between 0 and 1, pixels, or percent.
318
+ /// @prop {Number} border-border-radius [2px] - The border radius used for border input. Can be a fraction between 0 and 1, pixels, or percent.
319
+ /// @prop {Number} search-border-radius [2px] - The border radius used for search input. Can be a fraction between 0 and 1, pixels, or percent.
320
+ /// @prop {Map} input-prefix-color [color: ('gray', 700)] - The text color of an input prefix of type line, box and border.
321
+ /// @prop {Map} input-prefix-color--filled [color: ('gray', 700)] - The input prefix color in the filled state.
322
+ /// @prop {Map} input-prefix-color--focused [color: ('gray', 700)] - The input prefix color in the focused state.
323
+ /// @prop {Map} input-prefix-background [color: ('gray', 100)] - The background color of an input prefix of type line, box, border and fluent.
324
+ /// @prop {Map} input-prefix-background--filled [color: ('gray', 100)] - The background color of an input prefix in the filled state.
325
+ /// @prop {Map} input-prefix-background--focused [color: ('gray', 100)] - The background color of an input prefix in the focused state.
326
+ /// @prop {Map} input-suffix-color [color: ('gray', 700)] - The text color of an input suffix of type line, box and border.
327
+ /// @prop {Map} input-suffix-color--filled [color: ('gray', 700)] - The input suffix color in the filled state.
328
+ /// @prop {Map} input-suffix-color--focused [color: ('gray', 700)] - The input suffix color in the focused state.
329
+ /// @prop {Map} input-suffix-background [color: ('gray', 100)] - The background color of an input suffix of type line, box and border.
330
+ /// @prop {Map} input-suffix-background-filled [color: ('gray', 100)] - The background color of an input suffix in the filled state.
331
+ /// @prop {Map} input-suffix-background--focused [color: ('gray', 100)] - The background color of an input suffix in the focused state.
332
+ /// @requires {Map} $light-input-group
333
+ /// @requires {Map} $fluent-elevation-input-group
334
+ $fluent-input-group: extend(
335
+ $light-input-group,
336
+ $fluent-elevation-input-group,
337
+ (
338
+ idle-secondary-color: (
339
+ color: (
340
+ 'gray',
341
+ 900,
342
+ ),
343
+ ),
344
+ idle-text-color: (
345
+ color: (
346
+ 'gray',
347
+ 900,
348
+ ),
349
+ ),
350
+ disabled-text-color: (
351
+ color: (
352
+ 'gray',
353
+ 500,
354
+ ),
355
+ ),
356
+ border-color: (
357
+ color: (
358
+ 'gray',
359
+ 500,
360
+ ),
361
+ ),
362
+ hover-border-color: (
363
+ color: (
364
+ 'gray',
365
+ 700,
366
+ ),
367
+ ),
368
+ focused-border-color: (
369
+ color: (
370
+ 'primary',
371
+ 500,
372
+ ),
373
+ ),
374
+ disabled-border-color: (
375
+ color: (
376
+ 'gray',
377
+ 100,
378
+ ),
379
+ ),
380
+ border-disabled-background: (
381
+ color: (
382
+ 'gray',
383
+ 100,
384
+ ),
385
+ ),
386
+ search-disabled-background: (
387
+ color: (
388
+ 'gray',
389
+ 100,
390
+ ),
391
+ ),
392
+ input-prefix-color: (
393
+ color: (
394
+ 'gray',
395
+ 700,
396
+ ),
397
+ ),
398
+ input-prefix-color--filled: (
399
+ color: (
400
+ 'gray',
401
+ 700,
402
+ ),
403
+ ),
404
+ input-prefix-color--focused: (
405
+ color: (
406
+ 'gray',
407
+ 700,
408
+ ),
409
+ ),
410
+ input-prefix-background: (
411
+ color: (
412
+ 'gray',
413
+ 100,
414
+ ),
415
+ ),
416
+ input-prefix-background--filled: (
417
+ color: (
418
+ 'gray',
419
+ 100,
420
+ ),
421
+ ),
422
+ input-prefix-background--focused: (
423
+ color: (
424
+ 'gray',
425
+ 100,
426
+ ),
427
+ ),
428
+ input-suffix-color: (
429
+ color: (
430
+ 'gray',
431
+ 700,
432
+ ),
433
+ ),
434
+ input-suffix-color--filled: (
435
+ color: (
436
+ 'gray',
437
+ 700,
438
+ ),
439
+ ),
440
+ input-suffix-color--focused: (
441
+ color: (
442
+ 'gray',
443
+ 700,
444
+ ),
445
+ ),
446
+ input-suffix-background: (
447
+ color: (
448
+ 'gray',
449
+ 100,
450
+ ),
451
+ ),
452
+ input-suffix-background--filled: (
453
+ color: (
454
+ 'gray',
455
+ 100,
456
+ ),
457
+ ),
458
+ input-suffix-background--focused: (
459
+ color: (
460
+ 'gray',
461
+ 100,
462
+ ),
463
+ ),
464
+ box-border-radius: rem(2px),
465
+ border-border-radius: rem(2px),
466
+ search-border-radius: rem(2px),
467
+ )
468
+ );
469
+
470
+ /// Generates a bootstrap input-group schema.
471
+ /// @type {Map}
472
+ /// @prop {Map} border-disabled-background [color: ('gray', 100)] - The background color of an input group of type border in the disabled state.
473
+ /// @prop {Map} border-color [color: ('gray', 400)] - The border color for input groups of type border and fluent.
474
+ /// @prop {Map} idle-secondary-color [color: ('gray', 700)] - The label color in the idle state.
475
+ /// @prop {Map} disabled-border-color [color: ('gray', 300)] - The disabled border color for input groups of type border and fluent.
476
+ /// @prop {Map} focused-secondary-color [color: ('primary', 500, .38)] - The label color in the focused state.
477
+ /// @prop {Map} success-secondary-color [color: ('success', 500)] - The success color used in the valid state.
478
+ /// @prop {Map} warning-secondary-color [color: ('warn', 500)] - The warning color used in the warning state.
479
+ /// @prop {Map} error-secondary-color [color: ('error')] - The error color used in the error state.
480
+ /// @prop {Map} disabled-text-color [color: ('gray', 400)] - The input text color in the disabled state.
481
+ /// @prop {Number} box-border-radius [4px] - The border radius used for box input. Can be a fraction between 0 and 1, pixels, or percent.
482
+ /// @prop {Number} border-border-radius [4px] - The border radius used for border input. Can be a fraction between 0 and 1, pixels, or percent.
483
+ /// @prop {Number} search-border-radius [4px] - The border radius used for search input. Can be a fraction between 0 and 1, pixels, or percent.
484
+ /// @prop {Map} interim-bottom-line-color [color: ('primary', 500)] - The bottom line and border colors during the to-focused transition.
485
+ /// @prop {Map} disabled-placeholder-color [color: ('gray', 400)] - The disabled placeholder color of an input group.
486
+ /// @prop {Map} input-prefix-color [color: ('gray', 800)] - The input prefix color in the idle state.
487
+ /// @prop {Map} input-prefix-color--filled [color: ('gray', 800)] - The input prefix color in the filled state.
488
+ /// @prop {Map} input-prefix-color--focused [color: ('gray', 800)] - The input prefix color in the focused state.
489
+ /// @prop {Map} input-prefix-background [color: ('gray', 300)] - The background color of an input prefix in the idle state.
490
+ /// @prop {Map} input-prefix-background--filled [color: ('gray', 300)] - The background color of an input prefix in the filled state.
491
+ /// @prop {Map} input-prefix-background--focused [color: ('gray', 300)] - The background color of an input prefix in the focused state.
492
+ /// @prop {Map} input-suffix-color [color: ('gray', 800)] - The input suffix color in the idle state
493
+ /// @prop {Map} input-suffix-color--filled [color: ('gray', 800)] - The input suffix color in the filled state.
494
+ /// @prop {Map} input-suffix-color--focused [color: ('gray', 800)] - The input suffix color in the focused state.
495
+ /// @prop {Map} input-suffix-background [color: ('gray', 300)] - The background color of an input suffix in the idle state.
496
+ /// @prop {Map} input-suffix-background-filled [color: ('gray', 300)] - The background color of an input suffix in the filled state.
497
+ /// @prop {Map} input-suffix-background--focused [color: ('gray', 300)] - The background color of an input suffix in the focused state.
498
+ /// @requires {Map} $light-input-group
499
+ $bootstrap-input-group: extend(
500
+ $light-input-group,
501
+ (
502
+ interim-bottom-line-color: (
503
+ color: (
504
+ 'primary',
505
+ 500,
506
+ ),
507
+ ),
508
+ border-disabled-background: (
509
+ color: (
510
+ 'gray',
511
+ 100,
512
+ ),
513
+ ),
514
+ focused-secondary-color: (
515
+ color: (
516
+ 'primary',
517
+ 500,
518
+ 0.38,
519
+ ),
520
+ ),
521
+ success-secondary-color: (
522
+ color: (
523
+ 'success',
524
+ 500,
525
+ ),
526
+ ),
527
+ warning-secondary-color: (
528
+ color: (
529
+ 'warn',
530
+ 500,
531
+ ),
532
+ ),
533
+ error-secondary-color: (
534
+ color: (
535
+ 'error',
536
+ 500,
537
+ ),
538
+ ),
539
+ border-color: (
540
+ color: (
541
+ 'gray',
542
+ 400,
543
+ ),
544
+ ),
545
+ idle-secondary-color: (
546
+ color: (
547
+ 'gray',
548
+ 700,
549
+ ),
550
+ ),
551
+ input-prefix-color: (
552
+ color: (
553
+ 'gray',
554
+ 800,
555
+ ),
556
+ ),
557
+ input-prefix-background: (
558
+ color: (
559
+ 'gray',
560
+ 300,
561
+ ),
562
+ ),
563
+ input-prefix-background--filled: (
564
+ color: (
565
+ 'gray',
566
+ 300,
567
+ ),
568
+ ),
569
+ input-prefix-background--focused: (
570
+ color: (
571
+ 'gray',
572
+ 300,
573
+ ),
574
+ ),
575
+ input-suffix-color: (
576
+ color: (
577
+ 'gray',
578
+ 800,
579
+ ),
580
+ ),
581
+ input-suffix-background: (
582
+ color: (
583
+ 'gray',
584
+ 300,
585
+ ),
586
+ ),
587
+ input-suffix-background--filled: (
588
+ color: (
589
+ 'gray',
590
+ 300,
591
+ ),
592
+ ),
593
+ input-suffix-background--focused: (
594
+ color: (
595
+ 'gray',
596
+ 300,
597
+ ),
598
+ ),
599
+ disabled-text-color: (
600
+ color: (
601
+ 'gray',
602
+ 400,
603
+ ),
604
+ ),
605
+ disabled-border-color: (
606
+ color: (
607
+ 'gray',
608
+ 300,
609
+ ),
610
+ ),
611
+ box-disabled-background: (
612
+ color: (
613
+ 'gray',
614
+ 100,
615
+ ),
616
+ ),
617
+ disabled-placeholder-color: (
618
+ color: (
619
+ 'gray',
620
+ 400,
621
+ ),
622
+ ),
623
+ )
624
+ );
625
+
626
+ /// Generates an indigo input-group schema.
627
+ /// @type {Map}
628
+ /// @prop {Map} input-prefix-color [color: ('gray', 600)] - The text color of an input prefix of type line, box and border.
629
+ /// @prop {Map} input-suffix-color [color: ('gray', 600)] - The text color of an input suffix of type line, box and border.
630
+ /// @prop {Map} helper-text-color [color: ('gray', 600)] - The helper text color.
631
+ /// @prop {Map} border-color [color: ('gray', 400)] - The border color for input groups of type border and fluent.
632
+ /// @prop {Color} box-background [transparent] - The background color of an input group of type box.
633
+ /// @prop {Map} box-background-hover [color: ('gray', 100)] - The background color of an input group of type box on hover.
634
+ /// @prop {Map} disabled-border-color [color: ('gray', 300)] - The disabled border color for input groups of type border and fluent.
635
+ /// @prop {Map} disabled-bottom-line-color [color: ('gray', 300)] - The bottom line and border colors in the disabled state.
636
+ /// @prop {Color} box-disabled-background [transparent] - The background color of an input group in the disabled state.
637
+ /// @prop {Map} disabled-text-color [color: ('gray', 300)] - The input text color in the disabled state.
638
+ /// @prop {Map} idle-bottom-line-color [color: ('gray', 500)] - The bottom line and border colors in the idle state.
639
+ /// @prop {Map} focused-bottom-line-color [color: ('secondary', 500)] - The bottom line and border colors in the focused state.
640
+ /// @prop {Map} focused-border-color [color: ('primary', 400)] - The focused input border color for input groups of type border and fluent.
641
+ /// @prop {Map} hover-border-color [color: ('gray', 600)] - The hover input border for input groups of type border and fluent.
642
+ /// @prop {Map} hover-bottom-line-color [color: ('gray', 500)] - The bottom line and border colors in the hover state.
643
+ /// @prop {Map} idle-text-color [color: ('gray', 600)] - The input text color in the idle state.
644
+ /// @prop {Number} search-resting-elevation [1] - The elevation level, between 0-24, to be used for the resting state of the search input.
645
+ /// @prop {Number} search-hover-elevation [1] - The elevation level, between 0-24, to be used for the hover state of the search input.
646
+ /// @prop {Number} search-disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state of the search input.
647
+ /// @prop {Number} box-border-radius [0] - The border radius used for box input. Can be a fraction between 0 and 1, pixels, or percent.
648
+ /// @prop {Number} border-border-radius [0] - The border radius used for border input. Can be a fraction between 0 and 1, pixels, or percent.
649
+ /// @prop {Number} search-border-radius [2px] - The border radius used for search input. Can be a fraction between 0 and 1, pixels, or percent.
650
+ /// @prop {Map} placeholder-color [color: ('gray', 300)] - The placeholder color of an input group.
651
+ /// @prop {Map} disabled-placeholder-color [color: ('gray', 300)] - The disabled placeholder color of an input group.
652
+ /// @prop {Map} input-prefix-color--filled [color: ('gray', 600)] - The input prefix color in the filled state.
653
+ /// @prop {Map} input-suffix-color--filled [color: ('gray', 600)] - The input suffix color in the filled state.
654
+ /// @prop {Map} input-prefix-color--focused [color: ('gray', 600)] - The input prefix color in the focused state.
655
+ /// @prop {Map} input-suffix-color--focused [color: ('gray', 600)] - The input suffix color in the focused state.
656
+ /// @requires {Map} $light-input-group
657
+ /// @requires {Map} $indigo-elevation-input-group
658
+ $indigo-input-group: extend(
659
+ $light-input-group,
660
+ $indigo-elevation-input-group,
661
+ (
662
+ input-prefix-color: (
663
+ color: (
664
+ 'gray',
665
+ 600,
666
+ ),
667
+ ),
668
+ input-suffix-color: (
669
+ color: (
670
+ 'gray',
671
+ 600,
672
+ ),
673
+ ),
674
+ input-prefix-color--filled: (
675
+ color: (
676
+ 'gray',
677
+ 600,
678
+ ),
679
+ ),
680
+ input-suffix-color--filled: (
681
+ color: (
682
+ 'gray',
683
+ 600,
684
+ ),
685
+ ),
686
+ input-prefix-color--focused: (
687
+ color: (
688
+ 'gray',
689
+ 600,
690
+ ),
691
+ ),
692
+ input-suffix-color--focused: (
693
+ color: (
694
+ 'gray',
695
+ 600,
696
+ ),
697
+ ),
698
+ helper-text-color: (
699
+ color: (
700
+ 'gray',
701
+ 600,
702
+ ),
703
+ ),
704
+ border-color: (
705
+ color: (
706
+ 'gray',
707
+ 400,
708
+ ),
709
+ ),
710
+ hover-border-color: (
711
+ color: (
712
+ 'gray',
713
+ 600,
714
+ ),
715
+ ),
716
+ focused-border-color: (
717
+ color: (
718
+ 'primary',
719
+ 400,
720
+ ),
721
+ ),
722
+ disabled-border-color: (
723
+ color: (
724
+ 'gray',
725
+ 300,
726
+ ),
727
+ ),
728
+ idle-bottom-line-color: (
729
+ color: (
730
+ 'gray',
731
+ 500,
732
+ ),
733
+ ),
734
+ focused-bottom-line-color: (
735
+ color: (
736
+ 'secondary',
737
+ 500,
738
+ ),
739
+ ),
740
+ hover-bottom-line-color: (
741
+ color: (
742
+ 'gray',
743
+ 500,
744
+ ),
745
+ ),
746
+ disabled-bottom-line-color: (
747
+ color: (
748
+ 'gray',
749
+ 300,
750
+ ),
751
+ ),
752
+ box-background: transparent,
753
+ box-disabled-background: transparent,
754
+ box-background-hover: (
755
+ color: (
756
+ 'gray',
757
+ 100,
758
+ ),
759
+ ),
760
+ idle-text-color: (
761
+ color: (
762
+ 'gray',
763
+ 600,
764
+ ),
765
+ ),
766
+ disabled-text-color: (
767
+ color: (
768
+ 'gray',
769
+ 300,
770
+ ),
771
+ ),
772
+ placeholder-color: (
773
+ color: (
774
+ 'gray',
775
+ 300,
776
+ ),
777
+ ),
778
+ disabled-placeholder-color: (
779
+ color: (
780
+ 'gray',
781
+ 300,
782
+ ),
783
+ ),
784
+ box-border-radius: rem(0),
785
+ border-border-radius: rem(0),
786
+ search-border-radius: rem(2px),
787
+ idle-secondary-color: (
788
+ color: (
789
+ 'gray',
790
+ 900,
791
+ ),
792
+ ),
793
+ )
794
+ );