@aurodesignsystem-dev/auro-formkit 0.0.0-pr788.0 → 0.0.0-pr788.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/components/checkbox/demo/api.min.js +2 -2
  2. package/components/checkbox/demo/index.min.js +2 -2
  3. package/components/checkbox/dist/index.js +1 -1
  4. package/components/checkbox/dist/registered.js +1 -1
  5. package/components/combobox/README.md +2 -2
  6. package/components/combobox/demo/api.md +6 -6
  7. package/components/combobox/demo/api.min.js +12 -68
  8. package/components/combobox/demo/index.md +12 -12
  9. package/components/combobox/demo/index.min.js +12 -68
  10. package/components/combobox/demo/readme.md +2 -2
  11. package/components/combobox/dist/auro-combobox.d.ts +2 -2
  12. package/components/combobox/dist/index.js +11 -67
  13. package/components/combobox/dist/registered.js +11 -67
  14. package/components/counter/demo/api.md +9 -9
  15. package/components/counter/demo/api.min.js +8 -63
  16. package/components/counter/demo/index.md +6 -6
  17. package/components/counter/demo/index.min.js +8 -63
  18. package/components/counter/dist/auro-counter-group.d.ts +1 -1
  19. package/components/counter/dist/index.js +7 -62
  20. package/components/counter/dist/registered.js +7 -62
  21. package/components/datepicker/README.md +1 -1
  22. package/components/datepicker/demo/api.md +11 -11
  23. package/components/datepicker/demo/api.min.js +78 -100
  24. package/components/datepicker/demo/index.md +12 -12
  25. package/components/datepicker/demo/index.min.js +78 -100
  26. package/components/datepicker/demo/readme.md +1 -1
  27. package/components/datepicker/dist/auro-datepicker.d.ts +15 -2
  28. package/components/datepicker/dist/index.js +77 -99
  29. package/components/datepicker/dist/registered.js +77 -99
  30. package/components/dropdown/demo/api.min.js +6 -61
  31. package/components/dropdown/demo/index.min.js +6 -61
  32. package/components/dropdown/dist/auro-dropdown.d.ts +0 -7
  33. package/components/dropdown/dist/index.js +5 -60
  34. package/components/dropdown/dist/registered.js +5 -60
  35. package/components/form/demo/api.min.js +1 -1
  36. package/components/form/demo/index.min.js +1 -1
  37. package/components/input/demo/api.min.js +2 -3
  38. package/components/input/demo/index.min.js +2 -3
  39. package/components/input/dist/base-input.d.ts +0 -1
  40. package/components/input/dist/index.js +1 -2
  41. package/components/input/dist/registered.js +1 -2
  42. package/components/menu/demo/api.min.js +1 -1
  43. package/components/menu/demo/index.min.js +1 -1
  44. package/components/radio/demo/api.min.js +2 -2
  45. package/components/radio/demo/index.min.js +2 -2
  46. package/components/radio/dist/index.js +1 -1
  47. package/components/radio/dist/registered.js +1 -1
  48. package/components/select/README.md +1 -1
  49. package/components/select/demo/api.md +3 -3
  50. package/components/select/demo/api.min.js +10 -65
  51. package/components/select/demo/index.md +8 -8
  52. package/components/select/demo/index.min.js +10 -65
  53. package/components/select/demo/readme.md +1 -1
  54. package/components/select/dist/auro-select.d.ts +1 -1
  55. package/components/select/dist/index.js +9 -64
  56. package/components/select/dist/registered.js +9 -64
  57. package/package.json +4 -4
@@ -4899,6 +4899,7 @@ class AuroFloatingUI {
4899
4899
  this.element.bib.style.left = "0px";
4900
4900
  this.element.bib.style.width = '';
4901
4901
  this.element.bib.style.height = '';
4902
+ this.element.style.contain = '';
4902
4903
 
4903
4904
  // reset the size that was mirroring `size` css-part
4904
4905
  const bibContent = this.element.bib.shadowRoot.querySelector(".container");
@@ -4923,6 +4924,7 @@ class AuroFloatingUI {
4923
4924
  this.element.bib.style.position = '';
4924
4925
  this.element.bib.removeAttribute('isfullscreen');
4925
4926
  this.element.isBibFullscreen = false;
4927
+ this.element.style.contain = 'layout';
4926
4928
  }
4927
4929
 
4928
4930
  const isChanged = this.strategy && this.strategy !== value;
@@ -6537,6 +6539,7 @@ let AuroElement$3 = class AuroElement extends LitElement {
6537
6539
  // See LICENSE in the project root for license information.
6538
6540
 
6539
6541
 
6542
+
6540
6543
  /*
6541
6544
  * @slot - Default slot for the popover content.
6542
6545
  * @slot helpText - Defines the content of the helpText.
@@ -7119,64 +7122,6 @@ class AuroDropdown extends AuroElement$3 {
7119
7122
  this.hasFocus = false;
7120
7123
  }
7121
7124
 
7122
- /**
7123
- * Determines if the element or any children are focusable.
7124
- * @private
7125
- * @param {HTMLElement} element - Element to check.
7126
- * @returns {Boolean} - True if the element or any children are focusable.
7127
- */
7128
- containsFocusableElement(element) {
7129
- this.showTriggerBorders = true;
7130
-
7131
- const nodes = [
7132
- element,
7133
- ...element.children
7134
- ];
7135
-
7136
- const focusableElements = [
7137
- 'a',
7138
- 'auro-hyperlink',
7139
- 'button',
7140
- 'auro-button',
7141
- 'input',
7142
- 'auro-input',
7143
- ];
7144
-
7145
- const focusableElementsThatNeedBorders = ['auro-input'];
7146
-
7147
- const result = nodes.some((node) => {
7148
- const tagName = node.tagName.toLowerCase();
7149
-
7150
- if (node.tabIndex > -1) {
7151
- return true;
7152
- }
7153
-
7154
- if (focusableElements.includes(tagName)) {
7155
- if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
7156
- return true;
7157
- }
7158
- if (!node.hasAttribute('disabled')) {
7159
- return true;
7160
- }
7161
- }
7162
-
7163
- if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
7164
- return true;
7165
- }
7166
-
7167
- return false;
7168
- });
7169
-
7170
- if (result) {
7171
- this.showTriggerBorders = !nodes.some((node) => {
7172
- const tagName = node.tagName.toLowerCase();
7173
- return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
7174
- });
7175
- }
7176
-
7177
- return result;
7178
- }
7179
-
7180
7125
  /**
7181
7126
  * Creates and dispatches a duplicate focus event on the trigger element.
7182
7127
  * @private
@@ -7288,7 +7233,7 @@ class AuroDropdown extends AuroElement$3 {
7288
7233
  if (triggerContentNodes) {
7289
7234
 
7290
7235
  // See if any of them are focusable elements
7291
- this.triggerContentFocusable = triggerContentNodes.some((node) => this.containsFocusableElement(node));
7236
+ this.triggerContentFocusable = triggerContentNodes.some((node) => getFocusableElements(node).length > 0);
7292
7237
 
7293
7238
  // If any of them are focusable elements
7294
7239
  if (this.triggerContentFocusable) {
@@ -7360,7 +7305,7 @@ class AuroDropdown extends AuroElement$3 {
7360
7305
  <div
7361
7306
  id="trigger"
7362
7307
  class="${classMap(this.commonWrapperClasses)}" part="wrapper"
7363
- tabindex="${this.tabIndex}"
7308
+ tabindex="${ifDefined(this.triggerContentFocusable ? undefined : this.tabIndex)}"
7364
7309
  role="${ifDefined(this.triggerContentFocusable ? undefined : this.a11yRole)}"
7365
7310
  aria-expanded="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
7366
7311
  aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
@@ -9586,7 +9531,7 @@ class AuroElement extends LitElement {
9586
9531
  * @element auro-counter-group
9587
9532
  * @extends LitElement
9588
9533
  * @slot default - Slot for counter elements.
9589
- * @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
9534
+ * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
9590
9535
  * @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
9591
9536
  * @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
9592
9537
  * @slot label - Dropdown label content. Only used when `isDropdown` is true.
@@ -10274,7 +10219,7 @@ class AuroCounterGroup extends AuroElement {
10274
10219
  renderBibTemplate() {
10275
10220
  return html$1`
10276
10221
  <${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
10277
- <slot name="ariaLabel.close" slot="ariaLabel.close"></slot>
10222
+ <slot name="ariaLabel.bib.close" slot="ariaLabel.close"></slot>
10278
10223
  ${this.renderCounterGroup(true)}
10279
10224
  </${this.bibtemplateTag}>
10280
10225
  `;
@@ -84,7 +84,7 @@ This configuration enables proper module resolution for the component's TypeScri
84
84
 
85
85
  ```html
86
86
  <auro-datepicker required="">
87
- <span slot="ariaLabel.close">Close Calendar</span>
87
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
88
88
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
89
89
  <span slot="fromLabel">Choose a date</span>
90
90
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -75,7 +75,7 @@
75
75
 
76
76
  | Name | Description |
77
77
  |----------------------------|--------------------------------------------------|
78
- | `ariaLabel.close` | Sets aria-label on close button in fullscreen bib |
78
+ | `ariaLabel.bib.close` | Sets aria-label on close button in fullscreen bib |
79
79
  | `bib.fullscreen.dateLabel` | Defines the content to display above selected dates in the mobile layout. |
80
80
  | `bib.fullscreen.headline` | Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout. |
81
81
  | `date_MM_DD_YYYY` | Defines the content to display in the auro-calendar-cell for the specified date. The content text is colored using the success state token when the `highlight` attribute is applied to the slot. |
@@ -105,7 +105,7 @@
105
105
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
106
106
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
107
107
  <auro-datepicker required="">
108
- <span slot="ariaLabel.close">Close Calendar</span>
108
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
109
109
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
110
110
  <span slot="fromLabel">Choose a date</span>
111
111
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -119,7 +119,7 @@
119
119
 
120
120
  ```html
121
121
  <auro-datepicker required="">
122
- <span slot="ariaLabel.close">Close Calendar</span>
122
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
123
123
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
124
124
  <span slot="fromLabel">Choose a date</span>
125
125
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -136,7 +136,7 @@ When used, the datepicker will display two inputs and the component will support
136
136
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
137
137
  <!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
138
138
  <auro-datepicker range minDate="07/08/2025">
139
- <span slot="ariaLabel.close">Close Calendar</span>
139
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
140
140
  <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
141
141
  <span slot="fromLabel">Departure</span>
142
142
  <span slot="toLabel">Return</span>
@@ -151,7 +151,7 @@ When used, the datepicker will display two inputs and the component will support
151
151
 
152
152
  ```html
153
153
  <auro-datepicker range minDate="07/08/2025">
154
- <span slot="ariaLabel.close">Close Calendar</span>
154
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
155
155
  <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
156
156
  <span slot="fromLabel">Departure</span>
157
157
  <span slot="toLabel">Return</span>
@@ -916,7 +916,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
916
916
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
917
917
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
918
918
  <auro-datepicker required="">
919
- <span slot="ariaLabel.close">Close Calendar</span>
919
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
920
920
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
921
921
  <span slot="fromLabel">Choose a date</span>
922
922
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -930,7 +930,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
930
930
 
931
931
  ```html
932
932
  <auro-datepicker required="">
933
- <span slot="ariaLabel.close">Close Calendar</span>
933
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
934
934
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
935
935
  <span slot="fromLabel">Choose a date</span>
936
936
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -979,7 +979,7 @@ To view this demo, set your window to a mobile screen size.
979
979
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
980
980
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
981
981
  <auro-datepicker required="">
982
- <span slot="ariaLabel.close">Close Calendar</span>
982
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
983
983
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
984
984
  <span slot="fromLabel">Choose a date</span>
985
985
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -993,7 +993,7 @@ To view this demo, set your window to a mobile screen size.
993
993
 
994
994
  ```html
995
995
  <auro-datepicker required="">
996
- <span slot="ariaLabel.close">Close Calendar</span>
996
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
997
997
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
998
998
  <span slot="fromLabel">Choose a date</span>
999
999
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -1010,7 +1010,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
1010
1010
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
1011
1011
  <!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
1012
1012
  <auro-datepicker range minDate="07/08/2025">
1013
- <span slot="ariaLabel.close">Close Calendar</span>
1013
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
1014
1014
  <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
1015
1015
  <span slot="fromLabel">Departure</span>
1016
1016
  <span slot="toLabel">Return</span>
@@ -1025,7 +1025,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
1025
1025
 
1026
1026
  ```html
1027
1027
  <auro-datepicker range minDate="07/08/2025">
1028
- <span slot="ariaLabel.close">Close Calendar</span>
1028
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
1029
1029
  <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
1030
1030
  <span slot="fromLabel">Departure</span>
1031
1031
  <span slot="toLabel">Return</span>
@@ -1392,7 +1392,7 @@ const t$1=globalThis,e$1=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.na
1392
1392
  * @license
1393
1393
  * Copyright 2017 Google LLC
1394
1394
  * SPDX-License-Identifier: BSD-3-Clause
1395
- */const{is:i$1,defineProperty:e,getOwnPropertyDescriptor:h,getOwnPropertyNames:r$2,getOwnPropertySymbols:o$3,getPrototypeOf:n$1}=Object,a=globalThis,c$1=a.trustedTypes,l=c$1?c$1.emptyScript:"",p$1=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u$2={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f=(t,s)=>!i$1(t,s),b={attribute:true,type:String,converter:u$2,reflect:false,useDefault:false,hasChanged:f};Symbol.metadata??=Symbol("metadata"),a.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=b){if(s.state&&(s.attribute=false),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=true),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),h=this.getPropertyDescriptor(t,i,s);void 0!==h&&e(this.prototype,t,h);}}static getPropertyDescriptor(t,s,i){const{get:e,set:r}=h(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get:e,set(s){const h=e?.call(this);r?.call(this,s),this.requestUpdate(t,h,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=n$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,s=[...r$2(t),...o$3(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const h=(void 0!==i.converter?.toAttribute?i.converter:u$2).toAttribute(s,i.type);this._$Em=t,null==h?this.removeAttribute(e):this.setAttribute(e,h),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$2;this._$Em=e,this[e]=h.fromAttribute(s,t.type)??this._$Ej?.get(e)??null,this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,h=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??f)(h,s)||i.useDefault&&i.reflect&&h===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$EP());}C(t,s,{useDefault:i,reflect:e,wrapped:h},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),true!==h||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),true===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t));}async _$EP(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t){const{wrapped:t}=i,e=this[s];true!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e);}}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EM();}catch(s){throw t=false,this._$EM(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EM(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM();}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[d("elementProperties")]=new Map,y[d("finalized")]=new Map,p$1?.({ReactiveElement:y}),(a.reactiveElementVersions??=[]).push("2.1.0");
1395
+ */const{is:i$1,defineProperty:e,getOwnPropertyDescriptor:h,getOwnPropertyNames:r$2,getOwnPropertySymbols:o$3,getPrototypeOf:n$1}=Object,a=globalThis,c$1=a.trustedTypes,l=c$1?c$1.emptyScript:"",p$1=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u$2={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f=(t,s)=>!i$1(t,s),b={attribute:true,type:String,converter:u$2,reflect:false,useDefault:false,hasChanged:f};Symbol.metadata??=Symbol("metadata"),a.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=b){if(s.state&&(s.attribute=false),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=true),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),h=this.getPropertyDescriptor(t,i,s);void 0!==h&&e(this.prototype,t,h);}}static getPropertyDescriptor(t,s,i){const{get:e,set:r}=h(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get:e,set(s){const h=e?.call(this);r?.call(this,s),this.requestUpdate(t,h,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=n$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,s=[...r$2(t),...o$3(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const h=(void 0!==i.converter?.toAttribute?i.converter:u$2).toAttribute(s,i.type);this._$Em=t,null==h?this.removeAttribute(e):this.setAttribute(e,h),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$2;this._$Em=e;const r=h.fromAttribute(s,t.type);this[e]=r??this._$Ej?.get(e)??r,this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,h=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??f)(h,s)||i.useDefault&&i.reflect&&h===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$EP());}C(t,s,{useDefault:i,reflect:e,wrapped:h},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),true!==h||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),true===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t));}async _$EP(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t){const{wrapped:t}=i,e=this[s];true!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e);}}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EM();}catch(s){throw t=false,this._$EM(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EM(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM();}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[d("elementProperties")]=new Map,y[d("finalized")]=new Map,p$1?.({ReactiveElement:y}),(a.reactiveElementVersions??=[]).push("2.1.1");
1396
1396
 
1397
1397
  /**
1398
1398
  * @license
@@ -1556,7 +1556,7 @@ class UtilitiesCalendarRender {
1556
1556
  }
1557
1557
  }
1558
1558
 
1559
- 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}}`;
1559
+ 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)}.accents .notification:not(.util_displayHidden){display:flex;align-items:center;justify-content:center}.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}}`;
1560
1560
 
1561
1561
  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)}`;
1562
1562
 
@@ -14504,7 +14504,7 @@ class AuroCalendar extends RangeDatepicker {
14504
14504
  ?large="${this.largeFullscreenHeadline}"
14505
14505
  ?isFullscreen="${this.isFullscreen}"
14506
14506
  @close-click="${this.utilCal.requestDismiss}">
14507
- <span slot="ariaLabel.close">${this.slots["ariaLabel.close"]}</span>
14507
+ <span slot="ariaLabel.close">${this.slots["ariaLabel.bib.close"]}</span>
14508
14508
 
14509
14509
  <span slot="header">${this.slots["bib.fullscreen.headline"]}</span>
14510
14510
 
@@ -16367,6 +16367,7 @@ class AuroFloatingUI {
16367
16367
  this.element.bib.style.left = "0px";
16368
16368
  this.element.bib.style.width = '';
16369
16369
  this.element.bib.style.height = '';
16370
+ this.element.style.contain = '';
16370
16371
 
16371
16372
  // reset the size that was mirroring `size` css-part
16372
16373
  const bibContent = this.element.bib.shadowRoot.querySelector(".container");
@@ -16391,6 +16392,7 @@ class AuroFloatingUI {
16391
16392
  this.element.bib.style.position = '';
16392
16393
  this.element.bib.removeAttribute('isfullscreen');
16393
16394
  this.element.isBibFullscreen = false;
16395
+ this.element.style.contain = 'layout';
16394
16396
  }
16395
16397
 
16396
16398
  const isChanged = this.strategy && this.strategy !== value;
@@ -18005,6 +18007,7 @@ let AuroElement$4 = class AuroElement extends i {
18005
18007
  // See LICENSE in the project root for license information.
18006
18008
 
18007
18009
 
18010
+
18008
18011
  /*
18009
18012
  * @slot - Default slot for the popover content.
18010
18013
  * @slot helpText - Defines the content of the helpText.
@@ -18587,64 +18590,6 @@ class AuroDropdown extends AuroElement$4 {
18587
18590
  this.hasFocus = false;
18588
18591
  }
18589
18592
 
18590
- /**
18591
- * Determines if the element or any children are focusable.
18592
- * @private
18593
- * @param {HTMLElement} element - Element to check.
18594
- * @returns {Boolean} - True if the element or any children are focusable.
18595
- */
18596
- containsFocusableElement(element) {
18597
- this.showTriggerBorders = true;
18598
-
18599
- const nodes = [
18600
- element,
18601
- ...element.children
18602
- ];
18603
-
18604
- const focusableElements = [
18605
- 'a',
18606
- 'auro-hyperlink',
18607
- 'button',
18608
- 'auro-button',
18609
- 'input',
18610
- 'auro-input',
18611
- ];
18612
-
18613
- const focusableElementsThatNeedBorders = ['auro-input'];
18614
-
18615
- const result = nodes.some((node) => {
18616
- const tagName = node.tagName.toLowerCase();
18617
-
18618
- if (node.tabIndex > -1) {
18619
- return true;
18620
- }
18621
-
18622
- if (focusableElements.includes(tagName)) {
18623
- if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
18624
- return true;
18625
- }
18626
- if (!node.hasAttribute('disabled')) {
18627
- return true;
18628
- }
18629
- }
18630
-
18631
- if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
18632
- return true;
18633
- }
18634
-
18635
- return false;
18636
- });
18637
-
18638
- if (result) {
18639
- this.showTriggerBorders = !nodes.some((node) => {
18640
- const tagName = node.tagName.toLowerCase();
18641
- return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
18642
- });
18643
- }
18644
-
18645
- return result;
18646
- }
18647
-
18648
18593
  /**
18649
18594
  * Creates and dispatches a duplicate focus event on the trigger element.
18650
18595
  * @private
@@ -18756,7 +18701,7 @@ class AuroDropdown extends AuroElement$4 {
18756
18701
  if (triggerContentNodes) {
18757
18702
 
18758
18703
  // See if any of them are focusable elements
18759
- this.triggerContentFocusable = triggerContentNodes.some((node) => this.containsFocusableElement(node));
18704
+ this.triggerContentFocusable = triggerContentNodes.some((node) => getFocusableElements(node).length > 0);
18760
18705
 
18761
18706
  // If any of them are focusable elements
18762
18707
  if (this.triggerContentFocusable) {
@@ -18828,7 +18773,7 @@ class AuroDropdown extends AuroElement$4 {
18828
18773
  <div
18829
18774
  id="trigger"
18830
18775
  class="${e$2(this.commonWrapperClasses)}" part="wrapper"
18831
- tabindex="${this.tabIndex}"
18776
+ tabindex="${o(this.triggerContentFocusable ? undefined : this.tabIndex)}"
18832
18777
  role="${o(this.triggerContentFocusable ? undefined : this.a11yRole)}"
18833
18778
  aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
18834
18779
  aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
@@ -24332,8 +24277,7 @@ class BaseInput extends AuroElement$2 {
24332
24277
  * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
24333
24278
  */
24334
24279
  value: {
24335
- type: String,
24336
- reflect: true
24280
+ type: String
24337
24281
  },
24338
24282
 
24339
24283
  /**
@@ -28054,7 +27998,7 @@ var iconVersion = '8.0.1';
28054
27998
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
28055
27999
  /**
28056
28000
  * @slot helpText - Defines the content of the helpText.
28057
- * @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
28001
+ * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
28058
28002
  * @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
28059
28003
  * @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
28060
28004
  * @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
@@ -28186,6 +28130,9 @@ class AuroDatePicker extends AuroElement$1 {
28186
28130
  */
28187
28131
  this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', helpTextVersion, AuroHelpText);
28188
28132
 
28133
+ /** @private */
28134
+ this.handleClick = this.handleClick.bind(this);
28135
+
28189
28136
  // Layout Config
28190
28137
  this.layout = 'classic';
28191
28138
  this.shape = 'classic';
@@ -28585,10 +28532,10 @@ class AuroDatePicker extends AuroElement$1 {
28585
28532
  * @returns {void}
28586
28533
  */
28587
28534
  focus(focusInput = '') {
28535
+ this.hasFocus = true;
28588
28536
  this.range && focusInput === 'endDate' ? this.inputList[1].focus() : this.inputList[0].focus();
28589
28537
  }
28590
28538
 
28591
-
28592
28539
  /**
28593
28540
  * Converts valid time number to format used by wc-date-range API.
28594
28541
  * @private
@@ -28790,15 +28737,18 @@ class AuroDatePicker extends AuroElement$1 {
28790
28737
  this.hasFocus = true;
28791
28738
  });
28792
28739
 
28793
- this.addEventListener('focusout', (evt) => {
28740
+ this.addEventListener('focusout', () => {
28794
28741
  this.hasFocus = false;
28795
- if (!this.noValidate && !evt.detail.expanded && this.touched) {
28796
- if (!this.contains(document.activeElement)) {
28797
- this.validation.validate(this.inputList[0]);
28798
28742
 
28799
- if (this.inputList[1] && this.inputList[1].touched) {
28800
- this.validation.validate(this.inputList[1]);
28801
- }
28743
+ if (this.noValidate) {
28744
+ return;
28745
+ }
28746
+
28747
+ if (!this.contains(document.activeElement)) {
28748
+ this.validation.validate(this.inputList[0]);
28749
+
28750
+ if (this.inputList[1]) {
28751
+ this.validation.validate(this.inputList[1]);
28802
28752
  }
28803
28753
  }
28804
28754
  });
@@ -29050,8 +29000,8 @@ class AuroDatePicker extends AuroElement$1 {
29050
29000
  this.calendarRenderUtil.updateCentralDate(this, this.formattedValue);
29051
29001
  }
29052
29002
 
29053
- this.validate();
29054
29003
  this.setHasValue();
29004
+ this.validate();
29055
29005
  }
29056
29006
 
29057
29007
  if (changedProperties.has('valueEnd') && this.inputList[1]) {
@@ -29207,6 +29157,39 @@ class AuroDatePicker extends AuroElement$1 {
29207
29157
  this.calendar.injectSlot(event.target.name, slot.cloneNode(true));
29208
29158
  }
29209
29159
 
29160
+ /**
29161
+ * Handles click events on the datepicker.
29162
+ * @param {PointerEvent} event - The pointer event object.
29163
+ * @private
29164
+ * @returns {void}
29165
+ */
29166
+ handleClick(event) {
29167
+
29168
+ // Get the initial target of the click event
29169
+ const [initTarget] = event.composedPath();
29170
+
29171
+ // Determine if the current layout requires special handling
29172
+ const layoutRequiresHandling = ['snowflake'].includes(this.layout);
29173
+
29174
+ // Determine if the target is an input element
29175
+ const targetIsInput = initTarget.tagName === 'INPUT';
29176
+
29177
+ if (layoutRequiresHandling && !targetIsInput) {
29178
+
29179
+ // Focus the first input
29180
+ this.inputList[0].focus();
29181
+ }
29182
+ }
29183
+
29184
+ /**
29185
+ * Set up click handling for the datepicker.
29186
+ * @private
29187
+ * @returns {void}
29188
+ */
29189
+ configureClickHandler() {
29190
+ this.addEventListener('click', this.handleClick);
29191
+ }
29192
+
29210
29193
  firstUpdated() {
29211
29194
  // Add the tag name as an attribute if it is different than the component name
29212
29195
  this.runtimeUtils.handleComponentTagRename(this, 'auro-datepicker');
@@ -29215,6 +29198,7 @@ class AuroDatePicker extends AuroElement$1 {
29215
29198
  this.configureInput();
29216
29199
  this.configureCalendar();
29217
29200
  this.configureDatepicker();
29201
+ this.configureClickHandler();
29218
29202
 
29219
29203
  window.addEventListener('resize', () => {
29220
29204
  this.handleReadOnly();
@@ -29225,11 +29209,6 @@ class AuroDatePicker extends AuroElement$1 {
29225
29209
  super.connectedCallback();
29226
29210
 
29227
29211
  this.monthFirst = this.format.indexOf('mm') < this.format.indexOf('yyyy');
29228
-
29229
- // setup focus/blur event listeners
29230
- this.addEventListener('focus', () => {
29231
- this.focus();
29232
- }, true);
29233
29212
  }
29234
29213
 
29235
29214
  // layout render methods
@@ -29274,9 +29253,9 @@ class AuroDatePicker extends AuroElement$1 {
29274
29253
  </div>
29275
29254
  <div class="accents right ${e$2(accentsClassMap)}">
29276
29255
  ${this.hasError
29277
- ? this.renderHtmlIconError()
29278
- : this.renderHtmlActionClear()
29279
- }
29256
+ ? this.renderHtmlIconError()
29257
+ : this.renderHtmlActionClear()
29258
+ }
29280
29259
  </div>
29281
29260
  </div>
29282
29261
  `;
@@ -29321,9 +29300,9 @@ class AuroDatePicker extends AuroElement$1 {
29321
29300
  </div>
29322
29301
  <div class="accents right ${e$2(accentsClassMap)}">
29323
29302
  ${this.hasError
29324
- ? this.renderHtmlIconError()
29325
- : this.renderHtmlActionClear()
29326
- }
29303
+ ? this.renderHtmlIconError()
29304
+ : this.renderHtmlActionClear()
29305
+ }
29327
29306
  </div>
29328
29307
  </div>
29329
29308
  `;
@@ -29373,9 +29352,9 @@ class AuroDatePicker extends AuroElement$1 {
29373
29352
  <div>
29374
29353
  <div class="displayValueText">
29375
29354
  ${dateValue && this.util.validDateStr(dateValue, this.format)
29376
- ? this.formatShortDate(dateValue)
29377
- : undefined
29378
- }
29355
+ ? this.formatShortDate(dateValue)
29356
+ : undefined
29357
+ }
29379
29358
  </div>
29380
29359
  </div>
29381
29360
  `;
@@ -29417,13 +29396,13 @@ class AuroDatePicker extends AuroElement$1 {
29417
29396
  inputmode="${o(this.inputmode)}"
29418
29397
  >
29419
29398
  ${this.layout !== "classic"
29420
- ? u$3`
29399
+ ? u$3`
29421
29400
  <span slot="displayValue">
29422
29401
  ${this.renderDisplayTextDate(this.value)}
29423
29402
  </span>
29424
29403
  `
29425
- : undefined
29426
- }
29404
+ : undefined
29405
+ }
29427
29406
  <span slot="label"><slot name="fromLabel"></slot></span>
29428
29407
  </${this.inputTag}>
29429
29408
  </div>
@@ -29454,13 +29433,13 @@ class AuroDatePicker extends AuroElement$1 {
29454
29433
  ?disabled="${this.disabled}"
29455
29434
  part="input">
29456
29435
  ${this.layout !== "classic"
29457
- ? u$3`
29436
+ ? u$3`
29458
29437
  <span slot="displayValue">
29459
29438
  ${this.renderDisplayTextDate(this.valueEnd)}
29460
29439
  </span>
29461
29440
  `
29462
- : undefined
29463
- }
29441
+ : undefined
29442
+ }
29464
29443
  <span slot="label"><slot name="toLabel"></slot></span>
29465
29444
  </${this.inputTag}>
29466
29445
  </div>
@@ -29500,7 +29479,6 @@ class AuroDatePicker extends AuroElement$1 {
29500
29479
  ?customColor="${this.onDark}"
29501
29480
  category="interface"
29502
29481
  name="x-lg"
29503
- slot="icon"
29504
29482
  >
29505
29483
  </${this.iconTag}>
29506
29484
  </${this.buttonTag}>
@@ -29557,21 +29535,21 @@ class AuroDatePicker extends AuroElement$1 {
29557
29535
  renderHtmlHelpText() {
29558
29536
  return u$3`
29559
29537
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
29560
- ? u$3`
29538
+ ? u$3`
29561
29539
  <${this.helpTextTag} ?onDark="${this.onDark}">
29562
29540
  <p id="${this.uniqueId}" part="helpText">
29563
29541
  <slot name="helpText"></slot>
29564
29542
  </p>
29565
29543
  </${this.helpTextTag}>
29566
29544
  `
29567
- : u$3`
29545
+ : u$3`
29568
29546
  <${this.helpTextTag} error ?onDark="${this.onDark}">
29569
29547
  <p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
29570
29548
  ${this.errorMessage}
29571
29549
  </p>
29572
29550
  </${this.helpTextTag}>
29573
29551
  `
29574
- }
29552
+ }
29575
29553
  `;
29576
29554
  }
29577
29555
 
@@ -29594,7 +29572,7 @@ class AuroDatePicker extends AuroElement$1 {
29594
29572
  .monthNames="${this.monthNames}"
29595
29573
  part="calendar"
29596
29574
  >
29597
- <slot name="ariaLabel.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
29575
+ <slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
29598
29576
  <slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
29599
29577
  <slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
29600
29578
  <span slot="bib.fullscreen.fromStr">${this.value || u$3`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>