@aurodesignsystem-dev/auro-formkit 0.0.0-pr1145.1 → 0.0.0-pr1156.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 (32) hide show
  1. package/components/checkbox/demo/api.min.js +2 -66
  2. package/components/checkbox/demo/index.min.js +2 -66
  3. package/components/checkbox/dist/index.js +2 -66
  4. package/components/checkbox/dist/registered.js +2 -66
  5. package/components/combobox/demo/api.md +37 -229
  6. package/components/combobox/demo/api.min.js +6 -155
  7. package/components/combobox/demo/index.md +0 -104
  8. package/components/combobox/demo/index.min.js +6 -155
  9. package/components/combobox/dist/auro-combobox.d.ts +1 -18
  10. package/components/combobox/dist/index.js +6 -155
  11. package/components/combobox/dist/registered.js +6 -155
  12. package/components/counter/demo/api.min.js +2 -66
  13. package/components/counter/demo/index.min.js +2 -66
  14. package/components/counter/dist/index.js +2 -66
  15. package/components/counter/dist/registered.js +2 -66
  16. package/components/datepicker/demo/api.min.js +5 -133
  17. package/components/datepicker/demo/index.min.js +5 -133
  18. package/components/datepicker/dist/index.js +5 -133
  19. package/components/datepicker/dist/registered.js +5 -133
  20. package/components/input/demo/api.min.js +3 -67
  21. package/components/input/demo/index.min.js +3 -67
  22. package/components/input/dist/index.js +3 -67
  23. package/components/input/dist/registered.js +3 -67
  24. package/components/radio/demo/api.min.js +2 -66
  25. package/components/radio/demo/index.min.js +2 -66
  26. package/components/radio/dist/index.js +2 -66
  27. package/components/radio/dist/registered.js +2 -66
  28. package/components/select/demo/api.min.js +3 -67
  29. package/components/select/demo/index.min.js +3 -67
  30. package/components/select/dist/index.js +3 -67
  31. package/components/select/dist/registered.js +3 -67
  32. package/package.json +1 -1
@@ -810,52 +810,6 @@ let AuroFormValidation$1 = class AuroFormValidation {
810
810
  message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
811
811
  }
812
812
  ]
813
- },
814
- combobox: {
815
- filter: [
816
- {
817
- check: (e) => {
818
-
819
- // Guard Clause: If the behavior is not 'filter', skip this validation
820
- if (e.behavior !== 'filter') return false;
821
-
822
- // Get the current input value
823
- const currentInputValue = e.input.value;
824
-
825
- // Skip validation if the input has no value
826
- if (!currentInputValue) return false;
827
-
828
- /**
829
- * Let's check if the option selected and combobox value match.
830
- */
831
-
832
- // Guard Clause: If there is no option selected fail the validation
833
- if (!e.optionSelected) return true;
834
-
835
- // Guard Clause: If there is no value fail the validation
836
- if (!e.value) return true;
837
-
838
- // Guard Clause: If the selected option's value doesn't match the input value fail the validation
839
- if (e.optionSelected.value !== e.value) return true;
840
-
841
- /**
842
- * Now let's make sure the user hasn't change the value in the input after selecting an option.
843
- * This is to make sure there's no user confusion if they select an option but then change the value to something else.
844
- */
845
-
846
- // Guard Clause: If the current input value doesn't match the option selected value fail the validation
847
- if (currentInputValue && currentInputValue !== e.optionSelected.value) return true;
848
-
849
- // Guard Clause: If the current input value doesn't match the combobox value fail the validation
850
- if (currentInputValue && currentInputValue !== e.value) return true;
851
-
852
- // If all the checks passed the validation passes
853
- return false;
854
- },
855
- validity: 'valueMissing',
856
- message: e => e.getAttribute('setCustomValidityValueMissingFilter') || e.setCustomValidity || ''
857
- }
858
- ]
859
813
  }
860
814
  };
861
815
 
@@ -864,8 +818,6 @@ let AuroFormValidation$1 = class AuroFormValidation {
864
818
  elementType = 'input';
865
819
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
866
820
  elementType = 'counter';
867
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox')) {
868
- elementType = 'combobox';
869
821
  }
870
822
 
871
823
  if (elementType) {
@@ -1044,15 +996,6 @@ let AuroFormValidation$1 = class AuroFormValidation {
1044
996
  }
1045
997
  }
1046
998
 
1047
- const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
1048
-
1049
- if (isCombobox) {
1050
-
1051
- if (!elem.persistInput || elem.behavior === "filter") {
1052
- hasValue = elem.input.value?.length > 0;
1053
- }
1054
- }
1055
-
1056
999
  if (!hasValue && elem.required && elem.touched) {
1057
1000
  elem.validity = 'valueMissing';
1058
1001
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
@@ -1061,11 +1004,6 @@ let AuroFormValidation$1 = class AuroFormValidation {
1061
1004
  this.validateElementAttributes(elem);
1062
1005
  } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
1063
1006
  this.validateElementAttributes(elem);
1064
- } else if (isCombobox) {
1065
- this.validateElementAttributes(elem);
1066
-
1067
- // Don't run extra validation for cases where the combobox is not being used as a filter
1068
- validationShouldRun = elem.behavior !== 'filter';
1069
1007
  }
1070
1008
  }
1071
1009
 
@@ -1073,8 +1011,8 @@ let AuroFormValidation$1 = class AuroFormValidation {
1073
1011
 
1074
1012
  const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
1075
1013
 
1076
- // Don't reset combobox validity if persistInput is set since we can't use the input value to validate
1077
- if (!isCombobox || isCombobox && !elem.persistInput) {
1014
+ // Don't reset combobox validity if persistValue is set since we can't use the input value to validate
1015
+ if (!isCombobox || isCombobox && !elem.persistValue) {
1078
1016
 
1079
1017
  // run validation on all inputs since we're going to use them to set the validity of this component
1080
1018
  this.auroInputElements.forEach(input => input.validate());
@@ -1147,8 +1085,6 @@ let AuroFormValidation$1 = class AuroFormValidation {
1147
1085
  if (input.validationMessage.length > 0) {
1148
1086
  elem.errorMessage = input.validationMessage;
1149
1087
  }
1150
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox') && elem.errorMessage === '') {
1151
- elem.errorMessage = elem.input?.inputElement?.validationMessage;
1152
1088
  } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
1153
1089
  const firstInput = this.inputElements[0];
1154
1090
 
@@ -5707,7 +5643,7 @@ var emphasizedStyleCss = i$5`:host([layout*=emphasized][shape*=pill]:not([layout
5707
5643
 
5708
5644
  var emphasizedColorCss = i$5`.layout-emphasized:focus-within,.layout-emphasized-left:focus-within,.layout-emphasized-right:focus-within{--auro-input-border-color: var(--ds-auro-input-border-color)}`;
5709
5645
 
5710
- var snowflakeStyleCss = i$5`:root{--ds-advanced-color-button-flat-text: #676767;--ds-advanced-color-button-flat-text-disabled: #d0d0d0;--ds-advanced-color-button-flat-text-hover: #525252;--ds-advanced-color-button-flat-text-inverse: #ffffff;--ds-advanced-color-button-flat-text-inverse-disabled: #7e8894;--ds-advanced-color-button-flat-text-inverse-hover: #adadad;--ds-advanced-color-button-ghost-background-hover: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-ghost-background-inverse-hover: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-ghost-text: #01426a;--ds-advanced-color-button-ghost-text-disabled: #d0d0d0;--ds-advanced-color-button-ghost-text-inverse: #ffffff;--ds-advanced-color-button-ghost-text-inverse-disabled: #7e8894;--ds-advanced-color-button-primary-background: #01426a;--ds-advanced-color-button-primary-background-disabled: #acc9e2;--ds-advanced-color-button-primary-background-hover: #00274a;--ds-advanced-color-button-primary-background-inactive: #cfe0ef;--ds-advanced-color-button-primary-background-inactive-hover: #89b2d4;--ds-advanced-color-button-primary-background-inverse: #ffffff;--ds-advanced-color-button-primary-background-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-background-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-border: #01426a;--ds-advanced-color-button-primary-border-disabled: #acc9e2;--ds-advanced-color-button-primary-border-hover: #00274a;--ds-advanced-color-button-primary-border-inverse: #ffffff;--ds-advanced-color-button-primary-border-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-border-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-text: #ffffff;--ds-advanced-color-button-primary-text-disabled: #ffffff;--ds-advanced-color-button-primary-text-inverse: #01426a;--ds-advanced-color-button-secondary-background: #ffffff;--ds-advanced-color-button-secondary-background-disabled: #f7f7f7;--ds-advanced-color-button-secondary-background-hover: #f2f2f2;--ds-advanced-color-button-secondary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-secondary-border: #01426a;--ds-advanced-color-button-secondary-border-hover: #00274a;--ds-advanced-color-button-secondary-border-disabled: #cfe0ef;--ds-advanced-color-button-secondary-border-inverse: #ffffff;--ds-advanced-color-button-secondary-border-inverse-disabled: #dddddd;--ds-advanced-color-button-secondary-text: #01426a;--ds-advanced-color-button-secondary-text-hover: #00274a;--ds-advanced-color-button-secondary-text-inverse: #ffffff;--ds-advanced-color-button-tertiary-background: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-tertiary-background-hover: rgba(0, 0, 0, 0.1);--ds-advanced-color-button-tertiary-background-inverse: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-tertiary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-tertiary-text: #01426a;--ds-advanced-color-button-tertiary-text-hover: #00274a;--ds-advanced-color-button-tertiary-text-inverse: #ffffff;--ds-advanced-color-accents-accent1: #b2d583;--ds-advanced-color-accents-accent1-bold: #92c450;--ds-advanced-color-accents-accent1-muted: #deedca;--ds-advanced-color-accents-accent2: #fad362;--ds-advanced-color-accents-accent2-bold: #f2ba14;--ds-advanced-color-accents-accent2-muted: #fde398;--ds-advanced-color-accents-accent3: #63beff;--ds-advanced-color-accents-accent3-bold: #0074ca;--ds-advanced-color-accents-accent3-muted: #aedeff;--ds-advanced-color-accents-accent4: #feb17a;--ds-advanced-color-accents-accent4-bold: #fb7f24;--ds-advanced-color-accents-accent4-muted: #ffe2cf;--ds-advanced-color-accents-transparency: rgba(0, 0, 0, 0.1);--ds-advanced-color-accents-transparency-inverse: rgba(255, 255, 255, 0.2);--ds-advanced-color-avatar-gradient-bottom: #cfe0ef;--ds-advanced-color-avatar-gradient-top: #6899c6;--ds-advanced-color-boolean-disabled-inverse: #7e8894;--ds-advanced-color-boolean-error: #e31f26;--ds-advanced-color-boolean-error-hover: #b1161c;--ds-advanced-color-boolean-error-inverse: #f9a4a8;--ds-advanced-color-boolean-error-inverse-hover: #f15f65;--ds-advanced-color-boolean-indicator: #ffffff;--ds-advanced-color-boolean-indicator-inverse: #00274a;--ds-advanced-color-boolean-isfalse: #ffffff;--ds-advanced-color-boolean-isfalse-border: #585e67;--ds-advanced-color-boolean-isfalse-border-inverse: #ffffff;--ds-advanced-color-boolean-isfalse-hover: #f2f2f2;--ds-advanced-color-boolean-isfalse-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-boolean-isfalse-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-boolean-istrue: #01426a;--ds-advanced-color-boolean-istrue-hover: #00274a;--ds-advanced-color-boolean-istrue-inverse: #ffffff;--ds-advanced-color-boolean-istrue-inverse-hover: rgba(255, 255, 255, 0.7);--ds-advanced-color-dropdown-emphasized-background: #00274A1a;--ds-advanced-color-dropdown-emphasized-background-hover: #00274A33;--ds-advanced-color-flightline-indicator: #00274a;--ds-advanced-color-flightline-line: #00274a;--ds-advanced-color-hyperlink-text: #2875b5;--ds-advanced-color-hyperlink-text-hover: #01426a;--ds-advanced-color-hyperlink-text-inverse: #ffffff;--ds-advanced-color-hyperlink-text-inverse-hover: #ebf3f9;--ds-advanced-color-shared-background: #ffffff;--ds-advanced-color-shared-background-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-shared-background-inverse-disabled: rgba(255, 255, 255, 0.1);--ds-advanced-color-shared-background-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-shared-background-muted: #f7f7f7;--ds-advanced-color-shared-background-strong: #676767;--ds-advanced-color-shared-emphasized-background: rgba(1, 66, 106, 0.1);--ds-advanced-color-shared-emphasized-background-hover: rgba(1, 66, 106, 0.2);--ds-advanced-color-shared-scrim: rgba(0, 0, 0, 0.5);--ds-advanced-color-shared-text-accent: #2875b5;--ds-advanced-color-skeleton-background: #f7f8fa;--ds-advanced-color-skeleton-wave: #e4e8ec;--ds-advanced-color-state-background-disabled: #dddddd;--ds-advanced-color-state-background-hover: #f2f2f2;--ds-advanced-color-state-background-inverse-disabled: #7e8894;--ds-advanced-color-state-error-inverse: #f9a4a8;--ds-advanced-color-state-focused: #01426a;--ds-advanced-color-state-focused-inverse: #ffffff;--ds-advanced-color-state-selected: #01426a;--ds-advanced-color-state-selected-hover: #00274a;--ds-basic-color-border-bold: #585e67;--ds-basic-color-border-brand: #00274a;--ds-basic-color-border-default: #959595;--ds-basic-color-border-divider: rgba(0, 0, 0, 0.15);--ds-basic-color-border-divider-inverse: rgba(255, 255, 255, 0.4);--ds-basic-color-border-inverse: #ffffff;--ds-basic-color-border-subtle: #dddddd;--ds-basic-color-brand-primary: #01426a;--ds-basic-color-brand-primary-bold: #00274a;--ds-basic-color-brand-primary-muted: #ebf3f9;--ds-basic-color-brand-primary-subtle: #2875b5;--ds-basic-color-brand-secondary: #5de3f7;--ds-basic-color-brand-secondary-bold: #18c3dd;--ds-basic-color-brand-secondary-muted: #ebfafd;--ds-basic-color-brand-secondary-subtle: #b4eff9;--ds-basic-color-brand-tertiary: #a3cd6a;--ds-basic-color-brand-tertiary-bold: #7daf3b;--ds-basic-color-brand-tertiary-muted: #eaf3dd;--ds-basic-color-brand-tertiary-subtle: #c9e1a7;--ds-basic-color-fare-basiceconomy: #97eaf8;--ds-basic-color-fare-business: #01426a;--ds-basic-color-fare-economy: #0074ca;--ds-basic-color-fare-first: #00274a;--ds-basic-color-fare-premiumeconomy: #005154;--ds-basic-color-page-background-default: #ffffff;--ds-basic-color-page-background-utility: #ffffff;--ds-basic-color-status-default: #afb9c6;--ds-basic-color-status-error: #e31f26;--ds-basic-color-status-error-subtle: #fbc6c6;--ds-basic-color-status-info: #01426a;--ds-basic-color-status-info-subtle: #ebf3f9;--ds-basic-color-status-success: #447a1f;--ds-basic-color-status-success-subtle: #d6eac7;--ds-basic-color-status-warning: #fac200;--ds-basic-color-status-warning-subtle: #fff0b2;--ds-basic-color-surface-accent1: #5de3f7;--ds-basic-color-surface-accent1-muted: #ebfafd;--ds-basic-color-surface-accent1-subtle: #b4eff9;--ds-basic-color-surface-accent2: #a3cd6a;--ds-basic-color-surface-accent2-muted: #eaf3dd;--ds-basic-color-surface-default: #ffffff;--ds-basic-color-surface-inverse: #00274a;--ds-basic-color-surface-inverse-subtle: #2875b5;--ds-basic-color-surface-neutral-medium: #c5c5c5;--ds-basic-color-surface-neutral-subtle: #f7f7f7;--ds-basic-color-texticon-accent1: #265688;--ds-basic-color-texticon-default: #2a2a2a;--ds-basic-color-texticon-disabled: #d0d0d0;--ds-basic-color-texticon-inverse: #ffffff;--ds-basic-color-texticon-inverse-disabled: #7e8894;--ds-basic-color-texticon-inverse-muted: #ccd2db;--ds-basic-color-texticon-muted: #676767;--ds-basic-color-tier-program-loungetier-lounge: #01426a;--ds-basic-color-tier-program-loungetier-loungeplus: #53b390;--ds-basic-color-tier-program-loyaltytier-bronze: #d99f6d;--ds-basic-color-tier-program-loyaltytier-bronze-muted: #eed4be;--ds-basic-color-tier-program-loyaltytier-cobalt: #030772;--ds-basic-color-tier-program-loyaltytier-cobalt-muted: #a9b6d6;--ds-basic-color-tier-program-loyaltytier-copper: #cb7457;--ds-basic-color-tier-program-loyaltytier-copper-muted: #e7bfb1;--ds-basic-color-tier-program-loyaltytier-gold: #fbdc7a;--ds-basic-color-tier-program-loyaltytier-gold-muted: #fdefc4;--ds-basic-color-tier-program-loyaltytier-nickel: #abaab1;--ds-basic-color-tier-program-loyaltytier-nickel-muted: #e5e4e7;--ds-basic-color-tier-program-loyaltytier-platinum: #bcb8a4;--ds-basic-color-tier-program-loyaltytier-platinum-muted: #dad8cd;--ds-basic-color-tier-program-loyaltytier-silver: #e4e9ec;--ds-basic-color-tier-program-loyaltytier-silver-muted: #f9fafb;--ds-basic-color-tier-program-loyaltytier-titanium: #282828;--ds-basic-color-tier-program-loyaltytier-titanium-muted: #545454;--ds-basic-color-tier-program-oneworld-emerald: #139142;--ds-basic-color-tier-program-oneworld-ruby: #a41d4a;--ds-basic-color-tier-program-oneworld-sapphire: #015daa;--ds-basic-type-brand-family-primary: "AS Circular";--ds-basic-type-brand-family-secondary: "Good OT";--ds-basic-type-brand-line-height-primary: 1.3;--ds-basic-type-brand-line-height-secondary: 1;--ds-basic-type-brand-letter-spacing-primary: 0;--ds-basic-type-brand-letter-spacing-secondary: 0.05em;--ds-basic-type-brand-letter-spacing-tertiary: 0.10em;--ds-basic-type-family-accent: "Good OT";--ds-basic-type-family-accent-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-body: "AS Circular";--ds-basic-type-family-body-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-display: "AS Circular";--ds-basic-type-family-display-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-heading: "AS Circular";--ds-basic-type-family-heading-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-letter-spacing-accent: 0.05em;--ds-basic-type-letter-spacing-accent2: 0.10em;--ds-basic-type-letter-spacing-body: 0;--ds-basic-type-letter-spacing-display: 0;--ds-basic-type-letter-spacing-heading: 0;--ds-basic-type-line-height-accent: 1.3;--ds-basic-type-line-height-accent2: 1;--ds-basic-type-line-height-body: 1.625rem;--ds-basic-type-line-height-body2: 1.5rem;--ds-basic-type-line-height-body3: 1.25rem;--ds-basic-type-line-height-body4: 1rem;--ds-basic-type-line-height-body5: 0.875rem;--ds-basic-type-line-height-display: 1.3;--ds-basic-type-line-height-heading: 1.3;--ds-basic-type-weight-accent: 450;--ds-basic-type-weight-accent2: 500;--ds-basic-type-weight-body: 450;--ds-basic-type-weight-display: 300;--ds-basic-type-weight-heading: 300;--ds-basic-type-weight-heading2: 450}:host([layout*=snowflake]) .leftIndent{margin-left:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .rightIndent{margin-right:var(--ds-size-200, 1rem)}.layout-snowflake{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-snowflake label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-block-start:var(--ds-size-50, 0.25rem)}.layout-snowflake input{transition:all 1ms linear;text-align:center}.layout-snowflake .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1;overflow:hidden}.layout-snowflake .displayValue{display:none;width:100%}.layout-snowflake .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-snowflake .displayValueWrapper{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%}.layout-snowflake.withValue{justify-content:flex-start}.layout-snowflake.withValue:hover .alertNotification{display:none}.layout-snowflake:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-snowflake:focus-within{justify-content:flex-start}.layout-snowflake:focus-within .alertNotification{display:none}.layout-snowflake .accents{width:var(--ds-size-300, 1.5rem)}.layout-snowflake .accents.left{padding-left:var(--ds-size-200, 1rem)}.layout-snowflake .accents.right{padding-right:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .helpTextWrapper{text-align:center}`;
5646
+ var snowflakeStyleCss = i$5`:root{--ds-advanced-color-button-flat-text: #676767;--ds-advanced-color-button-flat-text-disabled: #d0d0d0;--ds-advanced-color-button-flat-text-hover: #525252;--ds-advanced-color-button-flat-text-inverse: #ffffff;--ds-advanced-color-button-flat-text-inverse-disabled: #7e8894;--ds-advanced-color-button-flat-text-inverse-hover: #adadad;--ds-advanced-color-button-ghost-background-hover: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-ghost-background-inverse-hover: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-ghost-text: #01426a;--ds-advanced-color-button-ghost-text-disabled: #d0d0d0;--ds-advanced-color-button-ghost-text-inverse: #ffffff;--ds-advanced-color-button-ghost-text-inverse-disabled: #7e8894;--ds-advanced-color-button-primary-background: #01426a;--ds-advanced-color-button-primary-background-disabled: #acc9e2;--ds-advanced-color-button-primary-background-hover: #00274a;--ds-advanced-color-button-primary-background-inactive: #cfe0ef;--ds-advanced-color-button-primary-background-inactive-hover: #89b2d4;--ds-advanced-color-button-primary-background-inverse: #ffffff;--ds-advanced-color-button-primary-background-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-background-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-border: #01426a;--ds-advanced-color-button-primary-border-disabled: #acc9e2;--ds-advanced-color-button-primary-border-hover: #00274a;--ds-advanced-color-button-primary-border-inverse: #ffffff;--ds-advanced-color-button-primary-border-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-border-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-text: #ffffff;--ds-advanced-color-button-primary-text-disabled: #ffffff;--ds-advanced-color-button-primary-text-inverse: #01426a;--ds-advanced-color-button-secondary-background: #ffffff;--ds-advanced-color-button-secondary-background-disabled: #f7f7f7;--ds-advanced-color-button-secondary-background-hover: #f2f2f2;--ds-advanced-color-button-secondary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-secondary-border: #01426a;--ds-advanced-color-button-secondary-border-hover: #00274a;--ds-advanced-color-button-secondary-border-disabled: #cfe0ef;--ds-advanced-color-button-secondary-border-inverse: #ffffff;--ds-advanced-color-button-secondary-border-inverse-disabled: #dddddd;--ds-advanced-color-button-secondary-text: #01426a;--ds-advanced-color-button-secondary-text-hover: #00274a;--ds-advanced-color-button-secondary-text-inverse: #ffffff;--ds-advanced-color-button-tertiary-background: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-tertiary-background-hover: rgba(0, 0, 0, 0.1);--ds-advanced-color-button-tertiary-background-inverse: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-tertiary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-tertiary-text: #01426a;--ds-advanced-color-button-tertiary-text-hover: #00274a;--ds-advanced-color-button-tertiary-text-inverse: #ffffff;--ds-advanced-color-accents-accent1: #b2d583;--ds-advanced-color-accents-accent1-bold: #92c450;--ds-advanced-color-accents-accent1-muted: #deedca;--ds-advanced-color-accents-accent2: #fad362;--ds-advanced-color-accents-accent2-bold: #f2ba14;--ds-advanced-color-accents-accent2-muted: #fde398;--ds-advanced-color-accents-accent3: #63beff;--ds-advanced-color-accents-accent3-bold: #0074ca;--ds-advanced-color-accents-accent3-muted: #aedeff;--ds-advanced-color-accents-accent4: #feb17a;--ds-advanced-color-accents-accent4-bold: #fb7f24;--ds-advanced-color-accents-accent4-muted: #ffe2cf;--ds-advanced-color-accents-transparency: rgba(0, 0, 0, 0.1);--ds-advanced-color-accents-transparency-inverse: rgba(255, 255, 255, 0.2);--ds-advanced-color-avatar-gradient-bottom: #cfe0ef;--ds-advanced-color-avatar-gradient-top: #6899c6;--ds-advanced-color-boolean-disabled-inverse: #7e8894;--ds-advanced-color-boolean-error: #e31f26;--ds-advanced-color-boolean-error-hover: #b1161c;--ds-advanced-color-boolean-error-inverse: #f9a4a8;--ds-advanced-color-boolean-error-inverse-hover: #f15f65;--ds-advanced-color-boolean-indicator: #ffffff;--ds-advanced-color-boolean-indicator-inverse: #00274a;--ds-advanced-color-boolean-isfalse: #ffffff;--ds-advanced-color-boolean-isfalse-border: #585e67;--ds-advanced-color-boolean-isfalse-border-inverse: #ffffff;--ds-advanced-color-boolean-isfalse-hover: #f2f2f2;--ds-advanced-color-boolean-isfalse-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-boolean-isfalse-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-boolean-istrue: #01426a;--ds-advanced-color-boolean-istrue-hover: #00274a;--ds-advanced-color-boolean-istrue-inverse: #ffffff;--ds-advanced-color-boolean-istrue-inverse-hover: rgba(255, 255, 255, 0.7);--ds-advanced-color-dropdown-emphasized-background: #00274A1a;--ds-advanced-color-dropdown-emphasized-background-hover: #00274A33;--ds-advanced-color-flightline-indicator: #00274a;--ds-advanced-color-flightline-line: #00274a;--ds-advanced-color-hyperlink-text: #2875b5;--ds-advanced-color-hyperlink-text-hover: #01426a;--ds-advanced-color-hyperlink-text-inverse: #ffffff;--ds-advanced-color-hyperlink-text-inverse-hover: #ebf3f9;--ds-advanced-color-shared-background: #ffffff;--ds-advanced-color-shared-background-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-shared-background-inverse-disabled: rgba(255, 255, 255, 0.1);--ds-advanced-color-shared-background-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-shared-background-muted: #f7f7f7;--ds-advanced-color-shared-background-strong: #676767;--ds-advanced-color-shared-emphasized-background: rgba(1, 66, 106, 0.1);--ds-advanced-color-shared-emphasized-background-hover: rgba(1, 66, 106, 0.2);--ds-advanced-color-shared-scrim: rgba(0, 0, 0, 0.5);--ds-advanced-color-shared-text-accent: #2875b5;--ds-advanced-color-skeleton-background: #f7f8fa;--ds-advanced-color-skeleton-wave: #e4e8ec;--ds-advanced-color-state-background-disabled: #dddddd;--ds-advanced-color-state-background-hover: #f2f2f2;--ds-advanced-color-state-background-inverse-disabled: #7e8894;--ds-advanced-color-state-error-inverse: #f9a4a8;--ds-advanced-color-state-focused: #01426a;--ds-advanced-color-state-focused-inverse: #ffffff;--ds-advanced-color-state-selected: #01426a;--ds-advanced-color-state-selected-hover: #00274a;--ds-basic-color-border-bold: #585e67;--ds-basic-color-border-brand: #00274a;--ds-basic-color-border-default: #959595;--ds-basic-color-border-divider: rgba(0, 0, 0, 0.15);--ds-basic-color-border-divider-inverse: rgba(255, 255, 255, 0.4);--ds-basic-color-border-inverse: #ffffff;--ds-basic-color-border-subtle: #dddddd;--ds-basic-color-brand-primary: #01426a;--ds-basic-color-brand-primary-bold: #00274a;--ds-basic-color-brand-primary-muted: #ebf3f9;--ds-basic-color-brand-primary-subtle: #2875b5;--ds-basic-color-brand-secondary: #5de3f7;--ds-basic-color-brand-secondary-bold: #18c3dd;--ds-basic-color-brand-secondary-muted: #ebfafd;--ds-basic-color-brand-secondary-subtle: #b4eff9;--ds-basic-color-brand-tertiary: #a3cd6a;--ds-basic-color-brand-tertiary-bold: #7daf3b;--ds-basic-color-brand-tertiary-muted: #eaf3dd;--ds-basic-color-brand-tertiary-subtle: #c9e1a7;--ds-basic-color-fare-basiceconomy: #97eaf8;--ds-basic-color-fare-business: #01426a;--ds-basic-color-fare-economy: #0074ca;--ds-basic-color-fare-first: #00274a;--ds-basic-color-fare-premiumeconomy: #005154;--ds-basic-color-page-background-default: #ffffff;--ds-basic-color-page-background-utility: #ffffff;--ds-basic-color-status-default: #afb9c6;--ds-basic-color-status-error: #e31f26;--ds-basic-color-status-error-subtle: #fbc6c6;--ds-basic-color-status-info: #01426a;--ds-basic-color-status-info-subtle: #ebf3f9;--ds-basic-color-status-success: #447a1f;--ds-basic-color-status-success-subtle: #d6eac7;--ds-basic-color-status-warning: #fac200;--ds-basic-color-status-warning-subtle: #fff0b2;--ds-basic-color-surface-accent1: #5de3f7;--ds-basic-color-surface-accent1-muted: #ebfafd;--ds-basic-color-surface-accent1-subtle: #b4eff9;--ds-basic-color-surface-accent2: #a3cd6a;--ds-basic-color-surface-accent2-muted: #eaf3dd;--ds-basic-color-surface-default: #ffffff;--ds-basic-color-surface-inverse: #00274a;--ds-basic-color-surface-inverse-subtle: #2875b5;--ds-basic-color-surface-neutral-medium: #c5c5c5;--ds-basic-color-surface-neutral-subtle: #f7f7f7;--ds-basic-color-texticon-accent1: #265688;--ds-basic-color-texticon-default: #2a2a2a;--ds-basic-color-texticon-disabled: #d0d0d0;--ds-basic-color-texticon-inverse: #ffffff;--ds-basic-color-texticon-inverse-disabled: #7e8894;--ds-basic-color-texticon-inverse-muted: #ccd2db;--ds-basic-color-texticon-muted: #676767;--ds-basic-color-tier-program-loungetier-lounge: #01426a;--ds-basic-color-tier-program-loungetier-loungeplus: #53b390;--ds-basic-color-tier-program-loyaltytier-bronze: #d99f6d;--ds-basic-color-tier-program-loyaltytier-bronze-muted: #eed4be;--ds-basic-color-tier-program-loyaltytier-cobalt: #030772;--ds-basic-color-tier-program-loyaltytier-cobalt-muted: #a9b6d6;--ds-basic-color-tier-program-loyaltytier-copper: #cb7457;--ds-basic-color-tier-program-loyaltytier-copper-muted: #e7bfb1;--ds-basic-color-tier-program-loyaltytier-gold: #fbdc7a;--ds-basic-color-tier-program-loyaltytier-gold-muted: #fdefc4;--ds-basic-color-tier-program-loyaltytier-nickel: #abaab1;--ds-basic-color-tier-program-loyaltytier-nickel-muted: #e5e4e7;--ds-basic-color-tier-program-loyaltytier-platinum: #bcb8a4;--ds-basic-color-tier-program-loyaltytier-platinum-muted: #dad8cd;--ds-basic-color-tier-program-loyaltytier-silver: #e4e9ec;--ds-basic-color-tier-program-loyaltytier-silver-muted: #f9fafb;--ds-basic-color-tier-program-loyaltytier-titanium: #282828;--ds-basic-color-tier-program-loyaltytier-titanium-muted: #545454;--ds-basic-color-tier-program-oneworld-emerald: #139142;--ds-basic-color-tier-program-oneworld-ruby: #a41d4a;--ds-basic-color-tier-program-oneworld-sapphire: #015daa;--ds-basic-type-brand-family-primary: "AS Circular";--ds-basic-type-brand-family-secondary: "Good OT";--ds-basic-type-brand-line-height-primary: 1.3;--ds-basic-type-brand-line-height-secondary: 1;--ds-basic-type-brand-letter-spacing-primary: 0;--ds-basic-type-brand-letter-spacing-secondary: 0.05em;--ds-basic-type-brand-letter-spacing-tertiary: 0.10em;--ds-basic-type-family-accent: "Good OT";--ds-basic-type-family-accent-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-body: "AS Circular";--ds-basic-type-family-body-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-display: "AS Circular";--ds-basic-type-family-display-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-heading: "AS Circular";--ds-basic-type-family-heading-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-letter-spacing-accent: 0.05em;--ds-basic-type-letter-spacing-accent2: 0.10em;--ds-basic-type-letter-spacing-body: 0;--ds-basic-type-letter-spacing-display: 0;--ds-basic-type-letter-spacing-heading: 0;--ds-basic-type-line-height-accent: 1.3;--ds-basic-type-line-height-accent2: 1;--ds-basic-type-line-height-body: 1.625rem;--ds-basic-type-line-height-body2: 1.5rem;--ds-basic-type-line-height-body3: 1.25rem;--ds-basic-type-line-height-body4: 1rem;--ds-basic-type-line-height-body5: 0.875rem;--ds-basic-type-line-height-display: 1.3;--ds-basic-type-line-height-heading: 1.3;--ds-basic-type-weight-accent: 450;--ds-basic-type-weight-accent2: 500;--ds-basic-type-weight-body: 450;--ds-basic-type-weight-display: 300;--ds-basic-type-weight-heading: 300;--ds-basic-type-weight-heading2: 450}:host([layout*=snowflake]) .leftIndent{margin-left:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .rightIndent{margin-right:var(--ds-size-200, 1rem)}.layout-snowflake{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-snowflake label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-block-start:var(--ds-size-50, 0.25rem)}.layout-snowflake input{transition:all 1ms linear;text-align:center}.layout-snowflake .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1;overflow:hidden}.layout-snowflake .displayValue{display:none;width:100%}.layout-snowflake .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-snowflake .displayValueWrapper{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%}.layout-snowflake.withValue{justify-content:flex-start}.layout-snowflake:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-snowflake:focus-within{justify-content:flex-start}.layout-snowflake:focus-within .alertNotification{display:none}.layout-snowflake .accents{width:var(--ds-size-300, 1.5rem)}.layout-snowflake .accents.left{padding-left:var(--ds-size-200, 1rem)}.layout-snowflake .accents.right{padding-right:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .helpTextWrapper{text-align:center}`;
5711
5647
 
5712
5648
  const watchedItems = new Set();
5713
5649
 
@@ -10251,52 +10187,6 @@ class AuroFormValidation {
10251
10187
  message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
10252
10188
  }
10253
10189
  ]
10254
- },
10255
- combobox: {
10256
- filter: [
10257
- {
10258
- check: (e) => {
10259
-
10260
- // Guard Clause: If the behavior is not 'filter', skip this validation
10261
- if (e.behavior !== 'filter') return false;
10262
-
10263
- // Get the current input value
10264
- const currentInputValue = e.input.value;
10265
-
10266
- // Skip validation if the input has no value
10267
- if (!currentInputValue) return false;
10268
-
10269
- /**
10270
- * Let's check if the option selected and combobox value match.
10271
- */
10272
-
10273
- // Guard Clause: If there is no option selected fail the validation
10274
- if (!e.optionSelected) return true;
10275
-
10276
- // Guard Clause: If there is no value fail the validation
10277
- if (!e.value) return true;
10278
-
10279
- // Guard Clause: If the selected option's value doesn't match the input value fail the validation
10280
- if (e.optionSelected.value !== e.value) return true;
10281
-
10282
- /**
10283
- * Now let's make sure the user hasn't change the value in the input after selecting an option.
10284
- * This is to make sure there's no user confusion if they select an option but then change the value to something else.
10285
- */
10286
-
10287
- // Guard Clause: If the current input value doesn't match the option selected value fail the validation
10288
- if (currentInputValue && currentInputValue !== e.optionSelected.value) return true;
10289
-
10290
- // Guard Clause: If the current input value doesn't match the combobox value fail the validation
10291
- if (currentInputValue && currentInputValue !== e.value) return true;
10292
-
10293
- // If all the checks passed the validation passes
10294
- return false;
10295
- },
10296
- validity: 'valueMissing',
10297
- message: e => e.getAttribute('setCustomValidityValueMissingFilter') || e.setCustomValidity || ''
10298
- }
10299
- ]
10300
10190
  }
10301
10191
  };
10302
10192
 
@@ -10305,8 +10195,6 @@ class AuroFormValidation {
10305
10195
  elementType = 'input';
10306
10196
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
10307
10197
  elementType = 'counter';
10308
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox')) {
10309
- elementType = 'combobox';
10310
10198
  }
10311
10199
 
10312
10200
  if (elementType) {
@@ -10485,15 +10373,6 @@ class AuroFormValidation {
10485
10373
  }
10486
10374
  }
10487
10375
 
10488
- const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
10489
-
10490
- if (isCombobox) {
10491
-
10492
- if (!elem.persistInput || elem.behavior === "filter") {
10493
- hasValue = elem.input.value?.length > 0;
10494
- }
10495
- }
10496
-
10497
10376
  if (!hasValue && elem.required && elem.touched) {
10498
10377
  elem.validity = 'valueMissing';
10499
10378
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
@@ -10502,11 +10381,6 @@ class AuroFormValidation {
10502
10381
  this.validateElementAttributes(elem);
10503
10382
  } else if (hasValue && (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group'))) {
10504
10383
  this.validateElementAttributes(elem);
10505
- } else if (isCombobox) {
10506
- this.validateElementAttributes(elem);
10507
-
10508
- // Don't run extra validation for cases where the combobox is not being used as a filter
10509
- validationShouldRun = elem.behavior !== 'filter';
10510
10384
  }
10511
10385
  }
10512
10386
 
@@ -10514,8 +10388,8 @@ class AuroFormValidation {
10514
10388
 
10515
10389
  const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
10516
10390
 
10517
- // Don't reset combobox validity if persistInput is set since we can't use the input value to validate
10518
- if (!isCombobox || isCombobox && !elem.persistInput) {
10391
+ // Don't reset combobox validity if persistValue is set since we can't use the input value to validate
10392
+ if (!isCombobox || isCombobox && !elem.persistValue) {
10519
10393
 
10520
10394
  // run validation on all inputs since we're going to use them to set the validity of this component
10521
10395
  this.auroInputElements.forEach(input => input.validate());
@@ -10588,8 +10462,6 @@ class AuroFormValidation {
10588
10462
  if (input.validationMessage.length > 0) {
10589
10463
  elem.errorMessage = input.validationMessage;
10590
10464
  }
10591
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox') && elem.errorMessage === '') {
10592
- elem.errorMessage = elem.input?.inputElement?.validationMessage;
10593
10465
  } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
10594
10466
  const firstInput = this.inputElements[0];
10595
10467
 
@@ -16459,7 +16331,6 @@ class AuroCombobox extends AuroElement$1 {
16459
16331
  this.required = false;
16460
16332
  this.value = undefined;
16461
16333
  this.typedValue = undefined;
16462
- this.behavior = "suggestion";
16463
16334
 
16464
16335
  // Defaults that effect the overall layout of the combobox
16465
16336
  this.checkmark = false;
@@ -16541,17 +16412,6 @@ class AuroCombobox extends AuroElement$1 {
16541
16412
  reflect: false
16542
16413
  },
16543
16414
 
16544
- /**
16545
- * Sets the behavior of the combobox, "filter" or "suggestion".
16546
- * "filter" requires the user to select an option from the menu.
16547
- * "suggestion" allows the user to enter a value not present in the menu options.
16548
- * @default suggestion
16549
- */
16550
- behavior: {
16551
- type: String,
16552
- reflect: true
16553
- },
16554
-
16555
16415
  /**
16556
16416
  * When attribute is present auro-menu will apply check marks to selected options.
16557
16417
  */
@@ -16628,7 +16488,7 @@ class AuroCombobox extends AuroElement$1 {
16628
16488
  },
16629
16489
 
16630
16490
  /**
16631
- * If set, combobox will not filter menuoptions based on input.
16491
+ * If set, combobox will not filter menuoptions based in input.
16632
16492
  */
16633
16493
  noFilter: {
16634
16494
  type: Boolean,
@@ -16751,13 +16611,6 @@ class AuroCombobox extends AuroElement$1 {
16751
16611
  type: String
16752
16612
  },
16753
16613
 
16754
- /**
16755
- * Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = "filter".
16756
- */
16757
- setCustomValidityValueMissingFilter: {
16758
- type: String
16759
- },
16760
-
16761
16614
  /**
16762
16615
  * Indicates whether the combobox is in a dirty state (has been interacted with).
16763
16616
  * @type {boolean}
@@ -17439,8 +17292,6 @@ class AuroCombobox extends AuroElement$1 {
17439
17292
  this.addEventListener('auroFormElement-validated', (evt) => {
17440
17293
  this.input.validity = evt.detail.validity;
17441
17294
  this.input.errorMessage = evt.detail.message;
17442
- this.validity = evt.detail.validity;
17443
- this.errorMessage = evt.detail.message;
17444
17295
  });
17445
17296
  }
17446
17297
 
@@ -126,9 +126,6 @@ The `<auro-combobox>` element should be used in situations where users may:
126
126
  </auro-combobox>
127
127
  <!-- AURO-GENERATED-CONTENT:END -->
128
128
  </div>
129
-
130
- ### Basic
131
-
132
129
  <div class="exampleWrapper">
133
130
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
134
131
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
@@ -204,107 +201,6 @@ The `<auro-combobox>` element should be used in situations where users may:
204
201
  <!-- AURO-GENERATED-CONTENT:END -->
205
202
  </auro-accordion>
206
203
 
207
- ### Behavior
208
-
209
- There are two behaviors available for the combo box: suggestion and filter.
210
- The default behavior is "suggestion".
211
-
212
- #### Suggestion
213
-
214
- With the suggestion behavior, the menu options are displayed to the user as suggestions, but the user may enter whatever value they like into the input
215
-
216
- <div class="exampleWrapper">
217
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/suggestion.html) -->
218
- <!-- The below content is automatically added from ./../apiExamples/suggestion.html -->
219
- <auro-combobox behavior="suggestion">
220
- <span slot="ariaLabel.bib.close">Close combobox</span>
221
- <span slot="ariaLabel.input.clear">Clear All</span>
222
- <span slot="bib.fullscreen.headline">Bib Header</span>
223
- <span slot="label">Name</span>
224
- <auro-menu>
225
- <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
226
- <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
227
- <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
228
- <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
229
- <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
230
- <auro-menuoption static nomatch>No matching option</auro-menuoption>
231
- </auro-menu>
232
- </auro-combobox>
233
- <!-- AURO-GENERATED-CONTENT:END -->
234
- </div>
235
- <auro-accordion alignRight>
236
- <span slot="trigger">See code</span>
237
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/suggestion.html) -->
238
- <!-- The below code snippet is automatically added from ./../apiExamples/suggestion.html -->
239
-
240
- ```html
241
- <auro-combobox behavior="suggestion">
242
- <span slot="ariaLabel.bib.close">Close combobox</span>
243
- <span slot="ariaLabel.input.clear">Clear All</span>
244
- <span slot="bib.fullscreen.headline">Bib Header</span>
245
- <span slot="label">Name</span>
246
- <auro-menu>
247
- <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
248
- <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
249
- <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
250
- <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
251
- <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
252
- <auro-menuoption static nomatch>No matching option</auro-menuoption>
253
- </auro-menu>
254
- </auro-combobox>
255
- ```
256
- <!-- AURO-GENERATED-CONTENT:END -->
257
- </auro-accordion>
258
-
259
- #### Filter
260
-
261
- With the filter behavior, the menu options are displayed to the user, and the user is required to choose one of the menu options in order for the input to be considered valid.
262
-
263
- The `setCustomValidityValueMissingFilter` attribute is also available to display a custom message to the user when this validation check fails.
264
-
265
- <div class="exampleWrapper">
266
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/filter.html) -->
267
- <!-- The below content is automatically added from ./../apiExamples/filter.html -->
268
- <auro-combobox behavior="filter" setCustomValidityValueMissingFilter="Please select an option from the list">
269
- <span slot="ariaLabel.bib.close">Close combobox</span>
270
- <span slot="ariaLabel.input.clear">Clear All</span>
271
- <span slot="bib.fullscreen.headline">Bib Header</span>
272
- <span slot="label">Name</span>
273
- <auro-menu>
274
- <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
275
- <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
276
- <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
277
- <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
278
- <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
279
- <auro-menuoption static nomatch>No matching option</auro-menuoption>
280
- </auro-menu>
281
- </auro-combobox>
282
- <!-- AURO-GENERATED-CONTENT:END -->
283
- </div>
284
- <auro-accordion alignRight>
285
- <span slot="trigger">See code</span>
286
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/filter.html) -->
287
- <!-- The below code snippet is automatically added from ./../apiExamples/filter.html -->
288
-
289
- ```html
290
- <auro-combobox behavior="filter" setCustomValidityValueMissingFilter="Please select an option from the list">
291
- <span slot="ariaLabel.bib.close">Close combobox</span>
292
- <span slot="ariaLabel.input.clear">Clear All</span>
293
- <span slot="bib.fullscreen.headline">Bib Header</span>
294
- <span slot="label">Name</span>
295
- <auro-menu>
296
- <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
297
- <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
298
- <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
299
- <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
300
- <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
301
- <auro-menuoption static nomatch>No matching option</auro-menuoption>
302
- </auro-menu>
303
- </auro-combobox>
304
- ```
305
- <!-- AURO-GENERATED-CONTENT:END -->
306
- </auro-accordion>
307
-
308
204
  ### Airports example
309
205
 
310
206
  <div class="exampleWrapper">