@dereekb/dbx-web 9.24.2 → 9.24.3

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.
@@ -51,6 +51,13 @@ $calendar-content-border-consideration: 2px;
51
51
  }
52
52
  }
53
53
 
54
+ .dbx-calendar-controls-right {
55
+ display: inline-flex;
56
+ align-items: flex-end;
57
+ justify-content: flex-end;
58
+ flex-wrap: wrap;
59
+ }
60
+
54
61
  .dbx-calendar-content {
55
62
  height: 100%;
56
63
 
@@ -0,0 +1,2 @@
1
+ import { MatDialogConfig } from '@angular/material/dialog';
2
+ export declare type DbxDialogContentConfig = Omit<MatDialogConfig, 'viewContainerRef' | 'injector' | 'id' | 'data'>;
@@ -3,4 +3,5 @@ export * from './dialog.content.close.component';
3
3
  export * from './dialog.content.footer.component';
4
4
  export * from './dialog.content.component';
5
5
  export * from './dialog.action.directive';
6
+ export * from './dialog.content';
6
7
  export * from './dialog.module';
@@ -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
  }
@@ -1,3 +1,3 @@
1
1
  import { Maybe } from '@dereekb/util';
2
- export declare type DbxThemeColor = 'primary' | 'accent' | 'warn' | 'background' | 'grey' | 'disabled';
2
+ export declare type DbxThemeColor = 'primary' | 'accent' | 'warn' | 'ok' | 'success' | 'background' | 'grey' | 'disabled';
3
3
  export declare function dbxColorBackground(color: Maybe<DbxThemeColor | ''>): string;
@@ -147,8 +147,6 @@ $dbx-detail-block-content-offset: 30px;
147
147
  $outlined-text-color: $border-color;
148
148
  }
149
149
 
150
- $ok-color: color.scale(blue, $lightness: 30%);
151
- $success-color: green;
152
150
  $notice-color: #f28600;
153
151
 
154
152
  .dbx-hint,
@@ -160,14 +158,6 @@ $dbx-detail-block-content-offset: 30px;
160
158
  opacity: $faint-opacity;
161
159
  }
162
160
 
163
- .dbx-success {
164
- color: $success-color;
165
- }
166
-
167
- .dbx-ok {
168
- color: $ok-color;
169
- }
170
-
171
161
  .dbx-label,
172
162
  .dbx-sublabel,
173
163
  .dbx-chip-sublabel,
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/mapbox",
3
- "version": "9.24.2",
3
+ "version": "9.24.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0",
7
- "@dereekb/dbx-core": "9.24.2",
8
- "@dereekb/dbx-web": "9.24.2",
7
+ "@dereekb/dbx-core": "9.24.3",
8
+ "@dereekb/dbx-web": "9.24.3",
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.2",
3
+ "version": "9.24.3",
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.2",
11
- "@dereekb/dbx-core": "9.24.2",
10
+ "@dereekb/rxjs": "9.24.3",
11
+ "@dereekb/dbx-core": "9.24.3",
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",
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/table",
3
- "version": "9.24.2",
3
+ "version": "9.24.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0",
7
- "@dereekb/dbx-core": "9.24.2",
7
+ "@dereekb/dbx-core": "9.24.3",
8
8
  "@angular/material": "^14.2.0",
9
9
  "@angular/forms": "^14.2.0",
10
- "@dereekb/dbx-web": "9.24.2"
10
+ "@dereekb/dbx-web": "9.24.3"
11
11
  },
12
12
  "dependencies": {
13
13
  "tslib": "^2.3.0"