carbon-components-angular 5.46.0 → 5.47.0
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/breadcrumb/breadcrumb.component.d.ts +6 -1
- package/breadcrumb/breadcrumb.module.d.ts +5 -3
- package/dialog/dialog.module.d.ts +3 -1
- package/dialog/overflow-menu/overflow-menu.component.d.ts +4 -2
- package/docs/documentation/components/Breadcrumb.html +113 -29
- package/docs/documentation/components/OverflowMenu.html +453 -48
- package/docs/documentation/coverage.html +7 -7
- package/docs/documentation/graph/dependencies.svg +2559 -2535
- package/docs/documentation/js/menu-wc.js +12 -12
- package/docs/documentation/js/menu-wc_es5.js +1 -1
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/modules/BreadcrumbModule/dependencies.svg +76 -52
- package/docs/documentation/modules/BreadcrumbModule.html +87 -53
- package/docs/documentation/modules/CodeSnippetModule/dependencies.svg +4 -4
- package/docs/documentation/modules/CodeSnippetModule.html +4 -4
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboBoxModule.html +4 -4
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +4 -4
- package/docs/documentation/modules/DatePickerInputModule.html +4 -4
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +38 -38
- package/docs/documentation/modules/DatePickerModule.html +38 -38
- package/docs/documentation/modules/DialogModule/dependencies.svg +150 -126
- package/docs/documentation/modules/DialogModule.html +161 -127
- package/docs/documentation/modules/FileUploaderModule/dependencies.svg +34 -34
- package/docs/documentation/modules/FileUploaderModule.html +34 -34
- package/docs/documentation/modules/InlineLoadingModule/dependencies.svg +4 -4
- package/docs/documentation/modules/InlineLoadingModule.html +4 -4
- package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LoadingModule.html +4 -4
- package/docs/documentation/modules/NFormsModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NFormsModule.html +4 -4
- package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NumberModule.html +4 -4
- package/docs/documentation/modules/PanelModule/dependencies.svg +36 -36
- package/docs/documentation/modules/PanelModule.html +36 -36
- package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
- package/docs/documentation/modules/RadioModule/dependencies.svg +37 -37
- package/docs/documentation/modules/RadioModule.html +37 -37
- package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SearchModule.html +4 -4
- package/docs/documentation/modules/TableModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TableModule.html +4 -4
- package/docs/documentation/modules/TabsModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TabsModule.html +4 -4
- package/docs/documentation/modules/TagModule/dependencies.svg +29 -29
- package/docs/documentation/modules/TagModule.html +29 -29
- package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ThemeModule.html +4 -4
- package/docs/documentation/modules/TilesModule/dependencies.svg +100 -100
- package/docs/documentation/modules/TilesModule.html +100 -100
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +44 -40
- package/docs/documentation/modules/TimePickerModule.html +44 -40
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +30 -30
- package/docs/documentation/modules/TimePickerSelectModule.html +30 -30
- package/docs/documentation/modules/ToggleModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggleModule.html +4 -4
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +39 -39
- package/docs/documentation/modules/ToggletipModule.html +39 -39
- package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
- package/docs/documentation/modules/TooltipModule.html +28 -28
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +7 -7
- package/docs/documentation/modules/TreeviewModule.html +7 -7
- package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
- package/docs/documentation/modules/UIShellModule.html +4 -4
- package/docs/documentation/overview.html +2559 -2535
- package/docs/documentation.json +202 -47
- package/docs/storybook/1345.e54b0c87.iframe.bundle.js +1 -0
- package/docs/storybook/7141.259796ae.iframe.bundle.js +1 -0
- package/docs/storybook/{7773.6c3cf943.iframe.bundle.js → 7773.cac12c93.iframe.bundle.js} +1 -1
- package/docs/storybook/901.22b316ed.iframe.bundle.js +1 -0
- package/docs/storybook/9115.84219de9.iframe.bundle.js +1 -0
- package/docs/storybook/breadcrumb-breadcrumb-stories.17ad5997.iframe.bundle.js +1 -0
- package/docs/storybook/contained-list-contained-list-stories.3c337840.iframe.bundle.js +1 -0
- package/docs/storybook/dialog-overflow-menu-overflow-menu-stories.a7b8273a.iframe.bundle.js +1 -0
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/input-input-stories.fa251a40.iframe.bundle.js +1 -0
- package/docs/storybook/input-password-stories.def6cbdf.iframe.bundle.js +1 -0
- package/docs/storybook/input-textarea-stories.425449a3.iframe.bundle.js +1 -0
- package/docs/storybook/main.2e884cfb.iframe.bundle.js +1 -0
- package/docs/storybook/modal-modal-stories.5772b01f.iframe.bundle.js +1 -0
- package/docs/storybook/pagination-pagination-nav-stories.ace8938b.iframe.bundle.js +1 -0
- package/docs/storybook/pagination-pagination-stories.796bfce4.iframe.bundle.js +1 -0
- package/docs/storybook/patterns-forms-multi-step-form-stories.2693c87c.iframe.bundle.js +1 -0
- package/docs/storybook/patterns-loading-large-loading-stories.a879e04d.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.5b8b90c1.iframe.bundle.js → runtime~main.00a784a8.iframe.bundle.js} +1 -1
- package/esm2020/breadcrumb/breadcrumb.component.mjs +30 -6
- package/esm2020/breadcrumb/breadcrumb.module.mjs +12 -4
- package/esm2020/dialog/dialog.module.mjs +12 -4
- package/esm2020/dialog/overflow-menu/overflow-menu.component.mjs +72 -37
- package/esm2020/i18n/en.mjs +5 -3
- package/fesm2015/carbon-components-angular-breadcrumb.mjs +39 -7
- package/fesm2015/carbon-components-angular-breadcrumb.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-dialog.mjs +80 -38
- package/fesm2015/carbon-components-angular-dialog.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-i18n.mjs +4 -2
- package/fesm2015/carbon-components-angular-i18n.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-breadcrumb.mjs +39 -7
- package/fesm2020/carbon-components-angular-breadcrumb.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-dialog.mjs +80 -38
- package/fesm2020/carbon-components-angular-dialog.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-i18n.mjs +4 -2
- package/fesm2020/carbon-components-angular-i18n.mjs.map +1 -1
- package/i18n/en.d.ts +2 -0
- package/i18n/i18n.service.d.ts +10 -4
- package/package.json +1 -1
- package/docs/storybook/1345.ec2701f8.iframe.bundle.js +0 -1
- package/docs/storybook/901.eac9ade7.iframe.bundle.js +0 -1
- package/docs/storybook/9115.1d90f93b.iframe.bundle.js +0 -1
- package/docs/storybook/breadcrumb-breadcrumb-stories.8a783f18.iframe.bundle.js +0 -1
- package/docs/storybook/contained-list-contained-list-stories.d80e2b46.iframe.bundle.js +0 -1
- package/docs/storybook/dialog-overflow-menu-overflow-menu-stories.e0a259e0.iframe.bundle.js +0 -1
- package/docs/storybook/input-input-stories.8154d597.iframe.bundle.js +0 -1
- package/docs/storybook/input-password-stories.33a92ba2.iframe.bundle.js +0 -1
- package/docs/storybook/input-textarea-stories.f6532f41.iframe.bundle.js +0 -1
- package/docs/storybook/main.3a7cdf77.iframe.bundle.js +0 -1
- package/docs/storybook/modal-modal-stories.eca6c3e9.iframe.bundle.js +0 -1
- package/docs/storybook/pagination-pagination-nav-stories.ad4e83e9.iframe.bundle.js +0 -1
- package/docs/storybook/pagination-pagination-stories.05ab4dd7.iframe.bundle.js +0 -1
- package/docs/storybook/patterns-forms-multi-step-form-stories.22da53c6.iframe.bundle.js +0 -1
- package/docs/storybook/patterns-loading-large-loading-stories.699b1e1b.iframe.bundle.js +0 -1
package/docs/documentation.json
CHANGED
|
@@ -20723,7 +20723,7 @@
|
|
|
20723
20723
|
},
|
|
20724
20724
|
{
|
|
20725
20725
|
"name": "Breadcrumb",
|
|
20726
|
-
"id": "component-Breadcrumb-
|
|
20726
|
+
"id": "component-Breadcrumb-f39b2ab2cd5f1dc2cb81fdd804326a1c4ac85918d35c8a6d4bbf6e8b31a146792a0b020796fc3c6482e197fef5fc5eebea240964875537407e9cd8a7233dcbf7",
|
|
20727
20727
|
"file": "src/breadcrumb/breadcrumb.component.ts",
|
|
20728
20728
|
"encapsulation": [],
|
|
20729
20729
|
"entryComponents": [],
|
|
@@ -20733,7 +20733,7 @@
|
|
|
20733
20733
|
"selector": "cds-breadcrumb, ibm-breadcrumb",
|
|
20734
20734
|
"styleUrls": [],
|
|
20735
20735
|
"styles": [],
|
|
20736
|
-
"template": "<nav #nav class=\"cds--breadcrumb\"\n\t[ngClass]=\"{\n\t\t'cds--skeleton' : skeleton,\n\t\t'cds--breadcrumb--no-trailing-slash' : noTrailingSlash\n\t}\"\n\t[attr.aria-label]=\"ariaLabel\">\n\t<ng-template [ngIf]=\"shouldShowContent\">\n\t\t<ng-content></ng-content>\n\t</ng-template>\n\t<ng-template [ngIf]=\"!shouldShowOverflow\">\n\t\t<cds-breadcrumb-item\n\t\t\t*ngFor=\"let item of items\"\n\t\t\t[href]=\"item.href\"\n\t\t\t[route]=\"item.route\"\n\t\t\t[routeExtras]=\"item.routeExtras\"\n\t\t\t[current]=\"item.current\"\n\t\t\t[ariaCurrent]=\"item.ariaCurrent\"\n\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t<ng-container *ngIf=\"!item.template\">{{item.content}}</ng-container>\n\t\t\t<ng-template\n\t\t\t\t*ngIf=\"item.template\"\n\t\t\t\t[ngTemplateOutlet]=\"item.template\"\n\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: item }\">\n\t\t\t</ng-template>\n\t\t</cds-breadcrumb-item>\n\t</ng-template>\n\t<ng-template [ngIf]=\"shouldShowOverflow\">\n\t\t<cds-breadcrumb-item\n\t\t\t[href]=\"first?.href\"\n\t\t\t[route]=\"first?.route\"\n\t\t\t[routeExtras]=\"first?.routeExtras\"\n\t\t\t[current]=\"first?.current\"\n\t\t\t[ariaCurrent]=\"first?.ariaCurrent\"\n\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t<ng-container *ngIf=\"!first?.template\">{{first?.content}}</ng-container>\n\t\t\t<ng-template\n\t\t\t\t*ngIf=\"first?.template\"\n\t\t\t\t[ngTemplateOutlet]=\"first?.template\"\n\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: first }\">\n\t\t\t</ng-template>\n\t\t</cds-breadcrumb-item>\n\t\t<cds-breadcrumb-item>\n\t\t\t<cds-overflow-menu>\n\t\t\t\t<li class=\"cds--overflow-menu-options__option\"\n\t\t\t\t\t*ngFor=\"let item of overflowItems\">\n\t\t\t\t\t<a class=\"cds--overflow-menu-options__btn\"\n\t\t\t\t\t\thref=\"{{item?.href}}\"\n\t\t\t\t\t\t(click)=\"navigate($event, item)\"\n\t\t\t\t\t\tstyle=\"text-decoration: none;\">\n\t\t\t\t\t\t<ng-container *ngIf=\"!item?.template\">{{item?.content}}</ng-container>\n\t\t\t\t\t\t<ng-template\n\t\t\t\t\t\t\t*ngIf=\"item?.template\"\n\t\t\t\t\t\t\t[ngTemplateOutlet]=\"item?.template\"\n\t\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: item }\">\n\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t</cds-overflow-menu>\n\t\t</cds-breadcrumb-item>\n\t\t<cds-breadcrumb-item\n\t\t\t[href]=\"secondLast?.href\"\n\t\t\t[route]=\"secondLast?.route\"\n\t\t\t[routeExtras]=\"secondLast?.routeExtras\"\n\t\t\t[current]=\"secondLast?.current\"\n\t\t\t[ariaCurrent]=\"secondLast?.ariaCurrent\"\n\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t<ng-container *ngIf=\"!secondLast?.template\">{{secondLast?.content}}</ng-container>\n\t\t\t<ng-template\n\t\t\t\t*ngIf=\"secondLast?.template\"\n\t\t\t\t[ngTemplateOutlet]=\"secondLast?.template\"\n\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: secondLast }\">\n\t\t\t</ng-template>\n\t\t</cds-breadcrumb-item>\n\t\t<cds-breadcrumb-item\n\t\t\t[href]=\"last?.href\"\n\t\t\t[route]=\"last?.route\"\n\t\t\t[routeExtras]=\"last?.routeExtras\"\n\t\t\t[current]=\"last?.current\"\n\t\t\t[ariaCurrent]=\"last?.ariaCurrent\"\n\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t<ng-container *ngIf=\"!last?.template\">{{last?.content}}</ng-container>\n\t\t\t<ng-template\n\t\t\t\t*ngIf=\"last?.template\"\n\t\t\t\t[ngTemplateOutlet]=\"last?.template\"\n\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: last }\">\n\t\t\t</ng-template>\n\t\t</cds-breadcrumb-item>\n\t</ng-template>\n</nav>",
|
|
20736
|
+
"template": "<nav #nav class=\"cds--breadcrumb\"\n\t[ngClass]=\"{\n\t\t'cds--skeleton' : skeleton,\n\t\t'cds--breadcrumb--no-trailing-slash' : noTrailingSlash\n\t}\"\n\t[attr.aria-label]=\"ariaLabel\">\n\t<ng-template [ngIf]=\"shouldShowContent\">\n\t\t<ng-content></ng-content>\n\t</ng-template>\n\t<ng-template [ngIf]=\"!shouldShowOverflow\">\n\t\t<cds-breadcrumb-item\n\t\t\t*ngFor=\"let item of items\"\n\t\t\t[href]=\"item.href\"\n\t\t\t[route]=\"item.route\"\n\t\t\t[routeExtras]=\"item.routeExtras\"\n\t\t\t[current]=\"item.current\"\n\t\t\t[ariaCurrent]=\"item.ariaCurrent\"\n\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t<ng-container *ngIf=\"!item.template\">{{item.content}}</ng-container>\n\t\t\t<ng-template\n\t\t\t\t*ngIf=\"item.template\"\n\t\t\t\t[ngTemplateOutlet]=\"item.template\"\n\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: item }\">\n\t\t\t</ng-template>\n\t\t</cds-breadcrumb-item>\n\t</ng-template>\n\t<ng-template [ngIf]=\"shouldShowOverflow\">\n\t\t<cds-breadcrumb-item\n\t\t\t[href]=\"first?.href\"\n\t\t\t[route]=\"first?.route\"\n\t\t\t[routeExtras]=\"first?.routeExtras\"\n\t\t\t[current]=\"first?.current\"\n\t\t\t[ariaCurrent]=\"first?.ariaCurrent\"\n\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t<ng-container *ngIf=\"!first?.template\">{{first?.content}}</ng-container>\n\t\t\t<ng-template\n\t\t\t\t*ngIf=\"first?.template\"\n\t\t\t\t[ngTemplateOutlet]=\"first?.template\"\n\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: first }\">\n\t\t\t</ng-template>\n\t\t</cds-breadcrumb-item>\n\t\t<cds-breadcrumb-item>\n\t\t\t<ng-template #overflowMenuTrigger>\n\t\t\t\t<svg class=\"cds--overflow-menu__icon\" cdsIcon=\"overflow-menu--horizontal\" size=\"16\"></svg>\n\t\t\t</ng-template>\n\t\t\t<cds-overflow-menu\n\t\t\t\t[customTrigger]=\"overflowMenuTrigger\"\n\t\t\t\ttriggerClass=\"cds--btn--icon-only\"\n\t\t\t\t[description]=\"description\"\n\t\t\t\t[autoAlign]=\"autoAlign\">\n\t\t\t\t<li class=\"cds--overflow-menu-options__option\"\n\t\t\t\t\t*ngFor=\"let item of overflowItems\">\n\t\t\t\t\t<a class=\"cds--overflow-menu-options__btn\"\n\t\t\t\t\t\thref=\"{{item?.href}}\"\n\t\t\t\t\t\t(click)=\"navigate($event, item)\"\n\t\t\t\t\t\tstyle=\"text-decoration: none;\">\n\t\t\t\t\t\t<ng-container *ngIf=\"!item?.template\">{{item?.content}}</ng-container>\n\t\t\t\t\t\t<ng-template\n\t\t\t\t\t\t\t*ngIf=\"item?.template\"\n\t\t\t\t\t\t\t[ngTemplateOutlet]=\"item?.template\"\n\t\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: item }\">\n\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t</cds-overflow-menu>\n\t\t</cds-breadcrumb-item>\n\t\t<cds-breadcrumb-item\n\t\t\t[href]=\"secondLast?.href\"\n\t\t\t[route]=\"secondLast?.route\"\n\t\t\t[routeExtras]=\"secondLast?.routeExtras\"\n\t\t\t[current]=\"secondLast?.current\"\n\t\t\t[ariaCurrent]=\"secondLast?.ariaCurrent\"\n\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t<ng-container *ngIf=\"!secondLast?.template\">{{secondLast?.content}}</ng-container>\n\t\t\t<ng-template\n\t\t\t\t*ngIf=\"secondLast?.template\"\n\t\t\t\t[ngTemplateOutlet]=\"secondLast?.template\"\n\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: secondLast }\">\n\t\t\t</ng-template>\n\t\t</cds-breadcrumb-item>\n\t\t<cds-breadcrumb-item\n\t\t\t[href]=\"last?.href\"\n\t\t\t[route]=\"last?.route\"\n\t\t\t[routeExtras]=\"last?.routeExtras\"\n\t\t\t[current]=\"last?.current\"\n\t\t\t[ariaCurrent]=\"last?.ariaCurrent\"\n\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t<ng-container *ngIf=\"!last?.template\">{{last?.content}}</ng-container>\n\t\t\t<ng-template\n\t\t\t\t*ngIf=\"last?.template\"\n\t\t\t\t[ngTemplateOutlet]=\"last?.template\"\n\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: last }\">\n\t\t\t</ng-template>\n\t\t</cds-breadcrumb-item>\n\t</ng-template>\n</nav>",
|
|
20737
20737
|
"templateUrl": [],
|
|
20738
20738
|
"viewProviders": [],
|
|
20739
20739
|
"hostDirectives": [],
|
|
@@ -20743,7 +20743,27 @@
|
|
|
20743
20743
|
"defaultValue": "this.i18n.get().BREADCRUMB.LABEL",
|
|
20744
20744
|
"deprecated": false,
|
|
20745
20745
|
"deprecationMessage": "",
|
|
20746
|
-
"line":
|
|
20746
|
+
"line": 136,
|
|
20747
|
+
"type": "string",
|
|
20748
|
+
"decorators": []
|
|
20749
|
+
},
|
|
20750
|
+
{
|
|
20751
|
+
"name": "autoAlign",
|
|
20752
|
+
"defaultValue": "false",
|
|
20753
|
+
"deprecated": false,
|
|
20754
|
+
"deprecationMessage": "",
|
|
20755
|
+
"rawdescription": "\n\n**Experimental**: Auto align menu tooltip position\n",
|
|
20756
|
+
"description": "<p><strong>Experimental</strong>: Auto align menu tooltip position</p>\n",
|
|
20757
|
+
"line": 163,
|
|
20758
|
+
"type": "boolean",
|
|
20759
|
+
"decorators": []
|
|
20760
|
+
},
|
|
20761
|
+
{
|
|
20762
|
+
"name": "description",
|
|
20763
|
+
"defaultValue": "this.i18n.get().BREADCRUMB.OVERFLOW_MENU_DESCRIPTION",
|
|
20764
|
+
"deprecated": false,
|
|
20765
|
+
"deprecationMessage": "",
|
|
20766
|
+
"line": 164,
|
|
20747
20767
|
"type": "string",
|
|
20748
20768
|
"decorators": []
|
|
20749
20769
|
},
|
|
@@ -20751,7 +20771,7 @@
|
|
|
20751
20771
|
"name": "items",
|
|
20752
20772
|
"deprecated": false,
|
|
20753
20773
|
"deprecationMessage": "",
|
|
20754
|
-
"line":
|
|
20774
|
+
"line": 132,
|
|
20755
20775
|
"type": "Array<BreadcrumbItem>",
|
|
20756
20776
|
"decorators": []
|
|
20757
20777
|
},
|
|
@@ -20760,7 +20780,7 @@
|
|
|
20760
20780
|
"defaultValue": "false",
|
|
20761
20781
|
"deprecated": false,
|
|
20762
20782
|
"deprecationMessage": "",
|
|
20763
|
-
"line":
|
|
20783
|
+
"line": 134,
|
|
20764
20784
|
"type": "boolean",
|
|
20765
20785
|
"decorators": []
|
|
20766
20786
|
},
|
|
@@ -20768,7 +20788,7 @@
|
|
|
20768
20788
|
"name": "skeleton",
|
|
20769
20789
|
"deprecated": false,
|
|
20770
20790
|
"deprecationMessage": "",
|
|
20771
|
-
"line":
|
|
20791
|
+
"line": 139,
|
|
20772
20792
|
"type": "any",
|
|
20773
20793
|
"decorators": []
|
|
20774
20794
|
},
|
|
@@ -20776,7 +20796,7 @@
|
|
|
20776
20796
|
"name": "threshold",
|
|
20777
20797
|
"deprecated": false,
|
|
20778
20798
|
"deprecationMessage": "",
|
|
20779
|
-
"line":
|
|
20799
|
+
"line": 149,
|
|
20780
20800
|
"type": "number",
|
|
20781
20801
|
"decorators": []
|
|
20782
20802
|
}
|
|
@@ -20789,7 +20809,7 @@
|
|
|
20789
20809
|
"deprecationMessage": "",
|
|
20790
20810
|
"rawdescription": "\n\nEmits the navigation status promise when the link is activated\n",
|
|
20791
20811
|
"description": "<p>Emits the navigation status promise when the link is activated</p>\n",
|
|
20792
|
-
"line":
|
|
20812
|
+
"line": 169,
|
|
20793
20813
|
"type": "EventEmitter"
|
|
20794
20814
|
}
|
|
20795
20815
|
],
|
|
@@ -20801,7 +20821,7 @@
|
|
|
20801
20821
|
"type": "QueryList<BreadcrumbItemComponent>",
|
|
20802
20822
|
"optional": false,
|
|
20803
20823
|
"description": "",
|
|
20804
|
-
"line":
|
|
20824
|
+
"line": 130,
|
|
20805
20825
|
"decorators": [
|
|
20806
20826
|
{
|
|
20807
20827
|
"name": "ContentChildren",
|
|
@@ -20833,7 +20853,7 @@
|
|
|
20833
20853
|
"optional": false,
|
|
20834
20854
|
"returnType": "void",
|
|
20835
20855
|
"typeParameters": [],
|
|
20836
|
-
"line":
|
|
20856
|
+
"line": 207,
|
|
20837
20857
|
"deprecated": false,
|
|
20838
20858
|
"deprecationMessage": "",
|
|
20839
20859
|
"jsdoctags": [
|
|
@@ -20867,7 +20887,7 @@
|
|
|
20867
20887
|
"description": "<p>Get started with importing the module:</p>\n<b>Example :</b><div><pre class=\"line-numbers\"><code class=\"language-typescript\">import { BreadcrumbModule } from 'carbon-components-angular';</code></pre></div><p><a href=\"../../?path=/story/components-breadcrumb--basic\">See demo</a></p>\n",
|
|
20868
20888
|
"rawdescription": "\n\nGet started with importing the module:\n\n```typescript\nimport { BreadcrumbModule } from 'carbon-components-angular';\n```\n\n[See demo](../../?path=/story/components-breadcrumb--basic)\n",
|
|
20869
20889
|
"type": "component",
|
|
20870
|
-
"sourceCode": "import {\n\tComponent,\n\tInput,\n\tContentChildren,\n\tQueryList,\n\tAfterContentInit,\n\tTemplateRef,\n\tOptional,\n\tOutput,\n\tEventEmitter\n} from \"@angular/core\";\n\nimport { BreadcrumbItem } from \"./breadcrumb-item.interface\";\nimport { BreadcrumbItemComponent } from \"./breadcrumb-item.component\";\nimport { Router } from \"@angular/router\";\nimport { I18n } from \"carbon-components-angular/i18n\";\n\nconst MINIMUM_OVERFLOW_THRESHOLD = 4;\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { BreadcrumbModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-breadcrumb--basic)\n */\n@Component({\n\tselector: \"cds-breadcrumb, ibm-breadcrumb\",\n\ttemplate: `\n\t<nav #nav class=\"cds--breadcrumb\"\n\t\t[ngClass]=\"{\n\t\t\t'cds--skeleton' : skeleton,\n\t\t\t'cds--breadcrumb--no-trailing-slash' : noTrailingSlash\n\t\t}\"\n\t\t[attr.aria-label]=\"ariaLabel\">\n\t\t<ng-template [ngIf]=\"shouldShowContent\">\n\t\t\t<ng-content></ng-content>\n\t\t</ng-template>\n\t\t<ng-template [ngIf]=\"!shouldShowOverflow\">\n\t\t\t<cds-breadcrumb-item\n\t\t\t\t*ngFor=\"let item of items\"\n\t\t\t\t[href]=\"item.href\"\n\t\t\t\t[route]=\"item.route\"\n\t\t\t\t[routeExtras]=\"item.routeExtras\"\n\t\t\t\t[current]=\"item.current\"\n\t\t\t\t[ariaCurrent]=\"item.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!item.template\">{{item.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"item.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"item.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: item }\">\n\t\t\t\t</ng-template>\n\t\t\t</cds-breadcrumb-item>\n\t\t</ng-template>\n\t\t<ng-template [ngIf]=\"shouldShowOverflow\">\n\t\t\t<cds-breadcrumb-item\n\t\t\t\t[href]=\"first?.href\"\n\t\t\t\t[route]=\"first?.route\"\n\t\t\t\t[routeExtras]=\"first?.routeExtras\"\n\t\t\t\t[current]=\"first?.current\"\n\t\t\t\t[ariaCurrent]=\"first?.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!first?.template\">{{first?.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"first?.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"first?.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: first }\">\n\t\t\t\t</ng-template>\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item>\n\t\t\t\t<cds-overflow-menu>\n\t\t\t\t\t<li class=\"cds--overflow-menu-options__option\"\n\t\t\t\t\t\t*ngFor=\"let item of overflowItems\">\n\t\t\t\t\t\t<a class=\"cds--overflow-menu-options__btn\"\n\t\t\t\t\t\t\thref=\"{{item?.href}}\"\n\t\t\t\t\t\t\t(click)=\"navigate($event, item)\"\n\t\t\t\t\t\t\tstyle=\"text-decoration: none;\">\n\t\t\t\t\t\t\t<ng-container *ngIf=\"!item?.template\">{{item?.content}}</ng-container>\n\t\t\t\t\t\t\t<ng-template\n\t\t\t\t\t\t\t\t*ngIf=\"item?.template\"\n\t\t\t\t\t\t\t\t[ngTemplateOutlet]=\"item?.template\"\n\t\t\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: item }\">\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</li>\n\t\t\t\t</cds-overflow-menu>\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item\n\t\t\t\t[href]=\"secondLast?.href\"\n\t\t\t\t[route]=\"secondLast?.route\"\n\t\t\t\t[routeExtras]=\"secondLast?.routeExtras\"\n\t\t\t\t[current]=\"secondLast?.current\"\n\t\t\t\t[ariaCurrent]=\"secondLast?.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!secondLast?.template\">{{secondLast?.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"secondLast?.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"secondLast?.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: secondLast }\">\n\t\t\t\t</ng-template>\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item\n\t\t\t\t[href]=\"last?.href\"\n\t\t\t\t[route]=\"last?.route\"\n\t\t\t\t[routeExtras]=\"last?.routeExtras\"\n\t\t\t\t[current]=\"last?.current\"\n\t\t\t\t[ariaCurrent]=\"last?.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!last?.template\">{{last?.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"last?.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"last?.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: last }\">\n\t\t\t\t</ng-template>\n\t\t\t</cds-breadcrumb-item>\n\t\t</ng-template>\n\t</nav>`\n})\nexport class Breadcrumb implements AfterContentInit {\n\t@ContentChildren(BreadcrumbItemComponent) children: QueryList<BreadcrumbItemComponent>;\n\n\t@Input() items: Array<BreadcrumbItem>;\n\n\t@Input() noTrailingSlash = false;\n\n\t@Input() ariaLabel: string = this.i18n.get().BREADCRUMB.LABEL;\n\n\t@Input()\n\tset skeleton(value: any) {\n\t\tthis._skeleton = value;\n\t\tthis.updateChildren();\n\t}\n\n\tget skeleton(): any {\n\t\treturn this._skeleton;\n\t}\n\n\t@Input()\n\tset threshold(threshold: number) {\n\t\tthis._threshold = threshold;\n\t\tif (isNaN(threshold) || threshold < MINIMUM_OVERFLOW_THRESHOLD) {\n\t\t\tthis._threshold = MINIMUM_OVERFLOW_THRESHOLD;\n\t\t}\n\t}\n\n\tget threshold(): number {\n\t\treturn this._threshold;\n\t}\n\n\t/**\n\t * Emits the navigation status promise when the link is activated\n\t */\n\t@Output() navigation = new EventEmitter<Promise<boolean>>();\n\n\tget shouldShowContent(): boolean {\n\t\treturn !this.items;\n\t}\n\n\tget shouldShowOverflow(): boolean {\n\t\tif (!this.items) {\n\t\t\treturn false;\n\t\t}\n\t\treturn this.items.length > this.threshold;\n\t}\n\n\tget first(): BreadcrumbItem {\n\t\treturn this.shouldShowOverflow ? this.items[0] : null;\n\t}\n\n\tget overflowItems(): Array<BreadcrumbItem> {\n\t\treturn this.shouldShowOverflow ? this.items.slice(1, this.items.length - 2) : [];\n\t}\n\n\tget secondLast(): BreadcrumbItem {\n\t\treturn this.shouldShowOverflow ? this.items[this.items.length - 2] : null;\n\t}\n\n\tget last(): BreadcrumbItem {\n\t\treturn this.shouldShowOverflow ? this.items[this.items.length - 1] : null;\n\t}\n\n\tprotected _threshold: number;\n\tprotected _skeleton = false;\n\n\tconstructor(protected i18n: I18n, @Optional() protected router: Router) { }\n\n\tngAfterContentInit() {\n\t\tthis.updateChildren();\n\t}\n\n\tnavigate(event, item: BreadcrumbItem) {\n\t\tif (this.router && item.route) {\n\t\t\tevent.preventDefault();\n\t\t\tconst status = this.router.navigate(item.route, item.routeExtras);\n\t\t\tthis.navigation.emit(status);\n\t\t}\n\t}\n\n\tprotected updateChildren() {\n\t\tif (this.children) {\n\t\t\tthis.children.toArray().forEach(child => child.skeleton = this.skeleton);\n\t\t}\n\t}\n}\n",
|
|
20890
|
+
"sourceCode": "import {\n\tComponent,\n\tInput,\n\tContentChildren,\n\tQueryList,\n\tAfterContentInit,\n\tTemplateRef,\n\tOptional,\n\tOutput,\n\tEventEmitter\n} from \"@angular/core\";\n\nimport { BreadcrumbItem } from \"./breadcrumb-item.interface\";\nimport { BreadcrumbItemComponent } from \"./breadcrumb-item.component\";\nimport { Router } from \"@angular/router\";\nimport { I18n } from \"carbon-components-angular/i18n\";\n\nconst MINIMUM_OVERFLOW_THRESHOLD = 4;\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { BreadcrumbModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-breadcrumb--basic)\n */\n@Component({\n\tselector: \"cds-breadcrumb, ibm-breadcrumb\",\n\ttemplate: `\n\t<nav #nav class=\"cds--breadcrumb\"\n\t\t[ngClass]=\"{\n\t\t\t'cds--skeleton' : skeleton,\n\t\t\t'cds--breadcrumb--no-trailing-slash' : noTrailingSlash\n\t\t}\"\n\t\t[attr.aria-label]=\"ariaLabel\">\n\t\t<ng-template [ngIf]=\"shouldShowContent\">\n\t\t\t<ng-content></ng-content>\n\t\t</ng-template>\n\t\t<ng-template [ngIf]=\"!shouldShowOverflow\">\n\t\t\t<cds-breadcrumb-item\n\t\t\t\t*ngFor=\"let item of items\"\n\t\t\t\t[href]=\"item.href\"\n\t\t\t\t[route]=\"item.route\"\n\t\t\t\t[routeExtras]=\"item.routeExtras\"\n\t\t\t\t[current]=\"item.current\"\n\t\t\t\t[ariaCurrent]=\"item.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!item.template\">{{item.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"item.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"item.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: item }\">\n\t\t\t\t</ng-template>\n\t\t\t</cds-breadcrumb-item>\n\t\t</ng-template>\n\t\t<ng-template [ngIf]=\"shouldShowOverflow\">\n\t\t\t<cds-breadcrumb-item\n\t\t\t\t[href]=\"first?.href\"\n\t\t\t\t[route]=\"first?.route\"\n\t\t\t\t[routeExtras]=\"first?.routeExtras\"\n\t\t\t\t[current]=\"first?.current\"\n\t\t\t\t[ariaCurrent]=\"first?.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!first?.template\">{{first?.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"first?.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"first?.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: first }\">\n\t\t\t\t</ng-template>\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item>\n\t\t\t\t<ng-template #overflowMenuTrigger>\n\t\t\t\t\t<svg class=\"cds--overflow-menu__icon\" cdsIcon=\"overflow-menu--horizontal\" size=\"16\"></svg>\n\t\t\t\t</ng-template>\n\t\t\t\t<cds-overflow-menu\n\t\t\t\t\t[customTrigger]=\"overflowMenuTrigger\"\n\t\t\t\t\ttriggerClass=\"cds--btn--icon-only\"\n\t\t\t\t\t[description]=\"description\"\n\t\t\t\t\t[autoAlign]=\"autoAlign\">\n\t\t\t\t\t<li class=\"cds--overflow-menu-options__option\"\n\t\t\t\t\t\t*ngFor=\"let item of overflowItems\">\n\t\t\t\t\t\t<a class=\"cds--overflow-menu-options__btn\"\n\t\t\t\t\t\t\thref=\"{{item?.href}}\"\n\t\t\t\t\t\t\t(click)=\"navigate($event, item)\"\n\t\t\t\t\t\t\tstyle=\"text-decoration: none;\">\n\t\t\t\t\t\t\t<ng-container *ngIf=\"!item?.template\">{{item?.content}}</ng-container>\n\t\t\t\t\t\t\t<ng-template\n\t\t\t\t\t\t\t\t*ngIf=\"item?.template\"\n\t\t\t\t\t\t\t\t[ngTemplateOutlet]=\"item?.template\"\n\t\t\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: item }\">\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</li>\n\t\t\t\t</cds-overflow-menu>\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item\n\t\t\t\t[href]=\"secondLast?.href\"\n\t\t\t\t[route]=\"secondLast?.route\"\n\t\t\t\t[routeExtras]=\"secondLast?.routeExtras\"\n\t\t\t\t[current]=\"secondLast?.current\"\n\t\t\t\t[ariaCurrent]=\"secondLast?.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!secondLast?.template\">{{secondLast?.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"secondLast?.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"secondLast?.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: secondLast }\">\n\t\t\t\t</ng-template>\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item\n\t\t\t\t[href]=\"last?.href\"\n\t\t\t\t[route]=\"last?.route\"\n\t\t\t\t[routeExtras]=\"last?.routeExtras\"\n\t\t\t\t[current]=\"last?.current\"\n\t\t\t\t[ariaCurrent]=\"last?.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!last?.template\">{{last?.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"last?.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"last?.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: last }\">\n\t\t\t\t</ng-template>\n\t\t\t</cds-breadcrumb-item>\n\t\t</ng-template>\n\t</nav>`\n})\nexport class Breadcrumb implements AfterContentInit {\n\t@ContentChildren(BreadcrumbItemComponent) children: QueryList<BreadcrumbItemComponent>;\n\n\t@Input() items: Array<BreadcrumbItem>;\n\n\t@Input() noTrailingSlash = false;\n\n\t@Input() ariaLabel: string = this.i18n.get().BREADCRUMB.LABEL;\n\n\t@Input()\n\tset skeleton(value: any) {\n\t\tthis._skeleton = value;\n\t\tthis.updateChildren();\n\t}\n\n\tget skeleton(): any {\n\t\treturn this._skeleton;\n\t}\n\n\t@Input()\n\tset threshold(threshold: number) {\n\t\tthis._threshold = threshold;\n\t\tif (isNaN(threshold) || threshold < MINIMUM_OVERFLOW_THRESHOLD) {\n\t\t\tthis._threshold = MINIMUM_OVERFLOW_THRESHOLD;\n\t\t}\n\t}\n\n\tget threshold(): number {\n\t\treturn this._threshold;\n\t}\n\n\t/**\n\t * **Experimental**: Auto align menu tooltip position\n\t */\n\t@Input() autoAlign = false;\n\t@Input() description: string = this.i18n.get().BREADCRUMB.OVERFLOW_MENU_DESCRIPTION;\n\n\t/**\n\t * Emits the navigation status promise when the link is activated\n\t */\n\t@Output() navigation = new EventEmitter<Promise<boolean>>();\n\n\tget shouldShowContent(): boolean {\n\t\treturn !this.items;\n\t}\n\n\tget shouldShowOverflow(): boolean {\n\t\tif (!this.items) {\n\t\t\treturn false;\n\t\t}\n\t\treturn this.items.length > this.threshold;\n\t}\n\n\tget first(): BreadcrumbItem {\n\t\treturn this.shouldShowOverflow ? this.items[0] : null;\n\t}\n\n\tget overflowItems(): Array<BreadcrumbItem> {\n\t\treturn this.shouldShowOverflow ? this.items.slice(1, this.items.length - 2) : [];\n\t}\n\n\tget secondLast(): BreadcrumbItem {\n\t\treturn this.shouldShowOverflow ? this.items[this.items.length - 2] : null;\n\t}\n\n\tget last(): BreadcrumbItem {\n\t\treturn this.shouldShowOverflow ? this.items[this.items.length - 1] : null;\n\t}\n\n\tprotected _threshold: number;\n\tprotected _skeleton = false;\n\n\tconstructor(protected i18n: I18n, @Optional() protected router: Router) { }\n\n\tngAfterContentInit() {\n\t\tthis.updateChildren();\n\t}\n\n\tnavigate(event, item: BreadcrumbItem) {\n\t\tif (this.router && item.route) {\n\t\t\tevent.preventDefault();\n\t\t\tconst status = this.router.navigate(item.route, item.routeExtras);\n\t\t\tthis.navigation.emit(status);\n\t\t}\n\t}\n\n\tprotected updateChildren() {\n\t\tif (this.children) {\n\t\t\tthis.children.toArray().forEach(child => child.skeleton = this.skeleton);\n\t\t}\n\t}\n}\n",
|
|
20871
20891
|
"assetsDirs": [],
|
|
20872
20892
|
"styleUrlsData": "",
|
|
20873
20893
|
"stylesData": "",
|
|
@@ -20890,7 +20910,7 @@
|
|
|
20890
20910
|
"deprecationMessage": ""
|
|
20891
20911
|
}
|
|
20892
20912
|
],
|
|
20893
|
-
"line":
|
|
20913
|
+
"line": 199,
|
|
20894
20914
|
"jsdoctags": [
|
|
20895
20915
|
{
|
|
20896
20916
|
"name": "i18n",
|
|
@@ -20933,7 +20953,7 @@
|
|
|
20933
20953
|
}
|
|
20934
20954
|
],
|
|
20935
20955
|
"returnType": "void",
|
|
20936
|
-
"line":
|
|
20956
|
+
"line": 139,
|
|
20937
20957
|
"jsdoctags": [
|
|
20938
20958
|
{
|
|
20939
20959
|
"name": "value",
|
|
@@ -20950,7 +20970,7 @@
|
|
|
20950
20970
|
"name": "skeleton",
|
|
20951
20971
|
"type": "any",
|
|
20952
20972
|
"returnType": "any",
|
|
20953
|
-
"line":
|
|
20973
|
+
"line": 144
|
|
20954
20974
|
}
|
|
20955
20975
|
},
|
|
20956
20976
|
"threshold": {
|
|
@@ -20969,7 +20989,7 @@
|
|
|
20969
20989
|
}
|
|
20970
20990
|
],
|
|
20971
20991
|
"returnType": "void",
|
|
20972
|
-
"line":
|
|
20992
|
+
"line": 149,
|
|
20973
20993
|
"jsdoctags": [
|
|
20974
20994
|
{
|
|
20975
20995
|
"name": "threshold",
|
|
@@ -20986,7 +21006,7 @@
|
|
|
20986
21006
|
"name": "threshold",
|
|
20987
21007
|
"type": "number",
|
|
20988
21008
|
"returnType": "number",
|
|
20989
|
-
"line":
|
|
21009
|
+
"line": 156
|
|
20990
21010
|
}
|
|
20991
21011
|
},
|
|
20992
21012
|
"shouldShowContent": {
|
|
@@ -20995,7 +21015,7 @@
|
|
|
20995
21015
|
"name": "shouldShowContent",
|
|
20996
21016
|
"type": "boolean",
|
|
20997
21017
|
"returnType": "boolean",
|
|
20998
|
-
"line":
|
|
21018
|
+
"line": 171
|
|
20999
21019
|
}
|
|
21000
21020
|
},
|
|
21001
21021
|
"shouldShowOverflow": {
|
|
@@ -21004,7 +21024,7 @@
|
|
|
21004
21024
|
"name": "shouldShowOverflow",
|
|
21005
21025
|
"type": "boolean",
|
|
21006
21026
|
"returnType": "boolean",
|
|
21007
|
-
"line":
|
|
21027
|
+
"line": 175
|
|
21008
21028
|
}
|
|
21009
21029
|
},
|
|
21010
21030
|
"first": {
|
|
@@ -21013,7 +21033,7 @@
|
|
|
21013
21033
|
"name": "first",
|
|
21014
21034
|
"type": "",
|
|
21015
21035
|
"returnType": "BreadcrumbItem",
|
|
21016
|
-
"line":
|
|
21036
|
+
"line": 182
|
|
21017
21037
|
}
|
|
21018
21038
|
},
|
|
21019
21039
|
"overflowItems": {
|
|
@@ -21022,7 +21042,7 @@
|
|
|
21022
21042
|
"name": "overflowItems",
|
|
21023
21043
|
"type": "",
|
|
21024
21044
|
"returnType": "Array<BreadcrumbItem>",
|
|
21025
|
-
"line":
|
|
21045
|
+
"line": 186
|
|
21026
21046
|
}
|
|
21027
21047
|
},
|
|
21028
21048
|
"secondLast": {
|
|
@@ -21031,7 +21051,7 @@
|
|
|
21031
21051
|
"name": "secondLast",
|
|
21032
21052
|
"type": "",
|
|
21033
21053
|
"returnType": "BreadcrumbItem",
|
|
21034
|
-
"line":
|
|
21054
|
+
"line": 190
|
|
21035
21055
|
}
|
|
21036
21056
|
},
|
|
21037
21057
|
"last": {
|
|
@@ -21040,7 +21060,7 @@
|
|
|
21040
21060
|
"name": "last",
|
|
21041
21061
|
"type": "",
|
|
21042
21062
|
"returnType": "BreadcrumbItem",
|
|
21043
|
-
"line":
|
|
21063
|
+
"line": 194
|
|
21044
21064
|
}
|
|
21045
21065
|
}
|
|
21046
21066
|
}
|
|
@@ -39098,7 +39118,7 @@
|
|
|
39098
39118
|
},
|
|
39099
39119
|
{
|
|
39100
39120
|
"name": "OverflowMenu",
|
|
39101
|
-
"id": "component-OverflowMenu-
|
|
39121
|
+
"id": "component-OverflowMenu-ba2c9b6536aa1371e8dd32e5d2ab1ee283127d2e390926dcd032d6467c2415d4f02770e416b13e472cf883e3abf4e0a108cb3312281bf98b01d940b403054a60",
|
|
39102
39122
|
"file": "src/dialog/overflow-menu/overflow-menu.component.ts",
|
|
39103
39123
|
"encapsulation": [
|
|
39104
39124
|
"ViewEncapsulation.None"
|
|
@@ -39112,7 +39132,7 @@
|
|
|
39112
39132
|
"styles": [
|
|
39113
39133
|
"\n\t\t.cds--overflow-menu--open {\n\t\t\topacity: 1\n\t\t}\n\n\t\t/*\n\t\tRotate the overflow menu container as well as the icon, since\n\t\twe calculate our menu position based on the container, not the icon.\n\t\t*/\n\t\t.cds--data-table-v2 .cds--overflow-menu {\n\t\t\ttransform: rotate(90deg);\n\t\t}\n\n\t\t.cds--data-table-v2 .cds--overflow-menu__icon {\n\t\t\ttransform: rotate(180deg);\n\t\t}\n\t"
|
|
39114
39134
|
],
|
|
39115
|
-
"template": "<button\n\t[cdsOverflowMenu]=\"options\"\n\t[ngClass]=\"{'cds--overflow-menu--open': open}\"\n\tclass=\"cds--overflow-menu {{triggerClass}}\"\n\t[attr.aria-label]=\"buttonLabel\"\n\t[flip]=\"flip\"\n\t[isOpen]=\"open\"\n\t(isOpenChange)=\"handleOpenChange($event)\"\n\t[offset]=\"offset\"\n\t[wrapperClass]=\"wrapperClass\"\n\taria-haspopup=\"true\"\n\
|
|
39135
|
+
"template": "<cds-tooltip\n\tclass=\"cds--icon-tooltip\"\n\t[description]=\"description\"\n\t[caret]=\"caret\"\n\t[dropShadow]=\"dropShadow\"\n\t[highContrast]=\"highContrast\"\n\t[isOpen]=\"isOpen\"\n\t[align]=\"align\"\n\t[autoAlign]=\"autoAlign\"\n\t[enterDelayMs]=\"enterDelayMs\"\n\t[leaveDelayMs]=\"leaveDelayMs\">\n\t<button\n\t\tcdsButton=\"ghost\"\n\t\t[cdsOverflowMenu]=\"options\"\n\t\t[ngClass]=\"{'cds--overflow-menu--open': open}\"\n\t\tclass=\"cds--overflow-menu {{triggerClass}}\"\n\t\t[iconOnly]=\"true\"\n\t\t[attr.aria-label]=\"buttonLabel\"\n\t\t[flip]=\"flip\"\n\t\t[isOpen]=\"open\"\n\t\t(isOpenChange)=\"handleOpenChange($event)\"\n\t\t[offset]=\"offset\"\n\t\t[wrapperClass]=\"wrapperClass\"\n\t\taria-haspopup=\"true\"\n\t\ttype=\"button\"\n\t\t[placement]=\"placement\">\n\t\t<ng-template *ngIf=\"customTrigger; else defaultIcon\" [ngTemplateOutlet]=\"customTrigger\"></ng-template>\n\t</button>\n</cds-tooltip>\n\n<ng-template #options>\n\t<ng-content></ng-content>\n</ng-template>\n<ng-template #defaultIcon>\n\t<svg cdsIcon=\"overflow-menu--vertical\" size=\"16\" class=\"cds--overflow-menu__icon\"></svg>\n</ng-template>\n\t",
|
|
39116
39136
|
"templateUrl": [],
|
|
39117
39137
|
"viewProviders": [],
|
|
39118
39138
|
"hostDirectives": [],
|
|
@@ -39122,7 +39142,7 @@
|
|
|
39122
39142
|
"defaultValue": "this.i18n.get().OVERFLOW_MENU.OVERFLOW",
|
|
39123
39143
|
"deprecated": false,
|
|
39124
39144
|
"deprecationMessage": "",
|
|
39125
|
-
"line":
|
|
39145
|
+
"line": 93,
|
|
39126
39146
|
"type": "any",
|
|
39127
39147
|
"decorators": []
|
|
39128
39148
|
},
|
|
@@ -39132,16 +39152,25 @@
|
|
|
39132
39152
|
"deprecationMessage": "",
|
|
39133
39153
|
"rawdescription": "\n\nSets the custom overflow menu trigger\n",
|
|
39134
39154
|
"description": "<p>Sets the custom overflow menu trigger</p>\n",
|
|
39135
|
-
"line":
|
|
39155
|
+
"line": 107,
|
|
39136
39156
|
"type": "TemplateRef<any>",
|
|
39137
39157
|
"decorators": []
|
|
39138
39158
|
},
|
|
39159
|
+
{
|
|
39160
|
+
"name": "description",
|
|
39161
|
+
"defaultValue": "this.i18n.get().OVERFLOW_MENU.ICON_DESCRIPTION",
|
|
39162
|
+
"deprecated": false,
|
|
39163
|
+
"deprecationMessage": "",
|
|
39164
|
+
"line": 95,
|
|
39165
|
+
"type": "any",
|
|
39166
|
+
"decorators": []
|
|
39167
|
+
},
|
|
39139
39168
|
{
|
|
39140
39169
|
"name": "flip",
|
|
39141
39170
|
"defaultValue": "false",
|
|
39142
39171
|
"deprecated": false,
|
|
39143
39172
|
"deprecationMessage": "",
|
|
39144
|
-
"line":
|
|
39173
|
+
"line": 97,
|
|
39145
39174
|
"type": "boolean",
|
|
39146
39175
|
"decorators": []
|
|
39147
39176
|
},
|
|
@@ -39151,7 +39180,7 @@
|
|
|
39151
39180
|
"deprecationMessage": "",
|
|
39152
39181
|
"rawdescription": "\n\nThis specifies any vertical and horizontal offset for the position of the dialog\n",
|
|
39153
39182
|
"description": "<p>This specifies any vertical and horizontal offset for the position of the dialog</p>\n",
|
|
39154
|
-
"line":
|
|
39183
|
+
"line": 112,
|
|
39155
39184
|
"type": "literal type",
|
|
39156
39185
|
"decorators": []
|
|
39157
39186
|
},
|
|
@@ -39160,7 +39189,7 @@
|
|
|
39160
39189
|
"defaultValue": "false",
|
|
39161
39190
|
"deprecated": false,
|
|
39162
39191
|
"deprecationMessage": "",
|
|
39163
|
-
"line":
|
|
39192
|
+
"line": 101,
|
|
39164
39193
|
"type": "boolean",
|
|
39165
39194
|
"decorators": []
|
|
39166
39195
|
},
|
|
@@ -39169,7 +39198,7 @@
|
|
|
39169
39198
|
"defaultValue": "\"bottom\"",
|
|
39170
39199
|
"deprecated": false,
|
|
39171
39200
|
"deprecationMessage": "",
|
|
39172
|
-
"line":
|
|
39201
|
+
"line": 99,
|
|
39173
39202
|
"type": "\"bottom\" | \"top\"",
|
|
39174
39203
|
"decorators": []
|
|
39175
39204
|
},
|
|
@@ -39180,7 +39209,7 @@
|
|
|
39180
39209
|
"deprecationMessage": "",
|
|
39181
39210
|
"rawdescription": "\n\nThis appends additional classes to the overflow trigger/button.\n",
|
|
39182
39211
|
"description": "<p>This appends additional classes to the overflow trigger/button.</p>\n",
|
|
39183
|
-
"line":
|
|
39212
|
+
"line": 119,
|
|
39184
39213
|
"type": "string",
|
|
39185
39214
|
"decorators": []
|
|
39186
39215
|
},
|
|
@@ -39189,9 +39218,121 @@
|
|
|
39189
39218
|
"defaultValue": "\"\"",
|
|
39190
39219
|
"deprecated": false,
|
|
39191
39220
|
"deprecationMessage": "",
|
|
39192
|
-
"line":
|
|
39221
|
+
"line": 114,
|
|
39193
39222
|
"type": "string",
|
|
39194
39223
|
"decorators": []
|
|
39224
|
+
},
|
|
39225
|
+
{
|
|
39226
|
+
"name": "align",
|
|
39227
|
+
"defaultValue": "\"bottom\"",
|
|
39228
|
+
"deprecated": false,
|
|
39229
|
+
"deprecationMessage": "",
|
|
39230
|
+
"rawdescription": "\n\nSet popover alignment\n",
|
|
39231
|
+
"description": "<p>Set popover alignment</p>\n",
|
|
39232
|
+
"line": 32,
|
|
39233
|
+
"type": "\"top\" | \"top-left\" | \"top-right\" | \"bottom\" | \"bottom-left\" | \"bottom-right\" | \"left\" | \"left-bottom\" | \"left-top\" | \"right\" | \"right-bottom\" | \"right-top\"",
|
|
39234
|
+
"decorators": [],
|
|
39235
|
+
"inheritance": {
|
|
39236
|
+
"file": "BaseIconButton"
|
|
39237
|
+
}
|
|
39238
|
+
},
|
|
39239
|
+
{
|
|
39240
|
+
"name": "autoAlign",
|
|
39241
|
+
"defaultValue": "false",
|
|
39242
|
+
"deprecated": false,
|
|
39243
|
+
"deprecationMessage": "",
|
|
39244
|
+
"rawdescription": "\n\n**Experimental**: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once\n",
|
|
39245
|
+
"description": "<p><strong>Experimental</strong>: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once</p>\n",
|
|
39246
|
+
"line": 40,
|
|
39247
|
+
"type": "boolean",
|
|
39248
|
+
"decorators": [],
|
|
39249
|
+
"inheritance": {
|
|
39250
|
+
"file": "BaseIconButton"
|
|
39251
|
+
}
|
|
39252
|
+
},
|
|
39253
|
+
{
|
|
39254
|
+
"name": "caret",
|
|
39255
|
+
"defaultValue": "true",
|
|
39256
|
+
"deprecated": false,
|
|
39257
|
+
"deprecationMessage": "",
|
|
39258
|
+
"rawdescription": "\n\nSet to `false` to hide caret\n",
|
|
39259
|
+
"description": "<p>Set to <code>false</code> to hide caret</p>\n",
|
|
39260
|
+
"line": 16,
|
|
39261
|
+
"type": "boolean",
|
|
39262
|
+
"decorators": [],
|
|
39263
|
+
"inheritance": {
|
|
39264
|
+
"file": "BaseIconButton"
|
|
39265
|
+
}
|
|
39266
|
+
},
|
|
39267
|
+
{
|
|
39268
|
+
"name": "dropShadow",
|
|
39269
|
+
"defaultValue": "true",
|
|
39270
|
+
"deprecated": false,
|
|
39271
|
+
"deprecationMessage": "",
|
|
39272
|
+
"rawdescription": "\n\nSet to `false` to hide shadow\n",
|
|
39273
|
+
"description": "<p>Set to <code>false</code> to hide shadow</p>\n",
|
|
39274
|
+
"line": 20,
|
|
39275
|
+
"type": "boolean",
|
|
39276
|
+
"decorators": [],
|
|
39277
|
+
"inheritance": {
|
|
39278
|
+
"file": "BaseIconButton"
|
|
39279
|
+
}
|
|
39280
|
+
},
|
|
39281
|
+
{
|
|
39282
|
+
"name": "enterDelayMs",
|
|
39283
|
+
"defaultValue": "100",
|
|
39284
|
+
"deprecated": false,
|
|
39285
|
+
"deprecationMessage": "",
|
|
39286
|
+
"rawdescription": "\n\nSet delay before tooltip is shown\n",
|
|
39287
|
+
"description": "<p>Set delay before tooltip is shown</p>\n",
|
|
39288
|
+
"line": 44,
|
|
39289
|
+
"type": "number",
|
|
39290
|
+
"decorators": [],
|
|
39291
|
+
"inheritance": {
|
|
39292
|
+
"file": "BaseIconButton"
|
|
39293
|
+
}
|
|
39294
|
+
},
|
|
39295
|
+
{
|
|
39296
|
+
"name": "highContrast",
|
|
39297
|
+
"defaultValue": "true",
|
|
39298
|
+
"deprecated": false,
|
|
39299
|
+
"deprecationMessage": "",
|
|
39300
|
+
"rawdescription": "\n\nSet to `true` to enable high contrast\n",
|
|
39301
|
+
"description": "<p>Set to <code>true</code> to enable high contrast</p>\n",
|
|
39302
|
+
"line": 24,
|
|
39303
|
+
"type": "boolean",
|
|
39304
|
+
"decorators": [],
|
|
39305
|
+
"inheritance": {
|
|
39306
|
+
"file": "BaseIconButton"
|
|
39307
|
+
}
|
|
39308
|
+
},
|
|
39309
|
+
{
|
|
39310
|
+
"name": "isOpen",
|
|
39311
|
+
"defaultValue": "false",
|
|
39312
|
+
"deprecated": false,
|
|
39313
|
+
"deprecationMessage": "",
|
|
39314
|
+
"rawdescription": "\n\nSet to `true` to have the popover open by default\n",
|
|
39315
|
+
"description": "<p>Set to <code>true</code> to have the popover open by default</p>\n",
|
|
39316
|
+
"line": 28,
|
|
39317
|
+
"type": "boolean",
|
|
39318
|
+
"decorators": [],
|
|
39319
|
+
"inheritance": {
|
|
39320
|
+
"file": "BaseIconButton"
|
|
39321
|
+
}
|
|
39322
|
+
},
|
|
39323
|
+
{
|
|
39324
|
+
"name": "leaveDelayMs",
|
|
39325
|
+
"defaultValue": "300",
|
|
39326
|
+
"deprecated": false,
|
|
39327
|
+
"deprecationMessage": "",
|
|
39328
|
+
"rawdescription": "\n\nSet delay when tooltip disappears\n",
|
|
39329
|
+
"description": "<p>Set delay when tooltip disappears</p>\n",
|
|
39330
|
+
"line": 48,
|
|
39331
|
+
"type": "number",
|
|
39332
|
+
"decorators": [],
|
|
39333
|
+
"inheritance": {
|
|
39334
|
+
"file": "BaseIconButton"
|
|
39335
|
+
}
|
|
39195
39336
|
}
|
|
39196
39337
|
],
|
|
39197
39338
|
"outputsClass": [
|
|
@@ -39200,7 +39341,7 @@
|
|
|
39200
39341
|
"defaultValue": "new EventEmitter<boolean>()",
|
|
39201
39342
|
"deprecated": false,
|
|
39202
39343
|
"deprecationMessage": "",
|
|
39203
|
-
"line":
|
|
39344
|
+
"line": 103,
|
|
39204
39345
|
"type": "EventEmitter"
|
|
39205
39346
|
}
|
|
39206
39347
|
],
|
|
@@ -39212,7 +39353,7 @@
|
|
|
39212
39353
|
"type": "OverflowMenuDirective",
|
|
39213
39354
|
"optional": false,
|
|
39214
39355
|
"description": "",
|
|
39215
|
-
"line":
|
|
39356
|
+
"line": 121,
|
|
39216
39357
|
"decorators": [
|
|
39217
39358
|
{
|
|
39218
39359
|
"name": "ContentChild",
|
|
@@ -39238,7 +39379,7 @@
|
|
|
39238
39379
|
"optional": false,
|
|
39239
39380
|
"returnType": "void",
|
|
39240
39381
|
"typeParameters": [],
|
|
39241
|
-
"line":
|
|
39382
|
+
"line": 127,
|
|
39242
39383
|
"deprecated": false,
|
|
39243
39384
|
"deprecationMessage": "",
|
|
39244
39385
|
"jsdoctags": [
|
|
@@ -39263,7 +39404,7 @@
|
|
|
39263
39404
|
"description": "<p>The OverFlow menu component encapsulates the OverFlowMenu directive, and the menu iconography into one convienent component.</p>\n<p>Get started with importing the module:</p>\n<b>Example :</b><div><pre class=\"line-numbers\"><code class=\"language-typescript\">import { DialogModule } from 'carbon-components-angular';</code></pre></div><b>Example :</b><div><pre class=\"line-numbers\"><code class=\"language-html\"><cds-overflow-menu>\n <cds-overflow-menu-option>Option 1</cds-overflow-menu-option>\n <cds-overflow-menu-option>Option 2</cds-overflow-menu-option>\n</cds-overflow-menu></code></pre></div><p><a href=\"../../?path=/story/components-overflow-menu--basic\">See demo</a></p>\n",
|
|
39264
39405
|
"rawdescription": "\n\nThe OverFlow menu component encapsulates the OverFlowMenu directive, and the menu iconography into one convienent component.\n\nGet started with importing the module:\n\n```typescript\nimport { DialogModule } from 'carbon-components-angular';\n```\n\n```html\n<cds-overflow-menu>\n\t<cds-overflow-menu-option>Option 1</cds-overflow-menu-option>\n\t<cds-overflow-menu-option>Option 2</cds-overflow-menu-option>\n</cds-overflow-menu>\n```\n\n[See demo](../../?path=/story/components-overflow-menu--basic)\n",
|
|
39265
39406
|
"type": "component",
|
|
39266
|
-
"sourceCode": "import {\n\tComponent,\n\tContentChild,\n\tElementRef,\n\tEventEmitter,\n\tInput,\n\tOutput,\n\tTemplateRef,\n\tViewEncapsulation\n} from \"@angular/core\";\nimport { I18n } from \"carbon-components-angular/i18n\";\nimport { OverflowMenuDirective } from \"./overflow-menu.directive\";\n\n/**\n * The OverFlow menu component encapsulates the OverFlowMenu directive, and the menu iconography into one convienent component.\n *\n * Get started with importing the module:\n *\n * ```typescript\n * import { DialogModule } from 'carbon-components-angular';\n * ```\n *\n * ```html\n * <cds-overflow-menu>\n *\t<cds-overflow-menu-option>Option 1</cds-overflow-menu-option>\n *\t<cds-overflow-menu-option>Option 2</cds-overflow-menu-option>\n * </cds-overflow-menu>\n * ```\n *\n * [See demo](../../?path=/story/components-overflow-menu--basic)\n */\n@Component({\n\tselector: \"cds-overflow-menu, ibm-overflow-menu\",\n\ttemplate: `\n\t\t<button\n\t\t\t[cdsOverflowMenu]=\"options\"\n\t\t\t[ngClass]=\"{'cds--overflow-menu--open': open}\"\n\t\t\tclass=\"cds--overflow-menu {{triggerClass}}\"\n\t\t\t[attr.aria-label]=\"buttonLabel\"\n\t\t\t[flip]=\"flip\"\n\t\t\t[isOpen]=\"open\"\n\t\t\t(isOpenChange)=\"handleOpenChange($event)\"\n\t\t\t[offset]=\"offset\"\n\t\t\t[wrapperClass]=\"wrapperClass\"\n\t\t\taria-haspopup=\"true\"\n\t\t\
|
|
39407
|
+
"sourceCode": "import {\n\tComponent,\n\tContentChild,\n\tElementRef,\n\tEventEmitter,\n\tInput,\n\tOutput,\n\tTemplateRef,\n\tViewEncapsulation\n} from \"@angular/core\";\nimport { I18n } from \"carbon-components-angular/i18n\";\nimport { OverflowMenuDirective } from \"./overflow-menu.directive\";\nimport { BaseIconButton } from \"carbon-components-angular/button\";\n\n/**\n * The OverFlow menu component encapsulates the OverFlowMenu directive, and the menu iconography into one convienent component.\n *\n * Get started with importing the module:\n *\n * ```typescript\n * import { DialogModule } from 'carbon-components-angular';\n * ```\n *\n * ```html\n * <cds-overflow-menu>\n *\t<cds-overflow-menu-option>Option 1</cds-overflow-menu-option>\n *\t<cds-overflow-menu-option>Option 2</cds-overflow-menu-option>\n * </cds-overflow-menu>\n * ```\n *\n * [See demo](../../?path=/story/components-overflow-menu--basic)\n */\n@Component({\n\tselector: \"cds-overflow-menu, ibm-overflow-menu\",\n\ttemplate: `\n\t\t<cds-tooltip\n\t\t\tclass=\"cds--icon-tooltip\"\n\t\t\t[description]=\"description\"\n\t\t\t[caret]=\"caret\"\n\t\t\t[dropShadow]=\"dropShadow\"\n\t\t\t[highContrast]=\"highContrast\"\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[align]=\"align\"\n\t\t\t[autoAlign]=\"autoAlign\"\n\t\t\t[enterDelayMs]=\"enterDelayMs\"\n\t\t\t[leaveDelayMs]=\"leaveDelayMs\">\n\t\t\t<button\n\t\t\t\tcdsButton=\"ghost\"\n\t\t\t\t[cdsOverflowMenu]=\"options\"\n\t\t\t\t[ngClass]=\"{'cds--overflow-menu--open': open}\"\n\t\t\t\tclass=\"cds--overflow-menu {{triggerClass}}\"\n\t\t\t\t[iconOnly]=\"true\"\n\t\t\t\t[attr.aria-label]=\"buttonLabel\"\n\t\t\t\t[flip]=\"flip\"\n\t\t\t\t[isOpen]=\"open\"\n\t\t\t\t(isOpenChange)=\"handleOpenChange($event)\"\n\t\t\t\t[offset]=\"offset\"\n\t\t\t\t[wrapperClass]=\"wrapperClass\"\n\t\t\t\taria-haspopup=\"true\"\n\t\t\t\ttype=\"button\"\n\t\t\t\t[placement]=\"placement\">\n\t\t\t\t<ng-template *ngIf=\"customTrigger; else defaultIcon\" [ngTemplateOutlet]=\"customTrigger\"></ng-template>\n\t\t\t</button>\n\t\t</cds-tooltip>\n\n\t\t<ng-template #options>\n\t\t\t<ng-content></ng-content>\n\t\t</ng-template>\n\t\t<ng-template #defaultIcon>\n\t\t\t<svg cdsIcon=\"overflow-menu--vertical\" size=\"16\" class=\"cds--overflow-menu__icon\"></svg>\n\t\t</ng-template>\n\t`,\n\tstyles: [`\n\t\t.cds--overflow-menu--open {\n\t\t\topacity: 1\n\t\t}\n\n\t\t/*\n\t\tRotate the overflow menu container as well as the icon, since\n\t\twe calculate our menu position based on the container, not the icon.\n\t\t*/\n\t\t.cds--data-table-v2 .cds--overflow-menu {\n\t\t\ttransform: rotate(90deg);\n\t\t}\n\n\t\t.cds--data-table-v2 .cds--overflow-menu__icon {\n\t\t\ttransform: rotate(180deg);\n\t\t}\n\t`],\n\tencapsulation: ViewEncapsulation.None\n})\nexport class OverflowMenu extends BaseIconButton {\n\t@Input() buttonLabel = this.i18n.get().OVERFLOW_MENU.OVERFLOW;\n\n\t@Input() description = this.i18n.get().OVERFLOW_MENU.ICON_DESCRIPTION;\n\n\t@Input() flip = false;\n\n\t@Input() placement: \"bottom\" | \"top\" = \"bottom\";\n\n\t@Input() open = false;\n\n\t@Output() openChange = new EventEmitter<boolean>();\n\t/**\n\t * Sets the custom overflow menu trigger\n\t */\n\t@Input() customTrigger: TemplateRef<any>;\n\n\t/**\n\t * This specifies any vertical and horizontal offset for the position of the dialog\n\t */\n\t@Input() offset: { x: number, y: number };\n\n\t@Input() wrapperClass = \"\";\n\n\t/**\n\t * This appends additional classes to the overflow trigger/button.\n\t */\n\t@Input() triggerClass = \"\";\n\n\t@ContentChild(OverflowMenuDirective) overflowMenuDirective: OverflowMenuDirective;\n\n\tconstructor(protected elementRef: ElementRef, protected i18n: I18n) {\n\t\tsuper();\n\t}\n\n\thandleOpenChange(event: boolean) {\n\t\tthis.open = event;\n\t\tthis.openChange.emit(event);\n\t}\n}\n",
|
|
39267
39408
|
"assetsDirs": [],
|
|
39268
39409
|
"styleUrlsData": "",
|
|
39269
39410
|
"stylesData": "\n\t\t.cds--overflow-menu--open {\n\t\t\topacity: 1\n\t\t}\n\n\t\t/*\n\t\tRotate the overflow menu container as well as the icon, since\n\t\twe calculate our menu position based on the container, not the icon.\n\t\t*/\n\t\t.cds--data-table-v2 .cds--overflow-menu {\n\t\t\ttransform: rotate(90deg);\n\t\t}\n\n\t\t.cds--data-table-v2 .cds--overflow-menu__icon {\n\t\t\ttransform: rotate(180deg);\n\t\t}\n\t\n",
|
|
@@ -39286,7 +39427,7 @@
|
|
|
39286
39427
|
"deprecationMessage": ""
|
|
39287
39428
|
}
|
|
39288
39429
|
],
|
|
39289
|
-
"line":
|
|
39430
|
+
"line": 121,
|
|
39290
39431
|
"jsdoctags": [
|
|
39291
39432
|
{
|
|
39292
39433
|
"name": "elementRef",
|
|
@@ -39308,7 +39449,9 @@
|
|
|
39308
39449
|
}
|
|
39309
39450
|
]
|
|
39310
39451
|
},
|
|
39311
|
-
"extends": [
|
|
39452
|
+
"extends": [
|
|
39453
|
+
"BaseIconButton"
|
|
39454
|
+
]
|
|
39312
39455
|
},
|
|
39313
39456
|
{
|
|
39314
39457
|
"name": "OverflowMenuCustomPane",
|
|
@@ -68626,13 +68769,13 @@
|
|
|
68626
68769
|
},
|
|
68627
68770
|
{
|
|
68628
68771
|
"name": "BreadcrumbModule",
|
|
68629
|
-
"id": "module-BreadcrumbModule-
|
|
68772
|
+
"id": "module-BreadcrumbModule-136f75a31aee3841f41ff9d7178ab0707770b9ccd9f8f1dfdd28d4408511b05804aa608c25147f19a9b1348293d70435f1bbdc3d25704aacd328b0cc075478c0",
|
|
68630
68773
|
"description": "",
|
|
68631
68774
|
"deprecationMessage": "",
|
|
68632
68775
|
"deprecated": false,
|
|
68633
68776
|
"file": "src/breadcrumb/breadcrumb.module.ts",
|
|
68634
68777
|
"methods": [],
|
|
68635
|
-
"sourceCode": "import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { DialogModule } from \"carbon-components-angular/dialog\";\nimport { I18nModule } from \"carbon-components-angular/i18n\";\n\nimport { Breadcrumb } from \"./breadcrumb.component\";\nimport { BreadcrumbItemComponent } from \"./breadcrumb-item.component\";\n\n@NgModule({\n\tdeclarations: [\n\t\tBreadcrumb,\n\t\tBreadcrumbItemComponent\n\t],\n\texports: [\n\t\tBreadcrumb,\n\t\tBreadcrumbItemComponent\n\t],\n\timports: [\n\t\tCommonModule,\n\t\tDialogModule,\n\t\tI18nModule\n\t]\n})\nexport class BreadcrumbModule { }\n",
|
|
68778
|
+
"sourceCode": "import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { DialogModule } from \"carbon-components-angular/dialog\";\nimport { I18nModule } from \"carbon-components-angular/i18n\";\n\nimport { Breadcrumb } from \"./breadcrumb.component\";\nimport { BreadcrumbItemComponent } from \"./breadcrumb-item.component\";\nimport { ButtonModule } from \"carbon-components-angular/button\";\nimport { IconModule } from \"carbon-components-angular/icon\";\n\n@NgModule({\n\tdeclarations: [\n\t\tBreadcrumb,\n\t\tBreadcrumbItemComponent\n\t],\n\texports: [\n\t\tBreadcrumb,\n\t\tBreadcrumbItemComponent\n\t],\n\timports: [\n\t\tCommonModule,\n\t\tButtonModule,\n\t\tDialogModule,\n\t\tI18nModule,\n\t\tIconModule\n\t]\n})\nexport class BreadcrumbModule { }\n",
|
|
68636
68779
|
"children": [
|
|
68637
68780
|
{
|
|
68638
68781
|
"type": "providers",
|
|
@@ -68652,11 +68795,17 @@
|
|
|
68652
68795
|
{
|
|
68653
68796
|
"type": "imports",
|
|
68654
68797
|
"elements": [
|
|
68798
|
+
{
|
|
68799
|
+
"name": "ButtonModule"
|
|
68800
|
+
},
|
|
68655
68801
|
{
|
|
68656
68802
|
"name": "DialogModule"
|
|
68657
68803
|
},
|
|
68658
68804
|
{
|
|
68659
68805
|
"name": "I18nModule"
|
|
68806
|
+
},
|
|
68807
|
+
{
|
|
68808
|
+
"name": "IconModule"
|
|
68660
68809
|
}
|
|
68661
68810
|
]
|
|
68662
68811
|
},
|
|
@@ -69222,13 +69371,13 @@
|
|
|
69222
69371
|
},
|
|
69223
69372
|
{
|
|
69224
69373
|
"name": "DialogModule",
|
|
69225
|
-
"id": "module-DialogModule-
|
|
69374
|
+
"id": "module-DialogModule-f1dc81a45ce1eb89e0d92553b0274dc12a6d4bf84cd9a268e3d5f99c3dac14b3608f6a47456b44f06d47e5475d37a4a31cb7329e2841b496443f6d22eca6fcb4",
|
|
69226
69375
|
"description": "",
|
|
69227
69376
|
"deprecationMessage": "",
|
|
69228
69377
|
"deprecated": false,
|
|
69229
69378
|
"file": "src/dialog/dialog.module.ts",
|
|
69230
69379
|
"methods": [],
|
|
69231
|
-
"sourceCode": "// modules\nimport { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\n// imports\nimport { DialogService } from \"./dialog.service\";\nimport { Dialog } from \"./dialog.component\";\nimport { DialogDirective } from \"./dialog.directive\";\n\nimport { OverflowMenu } from \"./overflow-menu/overflow-menu.component\";\nimport { OverflowMenuPane } from \"./overflow-menu/overflow-menu-pane.component\";\nimport { OverflowMenuCustomPane } from \"./overflow-menu/overflow-menu-custom-pane.component\";\nimport { OverflowMenuDirective } from \"./overflow-menu/overflow-menu.directive\";\nimport { OverflowMenuOption } from \"./overflow-menu/overflow-menu-option.component\";\nimport { I18nModule } from \"carbon-components-angular/i18n\";\nimport { PlaceholderModule } from \"carbon-components-angular/placeholder\";\nimport { ExperimentalModule } from \"carbon-components-angular/experimental\";\nimport { UtilsModule } from \"carbon-components-angular/utils\";\nimport { IconModule } from \"carbon-components-angular/icon\";\n\n@NgModule({\n\tdeclarations: [\n\t\tDialog,\n\t\tOverflowMenu,\n\t\tOverflowMenuPane,\n\t\tOverflowMenuCustomPane,\n\t\tDialogDirective,\n\t\tOverflowMenuDirective,\n\t\tOverflowMenuOption\n\t],\n\texports: [\n\t\tDialog,\n\t\tOverflowMenu,\n\t\tOverflowMenuPane,\n\t\tOverflowMenuCustomPane,\n\t\tDialogDirective,\n\t\tOverflowMenuDirective,\n\t\tOverflowMenuOption\n\t],\n\tproviders: [ DialogService ],\n\timports: [\n\t\tCommonModule,\n\t\tI18nModule,\n\t\tPlaceholderModule,\n\t\tExperimentalModule,\n\t\tUtilsModule,\n\t\tIconModule\n\t]\n})\nexport class DialogModule {}\n",
|
|
69380
|
+
"sourceCode": "// modules\nimport { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\n// imports\nimport { DialogService } from \"./dialog.service\";\nimport { Dialog } from \"./dialog.component\";\nimport { DialogDirective } from \"./dialog.directive\";\n\nimport { OverflowMenu } from \"./overflow-menu/overflow-menu.component\";\nimport { OverflowMenuPane } from \"./overflow-menu/overflow-menu-pane.component\";\nimport { OverflowMenuCustomPane } from \"./overflow-menu/overflow-menu-custom-pane.component\";\nimport { OverflowMenuDirective } from \"./overflow-menu/overflow-menu.directive\";\nimport { OverflowMenuOption } from \"./overflow-menu/overflow-menu-option.component\";\nimport { I18nModule } from \"carbon-components-angular/i18n\";\nimport { PlaceholderModule } from \"carbon-components-angular/placeholder\";\nimport { ExperimentalModule } from \"carbon-components-angular/experimental\";\nimport { UtilsModule } from \"carbon-components-angular/utils\";\nimport { IconModule } from \"carbon-components-angular/icon\";\nimport { ButtonModule } from \"carbon-components-angular/button\";\nimport { TooltipModule } from \"carbon-components-angular/tooltip\";\n\n@NgModule({\n\tdeclarations: [\n\t\tDialog,\n\t\tOverflowMenu,\n\t\tOverflowMenuPane,\n\t\tOverflowMenuCustomPane,\n\t\tDialogDirective,\n\t\tOverflowMenuDirective,\n\t\tOverflowMenuOption\n\t],\n\texports: [\n\t\tDialog,\n\t\tOverflowMenu,\n\t\tOverflowMenuPane,\n\t\tOverflowMenuCustomPane,\n\t\tDialogDirective,\n\t\tOverflowMenuDirective,\n\t\tOverflowMenuOption\n\t],\n\tproviders: [ DialogService ],\n\timports: [\n\t\tCommonModule,\n\t\tI18nModule,\n\t\tPlaceholderModule,\n\t\tExperimentalModule,\n\t\tUtilsModule,\n\t\tIconModule,\n\t\tButtonModule,\n\t\tTooltipModule\n\t]\n})\nexport class DialogModule {}\n",
|
|
69232
69381
|
"children": [
|
|
69233
69382
|
{
|
|
69234
69383
|
"type": "providers",
|
|
@@ -69267,6 +69416,9 @@
|
|
|
69267
69416
|
{
|
|
69268
69417
|
"type": "imports",
|
|
69269
69418
|
"elements": [
|
|
69419
|
+
{
|
|
69420
|
+
"name": "ButtonModule"
|
|
69421
|
+
},
|
|
69270
69422
|
{
|
|
69271
69423
|
"name": "ExperimentalModule"
|
|
69272
69424
|
},
|
|
@@ -69279,6 +69431,9 @@
|
|
|
69279
69431
|
{
|
|
69280
69432
|
"name": "PlaceholderModule"
|
|
69281
69433
|
},
|
|
69434
|
+
{
|
|
69435
|
+
"name": "TooltipModule"
|
|
69436
|
+
},
|
|
69282
69437
|
{
|
|
69283
69438
|
"name": "UtilsModule"
|
|
69284
69439
|
}
|
|
@@ -83973,8 +84128,8 @@
|
|
|
83973
84128
|
"type": "component",
|
|
83974
84129
|
"linktype": "component",
|
|
83975
84130
|
"name": "Breadcrumb",
|
|
83976
|
-
"coveragePercent":
|
|
83977
|
-
"coverageCount": "
|
|
84131
|
+
"coveragePercent": 25,
|
|
84132
|
+
"coverageCount": "3/12",
|
|
83978
84133
|
"status": "low"
|
|
83979
84134
|
},
|
|
83980
84135
|
{
|
|
@@ -85231,9 +85386,9 @@
|
|
|
85231
85386
|
"type": "component",
|
|
85232
85387
|
"linktype": "component",
|
|
85233
85388
|
"name": "OverflowMenu",
|
|
85234
|
-
"coveragePercent":
|
|
85235
|
-
"coverageCount": "
|
|
85236
|
-
"status": "
|
|
85389
|
+
"coveragePercent": 54,
|
|
85390
|
+
"coverageCount": "12/22",
|
|
85391
|
+
"status": "good"
|
|
85237
85392
|
},
|
|
85238
85393
|
{
|
|
85239
85394
|
"filePath": "src/dialog/overflow-menu/overflow-menu.directive.ts",
|