claritas-web-framework 8.3.2 → 8.5.0
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 +1 -1
- package/dist/index.html +1 -1
- package/index.html +8 -1
- package/package.json +7 -7
- package/sass/_functions.scss +2 -2
- package/sass/_reboot.scss +2 -2
- package/sass/_root.scss +0 -13
- package/sass/_variables.scss +13 -19
- package/sass/helpers/_screenReader.scss +4 -0
- package/sass/mixins/_button.scss +42 -73
- package/sass/mixins/_caret.scss +2 -2
- package/sass/mixins/_colors.scss +5 -5
- package/sass/mixins/_gradient.scss +17 -7
- package/sass/modules/_alert.scss +9 -13
- package/sass/modules/_breadcrumbs.scss +1 -1
- package/sass/modules/_button.scss +16 -22
- package/sass/modules/_card.scss +10 -10
- package/sass/modules/_details.scss +1 -1
- package/sass/modules/_dropdown.scss +1 -1
- package/sass/modules/_form.scss +54 -64
- package/sass/modules/_list.scss +1 -1
- package/sass/modules/_modal.scss +1 -1
- package/sass/modules/_nav.scss +20 -41
- package/sass/modules/_pill.scss +4 -6
- package/sass/modules/_table.scss +3 -20
- package/sass/modules/_tabs.scss +6 -6
- package/sass/modules/_tag.scss +4 -6
- package/sass/modules/_tile.scss +10 -10
- package/sass/modules/form/_checkbox.scss +3 -5
- package/sass/modules/form/_file.scss +6 -6
- package/sass/modules/form/_formFieldGroup.scss +3 -3
- package/sass/modules/form/_output.scss +1 -1
- package/sass/modules/form/_progress.scss +6 -6
- package/sass/modules/form/_radio.scss +3 -5
- package/sass/modules/form/_range.scss +11 -11
- package/sass/modules/form/_text.scss +10 -10
- package/sass/modules/form/_toggle.scss +4 -6
|
@@ -16,7 +16,7 @@ progress {
|
|
|
16
16
|
overflow: hidden;
|
|
17
17
|
|
|
18
18
|
&::-webkit-progress-bar {
|
|
19
|
-
background-color:
|
|
19
|
+
background-color: color-mix(in oklab, var(--body-color), #fff 95%);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&::-webkit-progress-value {
|
|
@@ -25,7 +25,7 @@ progress {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&::-moz-progress-bar {
|
|
28
|
-
background-color:
|
|
28
|
+
background-color: color-mix(in oklab, var(--body-color), #fff 95%);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&::-moz-progress-value {
|
|
@@ -36,19 +36,19 @@ progress {
|
|
|
36
36
|
@each $key, $value in $theme-colors {
|
|
37
37
|
&.input--#{$key} {
|
|
38
38
|
&::-webkit-progress-bar {
|
|
39
|
-
background-color: hsl(var(--#{$key}
|
|
39
|
+
background-color: hsl(from var(--#{$key}) h s l / 5%);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&::-moz-progress-bar {
|
|
43
|
-
background-color: hsl(var(--#{$key}
|
|
43
|
+
background-color: hsl(from var(--#{$key}) h s l / 5%);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
&::-webkit-progress-value {
|
|
47
|
-
background-color:
|
|
47
|
+
background-color: var(--#{$key});
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
&::-moz-progress-value {
|
|
51
|
-
background-color:
|
|
51
|
+
background-color: var(--#{$key});
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@use "./../../variables" as *;
|
|
4
4
|
@use "./../../mixins/breakpoints" as *;
|
|
5
5
|
|
|
6
|
-
.
|
|
6
|
+
.form__control.radio {
|
|
7
7
|
& > * {
|
|
8
8
|
&:not(:last-child) {
|
|
9
9
|
margin-right: var(--spacer);
|
|
@@ -48,10 +48,8 @@
|
|
|
48
48
|
@each $key, $value in $theme-colors {
|
|
49
49
|
&.input--#{$key} {
|
|
50
50
|
&:checked {
|
|
51
|
-
--input-detail-background:
|
|
52
|
-
--input-disabled-detail-background: hsl(
|
|
53
|
-
var(--#{$key}-h) var(--#{$key}-s) var(--#{$key}-l) / #{$color-disabled-alpha}
|
|
54
|
-
);
|
|
51
|
+
--input-detail-background: var(--#{$key});
|
|
52
|
+
--input-disabled-detail-background: hsl(from var(--#{$key}) h s l / #{$color-disabled-alpha});
|
|
55
53
|
}
|
|
56
54
|
}
|
|
57
55
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use "./../../variables" as *;
|
|
3
3
|
|
|
4
4
|
@mixin make-track() {
|
|
5
|
-
background: hsl(var(--border-color-main
|
|
5
|
+
background: hsl(from var(--border-color-main) h s l / 10%);
|
|
6
6
|
border-radius: var(--input-round-border-radius);
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: calc(var(--spacer) * 0.5);
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
$focus: false,
|
|
14
14
|
$disabled: false,
|
|
15
15
|
$color: var(--input-detail-background),
|
|
16
|
-
$shadow: hsl(var(--primary
|
|
16
|
+
$shadow: hsl(from var(--primary) h s l / 25%)
|
|
17
17
|
) {
|
|
18
18
|
margin-top: calc(var(--spacer) * -0.25);
|
|
19
19
|
width: var(--spacer);
|
|
@@ -47,7 +47,7 @@ input[type="range"] {
|
|
|
47
47
|
--input-focus-box-shadow: none;
|
|
48
48
|
--input-active-box-shadow: none;
|
|
49
49
|
--input-disabled-box-shadow: none;
|
|
50
|
-
--input-disabled-background:
|
|
50
|
+
--input-disabled-background: var(--white);
|
|
51
51
|
--input-padding-x: 0;
|
|
52
52
|
--input-small-padding-x: 0;
|
|
53
53
|
--input-large-padding-x: 0;
|
|
@@ -87,7 +87,7 @@ input[type="range"] {
|
|
|
87
87
|
&:disabled,
|
|
88
88
|
&.disabled,
|
|
89
89
|
&[aria-disabled="true"] {
|
|
90
|
-
--input-disabled-detail-background:
|
|
90
|
+
--input-disabled-detail-background: color-mix(in oklab, var(--primary), #fff #{$link-shade-percentage});
|
|
91
91
|
|
|
92
92
|
&::-webkit-slider-runnable-track {
|
|
93
93
|
@include make-track;
|
|
@@ -108,23 +108,23 @@ input[type="range"] {
|
|
|
108
108
|
|
|
109
109
|
@each $key, $value in $theme-colors {
|
|
110
110
|
&.input--#{$key} {
|
|
111
|
-
--input-disabled-detail-background:
|
|
111
|
+
--input-disabled-detail-background: color-mix(in oklab, var(--#{$key}), #000 #{$link-shade-percentage});
|
|
112
112
|
|
|
113
113
|
&::-moz-range-thumb {
|
|
114
|
-
@include make-thumb(false, false, $value, hsl(var(--#{$key}
|
|
114
|
+
@include make-thumb(false, false, $value, hsl(from var(--#{$key}) h s l / 25%));
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
&::-webkit-slider-thumb {
|
|
118
|
-
@include make-thumb(false, false, $value, hsl(var(--#{$key}
|
|
118
|
+
@include make-thumb(false, false, $value, hsl(from var(--#{$key}) h s l / 25%));
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
&:focus {
|
|
122
122
|
&::-moz-range-thumb {
|
|
123
|
-
@include make-thumb(true, false, $value, hsl(var(--#{$key}
|
|
123
|
+
@include make-thumb(true, false, $value, hsl(from var(--#{$key}) h s l / 25%));
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
&::-webkit-slider-thumb {
|
|
127
|
-
@include make-thumb(true, false, $value, hsl(var(--#{$key}
|
|
127
|
+
@include make-thumb(true, false, $value, hsl(from var(--#{$key}) h s l / 25%));
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
|
|
@@ -132,11 +132,11 @@ input[type="range"] {
|
|
|
132
132
|
&.disabled,
|
|
133
133
|
&[aria-disabled="true"] {
|
|
134
134
|
&::-moz-range-thumb {
|
|
135
|
-
@include make-thumb(false, true, $value, hsl(var(--#{$key}
|
|
135
|
+
@include make-thumb(false, true, $value, hsl(from var(--#{$key}) h s l / 25%));
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
&::-webkit-slider-thumb {
|
|
139
|
-
@include make-thumb(false, true, $value, hsl(var(--#{$key}
|
|
139
|
+
@include make-thumb(false, true, $value, hsl(from var(--#{$key}) h s l / 25%));
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
}
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
--input-padding-x: 0;
|
|
7
7
|
--input-small-padding-x: 0;
|
|
8
8
|
--input-large-padding-x: 0;
|
|
9
|
-
--input-box-shadow: 0 0 0 0.125em
|
|
10
|
-
--input-hover-box-shadow: 0 0 0 0.125em
|
|
11
|
-
--input-focus-box-shadow: 0 0 0 0.125em
|
|
12
|
-
--input-active-box-shadow: 0 0 0 0.125em
|
|
13
|
-
--input-disabled-box-shadow: 0 0 0 0.125em
|
|
9
|
+
--input-box-shadow: 0 0 0 0.125em transparent;
|
|
10
|
+
--input-hover-box-shadow: 0 0 0 0.125em transparent;
|
|
11
|
+
--input-focus-box-shadow: 0 0 0 0.125em transparent;
|
|
12
|
+
--input-active-box-shadow: 0 0 0 0.125em transparent;
|
|
13
|
+
--input-disabled-box-shadow: 0 0 0 0.125em transparent;
|
|
14
14
|
--input-border-radius: 0;
|
|
15
15
|
--input-small-border-radius: 0;
|
|
16
16
|
--input-large-border-radius: 0;
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
|
|
19
19
|
@each $key, $value in $theme-colors {
|
|
20
20
|
&.input--#{$key} {
|
|
21
|
-
--input-box-shadow: 0 0 0 0.125em
|
|
22
|
-
--input-hover-box-shadow: 0 0 0 0.125em
|
|
23
|
-
--input-focus-box-shadow: 0 0 0 0.125em
|
|
24
|
-
--input-active-box-shadow: 0 0 0 0.125em
|
|
25
|
-
--input-disabled-box-shadow: 0 0 0 0.125em
|
|
21
|
+
--input-box-shadow: 0 0 0 0.125em transparent;
|
|
22
|
+
--input-hover-box-shadow: 0 0 0 0.125em transparent;
|
|
23
|
+
--input-focus-box-shadow: 0 0 0 0.125em transparent;
|
|
24
|
+
--input-active-box-shadow: 0 0 0 0.125em transparent;
|
|
25
|
+
--input-disabled-box-shadow: 0 0 0 0.125em transparent;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use "./../../variables" as *;
|
|
3
3
|
@use "./../../mixins/breakpoints" as *;
|
|
4
4
|
|
|
5
|
-
.
|
|
5
|
+
.form__control.toggle {
|
|
6
6
|
& > * {
|
|
7
7
|
&:not(:last-child) {
|
|
8
8
|
margin-right: var(--spacer);
|
|
@@ -56,13 +56,11 @@
|
|
|
56
56
|
|
|
57
57
|
@each $key, $value in $theme-colors {
|
|
58
58
|
&.input--#{$key} {
|
|
59
|
-
--input-border-color: hsl(var(--#{$key}
|
|
59
|
+
--input-border-color: hsl(from var(--#{$key}) h s l / #{$color-disabled-alpha});
|
|
60
60
|
|
|
61
61
|
&:checked {
|
|
62
|
-
--input-detail-background:
|
|
63
|
-
--input-disabled-detail-background: hsl(
|
|
64
|
-
var(--#{$key}-h) var(--#{$key}-s) var(--#{$key}-l) / #{$color-disabled-alpha}
|
|
65
|
-
);
|
|
62
|
+
--input-detail-background: var(--#{$key});
|
|
63
|
+
--input-disabled-detail-background: hsl(from var(--#{$key}) h s l / #{$color-disabled-alpha});
|
|
66
64
|
}
|
|
67
65
|
}
|
|
68
66
|
}
|