globuswebcomponents 1.6.7 → 1.6.9

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.
@@ -1,27 +1,25 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
+ interface breadCrumb {
3
+ label: string;
4
+ id: string;
5
+ url: string;
6
+ }
2
7
  export declare class GbBreadcrumbs {
3
8
  type: 'text' | 'text_with_line' | 'button_primary' | 'button_gray' | 'button_gray_with_border';
4
9
  divider: 'chevron' | 'slash';
5
- breadcrumbs: {
6
- label: string;
7
- id: string;
8
- url: string;
9
- }[];
10
+ breadcrumbs: breadCrumb[];
10
11
  icon?: string;
11
12
  breadcrumbClicked: EventEmitter<{
12
13
  id: string;
13
14
  url?: string;
14
15
  }>;
15
- visibleBreadcrumbs: {
16
- label: string;
17
- id: string;
18
- url?: string;
19
- }[];
16
+ visibleBreadcrumbs: breadCrumb[];
20
17
  componentWillLoad(): void;
21
- handleBreadcrumbUpdate(newVal: typeof this.breadcrumbs, oldVal: typeof this.breadcrumbs): void;
18
+ handleBreadcrumbUpdate(newVal: breadCrumb[], oldVal: breadCrumb[]): void;
22
19
  private handleBreadcrumbClick;
23
20
  private handleHomeClick;
24
21
  private renderDivider;
25
22
  private resolveType;
26
23
  render(): any;
27
24
  }
25
+ export {};
@@ -112,7 +112,7 @@ export namespace Components {
112
112
  "type": 'text' | 'button_primary' | 'button_gray';
113
113
  }
114
114
  interface GbBreadcrumbs {
115
- "breadcrumbs": { label: string; id: string; url: string }[];
115
+ "breadcrumbs": breadCrumb[];
116
116
  "divider": 'chevron' | 'slash';
117
117
  "icon"?: string;
118
118
  "type": 'text' | 'text_with_line' | 'button_primary' | 'button_gray' | 'button_gray_with_border';
@@ -2012,7 +2012,7 @@ declare namespace LocalJSX {
2012
2012
  "type"?: 'text' | 'button_primary' | 'button_gray';
2013
2013
  }
2014
2014
  interface GbBreadcrumbs {
2015
- "breadcrumbs"?: { label: string; id: string; url: string }[];
2015
+ "breadcrumbs"?: breadCrumb[];
2016
2016
  "divider"?: 'chevron' | 'slash';
2017
2017
  "icon"?: string;
2018
2018
  "onBreadcrumbClicked"?: (event: GbBreadcrumbsCustomEvent<{ id: string; url?: string }>) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "globuswebcomponents",
3
- "version": "1.6.7",
3
+ "version": "1.6.9",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",