@aurodesignsystem-dev/auro-formkit 0.0.0-pr785.3 → 0.0.0-pr788.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 (77) hide show
  1. package/components/bibtemplate/dist/buttonVersion.d.ts +1 -1
  2. package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
  3. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  4. package/components/bibtemplate/dist/index.js +136 -121
  5. package/components/bibtemplate/dist/registered.js +136 -121
  6. package/components/checkbox/demo/api.md +2 -1
  7. package/components/checkbox/demo/api.min.js +25 -7
  8. package/components/checkbox/demo/index.min.js +25 -7
  9. package/components/checkbox/dist/index.js +24 -6
  10. package/components/checkbox/dist/registered.js +24 -6
  11. package/components/combobox/README.md +2 -0
  12. package/components/combobox/demo/api.md +9 -0
  13. package/components/combobox/demo/api.min.js +317 -265
  14. package/components/combobox/demo/index.md +12 -0
  15. package/components/combobox/demo/index.min.js +317 -265
  16. package/components/combobox/demo/readme.md +2 -0
  17. package/components/combobox/dist/auro-combobox.d.ts +9 -4
  18. package/components/combobox/dist/index.js +310 -258
  19. package/components/combobox/dist/registered.js +310 -258
  20. package/components/counter/demo/api.md +11 -0
  21. package/components/counter/demo/api.min.js +289 -238
  22. package/components/counter/demo/index.md +6 -0
  23. package/components/counter/demo/index.min.js +289 -238
  24. package/components/counter/dist/auro-counter-group.d.ts +11 -0
  25. package/components/counter/dist/iconVersion.d.ts +1 -1
  26. package/components/counter/dist/index.js +283 -232
  27. package/components/counter/dist/registered.js +283 -232
  28. package/components/datepicker/README.md +2 -1
  29. package/components/datepicker/demo/api.md +53 -19
  30. package/components/datepicker/demo/api.min.js +652 -369
  31. package/components/datepicker/demo/index.md +16 -4
  32. package/components/datepicker/demo/index.min.js +652 -369
  33. package/components/datepicker/demo/readme.md +2 -1
  34. package/components/datepicker/dist/auro-datepicker.d.ts +79 -12
  35. package/components/datepicker/dist/index.js +651 -368
  36. package/components/datepicker/dist/registered.js +651 -368
  37. package/components/datepicker/dist/styles/classic/style-css.d.ts +2 -0
  38. package/components/dropdown/demo/api.md +1 -1
  39. package/components/dropdown/demo/api.min.js +13 -61
  40. package/components/dropdown/demo/index.min.js +13 -61
  41. package/components/dropdown/dist/auro-dropdown.d.ts +0 -7
  42. package/components/dropdown/dist/index.js +12 -60
  43. package/components/dropdown/dist/registered.js +12 -60
  44. package/components/form/demo/api.min.js +1 -1
  45. package/components/form/demo/index.min.js +1 -1
  46. package/components/input/README.md +1 -0
  47. package/components/input/demo/api.md +16 -7
  48. package/components/input/demo/api.min.js +117 -52
  49. package/components/input/demo/index.md +7 -0
  50. package/components/input/demo/index.min.js +117 -52
  51. package/components/input/demo/readme.md +1 -0
  52. package/components/input/dist/auro-input.d.ts +0 -6
  53. package/components/input/dist/base-input.d.ts +8 -2
  54. package/components/input/dist/index.js +116 -51
  55. package/components/input/dist/registered.js +116 -51
  56. package/components/menu/demo/api.min.js +3 -3
  57. package/components/menu/demo/index.min.js +3 -3
  58. package/components/menu/dist/iconVersion.d.ts +1 -1
  59. package/components/menu/dist/index.js +2 -2
  60. package/components/menu/dist/registered.js +2 -2
  61. package/components/radio/demo/api.md +32 -1
  62. package/components/radio/demo/api.min.js +19 -8
  63. package/components/radio/demo/index.min.js +19 -8
  64. package/components/radio/dist/index.js +18 -7
  65. package/components/radio/dist/registered.js +18 -7
  66. package/components/select/README.md +1 -0
  67. package/components/select/demo/api.md +49 -64
  68. package/components/select/demo/api.min.js +202 -210
  69. package/components/select/demo/index.html +1 -0
  70. package/components/select/demo/index.md +1065 -137
  71. package/components/select/demo/index.min.js +202 -210
  72. package/components/select/demo/readme.md +1 -0
  73. package/components/select/dist/auro-select.d.ts +11 -5
  74. package/components/select/dist/index.js +195 -203
  75. package/components/select/dist/registered.js +195 -203
  76. package/package.json +8 -8
  77. /package/components/datepicker/dist/styles/{default → classic}/color-css.d.ts +0 -0
@@ -5,7 +5,7 @@ import { unsafeStatic, literal, html as html$1 } from 'lit/static-html.js';
5
5
 
6
6
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t();}(0,function(){function e(e){var t=true,n=false,o=null,d={text:true,search:true,url:true,tel:true,email:true,password:true,number:true,date:true,month:true,week:true,time:true,datetime:true,"datetime-local":true};function i(e){return !!(e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList)}function s(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""));}function u(e){t=false;}function a(){document.addEventListener("mousemove",c),document.addEventListener("mousedown",c),document.addEventListener("mouseup",c),document.addEventListener("pointermove",c),document.addEventListener("pointerdown",c),document.addEventListener("pointerup",c),document.addEventListener("touchmove",c),document.addEventListener("touchstart",c),document.addEventListener("touchend",c);}function c(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=false,document.removeEventListener("mousemove",c),document.removeEventListener("mousedown",c),document.removeEventListener("mouseup",c),document.removeEventListener("pointermove",c),document.removeEventListener("pointerdown",c),document.removeEventListener("pointerup",c),document.removeEventListener("touchmove",c),document.removeEventListener("touchstart",c),document.removeEventListener("touchend",c));}document.addEventListener("keydown",function(n){n.metaKey||n.altKey||n.ctrlKey||(i(e.activeElement)&&s(e.activeElement),t=true);},true),document.addEventListener("mousedown",u,true),document.addEventListener("pointerdown",u,true),document.addEventListener("touchstart",u,true),document.addEventListener("visibilitychange",function(e){"hidden"===document.visibilityState&&(n&&(t=true),a());},true),a(),e.addEventListener("focus",function(e){var n,o,u;i(e.target)&&(t||(n=e.target,o=n.type,"INPUT"===(u=n.tagName)&&d[o]&&!n.readOnly||"TEXTAREA"===u&&!n.readOnly||n.isContentEditable))&&s(e.target);},true),e.addEventListener("blur",function(e){var t;i(e.target)&&(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(n=true,window.clearTimeout(o),o=window.setTimeout(function(){n=false;},100),(t=e.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")));},true),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""));}if("undefined"!=typeof window&&"undefined"!=typeof document){var t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready");}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",false,false,{});}window.dispatchEvent(t);}"undefined"!=typeof document&&e(document);});
7
7
 
8
- var styleCss$2 = css`:focus:not(:focus-visible){outline:3px solid transparent}.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;outline:unset}:host(.focus-visible) .displayFlex .inputGroup:focus-within{width:auto}:host(.focus-visible) .rdoGroup{display:block;padding-right:var(--ds-size-100, 0.5rem);outline:3px solid transparent}:host(.focus-visible) .rdoGroup .label:after{outline-width:1px;outline-style:solid}.rdoGroup{position:relative;padding-right:var(--ds-size-100, 0.5rem);padding-left:var(--ds-size-100, 0.5rem);line-height:var(--ds-size-400, 2rem)}.label{display:block;margin-left:var(--ds-size-300, 1.5rem)}.label:hover{cursor:pointer}.label:after{position:absolute;z-index:1;top:var(--ds-size-200, 1rem);left:var(--ds-size-50, 0.25rem);width:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));transform:translateY(-50%);content:"";border-radius:50%;border:1px solid}.slotContent{display:block;margin-left:var(--ds-size-400, 2rem);padding-left:var(--ds-size-100, 0.5rem)}`;
8
+ var styleCss$2 = css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.63)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.88)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}.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;outline:unset}:host(.focus-visible) .displayFlex .inputGroup:focus-within{width:auto}:host(.focus-visible) .rdoGroup{display:block;padding-right:var(--ds-size-100, 0.5rem);outline:3px solid transparent}:host(.focus-visible) .rdoGroup .label:after{outline-width:1px;outline-style:solid}.rdoGroup{position:relative;padding-right:var(--ds-size-100, 0.5rem);padding-left:var(--ds-size-100, 0.5rem);padding-top:var(--ds-size-50, 0.25rem);padding-bottom:var(--ds-size-75, 0.375rem)}.label{display:block;margin-left:var(--ds-size-300, 1.5rem)}.label:hover{cursor:pointer}.label:after{position:absolute;z-index:1;top:var(--ds-size-50, 0.25rem);left:var(--ds-size-50, 0.25rem);width:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:"";border-radius:50%;border:1px solid}.slotContent{display:block;margin-left:var(--ds-size-400, 2rem);padding-left:var(--ds-size-100, 0.5rem)}`;
9
9
 
10
10
  var colorCss$2 = css`.label{color:var(--ds-auro-radio-label-color)}.label:after{background-color:var(--ds-auro-radio-btn-fill-color);border-color:var(--ds-auro-radio-btn-border-color);box-shadow:inset 0 0 0 3px var(--ds-auro-radio-btn-inset-color);outline-color:var(--ds-auro-radio-btn-border-color);-webkit-tap-highlight-color:var(--ds-auro-radio-tap-color)}:host([checked]){--ds-auro-radio-btn-inset-color: var(--ds-advanced-color-boolean-indicator, #ffffff);--ds-auro-radio-btn-fill-color: var(--ds-advanced-color-boolean-istrue, #01426a);--ds-auro-radio-btn-border-color: var(--ds-advanced-color-boolean-istrue, #01426a)}:host([error]){--ds-auro-radio-btn-border-color: var(--ds-advanced-color-boolean-error, #e31f26)}:host([checked][error]){--ds-auro-radio-btn-fill-color: var(--ds-advanced-color-boolean-error, #e31f26)}:host([disabled]){--ds-auro-radio-btn-border-color: var(--ds-advanced-color-state-background-disabled, #dddddd);--ds-auro-radio-label-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([checked][disabled]){--ds-auro-radio-btn-fill-color: var(--ds-advanced-color-state-background-disabled, #dddddd)}:host(.focus-visible){--ds-auro-radio-btn-border-color: var(--ds-advanced-color-state-focused, #01426a)}:host([onDark]){--ds-auro-radio-label-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-radio-btn-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([onDark][checked]){--ds-auro-radio-btn-inset-color: var(--ds-advanced-color-boolean-indicator-inverse, #00274a);--ds-auro-radio-btn-fill-color: var(--ds-advanced-color-boolean-istrue-inverse, #ffffff);--ds-auro-radio-btn-border-color: var(--ds-advanced-color-boolean-istrue-inverse, #ffffff)}:host([onDark][error]){--ds-auro-radio-btn-border-color: var(--ds-advanced-color-boolean-error-inverse, #f9a4a8)}:host([onDark][checked][error]){--ds-auro-radio-btn-fill-color: var(--ds-advanced-color-boolean-error-inverse, #f9a4a8)}:host([onDark][disabled]){--ds-auro-radio-btn-border-color: var(--ds-advanced-color-state-background-inverse-disabled, #7e8894);--ds-auro-radio-label-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][checked][disabled]){--ds-auro-radio-btn-fill-color: var(--ds-advanced-color-state-background-inverse-disabled, #7e8894)}:host([onDark].focus-visible){--ds-auro-radio-btn-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}`;
11
11
 
@@ -346,7 +346,7 @@ class AuroRadio extends LitElement {
346
346
  };
347
347
 
348
348
  return html`
349
- <div class="ods-inputGroup rdoGroup" part="radio">
349
+ <div class="ods-inputGroup rdoGroup body-default" part="radio">
350
350
  <input
351
351
  class="util_displayHidden ods-inputOption rdo--input"
352
352
  part="radio-input"
@@ -1010,13 +1010,24 @@ class AuroFormValidation {
1010
1010
  this.getInputElements(elem);
1011
1011
  this.getAuroInputs(elem);
1012
1012
 
1013
- // Validate only if noValidate is not true and the input does not have focus
1013
+ // Check if validation should run
1014
1014
  let validationShouldRun =
1015
+
1016
+ // If the validation was forced
1015
1017
  force ||
1016
- (!elem.contains(document.activeElement) &&
1017
- (elem.touched ||
1018
- (!elem.touched && typeof elem.value !== "undefined"))) ||
1019
- elem.validateOnInput;
1018
+
1019
+ // If the validation should run on input
1020
+ elem.validateOnInput ||
1021
+
1022
+ // State-based checks
1023
+ (
1024
+ // Element is not currently focused
1025
+ !elem.contains(document.activeElement) && // native input is not focused directly
1026
+ !document.activeElement.shadowRoot?.contains(elem) && // native input is not focused in the shadow DOM of another component
1027
+
1028
+ // And element has been touched or is untouched but has a value
1029
+ ( elem.touched || (!elem.touched && typeof elem.value !== "undefined") )
1030
+ );
1020
1031
 
1021
1032
  if (elem.hasAttribute('error')) {
1022
1033
  elem.validity = 'customError';
@@ -84,6 +84,7 @@ This configuration enables proper module resolution for the component's TypeScri
84
84
 
85
85
  ```html
86
86
  <auro-select>
87
+ <span slot="ariaLabel.bib.close">Close Popup</span>
87
88
  <span slot="bib.fullscreen.headline">Bib Headline</span>
88
89
  <span slot="label">Select Example</span>
89
90
  <auro-menu>
@@ -48,7 +48,9 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
48
48
 
49
49
  | Method | Type | Description |
50
50
  |------------|----------------------------------------|--------------------------------------------------|
51
+ | [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
51
52
  | [reset](#reset) | `(): void` | Resets component to initial state. |
53
+ | [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
52
54
  | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
53
55
 
54
56
  ## Events
@@ -64,6 +66,7 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
64
66
  | Name | Description |
65
67
  |---------------------------|--------------------------------------------------|
66
68
  | | Default slot for the menu content. |
69
+ | `ariaLabel.bib.close` | Sets aria-label on close button in fullscreen bib |
67
70
  | `bib.fullscreen.headline` | Defines the headline to display above menu-options |
68
71
  | [displayValue](#displayValue) | Allows custom HTML content to display the selected value when select is not focused. |
69
72
  | [helpText](#helpText) | Defines the content of the helpText. |
@@ -88,6 +91,7 @@ A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
88
91
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
89
92
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
90
93
  <auro-select>
94
+ <span slot="ariaLabel.bib.close">Close Popup</span>
91
95
  <span slot="bib.fullscreen.headline">Bib Headline</span>
92
96
  <span slot="label">Select Example</span>
93
97
  <auro-menu>
@@ -125,6 +129,7 @@ A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
125
129
 
126
130
  ```html
127
131
  <auro-select>
132
+ <span slot="ariaLabel.bib.close">Close Popup</span>
128
133
  <span slot="bib.fullscreen.headline">Bib Headline</span>
129
134
  <span slot="label">Select Example</span>
130
135
  <auro-menu>
@@ -408,10 +413,9 @@ When the validity check fails the validityState, equals `valueMissing`. The erro
408
413
  <div class="exampleWrapper">
409
414
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/required.html) -->
410
415
  <!-- The below content is automatically added from ./../apiExamples/required.html -->
411
- <auro-select required setCustomValidityValueMissing="Custom required validation error message.">
416
+ <auro-select required setCustomValidityValueMissing="Custom required validation error message." placeholder="Placeholder Text">
412
417
  <span slot="bib.fullscreen.headline">Bib Headline</span>
413
- <span slot="label">required field</span>
414
- <label slot="placeholder">Placeholder Text</label>
418
+ <span slot="label">Label</span>
415
419
  <auro-menu>
416
420
  <auro-menuoption value="stops">Stops</auro-menuoption>
417
421
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -429,10 +433,9 @@ When the validity check fails the validityState, equals `valueMissing`. The erro
429
433
  <!-- The below code snippet is automatically added from ./../apiExamples/required.html -->
430
434
 
431
435
  ```html
432
- <auro-select required setCustomValidityValueMissing="Custom required validation error message.">
436
+ <auro-select required setCustomValidityValueMissing="Custom required validation error message." placeholder="Placeholder Text">
433
437
  <span slot="bib.fullscreen.headline">Bib Headline</span>
434
- <span slot="label">required field</span>
435
- <label slot="placeholder">Placeholder Text</label>
438
+ <span slot="label">Label</span>
436
439
  <auro-menu>
437
440
  <auro-menuoption value="stops">Stops</auro-menuoption>
438
441
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -496,10 +499,9 @@ Use the `error` boolean attribute to toggle the error UI.
496
499
  <div class="exampleWrapper">
497
500
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/error.html) -->
498
501
  <!-- The below content is automatically added from ./../apiExamples/error.html -->
499
- <auro-select error="Custom error message">
500
- <span slot="label">error select example</span>
502
+ <auro-select error="Custom error message" placeholder="Placeholder Text">
501
503
  <span slot="bib.fullscreen.headline">Bib Headline</span>
502
- <label slot="placeholder">Placeholder Text</label>
504
+ <span slot="label">Label</span>
503
505
  <auro-menu>
504
506
  <auro-menuoption value="stops">Stops</auro-menuoption>
505
507
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -514,10 +516,9 @@ Use the `error` boolean attribute to toggle the error UI.
514
516
  <div class="exampleWrapper--ondark" aria-hidden>
515
517
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
516
518
  <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
517
- <auro-select onDark error="Custom error message">
518
- <span slot="label">error select example</span>
519
+ <auro-select onDark error="Custom error message" placeholder="Placeholder Text">
519
520
  <span slot="bib.fullscreen.headline">Bib Headline</span>
520
- <label slot="placeholder">Placeholder Text</label>
521
+ <span slot="label">Label</span>
521
522
  <auro-menu>
522
523
  <auro-menuoption value="stops">Stops</auro-menuoption>
523
524
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -535,10 +536,9 @@ Use the `error` boolean attribute to toggle the error UI.
535
536
  <!-- The below code snippet is automatically added from ./../apiExamples/error.html -->
536
537
 
537
538
  ```html
538
- <auro-select error="Custom error message">
539
- <span slot="label">error select example</span>
539
+ <auro-select error="Custom error message" placeholder="Placeholder Text">
540
540
  <span slot="bib.fullscreen.headline">Bib Headline</span>
541
- <label slot="placeholder">Placeholder Text</label>
541
+ <span slot="label">Label</span>
542
542
  <auro-menu>
543
543
  <auro-menuoption value="stops">Stops</auro-menuoption>
544
544
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -552,10 +552,9 @@ Use the `error` boolean attribute to toggle the error UI.
552
552
  <!-- AURO-GENERATED-CONTENT:END -->
553
553
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
554
554
  <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
555
- <auro-select onDark error="Custom error message">
556
- <span slot="label">error select example</span>
555
+ <auro-select onDark error="Custom error message" placeholder="Placeholder Text">
557
556
  <span slot="bib.fullscreen.headline">Bib Headline</span>
558
- <label slot="placeholder">Placeholder Text</label>
557
+ <span slot="label">Label</span>
559
558
  <auro-menu>
560
559
  <auro-menuoption value="stops">Stops</auro-menuoption>
561
560
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -574,10 +573,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
574
573
  <div class="exampleWrapper">
575
574
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
576
575
  <!-- The below content is automatically added from ./../apiExamples/disabled.html -->
577
- <auro-select disabled>
576
+ <auro-select disabled placeholder="Placeholder Text">
578
577
  <span slot="bib.fullscreen.headline">Bib Headline</span>
579
- <label slot="placeholder">Placeholder Text</label>
580
- <span slot="label">disabled select example</span>
578
+ <span slot="label">Label</span>
581
579
  <auro-menu>
582
580
  <auro-menuoption value="stops">Stops</auro-menuoption>
583
581
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -592,10 +590,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
592
590
  <div class="exampleWrapper--ondark" aria-hidden>
593
591
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
594
592
  <!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
595
- <auro-select onDark disabled>
593
+ <auro-select onDark disabled placeholder="Placeholder Text">
596
594
  <span slot="bib.fullscreen.headline">Bib Headline</span>
597
- <label slot="placeholder">Placeholder Text</label>
598
- <span slot="label">disabled select example</span>
595
+ <span slot="label">Label</span>
599
596
  <auro-menu>
600
597
  <auro-menuoption value="stops">Stops</auro-menuoption>
601
598
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -613,10 +610,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
613
610
  <!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
614
611
 
615
612
  ```html
616
- <auro-select disabled>
613
+ <auro-select disabled placeholder="Placeholder Text">
617
614
  <span slot="bib.fullscreen.headline">Bib Headline</span>
618
- <label slot="placeholder">Placeholder Text</label>
619
- <span slot="label">disabled select example</span>
615
+ <span slot="label">Label</span>
620
616
  <auro-menu>
621
617
  <auro-menuoption value="stops">Stops</auro-menuoption>
622
618
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -630,10 +626,9 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
630
626
  <!-- AURO-GENERATED-CONTENT:END -->
631
627
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
632
628
  <!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
633
- <auro-select onDark disabled>
629
+ <auro-select onDark disabled placeholder="Placeholder Text">
634
630
  <span slot="bib.fullscreen.headline">Bib Headline</span>
635
- <label slot="placeholder">Placeholder Text</label>
636
- <span slot="label">disabled select example</span>
631
+ <span slot="label">Label</span>
637
632
  <auro-menu>
638
633
  <auro-menuoption value="stops">Stops</auro-menuoption>
639
634
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -690,10 +685,9 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
690
685
  <div class="exampleWrapper">
691
686
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/flexMenuWidth.html) -->
692
687
  <!-- The below content is automatically added from ../apiExamples/flexMenuWidth.html -->
693
- <auro-select flexMenuWidth id="flexMenuWidthExample">
694
- <span slot="label">flexMenuWidth select example</span>
688
+ <auro-select flexMenuWidth id="flexMenuWidthExample" placeholder="Placeholder Text">
695
689
  <span slot="bib.fullscreen.headline">Bib Headline</span>
696
- <label slot="placeholder">Placeholder Text</label>
690
+ <span slot="label">Label</span>
697
691
  <auro-menu>
698
692
  <auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
699
693
  <auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
@@ -715,10 +709,9 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
715
709
  <!-- The below code snippet is automatically added from ../apiExamples/flexMenuWidth.html -->
716
710
 
717
711
  ```html
718
- <auro-select flexMenuWidth id="flexMenuWidthExample">
719
- <span slot="label">flexMenuWidth select example</span>
712
+ <auro-select flexMenuWidth id="flexMenuWidthExample" placeholder="Placeholder Text">
720
713
  <span slot="bib.fullscreen.headline">Bib Headline</span>
721
- <label slot="placeholder">Placeholder Text</label>
714
+ <span slot="label">Label</span>
722
715
  <auro-menu>
723
716
  <auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
724
717
  <auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
@@ -786,11 +779,10 @@ Use the `helpText` slot to provide additional information back to your user abou
786
779
  <div class="exampleWrapper">
787
780
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
788
781
  <!-- The below content is automatically added from ./../apiExamples/helpText.html -->
789
- <auro-select>
782
+ <auro-select placeholder="Placeholder Text">
790
783
  <span slot="bib.fullscreen.headline">Bib Headline</span>
791
- <label slot="placeholder">Placeholder Text</label>
784
+ <span slot="label">Label</span>
792
785
  <span slot="helpText">Custom help text message.</span>
793
- <span slot="label">helpText select example</span>
794
786
  <auro-menu>
795
787
  <auro-menuoption value="stops">Stops</auro-menuoption>
796
788
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -808,11 +800,10 @@ Use the `helpText` slot to provide additional information back to your user abou
808
800
  <!-- The below code snippet is automatically added from ./../apiExamples/helpText.html -->
809
801
 
810
802
  ```html
811
- <auro-select>
803
+ <auro-select placeholder="Placeholder Text">
812
804
  <span slot="bib.fullscreen.headline">Bib Headline</span>
813
- <label slot="placeholder">Placeholder Text</label>
805
+ <span slot="label">Label</span>
814
806
  <span slot="helpText">Custom help text message.</span>
815
- <span slot="label">helpText select example</span>
816
807
  <auro-menu>
817
808
  <auro-menuoption value="stops">Stops</auro-menuoption>
818
809
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -837,9 +828,9 @@ Use the `reset()` method to reset the `<auro-select>`'s `value` and `validity` s
837
828
  <!-- The below content is automatically added from ./../apiExamples/resetState.html -->
838
829
  <auro-button id="resetStateBtn">Reset</auro-button>
839
830
  <br/><br/>
840
- <auro-select id="resetStateExample" value="price">
831
+ <auro-select id="resetStateExample" value="price" placeholder="Placeholder Text">
841
832
  <span slot="bib.fullscreen.headline">Bib Headline</span>
842
- <label slot="placeholder">Placeholder Text</label>
833
+ <span slot="label">Label</span>
843
834
  <span slot="label">Name</span>
844
835
  <auro-menu>
845
836
  <auro-menuoption value="stops">Stops</auro-menuoption>
@@ -860,9 +851,9 @@ Use the `reset()` method to reset the `<auro-select>`'s `value` and `validity` s
860
851
  ```html
861
852
  <auro-button id="resetStateBtn">Reset</auro-button>
862
853
  <br/><br/>
863
- <auro-select id="resetStateExample" value="price">
854
+ <auro-select id="resetStateExample" value="price" placeholder="Placeholder Text">
864
855
  <span slot="bib.fullscreen.headline">Bib Headline</span>
865
- <label slot="placeholder">Placeholder Text</label>
856
+ <span slot="label">Label</span>
866
857
  <span slot="label">Name</span>
867
858
  <auro-menu>
868
859
  <auro-menuoption value="stops">Stops</auro-menuoption>
@@ -897,10 +888,9 @@ The following example illustrates how a user may query the `element.value` or `e
897
888
  <div class="exampleWrapper">
898
889
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueExtraction.html) -->
899
890
  <!-- The below content is automatically added from ./../apiExamples/valueExtraction.html -->
900
- <auro-select id="valueExtraction">
891
+ <auro-select id="valueExtraction" placeholder="Placeholder Text">
901
892
  <span slot="bib.fullscreen.headline">Bib Headline</span>
902
- <label slot="placeholder">Placeholder Text</label>
903
- <span slot="label">Select Example</span>
893
+ <span slot="label">Label</span>
904
894
  <auro-menu>
905
895
  <auro-menuoption value="stops">Stops</auro-menuoption>
906
896
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -919,10 +909,9 @@ The following example illustrates how a user may query the `element.value` or `e
919
909
  <!-- The below code snippet is automatically added from ./../apiExamples/valueExtraction.html -->
920
910
 
921
911
  ```html
922
- <auro-select id="valueExtraction">
912
+ <auro-select id="valueExtraction" placeholder="Placeholder Text">
923
913
  <span slot="bib.fullscreen.headline">Bib Headline</span>
924
- <label slot="placeholder">Placeholder Text</label>
925
- <span slot="label">Select Example</span>
914
+ <span slot="label">Label</span>
926
915
  <auro-menu>
927
916
  <auro-menuoption value="stops">Stops</auro-menuoption>
928
917
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -961,10 +950,9 @@ This example programmatically adds the `error` state when a user selects an opti
961
950
  <div class="exampleWrapper">
962
951
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customErrorValidity.html) -->
963
952
  <!-- The below content is automatically added from ./../apiExamples/customErrorValidity.html -->
964
- <auro-select id="primaryError">
953
+ <auro-select id="primaryError" placeholder="Placeholder Text">
965
954
  <span slot="bib.fullscreen.headline">Bib Headline</span>
966
- <label slot="placeholder">Placeholder Text</label>
967
- <span slot="label">Select Example</span>
955
+ <span slot="label">Label</span>
968
956
  <auro-menu>
969
957
  <auro-menuoption value="1">1</auro-menuoption>
970
958
  <auro-menuoption value="2">2</auro-menuoption>
@@ -982,10 +970,9 @@ This example programmatically adds the `error` state when a user selects an opti
982
970
  <!-- The below code snippet is automatically added from ./../apiExamples/customErrorValidity.html -->
983
971
 
984
972
  ```html
985
- <auro-select id="primaryError">
973
+ <auro-select id="primaryError" placeholder="Placeholder Text">
986
974
  <span slot="bib.fullscreen.headline">Bib Headline</span>
987
- <label slot="placeholder">Placeholder Text</label>
988
- <span slot="label">Select Example</span>
975
+ <span slot="label">Label</span>
989
976
  <auro-menu>
990
977
  <auro-menuoption value="1">1</auro-menuoption>
991
978
  <auro-menuoption value="2">2</auro-menuoption>
@@ -1372,10 +1359,9 @@ The following example listens for the `auroMenu-selectedOption` event. Once trig
1372
1359
  <div class="exampleWrapper">
1373
1360
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueAlert.html) -->
1374
1361
  <!-- The below content is automatically added from ./../apiExamples/valueAlert.html -->
1375
- <auro-select id="valueAlert">
1376
- <span slot="label">Select Example</span>
1362
+ <auro-select id="valueAlert" placeholder="Placeholder Text">
1377
1363
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1378
- <label slot="placeholder">Placeholder Text</label>
1364
+ <span slot="label">Label</span>
1379
1365
  <auro-menu id="valueAlertMenu">
1380
1366
  <auro-menuoption value="stops">Stops</auro-menuoption>
1381
1367
  <auro-menuoption value="price">Price</auro-menuoption>
@@ -1393,10 +1379,9 @@ The following example listens for the `auroMenu-selectedOption` event. Once trig
1393
1379
  <!-- The below code snippet is automatically added from ./../apiExamples/valueAlert.html -->
1394
1380
 
1395
1381
  ```html
1396
- <auro-select id="valueAlert">
1397
- <span slot="label">Select Example</span>
1382
+ <auro-select id="valueAlert" placeholder="Placeholder Text">
1398
1383
  <span slot="bib.fullscreen.headline">Bib Headline</span>
1399
- <label slot="placeholder">Placeholder Text</label>
1384
+ <span slot="label">Label</span>
1400
1385
  <auro-menu id="valueAlertMenu">
1401
1386
  <auro-menuoption value="stops">Stops</auro-menuoption>
1402
1387
  <auro-menuoption value="price">Price</auro-menuoption>