@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.0 → 0.0.0-pr624.10

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 (80) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +1 -0
  2. package/components/bibtemplate/dist/index.js +88 -6
  3. package/components/bibtemplate/dist/registered.js +88 -6
  4. package/components/checkbox/demo/api.min.js +4 -3
  5. package/components/checkbox/demo/index.min.js +4 -3
  6. package/components/checkbox/dist/index.js +4 -3
  7. package/components/checkbox/dist/registered.js +4 -3
  8. package/components/combobox/demo/api.md +30 -29
  9. package/components/combobox/demo/api.min.js +609 -532
  10. package/components/combobox/demo/index.html +0 -1
  11. package/components/combobox/demo/index.md +43 -0
  12. package/components/combobox/demo/index.min.js +607 -530
  13. package/components/combobox/dist/auro-combobox.d.ts +13 -18
  14. package/components/combobox/dist/index.js +479 -387
  15. package/components/combobox/dist/registered.js +479 -387
  16. package/components/counter/demo/api.min.js +377 -62
  17. package/components/counter/demo/index.min.js +377 -62
  18. package/components/counter/dist/index.js +377 -62
  19. package/components/counter/dist/registered.js +377 -62
  20. package/components/datepicker/demo/api.md +13 -5
  21. package/components/datepicker/demo/api.min.js +868 -438
  22. package/components/datepicker/demo/index.md +13 -0
  23. package/components/datepicker/demo/index.min.js +868 -438
  24. package/components/datepicker/dist/auro-datepicker.d.ts +21 -2
  25. package/components/datepicker/dist/index.js +710 -280
  26. package/components/datepicker/dist/registered.js +710 -280
  27. package/components/dropdown/demo/api.md +2 -2
  28. package/components/dropdown/demo/api.min.js +199 -37
  29. package/components/dropdown/demo/index.md +45 -0
  30. package/components/dropdown/demo/index.min.js +199 -37
  31. package/components/dropdown/dist/auro-dropdown.d.ts +10 -1
  32. package/components/dropdown/dist/auro-dropdownBib.d.ts +8 -0
  33. package/components/dropdown/dist/index.js +199 -37
  34. package/components/dropdown/dist/registered.js +199 -37
  35. package/components/dropdown/dist/styles/classic/color-css.d.ts +2 -0
  36. package/components/dropdown/dist/styles/classic/style-css.d.ts +2 -0
  37. package/components/input/README.md +1 -1
  38. package/components/input/demo/api.md +57 -53
  39. package/components/input/demo/api.min.js +142 -141
  40. package/components/input/demo/index.md +4 -4
  41. package/components/input/demo/index.min.js +142 -141
  42. package/components/input/demo/readme.md +1 -1
  43. package/components/input/dist/auro-input.d.ts +22 -13
  44. package/components/input/dist/base-input.d.ts +1 -1
  45. package/components/input/dist/index.js +142 -141
  46. package/components/input/dist/registered.js +142 -141
  47. package/components/input/dist/styles/classic/color-css.d.ts +2 -0
  48. package/components/input/dist/styles/classic/style-css.d.ts +2 -0
  49. package/components/layoutElement/dist/index.d.ts +1 -0
  50. package/components/layoutElement/dist/index.js +95 -1
  51. package/components/menu/demo/api.md +11 -11
  52. package/components/menu/demo/api.min.js +115 -130
  53. package/components/menu/demo/index.min.js +115 -130
  54. package/components/menu/dist/auro-menu-utils.d.ts +0 -8
  55. package/components/menu/dist/auro-menu.d.ts +3 -8
  56. package/components/menu/dist/index.d.ts +1 -1
  57. package/components/menu/dist/index.js +116 -90
  58. package/components/menu/dist/registered.js +115 -130
  59. package/components/radio/demo/api.min.js +4 -3
  60. package/components/radio/demo/index.min.js +4 -3
  61. package/components/radio/dist/index.js +4 -3
  62. package/components/radio/dist/registered.js +4 -3
  63. package/components/select/demo/api.js +2 -0
  64. package/components/select/demo/api.md +108 -42
  65. package/components/select/demo/api.min.js +1264 -352
  66. package/components/select/demo/index.html +1 -0
  67. package/components/select/demo/index.md +298 -777
  68. package/components/select/demo/index.min.js +1251 -351
  69. package/components/select/dist/auro-select.d.ts +110 -18
  70. package/components/select/dist/helptextVersion.d.ts +2 -0
  71. package/components/select/dist/index.js +1105 -190
  72. package/components/select/dist/registered.js +1105 -190
  73. package/components/select/dist/styles/shapeSize-css.d.ts +2 -0
  74. package/components/select/dist/styles/tokens-css.d.ts +2 -0
  75. package/package.json +3 -3
  76. /package/components/{dropdown → datepicker}/dist/styles/default/color-css.d.ts +0 -0
  77. /package/components/{dropdown/dist/styles/default → datepicker/dist/styles/emphasized}/style-css.d.ts +0 -0
  78. /package/components/{dropdown/dist/styles/default/bibColors-css.d.ts → datepicker/dist/styles/shapeSize-css.d.ts} +0 -0
  79. /package/components/dropdown/dist/styles/{default/bibStyles-css.d.ts → classic/bibColors-css.d.ts} +0 -0
  80. /package/components/dropdown/dist/styles/{style-css.d.ts → classic/bibStyles-css.d.ts} +0 -0
@@ -116,15 +116,19 @@ const t$2=globalThis,i$3=t$2.trustedTypes,s$3=i$3?i$3.createPolicy("lit-html",{c
116
116
  * SPDX-License-Identifier: BSD-3-Clause
117
117
  */const s$2=globalThis;let i$2 = class i extends y$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(r,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}};i$2._$litElement$=true,i$2["finalized"]=true,s$2.litElementHydrateSupport?.({LitElement:i$2});const o$2=s$2.litElementPolyfillSupport;o$2?.({LitElement:i$2});(s$2.litElementVersions??=[]).push("4.2.0");
118
118
 
119
- var shapeSizeCss = i$5`.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:0;min-height:60px;max-height:60px;background-color:unset}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-rounded-lg{min-height:52px;max-height:52px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px}.shape-pill-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px 0 0 34px}.shape-pill-left-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 34px 34px 0}.shape-pill-right-xl.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-md{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px}.shape-pill-md.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-left-md{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:34px 0 0 34px}.shape-pill-left-md.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}.shape-pill-right-md{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 34px 34px 0}.shape-pill-right-md.simple{border-width:0;min-height:72px;max-height:72px;background-color:unset}`;
119
+ 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}.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;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}.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;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}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;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}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;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}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:72px;max-height:72px;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}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:72px;max-height:72px;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}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;min-height:68px;max-height:68px}.shape-pill-md{min-height:72px;max-height:72px;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}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:72px;max-height:72px;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}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:72px;max-height:72px;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}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;min-height:44px;max-height:44px}`;
120
120
 
121
121
  var styleCss$4 = 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}`;
122
122
 
123
123
  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}.layoutDefault label,:host(:not([layout])) label{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}.layoutDefault :host(:not([bordered])) label,:host(:not([layout])) :host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}.layoutDefault :host(:not([bordered])) label.withIcon,:host(:not([layout])) :host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([class=layoutDefault][bordered]) label,:host(:not([layout])[bordered]) label{top:50%;transform:translateY(-50%)}:host([class=layoutDefault][bordered]) label.withIcon,:host(:not([layout])[bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([class=layoutDefault][bordered]) label:not(label.withIcon),:host(:not([layout])[bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}.layoutDefault .wrapper:focus-within label,:host(:not([layout])) .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px);transform:unset}.layoutDefault label.withValue,:host(:not([layout])) label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px);transform:unset}:host([class=layoutDefault][activeLabel]) .wrapper label,:host(:not([layout])[activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-basic-text-body-xs-font-size, 12px);font-weight:var(--ds-basic-text-body-xs-font-weight, 450);letter-spacing:var(--ds-basic-text-body-xs-letter-spacing, 0);line-height:var(--ds-basic-text-body-xs-line-height, 16px);transform:unset}.layoutDefault input,:host(:not([layout])) input{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:relative;overflow:hidden;min-height:var(--ds-size-200, 1rem);max-height:var(--ds-size-200, 1rem);flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-basic-text-body-default-font-family, AS Circular);font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, 450);letter-spacing:var(--ds-basic-text-body-default-letter-spacing, 0);line-height:var(--ds-basic-text-body-default-line-height, 24px);outline:none;text-overflow:ellipsis;white-space:nowrap}.layoutDefault input::-ms-reveal,.layoutDefault input::-ms-clear,:host(:not([layout])) input::-ms-reveal,:host(:not([layout])) input::-ms-clear{display:none}.layoutDefault input::-webkit-outer-spin-button,.layoutDefault input::-webkit-inner-spin-button,:host(:not([layout])) input::-webkit-outer-spin-button,:host(:not([layout])) input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.layoutDefault input[type=number],:host(:not([layout])) input[type=number]{-moz-appearance:textfield;appearance:textfield}.layoutDefault input:disabled,:host(:not([layout])) input:disabled{background:none;pointer-events:none}:host([class=layoutDefault][bordered]) input,:host(:not([layout])[bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}: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}`;
124
124
 
125
- var colorBaseCss = i$5`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{color:var(--ds-auro-input-text-color);caret-color:var(--ds-auro-input-caret-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper .displayValue{background-color:var(--ds-auro-input-background-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
125
+ var colorBaseCss = i$5`.wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-background-color);color:var(--ds-auro-input-text-color)}.wrapper label{color:var(--ds-auro-input-label-text-color)}.wrapper input{caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}.wrapper input::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}.wrapper .displayValue{background-color:var(--ds-auro-input-background-color)}:host(:not([ondark])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-brand, #00274a)}:host([ondark]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host(:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))) .wrapper{--ds-auro-input-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
126
126
 
127
- 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)}: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-advanced-color-state-error-inverse, #f9a4a8)}`;
127
+ 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-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-input-outline-color: transparent}`;
128
+
129
+ 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-direction:column;justify-content:center;flex:1;cursor:text}.layout-classic .mainContent label{cursor:text;padding-top:4px;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{font-size:var(--ds-basic-text-body-default-font-size, 16px);line-height:var(--ds-basic-text-body-default-line-height, 24px);padding-bottom:8px;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);height:auto}.layout-classic .mainContent:has(input.util_displayHiddenVisually) label{justify-self:flex-start;padding-top:0;font-size:var(--ds-text-body-size-default, 1rem);line-height:var(--ds-text-body-size-default)}.layout-classic .mainContent:has(input.util_displayHiddenVisually) input{height:0;line-height:0;padding-bottom:0}.layout-classic .displayValue{position:absolute;top:0;right:0;bottom:0;left:0;display:none}.layout-classic .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-classic .accents{display:flex;flex-direction:row;justify-content:center;align-items:center}.layout-classic.withValue{justify-content:flex-start}.layout-classic:focus-within{justify-content:flex-start}.layout-classic:focus-within .alertNotification{display:none}.layout-classic .accents.left{padding-left:8px}.layout-classic .accents.right{padding-right:8px}`;
130
+
131
+ 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-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-input-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host([layout*=classic][ondark]:is([validity]:not([validity=valid]))) .layout-classic:focus-within{--ds-auro-input-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-input-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
128
132
 
129
133
  var emphasizedStyleCss = i$5`:host{display:block}.wrapper{cursor:text}.helpTextClasses{cursor:default}input{background:unset;width:100%;padding:0;border:0;outline:none;overflow:hidden;text-overflow:ellipsis}:host([layout*=emphasized][shape*=pill]:not([layout*=right])) .leftIndent{margin-left:24px;width:calc(100% - 24px)}:host([layout*=emphasized][shape*=pill]:not([layout*=left])) .rightIndent{margin-right:24px;width:calc(100% - 24px)}:host([layout*=emphasized][shape*=pill]:not([layout*=left]):not([layout*=right])) .rightIndent{margin-right:24px;width:calc(100% - 48px)}.layout-emphasized,.layout-emphasized-left,.layout-emphasized-right{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-emphasized label,.layout-emphasized-left label,.layout-emphasized-right label{text-transform:uppercase;font-size:32px;line-height:38px}.layout-emphasized input,.layout-emphasized-left input,.layout-emphasized-right input{text-align:center;font-size:14px;line-height:20px}.layout-emphasized .mainContent,.layout-emphasized-left .mainContent,.layout-emphasized-right .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1}.layout-emphasized .displayValue,.layout-emphasized-left .displayValue,.layout-emphasized-right .displayValue{position:absolute;top:0;right:0;bottom:0;left:0;display:none}.layout-emphasized .displayValue.hasContent:is(.withValue):not(.hasFocus),.layout-emphasized-left .displayValue.hasContent:is(.withValue):not(.hasFocus),.layout-emphasized-right .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-emphasized .displayValueWrapper,.layout-emphasized-left .displayValueWrapper,.layout-emphasized-right .displayValueWrapper{transform:translateY(-50%)}.layout-emphasized .accents,.layout-emphasized-left .accents,.layout-emphasized-right .accents{display:flex;flex-direction:row;justify-content:center;align-items:center}.layout-emphasized.withValue,.layout-emphasized-left.withValue,.layout-emphasized-right.withValue{justify-content:flex-start}.layout-emphasized.withValue label,.layout-emphasized-left.withValue label,.layout-emphasized-right.withValue label{display:block;text-transform:unset;font-size:10px;line-height:14px;width:100%;text-align:left}.layout-emphasized.withValue input,.layout-emphasized-left.withValue input,.layout-emphasized-right.withValue input{text-transform:uppercase;font-size:32px;line-height:38px;text-align:left;width:100%}.layout-emphasized:not(:focus-within):not(:is([validity]:not([validity=valid]))),.layout-emphasized-left:not(:focus-within):not(:is([validity]:not([validity=valid]))),.layout-emphasized-right:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-emphasized:focus-within,.layout-emphasized-left:focus-within,.layout-emphasized-right:focus-within{justify-content:flex-start}.layout-emphasized:focus-within label,.layout-emphasized-left:focus-within label,.layout-emphasized-right:focus-within label{display:block;text-transform:unset;font-size:10px;line-height:14px;width:100%;text-align:left}.layout-emphasized:focus-within input,.layout-emphasized-left:focus-within input,.layout-emphasized-right:focus-within input{text-transform:uppercase;font-size:32px;line-height:38px;text-align:left;width:100%}.layout-emphasized:focus-within .alertNotification,.layout-emphasized-left:focus-within .alertNotification,.layout-emphasized-right:focus-within .alertNotification{display:none}.layout-emphasized .accents.left,.layout-emphasized-left .accents.left,.layout-emphasized-right .accents.left{padding-left:24px}.layout-emphasized .accents.right,.layout-emphasized-left .accents.right,.layout-emphasized-right .accents.right{padding-right:24px}.layout-emphasized-left .alertNotification{margin-right:8px}.layout-emphasized-left .clear{margin-left:8px}.layout-emphasized-right .alertNotification{margin-left:8px}.layout-emphasized-right .clear{margin-right:8px}`;
130
134
 
@@ -4190,9 +4194,10 @@ class DateFormatter {
4190
4194
  /**
4191
4195
  * Convert a date object to string format.
4192
4196
  * @param {Object} date - Date to convert to string.
4193
- * @returns {Object} Returns the date as a string.
4197
+ * @param {String} locale - Optional locale to use for the date string. Defaults to user's locale.
4198
+ * @returns {String} Returns the date as a string.
4194
4199
  */
4195
- this.getDateAsString = (date) => date.toLocaleDateString(undefined, {
4200
+ this.getDateAsString = (date, locale = undefined) => date.toLocaleDateString(locale, {
4196
4201
  year: "numeric",
4197
4202
  month: "2-digit",
4198
4203
  day: "2-digit",
@@ -4384,7 +4389,7 @@ class AuroDateUtilities extends AuroDateUtilitiesBase {
4384
4389
  const dateObj = new Date(this.getFourDigitYear(dateParts.year), dateParts.month - 1, dateParts.day || 1);
4385
4390
 
4386
4391
  // Get the date string of the date object we created from the string date
4387
- const actualDateStr = dateFormatter.getDateAsString(dateObj);
4392
+ const actualDateStr = dateFormatter.getDateAsString(dateObj, "en-US");
4388
4393
 
4389
4394
  // Guard Clause: Generated date matches date string input
4390
4395
  if (expectedDateStr !== actualDateStr) {
@@ -4549,7 +4554,7 @@ const {
4549
4554
 
4550
4555
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
4551
4556
 
4552
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
4557
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
4553
4558
 
4554
4559
  /* eslint-disable jsdoc/require-param */
4555
4560
 
@@ -4619,7 +4624,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
4619
4624
  class AuroFormValidation {
4620
4625
 
4621
4626
  constructor() {
4622
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
4627
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
4623
4628
  }
4624
4629
 
4625
4630
  /**
@@ -5109,9 +5114,9 @@ class BaseInput extends AuroElement$1 {
5109
5114
  this.required = false;
5110
5115
  this.setCustomValidityForType = undefined;
5111
5116
 
5112
- this.layout = 'default';
5113
- this.shape = 'rounded';
5114
- this.size = 'xl';
5117
+ this.layout = 'classic';
5118
+ this.shape = 'classic';
5119
+ this.size = 'lg';
5115
5120
  }
5116
5121
 
5117
5122
  /**
@@ -5499,8 +5504,8 @@ class BaseInput extends AuroElement$1 {
5499
5504
  },
5500
5505
 
5501
5506
  /**
5507
+ * The id for input node.
5502
5508
  * @private
5503
- * id for input node
5504
5509
  */
5505
5510
  inputId: {
5506
5511
  type: String,
@@ -6324,6 +6329,76 @@ var tokensCss$3 = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
6324
6329
 
6325
6330
  var colorCss$3 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]){--ds-auro-icon-color:var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
6326
6331
 
6332
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
6333
+ // See LICENSE in the project root for license information.
6334
+
6335
+ // ---------------------------------------------------------------------
6336
+
6337
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6338
+
6339
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
6340
+
6341
+ /* eslint-disable jsdoc/require-param */
6342
+
6343
+ /**
6344
+ * This will register a new custom element with the browser.
6345
+ * @param {String} name - The name of the custom element.
6346
+ * @param {Object} componentClass - The class to register as a custom element.
6347
+ * @returns {void}
6348
+ */
6349
+ registerComponent(name, componentClass) {
6350
+ if (!customElements.get(name)) {
6351
+ customElements.define(name, class extends componentClass {});
6352
+ }
6353
+ }
6354
+
6355
+ /**
6356
+ * Finds and returns the closest HTML Element based on a selector.
6357
+ * @returns {void}
6358
+ */
6359
+ closestElement(
6360
+ selector, // selector like in .closest()
6361
+ base = this, // extra functionality to skip a parent
6362
+ __Closest = (el, found = el && el.closest(selector)) =>
6363
+ !el || el === document || el === window
6364
+ ? null // standard .closest() returns null for non-found selectors also
6365
+ : found
6366
+ ? found // found a selector INside this element
6367
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
6368
+ ) {
6369
+ return __Closest(base);
6370
+ }
6371
+ /* eslint-enable jsdoc/require-param */
6372
+
6373
+ /**
6374
+ * If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
6375
+ * @param {Object} elem - The element to check.
6376
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
6377
+ * @returns {void}
6378
+ */
6379
+ handleComponentTagRename(elem, tagName) {
6380
+ const tag = tagName.toLowerCase();
6381
+ const elemTag = elem.tagName.toLowerCase();
6382
+
6383
+ if (elemTag !== tag) {
6384
+ elem.setAttribute(tag, true);
6385
+ }
6386
+ }
6387
+
6388
+ /**
6389
+ * Validates if an element is a specific Auro component.
6390
+ * @param {Object} elem - The element to validate.
6391
+ * @param {String} tagName - The name of the Auro component to check against.
6392
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
6393
+ */
6394
+ elementMatch(elem, tagName) {
6395
+ const tag = tagName.toLowerCase();
6396
+ const elemTag = elem.tagName.toLowerCase();
6397
+
6398
+ return elemTag === tag || elem.hasAttribute(tag);
6399
+ }
6400
+ };
6401
+
6327
6402
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6328
6403
  // See LICENSE in the project root for license information.
6329
6404
 
@@ -6531,7 +6606,7 @@ class AuroLoader extends i$2 {
6531
6606
  /**
6532
6607
  * @private
6533
6608
  */
6534
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
6609
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
6535
6610
 
6536
6611
  this.orbit = false;
6537
6612
  this.ringworm = false;
@@ -6594,7 +6669,7 @@ class AuroLoader extends i$2 {
6594
6669
  *
6595
6670
  */
6596
6671
  static register(name = "auro-loader") {
6597
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
6672
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
6598
6673
  }
6599
6674
 
6600
6675
  firstUpdated() {
@@ -6898,7 +6973,7 @@ class AuroButton extends i$2 {
6898
6973
  *
6899
6974
  */
6900
6975
  static register(name = "auro-button") {
6901
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
6976
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroButton);
6902
6977
  }
6903
6978
 
6904
6979
  /**
@@ -7236,6 +7311,8 @@ class AuroInput extends BaseInput {
7236
7311
 
7237
7312
  static get styles() {
7238
7313
  return [
7314
+ i$5`${classicStyleCss}`,
7315
+ i$5`${classicColorCss}`,
7239
7316
  i$5`${shapeSizeCss}`,
7240
7317
  i$5`${colorBaseCss}`,
7241
7318
  i$5`${styleCss$4}`,
@@ -7262,7 +7339,7 @@ class AuroInput extends BaseInput {
7262
7339
  /**
7263
7340
  * Returns classmap configuration for html5 inputs in all layouts.
7264
7341
  * @private
7265
- * @returns {void}
7342
+ * @returns {object} - Returns classmap.
7266
7343
  */
7267
7344
  get commonInputClasses() {
7268
7345
  return {
@@ -7270,6 +7347,23 @@ class AuroInput extends BaseInput {
7270
7347
  };
7271
7348
  }
7272
7349
 
7350
+ /**
7351
+ * Returns classmap configuration for html5 inputs in each layout.
7352
+ * @private
7353
+ * @returns {object} - Returns classmap.
7354
+ */
7355
+ get legacyInputClasses() {
7356
+ return {
7357
+ ...this.commonInputClasses,
7358
+ 'util_displayHiddenVisually': !this.hasFocus && !this.value
7359
+ };
7360
+ }
7361
+
7362
+ /**
7363
+ * Returns classmap configuration for wrapper elements in each layout.
7364
+ * @private
7365
+ * @returns {object} - Returns classmap.
7366
+ */
7273
7367
  get commonWrapperClasses() {
7274
7368
  return {
7275
7369
  'wrapper': true,
@@ -7278,6 +7372,11 @@ class AuroInput extends BaseInput {
7278
7372
  };
7279
7373
  }
7280
7374
 
7375
+ /**
7376
+ * Returns classmap configuration for helpText elements in each layout.
7377
+ * @private
7378
+ * @returns {object} - Returns classmap.
7379
+ */
7281
7380
  get helpTextClasses() {
7282
7381
  return {
7283
7382
  'helpTextWrapper': true,
@@ -7295,7 +7394,7 @@ class AuroInput extends BaseInput {
7295
7394
  *
7296
7395
  */
7297
7396
  static register(name = "auro-input") {
7298
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
7397
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroInput);
7299
7398
  }
7300
7399
 
7301
7400
  /**
@@ -7351,16 +7450,22 @@ class AuroInput extends BaseInput {
7351
7450
  /**
7352
7451
  * Returns HTML for the HTML5 input element.
7353
7452
  * @private
7453
+ * @param {boolean} [useLegacyHiddenState=false] - If true, the input will be visually hidden when not focused and has no value.
7354
7454
  * @returns {html} - Returns HTML for the HTML5 input element.
7355
7455
  */
7356
- renderHtmlInput() {
7456
+ renderHtmlInput(useLegacyHiddenState = false) {
7357
7457
  const displayValueClasses = {
7358
7458
  'displayValue': true,
7359
7459
  'hasContent': this.hasDisplayValueContent,
7360
7460
  'hasFocus': this.hasFocus,
7361
- 'withValue': this.value && this.value.length > 0
7461
+ 'withValue': this.value && this.value.length > 0,
7362
7462
  };
7363
7463
 
7464
+ // Remove this when the classic layout is sunset.
7465
+ const inputOverrideClasses = useLegacyHiddenState
7466
+ ? this.legacyInputClasses
7467
+ : this.commonInputClasses;
7468
+
7364
7469
  return u$2`
7365
7470
  <label for=${this.id} class="${e(this.commonLabelClasses)}" part="label">
7366
7471
  <slot name="label">
@@ -7381,6 +7486,7 @@ class AuroInput extends BaseInput {
7381
7486
  autocapitalize="${o(this.autocapitalize ? this.autocapitalize : undefined)}"
7382
7487
  autocomplete="${o(this.autocomplete ? this.autocomplete : undefined)}"
7383
7488
  autocorrect="${o(this.autocorrect ? this.autocorrect : undefined)}"
7489
+ class="${e(inputOverrideClasses)}"
7384
7490
  id="${this.inputId}"
7385
7491
  inputMode="${o(this.inputMode ? this.inputMode : undefined)}"
7386
7492
  lang="${o(this.lang)}"
@@ -7524,139 +7630,34 @@ class AuroInput extends BaseInput {
7524
7630
  }
7525
7631
 
7526
7632
  /**
7527
- * Returns HTML for the default layout.
7633
+ * Returns HTML for the classic layout.
7528
7634
  * @private
7529
- * @returns {html} - Returns HTML for the default layout.
7635
+ * @returns {import("lit").TemplateResult} - Returns HTML for the classic layout.
7530
7636
  */
7531
7637
  renderLayoutClassic() {
7532
- const wrapperClasses = {
7533
- 'layoutDefault': true
7534
- };
7535
-
7536
- // is-disabled class - THIS IS ONLY HERE TO MAKE A TEST PASS AS FAR AS I CAN TELL
7537
- const labelClasses = {
7538
- 'is-disabled': this.disabled,
7539
- 'withIcon': this.hasTypeIcon(),
7540
- 'withValue': this.value && this.value.length > 0
7541
- };
7542
-
7543
7638
  return u$2`
7544
- <div class="${e(wrapperClasses)}" part="wrapper">
7545
- <div class="main">
7546
- <div class="typeIcon">
7547
- ${this.type === 'credit-card' ? this.processCreditCard() : undefined}
7548
-
7549
- <!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
7550
- This should be cleaned up when auro-icon issue #31 is resolved. -->
7551
- ${this.inputIconName
7552
- ? c([this.inputIconName], (val) => val, (name) => u$2`
7553
- <${this.iconTag}
7554
- class="accentIcon"
7555
- category="payment"
7556
- name="${name}"
7557
- part="accentIcon"
7558
- ?onDark="${this.onDark}"
7559
- variant="${this.disabled ? 'disabled' : 'muted'}">
7560
- </${this.iconTag}>
7561
- `) : undefined
7562
- }
7563
-
7564
- ${this.type === 'date'
7565
- ? u$2`
7566
- <${this.iconTag}
7567
- class="accentIcon"
7568
- category="interface"
7569
- name="calendar"
7570
- part="accentIcon"
7571
- ?onDark="${this.onDark}"
7572
- variant="${this.disabled ? 'disabled' : 'muted'}">
7573
- </${this.iconTag}>`
7574
- : undefined
7575
- }
7576
- </div>
7577
- <label for=${this.id} class="${e(labelClasses)}" part="label">
7578
- <slot name="label">
7579
- ${this.label}
7580
- </slot>
7581
- ${this.required ? '' : ` (${i18n(this.lang, 'optional')})`}
7582
- </label>
7583
-
7584
- ${this.renderHtmlInput()}
7639
+ <div
7640
+ @click="${this.handleClick}"
7641
+ class="${e(this.commonWrapperClasses)} thin"
7642
+ part="wrapper">
7643
+ <div class="accents left">
7644
+ ${this.renderHtmlTypeIcon()}
7585
7645
  </div>
7586
- <div
7587
- class="notificationIcons"
7588
- part="notificationIcons"
7589
- ?hasValue="${this.hasValue}">
7590
- ${this.validity && this.validity !== 'valid' ? u$2`
7591
- <div class="notification alertNotification">
7592
- <${this.iconTag}
7593
- category="alert"
7594
- customColor
7595
- name="error-stroke"
7596
- </${this.iconTag}>
7597
- </div>
7598
- ` : undefined}
7646
+ <div class="mainContent">
7647
+ ${this.renderHtmlInput(true)}
7648
+ </div>
7649
+ <div class="accents right">
7650
+ ${this.renderValidationErrorIconHtml()}
7599
7651
  ${this.hasValue ? u$2`
7600
- ${this.type === 'password' ? u$2`
7601
- <div class="notification">
7602
- <${this.buttonTag}
7603
- @click="${this.handleClickShowPassword}"
7604
- ?onDark="${this.onDark}"
7605
- aria-hidden="true"
7606
- class="notificationBtn passwordBtn"
7607
- tabindex="-1"
7608
- variant="flat">
7609
- <${this.iconTag}
7610
- ?hidden=${!this.showPassword}
7611
- category="interface"
7612
- customColor
7613
- name="hide-password-stroke">
7614
- </${this.iconTag}>
7615
- <${this.iconTag}
7616
- ?hidden=${this.showPassword}
7617
- category="interface"
7618
- customColor
7619
- name="view-password-stroke">
7620
- </${this.iconTag}>
7621
- </${this.buttonTag}>
7622
- </div>
7623
- ` : undefined}
7624
7652
  ${!this.disabled && !this.readonly ? u$2`
7625
- <div class="notification">
7626
- <${this.buttonTag}
7627
- @click="${this.handleClickClear}"
7628
- ?onDark="${this.onDark}"
7629
- arialabel="${i18n(this.lang, 'clearInput')}"
7630
- class="notificationBtn clearBtn"
7631
- variant="flat">
7632
- <${this.iconTag}
7633
- category="interface"
7634
- customColor
7635
- name="x-lg">
7636
- </${this.iconTag}>
7637
- </${this.buttonTag}>
7638
- </div>
7653
+ ${this.renderHtmlActionClear()}
7639
7654
  ` : undefined}
7640
7655
  ` : undefined}
7641
7656
  </div>
7642
7657
  </div>
7643
- <!-- Help text and error message template -->
7644
- ${!this.validity || this.validity === undefined || this.validity === 'valid'
7645
- ? u$2`
7646
- <${this.helpTextTag} ?onDark="${this.onDark}">
7647
- <p id="${this.uniqueId}" part="helpText">
7648
- <slot name="helptext">${this.getHelpText()}</slot>
7649
- </p>
7650
- </${this.helpTextTag}>
7651
- `
7652
- : u$2`
7653
- <${this.helpTextTag} error ?onDark="${this.onDark}">
7654
- <p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
7655
- ${this.errorMessage}
7656
- </p>
7657
- </${this.helpTextTag}>
7658
- `
7659
- }
7658
+ <div class="helpTextWrapper leftIndent rightIndent" part="inputHelpText">
7659
+ ${this.renderHtmlHelpText()}
7660
+ </div>
7660
7661
  `;
7661
7662
  }
7662
7663
 
@@ -67,13 +67,13 @@ The default component supports the basic input `type="text"` structure. The `(op
67
67
  <div class="exampleWrapper">
68
68
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
69
69
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
70
- <auro-input bordered></auro-input>
70
+ <auro-input bordered shape="rounded" size="lg"></auro-input>
71
71
  <!-- AURO-GENERATED-CONTENT:END -->
72
72
  </div>
73
73
  <div class="exampleWrapper--ondark" aria-hidden>
74
74
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
75
75
  <!-- The below content is automatically added from ./../apiExamples/onDark.html -->
76
- <auro-input onDark bordered></auro-input>
76
+ <auro-input onDark bordered shape="rounded" size="lg"></auro-input>
77
77
  <!-- AURO-GENERATED-CONTENT:END -->
78
78
  </div>
79
79
  <auro-accordion alignRight>
@@ -82,14 +82,14 @@ The default component supports the basic input `type="text"` structure. The `(op
82
82
  <!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
83
83
 
84
84
  ```html
85
- <auro-input bordered></auro-input>
85
+ <auro-input bordered shape="rounded" size="lg"></auro-input>
86
86
  ```
87
87
  <!-- AURO-GENERATED-CONTENT:END -->
88
88
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/onDark.html) -->
89
89
  <!-- The below code snippet is automatically added from ./../apiExamples/onDark.html -->
90
90
 
91
91
  ```html
92
- <auro-input onDark bordered></auro-input>
92
+ <auro-input onDark bordered shape="rounded" size="lg"></auro-input>
93
93
  ```
94
94
  <!-- AURO-GENERATED-CONTENT:END -->
95
95
  </auro-accordion>