ngx-edu-sharing-ui 10.0.26 → 10.0.28
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 +32 -7
- package/assets/scss/material-theme.scss +29 -0
- package/assets/scss/variables.scss +2 -1
- package/fesm2022/ngx-edu-sharing-ui.mjs +207 -109
- package/fesm2022/ngx-edu-sharing-ui.mjs.map +1 -1
- package/lib/common/edu-sharing-ui-common.module.d.ts +25 -24
- package/lib/directives/icon.directive.d.ts +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/info-message/info-message.component.d.ts +13 -0
- package/lib/list-items/list-text/list-text.component.d.ts +1 -1
- package/lib/list-items/list-widget.d.ts +1 -1
- package/lib/mds-viewer/mds-editor-instance-service.abstract.d.ts +2 -1
- package/lib/mds-viewer/widget/mds-widget.component.d.ts +1 -1
- package/lib/node-entries/entries-model.d.ts +3 -1
- package/lib/node-entries/node-entries-card-grid/node-entries-card-grid.component.d.ts +0 -2
- package/lib/node-entries/node-entries-table/node-entries-table.component.d.ts +9 -3
- package/lib/node-entries/node-entries-wrapper.component.d.ts +3 -1
- package/lib/node-entries/node-entries.module.d.ts +1 -1
- package/lib/node-entries/node-type-badge/node-type-badge.component.d.ts +3 -1
- package/lib/services/node-entries.service.d.ts +2 -1
- package/lib/services/node-helper.service.d.ts +1 -1
- package/lib/services/render-helper.service.d.ts +1 -0
- package/lib/services/ui.service.d.ts +4 -0
- package/lib/types/option-item.d.ts +5 -0
- package/package.json +2 -2
|
@@ -1,7 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
$tokens: (
|
|
2
|
+
primaryFontFamily: 'Montserrat',
|
|
3
|
+
primaryFontSize: 9pt,
|
|
4
|
+
customIcons: true
|
|
5
|
+
);
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
$warning: #EA4B71;
|
|
9
|
+
$warningMedium: #e98c1b;
|
|
10
|
+
$colorStatusPositive: #189d62;
|
|
11
|
+
|
|
12
|
+
$oehYellow: #e4f700;
|
|
13
|
+
$oehGreen: #b4da1c;
|
|
14
|
+
$tabColorLight: $oehYellow;
|
|
15
|
+
$cardWidth: 280px;
|
|
16
|
+
|
|
17
|
+
@use '@angular/material' as mat;
|
|
18
|
+
@use 'sass:map';
|
|
19
|
+
|
|
20
|
+
$custom-typography: mat.m2-define-typography-config(
|
|
21
|
+
$font-family: map.get($tokens, primaryFontFamily),
|
|
22
|
+
//$display-1: mat.define-typography-level(32px, 40px, 500, 'Montserrat'),
|
|
23
|
+
$headline-1: mat.m2-define-typography-level(24px, 32px, 700, 'Montserrat'),
|
|
24
|
+
$headline-2: mat.m2-define-typography-level(20px, 30px, 700, 'Montserrat'),
|
|
25
|
+
$subtitle-1: mat.m2-define-typography-level(18px, 27px, 700, 'Montserrat'),
|
|
26
|
+
$subtitle-2: mat.m2-define-typography-level(16px, 24px, 700, 'Montserrat'),
|
|
27
|
+
$body-2: mat.m2-define-typography-level(16px, 24px, 400, 'Montserrat'),
|
|
28
|
+
$body-1: mat.m2-define-typography-level(16px, 21px, 400),
|
|
29
|
+
$caption: mat.m2-define-typography-level(11px, 15px, 500, 'Montserrat'),
|
|
30
|
+
$button: mat.m2-define-typography-level(14px, 20px, 700, 'Montserrat'),
|
|
31
|
+
//$input: mat.define-typography-level(inherit, 1.125, 400),
|
|
32
|
+
);
|
|
@@ -50,8 +50,37 @@ $dark-disabled-text: rgba(black, 0.54); // increased contrast
|
|
|
50
50
|
$dark-secondary-text: rgba(black, 0.54);
|
|
51
51
|
|
|
52
52
|
:root {
|
|
53
|
+
--mat-sys-corner-full: 9999px;
|
|
53
54
|
--mdc-fab-container-color: #{$backgroundColor};
|
|
54
55
|
}
|
|
56
|
+
:root {
|
|
57
|
+
--mdc-switch-track-width: 48px;
|
|
58
|
+
--mdc-switch-track-height: 26px;
|
|
59
|
+
--mat-switch-with-icon-handle-size: 22px;
|
|
60
|
+
--mdc-switch-handle-width: 22px;
|
|
61
|
+
--mdc-switch-handle-height: 22px;
|
|
62
|
+
--mat-switch-pressed-handle-size: 22px;
|
|
63
|
+
--mat-switch-track-outline-color: var(--mdc-switch-unselected-handle-color);
|
|
64
|
+
--mdc-switch-handle-shape: var(--mat-sys-corner-full);
|
|
65
|
+
--mdc-switch-track-shape: var(--mat-sys-corner-full);
|
|
66
|
+
}
|
|
67
|
+
html .mat-mdc-slide-toggle {
|
|
68
|
+
--mat-switch-track-outline-width: 2px;
|
|
69
|
+
--mat-switch-unselected-with-icon-handle-horizontal-margin: 0 4px;
|
|
70
|
+
--mat-switch-unselected-pressed-handle-horizontal-margin: 0 4px;
|
|
71
|
+
--mat-switch-selected-with-icon-handle-horizontal-margin: 0 -2px;
|
|
72
|
+
--mat-switch-selected-pressed-handle-horizontal-margin: 0 -2px;
|
|
73
|
+
--mdc-switch-handle-elevation-shadow: none;
|
|
74
|
+
--mat-switch-track-outline-color: var(--mdc-switch-unselected-handle-color);
|
|
75
|
+
}
|
|
76
|
+
.mdc-switch--selected {
|
|
77
|
+
--mdc-switch-selected-icon-size: 16px;
|
|
78
|
+
--mdc-switch-selected-handle-color: var(--palette-primary-contrast-500);
|
|
79
|
+
--mdc-switch-selected-focus-handle-color: var(--palette-primary-contrast-500);
|
|
80
|
+
--mdc-switch-selected-hover-handle-color: var(--palette-primary-contrast-500);
|
|
81
|
+
--mdc-switch-selected-pressed-handle-color: var(--palette-primary-contrast-500);
|
|
82
|
+
--mdc-switch-selected-icon-color: var(--palette-primary-500);
|
|
83
|
+
}
|
|
55
84
|
|
|
56
85
|
.mdc-button {
|
|
57
86
|
span {
|