claritas-web-framework 8.2.0 → 8.3.1
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 +6 -67
- package/dist/index.html +1 -1
- package/index.html +3 -1
- package/package.json +9 -15
- package/sass/_functions.scss +4 -15
- package/sass/_helpers.scss +1 -6
- package/sass/_mixins.scss +0 -11
- package/sass/_modules.scss +0 -30
- package/sass/_reboot.scss +8 -12
- package/sass/_root.scss +2 -1
- package/sass/_utilities.scss +0 -16
- package/sass/_variables.scss +9 -3
- package/sass/helpers/_container.scss +0 -3
- package/sass/helpers/_embed.scss +0 -1
- package/sass/helpers/_grid.scss +0 -10
- package/sass/helpers/_link.scss +0 -1
- package/sass/helpers/_rfs.scss +303 -0
- package/sass/helpers/_screenReader.scss +0 -2
- package/sass/helpers/_wrap.scss +0 -1
- package/sass/index.scss +2 -7
- package/sass/mixins/_breakpoints.scss +6 -29
- package/sass/mixins/_button.scss +0 -2
- package/sass/mixins/_caret.scss +1 -5
- package/sass/mixins/_clearfix.scss +0 -1
- package/sass/mixins/_colors.scss +3 -5
- package/sass/mixins/_container.scss +0 -3
- package/sass/mixins/_gradient.scss +0 -1
- package/sass/mixins/_grid.scss +3 -22
- package/sass/mixins/_group.scss +1 -7
- package/sass/mixins/_list.scss +1 -5
- package/sass/mixins/_screenReader.scss +0 -1
- package/sass/modules/_alert.scss +1 -5
- package/sass/modules/_breadcrumbs.scss +0 -3
- package/sass/modules/_button.scss +1 -11
- package/sass/modules/_card.scss +1 -10
- package/sass/modules/_close.scss +0 -1
- package/sass/modules/_details.scss +3 -5
- package/sass/modules/_dialog.scss +0 -2
- package/sass/modules/_dropdown.scss +0 -2
- package/sass/modules/_form.scss +1 -7
- package/sass/modules/_list.scss +2 -14
- package/sass/modules/_loader.scss +0 -10
- package/sass/modules/_modal.scss +0 -2
- package/sass/modules/_nav.scss +0 -4
- package/sass/modules/_pill.scss +1 -8
- package/sass/modules/_tabs.scss +1 -6
- package/sass/modules/_tag.scss +1 -9
- package/sass/modules/_tile.scss +1 -8
- package/sass/modules/_tooltip.scss +0 -6
- package/sass/modules/form/_checkbox.scss +0 -6
- package/sass/modules/form/_file.scss +0 -11
- package/sass/modules/form/_formFieldGroup.scss +0 -2
- package/sass/modules/form/_output.scss +0 -1
- package/sass/modules/form/_progress.scss +0 -2
- package/sass/modules/form/_radio.scss +0 -6
- package/sass/modules/form/_range.scss +0 -21
- package/sass/modules/form/_select.scss +0 -1
- package/sass/modules/form/_switch.scss +0 -5
- package/sass/modules/form/_text.scss +0 -1
- package/sass/modules/form/_toggle.scss +0 -4
- package/sass/utilities/_align.scss +0 -4
- package/sass/utilities/_border.scss +0 -2
- package/sass/utilities/_colors.scss +0 -9
- package/sass/utilities/_display.scss +0 -4
- package/sass/utilities/_flex.scss +0 -3
- package/sass/utilities/_float.scss +0 -3
- package/sass/utilities/_order.scss +0 -3
- package/sass/utilities/_overflow.scss +0 -3
- package/sass/utilities/_pointerEvents.scss +0 -3
- package/sass/utilities/_position.scss +0 -3
- package/sass/utilities/_size.scss +0 -3
- package/sass/utilities/_spacing.scss +0 -3
- package/sass/utilities/_typography.scss +0 -3
- package/sass/utilities/_visibility.scss +0 -3
- package/sass/utilities/_zIndex.scss +0 -3
- package/.stylelintrc.json +0 -40
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
|
|
3
2
|
@use "sass:color";
|
|
4
|
-
|
|
5
3
|
@use "./../../variables" as *;
|
|
6
|
-
|
|
7
4
|
@use "./../../mixins/breakpoints" as *;
|
|
8
5
|
|
|
9
6
|
.form--control-radio {
|
|
10
|
-
|
|
11
7
|
& > * {
|
|
12
|
-
|
|
13
8
|
&:not(:last-child) {
|
|
14
9
|
margin-right: var(--spacer);
|
|
15
10
|
|
|
@@ -52,7 +47,6 @@
|
|
|
52
47
|
|
|
53
48
|
@each $key, $value in $theme-colors {
|
|
54
49
|
&.input--#{$key} {
|
|
55
|
-
|
|
56
50
|
&:checked {
|
|
57
51
|
--input-detail-background: hsl(var(--#{$key}-h) var(--#{$key}-s) var(--#{$key}-l));
|
|
58
52
|
--input-disabled-detail-background: hsl(
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@use "sass:color";
|
|
2
|
-
|
|
3
2
|
@use "./../../variables" as *;
|
|
4
3
|
|
|
5
4
|
@mixin make-track() {
|
|
@@ -56,39 +55,31 @@ input[type="range"] {
|
|
|
56
55
|
margin: calc(var(--spacer) * 0.5) 0;
|
|
57
56
|
|
|
58
57
|
&::-moz-range-track {
|
|
59
|
-
|
|
60
58
|
@include make-track;
|
|
61
59
|
}
|
|
62
60
|
|
|
63
61
|
&::-webkit-slider-runnable-track {
|
|
64
|
-
|
|
65
62
|
@include make-track;
|
|
66
63
|
}
|
|
67
64
|
|
|
68
65
|
&::-moz-range-thumb {
|
|
69
|
-
|
|
70
66
|
@include make-thumb(false, false);
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
&::-webkit-slider-thumb {
|
|
74
|
-
|
|
75
70
|
@include make-thumb(false, false);
|
|
76
71
|
}
|
|
77
72
|
|
|
78
73
|
&:focus {
|
|
79
|
-
|
|
80
74
|
&::-webkit-slider-runnable-track {
|
|
81
|
-
|
|
82
75
|
@include make-track;
|
|
83
76
|
}
|
|
84
77
|
|
|
85
78
|
&::-moz-range-track {
|
|
86
|
-
|
|
87
79
|
@include make-track;
|
|
88
80
|
}
|
|
89
81
|
|
|
90
82
|
&::-webkit-slider-thumb {
|
|
91
|
-
|
|
92
83
|
@include make-thumb(true, false);
|
|
93
84
|
}
|
|
94
85
|
}
|
|
@@ -99,22 +90,18 @@ input[type="range"] {
|
|
|
99
90
|
--input-disabled-detail-background: hsl(var(--primary-h) var(--primary-s) calc(var(--primary-l) + 20%));
|
|
100
91
|
|
|
101
92
|
&::-webkit-slider-runnable-track {
|
|
102
|
-
|
|
103
93
|
@include make-track;
|
|
104
94
|
}
|
|
105
95
|
|
|
106
96
|
&::-moz-range-track {
|
|
107
|
-
|
|
108
97
|
@include make-track;
|
|
109
98
|
}
|
|
110
99
|
|
|
111
100
|
&::-moz-range-thumb {
|
|
112
|
-
|
|
113
101
|
@include make-thumb(false, true);
|
|
114
102
|
}
|
|
115
103
|
|
|
116
104
|
&::-webkit-slider-thumb {
|
|
117
|
-
|
|
118
105
|
@include make-thumb(false, true);
|
|
119
106
|
}
|
|
120
107
|
}
|
|
@@ -124,24 +111,19 @@ input[type="range"] {
|
|
|
124
111
|
--input-disabled-detail-background: hsl(var(--#{$key}-h) var(--#{$key}-s) calc(var(--#{$key}-l) + 20%));
|
|
125
112
|
|
|
126
113
|
&::-moz-range-thumb {
|
|
127
|
-
|
|
128
114
|
@include make-thumb(false, false, $value, hsl(var(--#{$key}-h) var(--#{$key}-s) var(--#{$key}-l) / 25%));
|
|
129
115
|
}
|
|
130
116
|
|
|
131
117
|
&::-webkit-slider-thumb {
|
|
132
|
-
|
|
133
118
|
@include make-thumb(false, false, $value, hsl(var(--#{$key}-h) var(--#{$key}-s) var(--#{$key}-l) / 25%));
|
|
134
119
|
}
|
|
135
120
|
|
|
136
121
|
&:focus {
|
|
137
|
-
|
|
138
122
|
&::-moz-range-thumb {
|
|
139
|
-
|
|
140
123
|
@include make-thumb(true, false, $value, hsl(var(--#{$key}-h) var(--#{$key}-s) var(--#{$key}-l) / 25%));
|
|
141
124
|
}
|
|
142
125
|
|
|
143
126
|
&::-webkit-slider-thumb {
|
|
144
|
-
|
|
145
127
|
@include make-thumb(true, false, $value, hsl(var(--#{$key}-h) var(--#{$key}-s) var(--#{$key}-l) / 25%));
|
|
146
128
|
}
|
|
147
129
|
}
|
|
@@ -149,14 +131,11 @@ input[type="range"] {
|
|
|
149
131
|
&:disabled,
|
|
150
132
|
&.disabled,
|
|
151
133
|
&[aria-disabled="true"] {
|
|
152
|
-
|
|
153
134
|
&::-moz-range-thumb {
|
|
154
|
-
|
|
155
135
|
@include make-thumb(false, true, $value, hsl(var(--#{$key}-h) var(--#{$key}-s) var(--#{$key}-l) / 25%));
|
|
156
136
|
}
|
|
157
137
|
|
|
158
138
|
&::-webkit-slider-thumb {
|
|
159
|
-
|
|
160
139
|
@include make-thumb(false, true, $value, hsl(var(--#{$key}-h) var(--#{$key}-s) var(--#{$key}-l) / 25%));
|
|
161
140
|
}
|
|
162
141
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@use "sass:color";
|
|
2
|
-
|
|
3
2
|
@use "./../../variables" as *;
|
|
4
|
-
|
|
5
3
|
@use "./../../mixins" as *;
|
|
6
4
|
|
|
7
5
|
.button--switch {
|
|
@@ -14,7 +12,6 @@
|
|
|
14
12
|
|
|
15
13
|
&[disabled],
|
|
16
14
|
&:disabled {
|
|
17
|
-
|
|
18
15
|
+ .button {
|
|
19
16
|
pointer-events: none;
|
|
20
17
|
filter: none;
|
|
@@ -24,7 +21,6 @@
|
|
|
24
21
|
}
|
|
25
22
|
|
|
26
23
|
.switches {
|
|
27
|
-
|
|
28
24
|
@include make-group-row;
|
|
29
25
|
|
|
30
26
|
&.switches--grouped {
|
|
@@ -32,7 +28,6 @@
|
|
|
32
28
|
flex-wrap: nowrap;
|
|
33
29
|
|
|
34
30
|
& > .button {
|
|
35
|
-
|
|
36
31
|
&:not(:last-child) {
|
|
37
32
|
border-bottom-right-radius: 0;
|
|
38
33
|
border-top-right-radius: 0;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
|
|
3
2
|
@use "./../variables" as *;
|
|
4
|
-
|
|
5
3
|
@use "./../mixins/breakpoints" as *;
|
|
6
4
|
|
|
7
5
|
$alignments: (baseline, top, middle, bottom, text-bottom, text-top) !default;
|
|
8
6
|
|
|
9
7
|
@each $breakpoint in map.keys($breakpoints) {
|
|
10
|
-
|
|
11
8
|
@include media-breakpoint-up($breakpoint) {
|
|
12
9
|
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
13
10
|
|
|
@@ -20,7 +17,6 @@ $alignments: (baseline, top, middle, bottom, text-bottom, text-top) !default;
|
|
|
20
17
|
}
|
|
21
18
|
|
|
22
19
|
@media print {
|
|
23
|
-
|
|
24
20
|
@each $value in $alignments {
|
|
25
21
|
.vertical-align--print-#{$value} {
|
|
26
22
|
vertical-align: #{$value} !important;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
@use "./../variables" as *;
|
|
2
|
-
|
|
3
2
|
@use "./../mixins/colors" as *;
|
|
4
3
|
|
|
5
4
|
@each $key, $value in $all-colors {
|
|
6
5
|
.color--#{$key} {
|
|
7
|
-
|
|
8
6
|
@include make-color($key);
|
|
9
7
|
|
|
10
8
|
color: var(--color) !important;
|
|
@@ -12,7 +10,6 @@
|
|
|
12
10
|
|
|
13
11
|
button.color--#{$key},
|
|
14
12
|
a.color--#{$key} {
|
|
15
|
-
|
|
16
13
|
@include make-color($key);
|
|
17
14
|
|
|
18
15
|
color: var(--color) !important;
|
|
@@ -29,14 +26,12 @@
|
|
|
29
26
|
}
|
|
30
27
|
|
|
31
28
|
.background--#{$key} {
|
|
32
|
-
|
|
33
29
|
@include make-background-color($key);
|
|
34
30
|
|
|
35
31
|
background-color: var(--background-color) !important;
|
|
36
32
|
}
|
|
37
33
|
|
|
38
34
|
.border--#{$key} {
|
|
39
|
-
|
|
40
35
|
@include make-border-color($key);
|
|
41
36
|
|
|
42
37
|
border-color: var(--border-color) !important;
|
|
@@ -45,7 +40,6 @@
|
|
|
45
40
|
|
|
46
41
|
@each $key, $value in $grays {
|
|
47
42
|
.color--#{$key} {
|
|
48
|
-
|
|
49
43
|
@include make-color($key);
|
|
50
44
|
|
|
51
45
|
color: var(--color) !important;
|
|
@@ -53,7 +47,6 @@
|
|
|
53
47
|
|
|
54
48
|
button.color--#{$key},
|
|
55
49
|
a.color--#{$key} {
|
|
56
|
-
|
|
57
50
|
@include make-color($key);
|
|
58
51
|
|
|
59
52
|
color: var(--color) !important;
|
|
@@ -70,14 +63,12 @@
|
|
|
70
63
|
}
|
|
71
64
|
|
|
72
65
|
.background--#{$key} {
|
|
73
|
-
|
|
74
66
|
@include make-background-color($key);
|
|
75
67
|
|
|
76
68
|
background-color: var(--background-color) !important;
|
|
77
69
|
}
|
|
78
70
|
|
|
79
71
|
.border--#{$key} {
|
|
80
|
-
|
|
81
72
|
@include make-border-color($key);
|
|
82
73
|
|
|
83
74
|
border-color: var(--border-color) !important;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
|
|
3
2
|
@use "./../variables" as *;
|
|
4
|
-
|
|
5
3
|
@use "./../mixins/breakpoints" as *;
|
|
6
4
|
|
|
7
5
|
$displays: (initial, none, inline, inline-block, block, table-row, table-cell, flex, inline-flex, grid) !default;
|
|
8
6
|
|
|
9
7
|
@each $breakpoint in map.keys($breakpoints) {
|
|
10
|
-
|
|
11
8
|
@include media-breakpoint-up($breakpoint) {
|
|
12
9
|
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
13
10
|
|
|
@@ -20,7 +17,6 @@ $displays: (initial, none, inline, inline-block, block, table-row, table-cell, f
|
|
|
20
17
|
}
|
|
21
18
|
|
|
22
19
|
@media print {
|
|
23
|
-
|
|
24
20
|
@each $value in $displays {
|
|
25
21
|
.display--print-#{$value} {
|
|
26
22
|
display: #{$value} !important;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
|
|
3
2
|
@use "./../variables" as *;
|
|
4
|
-
|
|
5
3
|
@use "./../mixins/breakpoints" as *;
|
|
6
4
|
|
|
7
5
|
$flex-directions: (row, column, row-reverse, column-reverse) !default;
|
|
@@ -11,7 +9,6 @@ $flex-item-alignments: (auto, flex-start, flex-end, center, baseline, stretch) !
|
|
|
11
9
|
$flex-content-alignments: (flex-start, flex-end, center, space-between, space-around, stretch) !default;
|
|
12
10
|
|
|
13
11
|
@each $breakpoint in map.keys($breakpoints) {
|
|
14
|
-
|
|
15
12
|
@include media-breakpoint-up($breakpoint) {
|
|
16
13
|
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
17
14
|
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
|
|
3
2
|
@use "./../variables" as *;
|
|
4
|
-
|
|
5
3
|
@use "./../mixins/breakpoints" as *;
|
|
6
4
|
|
|
7
5
|
$floats: (left, right, none) !default;
|
|
8
6
|
|
|
9
7
|
@each $breakpoint in map.keys($breakpoints) {
|
|
10
|
-
|
|
11
8
|
@include media-breakpoint-up($breakpoint) {
|
|
12
9
|
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
13
10
|
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
|
|
3
2
|
@use "./../variables" as *;
|
|
4
|
-
|
|
5
3
|
@use "./../mixins/breakpoints" as *;
|
|
6
4
|
|
|
7
5
|
$overflows: (auto, hidden, visible, scroll) !default;
|
|
8
6
|
|
|
9
7
|
@each $breakpoint in map.keys($breakpoints) {
|
|
10
|
-
|
|
11
8
|
@include media-breakpoint-up($breakpoint) {
|
|
12
9
|
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
13
10
|
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
|
|
3
2
|
@use "./../variables" as *;
|
|
4
|
-
|
|
5
3
|
@use "./../mixins/breakpoints" as *;
|
|
6
4
|
|
|
7
5
|
$pointer-events: (auto, none) !default;
|
|
8
6
|
|
|
9
7
|
@each $breakpoint in map.keys($breakpoints) {
|
|
10
|
-
|
|
11
8
|
@include media-breakpoint-up($breakpoint) {
|
|
12
9
|
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
13
10
|
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
|
|
3
2
|
@use "./../variables" as *;
|
|
4
|
-
|
|
5
3
|
@use "./../mixins/breakpoints" as *;
|
|
6
4
|
|
|
7
5
|
$positions: (static, relative, absolute, fixed, sticky) !default;
|
|
8
6
|
$position-ints: (0, 25, 50, 75, 100) !default;
|
|
9
7
|
|
|
10
8
|
@each $breakpoint in map.keys($breakpoints) {
|
|
11
|
-
|
|
12
9
|
@include media-breakpoint-up($breakpoint) {
|
|
13
10
|
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
14
11
|
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
|
|
3
2
|
@use "./../variables" as *;
|
|
4
|
-
|
|
5
3
|
@use "./../mixins/breakpoints" as *;
|
|
6
4
|
|
|
7
5
|
@each $key, $value in $font-sizes {
|
|
@@ -17,7 +15,6 @@
|
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
@each $breakpoint in map.keys($breakpoints) {
|
|
20
|
-
|
|
21
18
|
@include media-breakpoint-up($breakpoint) {
|
|
22
19
|
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
23
20
|
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
|
|
3
2
|
@use "./../variables" as *;
|
|
4
|
-
|
|
5
3
|
@use "./../mixins/breakpoints" as *;
|
|
6
4
|
|
|
7
5
|
$visibilities: (visible, hidden) !default;
|
|
8
6
|
|
|
9
7
|
@each $breakpoint in map.keys($breakpoints) {
|
|
10
|
-
|
|
11
8
|
@include media-breakpoint-up($breakpoint) {
|
|
12
9
|
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
13
10
|
|
package/.stylelintrc.json
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": [
|
|
3
|
-
"stylelint-config-standard",
|
|
4
|
-
"stylelint-config-standard-scss"
|
|
5
|
-
],
|
|
6
|
-
"ignorePatterns": [
|
|
7
|
-
"/dist/*"
|
|
8
|
-
],
|
|
9
|
-
"plugins": [
|
|
10
|
-
"stylelint-scss"
|
|
11
|
-
],
|
|
12
|
-
"rules": {
|
|
13
|
-
"rule-empty-line-before": "always-multi-line",
|
|
14
|
-
"at-rule-empty-line-before": "always",
|
|
15
|
-
"color-function-notation": "modern",
|
|
16
|
-
"selector-id-pattern": "^[a-z][a-zA-Z0-9]+$",
|
|
17
|
-
"selector-class-pattern": "^[a-z][a-zA-Z0-9]+|^([a-z][a-z0-9]*)(--[a-z0-9]+)*$",
|
|
18
|
-
"at-rule-no-unknown": null,
|
|
19
|
-
"no-descending-specificity": null,
|
|
20
|
-
"scss/selector-no-redundant-nesting-selector": null,
|
|
21
|
-
"scss/dollar-variable-empty-line-before": [
|
|
22
|
-
"always",
|
|
23
|
-
{
|
|
24
|
-
"except": [
|
|
25
|
-
"first-nested",
|
|
26
|
-
"after-comment",
|
|
27
|
-
"after-dollar-variable"
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"scss/at-rule-no-unknown": [
|
|
32
|
-
true,
|
|
33
|
-
{
|
|
34
|
-
"ignoreAtRules": [
|
|
35
|
-
"container"
|
|
36
|
-
]
|
|
37
|
-
}
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
}
|