@dereekb/dbx-web 9.23.3 → 9.23.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.
@@ -13,12 +13,9 @@ export declare class DbxMapboxMarkerComponent implements OnDestroy {
13
13
  get anchor(): import("../../../../../dist/packages/dbx-core").ClickableAnchor | undefined;
14
14
  get label(): string | undefined;
15
15
  get icon(): string | undefined;
16
- get style(): {
17
- width: string;
18
- height: string;
19
- 'font-size': string;
20
- 'background-image': string | undefined;
21
- };
16
+ get style(): any;
17
+ get presentation(): import("./mapbox.marker").DbxMapboxMarkerPresentation;
18
+ get presentationClasses(): string;
22
19
  ngOnDestroy(): void;
23
20
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxMapboxMarkerComponent, [{ optional: true; }]>;
24
21
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxMapboxMarkerComponent, "dbx-mapbox-marker", never, { "marker": "marker"; }, {}, never, never, false>;
@@ -4,7 +4,22 @@ import { Pixels, FactoryWithRequiredInput, LatLngInputRef, UniqueModel } from '@
4
4
  * DbxMapboxMarkerSize. Numbers are converted to pixels.
5
5
  */
6
6
  export declare type DbxMapboxMarkerSize = 'small' | 'medium' | 'large' | 'tall' | Pixels;
7
+ /**
8
+ * Presentation style.
9
+ *
10
+ * - normal: Text under dot with optional icon within dot
11
+ * - chip: "dbx-chip"-like presentation
12
+ */
13
+ export declare type DbxMapboxMarkerPresentation = 'normal' | 'chip' | 'chip-small';
7
14
  export declare type DbxMapboxMarker = UniqueModel & LatLngInputRef & {
15
+ /**
16
+ * Presentation style. Defaults to "normal"
17
+ */
18
+ presentation?: DbxMapboxMarkerPresentation;
19
+ /**
20
+ * Additional classes to add to the marker.
21
+ */
22
+ markerClasses?: string;
8
23
  /**
9
24
  * icon
10
25
  */
@@ -26,7 +41,7 @@ export declare type DbxMapboxMarker = UniqueModel & LatLngInputRef & {
26
41
  */
27
42
  anchor?: ClickableAnchor;
28
43
  /**
29
- * Additional object styling
44
+ * Additional content styling
30
45
  */
31
46
  style?: object;
32
47
  };
@@ -44,6 +59,6 @@ export declare type DbxMapboxMarkerFactory<T> = (value: T, index: number) => Dbx
44
59
  export declare function dbxMapboxColoredDotStyle(background: string, color?: string): {
45
60
  background: string;
46
61
  padding: string;
47
- color: string;
62
+ color: string | undefined;
48
63
  'border-radius': string;
49
64
  };
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/mapbox",
3
- "version": "9.23.3",
3
+ "version": "9.23.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0",
7
- "@dereekb/dbx-core": "9.23.3",
8
- "@dereekb/dbx-web": "9.23.3",
7
+ "@dereekb/dbx-core": "9.23.4",
8
+ "@dereekb/dbx-web": "9.23.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.23.3",
3
+ "version": "9.23.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.23.3",
11
- "@dereekb/dbx-core": "9.23.3",
10
+ "@dereekb/rxjs": "9.23.4",
11
+ "@dereekb/dbx-core": "9.23.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",
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/table",
3
- "version": "9.23.3",
3
+ "version": "9.23.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0",
7
- "@dereekb/dbx-core": "9.23.3",
7
+ "@dereekb/dbx-core": "9.23.4",
8
8
  "@angular/material": "^14.2.0",
9
9
  "@angular/forms": "^14.2.0",
10
- "@dereekb/dbx-web": "9.23.3"
10
+ "@dereekb/dbx-web": "9.23.4"
11
11
  },
12
12
  "dependencies": {
13
13
  "tslib": "^2.3.0"