@rxap/layout 16.0.0-dev.2 → 16.0.0-dev.4
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/CHANGELOG.md +340 -0
- package/README.md +7 -22
- package/esm2022/index.mjs +1 -1
- package/esm2022/lib/footer/footer.component.mjs +10 -41
- package/esm2022/lib/footer.directive.mjs +21 -22
- package/esm2022/lib/header/apps-button/apps-button.component.mjs +30 -93
- package/esm2022/lib/header/header.component.mjs +48 -119
- package/esm2022/lib/header/language-selector/language-selector.component.mjs +29 -63
- package/esm2022/lib/header/navigation-progress-bar/navigation-progress-bar.component.mjs +15 -24
- package/esm2022/lib/header/reset-button/reset-button.component.mjs +12 -19
- package/esm2022/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.mjs +11 -33
- package/esm2022/lib/header/sign-out/sign-out.component.mjs +12 -19
- package/esm2022/lib/header/user-profile-icon/user-profile-icon.component.mjs +21 -103
- package/esm2022/lib/layout/layout.component.mjs +24 -80
- package/esm2022/lib/layout/layout.component.module.mjs +18 -20
- package/esm2022/lib/layout/layout.component.service.mjs +21 -22
- package/esm2022/lib/navigation/navigation-item/navigation-item.component.mjs +99 -195
- package/esm2022/lib/navigation/navigation-item.mjs +4 -4
- package/esm2022/lib/navigation/navigation.component.mjs +36 -91
- package/esm2022/lib/navigation/navigation.service.mjs +28 -27
- package/esm2022/lib/navigation/replace-router-paths.service.mjs +9 -10
- package/esm2022/lib/sidenav/sidenav-footer.directive.mjs +15 -16
- package/esm2022/lib/sidenav/sidenav-header.directive.mjs +15 -16
- package/esm2022/lib/sidenav/sidenav.component.mjs +29 -121
- package/esm2022/lib/sidenav/sidenav.component.service.mjs +8 -9
- package/esm2022/lib/sidenav/version/version.component.mjs +15 -43
- package/esm2022/lib/sidenav-content/sidenav-content.component.mjs +12 -31
- package/esm2022/lib/sidenav-content/sidenav-content.component.service.mjs +19 -20
- package/esm2022/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.mjs +15 -38
- package/esm2022/lib/tokens.mjs +1 -1
- package/esm2022/lib/types.mjs +1 -1
- package/esm2022/lib/window-container-sidenav/window-container-sidenav.component.mjs +14 -33
- package/esm2022/rxap-layout.mjs +1 -1
- package/fesm2022/rxap-layout.mjs +473 -1168
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/lib/footer.directive.d.ts +1 -1
- package/lib/header/header.component.d.ts +2 -2
- package/lib/navigation/navigation-item/navigation-item.component.d.ts +3 -3
- package/lib/navigation/navigation-item.d.ts +1 -1
- package/lib/navigation/navigation.component.d.ts +2 -2
- package/lib/navigation/navigation.service.d.ts +1 -1
- package/lib/sidenav/version/version.component.d.ts +2 -2
- package/lib/sidenav-content/sidenav-content.component.d.ts +1 -3
- package/lib/sidenav-content/sidenav-content.component.service.d.ts +1 -1
- package/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.d.ts +2 -4
- package/lib/window-container-sidenav/window-container-sidenav.component.d.ts +1 -1
- package/package.json +74 -66
- package/src/lib/header/apps-button/_apps-button.component.theme.scss +45 -0
- package/src/lib/navigation/_navigation.component.theme.scss +33 -0
- package/src/lib/navigation/navigation-item/_navigation-item.component.theme.scss +45 -0
- package/src/lib/sidenav/_sidenav.component.theme.scss +65 -0
- package/src/lib/toggle-window-sidenav-button/_toggle-window-sidenav-button.component.theme.scss +15 -0
- package/LICENSE +0 -21
- package/collection.json +0 -10
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FooterService } from '@rxap/services';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FooterDirective implements OnInit, OnDestroy {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Constructor } from '@rxap/utilities';
|
|
3
|
-
import {
|
|
3
|
+
import { Observable, Subscription } from 'rxjs';
|
|
4
4
|
import { MatSidenav } from '@angular/material/sidenav';
|
|
5
5
|
import { UserService } from '@rxap/authentication';
|
|
6
6
|
import { HeaderService } from '@rxap/services';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { Navigation, NavigationDividerItem, NavigationItem } from '../navigation-item';
|
|
3
|
+
import { Router, RouterLinkActive } from '@angular/router';
|
|
4
4
|
import { SidenavComponentService } from '../../sidenav/sidenav.component.service';
|
|
5
5
|
import { Overlay } from '@angular/cdk/overlay';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconConfig } from '@rxap/utilities';
|
|
2
|
-
import { InjectionToken, Type
|
|
2
|
+
import { AbstractType, InjectionToken, Type } from '@angular/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
export type Navigation = Array<NavigationItem | NavigationDividerItem>;
|
|
5
5
|
export type NavigationWithInserts = Array<NavigationItem<NavigationWithInserts> | NavigationDividerItem | NavigationInsertItem>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Navigation,
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Navigation, NavigationDividerItem, NavigationItem } from './navigation-item';
|
|
3
3
|
import { NavigationService } from './navigation.service';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
5
5
|
import { SidenavComponentService } from '../sidenav/sidenav.component.service';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Injector } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { Navigation,
|
|
3
|
+
import { Navigation, NavigationDividerItem, NavigationItem, NavigationWithInserts } from './navigation-item';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class NavigationService {
|
|
6
6
|
private readonly injector;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Version, VersionService } from '@rxap/services';
|
|
3
3
|
import { KeyValue } from '@rxap/utilities';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class VersionComponent implements OnInit, OnDestroy {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { MatSidenav } from '@angular/material/sidenav';
|
|
3
2
|
import { SidenavContentComponentService } from './sidenav-content.component.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SidenavContentComponent
|
|
4
|
+
export declare class SidenavContentComponent {
|
|
6
5
|
readonly sccs: SidenavContentComponentService;
|
|
7
6
|
sidenav: MatSidenav;
|
|
8
7
|
constructor(sccs: SidenavContentComponentService);
|
|
9
|
-
ngOnInit(): void;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavContentComponent, never>;
|
|
11
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavContentComponent, "rxap-sidenav-content", never, { "sidenav": { "alias": "sidenav"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FooterService, HeaderService } from '@rxap/services';
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SidenavContentComponentService {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ToggleWindowSidenavButtonComponent
|
|
3
|
+
export declare class ToggleWindowSidenavButtonComponent {
|
|
4
4
|
openWindowSidenav: boolean;
|
|
5
5
|
openWindowSidenavChange: EventEmitter<boolean>;
|
|
6
|
-
constructor();
|
|
7
|
-
ngOnInit(): void;
|
|
8
6
|
toggle(): void;
|
|
9
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleWindowSidenavButtonComponent, never>;
|
|
10
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleWindowSidenavButtonComponent, "rxap-toggle-window-sidenav-button", never, { "openWindowSidenav": { "alias": "openWindowSidenav"; "required": false; }; }, { "openWindowSidenavChange": "openWindowSidenavChange"; }, never, never, true, never>;
|
package/package.json
CHANGED
|
@@ -1,75 +1,87 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/layout",
|
|
3
|
-
"version": "16.0.0-dev.
|
|
4
|
-
"bugs": {
|
|
5
|
-
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
6
|
-
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
7
|
-
},
|
|
8
|
-
"keywords": [
|
|
9
|
-
"rxap",
|
|
10
|
-
"layout",
|
|
11
|
-
"angular"
|
|
12
|
-
],
|
|
13
|
-
"private": false,
|
|
14
|
-
"author": "Merzough Münker",
|
|
15
|
-
"homepage": "https://gitlab.com/rxap/packages/libs/layout",
|
|
16
|
-
"repository": "git@gitlab.com:rxap/packages.git",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"description": "A collection of components and services that provides standard layouts for angular applications.",
|
|
3
|
+
"version": "16.0.0-dev.4",
|
|
19
4
|
"peerDependencies": {
|
|
20
|
-
"@angular
|
|
21
|
-
"@angular/
|
|
22
|
-
"@angular/
|
|
23
|
-
"@angular/
|
|
24
|
-
"@angular/core": "^16.0.2",
|
|
5
|
+
"@angular/animations": "^16.1.4",
|
|
6
|
+
"@angular/cdk": "^16.1.4",
|
|
7
|
+
"@angular/common": "^16.1.4",
|
|
8
|
+
"@angular/core": "^16.1.4",
|
|
25
9
|
"@angular/flex-layout": "^15.0.0-beta.42",
|
|
26
|
-
"@angular/forms": "^16.
|
|
27
|
-
"@angular/
|
|
28
|
-
"@angular/
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@rxap/
|
|
33
|
-
"@rxap/
|
|
34
|
-
"@rxap/
|
|
35
|
-
"@rxap/
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"@
|
|
39
|
-
"@rxap/services": "^16.0.0-dev.2",
|
|
40
|
-
"@rxap/utilities": "^16.0.0-dev.1",
|
|
41
|
-
"joi": "^17.6.3",
|
|
42
|
-
"reflect-metadata": "^0.1.13",
|
|
43
|
-
"rxjs": "^6.6.0"
|
|
10
|
+
"@angular/forms": "^16.1.4",
|
|
11
|
+
"@angular/material": "^16.1.4",
|
|
12
|
+
"@angular/router": "^16.1.4",
|
|
13
|
+
"@rxap/authentication": "^16.0.0-dev.4",
|
|
14
|
+
"@rxap/config": "^16.0.0-dev.4",
|
|
15
|
+
"@rxap/directives": "^16.0.0-dev.4",
|
|
16
|
+
"@rxap/material-directives": "^16.0.0-dev.4",
|
|
17
|
+
"@rxap/rxjs": "^1.0.1-dev.0",
|
|
18
|
+
"@rxap/services": "^16.0.0-dev.4",
|
|
19
|
+
"@rxap/utilities": "^16.0.0-dev.2",
|
|
20
|
+
"rxjs": "^7.8.0",
|
|
21
|
+
"workspace": "1.0.0",
|
|
22
|
+
"@angular/localize": "16.1.4"
|
|
44
23
|
},
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"packageGroup": [
|
|
49
|
-
"@rxap/authentication",
|
|
50
|
-
"@rxap/components",
|
|
51
|
-
"@rxap/config",
|
|
52
|
-
"@rxap/definition",
|
|
53
|
-
"@rxap/directives",
|
|
54
|
-
"@rxap/forms",
|
|
55
|
-
"@rxap/layout",
|
|
56
|
-
"@rxap/material-directives",
|
|
57
|
-
"@rxap/services",
|
|
58
|
-
"@rxap/utilities"
|
|
59
|
-
]
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"tslib": "2.5.3"
|
|
60
27
|
},
|
|
61
28
|
"publishConfig": {
|
|
62
|
-
"
|
|
63
|
-
"
|
|
29
|
+
"access": "public",
|
|
30
|
+
"directory": "../../../dist/packages/angular/layout"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"rxap",
|
|
34
|
+
"angular",
|
|
35
|
+
"ngx"
|
|
36
|
+
],
|
|
37
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/angular/layout",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
40
|
+
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
64
41
|
},
|
|
65
|
-
"
|
|
66
|
-
|
|
42
|
+
"license": "GPL-3.0-or-later",
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
46
|
+
"directory": "packages/angular/layout"
|
|
67
47
|
},
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
48
|
+
"author": {
|
|
49
|
+
"name": "Merzough Münker",
|
|
50
|
+
"email": "mmuenker@digitaix.com"
|
|
51
|
+
},
|
|
52
|
+
"nx-migrations": {
|
|
53
|
+
"packageGroup": [
|
|
54
|
+
{
|
|
55
|
+
"package": "@rxap/authentication",
|
|
56
|
+
"version": "16.0.0-dev.4"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"package": "@rxap/config",
|
|
60
|
+
"version": "16.0.0-dev.4"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"package": "@rxap/directives",
|
|
64
|
+
"version": "16.0.0-dev.4"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"package": "@rxap/material-directives",
|
|
68
|
+
"version": "16.0.0-dev.4"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"package": "@rxap/rxjs",
|
|
72
|
+
"version": "1.0.1-dev.0"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"package": "@rxap/services",
|
|
76
|
+
"version": "16.0.0-dev.4"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"package": "@rxap/utilities",
|
|
80
|
+
"version": "16.0.0-dev.2"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
72
83
|
},
|
|
84
|
+
"gitHead": "9ad96f2d4db9225ab199d03fc172efff52609d5d",
|
|
73
85
|
"module": "fesm2022/rxap-layout.mjs",
|
|
74
86
|
"typings": "index.d.ts",
|
|
75
87
|
"exports": {
|
|
@@ -82,9 +94,5 @@
|
|
|
82
94
|
"esm": "./esm2022/rxap-layout.mjs",
|
|
83
95
|
"default": "./fesm2022/rxap-layout.mjs"
|
|
84
96
|
}
|
|
85
|
-
},
|
|
86
|
-
"sideEffects": false,
|
|
87
|
-
"scripts": {
|
|
88
|
-
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
|
|
89
97
|
}
|
|
90
98
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@mixin rxap-apps-button-theme($theme) {
|
|
2
|
+
$foreground: map-get($theme, foreground);
|
|
3
|
+
$background: map-get($theme, background);
|
|
4
|
+
$accent: map-get($theme, accent);
|
|
5
|
+
$primary: map-get($theme, primary);
|
|
6
|
+
$warn: map-get($theme, warn);
|
|
7
|
+
$isDark: map-get($theme, is-dark);
|
|
8
|
+
|
|
9
|
+
.rxap-apps-button {
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.cdk-overlay-container {
|
|
15
|
+
|
|
16
|
+
.grid-container {
|
|
17
|
+
background-color: map-get($background, dialog);
|
|
18
|
+
|
|
19
|
+
.grid {
|
|
20
|
+
|
|
21
|
+
li:not(.empty) {
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
background-color: map-get($background, hover);
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:active {
|
|
29
|
+
background: map-get($background, focused-button);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@mixin rxap-apps-button-typography($config) {
|
|
43
|
+
.rxap-apps-button {
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin rxap-navigation-theme($theme) {
|
|
4
|
+
$foreground: map-get($theme, foreground);
|
|
5
|
+
$background: map-get($theme, background);
|
|
6
|
+
$accent: map-get($theme, accent);
|
|
7
|
+
$isDark: map-get($theme, is-dark);
|
|
8
|
+
|
|
9
|
+
.rxap-navigation {
|
|
10
|
+
|
|
11
|
+
.divider-title {
|
|
12
|
+
color: map-get($foreground, hint-text);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.item {
|
|
16
|
+
$border-width: 4px;
|
|
17
|
+
border-left: $border-width solid transparent;
|
|
18
|
+
|
|
19
|
+
&.active {
|
|
20
|
+
border-left: $border-width solid mat.get-color-from-palette($accent);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin rxap-navigation-typography($config) {
|
|
30
|
+
.rxap-navigation {
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin rxap-navigation-item-theme($theme) {
|
|
4
|
+
$foreground: map-get($theme, foreground);
|
|
5
|
+
$background: map-get($theme, background);
|
|
6
|
+
$accent: map-get($theme, accent);
|
|
7
|
+
$isDark: map-get($theme, is-dark);
|
|
8
|
+
|
|
9
|
+
.rxap-navigation-item, .navigation-overlay-container {
|
|
10
|
+
|
|
11
|
+
.navigation-link {
|
|
12
|
+
|
|
13
|
+
color: map-get($foreground, hint-text);
|
|
14
|
+
|
|
15
|
+
&:focus {
|
|
16
|
+
outline: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
color: map-get($foreground, text);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.link-active, &:active {
|
|
24
|
+
@if $isDark {
|
|
25
|
+
color: mat.get-color-from-palette($accent, 300);
|
|
26
|
+
} @else {
|
|
27
|
+
color: mat.get-color-from-palette($accent, 700);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.navigation-overlay-container {
|
|
36
|
+
background-color: map-get($background, dialog);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin rxap-navigation-item-typography($config) {
|
|
42
|
+
.rxap-navigation-item {
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin rxap-sidenav-theme($theme) {
|
|
4
|
+
$foreground: map-get($theme, foreground);
|
|
5
|
+
$background: map-get($theme, background);
|
|
6
|
+
$accent: map-get($theme, accent);
|
|
7
|
+
$isDark: map-get($theme, is-dark);
|
|
8
|
+
|
|
9
|
+
.rxap-layout-sidenav {
|
|
10
|
+
|
|
11
|
+
background: mat.get-color-from-palette($background, card);
|
|
12
|
+
|
|
13
|
+
.container {
|
|
14
|
+
|
|
15
|
+
.inner {
|
|
16
|
+
|
|
17
|
+
.nav-container {
|
|
18
|
+
|
|
19
|
+
/* Handle */
|
|
20
|
+
&::-webkit-scrollbar-thumb {
|
|
21
|
+
background: mat.get-color-from-palette($accent, 100);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Handle on hover */
|
|
25
|
+
&::-webkit-scrollbar-thumb:hover {
|
|
26
|
+
background: mat.get-color-from-palette($accent, 300);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@if $isDark {
|
|
30
|
+
|
|
31
|
+
/* Handle */
|
|
32
|
+
&::-webkit-scrollbar-thumb {
|
|
33
|
+
background: mat.get-color-from-palette($accent, 900);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Handle on hover */
|
|
37
|
+
&::-webkit-scrollbar-thumb:hover {
|
|
38
|
+
background: mat.get-color-from-palette($accent, 700);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.version {
|
|
50
|
+
color: lightgray;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@mixin rxap-sidenav-typography($config) {
|
|
58
|
+
.rxap-layout-sidenav {
|
|
59
|
+
|
|
60
|
+
.version {
|
|
61
|
+
font-size: 10px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
}
|
package/src/lib/toggle-window-sidenav-button/_toggle-window-sidenav-button.component.theme.scss
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@mixin rxap-toggle-window-sidenav-button-theme($theme) {
|
|
2
|
+
$foreground: map-get($theme, foreground);
|
|
3
|
+
$background: map-get($theme, background);
|
|
4
|
+
$accent: map-get($theme, accent);
|
|
5
|
+
|
|
6
|
+
.rxap-toggle-window-sidenav-button {
|
|
7
|
+
|
|
8
|
+
.toggle-button {
|
|
9
|
+
background: map-get($background, background);
|
|
10
|
+
border-color: rgba(255, 255, 255, 0.12);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 Merzough Münker
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/collection.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schematics": {
|
|
3
|
-
"ng-add": {
|
|
4
|
-
"description": "Setup the package @rxap/layout for the workspace.",
|
|
5
|
-
"factory": "./src/schematics/ng-add/index",
|
|
6
|
-
"schema": "./src/schematics/ng-add/schema.json"
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
"$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json"
|
|
10
|
-
}
|
package/migration.json
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
4
|
-
function default_1() {
|
|
5
|
-
return (0, schematics_utilities_1.InstallPeerDependencies)();
|
|
6
|
-
}
|
|
7
|
-
exports.default = default_1;
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/layout/src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AACA,qEAAqE;AAErE;IACE,OAAO,IAAA,8CAAuB,GAAE,CAAC;AACnC,CAAC;AAFD,4BAEC"}
|