@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.75 → 0.0.0-pr624.77

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 (31) hide show
  1. package/components/bibtemplate/dist/index.js +1 -1
  2. package/components/bibtemplate/dist/registered.js +1 -1
  3. package/components/combobox/demo/api.min.js +1 -1
  4. package/components/combobox/demo/index.min.js +1 -1
  5. package/components/combobox/dist/index.js +1 -1
  6. package/components/combobox/dist/registered.js +1 -1
  7. package/components/counter/demo/api.min.js +1 -1
  8. package/components/counter/demo/index.min.js +1 -1
  9. package/components/counter/dist/index.js +1 -1
  10. package/components/counter/dist/registered.js +1 -1
  11. package/components/datepicker/README.md +1 -1
  12. package/components/datepicker/demo/api.md +39 -19
  13. package/components/datepicker/demo/api.min.js +155 -76
  14. package/components/datepicker/demo/index.md +4 -4
  15. package/components/datepicker/demo/index.min.js +155 -76
  16. package/components/datepicker/demo/readme.md +1 -1
  17. package/components/datepicker/dist/auro-datepicker.d.ts +50 -12
  18. package/components/datepicker/dist/index.js +155 -76
  19. package/components/datepicker/dist/registered.js +155 -76
  20. package/components/datepicker/dist/styles/classic/style-css.d.ts +2 -0
  21. package/components/radio/demo/api.md +32 -1
  22. package/components/radio/demo/api.min.js +2 -2
  23. package/components/radio/demo/index.min.js +2 -2
  24. package/components/radio/dist/index.js +2 -2
  25. package/components/radio/dist/registered.js +2 -2
  26. package/components/select/demo/api.min.js +1 -1
  27. package/components/select/demo/index.min.js +1 -1
  28. package/components/select/dist/index.js +1 -1
  29. package/components/select/dist/registered.js +1 -1
  30. package/package.json +1 -1
  31. /package/components/datepicker/dist/styles/{default → classic}/color-css.d.ts +0 -0
@@ -1297,19 +1297,21 @@ class UtilitiesCalendarRender {
1297
1297
  }
1298
1298
  }
1299
1299
 
1300
- var styleCss$e = i$2`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host([layout=classic]) [auro-input]::part(iconContainer){top:0;display:flex;height:100%;align-items:center}:host([layout=classic]) [auro-input]::part(accentIcon){transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}:host([layout=classic]) [auro-input]::part(helpText){display:none}:host([layout=classic]) [auro-input]::part(wrapper):focus-within:before{border-bottom-width:0 !important;box-shadow:unset !important;outline:unset !important}:host([layout=classic]) [auro-input]::part(wrapper) .dpTriggerContent{display:flex;flex-direction:column}:host([layout=classic]) [auro-input]::part(wrapper) .dpTriggerContent [auro-input]{flex:1}:host([layout=classic]) [auro-input]::part(wrapper) .dpTriggerContent{flex-direction:row}:host([layout=classic]) [auro-input]::part(wrapper) [auro-input]:first-of-type{margin-right:var(--ds-size-150, 0.75rem);--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}:host([layout=classic]) [auro-input]::part(wrapper) [auro-input]:not(:first-child)::part(wrapper)::after{position:absolute;left:50%;width:95%;height:1px;background-color:var(--ds-auro-datepicker-range-input-divider-color);content:"";transform:translateX(-50%)}:host([layout=classic]) [auro-input]::part(wrapper) .outerWrapper{position:relative;container:outerwrapper/inline-size}:host([layout=classic]) [auro-input]::part(wrapper) .dpTriggerContent{display:flex;flex-direction:column}:host([layout=classic]) [auro-input]::part(wrapper) .dpTriggerContent [auro-input]{flex:1}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) .dpTriggerContent{flex-direction:row}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:first-of-type{margin-right:var(--ds-size-150, 0.75rem)}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:nth-child(2){margin-left:var(--ds-size-150, 0.75rem)}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:nth-child(2)::part(accentIcon){display:none}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:nth-child(2)::part(label){left:0;width:100%}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:nth-child(2)::part(input){padding-left:0}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:nth-child(2):before{position:absolute;top:13px;left:calc(var(--ds-size-150, 0.75rem)*-1);display:block;width:1px;height:2rem;content:""}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked]) [auro-input]:not(:first-child)::part(wrapper):after{content:none}:host([layout=classic]) [auro-input]::part(wrapper):not([stacked])[range] [auro-input]{max-width:50%}@media screen and (max-width: 576px){::part(popover){position:fixed !important;top:0 !important;left:0 !important;width:100vw !important;height:100vh !important;margin-bottom:var(--ds-size-200, 1rem);transform:unset !important}.calendarWrapper{display:flex;height:100dvh;flex-direction:row;justify-content:center}}`;
1300
+ var styleCss$e = i$2`.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}.accents{flex-grow:0;flex-shrink:0;display:flex;align-items:center;justify-content:center}.accents.left{padding-right:var(--ds-size-100, 0.5rem)}.accents.right{width:var(--ds-size-400, 2rem)}.mainContent{height:100%;max-height:100%;flex-grow:1;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}.inputSection{display:flex;flex-direction:row;align-items:center;width:100%;margin:0 auto}.inputContainer{display:flex;flex-direction:row;align-items:center;width:100%}.inputContainer:first-of-type{justify-content:flex-end}.inputContainer:last-of-type{justify-content:flex-start}.dpTriggerContent{width:100%}@media screen and (max-width: 576px){::part(popover){position:fixed !important;top:0 !important;left:0 !important;width:100vw !important;height:100vh !important;margin-bottom:var(--ds-size-200, 1rem);transform:unset !important}.calendarWrapper{display:flex;height:100dvh;flex-direction:row;justify-content:center}}`;
1301
1301
 
1302
- var colorCss$d = i$2`.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}[auro-input]::part(wrapper){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}.dpTriggerContent [auro-input]:nth-child(2):before{background-color:var(--ds-auro-datepicker-range-input-divider-color)}:host([onDark]){--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-inverse, #ffffff)}`;
1302
+ var colorCss$d = i$2`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host label{color:var(--ds-auro-datepicker-label-text-color)}:host .inputDivider{background-color:var(--ds-auro-datepicker-range-input-divider-color)}:host .error{color:var(--ds-auro-datepicker-error-icon-color)}[auro-input]::part(wrapper){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}.dpTriggerContent [auro-input]:nth-child(2):before{background-color:var(--ds-auro-datepicker-range-input-divider-color)}:host(:not([ondark])[disabled]){--ds-auro-datepicker-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-datepicker-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]){--ds-auro-datepicker-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-datepicker-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
1303
1303
 
1304
- var tokensCss$b = i$2`:host{--ds-auro-datepicker-placeholder-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-calendar-nav-btn-border-color: transparent;--ds-auro-calendar-nav-btn-chevron-color: var(--ds-basic-color-brand-primary, #01426a);--ds-auro-calendar-nav-btn-container-color: transparent;--ds-auro-calendar-month-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-month-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-month-header-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-border-color: transparent;--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-in-range-color: var(--ds-advanced-color-shared-background-muted, #f7f7f7);--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}`;
1304
+ var tokensCss$b = i$2`:host(:not([ondark])){--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-datepicker-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-calendar-nav-btn-border-color: transparent;--ds-auro-calendar-nav-btn-chevron-color: var(--ds-basic-color-brand-primary, #01426a);--ds-auro-calendar-nav-btn-container-color: transparent;--ds-auro-calendar-month-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-month-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-month-header-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-border-color: transparent;--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-in-range-color: var(--ds-advanced-color-shared-background-muted, #f7f7f7);--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]){--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-texticon-inverse-muted, v.$ds-basic-color-texticon-inverse-muted);--ds-auro-datepicker-error-icon-color: var(--ds-basic-color-status-error-subtle, v.$ds-basic-color-status-error-subtle);--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-inverse-muted, v.$ds-basic-color-texticon-inverse-muted);--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-calendar-nav-btn-border-color: transparent;--ds-auro-calendar-nav-btn-chevron-color: var(--ds-basic-color-brand-primary, #01426a);--ds-auro-calendar-nav-btn-container-color: transparent;--ds-auro-calendar-month-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-month-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-month-header-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-border-color: transparent;--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-in-range-color: var(--ds-advanced-color-shared-background-muted, #f7f7f7);--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}`;
1305
1305
 
1306
1306
  var shapeSizeCss$2 = i$2`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:58px;max-height:58px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
1307
1307
 
1308
+ var classicLayoutStyle = i$2`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host([layout*=classic]) .accents{display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) [auro-input]::part(wrapper){border-width:0;box-shadow:none}:host([layout*=classic]) [auro-input].dateTo{margin-left:var(--ds-size-150, 0.75rem)}:host([layout*=classic]) [auro-input].dateTo::part(accent-left){display:none}:host([layout*=classic]) .inputDivider{width:1px;height:2rem}`;
1309
+
1308
1310
  var classicLayoutColor = i$2``;
1309
1311
 
1310
- var snowflakeStyle = i$2`.accents{flex-grow:0;flex-shrink:0;display:flex;align-items:center;justify-content:center}.accents.left{padding-right:var(--ds-size-100, 0.5rem)}.accents.right{width:var(--ds-size-400, 2rem)}.mainContent{height:100%;max-height:100%;flex-grow:1;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}.inputSection{display:flex;flex-direction:row;align-items:center;width:100%;max-width:250px;margin:0 auto}.inputSection:not(:is(.disabled,.hasFocus,.hasValue)) .inputDivider{display:none}.inputContainer{display:flex;flex-direction:row;align-items:center;width:100%}.inputContainer:first-of-type{justify-content:flex-end}.inputContainer:last-of-type{justify-content:flex-start}:host([disabled]) .inputSection{display:none}:host([layout*=snowflake]) [auro-input]{flex:1;text-align:center}:host([layout*=snowflake]) [auro-input]::part(label),:host([layout*=snowflake]) [auro-input]::part(accent-left),:host([layout*=snowflake]) [auro-input]::part(accent-right){display:none}:host([layout*=snowflake]) [auro-input]::part(input){padding-bottom:unset;text-align:center;font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);transition:unset}:host([layout*=snowflake]) [auro-input]::part(wrapper){min-height:unset;max-height:unset;box-shadow:unset}:host([layout*=snowflake]) [auro-input]::part(wrapper) .mainContent{padding-bottom:unset}:host([layout*=snowflake]) [auro-input]::part(inputHelpText){display:none}:host([layout*=snowflake]) [auro-input]::part(displayValue){justify-content:center;font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem)}:host([layout*=snowflake]) [auro-dropdown]::part(trigger){width:100%}:host([layout*=snowflake]) .dpTriggerContent{width:100%}:host([layout*=snowflake]) .wrapper{height:60px;width:calc(100% - 48px);display:flex;flex-direction:row;justify-content:space-between;padding-left:24px;padding-right:24px}:host([layout*=snowflake]) label{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);font-weight:450;letter-spacing:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}:host([layout*=snowflake]) label.hasFocus,:host([layout*=snowflake]) label.hasValue{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-height-xs, 1rem)}:host([layout*=snowflake]) .inputDivider{height:18px;margin:4px 12px;width:2px}`;
1312
+ var snowflakeStyle = i$2`:host([layout*=snowflake]) [auro-input]{flex:1;text-align:center}:host([layout*=snowflake]) [auro-input]::part(label),:host([layout*=snowflake]) [auro-input]::part(accent-left),:host([layout*=snowflake]) [auro-input]::part(accent-right){display:none}:host([layout*=snowflake]) [auro-input]::part(input){padding-bottom:unset;text-align:center;font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);transition:unset}:host([layout*=snowflake]) [auro-input]::part(wrapper){min-height:unset;max-height:unset;box-shadow:unset}:host([layout*=snowflake]) [auro-input]::part(wrapper) .mainContent{padding-bottom:unset}:host([layout*=snowflake]) [auro-input]::part(inputHelpText){display:none}:host([layout*=snowflake]) [auro-input]::part(displayValue){justify-content:center;font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem)}:host([layout*=snowflake]) [auro-dropdown]::part(trigger){width:100%}:host([layout*=snowflake]) .dpTriggerContent{width:100%}:host([layout*=snowflake]) .wrapper{height:60px;width:calc(100% - 48px);display:flex;flex-direction:row;justify-content:space-between;padding-left:24px;padding-right:24px}:host([layout*=snowflake]) label{font-size:var(--ds-text-body-size-lg, 1.125rem);line-height:var(--ds-text-body-height-lg, 1.625rem);font-weight:450;letter-spacing:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}:host([layout*=snowflake]) label.hasFocus,:host([layout*=snowflake]) label.hasValue{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-height-xs, 1rem)}:host([layout*=snowflake]) .inputDivider{height:18px;margin:4px 12px;width:2px}:host([layout*=snowflake]) .inputSection:not(:is(.disabled,.hasFocus,.hasValue)) .inputDivider{display:none}:host([layout*=snowflake][disabled]){pointer-events:none}`;
1311
1313
 
1312
- var snowflakeColors = i$2`:host([layout=snowflake])[disabled] .mainContent label ::slotted(*){color:var(--ds-auro-icon-color)}:host([layout=snowflake]) label{color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([layout=snowflake]) .inputDivider{background-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([layout=snowflake]) .error{color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host([layout=snowflake]) [auro-input]::part(input)::placeholder{color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([layout=snowflake]) [auro-input]::part(displayValue){background-color:inherit}:host([layout=snowflake]) [auro-dropdown]:not(:is([error],.hasFocus))::part(wrapper){--ds-auro-dropdown-trigger-border-color: transparent}`;
1314
+ var snowflakeColors = i$2`:host([layout=snowflake]) [auro-dropdown]:not(:is([error],.hasFocus)){--ds-auro-dropdown-trigger-border-color: transparent}`;
1313
1315
 
1314
1316
  var styleCss$d = i$2`:host{--calendar-width: 336px;--mobile-footer-height: 150px;--mobile-header-height: 68px;height:100vh;height:100dvh}.calendars{display:flex;flex-direction:row}.calendarNavButtons{position:absolute;top:var(--ds-size-200, 1rem);right:var(--ds-size-50, 0.25rem);left:var(--ds-size-50, 0.25rem)}.calendarNavBtn{display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.prevMonth,.nextMonth{position:absolute;top:0}.prevMonth{left:0}.nextMonth{right:0}.headerActions{padding:0 var(--ds-size-200, 1rem)}.mobileHeader{width:100%;height:var(--mobile-header-height);z-index:1;align-items:center;flex-direction:row}.headerDateFrom{display:flex;height:var(--mobile-header-height);flex:1;flex-direction:column;justify-content:center;padding:0 var(--ds-size-150, 0.75rem) 0 var(--ds-size-200, 1rem)}.mobileDateLabel{font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}.headerDateTo{height:calc(var(--mobile-header-height) - var(--ds-size-300, 1.5rem));padding:var(--ds-size-300, 1.5rem) var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host(:not([noRange])) .headerDateTo{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center}:host(:not([noRange])) .headerDateTo:after{position:absolute;top:calc(50% + 10px);left:0;display:block;width:1px;height:var(--ds-size-300, 1.5rem);content:"";transform:translateY(-50%)}.mobileFooter{display:none;width:100%;align-items:flex-end;flex-direction:column;justify-content:flex-end}.mobileFooterActions{position:relative;bottom:0;left:50%;display:none;width:calc(100% - var(--ds-size-200, 1rem)*2);align-items:flex-end;flex-direction:column;justify-content:flex-end;padding:var(--ds-size-150) calc(var(--ds-size-200, 1rem));transform:translateX(-50%)}.mobileFooterActions auro-button{width:100%}:host([isfullscreen]){width:100%;max-height:100dvh;overflow:hidden}:host([isfullscreen]) .prevMonth,:host([isfullscreen]) .nextMonth{display:none}:host([isfullscreen]) .mobileHeader,:host([isfullscreen]) .mobileFooter,:host([isfullscreen]) .mobileFooterActions{display:flex}:host([isfullscreen]) .calendarWrapper{display:flex;flex-direction:column}:host([isfullscreen]) .calendars{display:flex;flex-direction:column;flex:1;align-items:center;width:100%;overscroll-behavior:contain}:host([isfullscreen]) .calendars:after{display:block;width:100%;height:var(--mobile-footer-height);content:""}`;
1315
1317
 
@@ -12749,7 +12751,7 @@ class AuroBibtemplate extends i {
12749
12751
  /**
12750
12752
  * @private
12751
12753
  */
12752
- this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion$2, AuroButton$2);
12754
+ this.buttonTag = versioning.generateTag('auro-formkit-bibtemplate-button', buttonVersion$2, AuroButton$2);
12753
12755
  }
12754
12756
 
12755
12757
  static get styles() {
@@ -28279,6 +28281,7 @@ class AuroDatePicker extends AuroElement$1 {
28279
28281
  shapeSizeCss$2,
28280
28282
 
28281
28283
  // layouts
28284
+ classicLayoutStyle,
28282
28285
  classicLayoutColor,
28283
28286
  snowflakeStyle,
28284
28287
  snowflakeColors
@@ -28346,11 +28349,7 @@ class AuroDatePicker extends AuroElement$1 {
28346
28349
  * @param {String} focusInput - Pass in `endDate` to focus on the return input. No parameter is needed to focus on the depart input.
28347
28350
  * @returns {void}
28348
28351
  */
28349
- focus(focusInput) {
28350
- if (this.disabled) {
28351
- return;
28352
- }
28353
-
28352
+ focus(focusInput = '') {
28354
28353
  this.range && focusInput === 'endDate' ? this.inputList[1].focus() : this.inputList[0].focus();
28355
28354
  }
28356
28355
 
@@ -28553,9 +28552,11 @@ class AuroDatePicker extends AuroElement$1 {
28553
28552
  configureDatepicker() {
28554
28553
  this.addEventListener('focusin', () => {
28555
28554
  this.touched = true;
28555
+ this.hasFocus = true;
28556
28556
  });
28557
28557
 
28558
28558
  this.addEventListener('focusout', (evt) => {
28559
+ this.hasFocus = false;
28559
28560
  if (!this.noValidate && !evt.detail.expanded && this.touched) {
28560
28561
  if (!this.contains(document.activeElement)) {
28561
28562
  this.validation.validate(this.inputList[0]);
@@ -28641,9 +28642,6 @@ class AuroDatePicker extends AuroElement$1 {
28641
28642
  const convertedDate = this.convertWcTimeToDate(time);
28642
28643
  const newDate = this.util.toCustomFormat(convertedDate, this.format);
28643
28644
 
28644
- console.log(newDate);
28645
- console.log(this.util.validDateStr(newDate, this.format));
28646
-
28647
28645
  if (this.util.validDateStr(newDate, this.format)) {
28648
28646
  if (this.inputList.length > 1) {
28649
28647
  if (!this.value || !this.util.validDateStr(this.value, this.format)) {
@@ -28682,7 +28680,7 @@ class AuroDatePicker extends AuroElement$1 {
28682
28680
  handleKeydownReset(event) {
28683
28681
  if (event.key === 'Enter' || event.key === ' ') {
28684
28682
  this.resetValues();
28685
- this.setHasFocus();
28683
+ this.focus();
28686
28684
  }
28687
28685
  }
28688
28686
 
@@ -28720,22 +28718,10 @@ class AuroDatePicker extends AuroElement$1 {
28720
28718
  this.validation.validate(this, force);
28721
28719
  }
28722
28720
 
28723
- setHasFocus() {
28724
- if (this.disabled) {
28725
- return;
28726
- }
28727
-
28728
- this.hasFocus = true;
28729
- this.dropdown.show();
28730
-
28731
- // shadowroot active element is null if we focus the datepicker itself
28732
- if (this.shadowRoot.activeElement === null) {
28733
- // If the shadowRoot.activeElement is null, we can assume that the datepicker itself has focus
28734
- // and we should focus the first input in the inputList
28735
- this.inputList[0].focus();
28736
- }
28737
- }
28738
-
28721
+ /**
28722
+ * Private method for interacting with the `hasValue` property.
28723
+ * @private
28724
+ */
28739
28725
  setHasValue() {
28740
28726
  if (!this.range) {
28741
28727
  this.hasValue = this.value && this.value.length > 0;
@@ -28755,6 +28741,17 @@ class AuroDatePicker extends AuroElement$1 {
28755
28741
  this.monthFirst = this.format.indexOf('mm') < this.format.indexOf('yyyy');
28756
28742
  }
28757
28743
 
28744
+ if (changedProperties.has('disabled')) {
28745
+ if (this.disabled) {
28746
+ this.previousTabIndex = this.getAttribute('tabindex');
28747
+ this.setAttribute('tabindex', '-1');
28748
+ } else if (!this.disabled && this.previousTabIndex > -1) {
28749
+ this.tabIndex = this.previousTabIndex;
28750
+ } else {
28751
+ this.removeAttribute('tabindex');
28752
+ }
28753
+ }
28754
+
28758
28755
  if (changedProperties.has('calendarFocusDate')) {
28759
28756
  this.formattedFocusDate = this.util.toNorthAmericanFormat(this.calendarFocusDate, this.format);
28760
28757
 
@@ -28920,6 +28917,8 @@ class AuroDatePicker extends AuroElement$1 {
28920
28917
  this.calendarFocusDate = this.minDate;
28921
28918
  }
28922
28919
  }
28920
+
28921
+ this.calendar.requestUpdate();
28923
28922
  }
28924
28923
 
28925
28924
  // This resets the datepicker when the maxDate is set to a new value that is
@@ -28951,6 +28950,8 @@ class AuroDatePicker extends AuroElement$1 {
28951
28950
  }
28952
28951
  }
28953
28952
  }
28953
+
28954
+ this.calendar.requestUpdate();
28954
28955
  }
28955
28956
 
28956
28957
  if (changedProperties.has('centralDate')) {
@@ -28992,11 +28993,7 @@ class AuroDatePicker extends AuroElement$1 {
28992
28993
 
28993
28994
  // setup focus/blur event listeners
28994
28995
  this.addEventListener('focus', () => {
28995
- this.setHasFocus();
28996
- }, true);
28997
-
28998
- this.addEventListener('blur', () => {
28999
- this.hasFocus = false;
28996
+ this.focus();
29000
28997
  }, true);
29001
28998
  }
29002
28999
 
@@ -29051,17 +29048,63 @@ class AuroDatePicker extends AuroElement$1 {
29051
29048
  }
29052
29049
 
29053
29050
  /**
29051
+ * Renders the snowflake layout for the datepicker.
29054
29052
  * @private
29053
+ * @returns {import("lit").TemplateResult}
29054
+ */
29055
+ renderClassicLayout() {
29056
+ const accentsClassMap = {
29057
+ error: this.hasError
29058
+ };
29059
+
29060
+ const inputSectionClassMap = {
29061
+ inputSection: true,
29062
+
29063
+ hasValue: this.hasValue,
29064
+ hasFocus: this.hasFocus,
29065
+ };
29066
+
29067
+ const labelClassMap = {
29068
+ hasValue: this.hasValue,
29069
+ hasFocus: this.hasFocus,
29070
+ };
29071
+
29072
+ return u$3`
29073
+ <div
29074
+ class="wrapper trigger"
29075
+ part="wrapper">
29076
+ <div class="accents left">
29077
+ ${this.renderHtmlIconCalendar()}
29078
+ </div>
29079
+ <div class="mainContent">
29080
+ <label class="${e$2(labelClassMap)}" part="mainLabel">
29081
+ <slot name="label"></slot>
29082
+ </label>
29083
+ <div class="${e$2(inputSectionClassMap)}" part="inputSection">
29084
+ ${this.renderHtmlInputs()}
29085
+ </div>
29086
+ </div>
29087
+ <div class="accents right ${e$2(accentsClassMap)}">
29088
+ ${this.hasError
29089
+ ? this.renderHtmlIconError()
29090
+ : this.renderHtmlActionClear()
29091
+ }
29092
+ </div>
29093
+ </div>
29094
+ `;
29095
+ }
29096
+
29097
+ /**
29098
+ * Renders the layout based on the `layout` attribute.
29099
+ * @private
29100
+ * @returns {import('lit').TemplateResult}
29055
29101
  */
29056
29102
  renderLayoutFromAttributes() {
29057
29103
  switch (this.layout) {
29058
29104
  case 'snowflake':
29059
29105
  return this.renderSnowflakeLayout();
29060
29106
  default:
29061
- // TODO: remove when all base layouts are implemented and instead return classic
29062
- return u$3`
29063
- <p>Please implement layout "${this.layout}" for datepicker</p>
29064
- `;
29107
+ return this.renderClassicLayout();
29065
29108
  }
29066
29109
  }
29067
29110
 
@@ -29072,7 +29115,7 @@ class AuroDatePicker extends AuroElement$1 {
29072
29115
  * Returns formatted date like Apr 21 or Dec 25.
29073
29116
  * @private
29074
29117
  * @param {string} date - Date format should be in a format Date constructor accepts, like '2023-04-21' or '2023/04/21'.
29075
- * @return {string}
29118
+ * @returns {string}
29076
29119
  */
29077
29120
  formatShortDate(date) {
29078
29121
  // should render like Apr 21
@@ -29087,8 +29130,8 @@ class AuroDatePicker extends AuroElement$1 {
29087
29130
  /**
29088
29131
  * Format and render the provided date value.
29089
29132
  * @private
29090
- * @param dateValue
29091
- * @return {TemplateResult}
29133
+ * @param {string} dateValue - The date value to format and render.
29134
+ * @returns {import('lit').TemplateResult}
29092
29135
  */
29093
29136
  renderDisplayTextDate(dateValue) {
29094
29137
  return u$3`
@@ -29103,9 +29146,15 @@ class AuroDatePicker extends AuroElement$1 {
29103
29146
  `;
29104
29147
  }
29105
29148
 
29149
+ /**
29150
+ * Renders the HTML inputs for the datepicker.
29151
+ * @private
29152
+ * @returns {import('lit').TemplateResult}
29153
+ */
29106
29154
  renderHtmlInputs() {
29107
29155
  const inputClasses = {
29108
- "util_displayHiddenVisually": !this.hasValue && !this.hasFocus
29156
+ "util_displayHiddenVisually": !this.hasValue && !this.hasFocus && this.layout !== "classic",
29157
+ "parentBorder": this.layout === "classic"
29109
29158
  };
29110
29159
 
29111
29160
  return u$3`
@@ -29119,14 +29168,12 @@ class AuroDatePicker extends AuroElement$1 {
29119
29168
  .min="${this.minDate}"
29120
29169
  id="${this.generateRandomString(12)}"
29121
29170
  .placeholder="${this.placeholder}"
29122
- simple
29123
- bordered
29171
+ .size="${this.size}"
29172
+ .shape="${this.shape}"
29124
29173
  noValidate
29125
29174
  class="dateFrom ${e$2(inputClasses)}"
29126
29175
  type="date"
29127
29176
  part="input"
29128
- shape="box"
29129
- size="xl"
29130
29177
  setCustomValidity="${this.setCustomValidity}"
29131
29178
  setCustomValidityCustomError="${this.setCustomValidityCustomError}"
29132
29179
  setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
@@ -29134,9 +29181,14 @@ class AuroDatePicker extends AuroElement$1 {
29134
29181
  setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
29135
29182
  inputmode="${o(this.inputmode)}"
29136
29183
  >
29137
- <span slot="displayValue">
29138
- ${this.renderDisplayTextDate(this.value)}
29139
- </span>
29184
+ ${this.layout !== "classic"
29185
+ ? u$3`
29186
+ <span slot="displayValue">
29187
+ ${this.renderDisplayTextDate(this.value)}
29188
+ </span>
29189
+ `
29190
+ : undefined
29191
+ }
29140
29192
  <span slot="label"><slot name="fromLabel"></slot></span>
29141
29193
  </${this.inputTag}>
29142
29194
  </div>
@@ -29156,7 +29208,6 @@ class AuroDatePicker extends AuroElement$1 {
29156
29208
  .min="${this.minDate}"
29157
29209
  .placeholder="${this.placeholderEndDate || this.placeholder}"
29158
29210
  id="${this.generateRandomString(12)}"
29159
- bordered
29160
29211
  class="dateTo ${e$2(inputClasses)}"
29161
29212
  noValidate
29162
29213
  type="date"
@@ -29167,9 +29218,14 @@ class AuroDatePicker extends AuroElement$1 {
29167
29218
  setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
29168
29219
  ?disabled="${this.disabled}"
29169
29220
  part="input">
29170
- <span slot="displayValue">
29171
- ${this.renderDisplayTextDate(this.valueEnd)}
29172
- </span>
29221
+ ${this.layout !== "classic"
29222
+ ? u$3`
29223
+ <span slot="displayValue">
29224
+ ${this.renderDisplayTextDate(this.valueEnd)}
29225
+ </span>
29226
+ `
29227
+ : undefined
29228
+ }
29173
29229
  <span slot="label"><slot name="toLabel"></slot></span>
29174
29230
  </${this.inputTag}>
29175
29231
  </div>
@@ -29183,6 +29239,11 @@ class AuroDatePicker extends AuroElement$1 {
29183
29239
  // icons/actions
29184
29240
  // ------------------------------------
29185
29241
 
29242
+ /**
29243
+ * Renders the clear action button.
29244
+ * @private
29245
+ * @returns {import('lit').TemplateResult}
29246
+ */
29186
29247
  renderHtmlActionClear() {
29187
29248
  const clearActionClassMap = {
29188
29249
  'notification': true,
@@ -29212,6 +29273,11 @@ class AuroDatePicker extends AuroElement$1 {
29212
29273
  `;
29213
29274
  }
29214
29275
 
29276
+ /**
29277
+ * Renders the error icon.
29278
+ * @private
29279
+ * @returns {import('lit').TemplateResult}
29280
+ */
29215
29281
  renderHtmlIconError() {
29216
29282
  const clearActionClassMap = {
29217
29283
  'notification': true,
@@ -29231,6 +29297,11 @@ class AuroDatePicker extends AuroElement$1 {
29231
29297
  `;
29232
29298
  }
29233
29299
 
29300
+ /**
29301
+ * Renders the calendar icon.
29302
+ * @private
29303
+ * @returns {import('lit').TemplateResult}
29304
+ */
29234
29305
  renderHtmlIconCalendar() {
29235
29306
  return u$3`
29236
29307
  <${this.iconTag}
@@ -29246,7 +29317,7 @@ class AuroDatePicker extends AuroElement$1 {
29246
29317
  /**
29247
29318
  * Returns HTML for the help text and error message.
29248
29319
  * @private
29249
- * @returns {html} - Returns HTML for the help text and error message.
29320
+ * @returns {import('lit').TemplateResult} - Returns HTML for the help text and error message.
29250
29321
  */
29251
29322
  renderHtmlHelpText() {
29252
29323
  return u$3`
@@ -29269,6 +29340,33 @@ class AuroDatePicker extends AuroElement$1 {
29269
29340
  `;
29270
29341
  }
29271
29342
 
29343
+ /**
29344
+ * Separate method for rendering the calendar.
29345
+ * @private
29346
+ * @returns {import('lit').TemplateResult}
29347
+ */
29348
+ renderCalendar() {
29349
+ return u$3`
29350
+ <auro-formkit-calendar
29351
+ ?largeFullscreenHeadline="${this.largeFullscreenHeadline}"
29352
+ ?noRange="${!this.range}"
29353
+ .format="${this.format}"
29354
+ .monthFirst="${this.monthFirst}"
29355
+ .min="${this.convertToWcValidTime(new Date(this.formattedMinDate))}"
29356
+ .max="${this.convertToWcValidTime(new Date(this.formattedMaxDate))}"
29357
+ .maxDate="${this.maxDate}"
29358
+ .minDate="${this.minDate}"
29359
+ .monthNames="${this.monthNames}"
29360
+ part="calendar"
29361
+ >
29362
+ <slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
29363
+ <slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
29364
+ <span slot="bib.fullscreen.fromStr">${this.value || u$3`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
29365
+ ${this.range ? u$3`<span slot="mobileDateToStr">${this.valueEnd || u$3`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>` : undefined}
29366
+ </auro-formkit-calendar>
29367
+ `;
29368
+ }
29369
+
29272
29370
  // function that renders the HTML and CSS into the scope of the component
29273
29371
  render() {
29274
29372
  const dropdownElementClassMap = {
@@ -29290,37 +29388,18 @@ class AuroDatePicker extends AuroElement$1 {
29290
29388
  .placement="${this.placement}"
29291
29389
  .shape="${this.shape}"
29292
29390
  .size="${this.size}"
29293
- bordered
29294
29391
  class="${e$2(dropdownElementClassMap)}"
29295
29392
  disableEventShow
29296
29393
  disableFocusTrap
29297
- fluid
29298
29394
  for="dropdownMenu"
29299
29395
  part="dropdown"
29300
- rounded
29301
29396
  >
29302
29397
  <div slot="trigger" class="dpTriggerContent" part="trigger">
29303
29398
  ${this.renderLayoutFromAttributes()}
29304
29399
  </div>
29305
29400
 
29306
29401
  <div class="calendarWrapper" part="calendarWrapper">
29307
- <auro-formkit-calendar
29308
- ?largeFullscreenHeadline="${this.largeFullscreenHeadline}"
29309
- ?noRange="${!this.range}"
29310
- .format="${this.format}"
29311
- .monthFirst="${this.monthFirst}"
29312
- .min="${this.convertToWcValidTime(new Date(this.formattedMinDate))}"
29313
- .max="${this.convertToWcValidTime(new Date(this.formattedMaxDate))}"
29314
- .maxDate="${this.maxDate}"
29315
- .minDate="${this.minDate}"
29316
- .monthNames="${this.monthNames}"
29317
- part="calendar"
29318
- >
29319
- <slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
29320
- <slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
29321
- <span slot="bib.fullscreen.fromStr">${this.value || u$3`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
29322
- ${this.range ? u$3`<span slot="mobileDateToStr">${this.valueEnd || u$3`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>` : undefined}
29323
- </auro-formkit-calendar>
29402
+ ${this.renderCalendar()}
29324
29403
  </div>
29325
29404
  <div slot="helpText" part="helpTextSpan">
29326
29405
  ${this.renderHtmlHelpText()}
@@ -83,7 +83,7 @@ This configuration enables proper module resolution for the component's TypeScri
83
83
  <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
84
84
 
85
85
  ```html
86
- <auro-datepicker>
86
+ <auro-datepicker required="">
87
87
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
88
88
  <span slot="fromLabel">Choose a date</span>
89
89
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -379,7 +379,7 @@ export class AuroDatePicker extends AuroElement {
379
379
  * @param {String} focusInput - Pass in `endDate` to focus on the return input. No parameter is needed to focus on the depart input.
380
380
  * @returns {void}
381
381
  */
382
- focus(focusInput: string): void;
382
+ focus(focusInput?: string): void;
383
383
  /**
384
384
  * Converts valid time number to format used by wc-date-range API.
385
385
  * @private
@@ -448,6 +448,7 @@ export class AuroDatePicker extends AuroElement {
448
448
  * @returns {void}
449
449
  */
450
450
  private configureDatepicker;
451
+ hasFocus: boolean;
451
452
  /**
452
453
  * Hides the dropdown bib if its open.
453
454
  * @returns {void}
@@ -510,13 +511,16 @@ export class AuroDatePicker extends AuroElement {
510
511
  * @param {boolean} [force=false] - Whether to force validation.
511
512
  */
512
513
  validate(force?: boolean): void;
513
- setHasFocus(): void;
514
- hasFocus: boolean;
515
- setHasValue(): void;
514
+ /**
515
+ * Private method for interacting with the `hasValue` property.
516
+ * @private
517
+ */
518
+ private setHasValue;
516
519
  hasValue: boolean;
517
520
  get hasError(): boolean;
518
521
  updated(changedProperties: any): void;
519
522
  monthFirst: boolean;
523
+ previousTabIndex: string;
520
524
  formattedFocusDate: boolean;
521
525
  formattedEndDate: boolean;
522
526
  formattedValue: boolean;
@@ -540,7 +544,15 @@ export class AuroDatePicker extends AuroElement {
540
544
  */
541
545
  private renderSnowflakeLayout;
542
546
  /**
547
+ * Renders the snowflake layout for the datepicker.
543
548
  * @private
549
+ * @returns {import("lit").TemplateResult}
550
+ */
551
+ private renderClassicLayout;
552
+ /**
553
+ * Renders the layout based on the `layout` attribute.
554
+ * @private
555
+ * @returns {import('lit').TemplateResult}
544
556
  */
545
557
  private renderLayoutFromAttributes;
546
558
  /**
@@ -548,26 +560,52 @@ export class AuroDatePicker extends AuroElement {
548
560
  * Returns formatted date like Apr 21 or Dec 25.
549
561
  * @private
550
562
  * @param {string} date - Date format should be in a format Date constructor accepts, like '2023-04-21' or '2023/04/21'.
551
- * @return {string}
563
+ * @returns {string}
552
564
  */
553
565
  private formatShortDate;
554
566
  /**
555
567
  * Format and render the provided date value.
556
568
  * @private
557
- * @param dateValue
558
- * @return {TemplateResult}
569
+ * @param {string} dateValue - The date value to format and render.
570
+ * @returns {import('lit').TemplateResult}
559
571
  */
560
572
  private renderDisplayTextDate;
561
- renderHtmlInputs(): import("lit-html").TemplateResult;
562
- renderHtmlActionClear(): import("lit-html").TemplateResult;
563
- renderHtmlIconError(): import("lit-html").TemplateResult;
564
- renderHtmlIconCalendar(): import("lit-html").TemplateResult;
573
+ /**
574
+ * Renders the HTML inputs for the datepicker.
575
+ * @private
576
+ * @returns {import('lit').TemplateResult}
577
+ */
578
+ private renderHtmlInputs;
579
+ /**
580
+ * Renders the clear action button.
581
+ * @private
582
+ * @returns {import('lit').TemplateResult}
583
+ */
584
+ private renderHtmlActionClear;
585
+ /**
586
+ * Renders the error icon.
587
+ * @private
588
+ * @returns {import('lit').TemplateResult}
589
+ */
590
+ private renderHtmlIconError;
591
+ /**
592
+ * Renders the calendar icon.
593
+ * @private
594
+ * @returns {import('lit').TemplateResult}
595
+ */
596
+ private renderHtmlIconCalendar;
565
597
  /**
566
598
  * Returns HTML for the help text and error message.
567
599
  * @private
568
- * @returns {html} - Returns HTML for the help text and error message.
600
+ * @returns {import('lit').TemplateResult} - Returns HTML for the help text and error message.
569
601
  */
570
602
  private renderHtmlHelpText;
603
+ /**
604
+ * Separate method for rendering the calendar.
605
+ * @private
606
+ * @returns {import('lit').TemplateResult}
607
+ */
608
+ private renderCalendar;
571
609
  render(): import("lit-html").TemplateResult;
572
610
  }
573
611
  import { AuroElement } from "@aurodesignsystem/auro-layout-element";