ngx-edu-sharing-ui 10.0.24 → 10.0.26
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/assets/scss/branding.scss +4 -2
- package/assets/scss/material-theme.scss +9 -3
- package/assets/scss/mixins.scss +2 -2
- package/assets/scss/variables-scss.scss +2 -1
- package/assets/scss/variables.scss +7 -1
- package/fesm2022/ngx-edu-sharing-ui.mjs +1966 -1813
- package/fesm2022/ngx-edu-sharing-ui.mjs.map +1 -1
- package/lib/directives/icon.directive.d.ts +3 -1
- package/lib/edu-sharing-ui-configuration.d.ts +7 -0
- package/lib/edu-sharing-ui.module.d.ts +2 -2
- package/lib/index.d.ts +3 -0
- package/lib/mds/mds-helper.service.d.ts +14 -2
- package/lib/mds-viewer/mds-editor-instance-service.abstract.d.ts +1 -1
- package/lib/mds-viewer/mds-viewer.component.d.ts +2 -1
- package/lib/mds-viewer/mds-viewer.service.d.ts +14 -1
- package/lib/mds-viewer/widget/mds-widget.component.d.ts +14 -12
- package/lib/node-entries/entries-model.d.ts +10 -1
- package/lib/node-entries/node-entries-global.service.d.ts +3 -0
- package/lib/node-entries/node-entries-table/node-entries-table.component.d.ts +2 -0
- package/lib/node-entries/node-entries-templates.service.d.ts +4 -0
- package/lib/node-entries/node-entries-wrapper.component.d.ts +15 -3
- package/lib/node-entries/node-entries.module.d.ts +1 -1
- package/lib/node-entries/node-type-badge/node-type-badge.component.d.ts +10 -3
- package/lib/pipes/node-image.pipe.d.ts +1 -1
- package/lib/services/node-entries.service.d.ts +5 -1
- package/lib/services/node-helper.service.d.ts +6 -4
- package/lib/services/options-helper-data.service.d.ts +1 -1
- package/lib/services/render-helper.service.d.ts +2 -1
- package/lib/translations/translation-loader.d.ts +3 -3
- package/lib/types/injection-tokens.d.ts +9 -16
- package/lib/types/option-item.d.ts +5 -4
- package/lib/util/ui-constants.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
@use 'variables' as *;
|
|
5
5
|
@use 'variables-scss' as *;
|
|
6
|
-
@use 'branding' as
|
|
6
|
+
@use 'branding' as branding;
|
|
7
|
+
@use 'sass:map';
|
|
7
8
|
|
|
8
9
|
// optional
|
|
9
10
|
$mat-css-dark-theme-selector: '.isDarkTheme';
|
|
@@ -16,7 +17,12 @@ $mat-css-light-theme-selector: '.isLightTheme';
|
|
|
16
17
|
// hue. Available color palettes: https://material.io/design/color/
|
|
17
18
|
|
|
18
19
|
$custom-typography: mat.m2-define-typography-config(
|
|
19
|
-
$font-family:
|
|
20
|
+
$font-family:
|
|
21
|
+
if(
|
|
22
|
+
map.get(branding.$tokens, primaryFontFamily) != null,
|
|
23
|
+
map.get(branding.$tokens, primaryFontFamily),
|
|
24
|
+
$primaryFontFamily
|
|
25
|
+
),
|
|
20
26
|
$body-1: mat.m2-define-typography-level(100%, normal, 400),
|
|
21
27
|
$body-2: mat.m2-define-typography-level(100%, normal, 400),
|
|
22
28
|
// mat-optgroups labels, input placeholder
|
|
@@ -148,7 +154,7 @@ mat-tab-group {
|
|
|
148
154
|
// `color="warn"`
|
|
149
155
|
&.mat-warn {
|
|
150
156
|
// Red background, same as negative
|
|
151
|
-
background-color:
|
|
157
|
+
background-color: var(--palette-warn-500);
|
|
152
158
|
color: white;
|
|
153
159
|
}
|
|
154
160
|
&.status-negative {
|
package/assets/scss/mixins.scss
CHANGED
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
//respect element border radius
|
|
55
55
|
@include removeDefaultFocus();
|
|
56
56
|
@if $mode== 'outline' {
|
|
57
|
-
outline: var(--focusWidth) solid var(--
|
|
57
|
+
outline: var(--focusWidth) solid var(--focusColor);
|
|
58
58
|
outline-offset: 2px;
|
|
59
59
|
} @else if $mode== 'border' {
|
|
60
|
-
border: var(--focusWidth) solid var(--
|
|
60
|
+
border: var(--focusWidth) solid var(--focusColor);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
// Apply the content styles in contrast mode. This is just enough contrast to be WCAG complient ---
|
|
@@ -34,6 +34,8 @@ $fontSizeXSmall: var(--fontSizeXSmall) !default;
|
|
|
34
34
|
$backgroundColor: #fff !default;
|
|
35
35
|
$workspaceSidebarWidth: 300px !default;
|
|
36
36
|
$workspaceInheritColor: #42ca8d !default;
|
|
37
|
+
$workspaceTopBarBackground: #383838 !default;
|
|
38
|
+
$workspaceTopBarFontColor: #fff !default;
|
|
37
39
|
$editorialCollectionsBackground: #f5ec19 !default;
|
|
38
40
|
$itemSelectedBackground: $primaryVeryLight !default;
|
|
39
41
|
$itemSelectedTextColor: $primaryMediumDark !default;
|
|
@@ -71,7 +73,6 @@ $actionDialogBackground: #eee !default;
|
|
|
71
73
|
$cardLightBackground: #f9f9f9 !default;
|
|
72
74
|
$searchInputBorderColor: #ccc !default;
|
|
73
75
|
$cardSeparatorLineColor: #ccc !default;
|
|
74
|
-
$genericSeperatorLineColor: #ececec !default;
|
|
75
76
|
$chipsSeperatorLineColor: #e2e2e2 !default;
|
|
76
77
|
$inputBorderColor: #9e9e9e !default;
|
|
77
78
|
$commentsActionsSeperatorLineColor: $backgroundColor !default;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:root {
|
|
7
7
|
--primary: var(--palette-primary-500);
|
|
8
8
|
--warning: #cd2457;
|
|
9
|
-
--aiColor: #
|
|
9
|
+
--aiColor: #2f0b9b;
|
|
10
10
|
--aiColorText: #fff;
|
|
11
11
|
--aiColorChip: #fff;
|
|
12
12
|
--aiColorChipRemove: #555;
|
|
@@ -24,8 +24,14 @@
|
|
|
24
24
|
--nodeVirtualColor: #42ca8d;
|
|
25
25
|
--nodeVirtualColorLight: #b8fcdd;
|
|
26
26
|
--transitionNormal: 0.2s;
|
|
27
|
+
--genericSeperatorLineColor: #ececec;
|
|
28
|
+
--tableSeperatorLineColor: #d2d2d2;
|
|
29
|
+
--focusColor: var(--palette-primary-300);
|
|
27
30
|
--focusWidth: 2px;
|
|
28
31
|
--fontSizeXSmall: 85%;
|
|
32
|
+
--topBarSearchFocusColor: var(--palette-primary-300);
|
|
33
|
+
--workspaceTopBarSafeBackground: #963a3a;
|
|
34
|
+
--workspaceTopBarNewAlpha: 0.1;
|
|
29
35
|
--itemSelectedTextColor: var(--palette-primary-700);
|
|
30
36
|
--listItemSelectedBackground: var(--palette-primary-50);
|
|
31
37
|
--listItemSelectedBackgroundEffect: linear-gradient(
|