@aurodesignsystem/auro-formkit 3.0.0 → 3.1.0-beta.1

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.
Files changed (66) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +1 -0
  3. package/components/bibtemplate/dist/index.js +2 -0
  4. package/components/bibtemplate/dist/registered.js +2 -0
  5. package/components/checkbox/README.md +1 -1
  6. package/components/checkbox/demo/readme.md +1 -1
  7. package/components/combobox/README.md +1 -1
  8. package/components/combobox/demo/api.md +5 -5
  9. package/components/combobox/demo/api.min.js +54 -18
  10. package/components/combobox/demo/index.min.js +54 -18
  11. package/components/combobox/demo/readme.md +1 -1
  12. package/components/combobox/dist/auro-combobox.d.ts +16 -7
  13. package/components/combobox/dist/index.js +54 -18
  14. package/components/combobox/dist/registered.js +54 -18
  15. package/components/counter/README.md +1 -1
  16. package/components/counter/demo/api.md +2 -2
  17. package/components/counter/demo/api.min.js +33 -6
  18. package/components/counter/demo/index.min.js +33 -6
  19. package/components/counter/demo/readme.md +1 -1
  20. package/components/counter/dist/auro-counter-group.d.ts +9 -3
  21. package/components/counter/dist/index.js +33 -6
  22. package/components/counter/dist/registered.js +33 -6
  23. package/components/datepicker/README.md +1 -1
  24. package/components/datepicker/demo/api.md +3 -2
  25. package/components/datepicker/demo/api.min.js +63 -14
  26. package/components/datepicker/demo/index.min.js +63 -14
  27. package/components/datepicker/demo/readme.md +1 -1
  28. package/components/datepicker/dist/auro-calendar-cell.d.ts +1 -0
  29. package/components/datepicker/dist/auro-calendar-month.d.ts +1 -0
  30. package/components/datepicker/dist/auro-calendar.d.ts +3 -2
  31. package/components/datepicker/dist/auro-datepicker.d.ts +16 -0
  32. package/components/datepicker/dist/index.js +63 -14
  33. package/components/datepicker/dist/registered.js +63 -14
  34. package/components/dropdown/README.md +1 -1
  35. package/components/dropdown/demo/api.md +1 -1
  36. package/components/dropdown/demo/api.min.js +21 -3
  37. package/components/dropdown/demo/index.md +83 -0
  38. package/components/dropdown/demo/index.min.js +21 -3
  39. package/components/dropdown/demo/readme.md +1 -1
  40. package/components/dropdown/dist/auro-dropdown.d.ts +12 -1
  41. package/components/dropdown/dist/index.js +21 -3
  42. package/components/dropdown/dist/registered.js +21 -3
  43. package/components/form/README.md +1 -1
  44. package/components/form/demo/autocomplete.html +15 -0
  45. package/components/form/demo/readme.md +1 -1
  46. package/components/input/README.md +1 -1
  47. package/components/input/demo/api.min.js +10 -5
  48. package/components/input/demo/index.min.js +10 -5
  49. package/components/input/demo/readme.md +1 -1
  50. package/components/input/dist/base-input.d.ts +5 -0
  51. package/components/input/dist/index.js +10 -5
  52. package/components/input/dist/registered.js +10 -5
  53. package/components/menu/README.md +1 -1
  54. package/components/menu/demo/readme.md +1 -1
  55. package/components/radio/README.md +1 -1
  56. package/components/radio/demo/readme.md +1 -1
  57. package/components/select/README.md +1 -1
  58. package/components/select/demo/api.md +1 -1
  59. package/components/select/demo/api.min.js +28 -5
  60. package/components/select/demo/index.md +46 -1
  61. package/components/select/demo/index.min.js +28 -5
  62. package/components/select/demo/readme.md +1 -1
  63. package/components/select/dist/auro-select.d.ts +5 -2
  64. package/components/select/dist/index.js +28 -5
  65. package/components/select/dist/registered.js +28 -5
  66. package/package.json +1 -1
@@ -3003,6 +3003,7 @@ var tokensCss$1$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3003
3003
 
3004
3004
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3005
3005
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3006
+ 'xl',
3006
3007
  'lg',
3007
3008
  'md',
3008
3009
  'sm',
@@ -3074,6 +3075,7 @@ class AuroDropdownBib extends LitElement {
3074
3075
 
3075
3076
  set mobileFullscreenBreakpoint(value) {
3076
3077
  // verify the defined breakpoint is valid and exit out if not
3078
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3077
3079
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3078
3080
  if (!validatedValue) {
3079
3081
  this._mobileBreakpointValue = undefined;
@@ -3586,7 +3588,12 @@ class AuroDropdown extends LitElement {
3586
3588
  },
3587
3589
 
3588
3590
  /**
3589
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
3591
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
3592
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
3593
+ *
3594
+ * When expanded, the dropdown will automatically display in fullscreen mode
3595
+ * if the screen size is equal to or smaller than the selected breakpoint.
3596
+ * @default sm
3590
3597
  */
3591
3598
  fullscreenBreakpoint: {
3592
3599
  type: String,
@@ -3709,6 +3716,15 @@ class AuroDropdown extends LitElement {
3709
3716
  AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
3710
3717
  }
3711
3718
 
3719
+ /**
3720
+ * Accessor for reusing the focusable entity query string.
3721
+ * @private
3722
+ * @returns {string}
3723
+ */
3724
+ get focusableEntityQuery () {
3725
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
3726
+ }
3727
+
3712
3728
  connectedCallback() {
3713
3729
  super.connectedCallback();
3714
3730
  }
@@ -3722,6 +3738,8 @@ class AuroDropdown extends LitElement {
3722
3738
  updated(changedProperties) {
3723
3739
  this.floater.handleUpdate(changedProperties);
3724
3740
 
3741
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
3742
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
3725
3743
  if (changedProperties.has('fullscreenBreakpoint')) {
3726
3744
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3727
3745
  }
@@ -3857,7 +3875,7 @@ class AuroDropdown extends LitElement {
3857
3875
 
3858
3876
  this.triggerContentSlot.forEach((node) => {
3859
3877
  if (node.querySelectorAll) {
3860
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3878
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3861
3879
  auroElements.forEach((auroEl) => {
3862
3880
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
3863
3881
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -3878,7 +3896,7 @@ class AuroDropdown extends LitElement {
3878
3896
 
3879
3897
  this.triggerContentSlot.forEach((node) => {
3880
3898
  if (node.querySelectorAll) {
3881
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3899
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3882
3900
  auroElements.forEach((auroEl) => {
3883
3901
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
3884
3902
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -8540,7 +8558,8 @@ class BaseInput extends LitElement {
8540
8558
  * If set, disables the input.
8541
8559
  */
8542
8560
  disabled: {
8543
- type: Boolean
8561
+ type: Boolean,
8562
+ reflect: true
8544
8563
  },
8545
8564
 
8546
8565
  /**
@@ -8570,7 +8589,8 @@ class BaseInput extends LitElement {
8570
8589
  * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
8571
8590
  */
8572
8591
  icon: {
8573
- type: Boolean
8592
+ type: Boolean,
8593
+ reflect: true
8574
8594
  },
8575
8595
 
8576
8596
  /**
@@ -8626,7 +8646,8 @@ class BaseInput extends LitElement {
8626
8646
  * If set, disables auto-validation on blur.
8627
8647
  */
8628
8648
  noValidate: {
8629
- type: Boolean
8649
+ type: Boolean,
8650
+ reflect: true
8630
8651
  },
8631
8652
 
8632
8653
  /**
@@ -8656,14 +8677,16 @@ class BaseInput extends LitElement {
8656
8677
  * Makes the input read-only, but can be set programmatically.
8657
8678
  */
8658
8679
  readonly: {
8659
- type: Boolean
8680
+ type: Boolean,
8681
+ reflect: true
8660
8682
  },
8661
8683
 
8662
8684
  /**
8663
8685
  * Populates the `required` attribute on the input. Used for client-side validation.
8664
8686
  */
8665
8687
  required: {
8666
- type: Boolean
8688
+ type: Boolean,
8689
+ reflect: true
8667
8690
  },
8668
8691
 
8669
8692
  /**
@@ -11251,6 +11274,8 @@ class AuroBibtemplate extends LitElement {
11251
11274
  constructor() {
11252
11275
  super();
11253
11276
 
11277
+ this.large = false;
11278
+
11254
11279
  AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
11255
11280
 
11256
11281
  const versioning = new AuroDependencyVersioning();
@@ -11499,11 +11524,6 @@ class AuroCombobox extends LitElement {
11499
11524
  constructor() {
11500
11525
  super();
11501
11526
 
11502
- this.noFilter = false;
11503
- this.validity = undefined;
11504
- this.value = undefined;
11505
- this.optionSelected = undefined;
11506
-
11507
11527
  this.privateDefaults();
11508
11528
  }
11509
11529
 
@@ -11513,11 +11533,24 @@ class AuroCombobox extends LitElement {
11513
11533
  */
11514
11534
  privateDefaults() {
11515
11535
  this.onDark = false;
11536
+
11537
+ this.noFilter = false;
11538
+ this.validity = undefined;
11539
+ this.value = undefined;
11540
+ this.optionSelected = undefined;
11541
+
11542
+ this.checkmark = false;
11543
+ this.disabled = false;
11544
+ this.noValidate = false;
11545
+ this.required = false;
11546
+ this.triggerIcon = false;
11547
+
11516
11548
  this.availableOptions = [];
11517
11549
  this.optionActive = null;
11518
11550
  this.msgSelectionMissing = 'Please select an option.';
11519
11551
 
11520
11552
  this.fullscreenBreakpoint = 'sm';
11553
+ this.largeFullscreenHeadline = false;
11521
11554
 
11522
11555
  this.validation = new AuroFormValidation$1();
11523
11556
 
@@ -11608,7 +11641,8 @@ class AuroCombobox extends LitElement {
11608
11641
  * If set, disables auto-validation on blur.
11609
11642
  */
11610
11643
  noValidate: {
11611
- type: Boolean
11644
+ type: Boolean,
11645
+ reflect: true
11612
11646
  },
11613
11647
 
11614
11648
  /**
@@ -11722,8 +11756,11 @@ class AuroCombobox extends LitElement {
11722
11756
  },
11723
11757
 
11724
11758
  /**
11725
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
11726
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
11759
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
11760
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
11761
+ *
11762
+ * When expanded, the dropdown will automatically display in fullscreen mode
11763
+ * if the screen size is equal to or smaller than the selected breakpoint.
11727
11764
  * @default sm
11728
11765
  */
11729
11766
  fullscreenBreakpoint: {
@@ -11735,8 +11772,7 @@ class AuroCombobox extends LitElement {
11735
11772
  * @private
11736
11773
  */
11737
11774
  isDropdownFullscreen: {
11738
- type: Boolean,
11739
- reflect: false
11775
+ type: Boolean
11740
11776
  }
11741
11777
  };
11742
11778
  }
@@ -3003,6 +3003,7 @@ var tokensCss$1$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
3003
3003
 
3004
3004
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
3005
3005
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
3006
+ 'xl',
3006
3007
  'lg',
3007
3008
  'md',
3008
3009
  'sm',
@@ -3074,6 +3075,7 @@ class AuroDropdownBib extends LitElement {
3074
3075
 
3075
3076
  set mobileFullscreenBreakpoint(value) {
3076
3077
  // verify the defined breakpoint is valid and exit out if not
3078
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
3077
3079
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
3078
3080
  if (!validatedValue) {
3079
3081
  this._mobileBreakpointValue = undefined;
@@ -3586,7 +3588,12 @@ class AuroDropdown extends LitElement {
3586
3588
  },
3587
3589
 
3588
3590
  /**
3589
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
3591
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
3592
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
3593
+ *
3594
+ * When expanded, the dropdown will automatically display in fullscreen mode
3595
+ * if the screen size is equal to or smaller than the selected breakpoint.
3596
+ * @default sm
3590
3597
  */
3591
3598
  fullscreenBreakpoint: {
3592
3599
  type: String,
@@ -3709,6 +3716,15 @@ class AuroDropdown extends LitElement {
3709
3716
  AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
3710
3717
  }
3711
3718
 
3719
+ /**
3720
+ * Accessor for reusing the focusable entity query string.
3721
+ * @private
3722
+ * @returns {string}
3723
+ */
3724
+ get focusableEntityQuery () {
3725
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
3726
+ }
3727
+
3712
3728
  connectedCallback() {
3713
3729
  super.connectedCallback();
3714
3730
  }
@@ -3722,6 +3738,8 @@ class AuroDropdown extends LitElement {
3722
3738
  updated(changedProperties) {
3723
3739
  this.floater.handleUpdate(changedProperties);
3724
3740
 
3741
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
3742
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
3725
3743
  if (changedProperties.has('fullscreenBreakpoint')) {
3726
3744
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3727
3745
  }
@@ -3857,7 +3875,7 @@ class AuroDropdown extends LitElement {
3857
3875
 
3858
3876
  this.triggerContentSlot.forEach((node) => {
3859
3877
  if (node.querySelectorAll) {
3860
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3878
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3861
3879
  auroElements.forEach((auroEl) => {
3862
3880
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
3863
3881
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -3878,7 +3896,7 @@ class AuroDropdown extends LitElement {
3878
3896
 
3879
3897
  this.triggerContentSlot.forEach((node) => {
3880
3898
  if (node.querySelectorAll) {
3881
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
3899
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
3882
3900
  auroElements.forEach((auroEl) => {
3883
3901
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
3884
3902
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -8540,7 +8558,8 @@ class BaseInput extends LitElement {
8540
8558
  * If set, disables the input.
8541
8559
  */
8542
8560
  disabled: {
8543
- type: Boolean
8561
+ type: Boolean,
8562
+ reflect: true
8544
8563
  },
8545
8564
 
8546
8565
  /**
@@ -8570,7 +8589,8 @@ class BaseInput extends LitElement {
8570
8589
  * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
8571
8590
  */
8572
8591
  icon: {
8573
- type: Boolean
8592
+ type: Boolean,
8593
+ reflect: true
8574
8594
  },
8575
8595
 
8576
8596
  /**
@@ -8626,7 +8646,8 @@ class BaseInput extends LitElement {
8626
8646
  * If set, disables auto-validation on blur.
8627
8647
  */
8628
8648
  noValidate: {
8629
- type: Boolean
8649
+ type: Boolean,
8650
+ reflect: true
8630
8651
  },
8631
8652
 
8632
8653
  /**
@@ -8656,14 +8677,16 @@ class BaseInput extends LitElement {
8656
8677
  * Makes the input read-only, but can be set programmatically.
8657
8678
  */
8658
8679
  readonly: {
8659
- type: Boolean
8680
+ type: Boolean,
8681
+ reflect: true
8660
8682
  },
8661
8683
 
8662
8684
  /**
8663
8685
  * Populates the `required` attribute on the input. Used for client-side validation.
8664
8686
  */
8665
8687
  required: {
8666
- type: Boolean
8688
+ type: Boolean,
8689
+ reflect: true
8667
8690
  },
8668
8691
 
8669
8692
  /**
@@ -11251,6 +11274,8 @@ class AuroBibtemplate extends LitElement {
11251
11274
  constructor() {
11252
11275
  super();
11253
11276
 
11277
+ this.large = false;
11278
+
11254
11279
  AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
11255
11280
 
11256
11281
  const versioning = new AuroDependencyVersioning();
@@ -11499,11 +11524,6 @@ class AuroCombobox extends LitElement {
11499
11524
  constructor() {
11500
11525
  super();
11501
11526
 
11502
- this.noFilter = false;
11503
- this.validity = undefined;
11504
- this.value = undefined;
11505
- this.optionSelected = undefined;
11506
-
11507
11527
  this.privateDefaults();
11508
11528
  }
11509
11529
 
@@ -11513,11 +11533,24 @@ class AuroCombobox extends LitElement {
11513
11533
  */
11514
11534
  privateDefaults() {
11515
11535
  this.onDark = false;
11536
+
11537
+ this.noFilter = false;
11538
+ this.validity = undefined;
11539
+ this.value = undefined;
11540
+ this.optionSelected = undefined;
11541
+
11542
+ this.checkmark = false;
11543
+ this.disabled = false;
11544
+ this.noValidate = false;
11545
+ this.required = false;
11546
+ this.triggerIcon = false;
11547
+
11516
11548
  this.availableOptions = [];
11517
11549
  this.optionActive = null;
11518
11550
  this.msgSelectionMissing = 'Please select an option.';
11519
11551
 
11520
11552
  this.fullscreenBreakpoint = 'sm';
11553
+ this.largeFullscreenHeadline = false;
11521
11554
 
11522
11555
  this.validation = new AuroFormValidation$1();
11523
11556
 
@@ -11608,7 +11641,8 @@ class AuroCombobox extends LitElement {
11608
11641
  * If set, disables auto-validation on blur.
11609
11642
  */
11610
11643
  noValidate: {
11611
- type: Boolean
11644
+ type: Boolean,
11645
+ reflect: true
11612
11646
  },
11613
11647
 
11614
11648
  /**
@@ -11722,8 +11756,11 @@ class AuroCombobox extends LitElement {
11722
11756
  },
11723
11757
 
11724
11758
  /**
11725
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
11726
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
11759
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
11760
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
11761
+ *
11762
+ * When expanded, the dropdown will automatically display in fullscreen mode
11763
+ * if the screen size is equal to or smaller than the selected breakpoint.
11727
11764
  * @default sm
11728
11765
  */
11729
11766
  fullscreenBreakpoint: {
@@ -11735,8 +11772,7 @@ class AuroCombobox extends LitElement {
11735
11772
  * @private
11736
11773
  */
11737
11774
  isDropdownFullscreen: {
11738
- type: Boolean,
11739
- reflect: false
11775
+ type: Boolean
11740
11776
  }
11741
11777
  };
11742
11778
  }
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
110
110
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
111
111
 
112
112
  ```html
113
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.1/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.1/auro-counter/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -42,9 +42,9 @@
42
42
  | Property | Attribute | Type | Default | Description |
43
43
  |---------------------------|---------------------------|-----------|----------------|--------------------------------------------------|
44
44
  | [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
45
- | [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.<br />When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint. |
45
+ | [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)<br />at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
46
46
  | [isDropdown](#isDropdown) | `isDropdown` | `boolean` | false | Indicates if the counter group is displayed as a dropdown. |
47
- | [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
47
+ | [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | false | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
48
48
  | [max](#max) | `max` | `number` | "undefined" | The maximum value allowed for the whole group of counters. |
49
49
  | [min](#min) | `min` | `number` | "undefined" | The minimum value allowed for the whole group of counters. |
50
50
  | [noFlip](#noFlip) | `noFlip` | `boolean` | "false" | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
@@ -4217,6 +4217,7 @@ var tokensCss$1 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
4217
4217
 
4218
4218
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
4219
4219
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4220
+ 'xl',
4220
4221
  'lg',
4221
4222
  'md',
4222
4223
  'sm',
@@ -4288,6 +4289,7 @@ class AuroDropdownBib extends r {
4288
4289
 
4289
4290
  set mobileFullscreenBreakpoint(value) {
4290
4291
  // verify the defined breakpoint is valid and exit out if not
4292
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
4291
4293
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
4292
4294
  if (!validatedValue) {
4293
4295
  this._mobileBreakpointValue = undefined;
@@ -4800,7 +4802,12 @@ class AuroDropdown extends r {
4800
4802
  },
4801
4803
 
4802
4804
  /**
4803
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
4805
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4806
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4807
+ *
4808
+ * When expanded, the dropdown will automatically display in fullscreen mode
4809
+ * if the screen size is equal to or smaller than the selected breakpoint.
4810
+ * @default sm
4804
4811
  */
4805
4812
  fullscreenBreakpoint: {
4806
4813
  type: String,
@@ -4923,6 +4930,15 @@ class AuroDropdown extends r {
4923
4930
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
4924
4931
  }
4925
4932
 
4933
+ /**
4934
+ * Accessor for reusing the focusable entity query string.
4935
+ * @private
4936
+ * @returns {string}
4937
+ */
4938
+ get focusableEntityQuery () {
4939
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4940
+ }
4941
+
4926
4942
  connectedCallback() {
4927
4943
  super.connectedCallback();
4928
4944
  }
@@ -4936,6 +4952,8 @@ class AuroDropdown extends r {
4936
4952
  updated(changedProperties) {
4937
4953
  this.floater.handleUpdate(changedProperties);
4938
4954
 
4955
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4956
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4939
4957
  if (changedProperties.has('fullscreenBreakpoint')) {
4940
4958
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4941
4959
  }
@@ -5071,7 +5089,7 @@ class AuroDropdown extends r {
5071
5089
 
5072
5090
  this.triggerContentSlot.forEach((node) => {
5073
5091
  if (node.querySelectorAll) {
5074
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5092
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5075
5093
  auroElements.forEach((auroEl) => {
5076
5094
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
5077
5095
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -5092,7 +5110,7 @@ class AuroDropdown extends r {
5092
5110
 
5093
5111
  this.triggerContentSlot.forEach((node) => {
5094
5112
  if (node.querySelectorAll) {
5095
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5113
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5096
5114
  auroElements.forEach((auroEl) => {
5097
5115
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
5098
5116
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -5929,6 +5947,8 @@ class AuroBibtemplate extends r {
5929
5947
  constructor() {
5930
5948
  super();
5931
5949
 
5950
+ this.large = false;
5951
+
5932
5952
  AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
5933
5953
 
5934
5954
  const versioning = new AuroDependencyVersioning();
@@ -6112,14 +6132,18 @@ class AuroCounterGroup extends r {
6112
6132
  constructor() {
6113
6133
  super();
6114
6134
 
6115
- this.isDropdown = false;
6116
6135
  this.max = undefined;
6117
6136
  this.min = undefined;
6118
6137
  this.onDark = false;
6119
6138
  this.total = undefined;
6120
6139
  this.validity = undefined;
6121
6140
  this.value = undefined;
6141
+
6142
+ this.isDropdown = false;
6122
6143
  this.fullscreenBreakpoint = 'sm';
6144
+ this.largeFullscreenHeadline = false;
6145
+ this.autoPlacement = false;
6146
+ this.noFlip = false;
6123
6147
 
6124
6148
  /**
6125
6149
  * @private
@@ -6179,8 +6203,11 @@ class AuroCounterGroup extends r {
6179
6203
  },
6180
6204
 
6181
6205
  /**
6182
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
6183
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
6206
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6207
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6208
+ *
6209
+ * When expanded, the dropdown will automatically display in fullscreen mode
6210
+ * if the screen size is equal to or smaller than the selected breakpoint.
6184
6211
  * @default sm
6185
6212
  */
6186
6213
  fullscreenBreakpoint: {
@@ -4217,6 +4217,7 @@ var tokensCss$1 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
4217
4217
 
4218
4218
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
4219
4219
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4220
+ 'xl',
4220
4221
  'lg',
4221
4222
  'md',
4222
4223
  'sm',
@@ -4288,6 +4289,7 @@ class AuroDropdownBib extends r {
4288
4289
 
4289
4290
  set mobileFullscreenBreakpoint(value) {
4290
4291
  // verify the defined breakpoint is valid and exit out if not
4292
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
4291
4293
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
4292
4294
  if (!validatedValue) {
4293
4295
  this._mobileBreakpointValue = undefined;
@@ -4800,7 +4802,12 @@ class AuroDropdown extends r {
4800
4802
  },
4801
4803
 
4802
4804
  /**
4803
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
4805
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4806
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4807
+ *
4808
+ * When expanded, the dropdown will automatically display in fullscreen mode
4809
+ * if the screen size is equal to or smaller than the selected breakpoint.
4810
+ * @default sm
4804
4811
  */
4805
4812
  fullscreenBreakpoint: {
4806
4813
  type: String,
@@ -4923,6 +4930,15 @@ class AuroDropdown extends r {
4923
4930
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
4924
4931
  }
4925
4932
 
4933
+ /**
4934
+ * Accessor for reusing the focusable entity query string.
4935
+ * @private
4936
+ * @returns {string}
4937
+ */
4938
+ get focusableEntityQuery () {
4939
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4940
+ }
4941
+
4926
4942
  connectedCallback() {
4927
4943
  super.connectedCallback();
4928
4944
  }
@@ -4936,6 +4952,8 @@ class AuroDropdown extends r {
4936
4952
  updated(changedProperties) {
4937
4953
  this.floater.handleUpdate(changedProperties);
4938
4954
 
4955
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4956
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4939
4957
  if (changedProperties.has('fullscreenBreakpoint')) {
4940
4958
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4941
4959
  }
@@ -5071,7 +5089,7 @@ class AuroDropdown extends r {
5071
5089
 
5072
5090
  this.triggerContentSlot.forEach((node) => {
5073
5091
  if (node.querySelectorAll) {
5074
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5092
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5075
5093
  auroElements.forEach((auroEl) => {
5076
5094
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
5077
5095
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -5092,7 +5110,7 @@ class AuroDropdown extends r {
5092
5110
 
5093
5111
  this.triggerContentSlot.forEach((node) => {
5094
5112
  if (node.querySelectorAll) {
5095
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5113
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5096
5114
  auroElements.forEach((auroEl) => {
5097
5115
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
5098
5116
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -5929,6 +5947,8 @@ class AuroBibtemplate extends r {
5929
5947
  constructor() {
5930
5948
  super();
5931
5949
 
5950
+ this.large = false;
5951
+
5932
5952
  AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
5933
5953
 
5934
5954
  const versioning = new AuroDependencyVersioning();
@@ -6112,14 +6132,18 @@ class AuroCounterGroup extends r {
6112
6132
  constructor() {
6113
6133
  super();
6114
6134
 
6115
- this.isDropdown = false;
6116
6135
  this.max = undefined;
6117
6136
  this.min = undefined;
6118
6137
  this.onDark = false;
6119
6138
  this.total = undefined;
6120
6139
  this.validity = undefined;
6121
6140
  this.value = undefined;
6141
+
6142
+ this.isDropdown = false;
6122
6143
  this.fullscreenBreakpoint = 'sm';
6144
+ this.largeFullscreenHeadline = false;
6145
+ this.autoPlacement = false;
6146
+ this.noFlip = false;
6123
6147
 
6124
6148
  /**
6125
6149
  * @private
@@ -6179,8 +6203,11 @@ class AuroCounterGroup extends r {
6179
6203
  },
6180
6204
 
6181
6205
  /**
6182
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
6183
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
6206
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6207
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6208
+ *
6209
+ * When expanded, the dropdown will automatically display in fullscreen mode
6210
+ * if the screen size is equal to or smaller than the selected breakpoint.
6184
6211
  * @default sm
6185
6212
  */
6186
6213
  fullscreenBreakpoint: {
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
110
110
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
111
111
 
112
112
  ```html
113
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.1/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.1/auro-counter/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116