@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
@@ -41,15 +41,19 @@ const t$2=globalThis,i$3=t$2.trustedTypes,s$3=i$3?i$3.createPolicy("lit-html",{c
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
42
  */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");
43
43
 
44
- 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}`;
44
+ 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}`;
45
45
 
46
46
  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}`;
47
47
 
48
48
  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}`;
49
49
 
50
- 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)}`;
50
+ 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)}`;
51
51
 
52
- 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)}`;
52
+ 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}`;
53
+
54
+ 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}`;
55
+
56
+ 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)}`;
53
57
 
54
58
  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}`;
55
59
 
@@ -4115,9 +4119,10 @@ class DateFormatter {
4115
4119
  /**
4116
4120
  * Convert a date object to string format.
4117
4121
  * @param {Object} date - Date to convert to string.
4118
- * @returns {Object} Returns the date as a string.
4122
+ * @param {String} locale - Optional locale to use for the date string. Defaults to user's locale.
4123
+ * @returns {String} Returns the date as a string.
4119
4124
  */
4120
- this.getDateAsString = (date) => date.toLocaleDateString(undefined, {
4125
+ this.getDateAsString = (date, locale = undefined) => date.toLocaleDateString(locale, {
4121
4126
  year: "numeric",
4122
4127
  month: "2-digit",
4123
4128
  day: "2-digit",
@@ -4309,7 +4314,7 @@ class AuroDateUtilities extends AuroDateUtilitiesBase {
4309
4314
  const dateObj = new Date(this.getFourDigitYear(dateParts.year), dateParts.month - 1, dateParts.day || 1);
4310
4315
 
4311
4316
  // Get the date string of the date object we created from the string date
4312
- const actualDateStr = dateFormatter.getDateAsString(dateObj);
4317
+ const actualDateStr = dateFormatter.getDateAsString(dateObj, "en-US");
4313
4318
 
4314
4319
  // Guard Clause: Generated date matches date string input
4315
4320
  if (expectedDateStr !== actualDateStr) {
@@ -4474,7 +4479,7 @@ const {
4474
4479
 
4475
4480
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
4476
4481
 
4477
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
4482
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
4478
4483
 
4479
4484
  /* eslint-disable jsdoc/require-param */
4480
4485
 
@@ -4544,7 +4549,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
4544
4549
  class AuroFormValidation {
4545
4550
 
4546
4551
  constructor() {
4547
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
4552
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
4548
4553
  }
4549
4554
 
4550
4555
  /**
@@ -5034,9 +5039,9 @@ class BaseInput extends AuroElement$1 {
5034
5039
  this.required = false;
5035
5040
  this.setCustomValidityForType = undefined;
5036
5041
 
5037
- this.layout = 'default';
5038
- this.shape = 'rounded';
5039
- this.size = 'xl';
5042
+ this.layout = 'classic';
5043
+ this.shape = 'classic';
5044
+ this.size = 'lg';
5040
5045
  }
5041
5046
 
5042
5047
  /**
@@ -5424,8 +5429,8 @@ class BaseInput extends AuroElement$1 {
5424
5429
  },
5425
5430
 
5426
5431
  /**
5432
+ * The id for input node.
5427
5433
  * @private
5428
- * id for input node
5429
5434
  */
5430
5435
  inputId: {
5431
5436
  type: String,
@@ -6249,6 +6254,76 @@ var tokensCss$3 = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-d
6249
6254
 
6250
6255
  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)}`;
6251
6256
 
6257
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
6258
+ // See LICENSE in the project root for license information.
6259
+
6260
+ // ---------------------------------------------------------------------
6261
+
6262
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
6263
+
6264
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
6265
+
6266
+ /* eslint-disable jsdoc/require-param */
6267
+
6268
+ /**
6269
+ * This will register a new custom element with the browser.
6270
+ * @param {String} name - The name of the custom element.
6271
+ * @param {Object} componentClass - The class to register as a custom element.
6272
+ * @returns {void}
6273
+ */
6274
+ registerComponent(name, componentClass) {
6275
+ if (!customElements.get(name)) {
6276
+ customElements.define(name, class extends componentClass {});
6277
+ }
6278
+ }
6279
+
6280
+ /**
6281
+ * Finds and returns the closest HTML Element based on a selector.
6282
+ * @returns {void}
6283
+ */
6284
+ closestElement(
6285
+ selector, // selector like in .closest()
6286
+ base = this, // extra functionality to skip a parent
6287
+ __Closest = (el, found = el && el.closest(selector)) =>
6288
+ !el || el === document || el === window
6289
+ ? null // standard .closest() returns null for non-found selectors also
6290
+ : found
6291
+ ? found // found a selector INside this element
6292
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
6293
+ ) {
6294
+ return __Closest(base);
6295
+ }
6296
+ /* eslint-enable jsdoc/require-param */
6297
+
6298
+ /**
6299
+ * 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.
6300
+ * @param {Object} elem - The element to check.
6301
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
6302
+ * @returns {void}
6303
+ */
6304
+ handleComponentTagRename(elem, tagName) {
6305
+ const tag = tagName.toLowerCase();
6306
+ const elemTag = elem.tagName.toLowerCase();
6307
+
6308
+ if (elemTag !== tag) {
6309
+ elem.setAttribute(tag, true);
6310
+ }
6311
+ }
6312
+
6313
+ /**
6314
+ * Validates if an element is a specific Auro component.
6315
+ * @param {Object} elem - The element to validate.
6316
+ * @param {String} tagName - The name of the Auro component to check against.
6317
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
6318
+ */
6319
+ elementMatch(elem, tagName) {
6320
+ const tag = tagName.toLowerCase();
6321
+ const elemTag = elem.tagName.toLowerCase();
6322
+
6323
+ return elemTag === tag || elem.hasAttribute(tag);
6324
+ }
6325
+ };
6326
+
6252
6327
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6253
6328
  // See LICENSE in the project root for license information.
6254
6329
 
@@ -6456,7 +6531,7 @@ class AuroLoader extends i$2 {
6456
6531
  /**
6457
6532
  * @private
6458
6533
  */
6459
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
6534
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
6460
6535
 
6461
6536
  this.orbit = false;
6462
6537
  this.ringworm = false;
@@ -6519,7 +6594,7 @@ class AuroLoader extends i$2 {
6519
6594
  *
6520
6595
  */
6521
6596
  static register(name = "auro-loader") {
6522
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
6597
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroLoader);
6523
6598
  }
6524
6599
 
6525
6600
  firstUpdated() {
@@ -6823,7 +6898,7 @@ class AuroButton extends i$2 {
6823
6898
  *
6824
6899
  */
6825
6900
  static register(name = "auro-button") {
6826
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
6901
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroButton);
6827
6902
  }
6828
6903
 
6829
6904
  /**
@@ -7161,6 +7236,8 @@ class AuroInput extends BaseInput {
7161
7236
 
7162
7237
  static get styles() {
7163
7238
  return [
7239
+ i$5`${classicStyleCss}`,
7240
+ i$5`${classicColorCss}`,
7164
7241
  i$5`${shapeSizeCss}`,
7165
7242
  i$5`${colorBaseCss}`,
7166
7243
  i$5`${styleCss$4}`,
@@ -7187,7 +7264,7 @@ class AuroInput extends BaseInput {
7187
7264
  /**
7188
7265
  * Returns classmap configuration for html5 inputs in all layouts.
7189
7266
  * @private
7190
- * @returns {void}
7267
+ * @returns {object} - Returns classmap.
7191
7268
  */
7192
7269
  get commonInputClasses() {
7193
7270
  return {
@@ -7195,6 +7272,23 @@ class AuroInput extends BaseInput {
7195
7272
  };
7196
7273
  }
7197
7274
 
7275
+ /**
7276
+ * Returns classmap configuration for html5 inputs in each layout.
7277
+ * @private
7278
+ * @returns {object} - Returns classmap.
7279
+ */
7280
+ get legacyInputClasses() {
7281
+ return {
7282
+ ...this.commonInputClasses,
7283
+ 'util_displayHiddenVisually': !this.hasFocus && !this.value
7284
+ };
7285
+ }
7286
+
7287
+ /**
7288
+ * Returns classmap configuration for wrapper elements in each layout.
7289
+ * @private
7290
+ * @returns {object} - Returns classmap.
7291
+ */
7198
7292
  get commonWrapperClasses() {
7199
7293
  return {
7200
7294
  'wrapper': true,
@@ -7203,6 +7297,11 @@ class AuroInput extends BaseInput {
7203
7297
  };
7204
7298
  }
7205
7299
 
7300
+ /**
7301
+ * Returns classmap configuration for helpText elements in each layout.
7302
+ * @private
7303
+ * @returns {object} - Returns classmap.
7304
+ */
7206
7305
  get helpTextClasses() {
7207
7306
  return {
7208
7307
  'helpTextWrapper': true,
@@ -7220,7 +7319,7 @@ class AuroInput extends BaseInput {
7220
7319
  *
7221
7320
  */
7222
7321
  static register(name = "auro-input") {
7223
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
7322
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroInput);
7224
7323
  }
7225
7324
 
7226
7325
  /**
@@ -7276,16 +7375,22 @@ class AuroInput extends BaseInput {
7276
7375
  /**
7277
7376
  * Returns HTML for the HTML5 input element.
7278
7377
  * @private
7378
+ * @param {boolean} [useLegacyHiddenState=false] - If true, the input will be visually hidden when not focused and has no value.
7279
7379
  * @returns {html} - Returns HTML for the HTML5 input element.
7280
7380
  */
7281
- renderHtmlInput() {
7381
+ renderHtmlInput(useLegacyHiddenState = false) {
7282
7382
  const displayValueClasses = {
7283
7383
  'displayValue': true,
7284
7384
  'hasContent': this.hasDisplayValueContent,
7285
7385
  'hasFocus': this.hasFocus,
7286
- 'withValue': this.value && this.value.length > 0
7386
+ 'withValue': this.value && this.value.length > 0,
7287
7387
  };
7288
7388
 
7389
+ // Remove this when the classic layout is sunset.
7390
+ const inputOverrideClasses = useLegacyHiddenState
7391
+ ? this.legacyInputClasses
7392
+ : this.commonInputClasses;
7393
+
7289
7394
  return u$2`
7290
7395
  <label for=${this.id} class="${e(this.commonLabelClasses)}" part="label">
7291
7396
  <slot name="label">
@@ -7306,6 +7411,7 @@ class AuroInput extends BaseInput {
7306
7411
  autocapitalize="${o(this.autocapitalize ? this.autocapitalize : undefined)}"
7307
7412
  autocomplete="${o(this.autocomplete ? this.autocomplete : undefined)}"
7308
7413
  autocorrect="${o(this.autocorrect ? this.autocorrect : undefined)}"
7414
+ class="${e(inputOverrideClasses)}"
7309
7415
  id="${this.inputId}"
7310
7416
  inputMode="${o(this.inputMode ? this.inputMode : undefined)}"
7311
7417
  lang="${o(this.lang)}"
@@ -7449,139 +7555,34 @@ class AuroInput extends BaseInput {
7449
7555
  }
7450
7556
 
7451
7557
  /**
7452
- * Returns HTML for the default layout.
7558
+ * Returns HTML for the classic layout.
7453
7559
  * @private
7454
- * @returns {html} - Returns HTML for the default layout.
7560
+ * @returns {import("lit").TemplateResult} - Returns HTML for the classic layout.
7455
7561
  */
7456
7562
  renderLayoutClassic() {
7457
- const wrapperClasses = {
7458
- 'layoutDefault': true
7459
- };
7460
-
7461
- // is-disabled class - THIS IS ONLY HERE TO MAKE A TEST PASS AS FAR AS I CAN TELL
7462
- const labelClasses = {
7463
- 'is-disabled': this.disabled,
7464
- 'withIcon': this.hasTypeIcon(),
7465
- 'withValue': this.value && this.value.length > 0
7466
- };
7467
-
7468
7563
  return u$2`
7469
- <div class="${e(wrapperClasses)}" part="wrapper">
7470
- <div class="main">
7471
- <div class="typeIcon">
7472
- ${this.type === 'credit-card' ? this.processCreditCard() : undefined}
7473
-
7474
- <!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
7475
- This should be cleaned up when auro-icon issue #31 is resolved. -->
7476
- ${this.inputIconName
7477
- ? c([this.inputIconName], (val) => val, (name) => u$2`
7478
- <${this.iconTag}
7479
- class="accentIcon"
7480
- category="payment"
7481
- name="${name}"
7482
- part="accentIcon"
7483
- ?onDark="${this.onDark}"
7484
- variant="${this.disabled ? 'disabled' : 'muted'}">
7485
- </${this.iconTag}>
7486
- `) : undefined
7487
- }
7488
-
7489
- ${this.type === 'date'
7490
- ? u$2`
7491
- <${this.iconTag}
7492
- class="accentIcon"
7493
- category="interface"
7494
- name="calendar"
7495
- part="accentIcon"
7496
- ?onDark="${this.onDark}"
7497
- variant="${this.disabled ? 'disabled' : 'muted'}">
7498
- </${this.iconTag}>`
7499
- : undefined
7500
- }
7501
- </div>
7502
- <label for=${this.id} class="${e(labelClasses)}" part="label">
7503
- <slot name="label">
7504
- ${this.label}
7505
- </slot>
7506
- ${this.required ? '' : ` (${i18n(this.lang, 'optional')})`}
7507
- </label>
7508
-
7509
- ${this.renderHtmlInput()}
7564
+ <div
7565
+ @click="${this.handleClick}"
7566
+ class="${e(this.commonWrapperClasses)} thin"
7567
+ part="wrapper">
7568
+ <div class="accents left">
7569
+ ${this.renderHtmlTypeIcon()}
7510
7570
  </div>
7511
- <div
7512
- class="notificationIcons"
7513
- part="notificationIcons"
7514
- ?hasValue="${this.hasValue}">
7515
- ${this.validity && this.validity !== 'valid' ? u$2`
7516
- <div class="notification alertNotification">
7517
- <${this.iconTag}
7518
- category="alert"
7519
- customColor
7520
- name="error-stroke"
7521
- </${this.iconTag}>
7522
- </div>
7523
- ` : undefined}
7571
+ <div class="mainContent">
7572
+ ${this.renderHtmlInput(true)}
7573
+ </div>
7574
+ <div class="accents right">
7575
+ ${this.renderValidationErrorIconHtml()}
7524
7576
  ${this.hasValue ? u$2`
7525
- ${this.type === 'password' ? u$2`
7526
- <div class="notification">
7527
- <${this.buttonTag}
7528
- @click="${this.handleClickShowPassword}"
7529
- ?onDark="${this.onDark}"
7530
- aria-hidden="true"
7531
- class="notificationBtn passwordBtn"
7532
- tabindex="-1"
7533
- variant="flat">
7534
- <${this.iconTag}
7535
- ?hidden=${!this.showPassword}
7536
- category="interface"
7537
- customColor
7538
- name="hide-password-stroke">
7539
- </${this.iconTag}>
7540
- <${this.iconTag}
7541
- ?hidden=${this.showPassword}
7542
- category="interface"
7543
- customColor
7544
- name="view-password-stroke">
7545
- </${this.iconTag}>
7546
- </${this.buttonTag}>
7547
- </div>
7548
- ` : undefined}
7549
7577
  ${!this.disabled && !this.readonly ? u$2`
7550
- <div class="notification">
7551
- <${this.buttonTag}
7552
- @click="${this.handleClickClear}"
7553
- ?onDark="${this.onDark}"
7554
- arialabel="${i18n(this.lang, 'clearInput')}"
7555
- class="notificationBtn clearBtn"
7556
- variant="flat">
7557
- <${this.iconTag}
7558
- category="interface"
7559
- customColor
7560
- name="x-lg">
7561
- </${this.iconTag}>
7562
- </${this.buttonTag}>
7563
- </div>
7578
+ ${this.renderHtmlActionClear()}
7564
7579
  ` : undefined}
7565
7580
  ` : undefined}
7566
7581
  </div>
7567
7582
  </div>
7568
- <!-- Help text and error message template -->
7569
- ${!this.validity || this.validity === undefined || this.validity === 'valid'
7570
- ? u$2`
7571
- <${this.helpTextTag} ?onDark="${this.onDark}">
7572
- <p id="${this.uniqueId}" part="helpText">
7573
- <slot name="helptext">${this.getHelpText()}</slot>
7574
- </p>
7575
- </${this.helpTextTag}>
7576
- `
7577
- : u$2`
7578
- <${this.helpTextTag} error ?onDark="${this.onDark}">
7579
- <p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
7580
- ${this.errorMessage}
7581
- </p>
7582
- </${this.helpTextTag}>
7583
- `
7584
- }
7583
+ <div class="helpTextWrapper leftIndent rightIndent" part="inputHelpText">
7584
+ ${this.renderHtmlHelpText()}
7585
+ </div>
7585
7586
  `;
7586
7587
  }
7587
7588
 
@@ -82,7 +82,7 @@ This configuration enables proper module resolution for the component's TypeScri
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
 
@@ -34,19 +34,27 @@ export class AuroInput extends BaseInput {
34
34
  /**
35
35
  * Returns classmap configuration for html5 inputs in all layouts.
36
36
  * @private
37
- * @returns {void}
37
+ * @returns {object} - Returns classmap.
38
38
  */
39
39
  private get commonInputClasses();
40
- get commonWrapperClasses(): {
41
- wrapper: boolean;
42
- withValue: boolean;
43
- hasFocus: boolean;
44
- };
45
- get helpTextClasses(): {
46
- helpTextWrapper: boolean;
47
- leftIndent: boolean;
48
- rightIndent: boolean;
49
- };
40
+ /**
41
+ * Returns classmap configuration for html5 inputs in each layout.
42
+ * @private
43
+ * @returns {object} - Returns classmap.
44
+ */
45
+ private get legacyInputClasses();
46
+ /**
47
+ * Returns classmap configuration for wrapper elements in each layout.
48
+ * @private
49
+ * @returns {object} - Returns classmap.
50
+ */
51
+ private get commonWrapperClasses();
52
+ /**
53
+ * Returns classmap configuration for helpText elements in each layout.
54
+ * @private
55
+ * @returns {object} - Returns classmap.
56
+ */
57
+ private get helpTextClasses();
50
58
  /**
51
59
  * Function to determine if the input is meant to render an icon visualizing the input type.
52
60
  * @private
@@ -68,6 +76,7 @@ export class AuroInput extends BaseInput {
68
76
  /**
69
77
  * Returns HTML for the HTML5 input element.
70
78
  * @private
79
+ * @param {boolean} [useLegacyHiddenState=false] - If true, the input will be visually hidden when not focused and has no value.
71
80
  * @returns {html} - Returns HTML for the HTML5 input element.
72
81
  */
73
82
  private renderHtmlInput;
@@ -96,9 +105,9 @@ export class AuroInput extends BaseInput {
96
105
  */
97
106
  private renderHtmlHelpText;
98
107
  /**
99
- * Returns HTML for the default layout.
108
+ * Returns HTML for the classic layout.
100
109
  * @private
101
- * @returns {html} - Returns HTML for the default layout.
110
+ * @returns {import("lit").TemplateResult} - Returns HTML for the classic layout.
102
111
  */
103
112
  private renderLayoutClassic;
104
113
  /**
@@ -290,8 +290,8 @@ export default class BaseInput extends AuroElement {
290
290
  */
291
291
  touched: boolean;
292
292
  /**
293
+ * The id for input node.
293
294
  * @private
294
- * id for input node
295
295
  */
296
296
  inputId: {
297
297
  type: StringConstructor;