@dereekb/dbx-web 9.24.2 → 9.24.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/LICENSE +1 -1
- package/calendar/esm2020/lib/calendar.component.mjs +3 -3
- package/calendar/fesm2015/dereekb-dbx-web-calendar.mjs +1 -1
- package/calendar/fesm2015/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/calendar/fesm2020/dereekb-dbx-web-calendar.mjs +1 -1
- package/calendar/fesm2020/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/calendar/package.json +2 -2
- package/esm2020/calendar/lib/calendar.component.mjs +3 -3
- package/esm2020/lib/interaction/dialog/dialog.content.mjs +2 -0
- package/esm2020/lib/interaction/dialog/index.mjs +2 -1
- package/esm2020/lib/interaction/popover/popover.component.mjs +9 -3
- package/esm2020/lib/interaction/popover/popover.service.mjs +2 -3
- package/esm2020/lib/layout/style/style.color.directive.mjs +5 -5
- package/esm2020/lib/layout/style/style.directive.mjs +6 -6
- package/esm2020/lib/layout/style/style.mjs +7 -1
- package/fesm2015/dereekb-dbx-web-calendar.mjs +1 -1
- package/fesm2015/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/fesm2015/dereekb-dbx-web.mjs +25 -13
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web-calendar.mjs +1 -1
- package/fesm2020/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +25 -13
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/extension/calendar/_calendar.scss +7 -0
- package/lib/interaction/dialog/dialog.content.d.ts +2 -0
- package/lib/interaction/dialog/index.d.ts +1 -0
- package/lib/interaction/popover/popover.component.d.ts +6 -1
- package/lib/interaction/popover/popover.service.d.ts +0 -1
- package/lib/layout/style/_style.scss +26 -0
- package/lib/layout/style/style.color.directive.d.ts +1 -1
- package/lib/layout/style/style.d.ts +3 -3
- package/lib/layout/style/style.directive.d.ts +1 -1
- package/lib/layout/text/_text.scss +7 -10
- package/mapbox/package.json +3 -3
- package/package.json +3 -3
- package/table/package.json +3 -3
|
@@ -3,7 +3,7 @@ import { NgOverlayContainerConfiguration, NgPopoverCloseType, NgPopoverRef } fro
|
|
|
3
3
|
import { AbstractTransitionWatcherDirective, DbxRouterTransitionService, DbxInjectionComponentConfig } from '@dereekb/dbx-core';
|
|
4
4
|
import { LockSet } from '@dereekb/rxjs';
|
|
5
5
|
import { CompactContextStore } from '../../layout/compact';
|
|
6
|
-
import { Maybe, PromiseOrValue } from '@dereekb/util';
|
|
6
|
+
import { Maybe, PromiseOrValue, SpaceSeparatedCssClasses } from '@dereekb/util';
|
|
7
7
|
import { DbxPopoverController, DbxPopoverKey } from './popover';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare abstract class DbxPopoverComponentController<O, I> extends DbxPopoverController<O, I> {
|
|
@@ -34,6 +34,10 @@ export interface DbxPopoverComponentConfig<O, I, T> {
|
|
|
34
34
|
* Component to inject into the popover.
|
|
35
35
|
*/
|
|
36
36
|
componentClass: Type<T>;
|
|
37
|
+
/**
|
|
38
|
+
* Panel classes to add to the popover.
|
|
39
|
+
*/
|
|
40
|
+
panelClass?: Maybe<SpaceSeparatedCssClasses>;
|
|
37
41
|
/**
|
|
38
42
|
* Data available to the popover.
|
|
39
43
|
*/
|
|
@@ -59,6 +63,7 @@ export declare class DbxPopoverComponent<O = unknown, I = unknown, T = unknown>
|
|
|
59
63
|
getClosingValueFn?: (value: Maybe<I>, closeType: NgPopoverCloseType) => PromiseOrValue<O | undefined>;
|
|
60
64
|
constructor(popoverRef: NgPopoverRef<FullDbxPopoverComponentConfig<O, I, T>, O>, compactContextState: CompactContextStore, dbxRouterTransitionService: DbxRouterTransitionService, ngZone: NgZone);
|
|
61
65
|
get config(): FullDbxPopoverComponentConfig<O, I, T>;
|
|
66
|
+
get panelClass(): Maybe<SpaceSeparatedCssClasses>;
|
|
62
67
|
get key(): DbxPopoverKey;
|
|
63
68
|
get data(): Maybe<I>;
|
|
64
69
|
get triggerCloseKeys(): string[];
|
|
@@ -6,7 +6,6 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export interface DbxPopoverConfigSizing extends Pick<NgOverlayContainerConfiguration, 'originX' | 'originY' | 'height' | 'width' | 'minHeight' | 'minWidth' | 'isResizable'> {
|
|
7
7
|
}
|
|
8
8
|
export interface DbxPopoverConfig<O, I, T> extends DbxPopoverComponentConfig<O, I, T>, DbxPopoverConfigSizing {
|
|
9
|
-
panelClass?: string;
|
|
10
9
|
injector?: Injector;
|
|
11
10
|
}
|
|
12
11
|
/**
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use 'sass:list';
|
|
3
|
+
@use 'sass:color';
|
|
3
4
|
@use '../../style/theming';
|
|
4
5
|
|
|
6
|
+
$dbx-ok-color-var: --dbx-ok-color;
|
|
7
|
+
$dbx-success-color-var: --dbx-success-color;
|
|
8
|
+
|
|
5
9
|
// Sections
|
|
6
10
|
@mixin core() {
|
|
7
11
|
.dbx-spacer,
|
|
@@ -95,6 +99,10 @@
|
|
|
95
99
|
$background-text-color: theming.get-color-from-palette($foreground, 'text');
|
|
96
100
|
$background-color: theming.get-color-from-palette($background, 'background');
|
|
97
101
|
|
|
102
|
+
// todo: consider adding color customization or setting as a variable
|
|
103
|
+
$ok-color: color.scale(blue, $lightness: 30%);
|
|
104
|
+
$success-color: green;
|
|
105
|
+
|
|
98
106
|
.dbx-primary {
|
|
99
107
|
color: $primary-color;
|
|
100
108
|
}
|
|
@@ -122,6 +130,24 @@
|
|
|
122
130
|
color: $warn-color-contrast;
|
|
123
131
|
}
|
|
124
132
|
|
|
133
|
+
.dbx-success {
|
|
134
|
+
color: $success-color;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.dbx-success-bg {
|
|
138
|
+
background: $success-color;
|
|
139
|
+
color: $warn-color-contrast;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.dbx-ok {
|
|
143
|
+
color: $ok-color;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.dbx-ok-bg {
|
|
147
|
+
background: $ok-color;
|
|
148
|
+
color: $warn-color-contrast;
|
|
149
|
+
}
|
|
150
|
+
|
|
125
151
|
.dbx-grey {
|
|
126
152
|
color: $grey-color;
|
|
127
153
|
}
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* Used to apply a background style using a color.
|
|
6
6
|
*/
|
|
7
7
|
export declare class DbxColorDirective {
|
|
8
|
-
|
|
8
|
+
cssClass: string;
|
|
9
9
|
set dbxColor(dbxColor: Maybe<DbxThemeColor | ''>);
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxColorDirective, never>;
|
|
11
11
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxColorDirective, "[dbxColor]", never, { "dbxColor": "dbxColor"; }, {}, never, never, false>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Maybe } from '@dereekb/util';
|
|
2
|
-
export declare type DbxThemeColor = 'primary' | 'accent' | 'warn' | 'background' | 'grey' | 'disabled';
|
|
3
|
-
export declare function dbxColorBackground(color: Maybe<DbxThemeColor | ''>):
|
|
1
|
+
import { CssClass, Maybe } from '@dereekb/util';
|
|
2
|
+
export declare type DbxThemeColor = 'primary' | 'accent' | 'warn' | 'ok' | 'success' | 'background' | 'grey' | 'disabled';
|
|
3
|
+
export declare function dbxColorBackground(color: Maybe<DbxThemeColor | ''>): CssClass;
|
|
@@ -8,7 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class DbxStyleDirective extends AbstractSubscriptionDirective {
|
|
9
9
|
readonly styleService: DbxStyleService;
|
|
10
10
|
private cdRef;
|
|
11
|
-
|
|
11
|
+
cssClass: string;
|
|
12
12
|
constructor(styleService: DbxStyleService, cdRef: ChangeDetectorRef);
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxStyleDirective, never>;
|
|
14
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxStyleDirective, "dbx-style, [dbxStyle], .dbx-style", never, {}, {}, never, never, false>;
|
|
@@ -56,7 +56,14 @@ $dbx-detail-block-content-offset: 30px;
|
|
|
56
56
|
padding-left: $dbx-detail-block-content-offset;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
.dbx-detail-line {
|
|
60
|
+
display: block;
|
|
61
|
+
padding-top: 3px;
|
|
62
|
+
}
|
|
63
|
+
|
|
59
64
|
.dbx-detail-block {
|
|
65
|
+
display: block;
|
|
66
|
+
|
|
60
67
|
.dbx-detail-block-header {
|
|
61
68
|
padding-bottom: 2px;
|
|
62
69
|
|
|
@@ -147,8 +154,6 @@ $dbx-detail-block-content-offset: 30px;
|
|
|
147
154
|
$outlined-text-color: $border-color;
|
|
148
155
|
}
|
|
149
156
|
|
|
150
|
-
$ok-color: color.scale(blue, $lightness: 30%);
|
|
151
|
-
$success-color: green;
|
|
152
157
|
$notice-color: #f28600;
|
|
153
158
|
|
|
154
159
|
.dbx-hint,
|
|
@@ -160,14 +165,6 @@ $dbx-detail-block-content-offset: 30px;
|
|
|
160
165
|
opacity: $faint-opacity;
|
|
161
166
|
}
|
|
162
167
|
|
|
163
|
-
.dbx-success {
|
|
164
|
-
color: $success-color;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.dbx-ok {
|
|
168
|
-
color: $ok-color;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
168
|
.dbx-label,
|
|
172
169
|
.dbx-sublabel,
|
|
173
170
|
.dbx-chip-sublabel,
|
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.4",
|
|
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.4",
|
|
8
|
+
"@dereekb/dbx-web": "9.24.4",
|
|
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.4",
|
|
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.4",
|
|
11
|
+
"@dereekb/dbx-core": "9.24.4",
|
|
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.4",
|
|
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.4",
|
|
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.4"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"tslib": "^2.3.0"
|