carbon-components-angular 5.47.2 → 5.48.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/docs/documentation/classes/NumberChange.html +34 -0
- package/docs/documentation/components/NumberComponent.html +48 -14
- package/docs/documentation/components/PaginationNav.html +262 -33
- package/docs/documentation/components/ProgressIndicator.html +2 -2
- package/docs/documentation/coverage.html +3 -3
- package/docs/documentation/interfaces/PaginationNavTranslations.html +20 -2
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/modules/TagModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TagModule.html +4 -4
- package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ThemeModule.html +4 -4
- package/docs/documentation/modules/TilesModule/dependencies.svg +98 -98
- package/docs/documentation/modules/TilesModule.html +98 -98
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +44 -40
- package/docs/documentation/modules/TimePickerModule.html +44 -40
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +38 -42
- package/docs/documentation/modules/TimePickerSelectModule.html +38 -42
- package/docs/documentation/modules/ToggleModule/dependencies.svg +17 -17
- package/docs/documentation/modules/ToggleModule.html +17 -17
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +37 -37
- package/docs/documentation/modules/ToggletipModule.html +37 -37
- package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
- package/docs/documentation/modules/TooltipModule.html +28 -28
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +36 -36
- package/docs/documentation/modules/TreeviewModule.html +36 -36
- package/docs/documentation.json +150 -78
- package/docs/storybook/{8341.2bf88948.iframe.bundle.js → 8341.d095fdee.iframe.bundle.js} +1 -1
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/main.css +3007 -2790
- package/docs/storybook/main.e6ee5d76.iframe.bundle.js +1 -0
- package/docs/storybook/{number-input-number-stories.6aba5a3d.iframe.bundle.js → number-input-number-stories.8d02c22f.iframe.bundle.js} +1 -1
- package/docs/storybook/pagination-pagination-nav-stories.7b305bf2.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.14d57f59.iframe.bundle.js → runtime~main.90978505.iframe.bundle.js} +1 -1
- package/esm2020/number-input/number.component.mjs +31 -1
- package/esm2020/pagination/pagination-nav/pagination-nav.component.mjs +32 -5
- package/esm2020/progress-indicator/progress-indicator.component.mjs +2 -2
- package/fesm2015/carbon-components-angular-number-input.mjs +30 -0
- package/fesm2015/carbon-components-angular-number-input.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-pagination.mjs +31 -4
- package/fesm2015/carbon-components-angular-pagination.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-progress-indicator.mjs +1 -1
- package/fesm2015/carbon-components-angular-progress-indicator.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-number-input.mjs +30 -0
- package/fesm2020/carbon-components-angular-number-input.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-pagination.mjs +31 -4
- package/fesm2020/carbon-components-angular-pagination.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-progress-indicator.mjs +1 -1
- package/fesm2020/carbon-components-angular-progress-indicator.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination/pagination-nav/pagination-nav.component.d.ts +8 -1
- package/progress-indicator/progress-indicator.component.d.ts +1 -1
- package/docs/storybook/main.ca52fea9.iframe.bundle.js +0 -1
- package/docs/storybook/pagination-pagination-nav-stories.ace8938b.iframe.bundle.js +0 -1
|
@@ -239,7 +239,8 @@ import {
|
|
|
239
239
|
Component,
|
|
240
240
|
Input,
|
|
241
241
|
Output,
|
|
242
|
-
EventEmitter
|
|
242
|
+
EventEmitter,
|
|
243
|
+
HostBinding
|
|
243
244
|
} from "@angular/core";
|
|
244
245
|
|
|
245
246
|
import { I18n, Overridable } from "carbon-components-angular/i18n";
|
|
@@ -287,7 +288,7 @@ export interface PaginationNavTranslations {
|
|
|
287
288
|
<li class="cds--pagination-nav__list-item">
|
|
288
289
|
<cds-icon-button
|
|
289
290
|
kind="ghost"
|
|
290
|
-
size="
|
|
291
|
+
[size]="size"
|
|
291
292
|
(click)="jumpToPrevious()"
|
|
292
293
|
[disabled]="leftArrowDisabled"
|
|
293
294
|
[description]="previousItemText.subject | async">
|
|
@@ -331,6 +332,7 @@ export interface PaginationNavTranslations {
|
|
|
331
332
|
<li class="cds--pagination-nav__list-item">
|
|
332
333
|
<cds-icon-button
|
|
333
334
|
kind="ghost"
|
|
335
|
+
[size]="size"
|
|
334
336
|
(click)="jumpToNext()"
|
|
335
337
|
[disabled]="rightArrowDisabled"
|
|
336
338
|
[description]="nextItemText.subject | async">
|
|
@@ -377,6 +379,22 @@ export class PaginationNav {
|
|
|
377
379
|
this.previousItemText.override(valueWithDefaults.PREVIOUS);
|
|
378
380
|
}
|
|
379
381
|
|
|
382
|
+
/**
|
|
383
|
+
* Sets the pagination nav size
|
|
384
|
+
*/
|
|
385
|
+
@Input() size: "sm" | "md" | "lg" = "lg";
|
|
386
|
+
|
|
387
|
+
// Size
|
|
388
|
+
@HostBinding("class.cds--layout--size-sm") get smallLayoutSize() {
|
|
389
|
+
return this.size === "sm";
|
|
390
|
+
}
|
|
391
|
+
@HostBinding("class.cds--layout--size-md") get mediumLayoutSize() {
|
|
392
|
+
return this.size === "md";
|
|
393
|
+
}
|
|
394
|
+
@HostBinding("class.cds--layout--size-lg") get largeLayoutSize() {
|
|
395
|
+
return this.size === "lg";
|
|
396
|
+
}
|
|
397
|
+
|
|
380
398
|
/**
|
|
381
399
|
* Emits the new page number.
|
|
382
400
|
*
|