indicator-ui 0.1.122 → 0.1.124
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/dist/index.css +1768 -888
- package/dist/index.css.map +1 -1
- package/dist/index.js +89 -32
- package/dist/index.js.map +1 -1
- package/dist/scss/styles/mixins/index.scss +0 -1
- package/dist/scss/styles/mixins/utils.scss +1 -3
- package/dist/scss/ui/Buttons/styles/mixins/baseButton.scss +1 -2
- package/dist/scss/ui/Buttons/styles/mixins/properties/link-black.scss +15 -33
- package/dist/scss/ui/Buttons/styles/mixins/properties/link-color.scss +15 -33
- package/dist/scss/ui/Buttons/styles/mixins/properties/link-gray.scss +27 -41
- package/dist/scss/ui/Buttons/styles/mixins/properties/primary.scss +20 -32
- package/dist/scss/ui/Buttons/styles/mixins/properties/secondary-color.scss +38 -62
- package/dist/scss/ui/Buttons/styles/mixins/properties/secondary-gray.scss +37 -63
- package/dist/scss/ui/Buttons/styles/mixins/properties/small.scss +7 -0
- package/dist/scss/ui/Buttons/styles/mixins/properties/tab-active.scss +39 -81
- package/dist/scss/ui/Buttons/styles/mixins/properties/tab.scss +39 -81
- package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-color.scss +16 -78
- package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-gray.scss +16 -34
- package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-white.scss +16 -78
- package/dist/scss/ui/Buttons/styles/mixins/properties/utils/button-color.scss +35 -0
- package/dist/scss/ui/Buttons/styles/mixins/properties/warning-link-color.scss +14 -35
- package/dist/scss/ui/Buttons/styles/mixins/properties/warning-primary.scss +21 -19
- package/dist/scss/ui/Buttons/styles/mixins/properties/warning-secondary-color.scss +37 -39
- package/dist/scss/ui/InputFields/DateTimeFieldMask/styles/mixins/states/dateTimeDefault.scss +24 -0
- package/dist/scss/ui/InputFields/DateTimeFieldMask/styles/mixins/states/dateTimeDisabled.scss +26 -0
- package/dist/scss/ui/InputFields/DateTimeFieldMask/styles/mixins/states/dateTimeError.scss +26 -0
- package/dist/scss/ui/InputFields/DateTimeFieldMask/styles/mixins/states/index.scss +3 -0
- package/dist/scss/ui/InputFields/DateTimeFieldMask/styles/mixins/utils/dateRangeFieldColor.scss +57 -0
- package/dist/scss/ui/MicroButton/styles/mixins/properties/blue-light.scss +15 -11
- package/dist/scss/ui/MicroButton/styles/mixins/properties/color-fill.scss +33 -10
- package/dist/scss/ui/MicroButton/styles/mixins/properties/color-hover.scss +33 -10
- package/dist/scss/ui/MicroButton/styles/mixins/properties/color.scss +15 -13
- package/dist/scss/ui/MicroButton/styles/mixins/properties/dark.scss +22 -9
- package/dist/scss/ui/MicroButton/styles/mixins/properties/gray-fill.scss +15 -13
- package/dist/scss/ui/MicroButton/styles/mixins/properties/gray.scss +15 -13
- package/dist/scss/ui/MicroButton/styles/mixins/properties/light.scss +33 -10
- package/dist/scss/ui/MicroButton/styles/mixins/properties/red-fill.scss +15 -13
- package/dist/scss/ui/MicroButton/styles/mixins/properties/red-hover.scss +15 -13
- package/dist/scss/ui/MicroButton/styles/mixins/properties/utils/micro-button-color.scss +20 -0
- package/dist/scss/ui/formFields/FormField/styles/mixins/states/formFieldDefault.scss +24 -0
- package/dist/scss/ui/formFields/FormField/styles/mixins/states/formFieldDisabled.scss +26 -0
- package/dist/scss/ui/formFields/FormField/styles/mixins/states/formFieldError.scss +26 -0
- package/dist/scss/ui/formFields/FormField/styles/mixins/states/formFieldErrorFocus.scss +26 -0
- package/dist/scss/ui/formFields/FormField/styles/mixins/states/formFieldFocus.scss +26 -0
- package/dist/scss/ui/formFields/FormField/styles/mixins/states/index.scss +5 -0
- package/dist/scss/ui/formFields/FormField/styles/mixins/utils/formFieldColor.scss +59 -0
- package/dist/scss/ui/formFields/mixins/index.scss +1 -0
- package/dist/scss/ui/formFields/mixins/input-color.scss +71 -0
- package/dist/ts/src/hooks/index.d.ts +1 -0
- package/dist/ts/src/hooks/useLoading.d.ts +17 -0
- package/dist/ts/src/test/pages/index.d.ts +1 -1
- package/dist/ts/src/ui/Buttons/types/ButtonTypes.d.ts +1 -1
- package/dist/ts/src/ui/formFields/FormPaginatedSelectField/hooks/useFormPaginatedSelectField.d.ts +1 -1
- package/docs/CSSVariables/CSSThemeCustomize.md +112 -135
- package/package.json +1 -1
- package/dist/scss/styles/mixins/formFieldMixins.scss +0 -55
- /package/dist/ts/src/test/pages/{MicroButtonsPage.d.ts → MicroButtonsPage/MicroButtonsPage.d.ts} +0 -0
|
@@ -1,103 +1,61 @@
|
|
|
1
1
|
@use '../../../../../styles' as *;
|
|
2
|
+
@use 'utils/button-color' as *;
|
|
2
3
|
|
|
3
4
|
@mixin tabActiveButton {
|
|
4
|
-
border-radius: 6px;
|
|
5
|
-
background-color: var(--base-white);
|
|
6
|
-
border: 1px solid transparent;
|
|
7
|
-
box-shadow: 0 1px 2px 0 #1018280D;
|
|
5
|
+
border-radius: var(--ui-button-tab-radius, 6px);
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.content {
|
|
18
|
-
.text, .textSecondary {
|
|
19
|
-
@include fnt-flex($color: var(--gray-700));
|
|
20
|
-
}
|
|
21
|
-
}
|
|
7
|
+
@include button-color(
|
|
8
|
+
$prefix: 'tab-active',
|
|
9
|
+
$background-color: var(--base-white),
|
|
10
|
+
$border-color: transparent,
|
|
11
|
+
$icon-color: var(--gray-700),
|
|
12
|
+
$text-color: var(--gray-700),
|
|
13
|
+
$box-shadow: 0 1px 2px 0 #1018280D
|
|
14
|
+
);
|
|
22
15
|
|
|
23
16
|
&:not(.disabled):not(:disabled) {
|
|
24
|
-
@include
|
|
17
|
+
@include hover {
|
|
18
|
+
&:active,
|
|
25
19
|
&:hover {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@include tablet {
|
|
39
|
-
&:active {
|
|
40
|
-
&:hover {
|
|
41
|
-
.icon {
|
|
42
|
-
@include modify-svg($stroke: var(--gray-900));
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.text {
|
|
46
|
-
color: var(--gray-900);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
20
|
+
@include button-color(
|
|
21
|
+
$prefix: 'tab-active-hover',
|
|
22
|
+
$background-color: var(--base-white),
|
|
23
|
+
$border-color: transparent,
|
|
24
|
+
$icon-color: var(--gray-900),
|
|
25
|
+
$text-color: var(--gray-900),
|
|
26
|
+
$box-shadow: 0 1px 2px 0 #1018280D
|
|
27
|
+
);
|
|
49
28
|
}
|
|
50
29
|
}
|
|
51
30
|
}
|
|
52
31
|
|
|
53
32
|
&:disabled, &.disabled {
|
|
54
33
|
opacity: 0.5;
|
|
34
|
+
pointer-events: none;
|
|
55
35
|
}
|
|
56
36
|
|
|
57
37
|
@include darkTheme {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
@include modify-svg($stroke: var(--gray-400));
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.content {
|
|
70
|
-
.text, .textSecondary {
|
|
71
|
-
@include fnt-flex($color: var(--gray-400));
|
|
72
|
-
}
|
|
73
|
-
}
|
|
38
|
+
@include button-color(
|
|
39
|
+
$prefix: 'tab-active',
|
|
40
|
+
$background-color: var(--gray-700),
|
|
41
|
+
$border-color: transparent,
|
|
42
|
+
$icon-color: var(--gray-400),
|
|
43
|
+
$text-color: var(--gray-400),
|
|
44
|
+
$box-shadow: 0 1px 2px 0 #05070c8a
|
|
45
|
+
);
|
|
74
46
|
|
|
75
47
|
&:not(.disabled):not(:disabled) {
|
|
76
|
-
@include
|
|
48
|
+
@include hover {
|
|
49
|
+
&:active,
|
|
77
50
|
&:hover {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@include tablet {
|
|
91
|
-
&:active {
|
|
92
|
-
background-color: var(--gray-600);
|
|
93
|
-
|
|
94
|
-
.icon {
|
|
95
|
-
@include modify-svg($stroke: var(--gray-200));
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.text {
|
|
99
|
-
color: var(--gray-200);
|
|
100
|
-
}
|
|
51
|
+
@include button-color(
|
|
52
|
+
$prefix: 'tab-active-hover',
|
|
53
|
+
$background-color: var(--gray-600),
|
|
54
|
+
$border-color: transparent,
|
|
55
|
+
$icon-color: var(--gray-200),
|
|
56
|
+
$text-color: var(--gray-200),
|
|
57
|
+
$box-shadow: 0 1px 2px 0 #05070c8a
|
|
58
|
+
);
|
|
101
59
|
}
|
|
102
60
|
}
|
|
103
61
|
}
|
|
@@ -1,103 +1,61 @@
|
|
|
1
1
|
@use '../../../../../styles' as *;
|
|
2
|
+
@use 'utils/button-color' as *;
|
|
2
3
|
|
|
3
4
|
@mixin tabButton {
|
|
4
|
-
border-radius: 6px;
|
|
5
|
-
background-color: var(--gray-100);
|
|
6
|
-
border: 1px solid transparent;
|
|
7
|
-
box-shadow: 0 1px 2px 0 #1018280D;
|
|
5
|
+
border-radius: var(--ui-button-tab-radius, 6px);
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.content {
|
|
18
|
-
.text, .textSecondary {
|
|
19
|
-
@include fnt-flex($color: var(--gray-500));
|
|
20
|
-
}
|
|
21
|
-
}
|
|
7
|
+
@include button-color(
|
|
8
|
+
$prefix: 'tab',
|
|
9
|
+
$background-color: var(--gray-100),
|
|
10
|
+
$border-color: transparent,
|
|
11
|
+
$icon-color: var(--gray-500),
|
|
12
|
+
$text-color: var(--gray-500),
|
|
13
|
+
$box-shadow: 0 1px 2px 0 #1018280D
|
|
14
|
+
);
|
|
22
15
|
|
|
23
16
|
&:not(.disabled):not(:disabled) {
|
|
24
|
-
@include
|
|
17
|
+
@include hover {
|
|
18
|
+
&:active,
|
|
25
19
|
&:hover {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@include tablet {
|
|
39
|
-
&:active {
|
|
40
|
-
background-color: var(--gray-200);
|
|
41
|
-
|
|
42
|
-
.icon {
|
|
43
|
-
@include modify-svg($stroke: var(--gray-800));
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.text {
|
|
47
|
-
color: var(--gray-800);
|
|
48
|
-
}
|
|
20
|
+
@include button-color(
|
|
21
|
+
$prefix: 'tab-hover',
|
|
22
|
+
$background-color: var(--gray-200),
|
|
23
|
+
$border-color: transparent,
|
|
24
|
+
$icon-color: var(--gray-800),
|
|
25
|
+
$text-color: var(--gray-800),
|
|
26
|
+
$box-shadow: 0 1px 2px 0 #1018280D
|
|
27
|
+
);
|
|
49
28
|
}
|
|
50
29
|
}
|
|
51
30
|
}
|
|
52
31
|
|
|
53
32
|
&:disabled, &.disabled {
|
|
54
33
|
opacity: 0.5;
|
|
34
|
+
pointer-events: none;
|
|
55
35
|
}
|
|
56
36
|
|
|
57
37
|
@include darkTheme {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
@include modify-svg($stroke: var(--gray-400));
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.content {
|
|
70
|
-
.text, .textSecondary {
|
|
71
|
-
@include fnt-flex($color: var(--gray-400));
|
|
72
|
-
}
|
|
73
|
-
}
|
|
38
|
+
@include button-color(
|
|
39
|
+
$prefix: 'tab',
|
|
40
|
+
$background-color: var(--gray-900),
|
|
41
|
+
$border-color: transparent,
|
|
42
|
+
$icon-color: var(--gray-400),
|
|
43
|
+
$text-color: var(--gray-400),
|
|
44
|
+
$box-shadow: 0 1px 2px 0 #05070c8a
|
|
45
|
+
);
|
|
74
46
|
|
|
75
47
|
&:not(.disabled):not(:disabled) {
|
|
76
|
-
@include
|
|
48
|
+
@include hover {
|
|
49
|
+
&:active,
|
|
77
50
|
&:hover {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@include tablet {
|
|
91
|
-
&:active {
|
|
92
|
-
background-color: var(--gray-800);
|
|
93
|
-
|
|
94
|
-
.icon {
|
|
95
|
-
@include modify-svg($stroke: var(--gray-200));
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.text {
|
|
99
|
-
color: var(--gray-200);
|
|
100
|
-
}
|
|
51
|
+
@include button-color(
|
|
52
|
+
$prefix: 'tab-hover',
|
|
53
|
+
$background-color: var(--gray-800),
|
|
54
|
+
$border-color: transparent,
|
|
55
|
+
$icon-color: var(--gray-200),
|
|
56
|
+
$text-color: var(--gray-200),
|
|
57
|
+
$box-shadow: 0 1px 2px 0 #1018280D
|
|
58
|
+
);
|
|
101
59
|
}
|
|
102
60
|
}
|
|
103
61
|
}
|
|
@@ -1,92 +1,30 @@
|
|
|
1
1
|
@use '../../../../../styles' as *;
|
|
2
|
-
|
|
3
|
-
@mixin tertiaryColorButton-hover-state {
|
|
4
|
-
.content {
|
|
5
|
-
.text, .textSecondary {
|
|
6
|
-
@include fnt-flex($color: var(--primary-700));
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.icon {
|
|
11
|
-
@include modify-svg($stroke: var(--primary-700));
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@mixin tertiaryColorDarkThemeButton-hover-state {
|
|
16
|
-
.content {
|
|
17
|
-
.text, .textSecondary {
|
|
18
|
-
@include fnt-flex($color: var(--primary-700));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.icon {
|
|
23
|
-
@include modify-svg($stroke: var(--primary-700));
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
2
|
+
@use 'utils/button-color' as *;
|
|
27
3
|
|
|
28
4
|
@mixin tertiaryColorButton {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
.icon {
|
|
36
|
-
@include modify-svg($stroke: var(--primary-500));
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.content {
|
|
40
|
-
.text, .textSecondary {
|
|
41
|
-
@include fnt-flex($color: var(--primary-500));
|
|
42
|
-
}
|
|
43
|
-
}
|
|
5
|
+
@include button-color(
|
|
6
|
+
$prefix: 'tertiary-color',
|
|
7
|
+
$border-color: transparent,
|
|
8
|
+
$icon-color: var(--primary-500),
|
|
9
|
+
$text-color: var(--primary-500)
|
|
10
|
+
);
|
|
44
11
|
|
|
45
12
|
&:not(.disabled):not(:disabled) {
|
|
46
|
-
@include
|
|
13
|
+
@include hover {
|
|
14
|
+
&:active,
|
|
47
15
|
&:hover {
|
|
48
|
-
@include
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
@include tertiaryColorButton-hover-state;
|
|
16
|
+
@include button-color(
|
|
17
|
+
$prefix: 'tertiary-color-hover',
|
|
18
|
+
$border-color: transparent,
|
|
19
|
+
$icon-color: var(--primary-700),
|
|
20
|
+
$text-color: var(--primary-700)
|
|
21
|
+
);
|
|
55
22
|
}
|
|
56
23
|
}
|
|
57
24
|
}
|
|
58
25
|
|
|
59
26
|
&:disabled, &.disabled {
|
|
60
27
|
opacity: 0.5;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
@include darkTheme {
|
|
64
|
-
.loader {
|
|
65
|
-
@include modify-svg($stroke: var(--primary-500));
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.icon {
|
|
69
|
-
@include modify-svg($stroke: var(--primary-500));
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.content {
|
|
73
|
-
.text, .textSecondary {
|
|
74
|
-
@include fnt-flex($color: var(--primary-500));
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&:not(.disabled):not(:disabled) {
|
|
79
|
-
@include tablet-plus {
|
|
80
|
-
&:hover {
|
|
81
|
-
@include tertiaryColorDarkThemeButton-hover-state;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@include tablet {
|
|
86
|
-
&:active {
|
|
87
|
-
@include tertiaryColorDarkThemeButton-hover-state;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
28
|
+
pointer-events: none;
|
|
91
29
|
}
|
|
92
30
|
}
|
|
@@ -1,48 +1,30 @@
|
|
|
1
1
|
@use '../../../../../styles' as *;
|
|
2
|
-
|
|
3
|
-
@mixin tertiaryGrayButton-hover-state {
|
|
4
|
-
.content {
|
|
5
|
-
.text, .textSecondary {
|
|
6
|
-
@include fnt-flex($color: var(--gray-900));
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.icon {
|
|
10
|
-
@include modify-svg($stroke: var(--gray-900));
|
|
11
|
-
}
|
|
12
|
-
}
|
|
2
|
+
@use 'utils/button-color' as *;
|
|
13
3
|
|
|
14
4
|
@mixin tertiaryGrayButton {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
.icon {
|
|
22
|
-
@include modify-svg($stroke: var(--gray-700));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.content {
|
|
26
|
-
.text, .textSecondary {
|
|
27
|
-
@include fnt-flex($color: var(--gray-700));
|
|
28
|
-
}
|
|
29
|
-
}
|
|
5
|
+
@include button-color(
|
|
6
|
+
$prefix: 'tertiary-gray',
|
|
7
|
+
$border-color: transparent,
|
|
8
|
+
$icon-color: var(--gray-700),
|
|
9
|
+
$text-color: var(--gray-700)
|
|
10
|
+
);
|
|
30
11
|
|
|
31
12
|
&:not(.disabled):not(:disabled) {
|
|
32
|
-
@include
|
|
13
|
+
@include hover {
|
|
14
|
+
&:active,
|
|
33
15
|
&:hover {
|
|
34
|
-
@include
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
16
|
+
@include button-color(
|
|
17
|
+
$prefix: 'tertiary-gray-hover',
|
|
18
|
+
$border-color: transparent,
|
|
19
|
+
$icon-color: var(--gray-900),
|
|
20
|
+
$text-color: var(--gray-900)
|
|
21
|
+
);
|
|
40
22
|
}
|
|
41
23
|
}
|
|
42
24
|
}
|
|
43
25
|
|
|
44
|
-
|
|
45
26
|
&:disabled, &.disabled {
|
|
46
27
|
opacity: 0.5;
|
|
28
|
+
pointer-events: none;
|
|
47
29
|
}
|
|
48
30
|
}
|
|
@@ -1,92 +1,30 @@
|
|
|
1
1
|
@use '../../../../../styles' as *;
|
|
2
|
-
|
|
3
|
-
@mixin tertiaryWhiteButton-hover-state {
|
|
4
|
-
.content {
|
|
5
|
-
.text, .textSecondary {
|
|
6
|
-
@include fnt-flex($color: var(--base-white));
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.icon {
|
|
11
|
-
@include modify-svg($stroke: var(--base-white));
|
|
12
|
-
}
|
|
13
|
-
}
|
|
2
|
+
@use 'utils/button-color' as *;
|
|
14
3
|
|
|
15
4
|
@mixin tertiaryWhiteButton {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.icon {
|
|
23
|
-
@include modify-svg($stroke: var(--primary-100));
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.content {
|
|
27
|
-
.text, .textSecondary {
|
|
28
|
-
@include fnt-flex($color: var(--primary-100));
|
|
29
|
-
}
|
|
30
|
-
}
|
|
5
|
+
@include button-color(
|
|
6
|
+
$prefix: 'tertiary-white',
|
|
7
|
+
$border-color: transparent,
|
|
8
|
+
$icon-color: var(--primary-100),
|
|
9
|
+
$text-color: var(--primary-100)
|
|
10
|
+
);
|
|
31
11
|
|
|
32
12
|
&:not(.disabled):not(:disabled) {
|
|
33
|
-
@include
|
|
13
|
+
@include hover {
|
|
14
|
+
&:active,
|
|
34
15
|
&:hover {
|
|
35
|
-
@include
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
@include tertiaryWhiteButton-hover-state;
|
|
16
|
+
@include button-color(
|
|
17
|
+
$prefix: 'tertiary-white-hover',
|
|
18
|
+
$border-color: transparent,
|
|
19
|
+
$icon-color: var(--base-white),
|
|
20
|
+
$text-color: var(--base-white)
|
|
21
|
+
);
|
|
42
22
|
}
|
|
43
23
|
}
|
|
44
24
|
}
|
|
45
25
|
|
|
46
26
|
&:disabled, &.disabled {
|
|
47
27
|
opacity: 0.5;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
@include darkTheme {
|
|
51
|
-
.loader {
|
|
52
|
-
@include modify-svg($stroke: var(--primary-100));
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.icon {
|
|
56
|
-
@include modify-svg($stroke: var(--primary-100));
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.content {
|
|
60
|
-
.text, .textSecondary {
|
|
61
|
-
@include fnt-flex($color: var(--primary-100));
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&:not(.disabled):not(:disabled) {
|
|
66
|
-
@include tablet-plus {
|
|
67
|
-
&:hover {
|
|
68
|
-
@include tertiaryWhiteDarkThemeButton-hover-state;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
@include tablet {
|
|
73
|
-
&:active {
|
|
74
|
-
@include tertiaryWhiteDarkThemeButton-hover-state;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
@mixin tertiaryWhiteDarkThemeButton-hover-state {
|
|
83
|
-
.content {
|
|
84
|
-
.text, .textSecondary {
|
|
85
|
-
@include fnt-flex($color: var(--base-white));
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.icon {
|
|
90
|
-
@include modify-svg($stroke: var(--base-white));
|
|
28
|
+
pointer-events: none;
|
|
91
29
|
}
|
|
92
30
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use '../../../../../../styles' as *;
|
|
2
|
+
|
|
3
|
+
@mixin button-color(
|
|
4
|
+
$prefix,
|
|
5
|
+
$background-color: null,
|
|
6
|
+
$border-color: null,
|
|
7
|
+
$icon-color: null,
|
|
8
|
+
$text-color: null,
|
|
9
|
+
$box-shadow: null) {
|
|
10
|
+
& {
|
|
11
|
+
@if ($background-color != null) {
|
|
12
|
+
background-color: var(--ui-button-#{$prefix}-background-color, $background-color);
|
|
13
|
+
}
|
|
14
|
+
@if ($border-color != null) {
|
|
15
|
+
border: 1px solid var(--ui-button-#{$prefix}-border-color, $border-color);
|
|
16
|
+
}
|
|
17
|
+
@if ($box-shadow != null) {
|
|
18
|
+
box-shadow: var(--ui-button-#{$prefix}-box-shadow, $box-shadow);
|
|
19
|
+
}
|
|
20
|
+
@if ($icon-color != null) {
|
|
21
|
+
.loader,
|
|
22
|
+
.icon {
|
|
23
|
+
@include modify-svg($stroke: var(--ui-button-#{$prefix}-icon-color, $icon-color));
|
|
24
|
+
@include fnt-flex($color: var(--ui-button-#{$prefix}-icon-color, $icon-color));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
@if ($text-color != null) {
|
|
28
|
+
.content {
|
|
29
|
+
.text, .textSecondary {
|
|
30
|
+
@include fnt-flex($color: var(--ui-button-#{$prefix}-text-color, $text-color));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -1,49 +1,28 @@
|
|
|
1
1
|
@use '../../../../../styles' as *;
|
|
2
|
+
@use 'utils/button-color' as *;
|
|
2
3
|
|
|
3
4
|
@mixin warningLinkColorButton {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
@include modify-svg($stroke: var(--error-500));
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.content {
|
|
13
|
-
padding: 0 !important;
|
|
14
|
-
|
|
15
|
-
.text, .textSecondary {
|
|
16
|
-
@include fnt-flex($color: var(--error-500));
|
|
17
|
-
}
|
|
18
|
-
}
|
|
5
|
+
@include button-color(
|
|
6
|
+
$prefix: 'link-color-warning',
|
|
7
|
+
$icon-color: var(--error-500),
|
|
8
|
+
$text-color: var(--error-500)
|
|
9
|
+
);
|
|
19
10
|
|
|
20
11
|
&:not(.disabled):not(:disabled) {
|
|
21
|
-
@include
|
|
12
|
+
@include hover {
|
|
13
|
+
&:active,
|
|
22
14
|
&:hover {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
@include modify-svg($stroke: var(--error-700));
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@include tablet {
|
|
34
|
-
&:active {
|
|
35
|
-
.text {
|
|
36
|
-
color: var(--error-700);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.icon {
|
|
40
|
-
@include modify-svg($stroke: var(--error-700));
|
|
41
|
-
}
|
|
15
|
+
@include button-color(
|
|
16
|
+
$prefix: 'link-color-warning-hover',
|
|
17
|
+
$icon-color: var(--error-700),
|
|
18
|
+
$text-color: var(--error-700)
|
|
19
|
+
);
|
|
42
20
|
}
|
|
43
21
|
}
|
|
44
22
|
}
|
|
45
23
|
|
|
46
24
|
&:disabled, &.disabled {
|
|
47
25
|
opacity: 0.5;
|
|
26
|
+
pointer-events: none;
|
|
48
27
|
}
|
|
49
28
|
}
|