@dereekb/dbx-web 9.24.38 → 9.24.40
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/calendar/package.json +2 -2
- package/esm2020/lib/button/button.component.mjs +3 -3
- package/esm2020/lib/button/icon/icon.button.component.mjs +17 -4
- package/esm2020/lib/router/layout/navbar/navbar.component.mjs +11 -4
- package/fesm2015/dereekb-dbx-web.mjs +28 -8
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +28 -8
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/button/_button.scss +29 -0
- package/lib/button/icon/icon.button.component.d.ts +1 -1
- package/lib/router/layout/navbar/navbar.component.d.ts +5 -1
- package/mapbox/package.json +3 -3
- package/package.json +3 -3
- package/table/package.json +3 -3
package/lib/button/_button.scss
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:list';
|
|
3
|
+
@use 'sass:color';
|
|
1
4
|
@use '../style/theming';
|
|
2
5
|
|
|
3
6
|
// MARK: Variables
|
|
@@ -56,6 +59,32 @@ $button-spacer-width: 6px;
|
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
@mixin color($theme-config) {
|
|
62
|
+
// NOTE: Keep sync'd with _style.scss colors
|
|
63
|
+
$color-config: theming.get-color-config($theme-config);
|
|
64
|
+
|
|
65
|
+
$background: map.get($color-config, 'background');
|
|
66
|
+
$grey-color-bg: theming.get-color-from-palette($background, 'disabled-button');
|
|
67
|
+
$disabled-color-bg: theming.get-color-from-palette($background, 'disabled-button');
|
|
68
|
+
|
|
69
|
+
.dbx-icon-button > .mat-button {
|
|
70
|
+
background: inherit;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.dbx-icon-button.dbx-grey-bg {
|
|
74
|
+
background: none;
|
|
75
|
+
|
|
76
|
+
> .mat-button {
|
|
77
|
+
background: $grey-color-bg;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.dbx-icon-button.dbx-disabled-bg {
|
|
82
|
+
background: none;
|
|
83
|
+
|
|
84
|
+
> .mat-button {
|
|
85
|
+
background: $disabled-color-bg;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
59
88
|
}
|
|
60
89
|
|
|
61
90
|
@mixin typography($typography-config) {
|
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class DbxIconButtonComponent extends AbstractDbxButtonDirective {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxIconButtonComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxIconButtonComponent, "dbx-icon-button", never, {}, {}, never,
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxIconButtonComponent, "dbx-icon-button", never, {}, {}, never, ["*"], false>;
|
|
9
9
|
}
|
|
@@ -20,6 +20,10 @@ export declare class DbxNavbarComponent extends AbstractTransitionDirective impl
|
|
|
20
20
|
private cdRef;
|
|
21
21
|
private readonly _dbxScreenMediaService;
|
|
22
22
|
private readonly _dbxRouterService;
|
|
23
|
+
/**
|
|
24
|
+
* Whether or not to show the dropwdown caret for a menu
|
|
25
|
+
*/
|
|
26
|
+
showMenuCaret: boolean;
|
|
23
27
|
navAlign: HorizontalConnectionPos;
|
|
24
28
|
private _icon;
|
|
25
29
|
private _defaultIcon;
|
|
@@ -47,6 +51,6 @@ export declare class DbxNavbarComponent extends AbstractTransitionDirective impl
|
|
|
47
51
|
set mode(mode: Maybe<NavbarMode>);
|
|
48
52
|
set breakpoint(breakpoint: ScreenMediaWidthType);
|
|
49
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxNavbarComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxNavbarComponent, "dbx-navbar", never, { "navAlign": "navAlign"; "icon": "icon"; "defaultIcon": "defaultIcon"; "defaultText": "defaultText"; "anchors": "anchors"; "buttonMode": "buttonMode"; "mode": "mode"; "breakpoint": "breakpoint"; }, {}, never, never, false>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxNavbarComponent, "dbx-navbar", never, { "showMenuCaret": "showMenuCaret"; "navAlign": "navAlign"; "icon": "icon"; "defaultIcon": "defaultIcon"; "defaultText": "defaultText"; "anchors": "anchors"; "buttonMode": "buttonMode"; "mode": "mode"; "breakpoint": "breakpoint"; }, {}, never, never, false>;
|
|
51
55
|
}
|
|
52
56
|
export {};
|
package/mapbox/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web/mapbox",
|
|
3
|
-
"version": "9.24.
|
|
3
|
+
"version": "9.24.40",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.1.0",
|
|
6
6
|
"@angular/core": "^14.1.0",
|
|
7
|
-
"@dereekb/dbx-core": "9.24.
|
|
8
|
-
"@dereekb/dbx-web": "9.24.
|
|
7
|
+
"@dereekb/dbx-core": "9.24.40",
|
|
8
|
+
"@dereekb/dbx-web": "9.24.40",
|
|
9
9
|
"ngx-mapbox-gl": "^9.1.0",
|
|
10
10
|
"mapbox-gl": "^2.9.2",
|
|
11
11
|
"@mapbox/geo-viewport": "git+https://git@github.com/dereekb/geo-viewport#165513972f87dca23a20c177f4d173edc51b5e2f"
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web",
|
|
3
|
-
"version": "9.24.
|
|
3
|
+
"version": "9.24.40",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.0.0",
|
|
6
6
|
"@angular/core": "^14.0.0",
|
|
7
7
|
"linkify-string": "4.0.0-beta.5",
|
|
8
8
|
"linkifyjs": "^4.0.0-beta.5",
|
|
9
9
|
"@angular/material": "^14.2.0",
|
|
10
|
-
"@dereekb/rxjs": "9.24.
|
|
11
|
-
"@dereekb/dbx-core": "9.24.
|
|
10
|
+
"@dereekb/rxjs": "9.24.40",
|
|
11
|
+
"@dereekb/dbx-core": "9.24.40",
|
|
12
12
|
"change-case": "^4.1.2",
|
|
13
13
|
"@angular/flex-layout": "^14.0.0-beta.41",
|
|
14
14
|
"ng-overlay-container": "^14.0.0",
|
package/table/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web/table",
|
|
3
|
-
"version": "9.24.
|
|
3
|
+
"version": "9.24.40",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.2.0",
|
|
6
6
|
"@angular/core": "^14.2.0",
|
|
7
|
-
"@dereekb/dbx-core": "9.24.
|
|
7
|
+
"@dereekb/dbx-core": "9.24.40",
|
|
8
8
|
"@angular/material": "^14.2.0",
|
|
9
9
|
"@angular/forms": "^14.2.0",
|
|
10
|
-
"@dereekb/dbx-web": "9.24.
|
|
10
|
+
"@dereekb/dbx-web": "9.24.40"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"tslib": "^2.3.0"
|