@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
@@ -25,8 +25,11 @@ export class AuroCounterGroup extends LitElement {
25
25
  reflect: boolean;
26
26
  };
27
27
  /**
28
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
29
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
28
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
29
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
30
+ *
31
+ * When expanded, the dropdown will automatically display in fullscreen mode
32
+ * if the screen size is equal to or smaller than the selected breakpoint.
30
33
  * @default sm
31
34
  */
32
35
  fullscreenBreakpoint: {
@@ -125,14 +128,17 @@ export class AuroCounterGroup extends LitElement {
125
128
  * AuroCounterGroup.register("custom-counter-group") // registers <custom-counter-group/>
126
129
  */
127
130
  static register(name?: string): void;
128
- isDropdown: boolean;
129
131
  max: any;
130
132
  min: any;
131
133
  onDark: boolean;
132
134
  total: number;
133
135
  validity: any;
134
136
  value: {};
137
+ isDropdown: boolean;
135
138
  fullscreenBreakpoint: string;
139
+ largeFullscreenHeadline: boolean;
140
+ autoPlacement: boolean;
141
+ noFlip: boolean;
136
142
  /**
137
143
  * @private
138
144
  */
@@ -4170,6 +4170,7 @@ var tokensCss$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
4170
4170
 
4171
4171
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
4172
4172
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4173
+ 'xl',
4173
4174
  'lg',
4174
4175
  'md',
4175
4176
  'sm',
@@ -4241,6 +4242,7 @@ class AuroDropdownBib extends LitElement {
4241
4242
 
4242
4243
  set mobileFullscreenBreakpoint(value) {
4243
4244
  // verify the defined breakpoint is valid and exit out if not
4245
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
4244
4246
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
4245
4247
  if (!validatedValue) {
4246
4248
  this._mobileBreakpointValue = undefined;
@@ -4753,7 +4755,12 @@ class AuroDropdown extends LitElement {
4753
4755
  },
4754
4756
 
4755
4757
  /**
4756
- * 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.
4758
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4759
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4760
+ *
4761
+ * When expanded, the dropdown will automatically display in fullscreen mode
4762
+ * if the screen size is equal to or smaller than the selected breakpoint.
4763
+ * @default sm
4757
4764
  */
4758
4765
  fullscreenBreakpoint: {
4759
4766
  type: String,
@@ -4876,6 +4883,15 @@ class AuroDropdown extends LitElement {
4876
4883
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
4877
4884
  }
4878
4885
 
4886
+ /**
4887
+ * Accessor for reusing the focusable entity query string.
4888
+ * @private
4889
+ * @returns {string}
4890
+ */
4891
+ get focusableEntityQuery () {
4892
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4893
+ }
4894
+
4879
4895
  connectedCallback() {
4880
4896
  super.connectedCallback();
4881
4897
  }
@@ -4889,6 +4905,8 @@ class AuroDropdown extends LitElement {
4889
4905
  updated(changedProperties) {
4890
4906
  this.floater.handleUpdate(changedProperties);
4891
4907
 
4908
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4909
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4892
4910
  if (changedProperties.has('fullscreenBreakpoint')) {
4893
4911
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4894
4912
  }
@@ -5024,7 +5042,7 @@ class AuroDropdown extends LitElement {
5024
5042
 
5025
5043
  this.triggerContentSlot.forEach((node) => {
5026
5044
  if (node.querySelectorAll) {
5027
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5045
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5028
5046
  auroElements.forEach((auroEl) => {
5029
5047
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
5030
5048
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -5045,7 +5063,7 @@ class AuroDropdown extends LitElement {
5045
5063
 
5046
5064
  this.triggerContentSlot.forEach((node) => {
5047
5065
  if (node.querySelectorAll) {
5048
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5066
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5049
5067
  auroElements.forEach((auroEl) => {
5050
5068
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
5051
5069
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -5882,6 +5900,8 @@ class AuroBibtemplate extends LitElement {
5882
5900
  constructor() {
5883
5901
  super();
5884
5902
 
5903
+ this.large = false;
5904
+
5885
5905
  AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
5886
5906
 
5887
5907
  const versioning = new AuroDependencyVersioning();
@@ -6065,14 +6085,18 @@ class AuroCounterGroup extends LitElement {
6065
6085
  constructor() {
6066
6086
  super();
6067
6087
 
6068
- this.isDropdown = false;
6069
6088
  this.max = undefined;
6070
6089
  this.min = undefined;
6071
6090
  this.onDark = false;
6072
6091
  this.total = undefined;
6073
6092
  this.validity = undefined;
6074
6093
  this.value = undefined;
6094
+
6095
+ this.isDropdown = false;
6075
6096
  this.fullscreenBreakpoint = 'sm';
6097
+ this.largeFullscreenHeadline = false;
6098
+ this.autoPlacement = false;
6099
+ this.noFlip = false;
6076
6100
 
6077
6101
  /**
6078
6102
  * @private
@@ -6132,8 +6156,11 @@ class AuroCounterGroup extends LitElement {
6132
6156
  },
6133
6157
 
6134
6158
  /**
6135
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
6136
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
6159
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6160
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6161
+ *
6162
+ * When expanded, the dropdown will automatically display in fullscreen mode
6163
+ * if the screen size is equal to or smaller than the selected breakpoint.
6137
6164
  * @default sm
6138
6165
  */
6139
6166
  fullscreenBreakpoint: {
@@ -4170,6 +4170,7 @@ var tokensCss$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
4170
4170
 
4171
4171
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
4172
4172
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4173
+ 'xl',
4173
4174
  'lg',
4174
4175
  'md',
4175
4176
  'sm',
@@ -4241,6 +4242,7 @@ class AuroDropdownBib extends LitElement {
4241
4242
 
4242
4243
  set mobileFullscreenBreakpoint(value) {
4243
4244
  // verify the defined breakpoint is valid and exit out if not
4245
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
4244
4246
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
4245
4247
  if (!validatedValue) {
4246
4248
  this._mobileBreakpointValue = undefined;
@@ -4753,7 +4755,12 @@ class AuroDropdown extends LitElement {
4753
4755
  },
4754
4756
 
4755
4757
  /**
4756
- * 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.
4758
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
4759
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
4760
+ *
4761
+ * When expanded, the dropdown will automatically display in fullscreen mode
4762
+ * if the screen size is equal to or smaller than the selected breakpoint.
4763
+ * @default sm
4757
4764
  */
4758
4765
  fullscreenBreakpoint: {
4759
4766
  type: String,
@@ -4876,6 +4883,15 @@ class AuroDropdown extends LitElement {
4876
4883
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
4877
4884
  }
4878
4885
 
4886
+ /**
4887
+ * Accessor for reusing the focusable entity query string.
4888
+ * @private
4889
+ * @returns {string}
4890
+ */
4891
+ get focusableEntityQuery () {
4892
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
4893
+ }
4894
+
4879
4895
  connectedCallback() {
4880
4896
  super.connectedCallback();
4881
4897
  }
@@ -4889,6 +4905,8 @@ class AuroDropdown extends LitElement {
4889
4905
  updated(changedProperties) {
4890
4906
  this.floater.handleUpdate(changedProperties);
4891
4907
 
4908
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
4909
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
4892
4910
  if (changedProperties.has('fullscreenBreakpoint')) {
4893
4911
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
4894
4912
  }
@@ -5024,7 +5042,7 @@ class AuroDropdown extends LitElement {
5024
5042
 
5025
5043
  this.triggerContentSlot.forEach((node) => {
5026
5044
  if (node.querySelectorAll) {
5027
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5045
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5028
5046
  auroElements.forEach((auroEl) => {
5029
5047
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
5030
5048
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -5045,7 +5063,7 @@ class AuroDropdown extends LitElement {
5045
5063
 
5046
5064
  this.triggerContentSlot.forEach((node) => {
5047
5065
  if (node.querySelectorAll) {
5048
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
5066
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
5049
5067
  auroElements.forEach((auroEl) => {
5050
5068
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
5051
5069
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -5882,6 +5900,8 @@ class AuroBibtemplate extends LitElement {
5882
5900
  constructor() {
5883
5901
  super();
5884
5902
 
5903
+ this.large = false;
5904
+
5885
5905
  AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
5886
5906
 
5887
5907
  const versioning = new AuroDependencyVersioning();
@@ -6065,14 +6085,18 @@ class AuroCounterGroup extends LitElement {
6065
6085
  constructor() {
6066
6086
  super();
6067
6087
 
6068
- this.isDropdown = false;
6069
6088
  this.max = undefined;
6070
6089
  this.min = undefined;
6071
6090
  this.onDark = false;
6072
6091
  this.total = undefined;
6073
6092
  this.validity = undefined;
6074
6093
  this.value = undefined;
6094
+
6095
+ this.isDropdown = false;
6075
6096
  this.fullscreenBreakpoint = 'sm';
6097
+ this.largeFullscreenHeadline = false;
6098
+ this.autoPlacement = false;
6099
+ this.noFlip = false;
6076
6100
 
6077
6101
  /**
6078
6102
  * @private
@@ -6132,8 +6156,11 @@ class AuroCounterGroup extends LitElement {
6132
6156
  },
6133
6157
 
6134
6158
  /**
6135
- * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
6136
- * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
6159
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
6160
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
6161
+ *
6162
+ * When expanded, the dropdown will automatically display in fullscreen mode
6163
+ * if the screen size is equal to or smaller than the selected breakpoint.
6137
6164
  * @default sm
6138
6165
  */
6139
6166
  fullscreenBreakpoint: {
@@ -104,7 +104,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
104
104
  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.
105
105
 
106
106
  ```html
107
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.1/auro-datepicker/+esm"></script>
107
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.0.1/auro-datepicker/+esm"></script>
108
108
  ```
109
109
  <!-- AURO-GENERATED-CONTENT:END -->
110
110
 
@@ -15,7 +15,8 @@
15
15
  | [disabled](#disabled) | `disabled` | | `boolean` | false | If set, disables the datepicker. |
16
16
  | [error](#error) | `error` | | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
17
17
  | [format](#format) | `format` | | `string` | "mm/dd/yyyy" | Specifies the date format. The default is `mm/dd/yyyy`. |
18
- | [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
18
+ | [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. |
19
+ | [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | | `boolean` | false | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
19
20
  | [maxDate](#maxDate) | `maxDate` | | `string` | | Maximum date. All dates after will be disabled. |
20
21
  | [minDate](#minDate) | `minDate` | | `string` | | Minimum date. All dates before will be disabled. |
21
22
  | [monthNames](#monthNames) | `monthNames` | | `array` | ["January","February","March","April","May","June","July","August","September","October","November","December"] | Names of all 12 months to render in the calendar, used for localization of date string in mobile layout. |
@@ -31,7 +32,7 @@
31
32
  | [setCustomValidityRangeOverflow](#setCustomValidityRangeOverflow) | `setCustomValidityRangeOverflow` | | `string` | | Custom help text message to display when validity = `rangeOverflow`. |
32
33
  | [setCustomValidityRangeUnderflow](#setCustomValidityRangeUnderflow) | `setCustomValidityRangeUnderflow` | | `string` | | Custom help text message to display when validity = `rangeUnderflow`. |
33
34
  | [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | | `string` | | Custom help text message to display when validity = `valueMissing`. |
34
- | [stacked](#stacked) | `stacked` | | `boolean` | | Set true to make datepicker stacked style. |
35
+ | [stacked](#stacked) | `stacked` | | `boolean` | false | Set true to make datepicker stacked style. |
35
36
  | [validity](#validity) | `validity` | | `string` | "undefined" | Specifies the `validityState` this element is in. |
36
37
  | [value](#value) | `value` | | `string` | "undefined" | Value selected for the datepicker. |
37
38
  | [valueEnd](#valueEnd) | `valueEnd` | | `string` | "undefined" | Value selected for the second datepicker when using date range. |
@@ -9723,7 +9723,10 @@ class AuroCalendarCell extends r$2 {
9723
9723
  month: { type: String },
9724
9724
  min: { type: Number },
9725
9725
  max: { type: Number },
9726
- disabled: { type: Boolean },
9726
+ disabled: {
9727
+ type: Boolean,
9728
+ reflect: true
9729
+ },
9727
9730
  disabledDays: { type: Array },
9728
9731
  hoveredDate: { type: String },
9729
9732
  isCurrentDate: { type: Boolean },
@@ -10064,7 +10067,8 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
10064
10067
  * @private
10065
10068
  */
10066
10069
  monthFirst: {
10067
- type: Boolean
10070
+ type: Boolean,
10071
+ reflect: true
10068
10072
  }
10069
10073
  };
10070
10074
  }
@@ -11262,6 +11266,8 @@ class AuroBibtemplate extends r$2 {
11262
11266
  constructor() {
11263
11267
  super();
11264
11268
 
11269
+ this.large = false;
11270
+
11265
11271
  AuroLibraryRuntimeUtils$1$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
11266
11272
 
11267
11273
  const versioning = new AuroDependencyVersioning$2();
@@ -11861,6 +11867,10 @@ class AuroCalendar extends RangeDatepicker {
11861
11867
  this.showPrevMonthBtn = true;
11862
11868
  this.showNextMonthBtn = true;
11863
11869
 
11870
+ this.visible = false;
11871
+ this.largeFullscreenHeadline = false;
11872
+ this.isFullscreen = false;
11873
+
11864
11874
  /**
11865
11875
  * @private
11866
11876
  */
@@ -11876,8 +11886,6 @@ class AuroCalendar extends RangeDatepicker {
11876
11886
  */
11877
11887
  this.numCalendars = undefined;
11878
11888
 
11879
- this.visible = false;
11880
-
11881
11889
  /**
11882
11890
  * @private
11883
11891
  */
@@ -14746,6 +14754,7 @@ var tokensCss$1$1 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
14746
14754
 
14747
14755
  const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
14748
14756
  const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
14757
+ 'xl',
14749
14758
  'lg',
14750
14759
  'md',
14751
14760
  'sm',
@@ -14817,6 +14826,7 @@ class AuroDropdownBib extends r$2 {
14817
14826
 
14818
14827
  set mobileFullscreenBreakpoint(value) {
14819
14828
  // verify the defined breakpoint is valid and exit out if not
14829
+ // 'disabled' is a design token breakpoint so it acts as our "undefined" value
14820
14830
  const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
14821
14831
  if (!validatedValue) {
14822
14832
  this._mobileBreakpointValue = undefined;
@@ -15329,7 +15339,12 @@ class AuroDropdown extends r$2 {
15329
15339
  },
15330
15340
 
15331
15341
  /**
15332
- * 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.
15342
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
15343
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
15344
+ *
15345
+ * When expanded, the dropdown will automatically display in fullscreen mode
15346
+ * if the screen size is equal to or smaller than the selected breakpoint.
15347
+ * @default sm
15333
15348
  */
15334
15349
  fullscreenBreakpoint: {
15335
15350
  type: String,
@@ -15452,6 +15467,15 @@ class AuroDropdown extends r$2 {
15452
15467
  AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
15453
15468
  }
15454
15469
 
15470
+ /**
15471
+ * Accessor for reusing the focusable entity query string.
15472
+ * @private
15473
+ * @returns {string}
15474
+ */
15475
+ get focusableEntityQuery () {
15476
+ return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
15477
+ }
15478
+
15455
15479
  connectedCallback() {
15456
15480
  super.connectedCallback();
15457
15481
  }
@@ -15465,6 +15489,8 @@ class AuroDropdown extends r$2 {
15465
15489
  updated(changedProperties) {
15466
15490
  this.floater.handleUpdate(changedProperties);
15467
15491
 
15492
+ // Note: `disabled` is not a breakpoint (it is not a screen size),
15493
+ // so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
15468
15494
  if (changedProperties.has('fullscreenBreakpoint')) {
15469
15495
  this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
15470
15496
  }
@@ -15600,7 +15626,7 @@ class AuroDropdown extends r$2 {
15600
15626
 
15601
15627
  this.triggerContentSlot.forEach((node) => {
15602
15628
  if (node.querySelectorAll) {
15603
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
15629
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
15604
15630
  auroElements.forEach((auroEl) => {
15605
15631
  auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
15606
15632
  auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
@@ -15621,7 +15647,7 @@ class AuroDropdown extends r$2 {
15621
15647
 
15622
15648
  this.triggerContentSlot.forEach((node) => {
15623
15649
  if (node.querySelectorAll) {
15624
- const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
15650
+ const auroElements = node.querySelectorAll(this.focusableEntityQuery);
15625
15651
  auroElements.forEach((auroEl) => {
15626
15652
  auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
15627
15653
  auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
@@ -20296,7 +20322,8 @@ class BaseInput extends r$2 {
20296
20322
  * If set, disables the input.
20297
20323
  */
20298
20324
  disabled: {
20299
- type: Boolean
20325
+ type: Boolean,
20326
+ reflect: true
20300
20327
  },
20301
20328
 
20302
20329
  /**
@@ -20326,7 +20353,8 @@ class BaseInput extends r$2 {
20326
20353
  * 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.
20327
20354
  */
20328
20355
  icon: {
20329
- type: Boolean
20356
+ type: Boolean,
20357
+ reflect: true
20330
20358
  },
20331
20359
 
20332
20360
  /**
@@ -20382,7 +20410,8 @@ class BaseInput extends r$2 {
20382
20410
  * If set, disables auto-validation on blur.
20383
20411
  */
20384
20412
  noValidate: {
20385
- type: Boolean
20413
+ type: Boolean,
20414
+ reflect: true
20386
20415
  },
20387
20416
 
20388
20417
  /**
@@ -20412,14 +20441,16 @@ class BaseInput extends r$2 {
20412
20441
  * Makes the input read-only, but can be set programmatically.
20413
20442
  */
20414
20443
  readonly: {
20415
- type: Boolean
20444
+ type: Boolean,
20445
+ reflect: true
20416
20446
  },
20417
20447
 
20418
20448
  /**
20419
20449
  * Populates the `required` attribute on the input. Used for client-side validation.
20420
20450
  */
20421
20451
  required: {
20422
- type: Boolean
20452
+ type: Boolean,
20453
+ reflect: true
20423
20454
  },
20424
20455
 
20425
20456
  /**
@@ -22399,6 +22430,7 @@ class AuroDatePicker extends r$2 {
22399
22430
  this.required = false;
22400
22431
  this.onDark = false;
22401
22432
  this.range = false;
22433
+ this.stacked = false;
22402
22434
  this.noValidate = false;
22403
22435
  this.validity = undefined;
22404
22436
  this.value = undefined;
@@ -22407,6 +22439,7 @@ class AuroDatePicker extends r$2 {
22407
22439
  this.calendarEndDate = undefined;
22408
22440
  this.calendarFocusDate = this.value;
22409
22441
  this.format = 'mm/dd/yyyy';
22442
+ this.fullscreenBreakpoint = 'sm';
22410
22443
  this.monthNames = [
22411
22444
  'January',
22412
22445
  'February',
@@ -22430,6 +22463,8 @@ class AuroDatePicker extends r$2 {
22430
22463
  this.noFlip = false;
22431
22464
  this.autoPlacement = false;
22432
22465
 
22466
+ this.largeFullscreenHeadline = false;
22467
+
22433
22468
  /**
22434
22469
  * @private
22435
22470
  */
@@ -22542,6 +22577,19 @@ class AuroDatePicker extends r$2 {
22542
22577
  reflect: true
22543
22578
  },
22544
22579
 
22580
+ /**
22581
+ * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
22582
+ * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
22583
+ *
22584
+ * When expanded, the dropdown will automatically display in fullscreen mode
22585
+ * if the screen size is equal to or smaller than the selected breakpoint.
22586
+ * @default sm
22587
+ */
22588
+ fullscreenBreakpoint: {
22589
+ type: String,
22590
+ reflect: true
22591
+ },
22592
+
22545
22593
  /**
22546
22594
  * If declared, make bib.fullscreen.headline in HeadingDisplay.
22547
22595
  * Otherwise, Heading 600.
@@ -22595,7 +22643,8 @@ class AuroDatePicker extends r$2 {
22595
22643
  * If set, disables auto-validation on blur.
22596
22644
  */
22597
22645
  noValidate: {
22598
- type: Boolean
22646
+ type: Boolean,
22647
+ reflect: true
22599
22648
  },
22600
22649
 
22601
22650
  /**
@@ -23367,7 +23416,7 @@ class AuroDatePicker extends r$2 {
23367
23416
  ?disabled="${this.disabled}"
23368
23417
  ?error="${this.validity !== undefined && this.validity !== 'valid'}"
23369
23418
  disableEventShow
23370
- fullscreenBreakpoint="sm"
23419
+ .fullscreenBreakpoint="${this.fullscreenBreakpoint}"
23371
23420
  .placement="${this.placement}"
23372
23421
  .offset="${this.offset}"
23373
23422
  ?autoPlacement="${this.autoPlacement}"