@skyux/lists 7.5.0 → 7.6.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.
@@ -108,23 +108,23 @@ let nextId = 0;
108
108
  class SkyFilterButtonComponent {
109
109
  constructor() {
110
110
  /**
111
- * Indicates whether the filtering options are exposed.
111
+ * Whether the filtering options are exposed.
112
112
  * To support [accessibility rules for disclosures](https://www.w3.org/TR/wai-aria-practices-1.1/#disclosure),
113
113
  * this property is necessary when using inline filters.
114
114
  */
115
115
  this.ariaExpanded = false;
116
116
  /**
117
- * Indicates whether to highlight the filter button to indicate that filters were applied.
117
+ * Whether to highlight the filter button to indicate that filters were applied.
118
118
  * We recommend setting this property to `true` when no indication of filtering is visible
119
119
  * to users. For example, set it to `true` if you do not display the filter summary.
120
120
  */
121
121
  this.active = false;
122
122
  /**
123
- * Indicates whether to disable the filter button.
123
+ * Whether to disable the filter button.
124
124
  */
125
125
  this.disabled = false;
126
126
  /**
127
- * Indicates whether to display a **Filter** label beside the icon on the filter button.
127
+ * Whether to display a "Filter" label beside the icon on the filter button.
128
128
  */
129
129
  this.showButtonText = false;
130
130
  /**
@@ -136,7 +136,7 @@ class SkyFilterButtonComponent {
136
136
  __classPrivateFieldSet(this, _SkyFilterButtonComponent_filterButtonIdOrDefault, __classPrivateFieldSet(this, _SkyFilterButtonComponent_defaultButtonId, `sky-filter-button-${++nextId}`, "f"), "f");
137
137
  }
138
138
  /**
139
- * Specifies an ID for the filter button.
139
+ * The ID for the filter button.
140
140
  */
141
141
  get filterButtonId() {
142
142
  return __classPrivateFieldGet(this, _SkyFilterButtonComponent_filterButtonIdOrDefault, "f");
@@ -211,7 +211,7 @@ class SkyFilterSummaryItemComponent {
211
211
  _SkyFilterSummaryItemComponent__dismissible.set(this, true);
212
212
  }
213
213
  /**
214
- * Indicates whether the filter summary item has a close button.
214
+ * Whether the filter summary item has a close button.
215
215
  */
216
216
  get dismissible() {
217
217
  return __classPrivateFieldGet(this, _SkyFilterSummaryItemComponent__dismissible, "f");
@@ -403,7 +403,7 @@ class SkyInfiniteScrollComponent {
403
403
  __classPrivateFieldSet(this, _SkyInfiniteScrollComponent_domAdapter, domAdapter, "f");
404
404
  }
405
405
  /**
406
- * Indicates whether to make the infinite scroll component active when more data is available
406
+ * Whether to make the infinite scroll component active when more data is available
407
407
  * to load. By default, infinite scroll is inactive and does not call the load function.
408
408
  * @default false
409
409
  */
@@ -417,7 +417,7 @@ class SkyInfiniteScrollComponent {
417
417
  }
418
418
  }
419
419
  /**
420
- * Indicates whether data is loading because of a `scrollEnd` event. Setting the property
420
+ * Whether data is loading because of a `scrollEnd` event. Setting the property
421
421
  * to `true` disables new `scrollEnd` events from firing until it changes to `false`. If this
422
422
  * property is not specified, the infinite scroll component watches the DOM for changes
423
423
  * and fires `scrollEnd` events when changes occur on its parent DOM element. Relying
@@ -506,19 +506,19 @@ class SkyPagingComponent {
506
506
  constructor() {
507
507
  _SkyPagingComponent_instances.add(this);
508
508
  /**
509
- * Specifies the page number of the current page. Page numbers start at 1 and increment.
509
+ * The page number of the current page. Page numbers start at 1 and increment.
510
510
  */
511
511
  this.currentPage = 1;
512
512
  /**
513
- * Specifies the total number of items across all pages.
513
+ * The total number of items across all pages.
514
514
  */
515
515
  this.itemCount = 0;
516
516
  /**
517
- * Specifies the maximum number of pages to display in the pagination control.
517
+ * The maximum number of pages to display in the pagination control.
518
518
  */
519
519
  this.maxPages = 5;
520
520
  /**
521
- * Specifies the number of items to display per page.
521
+ * The number of items to display per page.
522
522
  */
523
523
  this.pageSize = 10;
524
524
  /**
@@ -569,12 +569,12 @@ _SkyPagingComponent_instances = new WeakSet(), _SkyPagingComponent_getDisplayedP
569
569
  if (maxDisplayedPages % 2 !== 0) {
570
570
  upperBound += 1;
571
571
  }
572
- // Wrap negative values to increase the upperbound
572
+ // Wrap negative values to increase the upper bound
573
573
  if (lowerBound < 0) {
574
574
  upperBound -= lowerBound;
575
575
  lowerBound = 0;
576
576
  }
577
- // Wrap overflow to decrease the lowerbound
577
+ // Wrap overflow to decrease the lower bound
578
578
  if (upperBound > pageCount) {
579
579
  lowerBound -= upperBound - pageCount;
580
580
  upperBound = pageCount;
@@ -843,16 +843,16 @@ class SkyRepeaterItemComponent {
843
843
  constructor(repeaterService, changeDetector, adapterService, elementRef, resourceService) {
844
844
  _SkyRepeaterItemComponent_instances.add(this);
845
845
  /**
846
- * Indicates whether users can change the order of the repeater item.
846
+ * Whether users can change the order of the repeater item.
847
847
  * The repeater component's `reorderable` property must also be set to `true`.
848
848
  */
849
849
  this.reorderable = false;
850
850
  /**
851
- * Indicates whether to display a checkbox in the left of the repeater item.
851
+ * Whether to display a checkbox in the left of the repeater item.
852
852
  */
853
853
  this.selectable = false;
854
854
  /**
855
- * Indicates whether to display an inline form within the repeater.
855
+ * Whether to display an inline form within the repeater.
856
856
  * Users can toggle between displaying and hiding the inline form.
857
857
  */
858
858
  this.showInlineForm = false;
@@ -955,7 +955,7 @@ class SkyRepeaterItemComponent {
955
955
  return __classPrivateFieldGet(this, _SkyRepeaterItemComponent__isDisabled, "f");
956
956
  }
957
957
  /**
958
- * Indicates whether the repeater item is expanded.
958
+ * Whether the repeater item is expanded.
959
959
  * @default true
960
960
  */
961
961
  set isExpanded(value) {
@@ -965,7 +965,7 @@ class SkyRepeaterItemComponent {
965
965
  return __classPrivateFieldGet(this, _SkyRepeaterItemComponent_isExpanded, "f");
966
966
  }
967
967
  /**
968
- * Indicates whether the repeater item's checkbox is selected.
968
+ * Whether the repeater item's checkbox is selected.
969
969
  * When users select the repeater item, the specified property on your model is updated accordingly.
970
970
  * @default false
971
971
  */
@@ -1224,7 +1224,7 @@ _SkyRepeaterItemComponent_adapterService = new WeakMap(), _SkyRepeaterItemCompon
1224
1224
  this.reorderState = __classPrivateFieldGet(this, _SkyRepeaterItemComponent_reorderStateDescription, "f");
1225
1225
  }
1226
1226
  else {
1227
- // TODO: Needs improvement to be localizable
1227
+ // TODO: Needs improvement to be localized
1228
1228
  this.reorderState = `${__classPrivateFieldGet(this, _SkyRepeaterItemComponent_reorderFinishText, "f")} ${__classPrivateFieldGet(this, _SkyRepeaterItemComponent_reorderCurrentIndex, "f") + 1} ${__classPrivateFieldGet(this, _SkyRepeaterItemComponent_reorderInstructions, "f")}`;
1229
1229
  __classPrivateFieldSet(this, _SkyRepeaterItemComponent_reorderCurrentIndex, -1, "f");
1230
1230
  }
@@ -1317,7 +1317,7 @@ class SkyRepeaterComponent {
1317
1317
  constructor(changeDetector, repeaterService, adapterService, dragulaService, elementRef, renderer) {
1318
1318
  _SkyRepeaterComponent_instances.add(this);
1319
1319
  /**
1320
- * Indicates whether users can change the order of items in the repeater list.
1320
+ * Whether users can change the order of items in the repeater list.
1321
1321
  * Each repeater item also has `reorderable` property to indicate whether
1322
1322
  * users can change its order.
1323
1323
  */
@@ -1376,7 +1376,7 @@ class SkyRepeaterComponent {
1376
1376
  __classPrivateFieldGet(this, _SkyRepeaterComponent_instances, "m", _SkyRepeaterComponent_initializeDragAndDrop).call(this);
1377
1377
  }
1378
1378
  /**
1379
- * Specifies a layout to determine which repeater items are expanded by default and whether
1379
+ * The layout that determines which repeater items are expanded by default and whether
1380
1380
  * repeater items are expandable and collapsible. Collapsed items display titles only.
1381
1381
  * The valid options are `multiple`, `none`, and `single`.
1382
1382
  * - `multiple` loads repeater items in an expanded state unless `isExpanded` is set to
@@ -1759,7 +1759,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImpo
1759
1759
  class SkySortComponent {
1760
1760
  constructor() {
1761
1761
  /**
1762
- * Indicates whether to display a "Sort" label beside the icon on the sort button.
1762
+ * Whether to display a "Sort" label beside the icon on the sort button.
1763
1763
  */
1764
1764
  this.showButtonText = false;
1765
1765
  this.dropdownController = new Subject();