claritas-web-framework 6.0.0-beta-11 → 6.0.0-beta-12
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/package.json +3 -3
- package/scss/_functions.scss +5 -3
- package/scss/_variables.scss +1 -1
- package/scss/mixins/_breakpoints.scss +2 -1
- package/scss/mixins/_rfs.scss +2 -1
- package/scss/modules/_form.scss +0 -1
- package/scss/modules/form/_formFieldGroup.scss +0 -3
- package/scss/utilities/_order.scss +7 -7
- package/scss/utilities/_position.scss +3 -1
- package/styles/modules/form/form-field-group.css +0 -3
- package/styles/modules/form.css +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claritas-web-framework",
|
|
3
|
-
"version": "6.0.0-beta-
|
|
3
|
+
"version": "6.0.0-beta-12",
|
|
4
4
|
"updated": "13/10/2022",
|
|
5
5
|
"description": "The CSS framework built for Claritas front end.",
|
|
6
6
|
"main": "index.js",
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"url": "git+ssh://10.10.10.21/GitRepositories/ClaWebFramework"
|
|
15
15
|
},
|
|
16
16
|
"author": "David Brooks",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "UNLICENSED",
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@alexlafroscia/postcss-color-mod-function": "^4.0.0",
|
|
20
20
|
"@babel/eslint-plugin": "^7.19.1",
|
|
21
21
|
"css-loader": "^6.7.1",
|
|
22
22
|
"cssnano": "^5.1.13",
|
|
23
|
-
"eslint": "^8.
|
|
23
|
+
"eslint": "^8.26.0",
|
|
24
24
|
"eslint-config-prettier": "^8.5.0",
|
|
25
25
|
"eslint-plugin-prettier": "^4.2.1",
|
|
26
26
|
"find-unused-sass-variables": "^4.0.4",
|
package/scss/_functions.scss
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
|
|
3
|
+
// Functions
|
|
2
4
|
//
|
|
3
5
|
// Utility mixins and functions for evaluating source code across our variables, maps, and mixins.
|
|
4
6
|
|
|
@@ -229,7 +231,7 @@ $_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 0
|
|
|
229
231
|
);
|
|
230
232
|
}
|
|
231
233
|
|
|
232
|
-
@return (map
|
|
234
|
+
@return (map.get($rgb, "r") * 0.2126) + (map.get($rgb, "g") * 0.7152) + (map.get($rgb, "b") * 0.0722);
|
|
233
235
|
}
|
|
234
236
|
|
|
235
237
|
// Return opaque color
|
|
@@ -331,7 +333,7 @@ $_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 0
|
|
|
331
333
|
"%": 1%,
|
|
332
334
|
);
|
|
333
335
|
@if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) {
|
|
334
|
-
$result: $result * map
|
|
336
|
+
$result: $result * map.get($unit-map, $dividend-unit);
|
|
335
337
|
}
|
|
336
338
|
@return $result;
|
|
337
339
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -693,5 +693,5 @@ $nav-tab-card-item-padding: calc(($input-button-padding-y) - 1px) $input-button-
|
|
|
693
693
|
// Breadcrumbs
|
|
694
694
|
$breadcrumb-color: $medium !default;
|
|
695
695
|
$breadcrumb-link-color: $medium !default;
|
|
696
|
-
$breadcrumb-link-color-hover: shade-color($breadcrumb-color, $link-shade-percentage) !default;
|
|
696
|
+
$breadcrumb-link-color-hover: shade-color($breadcrumb-link-color, $link-shade-percentage) !default;
|
|
697
697
|
$breadcrumb-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'><path fill='#{$breadcrumb-color}' d='M89.45 87.5l143.1 152c4.375 4.625 6.562 10.56 6.562 16.5c0 5.937-2.188 11.87-6.562 16.5l-143.1 152C80.33 434.1 65.14 434.5 55.52 425.4c-9.688-9.125-10.03-24.38-.9375-33.94l128.4-135.5l-128.4-135.5C45.49 110.9 45.83 95.75 55.52 86.56C65.14 77.47 80.33 77.87 89.45 87.5z'/></svg>") !default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
// Breakpoint viewport sizes and media queries.
|
|
2
3
|
//
|
|
3
4
|
// Breakpoints are defined as a map of (name: minimum width), order from small to large:
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
|
25
26
|
// 576px
|
|
26
27
|
@function breakpoint-min($name, $breakpoints: $breakpoints) {
|
|
27
|
-
$min: map
|
|
28
|
+
$min: map.get($breakpoints, $name);
|
|
28
29
|
@return if($min != 0, $min, null);
|
|
29
30
|
}
|
|
30
31
|
|
package/scss/mixins/_rfs.scss
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
// Licensed under MIT (https://github.com/twbs/rfs/blob/main/LICENSE)
|
|
8
8
|
|
|
9
9
|
// Configuration
|
|
10
|
+
@use "sass:map";
|
|
10
11
|
|
|
11
12
|
// Base value
|
|
12
13
|
$rfs-base-value: 1.25rem !default;
|
|
@@ -89,7 +90,7 @@ $rfs-base-value-unit: unit($rfs-base-value);
|
|
|
89
90
|
"%": 1%,
|
|
90
91
|
);
|
|
91
92
|
@if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) {
|
|
92
|
-
$result: $result * map
|
|
93
|
+
$result: $result * map.get($unit-map, $dividend-unit);
|
|
93
94
|
}
|
|
94
95
|
@return $result;
|
|
95
96
|
}
|
package/scss/modules/_form.scss
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
& button,
|
|
15
15
|
& input,
|
|
16
16
|
& textarea,
|
|
17
|
-
& range,
|
|
18
17
|
& output,
|
|
19
18
|
& select,
|
|
20
19
|
& progress,
|
|
@@ -27,7 +26,6 @@
|
|
|
27
26
|
& button,
|
|
28
27
|
& input,
|
|
29
28
|
& textarea,
|
|
30
|
-
& range,
|
|
31
29
|
& output,
|
|
32
30
|
& select,
|
|
33
31
|
& progress,
|
|
@@ -51,7 +49,6 @@
|
|
|
51
49
|
& button,
|
|
52
50
|
& input,
|
|
53
51
|
& textarea,
|
|
54
|
-
& range,
|
|
55
52
|
& output,
|
|
56
53
|
& select,
|
|
57
54
|
& progress,
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
order: #{$value} !important;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
10
|
|
|
13
|
-
.order
|
|
14
|
-
|
|
15
|
-
}
|
|
11
|
+
.order-#{$infix}-first {
|
|
12
|
+
order: -1 !important;
|
|
13
|
+
}
|
|
16
14
|
|
|
17
|
-
.order
|
|
18
|
-
|
|
15
|
+
.order-#{$infix}-last {
|
|
16
|
+
order: 13 !important;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
19
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
|
|
1
3
|
$positions: (static, relative, absolute, fixed, sticky) !default;
|
|
2
4
|
$position-ints: (0, 25, 50, 75, 100) !default;
|
|
3
5
|
|
|
@@ -8,7 +10,7 @@ $position-ints: (0, 25, 50, 75, 100) !default;
|
|
|
8
10
|
@each $value in $positions {
|
|
9
11
|
.position-#{$infix}-#{$value} {
|
|
10
12
|
position: #{$value} !important;
|
|
11
|
-
z-index: map
|
|
13
|
+
z-index: map.get($zindexes, $value);
|
|
12
14
|
}
|
|
13
15
|
}
|
|
14
16
|
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
& button,
|
|
15
15
|
& input,
|
|
16
16
|
& textarea,
|
|
17
|
-
& range,
|
|
18
17
|
& output,
|
|
19
18
|
& select,
|
|
20
19
|
& progress,
|
|
@@ -27,7 +26,6 @@
|
|
|
27
26
|
& button,
|
|
28
27
|
& input,
|
|
29
28
|
& textarea,
|
|
30
|
-
& range,
|
|
31
29
|
& output,
|
|
32
30
|
& select,
|
|
33
31
|
& progress,
|
|
@@ -51,7 +49,6 @@
|
|
|
51
49
|
& button,
|
|
52
50
|
& input,
|
|
53
51
|
& textarea,
|
|
54
|
-
& range,
|
|
55
52
|
& output,
|
|
56
53
|
& select,
|
|
57
54
|
& progress,
|