@aurodesignsystem-dev/auro-formkit 0.0.0-pr798.0 → 0.0.0-pr800.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.
@@ -41,8 +41,10 @@
41
41
  |------------|----------------------------------------|--------------------------------------------------|
42
42
  | [clear](#clear) | `(): void` | Clears the current value of the combobox. |
43
43
  | [focus](#focus) | `(): void` | Focuses the combobox trigger input. |
44
+ | [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
44
45
  | [isValid](#isValid) | `(): boolean` | Checks if the element is valid. |
45
46
  | [reset](#reset) | `(): void` | Resets component to initial state. |
47
+ | [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
46
48
  | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
47
49
 
48
50
  ## Events
@@ -16453,7 +16453,6 @@ class AuroCombobox extends AuroElement$1 {
16453
16453
 
16454
16454
  /**
16455
16455
  * Hides the dropdown bib if its open.
16456
- * @private
16457
16456
  * @returns {void}
16458
16457
  */
16459
16458
  hideBib() {
@@ -16464,7 +16463,6 @@ class AuroCombobox extends AuroElement$1 {
16464
16463
 
16465
16464
  /**
16466
16465
  * Shows the dropdown bib if there are options to show.
16467
- * @private
16468
16466
  * @returns {void}
16469
16467
  */
16470
16468
  showBib() {
@@ -16311,7 +16311,6 @@ class AuroCombobox extends AuroElement$1 {
16311
16311
 
16312
16312
  /**
16313
16313
  * Hides the dropdown bib if its open.
16314
- * @private
16315
16314
  * @returns {void}
16316
16315
  */
16317
16316
  hideBib() {
@@ -16322,7 +16321,6 @@ class AuroCombobox extends AuroElement$1 {
16322
16321
 
16323
16322
  /**
16324
16323
  * Shows the dropdown bib if there are options to show.
16325
- * @private
16326
16324
  * @returns {void}
16327
16325
  */
16328
16326
  showBib() {
@@ -313,16 +313,14 @@ export class AuroCombobox extends AuroElement {
313
313
  options: any[] | NodeListOf<Element>;
314
314
  /**
315
315
  * Hides the dropdown bib if its open.
316
- * @private
317
316
  * @returns {void}
318
317
  */
319
- private hideBib;
318
+ hideBib(): void;
320
319
  /**
321
320
  * Shows the dropdown bib if there are options to show.
322
- * @private
323
321
  * @returns {void}
324
322
  */
325
- private showBib;
323
+ showBib(): void;
326
324
  /**
327
325
  * Binds all behavior needed to the dropdown after rendering.
328
326
  * @private
@@ -16229,7 +16229,6 @@ class AuroCombobox extends AuroElement {
16229
16229
 
16230
16230
  /**
16231
16231
  * Hides the dropdown bib if its open.
16232
- * @private
16233
16232
  * @returns {void}
16234
16233
  */
16235
16234
  hideBib() {
@@ -16240,7 +16239,6 @@ class AuroCombobox extends AuroElement {
16240
16239
 
16241
16240
  /**
16242
16241
  * Shows the dropdown bib if there are options to show.
16243
- * @private
16244
16242
  * @returns {void}
16245
16243
  */
16246
16244
  showBib() {
@@ -16229,7 +16229,6 @@ class AuroCombobox extends AuroElement {
16229
16229
 
16230
16230
  /**
16231
16231
  * Hides the dropdown bib if its open.
16232
- * @private
16233
16232
  * @returns {void}
16234
16233
  */
16235
16234
  hideBib() {
@@ -16240,7 +16239,6 @@ class AuroCombobox extends AuroElement {
16240
16239
 
16241
16240
  /**
16242
16241
  * Shows the dropdown bib if there are options to show.
16243
- * @private
16244
16242
  * @returns {void}
16245
16243
  */
16246
16244
  showBib() {
@@ -63,6 +63,8 @@
63
63
 
64
64
  | Method | Type | Description |
65
65
  |------------|----------------------------------------|--------------------------------------------------|
66
+ | [hideBib](#hideBib) | `(): void` | Hide dropdownbib if it's open. |
67
+ | [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
66
68
  | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
67
69
 
68
70
  ## Events
@@ -9818,6 +9818,26 @@ class AuroCounterGroup extends AuroElement {
9818
9818
  };
9819
9819
  }
9820
9820
 
9821
+ /**
9822
+ * Hide dropdownbib if it's open.
9823
+ * @returns {void}
9824
+ */
9825
+ hideBib() {
9826
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
9827
+ this.dropdown.hide();
9828
+ }
9829
+ }
9830
+
9831
+ /**
9832
+ * Shows the dropdown bib if there are options to show.
9833
+ * @returns {void}
9834
+ */
9835
+ showBib() {
9836
+ if (this.dropdown && !this.dropdown.isPopoverVisible) {
9837
+ this.dropdown.show();
9838
+ }
9839
+ }
9840
+
9821
9841
  /**
9822
9842
  * Dynamically disables increment/decrement buttons on a counter based on group value.
9823
9843
  * This method checks the total aggregated value against the group's min and max properties.
@@ -9818,6 +9818,26 @@ class AuroCounterGroup extends AuroElement {
9818
9818
  };
9819
9819
  }
9820
9820
 
9821
+ /**
9822
+ * Hide dropdownbib if it's open.
9823
+ * @returns {void}
9824
+ */
9825
+ hideBib() {
9826
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
9827
+ this.dropdown.hide();
9828
+ }
9829
+ }
9830
+
9831
+ /**
9832
+ * Shows the dropdown bib if there are options to show.
9833
+ * @returns {void}
9834
+ */
9835
+ showBib() {
9836
+ if (this.dropdown && !this.dropdown.isPopoverVisible) {
9837
+ this.dropdown.show();
9838
+ }
9839
+ }
9840
+
9821
9841
  /**
9822
9842
  * Dynamically disables increment/decrement buttons on a counter based on group value.
9823
9843
  * This method checks the total aggregated value against the group's min and max properties.
@@ -229,6 +229,16 @@ export class AuroCounterGroup extends LitElement {
229
229
  * @private
230
230
  */
231
231
  private iconTag;
232
+ /**
233
+ * Hide dropdownbib if it's open.
234
+ * @returns {void}
235
+ */
236
+ hideBib(): void;
237
+ /**
238
+ * Shows the dropdown bib if there are options to show.
239
+ * @returns {void}
240
+ */
241
+ showBib(): void;
232
242
  /**
233
243
  * Dynamically disables increment/decrement buttons on a counter based on group value.
234
244
  * This method checks the total aggregated value against the group's min and max properties.
@@ -9771,6 +9771,26 @@ class AuroCounterGroup extends AuroElement {
9771
9771
  };
9772
9772
  }
9773
9773
 
9774
+ /**
9775
+ * Hide dropdownbib if it's open.
9776
+ * @returns {void}
9777
+ */
9778
+ hideBib() {
9779
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
9780
+ this.dropdown.hide();
9781
+ }
9782
+ }
9783
+
9784
+ /**
9785
+ * Shows the dropdown bib if there are options to show.
9786
+ * @returns {void}
9787
+ */
9788
+ showBib() {
9789
+ if (this.dropdown && !this.dropdown.isPopoverVisible) {
9790
+ this.dropdown.show();
9791
+ }
9792
+ }
9793
+
9774
9794
  /**
9775
9795
  * Dynamically disables increment/decrement buttons on a counter based on group value.
9776
9796
  * This method checks the total aggregated value against the group's min and max properties.
@@ -9771,6 +9771,26 @@ class AuroCounterGroup extends AuroElement {
9771
9771
  };
9772
9772
  }
9773
9773
 
9774
+ /**
9775
+ * Hide dropdownbib if it's open.
9776
+ * @returns {void}
9777
+ */
9778
+ hideBib() {
9779
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
9780
+ this.dropdown.hide();
9781
+ }
9782
+ }
9783
+
9784
+ /**
9785
+ * Shows the dropdown bib if there are options to show.
9786
+ * @returns {void}
9787
+ */
9788
+ showBib() {
9789
+ if (this.dropdown && !this.dropdown.isPopoverVisible) {
9790
+ this.dropdown.show();
9791
+ }
9792
+ }
9793
+
9774
9794
  /**
9775
9795
  * Dynamically disables increment/decrement buttons on a counter based on group value.
9776
9796
  * This method checks the total aggregated value against the group's min and max properties.
@@ -52,6 +52,7 @@
52
52
  |-------------------------------|----------------------------------------|--------------------------------------------------|
53
53
  | [clear](#clear) | `(): void` | Clears the current value(s) of the datepicker. |
54
54
  | [focus](#focus) | `(focusInput: string): void` | Focuses the datepicker trigger input.<br /><br />**focusInput**: Pass in `endDate` to focus on the return input. No parameter is needed to focus on the depart input. |
55
+ | [hideBib](#hideBib) | `(): void` | Hide dropdownbib if it's open. |
55
56
  | [renderHtmlActionClear](#renderHtmlActionClear) | `(): TemplateResult` | |
56
57
  | [renderHtmlIconCalendar](#renderHtmlIconCalendar) | `(): TemplateResult` | |
57
58
  | [renderHtmlIconError](#renderHtmlIconError) | `(): TemplateResult` | |
@@ -62,6 +63,7 @@
62
63
  | [resetValues](#resetValues) | `(): void` | Resets values without resetting validation. |
63
64
  | [setHasFocus](#setHasFocus) | `(): void` | |
64
65
  | [setHasValue](#setHasValue) | `(): void` | |
66
+ | [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
65
67
  | [updateComponentArchitecture](#updateComponentArchitecture) | `(): void` | |
66
68
  | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
67
69
 
@@ -28375,6 +28375,27 @@ class AuroDatePicker extends AuroElement$1 {
28375
28375
  return [];
28376
28376
  }
28377
28377
 
28378
+
28379
+ /**
28380
+ * Hide dropdownbib if it's open.
28381
+ * @returns {void}
28382
+ */
28383
+ hideBib() {
28384
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
28385
+ this.dropdown.hide();
28386
+ }
28387
+ }
28388
+
28389
+ /**
28390
+ * Shows the dropdown bib if there are options to show.
28391
+ * @returns {void}
28392
+ */
28393
+ showBib() {
28394
+ if (this.dropdown && !this.dropdown.isPopoverVisible) {
28395
+ this.dropdown.show();
28396
+ }
28397
+ }
28398
+
28378
28399
  /**
28379
28400
  * Force the calendar view to the focus date when it changes.
28380
28401
  * @private
@@ -28116,6 +28116,27 @@ class AuroDatePicker extends AuroElement$1 {
28116
28116
  return [];
28117
28117
  }
28118
28118
 
28119
+
28120
+ /**
28121
+ * Hide dropdownbib if it's open.
28122
+ * @returns {void}
28123
+ */
28124
+ hideBib() {
28125
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
28126
+ this.dropdown.hide();
28127
+ }
28128
+ }
28129
+
28130
+ /**
28131
+ * Shows the dropdown bib if there are options to show.
28132
+ * @returns {void}
28133
+ */
28134
+ showBib() {
28135
+ if (this.dropdown && !this.dropdown.isPopoverVisible) {
28136
+ this.dropdown.show();
28137
+ }
28138
+ }
28139
+
28119
28140
  /**
28120
28141
  * Force the calendar view to the focus date when it changes.
28121
28142
  * @private
@@ -362,6 +362,16 @@ export class AuroDatePicker extends AuroElement {
362
362
  * @returns {string[]}
363
363
  */
364
364
  get values(): string[];
365
+ /**
366
+ * Hide dropdownbib if it's open.
367
+ * @returns {void}
368
+ */
369
+ hideBib(): void;
370
+ /**
371
+ * Shows the dropdown bib if there are options to show.
372
+ * @returns {void}
373
+ */
374
+ showBib(): void;
365
375
  /**
366
376
  * Force the calendar view to the focus date when it changes.
367
377
  * @private
@@ -28052,6 +28052,27 @@ class AuroDatePicker extends AuroElement$1 {
28052
28052
  return [];
28053
28053
  }
28054
28054
 
28055
+
28056
+ /**
28057
+ * Hide dropdownbib if it's open.
28058
+ * @returns {void}
28059
+ */
28060
+ hideBib() {
28061
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
28062
+ this.dropdown.hide();
28063
+ }
28064
+ }
28065
+
28066
+ /**
28067
+ * Shows the dropdown bib if there are options to show.
28068
+ * @returns {void}
28069
+ */
28070
+ showBib() {
28071
+ if (this.dropdown && !this.dropdown.isPopoverVisible) {
28072
+ this.dropdown.show();
28073
+ }
28074
+ }
28075
+
28055
28076
  /**
28056
28077
  * Force the calendar view to the focus date when it changes.
28057
28078
  * @private
@@ -28052,6 +28052,27 @@ class AuroDatePicker extends AuroElement$1 {
28052
28052
  return [];
28053
28053
  }
28054
28054
 
28055
+
28056
+ /**
28057
+ * Hide dropdownbib if it's open.
28058
+ * @returns {void}
28059
+ */
28060
+ hideBib() {
28061
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
28062
+ this.dropdown.hide();
28063
+ }
28064
+ }
28065
+
28066
+ /**
28067
+ * Shows the dropdown bib if there are options to show.
28068
+ * @returns {void}
28069
+ */
28070
+ showBib() {
28071
+ if (this.dropdown && !this.dropdown.isPopoverVisible) {
28072
+ this.dropdown.show();
28073
+ }
28074
+ }
28075
+
28055
28076
  /**
28056
28077
  * Force the calendar view to the focus date when it changes.
28057
28078
  * @private
@@ -48,7 +48,9 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
48
48
 
49
49
  | Method | Type | Description |
50
50
  |------------|----------------------------------------|--------------------------------------------------|
51
+ | [hideBib](#hideBib) | `(): void` | Hide dropdownbib if it's open. |
51
52
  | [reset](#reset) | `(): void` | Resets component to initial state. |
53
+ | [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
52
54
  | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
53
55
 
54
56
  ## Events
@@ -8581,15 +8581,25 @@ class AuroSelect extends AuroElement$4 {
8581
8581
  }
8582
8582
 
8583
8583
  /**
8584
- * Hide dropdownbib.
8585
- * @private
8584
+ * Hide dropdownbib if it's open.
8585
+ * @returns {void}
8586
8586
  */
8587
8587
  hideBib() {
8588
- if (this.dropdown) {
8588
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
8589
8589
  this.dropdown.hide();
8590
8590
  }
8591
8591
  }
8592
8592
 
8593
+ /**
8594
+ * Shows the dropdown bib if there are options to show.
8595
+ * @returns {void}
8596
+ */
8597
+ showBib() {
8598
+ if (!this.dropdown.isPopoverVisible && !this.isHiddenWhileLoading) {
8599
+ this.dropdown.show();
8600
+ }
8601
+ }
8602
+
8593
8603
  /**
8594
8604
  * Validates value.
8595
8605
  * @param {boolean} [force=false] - Whether to force validation.
@@ -8489,15 +8489,25 @@ class AuroSelect extends AuroElement$4 {
8489
8489
  }
8490
8490
 
8491
8491
  /**
8492
- * Hide dropdownbib.
8493
- * @private
8492
+ * Hide dropdownbib if it's open.
8493
+ * @returns {void}
8494
8494
  */
8495
8495
  hideBib() {
8496
- if (this.dropdown) {
8496
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
8497
8497
  this.dropdown.hide();
8498
8498
  }
8499
8499
  }
8500
8500
 
8501
+ /**
8502
+ * Shows the dropdown bib if there are options to show.
8503
+ * @returns {void}
8504
+ */
8505
+ showBib() {
8506
+ if (!this.dropdown.isPopoverVisible && !this.isHiddenWhileLoading) {
8507
+ this.dropdown.show();
8508
+ }
8509
+ }
8510
+
8501
8511
  /**
8502
8512
  * Validates value.
8503
8513
  * @param {boolean} [force=false] - Whether to force validation.
@@ -419,10 +419,15 @@ export class AuroSelect extends AuroElement {
419
419
  */
420
420
  reset(): void;
421
421
  /**
422
- * Hide dropdownbib.
423
- * @private
422
+ * Hide dropdownbib if it's open.
423
+ * @returns {void}
424
+ */
425
+ hideBib(): void;
426
+ /**
427
+ * Shows the dropdown bib if there are options to show.
428
+ * @returns {void}
424
429
  */
425
- private hideBib;
430
+ showBib(): void;
426
431
  /**
427
432
  * Validates value.
428
433
  * @param {boolean} [force=false] - Whether to force validation.
@@ -8443,15 +8443,25 @@ class AuroSelect extends AuroElement$3 {
8443
8443
  }
8444
8444
 
8445
8445
  /**
8446
- * Hide dropdownbib.
8447
- * @private
8446
+ * Hide dropdownbib if it's open.
8447
+ * @returns {void}
8448
8448
  */
8449
8449
  hideBib() {
8450
- if (this.dropdown) {
8450
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
8451
8451
  this.dropdown.hide();
8452
8452
  }
8453
8453
  }
8454
8454
 
8455
+ /**
8456
+ * Shows the dropdown bib if there are options to show.
8457
+ * @returns {void}
8458
+ */
8459
+ showBib() {
8460
+ if (!this.dropdown.isPopoverVisible && !this.isHiddenWhileLoading) {
8461
+ this.dropdown.show();
8462
+ }
8463
+ }
8464
+
8455
8465
  /**
8456
8466
  * Validates value.
8457
8467
  * @param {boolean} [force=false] - Whether to force validation.
@@ -8443,15 +8443,25 @@ class AuroSelect extends AuroElement$3 {
8443
8443
  }
8444
8444
 
8445
8445
  /**
8446
- * Hide dropdownbib.
8447
- * @private
8446
+ * Hide dropdownbib if it's open.
8447
+ * @returns {void}
8448
8448
  */
8449
8449
  hideBib() {
8450
- if (this.dropdown) {
8450
+ if (this.dropdown && this.dropdown.isPopoverVisible) {
8451
8451
  this.dropdown.hide();
8452
8452
  }
8453
8453
  }
8454
8454
 
8455
+ /**
8456
+ * Shows the dropdown bib if there are options to show.
8457
+ * @returns {void}
8458
+ */
8459
+ showBib() {
8460
+ if (!this.dropdown.isPopoverVisible && !this.isHiddenWhileLoading) {
8461
+ this.dropdown.show();
8462
+ }
8463
+ }
8464
+
8455
8465
  /**
8456
8466
  * Validates value.
8457
8467
  * @param {boolean} [force=false] - Whether to force validation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem-dev/auro-formkit",
3
- "version": "0.0.0-pr798.0",
3
+ "version": "0.0.0-pr800.0",
4
4
  "description": "A collection of web components used to build forms.",
5
5
  "homepage": "https://github.com/AlaskaAirlines/auro-formkit#readme",
6
6
  "bugs": {