igniteui-angular 20.0.7 → 20.0.9
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.
- package/fesm2022/igniteui-angular.mjs +143 -52
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/index.d.ts +41 -5
- package/lib/core/styles/base/_index.scss +1 -0
- package/lib/core/styles/components/_index.scss +1 -0
- package/lib/core/styles/components/avatar/_avatar-theme.scss +0 -58
- package/lib/core/styles/components/badge/_badge-theme.scss +0 -72
- package/lib/core/styles/components/banner/_banner-theme.scss +0 -62
- package/lib/core/styles/components/bottom-nav/_bottom-nav-theme.scss +0 -100
- package/lib/core/styles/components/button/_button-theme.scss +0 -234
- package/lib/core/styles/components/button-group/_button-group-theme.scss +0 -293
- package/lib/core/styles/components/calendar/_calendar-theme.scss +0 -1075
- package/lib/core/styles/components/card/_card-theme.scss +0 -92
- package/lib/core/styles/components/carousel/_carousel-theme.scss +0 -218
- package/lib/core/styles/components/checkbox/_checkbox-theme.scss +0 -150
- package/lib/core/styles/components/chip/_chip-theme.scss +1 -265
- package/lib/core/styles/components/column-actions/_column-actions-theme.scss +0 -48
- package/lib/core/styles/components/combo/_combo-theme.scss +9 -125
- package/lib/core/styles/components/date-picker/_date-picker-theme.scss +4 -0
- package/lib/core/styles/components/date-range-picker/_date-range-picker-theme.scss +0 -30
- package/lib/core/styles/components/dialog/_dialog-theme.scss +0 -75
- package/lib/core/styles/components/divider/_divider-theme.scss +0 -39
- package/lib/core/styles/components/dock-manager/_dock-manager-theme.scss +0 -68
- package/lib/core/styles/components/drop-down/_drop-down-theme.scss +0 -211
- package/lib/core/styles/components/expansion-panel/_expansion-panel-theme.scss +0 -96
- package/lib/core/styles/components/grid/_excel-filtering-theme.scss +0 -1
- package/lib/core/styles/components/grid/_grid-theme.scss +44 -600
- package/lib/core/styles/components/grid-summary/_grid-summary-theme.scss +0 -84
- package/lib/core/styles/components/grid-toolbar/_grid-toolbar-theme.scss +0 -92
- package/lib/core/styles/components/highlight/highlight-theme.scss +0 -55
- package/lib/core/styles/components/icon/_icon-theme.scss +0 -43
- package/lib/core/styles/components/icon-button/_icon-button-theme.scss +0 -112
- package/lib/core/styles/components/input/_file-input-component.scss +72 -0
- package/lib/core/styles/components/input/_file-input-theme.scss +203 -0
- package/lib/core/styles/components/input/_input-group-component.scss +110 -126
- package/lib/core/styles/components/input/_input-group-theme.scss +409 -648
- package/lib/core/styles/components/label/_label-theme.scss +2 -35
- package/lib/core/styles/components/list/_list-theme.scss +0 -264
- package/lib/core/styles/components/navbar/_navbar-theme.scss +0 -89
- package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +0 -141
- package/lib/core/styles/components/overlay/_overlay-theme.scss +0 -38
- package/lib/core/styles/components/paginator/_paginator-theme.scss +0 -50
- package/lib/core/styles/components/progress/circular/_circular-theme.scss +0 -73
- package/lib/core/styles/components/progress/linear/_linear-theme.scss +0 -68
- package/lib/core/styles/components/query-builder/_query-builder-theme.scss +0 -101
- package/lib/core/styles/components/radio/_radio-theme.scss +0 -136
- package/lib/core/styles/components/rating/_rating-theme.scss +0 -43
- package/lib/core/styles/components/ripple/_ripple-theme.scss +0 -39
- package/lib/core/styles/components/scrollbar/scrollbar-theme.scss +0 -82
- package/lib/core/styles/components/select/_select-theme.scss +0 -93
- package/lib/core/styles/components/slider/_slider-theme.scss +0 -187
- package/lib/core/styles/components/snackbar/_snackbar-theme.scss +0 -64
- package/lib/core/styles/components/splitter/_splitter-theme.scss +0 -71
- package/lib/core/styles/components/stepper/_stepper-theme.scss +0 -492
- package/lib/core/styles/components/switch/_switch-theme.scss +0 -264
- package/lib/core/styles/components/tabs/_tabs-theme.scss +2 -261
- package/lib/core/styles/components/time-picker/_time-picker-theme.scss +0 -156
- package/lib/core/styles/components/toast/_toast-theme.scss +0 -69
- package/lib/core/styles/components/tooltip/_tooltip-theme.scss +0 -62
- package/lib/core/styles/components/tree/_tree-theme.scss +0 -128
- package/lib/core/styles/components/watermark/_watermark-theme.scss +0 -60
- package/lib/core/styles/themes/_core.scss +2 -0
- package/lib/core/styles/themes/_index.scss +1 -0
- package/lib/core/styles/themes/generators/_base.scss +11 -0
- package/lib/core/styles/typography/_bootstrap.scss +4 -0
- package/lib/core/styles/typography/_fluent.scss +5 -0
- package/lib/core/styles/typography/_indigo.scss +6 -0
- package/lib/core/styles/typography/_material.scss +2 -0
- package/package.json +2 -2
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- package/styles/maps/igniteui-indigo-light.css.map +1 -1
- package/lib/core/styles/components/button/_contained-button-theme.scss +0 -302
- package/lib/core/styles/components/button/_fab-button-theme.scss +0 -296
- package/lib/core/styles/components/button/_flat-button-theme.scss +0 -356
- package/lib/core/styles/components/button/_outlined-button-theme.scss +0 -419
- package/lib/core/styles/components/icon-button/_contained-icon-button-theme.scss +0 -196
- package/lib/core/styles/components/icon-button/_flat-icon-button-theme.scss +0 -188
- package/lib/core/styles/components/icon-button/_outlined-icon-button-theme.scss +0 -232
|
@@ -1,79 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@use 'sass:math';
|
|
3
|
-
@use 'sass:meta';
|
|
4
|
-
@use 'sass:list';
|
|
5
2
|
@use '../../../base' as *;
|
|
6
3
|
@use 'igniteui-theming/sass/animations' as *;
|
|
7
|
-
@use '../../../themes/schemas' as *;
|
|
8
|
-
|
|
9
|
-
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
|
|
10
|
-
///
|
|
11
|
-
/// @param {Color} $base-circle-color [null] - The base circle fill color.
|
|
12
|
-
/// @param {Color | List<Color>} $fill-color-default [null] - The progress circle fill color.
|
|
13
|
-
/// @param {Color} $fill-color-danger [null] - The track danger fill color.
|
|
14
|
-
/// @param {Color} $fill-color-warning [null] - The track warning fill color.
|
|
15
|
-
/// @param {Color} $fill-color-info [null] - The track info fill color.
|
|
16
|
-
/// @param {Color} $fill-color-success [null] - The track success fill color.
|
|
17
|
-
/// @param {Color} $text-color [null] - The value text color.
|
|
18
|
-
/// @param {Number} $diameter [null] - The progress circle diameter.
|
|
19
|
-
///
|
|
20
|
-
/// @requires $light-material-schema
|
|
21
|
-
///
|
|
22
|
-
/// @example scss Change the circle progress color
|
|
23
|
-
/// $my-progress-circular-theme: progress-circular-theme(
|
|
24
|
-
/// $fill-color-default: purple
|
|
25
|
-
/// );
|
|
26
|
-
/// // Pass the theme to the igx-progress-circular component mixin
|
|
27
|
-
/// @include igx-progress-circular($my-progress-circle-theme);
|
|
28
|
-
@function progress-circular-theme(
|
|
29
|
-
$schema: $light-material-schema,
|
|
30
|
-
$base-circle-color: null,
|
|
31
|
-
$fill-color-default: null,
|
|
32
|
-
$fill-color-danger: null,
|
|
33
|
-
$fill-color-warning: null,
|
|
34
|
-
$fill-color-info: null,
|
|
35
|
-
$fill-color-success: null,
|
|
36
|
-
$text-color: null,
|
|
37
|
-
$diameter: null
|
|
38
|
-
) {
|
|
39
|
-
$name: 'igx-circular-bar';
|
|
40
|
-
$circular-bar-schema: ();
|
|
41
|
-
|
|
42
|
-
@if map.has-key($schema, 'circular-bar') {
|
|
43
|
-
$circular-bar-schema: map.get($schema, 'circular-bar');
|
|
44
|
-
} @else {
|
|
45
|
-
$circular-bar-schema: $schema;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
$theme: digest-schema($circular-bar-schema);
|
|
49
|
-
|
|
50
|
-
$fill-color-default-start: map.get($theme, 'fill-color-default');
|
|
51
|
-
$fill-color-default-end: map.get($theme, 'fill-color-default');
|
|
52
|
-
|
|
53
|
-
@if meta.type-of($fill-color-default) == 'color' {
|
|
54
|
-
$fill-color-default-start: $fill-color-default;
|
|
55
|
-
$fill-color-default-end: $fill-color-default;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@if list.length($fill-color-default) == 2 {
|
|
59
|
-
$fill-color-default-start: list.nth($fill-color-default, 1);
|
|
60
|
-
$fill-color-default-end: list.nth($fill-color-default, 2);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@return extend($theme, (
|
|
64
|
-
name: $name,
|
|
65
|
-
base-circle-color: $base-circle-color,
|
|
66
|
-
fill-color-default: $fill-color-default,
|
|
67
|
-
fill-color-default-start: $fill-color-default-start,
|
|
68
|
-
fill-color-default-end: $fill-color-default-end,
|
|
69
|
-
fill-color-danger: $fill-color-danger,
|
|
70
|
-
fill-color-warning: $fill-color-warning,
|
|
71
|
-
fill-color-info: $fill-color-info,
|
|
72
|
-
fill-color-success: $fill-color-success,
|
|
73
|
-
text-color: $text-color,
|
|
74
|
-
diameter: $diameter,
|
|
75
|
-
));
|
|
76
|
-
}
|
|
77
4
|
|
|
78
5
|
/// @deprecated Use the `css-vars` mixin instead.
|
|
79
6
|
/// @see {mixin} css-vars
|
|
@@ -4,74 +4,6 @@
|
|
|
4
4
|
@use 'sass:list';
|
|
5
5
|
@use '../../../base/index' as *;
|
|
6
6
|
@use 'igniteui-theming/sass/animations' as *;
|
|
7
|
-
@use '../../../themes/schemas' as *;
|
|
8
|
-
|
|
9
|
-
////
|
|
10
|
-
/// @group themes
|
|
11
|
-
/// @access public
|
|
12
|
-
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
|
|
13
|
-
/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
|
|
14
|
-
////
|
|
15
|
-
|
|
16
|
-
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
|
|
17
|
-
/// @param {Color} $track-color [null] - The main track color.
|
|
18
|
-
/// @param {Color} $fill-color-default [null] - The track default fill color.
|
|
19
|
-
/// @param {Color} $fill-color-danger [null] - The track danger fill color.
|
|
20
|
-
/// @param {Color} $fill-color-warning [null] - The track warning fill color.
|
|
21
|
-
/// @param {Color} $fill-color-info [null] - The track info fill color.
|
|
22
|
-
/// @param {Color} $fill-color-success [null] - The track success fill color.
|
|
23
|
-
/// @param {Color} $stripes-color [null] - The track stripes color.
|
|
24
|
-
/// @param {Color} $text-color [null] - The track value text color.
|
|
25
|
-
/// @param {List} $track-border-radius [null] - The border radius fraction, between 0 - 8 to be used fot the progress bar track
|
|
26
|
-
/// @param {Number} $track-height [null] - The linear progress track height.
|
|
27
|
-
/// @param {Number} $strip-size [null] - The linear progress bar strip width.
|
|
28
|
-
/// @requires $light-material-schema
|
|
29
|
-
/// @example scss Change the stripes color
|
|
30
|
-
/// $my-progress-linear-theme: progress-linear-theme(
|
|
31
|
-
/// $stripes-color: orange
|
|
32
|
-
/// );
|
|
33
|
-
/// // Pass the theme to the css-vars() mixin
|
|
34
|
-
/// @include css-vars($my-progress-linear-theme);
|
|
35
|
-
@function progress-linear-theme(
|
|
36
|
-
$schema: $light-material-schema,
|
|
37
|
-
$track-color: null,
|
|
38
|
-
$fill-color-default: null,
|
|
39
|
-
$fill-color-danger: null,
|
|
40
|
-
$fill-color-warning: null,
|
|
41
|
-
$fill-color-info: null,
|
|
42
|
-
$fill-color-success: null,
|
|
43
|
-
$stripes-color: null,
|
|
44
|
-
$text-color: null,
|
|
45
|
-
$track-border-radius: null,
|
|
46
|
-
$track-height: null,
|
|
47
|
-
$strip-size: null
|
|
48
|
-
) {
|
|
49
|
-
$name: 'igx-linear-bar';
|
|
50
|
-
$linear-bar-schema: ();
|
|
51
|
-
|
|
52
|
-
$linear-bar-schema: if(map.has-key($schema, 'linear-bar'), map.get($schema, 'linear-bar'), $schema);
|
|
53
|
-
|
|
54
|
-
$theme: digest-schema($linear-bar-schema);
|
|
55
|
-
|
|
56
|
-
@if not($track-border-radius) {
|
|
57
|
-
$track-border-radius: map.get($theme, 'track-border-radius');
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@return extend($theme, (
|
|
61
|
-
name: $name,
|
|
62
|
-
track-color: $track-color,
|
|
63
|
-
fill-color-default: $fill-color-default,
|
|
64
|
-
fill-color-danger: $fill-color-danger,
|
|
65
|
-
fill-color-warning: $fill-color-warning,
|
|
66
|
-
fill-color-info: $fill-color-info,
|
|
67
|
-
fill-color-success: $fill-color-success,
|
|
68
|
-
stripes-color: $stripes-color,
|
|
69
|
-
text-color: $text-color,
|
|
70
|
-
track-border-radius: $track-border-radius,
|
|
71
|
-
track-height: $track-height,
|
|
72
|
-
strip-size: $strip-size,
|
|
73
|
-
));
|
|
74
|
-
}
|
|
75
7
|
|
|
76
8
|
@mixin striped-gradient($variant: default, $gradient-orientation, $stripe-color) {
|
|
77
9
|
$fill-color-default: if($variant == 'indigo', transparent, $stripe-color);
|
|
@@ -1,106 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '../../base' as *;
|
|
3
|
-
@use '../../themes/schemas' as *;
|
|
4
|
-
|
|
5
|
-
/// @group themes
|
|
6
|
-
/// @access public
|
|
7
|
-
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
|
|
8
|
-
/// @param {Color} background [null] - The background color of the filtering row.
|
|
9
|
-
/// @param {Color} header-background [null] - The background color of the query builder header.
|
|
10
|
-
/// @param {Color} header-foreground [null] - The foreground color of the query builder header.
|
|
11
|
-
/// @param {Color} header-border [null] - The border color of the query builder header.
|
|
12
|
-
///
|
|
13
|
-
/// @param {Map} subquery-header-background [null] - The background color of the subquery header.
|
|
14
|
-
/// @param {Map} subquery-border-color [null] - The border color of the query block.
|
|
15
|
-
/// @param {Map} separator-color [null] - The separator color of the query block.
|
|
16
|
-
/// @param {Number} subquery-border-radius [null] - The border radius of the subquery block.
|
|
17
|
-
///
|
|
18
|
-
/// @param {Map} label-foreground [null] - The color for query builder labels "from" & "select".
|
|
19
|
-
/// @param {Map} separator-color [null] - The separator color of the query builder tree block.
|
|
20
|
-
/// @param {Number} border-radius [null] - The border radius of the query builder.
|
|
21
|
-
///
|
|
22
|
-
/// @param {Color} color-expression-group-and [null] - The color of advanced filtering "AND" condition group.
|
|
23
|
-
/// @param {Color} color-expression-group-or [null] - The color of advanced filtering "OR" condition group.
|
|
24
|
-
///
|
|
25
|
-
/// @example scss Set custom query-builder colors
|
|
26
|
-
/// $my-query-builder-theme: query-builder-theme($background: red);
|
|
27
|
-
/// // Pass the theme to the css-vars() mixin
|
|
28
|
-
/// @include css-vars($my-query-builder-theme);
|
|
29
|
-
@function query-builder-theme(
|
|
30
|
-
$schema: $light-material-schema,
|
|
31
|
-
$background: null,
|
|
32
|
-
$header-background: null,
|
|
33
|
-
$header-foreground: null,
|
|
34
|
-
$header-border: null,
|
|
35
|
-
$color-expression-group-and: null,
|
|
36
|
-
$color-expression-group-or: null,
|
|
37
|
-
$border-radius: null,
|
|
38
|
-
$subquery-header-background: null,
|
|
39
|
-
$subquery-border-color: null,
|
|
40
|
-
$subquery-border-radius: null,
|
|
41
|
-
$separator-color: null,
|
|
42
|
-
$label-foreground: null,
|
|
43
|
-
) {
|
|
44
|
-
$name: 'igx-query-builder';
|
|
45
|
-
$selector: 'igx-query-builder';
|
|
46
|
-
$query-builder-schema: ();
|
|
47
|
-
|
|
48
|
-
@if map.has-key($schema, 'query-builder') {
|
|
49
|
-
$query-builder-schema: map.get($schema, 'query-builder');
|
|
50
|
-
} @else {
|
|
51
|
-
$query-builder-schema: $schema;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
$theme: digest-schema($query-builder-schema);
|
|
55
|
-
$variant: map.get($theme, '_meta', 'theme');
|
|
56
|
-
|
|
57
|
-
@if not($label-foreground) and $background {
|
|
58
|
-
$label-foreground: hsla(from adaptive-contrast(var(--background)) h s l / 0.6);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@if not($header-background) and $background {
|
|
62
|
-
$header-background: var(--background);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@if not($header-foreground) and $header-background {
|
|
66
|
-
$header-foreground: adaptive-contrast(var(--header-background));
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@if not($subquery-header-background) and $header-background {
|
|
70
|
-
$subquery-header-background: hsl(from var(--header-background) h s calc(l * 0.9));
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
@if not($subquery-border-color) and $subquery-header-background {
|
|
74
|
-
$subquery-border-color: hsl(from var(--subquery-header-background) h s calc(l * 0.9));
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@if not($separator-color) and $subquery-border-color {
|
|
78
|
-
$separator-color: hsl(from var(--subquery-border-color) h s calc(l * 0.9));
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@if $variant == 'bootstrap' {
|
|
82
|
-
@if not($header-border) and $subquery-border-color {
|
|
83
|
-
$header-border: var(--subquery-border-color);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
@return extend($theme, (
|
|
88
|
-
name: $name,
|
|
89
|
-
selector: $selector,
|
|
90
|
-
background: $background,
|
|
91
|
-
header-background: $header-background,
|
|
92
|
-
header-foreground: $header-foreground,
|
|
93
|
-
header-border: $header-border,
|
|
94
|
-
color-expression-group-and: $color-expression-group-and,
|
|
95
|
-
color-expression-group-or: $color-expression-group-or,
|
|
96
|
-
subquery-header-background: $subquery-header-background,
|
|
97
|
-
subquery-border-color: $subquery-border-color,
|
|
98
|
-
subquery-border-radius: $subquery-border-radius,
|
|
99
|
-
separator-color: $separator-color,
|
|
100
|
-
border-radius: $border-radius,
|
|
101
|
-
label-foreground: $label-foreground,
|
|
102
|
-
));
|
|
103
|
-
}
|
|
104
3
|
|
|
105
4
|
////
|
|
106
5
|
/// @group themes
|
|
@@ -2,142 +2,6 @@
|
|
|
2
2
|
@use 'sass:math';
|
|
3
3
|
@use '../../base' as *;
|
|
4
4
|
@use 'igniteui-theming/sass/animations' as *;
|
|
5
|
-
@use '../../themes/schemas' as *;
|
|
6
|
-
|
|
7
|
-
////
|
|
8
|
-
/// @group themes
|
|
9
|
-
/// @access public
|
|
10
|
-
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
|
|
11
|
-
/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
|
|
12
|
-
////
|
|
13
|
-
|
|
14
|
-
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
|
|
15
|
-
///
|
|
16
|
-
/// @param {Color} $label-color [null]- The text color used for the label text.
|
|
17
|
-
/// @param {Color} $label-color-hover [null]- The text color used for the label text on hover.
|
|
18
|
-
/// @param {Color} $empty-color [null] - The unchecked border color.
|
|
19
|
-
/// @param {Color} $empty-fill-color [null] - The unchecked radio fill color.
|
|
20
|
-
/// @param {Color} $fill-color [null] - The checked border and dot colors.
|
|
21
|
-
/// @param {Color} $disabled-color [null] - The disabled border and dot colors.
|
|
22
|
-
/// @param {Color} $disabled-label-color [null] - The disabled label color.
|
|
23
|
-
/// @param {Color} $disabled-fill-color [null] - The disabled checked border and dot colors.
|
|
24
|
-
/// @param {Color} $hover-color [null] - The border and dot colors on hover.
|
|
25
|
-
/// @param {Color} $fill-color-hover [null] - The checked dot color on hover.
|
|
26
|
-
/// @param {Color} $fill-hover-border-color [null] - The checked border color on hover.
|
|
27
|
-
/// @param {Color} $focus-border-color [null] - The focus border color.
|
|
28
|
-
/// @param {Color} $focus-outline-color [null] - The focus outlined color.
|
|
29
|
-
/// @param {Color} $focus-outline-color-filled [null] - The focus outline color when radio is filled.
|
|
30
|
-
/// @param {Color} $error-color [null] - The label, border and dot color in invalid state.
|
|
31
|
-
/// @param {Color} $error-color-hover [null] - The label, border and dot color in invalid state on hover.
|
|
32
|
-
/// @param {Color} $focus-outline-color-error [null] - The focus outline color in invalid state.
|
|
33
|
-
///
|
|
34
|
-
/// @requires $light-material-schema
|
|
35
|
-
///
|
|
36
|
-
/// Set light to true when the surrounding area is dark.
|
|
37
|
-
/// @example scss Change the checked dot and border colors
|
|
38
|
-
/// $my-radio-theme: radio-theme($fill-color: magenta);
|
|
39
|
-
/// // Pass the theme to the css-vars() mixin
|
|
40
|
-
/// @include css-vars($my-radio-theme);
|
|
41
|
-
@function radio-theme(
|
|
42
|
-
$schema: $light-material-schema,
|
|
43
|
-
|
|
44
|
-
$label-color: null,
|
|
45
|
-
$label-color-hover: null,
|
|
46
|
-
$empty-color: null,
|
|
47
|
-
$empty-fill-color: null,
|
|
48
|
-
$fill-color: null,
|
|
49
|
-
$fill-hover-border-color: null,
|
|
50
|
-
$focus-border-color: null,
|
|
51
|
-
$focus-outline-color: null,
|
|
52
|
-
$focus-outline-color-filled: null,
|
|
53
|
-
$disabled-color: null,
|
|
54
|
-
$disabled-label-color: null,
|
|
55
|
-
$disabled-fill-color: null,
|
|
56
|
-
$hover-color: null,
|
|
57
|
-
$fill-color-hover: null,
|
|
58
|
-
$error-color: null,
|
|
59
|
-
$error-color-hover: null,
|
|
60
|
-
$focus-outline-color-error: null,
|
|
61
|
-
) {
|
|
62
|
-
$name: 'igx-radio';
|
|
63
|
-
$radio-schema: ();
|
|
64
|
-
|
|
65
|
-
@if map.has-key($schema, 'radio') {
|
|
66
|
-
$radio-schema: map.get($schema, 'radio');
|
|
67
|
-
} @else {
|
|
68
|
-
$radio-schema: $schema;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
$theme: digest-schema($radio-schema);
|
|
72
|
-
$variant: map.get($theme, '_meta', 'theme');
|
|
73
|
-
|
|
74
|
-
@if not($hover-color) and $empty-color {
|
|
75
|
-
$hover-color: hsl(from var(--empty-color) h s calc(l * 0.9));
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@if not($fill-color-hover) and $fill-color {
|
|
79
|
-
$fill-color-hover: hsl(from var(--fill-color) h s calc(l * 0.9));
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@if $variant != 'bootstrap' {
|
|
83
|
-
@if not($fill-hover-border-color) and $fill-color-hover {
|
|
84
|
-
$fill-hover-border-color: var(--fill-color-hover);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
@if not($label-color-hover) and $label-color {
|
|
89
|
-
$label-color-hover: hsl(from var(--label-color) h s calc(l * 0.9));
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@if not($error-color-hover) and $error-color {
|
|
93
|
-
$error-color-hover: hsl(from var(--error-color) h s calc(l * 0.9));
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@if not($focus-outline-color-error) and $error-color {
|
|
97
|
-
$focus-outline-color-error: hsla(from var(--error-color) h s l / .5);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@if $variant == 'bootstrap' {
|
|
101
|
-
@if not($focus-border-color) and $fill-color {
|
|
102
|
-
$focus-border-color: var(--fill-color);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@if not($focus-outline-color) and $fill-color {
|
|
106
|
-
$focus-outline-color: hsla(from var(--fill-color) h s l / .5);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
@if $variant == 'indigo' {
|
|
111
|
-
@if not($focus-outline-color) and $empty-color {
|
|
112
|
-
$focus-outline-color: hsla(from var(--empty-color) h s l / .5);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@if not($focus-outline-color-filled) and $fill-color {
|
|
116
|
-
$focus-outline-color-filled: hsla(from var(--fill-color) h s l / .5);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@return extend($theme, (
|
|
121
|
-
name: $name,
|
|
122
|
-
label-color: $label-color,
|
|
123
|
-
label-color-hover: $label-color-hover,
|
|
124
|
-
empty-color: $empty-color,
|
|
125
|
-
empty-fill-color: $empty-fill-color,
|
|
126
|
-
fill-color: $fill-color,
|
|
127
|
-
fill-hover-border-color: $fill-hover-border-color,
|
|
128
|
-
disabled-color: $disabled-color,
|
|
129
|
-
disabled-label-color: $disabled-label-color,
|
|
130
|
-
disabled-fill-color: $disabled-fill-color,
|
|
131
|
-
hover-color: $hover-color,
|
|
132
|
-
fill-color-hover: $fill-color-hover,
|
|
133
|
-
focus-border-color: $focus-border-color,
|
|
134
|
-
focus-outline-color: $focus-outline-color,
|
|
135
|
-
focus-outline-color-filled: $focus-outline-color-filled,
|
|
136
|
-
error-color: $error-color,
|
|
137
|
-
error-color-hover: $error-color-hover,
|
|
138
|
-
focus-outline-color-error: $focus-outline-color-error,
|
|
139
|
-
));
|
|
140
|
-
}
|
|
141
5
|
|
|
142
6
|
/// @deprecated Use the `css-vars` mixin instead.
|
|
143
7
|
/// @see {mixin} css-vars
|
|
@@ -1,48 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@use 'sass:meta';
|
|
3
2
|
@use '../../base' as *;
|
|
4
|
-
@use '../../themes/schemas' as *;
|
|
5
|
-
|
|
6
|
-
////
|
|
7
|
-
/// @group themes
|
|
8
|
-
/// @access public
|
|
9
|
-
/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
|
|
10
|
-
////
|
|
11
|
-
|
|
12
|
-
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
|
|
13
|
-
///
|
|
14
|
-
/// @param {Color} $label-color [null] - sets the color for the label.
|
|
15
|
-
/// @param {Number} $symbol-size [null] - the size of the symbols.
|
|
16
|
-
/// @param {Color} $symbol-empty-color [null] - sets the idle color for the symbol when it is a plane text.
|
|
17
|
-
/// @param {Color} $symbol-full-color [null] - sets the color in selected state for the symbol when it is a plane text.
|
|
18
|
-
/// @param {Color} $symbol-empty-filter [null] - the filter(s) used for the empty symbol.
|
|
19
|
-
/// @param {Color} $symbol-full-filter [null] - the filter(s) used for the filled symbol.
|
|
20
|
-
/// @param {Color} $disabled-label-color [null] - sets the color for the label in disabled state.
|
|
21
|
-
/// @param {Color} $disabled-empty-symbol-color [null] - sets the idle color for the symbol in disabled state when it is a plane text.
|
|
22
|
-
/// @param {Color} $disabled-full-symbol-color [null] - sets the color for the symbol in selected/disabled state when it is a plane text.
|
|
23
|
-
/// @requires $light-material-schema
|
|
24
|
-
/// @example scss Change the rating filled symbol color
|
|
25
|
-
/// $my-rating-theme: rating-theme($symbol-full-color: red);
|
|
26
|
-
/// // Pass the theme to the css-vars() mixin
|
|
27
|
-
/// @include css-vars($my-rating-theme);
|
|
28
|
-
@function rating-theme(
|
|
29
|
-
$schema: $light-material-schema,
|
|
30
|
-
$rest...
|
|
31
|
-
) {
|
|
32
|
-
|
|
33
|
-
$name: 'igc-rating';
|
|
34
|
-
$rating-schema: ();
|
|
35
|
-
|
|
36
|
-
@if map.has-key($schema, 'rating') {
|
|
37
|
-
$rating-schema: map.get($schema, 'rating');
|
|
38
|
-
} @else {
|
|
39
|
-
$rating-schema: $schema;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
$theme: digest-schema($rating-schema);
|
|
43
|
-
|
|
44
|
-
@return extend($theme, (name: $name), meta.keywords($rest));
|
|
45
|
-
}
|
|
46
3
|
|
|
47
4
|
/// @deprecated Use the `css-vars` mixin instead.
|
|
48
5
|
/// @see {mixin} css-vars
|
|
@@ -1,44 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '../../base' as *;
|
|
3
|
-
@use '../../themes/schemas' as *;
|
|
4
|
-
|
|
5
|
-
////
|
|
6
|
-
/// @group themes
|
|
7
|
-
/// @access public
|
|
8
|
-
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
|
|
9
|
-
/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
|
|
10
|
-
////
|
|
11
|
-
|
|
12
|
-
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
|
|
13
|
-
/// @param {Color} $color [null] - The color of the ripple.
|
|
14
|
-
/// @requires $light-material-schema
|
|
15
|
-
/// @example scss Change the color
|
|
16
|
-
/// $my-ripple-theme: igx-ripple-theme($color: yellow);
|
|
17
|
-
/// // Pass the theme to the css-vars() mixin
|
|
18
|
-
/// @include css-vars($my-ripple-theme);
|
|
19
|
-
@function ripple-theme(
|
|
20
|
-
$schema: $light-material-schema,
|
|
21
|
-
$color: null
|
|
22
|
-
) {
|
|
23
|
-
$name: 'igx-ripple';
|
|
24
|
-
$selector: '[igxRipple]';
|
|
25
|
-
|
|
26
|
-
$ripple-schema: ();
|
|
27
|
-
|
|
28
|
-
@if map.has-key($schema, 'ripple') {
|
|
29
|
-
$ripple-schema: map.get($schema, 'ripple');
|
|
30
|
-
} @else {
|
|
31
|
-
$ripple-schema: $schema;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
$theme: digest-schema($ripple-schema);
|
|
35
|
-
|
|
36
|
-
@return extend($theme, (
|
|
37
|
-
name: $name,
|
|
38
|
-
selector: $selector,
|
|
39
|
-
color: $color,
|
|
40
|
-
));
|
|
41
|
-
}
|
|
42
3
|
|
|
43
4
|
/// @deprecated Use the `css-vars` mixin instead.
|
|
44
5
|
/// @see {mixin} css-vars
|
|
@@ -1,88 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use 'sass:meta';
|
|
3
3
|
@use '../../base' as *;
|
|
4
|
-
@use '../../themes/schemas' as *;
|
|
5
|
-
|
|
6
|
-
////
|
|
7
|
-
/// @group themes
|
|
8
|
-
/// @access public
|
|
9
|
-
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
|
|
10
|
-
////
|
|
11
|
-
|
|
12
|
-
/// If only background color is specified, text/icon color will be assigned automatically to a contrasting color.
|
|
13
|
-
/// @param {Color} $schema [$light-material-schema] - The schema used as basis for styling the component.
|
|
14
|
-
/// @param {String | Number} $sb-size [null] - The size of the scrollbar.
|
|
15
|
-
/// @param {String | Number} $sb-thumb-min-height [null] - The min-height of the thumb.
|
|
16
|
-
/// @param {Color} $sb-thumb-bg-color [null] - The background color of the thumb.
|
|
17
|
-
/// @param {Color} $sb-thumb-bg-color-hover [null] - The :hover background color of the thumb.
|
|
18
|
-
/// @param {Color} $sb-thumb-border-color [null] - The border color of the thumb.
|
|
19
|
-
/// @param {String | Number} $sb-thumb-border-size [null] - The border size of the thumb.
|
|
20
|
-
/// @param {String | Number} $sb-thumb-border-radius [null] - The border radius of the thumb.
|
|
21
|
-
/// @param {Color} $sb-track-bg-color [null] - The background color of the track.
|
|
22
|
-
/// @param {Color} $sb-track-bg-color-hover [null] - The :hover background color of the track.
|
|
23
|
-
/// @param {Color} $sb-track-border-color [null] - The border color of the track.
|
|
24
|
-
/// @param {String | Number} $sb-track-border-size [null] - The border size of the track.
|
|
25
|
-
/// @param {Color} $sb-corner-bg [null] - The background color of the corner.
|
|
26
|
-
/// @param {Color} $sb-corner-border-color [null] - The border color of the corner.
|
|
27
|
-
/// @param {String | Number} $sb-corner-border-size [null] - The border size of the corner.
|
|
28
|
-
/// @requires $light-material-schema
|
|
29
|
-
/// @example scss Change the background and track colors
|
|
30
|
-
/// $my-scrollbar-theme: scrollbar-theme($sb-thumb-bg-color: black, $sb-track-bg-color: gray);
|
|
31
|
-
/// // Pass the theme to the css-vars() mixin
|
|
32
|
-
/// @include css-vars($my-scrollbar-theme);
|
|
33
|
-
@function scrollbar-theme(
|
|
34
|
-
$schema: $light-material-schema,
|
|
35
|
-
$sb-size: null,
|
|
36
|
-
|
|
37
|
-
$sb-thumb-min-height: null,
|
|
38
|
-
$sb-thumb-bg-color: null,
|
|
39
|
-
$sb-thumb-bg-color-hover: null,
|
|
40
|
-
$sb-thumb-border-size: null,
|
|
41
|
-
$sb-thumb-border-color: null,
|
|
42
|
-
$sb-thumb-border-radius: null,
|
|
43
|
-
|
|
44
|
-
$sb-track-bg-color: null,
|
|
45
|
-
$sb-track-bg-color-hover: null,
|
|
46
|
-
$sb-track-border-color: null,
|
|
47
|
-
$sb-track-border-size: null,
|
|
48
|
-
|
|
49
|
-
$sb-corner-bg: null,
|
|
50
|
-
$sb-corner-border-color: null,
|
|
51
|
-
$sb-corner-border-size: null,
|
|
52
|
-
) {
|
|
53
|
-
$name: 'ig-scrollbar';
|
|
54
|
-
$selector: '.ig-scrollbar';
|
|
55
|
-
$scrollbar-schema: ();
|
|
56
|
-
|
|
57
|
-
@if map.has-key($schema, 'scrollbar') {
|
|
58
|
-
$scrollbar-schema: map.get($schema, 'scrollbar');
|
|
59
|
-
} @else {
|
|
60
|
-
$scrollbar-schema: $schema;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
$theme: digest-schema($scrollbar-schema);
|
|
64
|
-
|
|
65
|
-
@return extend($theme, (
|
|
66
|
-
name: $name,
|
|
67
|
-
selector: $selector,
|
|
68
|
-
|
|
69
|
-
sb-thumb-min-height: $sb-thumb-min-height,
|
|
70
|
-
sb-thumb-bg-color: $sb-thumb-bg-color,
|
|
71
|
-
sb-thumb-bg-color-hover: $sb-thumb-bg-color-hover,
|
|
72
|
-
sb-thumb-border-size: $sb-thumb-border-size,
|
|
73
|
-
sb-thumb-border-color: $sb-thumb-border-color,
|
|
74
|
-
sb-thumb-border-radius: $sb-thumb-border-radius,
|
|
75
|
-
|
|
76
|
-
sb-track-bg-color: $sb-track-bg-color,
|
|
77
|
-
sb-track-bg-color-hover: $sb-track-bg-color-hover,
|
|
78
|
-
sb-track-border-color: $sb-track-border-color,
|
|
79
|
-
sb-track-border-size: $sb-track-border-size,
|
|
80
|
-
|
|
81
|
-
sb-corner-bg: $sb-corner-bg,
|
|
82
|
-
sb-corner-border-color: $sb-corner-border-color,
|
|
83
|
-
sb-corner-border-size: $sb-corner-border-size,
|
|
84
|
-
));
|
|
85
|
-
}
|
|
86
4
|
|
|
87
5
|
/// @deprecated Use the `css-vars` mixin instead.
|
|
88
6
|
/// @see {mixin} css-vars
|