@alfresco/adf-core 8.4.0-20032254089 → 8.4.0-20057628612
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.
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
$dark-text-luminance: $dark-text-luminance + 0.5;
|
|
65
65
|
$background-color-luminance: $background-color-luminance + 0.5;
|
|
66
66
|
|
|
67
|
-
$luminance-contrast-for-light-text: $light-text-luminance
|
|
68
|
-
$luminance-contrast-for-dark-text: $background-color-luminance
|
|
67
|
+
$luminance-contrast-for-light-text: math.div($light-text-luminance, $background-color-luminance);
|
|
68
|
+
$luminance-contrast-for-dark-text: math.div($background-color-luminance, $dark-text-luminance);
|
|
69
69
|
$text-colour: $light-text;
|
|
70
70
|
|
|
71
71
|
@if $luminance-contrast-for-dark-text > $luminance-contrast-for-light-text {
|
package/lib/styles/_flex.scss
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
+
@use 'sass:map';
|
|
2
3
|
/* stylelint-disable */
|
|
3
4
|
|
|
4
5
|
// Non-overlapping Material Design breakpoints
|
|
@@ -23,7 +24,7 @@ $breakpoints: (
|
|
|
23
24
|
xl: (
|
|
24
25
|
begin: 1920px,
|
|
25
26
|
end: 4999.99px
|
|
26
|
-
)
|
|
27
|
+
)
|
|
27
28
|
) !default;
|
|
28
29
|
|
|
29
30
|
// Overlapping breakpoints that are greater than defined
|
|
@@ -33,7 +34,7 @@ $overlapping-gt: (
|
|
|
33
34
|
gt-xs: 600px,
|
|
34
35
|
gt-sm: 960px,
|
|
35
36
|
gt-md: 1280px,
|
|
36
|
-
gt-lg: 1920px
|
|
37
|
+
gt-lg: 1920px
|
|
37
38
|
) !default;
|
|
38
39
|
|
|
39
40
|
// Overlapping breakpoints that are less than defined
|
|
@@ -43,10 +44,9 @@ $overlapping-lt: (
|
|
|
43
44
|
lt-sm: 599.9px,
|
|
44
45
|
lt-md: 959.9px,
|
|
45
46
|
lt-lg: 1279.9px,
|
|
46
|
-
lt-xl: 1919.9px
|
|
47
|
+
lt-xl: 1919.9px
|
|
47
48
|
) !default;
|
|
48
49
|
|
|
49
|
-
|
|
50
50
|
// Media Query Mixin, takes a breakpoint and returns a wrapping
|
|
51
51
|
// media query statement
|
|
52
52
|
// e.g.
|
|
@@ -61,18 +61,26 @@ $overlapping-lt: (
|
|
|
61
61
|
// background-color: red;
|
|
62
62
|
// }
|
|
63
63
|
@mixin layout-bp($bp) {
|
|
64
|
-
@if map
|
|
65
|
-
$min: map
|
|
66
|
-
$max: map
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
64
|
+
@if map.has-key($breakpoints, $bp) {
|
|
65
|
+
$min: map.get(map.get($breakpoints, $bp), begin);
|
|
66
|
+
$max: map.get(map.get($breakpoints, $bp), end);
|
|
67
|
+
|
|
68
|
+
@media (min-width: $min) and (max-width: $max) {
|
|
69
|
+
@content;
|
|
70
|
+
}
|
|
71
|
+
} @else if map.has-key($overlapping-gt, $bp) {
|
|
72
|
+
$min: map.get($overlapping-gt, $bp);
|
|
73
|
+
|
|
74
|
+
@media (min-width: $min) {
|
|
75
|
+
@content;
|
|
76
|
+
}
|
|
77
|
+
} @else if map.has-key($overlapping-lt, $bp) {
|
|
78
|
+
$max: map.get($overlapping-lt, $bp);
|
|
79
|
+
|
|
80
|
+
@media (max-width: $max) {
|
|
81
|
+
@content;
|
|
82
|
+
}
|
|
76
83
|
}
|
|
77
84
|
}
|
|
85
|
+
|
|
78
86
|
/* stylelint-enable */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-core",
|
|
3
3
|
"description": "Alfresco ADF core",
|
|
4
|
-
"version": "8.4.0-
|
|
4
|
+
"version": "8.4.0-20057628612",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@angular/router": ">=16.0.0",
|
|
64
64
|
"@mat-datetimepicker/core": ">=12.0.1",
|
|
65
65
|
"@ngx-translate/core": ">=16.0.0",
|
|
66
|
-
"@alfresco/js-api": ">=9.4.0-
|
|
67
|
-
"@alfresco/adf-extensions": ">=8.4.0-
|
|
66
|
+
"@alfresco/js-api": ">=9.4.0-20057628612",
|
|
67
|
+
"@alfresco/adf-extensions": ">=8.4.0-20057628612",
|
|
68
68
|
"minimatch": ">=10.0.0",
|
|
69
69
|
"pdfjs-dist": ">=3.3.122"
|
|
70
70
|
},
|