@aurodesignsystem-dev/auro-formkit 0.0.0-pr726.0 → 0.0.0-pr730.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 (36) hide show
  1. package/components/combobox/demo/api.md +1 -1
  2. package/components/combobox/demo/api.min.js +101 -121
  3. package/components/combobox/demo/index.min.js +101 -121
  4. package/components/combobox/dist/auro-combobox.d.ts +25 -4
  5. package/components/combobox/dist/index.js +100 -120
  6. package/components/combobox/dist/registered.js +100 -120
  7. package/components/counter/demo/api.min.js +1 -1
  8. package/components/counter/demo/index.min.js +1 -1
  9. package/components/counter/dist/auro-counter-group.d.ts +1 -1
  10. package/components/counter/dist/index.js +1 -1
  11. package/components/counter/dist/registered.js +1 -1
  12. package/components/datepicker/demo/api.min.js +14 -31
  13. package/components/datepicker/demo/index.min.js +14 -31
  14. package/components/datepicker/dist/index.js +14 -31
  15. package/components/datepicker/dist/registered.js +14 -31
  16. package/components/input/README.md +5 -2
  17. package/components/input/demo/api.md +183 -124
  18. package/components/input/demo/api.min.js +13 -30
  19. package/components/input/demo/index.md +48 -32
  20. package/components/input/demo/index.min.js +13 -30
  21. package/components/input/demo/readme.md +5 -2
  22. package/components/input/dist/auro-input.d.ts +0 -174
  23. package/components/input/dist/base-input.d.ts +1 -1
  24. package/components/input/dist/index.js +13 -30
  25. package/components/input/dist/registered.js +13 -30
  26. package/components/menu/demo/api.min.js +1 -1
  27. package/components/menu/demo/index.min.js +1 -1
  28. package/components/menu/dist/index.js +1 -1
  29. package/components/menu/dist/registered.js +1 -1
  30. package/components/select/demo/api.md +1 -1
  31. package/components/select/demo/api.min.js +3 -3
  32. package/components/select/demo/index.md +4 -4
  33. package/components/select/demo/index.min.js +3 -3
  34. package/components/select/dist/index.js +2 -2
  35. package/components/select/dist/registered.js +2 -2
  36. package/package.json +1 -1
@@ -40,7 +40,7 @@
40
40
  | Method | Type | Description |
41
41
  |------------|----------------------------------------|--------------------------------------------------|
42
42
  | [focus](#focus) | `(): void` | Focuses the combobox trigger input. |
43
- | [isValid](#isValid) | `(): boolean` | |
43
+ | [isValid](#isValid) | `(): boolean` | Checks if the element is valid. |
44
44
  | [reset](#reset) | `(): void` | Resets component to initial state. |
45
45
  | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
46
46
 
@@ -5232,7 +5232,7 @@ const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c
5232
5232
 
5233
5233
  var shapeSizeCss = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:58px;max-height:58px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
5234
5234
 
5235
- var styleCss$4$2 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block}.wrapper{cursor:text}.helpTextClasses{cursor:default}input{overflow:hidden;width:100%;padding:0;border:0;background:unset;outline:none;text-overflow:ellipsis}.displayValue{display:none}.displayValue.hasContent:is(.withValue):not(.hasFocus){display:flex;align-items:center}.accents:not(.util_displayHidden){display:flex;flex-direction:row;align-items:center;justify-content:center}`;
5235
+ var styleCss$4$2 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block}.wrapper{cursor:text}.helpTextClasses{cursor:default}input{overflow:clip !important;width:100%;padding:0;border:0;background:unset;outline:none;overflow-clip-margin:0 !important;text-overflow:ellipsis}.displayValue{display:none}.displayValue.hasContent:is(.withValue):not(.hasFocus){display:flex;align-items:center}.accents:not(.util_displayHidden){display:flex;flex-direction:row;align-items:center;justify-content:center}`;
5236
5236
 
5237
5237
  var styleDefaultCss = i$5`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
5238
5238
 
@@ -5240,7 +5240,7 @@ var colorBaseCss = i$5`.wrapper{border-color:var(--ds-auro-input-border-color);b
5240
5240
 
5241
5241
  var tokensCss$4 = i$5`:host(:not([ondark])){--ds-auro-input-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-input-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: transparent}:host([ondark]){--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: transparent}`;
5242
5242
 
5243
- var classicStyleCss = i$5`.layout-classic{display:flex;flex-direction:row;box-shadow:inset 0 0 0 1px var(--ds-auro-input-outline-color)}.layout-classic .mainContent{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center;cursor:text}.layout-classic .mainContent label{padding-top:4px;cursor:text;font-size:var(--ds-text-body-size-xs);line-height:20px;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent input{height:auto;padding-bottom:8px;font-size:var(--ds-basic-text-body-default-font-size, 16px);line-height:var(--ds-basic-text-body-default-line-height, 24px);transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) label{padding-top:0;font-size:var(--ds-text-body-size-default, 1rem);justify-self:flex-start;line-height:var(--ds-text-body-size-default)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) input{height:0;padding-bottom:0;line-height:0}.layout-classic .accents.left{padding-left:8px}.layout-classic .accents.right{padding-right:8px}.layout-classic .accents>*{margin-right:8px}.layout-classic.withValue{justify-content:flex-start}.layout-classic:focus-within{justify-content:flex-start}.layout-classic:focus-within .alertNotification{display:none}`;
5243
+ var classicStyleCss = i$5`.layout-classic{display:flex;flex-direction:row;box-shadow:inset 0 0 0 1px var(--ds-auro-input-outline-color)}.layout-classic .mainContent{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center;cursor:text}.layout-classic .mainContent label{cursor:text;font-size:var(--ds-text-body-size-xs);line-height:20px;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent input{height:auto;font-size:var(--ds-basic-text-body-default-font-size, 16px);line-height:var(--ds-basic-text-body-default-line-height, 24px);transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) label{padding-top:0;font-size:var(--ds-text-body-size-default, 1rem);justify-self:flex-start;line-height:var(--ds-text-body-size-default)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) input{height:0;padding-bottom:0;line-height:0}.layout-classic .accents.left{padding-left:8px}.layout-classic .accents.right{padding-right:8px}.layout-classic .accents [auro-icon],.layout-classic .accents auro-icon{margin-right:8px}.layout-classic.withValue{justify-content:flex-start}.layout-classic:focus-within{justify-content:flex-start}.layout-classic:focus-within .alertNotification{display:none}`;
5244
5244
 
5245
5245
  var classicColorCss = i$5`.layout-classic label{color:var(--ds-auro-input-label-text-color)}.layout-classic:focus-within{--ds-auro-input-outline-color: var(--ds-auro-input-border-color)}:host(:not([ondark])) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a);--ds-auro-input-outline-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-outline-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([layout*=classic]:not([ondark]):is([validity]:not([validity=valid]))){--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: var(--ds-basic-color-status-error, #e31f26)}:host([layout*=classic]:not([ondark]):is([validity]:not([validity=valid]))) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-input-outline-color: var(--ds-basic-color-status-error, #e31f26)}:host([layout*=classic][ondark]:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host([layout*=classic][ondark]:is([validity]:not([validity=valid]))) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6);--ds-auro-input-outline-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}`;
5246
5246
 
@@ -10169,7 +10169,7 @@ let AuroElement$2$1 = class AuroElement extends i$2 {
10169
10169
  * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
10170
10170
  * @attr id
10171
10171
  *
10172
- * @slot helptext - Sets the help text displayed below the input.
10172
+ * @slot helpText - Sets the help text displayed below the input.
10173
10173
  * @slot label - Sets the label text for the input.
10174
10174
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
10175
10175
  * @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
@@ -10640,7 +10640,7 @@ class BaseInput extends AuroElement$2$1 {
10640
10640
  }
10641
10641
 
10642
10642
  firstUpdated() {
10643
- // clicking anywhere in the main wrapper will focus the input. Clicking the helptext or label will not focus the input.
10643
+ // clicking anywhere in the main wrapper will focus the input. Clicking the helpText or label will not focus the input.
10644
10644
  this.wrapperElement = this.shadowRoot.querySelector('.wrapper');
10645
10645
  this.inputElement = this.renderRoot.querySelector('input');
10646
10646
  this.labelElement = this.shadowRoot.querySelector('label');
@@ -12957,20 +12957,6 @@ class AuroInput extends BaseInput {
12957
12957
  this.iconTag = versioning.generateTag('auro-formkit-input-icon', iconVersion$2, AuroIcon$2);
12958
12958
  }
12959
12959
 
12960
- static get properties() {
12961
- return {
12962
- ...super.properties,
12963
-
12964
- /**
12965
- * @type {boolean}
12966
- */
12967
- hideInputVisually: {
12968
- type: Boolean,
12969
- reflect: true,
12970
- }
12971
- };
12972
- }
12973
-
12974
12960
  static get styles() {
12975
12961
  return [
12976
12962
  i$5`${classicStyleCss}`,
@@ -13006,11 +12992,7 @@ class AuroInput extends BaseInput {
13006
12992
  */
13007
12993
  get commonInputClasses() {
13008
12994
  return {
13009
- 'util_displayHiddenVisually': this.hideInputVisually !== undefined
13010
- ? this.hideInputVisually
13011
- // eslint-disable-next-line no-warning-comments
13012
- // TODO: refactor this to use a less brittle/forced solution.
13013
- : this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
12995
+ 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
13014
12996
  };
13015
12997
  }
13016
12998
 
@@ -13021,11 +13003,7 @@ class AuroInput extends BaseInput {
13021
13003
  */
13022
13004
  get legacyInputClasses() {
13023
13005
  return {
13024
- ...this.commonInputClasses,
13025
- 'util_displayHiddenVisually':
13026
- this.hideInputVisually !== undefined
13027
- ? this.hideInputVisually
13028
- : !this.hasFocus && !this.value
13006
+ ...this.commonInputClasses
13029
13007
  };
13030
13008
  }
13031
13009
 
@@ -13098,7 +13076,12 @@ class AuroInput extends BaseInput {
13098
13076
  * @returns {void}
13099
13077
  */
13100
13078
  checkDisplayValueSlotChange() {
13101
- const nodes = this.shadowRoot.querySelector('slot[name="displayValue"]').assignedNodes();
13079
+ let nodes = this.shadowRoot.querySelector('slot[name="displayValue"]').assignedNodes();
13080
+
13081
+ // Handle when DisplayValue is multi-level slot content (e.g. combobox passing displayValue to input)
13082
+ if (nodes[0].tagName === 'SLOT') {
13083
+ nodes = nodes[0].assignedNodes();
13084
+ }
13102
13085
 
13103
13086
  let hasContent = false;
13104
13087
 
@@ -13305,7 +13288,7 @@ class AuroInput extends BaseInput {
13305
13288
  ? u$2`
13306
13289
  <${this.helpTextTag} ?onDark="${this.onDark}">
13307
13290
  <p id="${this.uniqueId}" part="helpText">
13308
- <slot name="helptext">${this.getHelpText()}</slot>
13291
+ <slot name="helpText">${this.getHelpText()}</slot>
13309
13292
  </p>
13310
13293
  </${this.helpTextTag}>
13311
13294
  `
@@ -15984,7 +15967,6 @@ class AuroCombobox extends AuroElement$1 {
15984
15967
 
15985
15968
  /**
15986
15969
  * Value selected for the dropdown menu.
15987
- * @type {string}
15988
15970
  */
15989
15971
  value: {
15990
15972
  type: String
@@ -16034,6 +16016,10 @@ class AuroCombobox extends AuroElement$1 {
16034
16016
  ];
16035
16017
  }
16036
16018
 
16019
+ /**
16020
+ * Checks if the element is valid.
16021
+ * @returns {boolean} - Returns true if the element is valid, false otherwise.
16022
+ */
16037
16023
  isValid() {
16038
16024
  let valid = true;
16039
16025
 
@@ -16057,87 +16043,95 @@ class AuroCombobox extends AuroElement$1 {
16057
16043
  }
16058
16044
 
16059
16045
  /**
16060
- * Processes hidden state of all menu options and determines if there are any available options not hidden.
16046
+ * Updates the filter for the available options based on the input value.
16061
16047
  * @private
16062
- * @returns {void}
16063
16048
  */
16064
- handleMenuOptions() {
16065
- // Reset menu matchword UI
16066
- this.menu.updateItemsState(new Map([
16067
- [
16068
- 'matchWord',
16069
- true
16070
- ]
16071
- ]));
16049
+ updateFilter() {
16072
16050
 
16073
- this.generateOptionsArray();
16074
- this.availableOptions = [];
16051
+ // Reset available options if noFilter is set to false after being true.
16052
+ if (this.noFilter) {
16053
+ this.availableOptions = [...this.options];
16054
+ return;
16055
+ }
16075
16056
 
16076
- if (this.menu.optionSelected) {
16077
- // Get first option since combobox is single-select
16078
- const selected = this.menu.optionSelected;
16057
+ this.noMatchOption = undefined;
16079
16058
 
16080
- if (!this.optionSelected || this.optionSelected !== selected) {
16081
- this.optionSelected = selected;
16082
- }
16059
+ this.options.forEach((option) => {
16060
+ let matchString = option.textContent.toLowerCase();
16083
16061
 
16084
- if (!this.value || this.value !== selected.value) {
16085
- this.value = selected.value;
16062
+ if (option.hasAttribute('nomatch')) {
16063
+ this.noMatchOption = option;
16064
+ }
16086
16065
 
16087
- this.menu.value = this.value;
16066
+ if (option.hasAttribute('persistent')) {
16067
+ this.availableOptions.push(option);
16088
16068
  }
16089
16069
 
16090
- if (this.input.value !== selected.textContent) {
16091
- this.input.value = selected.textContent;
16070
+ if (option.hasAttribute('suggest')) {
16071
+ matchString = `${matchString} ${option.getAttribute('suggest')}`.toLowerCase();
16092
16072
  }
16093
16073
 
16094
- if (this.menu.matchWord !== this.input.value) {
16095
- this.menu.matchWord = this.input.value;
16074
+ // only count options that match the typed input value AND are not currently selected AND are not static
16075
+ if (this.input.value && matchString.includes(this.input.value.toLowerCase()) && !option.hasAttribute('static')) {
16076
+ option.removeAttribute('hidden');
16077
+ this.availableOptions.push(option);
16078
+ } else if (!option.hasAttribute('persistent')) {
16079
+ // Hide all other non-persistent options
16080
+ option.setAttribute('hidden', '');
16096
16081
  }
16082
+ });
16097
16083
 
16098
- this.classList.add('combobox-filled');
16084
+ if (this.availableOptions.length === 0) {
16085
+ if (this.noMatchOption) {
16086
+ this.noMatchOption.removeAttribute('hidden');
16087
+ } else {
16088
+ this.hideBib();
16089
+ }
16090
+ } else if (this.noMatchOption) {
16091
+ this.noMatchOption.setAttribute('hidden', '');
16099
16092
  }
16093
+ }
16100
16094
 
16101
- if (this.noFilter) {
16102
- this.availableOptions = [...this.options];
16103
- } else {
16104
- this.noMatchOption = undefined;
16105
-
16106
- this.options.forEach((option) => {
16107
- let matchString = option.textContent.toLowerCase();
16095
+ /**
16096
+ * Syncs the values and states of this component, the input, and the menu, including this.optionSelected and this.menu.optionSelected.
16097
+ * @private
16098
+ * @returns {void}
16099
+ */
16100
+ async syncValuesAndStates() {
16108
16101
 
16109
- if (option.hasAttribute('nomatch')) {
16110
- this.noMatchOption = option;
16111
- }
16102
+ // Sync values
16103
+ this.menu.value = this.value;
16104
+ this.menu.matchWord = this.value;
16105
+ this.input.value = this.value;
16112
16106
 
16113
- if (option.hasAttribute('persistent')) {
16114
- this.availableOptions.push(option);
16115
- }
16107
+ // Wait a lifecycle for child components to update
16108
+ await Promise.all([this.menu.updateComplete]);
16109
+ }
16116
16110
 
16117
- if (option.hasAttribute('suggest')) {
16118
- matchString = `${matchString} ${option.getAttribute('suggest')}`.toLowerCase();
16119
- }
16111
+ /**
16112
+ * Resets the menu matchWord to true.
16113
+ * @private
16114
+ */
16115
+ resetMenuMatchword() {
16116
+ this.menu.updateItemsState(new Map([
16117
+ [
16118
+ 'matchWord',
16119
+ true
16120
+ ]
16121
+ ]));
16122
+ };
16120
16123
 
16121
- // only count options that match the typed input value AND are not currently selected AND are not static
16122
- if (this.input.value && matchString.includes(this.input.value.toLowerCase()) && !option.hasAttribute('static')) {
16123
- option.removeAttribute('hidden');
16124
- this.availableOptions.push(option);
16125
- } else if (!option.hasAttribute('persistent')) {
16126
- // Hide all other non-persistent options
16127
- option.setAttribute('hidden', '');
16128
- }
16129
- });
16124
+ /**
16125
+ * Processes hidden state of all menu options and determines if there are any available options not hidden.
16126
+ * @private
16127
+ * @returns {void}
16128
+ */
16129
+ handleMenuOptions() {
16130
16130
 
16131
- if (this.availableOptions.length === 0) {
16132
- if (this.noMatchOption) {
16133
- this.noMatchOption.removeAttribute('hidden');
16134
- } else {
16135
- this.hideBib();
16136
- }
16137
- } else if (this.noMatchOption) {
16138
- this.noMatchOption.setAttribute('hidden', '');
16139
- }
16140
- }
16131
+ this.resetMenuMatchword();
16132
+ this.generateOptionsArray();
16133
+ this.availableOptions = [];
16134
+ this.updateFilter();
16141
16135
  }
16142
16136
 
16143
16137
  /**
@@ -16204,7 +16198,11 @@ class AuroCombobox extends AuroElement$1 {
16204
16198
  this.dropdownOpen = ev.detail.expanded;
16205
16199
 
16206
16200
  // wait a frame in case the bib gets hide immediately after showing because there is no value
16207
- setTimeout(this.setInputFocus, 0);
16201
+ setTimeout(() => {
16202
+ if (document.activeElement === this) {
16203
+ this.setInputFocus();
16204
+ }
16205
+ }, 0);
16208
16206
  });
16209
16207
 
16210
16208
  this.dropdown.addEventListener('auroDropdown-triggerClick', () => {
@@ -16295,8 +16293,6 @@ class AuroCombobox extends AuroElement$1 {
16295
16293
  this.menu.matchWord = this.input.value;
16296
16294
  }
16297
16295
 
16298
- this.classList.add('combobox-filled');
16299
-
16300
16296
  // update the hidden state of options based on newly selected value
16301
16297
  this.handleMenuOptions();
16302
16298
 
@@ -16437,9 +16433,6 @@ class AuroCombobox extends AuroElement$1 {
16437
16433
  // Hide menu if value is empty, otherwise show if there are available suggestions
16438
16434
  if (this.input.value && this.input.value.length === 0) {
16439
16435
  this.hideBib();
16440
- this.classList.remove('combobox-filled');
16441
- } else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
16442
- this.classList.add('combobox-filled');
16443
16436
  }
16444
16437
 
16445
16438
  // Force dropdown bib to hide if input value has no matching suggestions
@@ -16497,7 +16490,6 @@ class AuroCombobox extends AuroElement$1 {
16497
16490
  * @private
16498
16491
  * @returns {void}
16499
16492
  */
16500
-
16501
16493
  performUpdate() {
16502
16494
  super.performUpdate();
16503
16495
 
@@ -16556,30 +16548,18 @@ class AuroCombobox extends AuroElement$1 {
16556
16548
  this.validation.validate(this, force);
16557
16549
  }
16558
16550
 
16559
- updated(changedProperties) {
16551
+ async updated(changedProperties) {
16560
16552
  // After the component is ready, send direct value changes to auro-menu.
16561
- if (changedProperties.has('value')) {
16562
- if (this.value) {
16563
- if (this.optionSelected && this.optionSelected.value === this.value) {
16564
- // If value updates and the previously selected option already matches the new value
16565
- // just update the input value to use the textContent of the optionSelected
16566
- this.input.value = this.optionSelected.textContent;
16567
- } else {
16568
- // Otherwise just enter the value into the input
16569
- this.optionSelected = undefined;
16553
+ if (changedProperties.has('value') && this.value !== changedProperties.get('value')) {
16570
16554
 
16571
- const inputValue = this.value;
16572
- this.input.value = inputValue;
16555
+ // Sync the input, menu, and optionSelected states
16556
+ await this.syncValuesAndStates();
16573
16557
 
16574
- // Update the menu value and matchWord
16575
- this.menu.matchWord = inputValue;
16576
- this.handleMenuOptions();
16577
-
16578
- // If the value got set programmatically make sure we hide the bib
16579
- // when input is not taking the focus (input can be in dropdown.trigger or in bibtemplate)
16580
- if (!this.contains(document.activeElement) && !this.bibtemplate.contains(document.activeElement)) {
16581
- this.hideBib();
16582
- }
16558
+ if (this.value) {
16559
+ // If the value got set programmatically make sure we hide the bib
16560
+ // when input is not taking the focus (input can be in dropdown.trigger or in bibtemplate)
16561
+ if (!this.contains(document.activeElement) && !this.bibtemplate.contains(document.activeElement)) {
16562
+ this.hideBib();
16583
16563
  }
16584
16564
  } else {
16585
16565
  this.reset();
@@ -17587,7 +17567,7 @@ class AuroMenu extends AuroElement$1 {
17587
17567
  }
17588
17568
  }
17589
17569
 
17590
- var styleCss$1 = i$5`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem));padding-top:var(--ds-size-50, 0.25rem);padding-bottom:var(--ds-size-50, 0.25rem);-webkit-tap-highlight-color:transparent}:host .wrapper[class*=shape-box],:host .wrapper[class*=shape-snowflake]{border-radius:unset}:host .wrapper[class*=shape-pill]{border-radius:30px}:host .wrapper[class*=-lg]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-75, 0.375rem);padding-bottom:var(--ds-size-75, 0.375rem);padding-right:var(--ds-size-150, 0.75rem);margin-bottom:var(--ds-size-50, 0.25rem)}:host .wrapper[class*=-xl]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-100, 0.5rem);padding-bottom:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem);margin-bottom:var(--ds-size-100, 0.5rem)}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([loadingplaceholder]) .wrapper{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host([selected]) .wrapper{padding-left:0}:host([nocheckmark]) .wrapper{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-lg]{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-xl]{padding-left:var(--ds-size-200, 1rem)}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
17570
+ var styleCss$1 = i$5`:host{cursor:pointer;user-select:none}:host .wrapper{display:flex;align-items:center;padding-right:var(--ds-size-200, 1rem);padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem));padding-top:var(--ds-size-50, 0.25rem);padding-bottom:var(--ds-size-50, 0.25rem);-webkit-tap-highlight-color:transparent}:host .wrapper[class*=shape-box],:host .wrapper[class*=shape-snowflake]{border-radius:unset}:host .wrapper[class*=shape-pill]{border-radius:30px}:host .wrapper[class*=-lg]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-75, 0.375rem);padding-bottom:var(--ds-size-75, 0.375rem);padding-right:var(--ds-size-150, 0.75rem)}:host .wrapper[class*=-lg]:not(:last-child){margin-bottom:var(--ds-size-50, 0.25rem)}:host .wrapper[class*=-xl]{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);padding-top:var(--ds-size-100, 0.5rem);padding-bottom:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem)}:host .wrapper[class*=-xl]:not(:last-child){margin-bottom:var(--ds-size-100, 0.5rem)}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([loadingplaceholder]) .wrapper{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host([selected]) .wrapper{padding-left:0}:host([nocheckmark]) .wrapper{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-lg]{padding-left:var(--ds-size-150, 0.75rem)}:host([nocheckmark]) .wrapper[class*=-xl]{padding-left:var(--ds-size-200, 1rem)}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
17591
17571
 
17592
17572
  var colorCss$1 = i$5`:host .wrapper{border:1px solid var(--ds-auro-menuoption-container-border-color);background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-basic-color-surface-neutral-subtle, #f7f7f7)}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([selected]):host(:hover),:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected-hover, #00274a)}`;
17593
17573