@aurodesignsystem/auro-formkit 2.0.0-beta.47 → 2.0.0-beta.49
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.
- package/CHANGELOG.md +14 -0
- package/components/bibtemplate/dist/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- package/components/checkbox/README.md +1 -1
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.min.js +45 -26
- package/components/combobox/demo/index.min.js +45 -26
- package/components/combobox/dist/auro-combobox.d.ts +9 -0
- package/components/combobox/dist/index.js +45 -26
- package/components/combobox/dist/registered.js +45 -26
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.min.js +41 -15
- package/components/counter/demo/index.min.js +41 -15
- package/components/counter/dist/auro-counter-group.d.ts +11 -0
- package/components/counter/dist/index.js +41 -15
- package/components/counter/dist/registered.js +41 -15
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.min.js +15 -13
- package/components/datepicker/demo/index.min.js +15 -13
- package/components/datepicker/dist/index.js +15 -13
- package/components/datepicker/dist/registered.js +15 -13
- package/components/dropdown/README.md +1 -1
- package/components/form/README.md +1 -1
- package/components/input/README.md +1 -1
- package/components/menu/README.md +1 -1
- package/components/radio/README.md +1 -1
- package/components/select/README.md +3 -3
- package/package.json +1 -1
|
@@ -1616,7 +1616,7 @@ class AuroCounter extends r$9 {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
1618
|
|
|
1619
|
-
var styleCss$5 = i$g`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:hidden;text-overflow:ellipsis}[auro-dropdown]{display:block}[auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}`;
|
|
1619
|
+
var styleCss$5 = i$g`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:hidden;text-overflow:ellipsis}[auro-dropdown]{display:block}[auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}#slotHolder{display:none}`;
|
|
1620
1620
|
|
|
1621
1621
|
/**
|
|
1622
1622
|
* @license
|
|
@@ -5019,7 +5019,7 @@ const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s=t=>({_$litS
|
|
|
5019
5019
|
|
|
5020
5020
|
var colorCss$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
5021
5021
|
|
|
5022
|
-
var styleCss$2 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{overflow:auto;flex:1 1 100
|
|
5022
|
+
var styleCss$2 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
5023
5023
|
|
|
5024
5024
|
var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-color-container-primary-default, #ffffff)}`;
|
|
5025
5025
|
|
|
@@ -5864,6 +5864,11 @@ class AuroCounterGroup extends r$9 {
|
|
|
5864
5864
|
*/
|
|
5865
5865
|
this.dropdown = undefined;
|
|
5866
5866
|
|
|
5867
|
+
/**
|
|
5868
|
+
* @private
|
|
5869
|
+
*/
|
|
5870
|
+
this.bibtemplate = undefined;
|
|
5871
|
+
|
|
5867
5872
|
/**
|
|
5868
5873
|
* @private
|
|
5869
5874
|
*/
|
|
@@ -6089,22 +6094,39 @@ class AuroCounterGroup extends r$9 {
|
|
|
6089
6094
|
* This sets up a close event listener and moves any slotted `bib.fullscreen.headline` and `bib.fullscreen.footer` content into the bibtemplate.
|
|
6090
6095
|
*/
|
|
6091
6096
|
configureBibtemplate() {
|
|
6092
|
-
|
|
6093
|
-
bibtemplate.addEventListener('close-click', () => {
|
|
6097
|
+
this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
|
|
6098
|
+
this.bibtemplate.addEventListener('close-click', () => {
|
|
6094
6099
|
if (this.dropdown.isPopoverVisible) {
|
|
6095
6100
|
this.dropdown.hide();
|
|
6096
6101
|
}
|
|
6097
6102
|
});
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6103
|
+
}
|
|
6104
|
+
|
|
6105
|
+
/**
|
|
6106
|
+
* Watch for slot changes and recalculate the menuoptions.
|
|
6107
|
+
* @private
|
|
6108
|
+
* @param {Event} event - `slotchange` event.
|
|
6109
|
+
* @returns {void}
|
|
6110
|
+
*/
|
|
6111
|
+
handleSlotChange(event) {
|
|
6112
|
+
let targetSlot = '';
|
|
6113
|
+
if (event.target.name === 'bib.fullscreen.headline') {
|
|
6114
|
+
targetSlot = 'header';
|
|
6115
|
+
} else if (event.target.name === 'bib.fullscreen.footer') {
|
|
6116
|
+
targetSlot = 'footer';
|
|
6102
6117
|
}
|
|
6118
|
+
if (targetSlot) {
|
|
6119
|
+
if (!this.dropdown) {
|
|
6120
|
+
this.configureDropdownCounters();
|
|
6121
|
+
}
|
|
6103
6122
|
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6123
|
+
this.bibtemplate.querySelectorAll(`[slot="${targetSlot}"]`).forEach((old) => old.remove());
|
|
6124
|
+
|
|
6125
|
+
event.target.assignedNodes().forEach((node) => {
|
|
6126
|
+
const clone = node.cloneNode(true);
|
|
6127
|
+
clone.setAttribute('slot', targetSlot);
|
|
6128
|
+
this.bibtemplate.append(clone);
|
|
6129
|
+
});
|
|
6108
6130
|
}
|
|
6109
6131
|
}
|
|
6110
6132
|
|
|
@@ -6183,19 +6205,23 @@ class AuroCounterGroup extends r$9 {
|
|
|
6183
6205
|
return u$6`
|
|
6184
6206
|
${this.isDropdown
|
|
6185
6207
|
? u$6`<${this.dropdownTag} common chevron fullscreenBreakpoint="${this.fullscreenBreakpoint}">
|
|
6186
|
-
|
|
6187
6208
|
<div slot="trigger"><slot name="valueText">
|
|
6188
6209
|
${this.counters && Array.from(this.counters).map((counter, index) => `${counter.value} ${counter.defaultSlot}${index !== this.counters.length - 1 ? ', ' : ''}`)}
|
|
6189
6210
|
</slot></div>
|
|
6190
6211
|
<div slot="label"><slot name="label"></slot></div>
|
|
6191
6212
|
<div slot="helpText"><slot name="helpText"></slot></div>
|
|
6192
6213
|
|
|
6193
|
-
|
|
6214
|
+
<${this.bibtemplateTag} ?large="${this.largeMobileHeadline}">
|
|
6194
6215
|
<auro-counter-wrapper isInDropdown>
|
|
6195
6216
|
</auro-counter-wrapper>
|
|
6196
6217
|
</${this.bibtemplateTag}>
|
|
6197
6218
|
</${this.dropdownTag}>
|
|
6198
|
-
<slot @slotchange=${() => this.configureDropdownCounters()}></slot
|
|
6219
|
+
<slot @slotchange=${() => this.configureDropdownCounters()}></slot>
|
|
6220
|
+
<div id="slotHolder">
|
|
6221
|
+
<slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
|
|
6222
|
+
<slot name="bib.fullscreen.footer" @slotchange="${this.handleSlotChange}"></slot>
|
|
6223
|
+
</div>
|
|
6224
|
+
`
|
|
6199
6225
|
: u$6`<auro-counter-wrapper><slot @slotchange=${() => this.configureCounters()}></slot></auro-counter-wrapper>`
|
|
6200
6226
|
}`;
|
|
6201
6227
|
}
|
|
@@ -1616,7 +1616,7 @@ class AuroCounter extends r$9 {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
1618
|
|
|
1619
|
-
var styleCss$5 = i$g`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:hidden;text-overflow:ellipsis}[auro-dropdown]{display:block}[auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}`;
|
|
1619
|
+
var styleCss$5 = i$g`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:hidden;text-overflow:ellipsis}[auro-dropdown]{display:block}[auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}#slotHolder{display:none}`;
|
|
1620
1620
|
|
|
1621
1621
|
/**
|
|
1622
1622
|
* @license
|
|
@@ -5019,7 +5019,7 @@ const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s=t=>({_$litS
|
|
|
5019
5019
|
|
|
5020
5020
|
var colorCss$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
5021
5021
|
|
|
5022
|
-
var styleCss$2 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{overflow:auto;flex:1 1 100
|
|
5022
|
+
var styleCss$2 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
5023
5023
|
|
|
5024
5024
|
var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-color-container-primary-default, #ffffff)}`;
|
|
5025
5025
|
|
|
@@ -5864,6 +5864,11 @@ class AuroCounterGroup extends r$9 {
|
|
|
5864
5864
|
*/
|
|
5865
5865
|
this.dropdown = undefined;
|
|
5866
5866
|
|
|
5867
|
+
/**
|
|
5868
|
+
* @private
|
|
5869
|
+
*/
|
|
5870
|
+
this.bibtemplate = undefined;
|
|
5871
|
+
|
|
5867
5872
|
/**
|
|
5868
5873
|
* @private
|
|
5869
5874
|
*/
|
|
@@ -6089,22 +6094,39 @@ class AuroCounterGroup extends r$9 {
|
|
|
6089
6094
|
* This sets up a close event listener and moves any slotted `bib.fullscreen.headline` and `bib.fullscreen.footer` content into the bibtemplate.
|
|
6090
6095
|
*/
|
|
6091
6096
|
configureBibtemplate() {
|
|
6092
|
-
|
|
6093
|
-
bibtemplate.addEventListener('close-click', () => {
|
|
6097
|
+
this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
|
|
6098
|
+
this.bibtemplate.addEventListener('close-click', () => {
|
|
6094
6099
|
if (this.dropdown.isPopoverVisible) {
|
|
6095
6100
|
this.dropdown.hide();
|
|
6096
6101
|
}
|
|
6097
6102
|
});
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6103
|
+
}
|
|
6104
|
+
|
|
6105
|
+
/**
|
|
6106
|
+
* Watch for slot changes and recalculate the menuoptions.
|
|
6107
|
+
* @private
|
|
6108
|
+
* @param {Event} event - `slotchange` event.
|
|
6109
|
+
* @returns {void}
|
|
6110
|
+
*/
|
|
6111
|
+
handleSlotChange(event) {
|
|
6112
|
+
let targetSlot = '';
|
|
6113
|
+
if (event.target.name === 'bib.fullscreen.headline') {
|
|
6114
|
+
targetSlot = 'header';
|
|
6115
|
+
} else if (event.target.name === 'bib.fullscreen.footer') {
|
|
6116
|
+
targetSlot = 'footer';
|
|
6102
6117
|
}
|
|
6118
|
+
if (targetSlot) {
|
|
6119
|
+
if (!this.dropdown) {
|
|
6120
|
+
this.configureDropdownCounters();
|
|
6121
|
+
}
|
|
6103
6122
|
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6123
|
+
this.bibtemplate.querySelectorAll(`[slot="${targetSlot}"]`).forEach((old) => old.remove());
|
|
6124
|
+
|
|
6125
|
+
event.target.assignedNodes().forEach((node) => {
|
|
6126
|
+
const clone = node.cloneNode(true);
|
|
6127
|
+
clone.setAttribute('slot', targetSlot);
|
|
6128
|
+
this.bibtemplate.append(clone);
|
|
6129
|
+
});
|
|
6108
6130
|
}
|
|
6109
6131
|
}
|
|
6110
6132
|
|
|
@@ -6183,19 +6205,23 @@ class AuroCounterGroup extends r$9 {
|
|
|
6183
6205
|
return u$6`
|
|
6184
6206
|
${this.isDropdown
|
|
6185
6207
|
? u$6`<${this.dropdownTag} common chevron fullscreenBreakpoint="${this.fullscreenBreakpoint}">
|
|
6186
|
-
|
|
6187
6208
|
<div slot="trigger"><slot name="valueText">
|
|
6188
6209
|
${this.counters && Array.from(this.counters).map((counter, index) => `${counter.value} ${counter.defaultSlot}${index !== this.counters.length - 1 ? ', ' : ''}`)}
|
|
6189
6210
|
</slot></div>
|
|
6190
6211
|
<div slot="label"><slot name="label"></slot></div>
|
|
6191
6212
|
<div slot="helpText"><slot name="helpText"></slot></div>
|
|
6192
6213
|
|
|
6193
|
-
|
|
6214
|
+
<${this.bibtemplateTag} ?large="${this.largeMobileHeadline}">
|
|
6194
6215
|
<auro-counter-wrapper isInDropdown>
|
|
6195
6216
|
</auro-counter-wrapper>
|
|
6196
6217
|
</${this.bibtemplateTag}>
|
|
6197
6218
|
</${this.dropdownTag}>
|
|
6198
|
-
<slot @slotchange=${() => this.configureDropdownCounters()}></slot
|
|
6219
|
+
<slot @slotchange=${() => this.configureDropdownCounters()}></slot>
|
|
6220
|
+
<div id="slotHolder">
|
|
6221
|
+
<slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
|
|
6222
|
+
<slot name="bib.fullscreen.footer" @slotchange="${this.handleSlotChange}"></slot>
|
|
6223
|
+
</div>
|
|
6224
|
+
`
|
|
6199
6225
|
: u$6`<auro-counter-wrapper><slot @slotchange=${() => this.configureCounters()}></slot></auro-counter-wrapper>`
|
|
6200
6226
|
}`;
|
|
6201
6227
|
}
|
|
@@ -95,6 +95,10 @@ export class AuroCounterGroup extends LitElement {
|
|
|
95
95
|
* @private
|
|
96
96
|
*/
|
|
97
97
|
private dropdown;
|
|
98
|
+
/**
|
|
99
|
+
* @private
|
|
100
|
+
*/
|
|
101
|
+
private bibtemplate;
|
|
98
102
|
/**
|
|
99
103
|
* @private
|
|
100
104
|
*/
|
|
@@ -147,6 +151,13 @@ export class AuroCounterGroup extends LitElement {
|
|
|
147
151
|
* This sets up a close event listener and moves any slotted `bib.fullscreen.headline` and `bib.fullscreen.footer` content into the bibtemplate.
|
|
148
152
|
*/
|
|
149
153
|
private configureBibtemplate;
|
|
154
|
+
/**
|
|
155
|
+
* Watch for slot changes and recalculate the menuoptions.
|
|
156
|
+
* @private
|
|
157
|
+
* @param {Event} event - `slotchange` event.
|
|
158
|
+
* @returns {void}
|
|
159
|
+
*/
|
|
160
|
+
private handleSlotChange;
|
|
150
161
|
/**
|
|
151
162
|
* Safely converts a value to a number, returning 0 if invalid.
|
|
152
163
|
* @private
|
|
@@ -1616,7 +1616,7 @@ class AuroCounter extends r$9 {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
1618
|
|
|
1619
|
-
var styleCss$5 = i$g`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:hidden;text-overflow:ellipsis}[auro-dropdown]{display:block}[auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}`;
|
|
1619
|
+
var styleCss$5 = i$g`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:hidden;text-overflow:ellipsis}[auro-dropdown]{display:block}[auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}#slotHolder{display:none}`;
|
|
1620
1620
|
|
|
1621
1621
|
/**
|
|
1622
1622
|
* @license
|
|
@@ -5019,7 +5019,7 @@ const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s=t=>({_$litS
|
|
|
5019
5019
|
|
|
5020
5020
|
var colorCss$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
5021
5021
|
|
|
5022
|
-
var styleCss$2 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{overflow:auto;flex:1 1 100
|
|
5022
|
+
var styleCss$2 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
5023
5023
|
|
|
5024
5024
|
var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-color-container-primary-default, #ffffff)}`;
|
|
5025
5025
|
|
|
@@ -5864,6 +5864,11 @@ class AuroCounterGroup extends r$9 {
|
|
|
5864
5864
|
*/
|
|
5865
5865
|
this.dropdown = undefined;
|
|
5866
5866
|
|
|
5867
|
+
/**
|
|
5868
|
+
* @private
|
|
5869
|
+
*/
|
|
5870
|
+
this.bibtemplate = undefined;
|
|
5871
|
+
|
|
5867
5872
|
/**
|
|
5868
5873
|
* @private
|
|
5869
5874
|
*/
|
|
@@ -6089,22 +6094,39 @@ class AuroCounterGroup extends r$9 {
|
|
|
6089
6094
|
* This sets up a close event listener and moves any slotted `bib.fullscreen.headline` and `bib.fullscreen.footer` content into the bibtemplate.
|
|
6090
6095
|
*/
|
|
6091
6096
|
configureBibtemplate() {
|
|
6092
|
-
|
|
6093
|
-
bibtemplate.addEventListener('close-click', () => {
|
|
6097
|
+
this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
|
|
6098
|
+
this.bibtemplate.addEventListener('close-click', () => {
|
|
6094
6099
|
if (this.dropdown.isPopoverVisible) {
|
|
6095
6100
|
this.dropdown.hide();
|
|
6096
6101
|
}
|
|
6097
6102
|
});
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6103
|
+
}
|
|
6104
|
+
|
|
6105
|
+
/**
|
|
6106
|
+
* Watch for slot changes and recalculate the menuoptions.
|
|
6107
|
+
* @private
|
|
6108
|
+
* @param {Event} event - `slotchange` event.
|
|
6109
|
+
* @returns {void}
|
|
6110
|
+
*/
|
|
6111
|
+
handleSlotChange(event) {
|
|
6112
|
+
let targetSlot = '';
|
|
6113
|
+
if (event.target.name === 'bib.fullscreen.headline') {
|
|
6114
|
+
targetSlot = 'header';
|
|
6115
|
+
} else if (event.target.name === 'bib.fullscreen.footer') {
|
|
6116
|
+
targetSlot = 'footer';
|
|
6102
6117
|
}
|
|
6118
|
+
if (targetSlot) {
|
|
6119
|
+
if (!this.dropdown) {
|
|
6120
|
+
this.configureDropdownCounters();
|
|
6121
|
+
}
|
|
6103
6122
|
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6123
|
+
this.bibtemplate.querySelectorAll(`[slot="${targetSlot}"]`).forEach((old) => old.remove());
|
|
6124
|
+
|
|
6125
|
+
event.target.assignedNodes().forEach((node) => {
|
|
6126
|
+
const clone = node.cloneNode(true);
|
|
6127
|
+
clone.setAttribute('slot', targetSlot);
|
|
6128
|
+
this.bibtemplate.append(clone);
|
|
6129
|
+
});
|
|
6108
6130
|
}
|
|
6109
6131
|
}
|
|
6110
6132
|
|
|
@@ -6183,19 +6205,23 @@ class AuroCounterGroup extends r$9 {
|
|
|
6183
6205
|
return u$6`
|
|
6184
6206
|
${this.isDropdown
|
|
6185
6207
|
? u$6`<${this.dropdownTag} common chevron fullscreenBreakpoint="${this.fullscreenBreakpoint}">
|
|
6186
|
-
|
|
6187
6208
|
<div slot="trigger"><slot name="valueText">
|
|
6188
6209
|
${this.counters && Array.from(this.counters).map((counter, index) => `${counter.value} ${counter.defaultSlot}${index !== this.counters.length - 1 ? ', ' : ''}`)}
|
|
6189
6210
|
</slot></div>
|
|
6190
6211
|
<div slot="label"><slot name="label"></slot></div>
|
|
6191
6212
|
<div slot="helpText"><slot name="helpText"></slot></div>
|
|
6192
6213
|
|
|
6193
|
-
|
|
6214
|
+
<${this.bibtemplateTag} ?large="${this.largeMobileHeadline}">
|
|
6194
6215
|
<auro-counter-wrapper isInDropdown>
|
|
6195
6216
|
</auro-counter-wrapper>
|
|
6196
6217
|
</${this.bibtemplateTag}>
|
|
6197
6218
|
</${this.dropdownTag}>
|
|
6198
|
-
<slot @slotchange=${() => this.configureDropdownCounters()}></slot
|
|
6219
|
+
<slot @slotchange=${() => this.configureDropdownCounters()}></slot>
|
|
6220
|
+
<div id="slotHolder">
|
|
6221
|
+
<slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
|
|
6222
|
+
<slot name="bib.fullscreen.footer" @slotchange="${this.handleSlotChange}"></slot>
|
|
6223
|
+
</div>
|
|
6224
|
+
`
|
|
6199
6225
|
: u$6`<auro-counter-wrapper><slot @slotchange=${() => this.configureCounters()}></slot></auro-counter-wrapper>`
|
|
6200
6226
|
}`;
|
|
6201
6227
|
}
|
|
@@ -1616,7 +1616,7 @@ class AuroCounter extends r$9 {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
1618
|
|
|
1619
|
-
var styleCss$5 = i$g`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:hidden;text-overflow:ellipsis}[auro-dropdown]{display:block}[auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}`;
|
|
1619
|
+
var styleCss$5 = i$g`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:hidden;text-overflow:ellipsis}[auro-dropdown]{display:block}[auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}#slotHolder{display:none}`;
|
|
1620
1620
|
|
|
1621
1621
|
/**
|
|
1622
1622
|
* @license
|
|
@@ -5019,7 +5019,7 @@ const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s=t=>({_$litS
|
|
|
5019
5019
|
|
|
5020
5020
|
var colorCss$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
5021
5021
|
|
|
5022
|
-
var styleCss$2 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{overflow:auto;flex:1 1 100
|
|
5022
|
+
var styleCss$2 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
5023
5023
|
|
|
5024
5024
|
var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-color-container-primary-default, #ffffff)}`;
|
|
5025
5025
|
|
|
@@ -5864,6 +5864,11 @@ class AuroCounterGroup extends r$9 {
|
|
|
5864
5864
|
*/
|
|
5865
5865
|
this.dropdown = undefined;
|
|
5866
5866
|
|
|
5867
|
+
/**
|
|
5868
|
+
* @private
|
|
5869
|
+
*/
|
|
5870
|
+
this.bibtemplate = undefined;
|
|
5871
|
+
|
|
5867
5872
|
/**
|
|
5868
5873
|
* @private
|
|
5869
5874
|
*/
|
|
@@ -6089,22 +6094,39 @@ class AuroCounterGroup extends r$9 {
|
|
|
6089
6094
|
* This sets up a close event listener and moves any slotted `bib.fullscreen.headline` and `bib.fullscreen.footer` content into the bibtemplate.
|
|
6090
6095
|
*/
|
|
6091
6096
|
configureBibtemplate() {
|
|
6092
|
-
|
|
6093
|
-
bibtemplate.addEventListener('close-click', () => {
|
|
6097
|
+
this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
|
|
6098
|
+
this.bibtemplate.addEventListener('close-click', () => {
|
|
6094
6099
|
if (this.dropdown.isPopoverVisible) {
|
|
6095
6100
|
this.dropdown.hide();
|
|
6096
6101
|
}
|
|
6097
6102
|
});
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6103
|
+
}
|
|
6104
|
+
|
|
6105
|
+
/**
|
|
6106
|
+
* Watch for slot changes and recalculate the menuoptions.
|
|
6107
|
+
* @private
|
|
6108
|
+
* @param {Event} event - `slotchange` event.
|
|
6109
|
+
* @returns {void}
|
|
6110
|
+
*/
|
|
6111
|
+
handleSlotChange(event) {
|
|
6112
|
+
let targetSlot = '';
|
|
6113
|
+
if (event.target.name === 'bib.fullscreen.headline') {
|
|
6114
|
+
targetSlot = 'header';
|
|
6115
|
+
} else if (event.target.name === 'bib.fullscreen.footer') {
|
|
6116
|
+
targetSlot = 'footer';
|
|
6102
6117
|
}
|
|
6118
|
+
if (targetSlot) {
|
|
6119
|
+
if (!this.dropdown) {
|
|
6120
|
+
this.configureDropdownCounters();
|
|
6121
|
+
}
|
|
6103
6122
|
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6123
|
+
this.bibtemplate.querySelectorAll(`[slot="${targetSlot}"]`).forEach((old) => old.remove());
|
|
6124
|
+
|
|
6125
|
+
event.target.assignedNodes().forEach((node) => {
|
|
6126
|
+
const clone = node.cloneNode(true);
|
|
6127
|
+
clone.setAttribute('slot', targetSlot);
|
|
6128
|
+
this.bibtemplate.append(clone);
|
|
6129
|
+
});
|
|
6108
6130
|
}
|
|
6109
6131
|
}
|
|
6110
6132
|
|
|
@@ -6183,19 +6205,23 @@ class AuroCounterGroup extends r$9 {
|
|
|
6183
6205
|
return u$6`
|
|
6184
6206
|
${this.isDropdown
|
|
6185
6207
|
? u$6`<${this.dropdownTag} common chevron fullscreenBreakpoint="${this.fullscreenBreakpoint}">
|
|
6186
|
-
|
|
6187
6208
|
<div slot="trigger"><slot name="valueText">
|
|
6188
6209
|
${this.counters && Array.from(this.counters).map((counter, index) => `${counter.value} ${counter.defaultSlot}${index !== this.counters.length - 1 ? ', ' : ''}`)}
|
|
6189
6210
|
</slot></div>
|
|
6190
6211
|
<div slot="label"><slot name="label"></slot></div>
|
|
6191
6212
|
<div slot="helpText"><slot name="helpText"></slot></div>
|
|
6192
6213
|
|
|
6193
|
-
|
|
6214
|
+
<${this.bibtemplateTag} ?large="${this.largeMobileHeadline}">
|
|
6194
6215
|
<auro-counter-wrapper isInDropdown>
|
|
6195
6216
|
</auro-counter-wrapper>
|
|
6196
6217
|
</${this.bibtemplateTag}>
|
|
6197
6218
|
</${this.dropdownTag}>
|
|
6198
|
-
<slot @slotchange=${() => this.configureDropdownCounters()}></slot
|
|
6219
|
+
<slot @slotchange=${() => this.configureDropdownCounters()}></slot>
|
|
6220
|
+
<div id="slotHolder">
|
|
6221
|
+
<slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
|
|
6222
|
+
<slot name="bib.fullscreen.footer" @slotchange="${this.handleSlotChange}"></slot>
|
|
6223
|
+
</div>
|
|
6224
|
+
`
|
|
6199
6225
|
: u$6`<auro-counter-wrapper><slot @slotchange=${() => this.configureCounters()}></slot></auro-counter-wrapper>`
|
|
6200
6226
|
}`;
|
|
6201
6227
|
}
|
|
@@ -94,10 +94,10 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
94
94
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
95
95
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.13.0/dist/tokens/CSSCustomProperties.css" />
|
|
96
96
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@6.0.0/dist/bundled/essentials.css" />
|
|
97
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.
|
|
98
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.
|
|
99
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-popover@2.0.0-beta.
|
|
100
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-datepicker@2.0.0-beta.
|
|
97
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.48/dist/auro-dropdown__bundled.js" type="module"></script>
|
|
98
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.48/dist/auro-input__bundled.js" type="module"></script>
|
|
99
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-popover@2.0.0-beta.48/dist/auro-popover__bundled.js" type="module"></script>
|
|
100
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-datepicker@2.0.0-beta.48/dist/auro-datepicker__bundled.js" type="module"></script>
|
|
101
101
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
102
102
|
|
|
103
103
|
## auro-datepicker use cases
|
|
@@ -1063,11 +1063,11 @@ var colorCss$b = i$h`.util_displayInline{display:inline}.util_displayInlineBlock
|
|
|
1063
1063
|
|
|
1064
1064
|
var tokensCss$8 = i$h`:host{--ds-auro-datepicker-placeholder-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-datepicker-range-input-divider-color: var(--ds-color-border-primary-default, #585e67);--ds-auro-calendar-mobile-header-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-mobile-header-divider-color: var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12));--ds-auro-calendar-mobile-header-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-calendar-nav-btn-border-color: transparent;--ds-auro-calendar-nav-btn-chevron-color: var(--ds-color-icon-ui-primary-default-default, #2c67b5);--ds-auro-calendar-nav-btn-container-color: transparent;--ds-auro-calendar-month-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-month-divider-color: var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12));--ds-auro-calendar-month-header-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-calendar-cell-border-color: transparent;--ds-auro-calendar-cell-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-in-range-color: var(--ds-color-container-secondary-default, #f7f7f7);--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
1065
1065
|
|
|
1066
|
-
var styleCss$a = i$h`:host{--calendar-width: 336px;--mobile-footer-height: 150px;--mobile-header-height: 68px;height:100vh;height:100dvh}.calendars{display:flex;flex-direction:row}.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:
|
|
1066
|
+
var styleCss$a = i$h`: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:var(--ds-text-body-size-xs, 0.75rem)}.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%;overflow-y:scroll;overscroll-behavior:contain}:host([isfullscreen]) .calendars:after{display:block;width:100%;height:var(--mobile-footer-height);content:""}`;
|
|
1067
1067
|
|
|
1068
1068
|
var colorCss$a = i$h`.calendarNavBtn{border-color:var(--ds-auro-calendar-nav-btn-border-color);background-color:var(--ds-auro-calendar-nav-btn-container-color);color:var(--ds-auro-calendar-nav-btn-chevron-color)}.calendarNavBtn:hover,.calendarNavBtn:focus{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5)}.calendarNavBtn:active{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-calendar-nav-btn-border-color)}.mobileHeader{background-color:var(--ds-auro-calendar-mobile-header-container-color)}.mobileDateLabel{color:var(--ds-auro-calendar-mobile-header-text-color)}:host(:not([noRange])) .headerDateTo:after{background-color:var(--ds-auro-calendar-mobile-header-divider-color)}@media screen and (max-width: 576px){.calendarNavBtn{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5)}}`;
|
|
1069
1069
|
|
|
1070
|
-
var styleCss$9 = i$h`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{position:relative;display:block;width:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));margin:0 var(--ds-size-200, 1rem)}@media screen and (min-width: 576px){:host{width:336px;padding:var(--ds-size-200, 1rem)}}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{position:absolute;top:var(--ds-size-200, 1rem);right:calc(-1*var(--ds-size-200, 1rem));height:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));display:block;width:1px;content:""}}.header{display:flex;
|
|
1070
|
+
var styleCss$9 = i$h`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{position:relative;display:block;width:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));margin:0 var(--ds-size-200, 1rem)}@media screen and (min-width: 576px){:host{width:336px;padding:var(--ds-size-200, 1rem)}}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{position:absolute;top:var(--ds-size-200, 1rem);right:calc(-1*var(--ds-size-200, 1rem));height:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));display:block;width:1px;content:""}}.header{display:flex;height:var(--ds-size-500, 2.5rem);margin-bottom:var(--ds-size-150, 0.75rem);align-items:center;flex-direction:row;text-align:center}.headerTitle{display:flex;align-items:center;flex:1;flex-direction:row;justify-content:center;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.headerTitle div:first-child{margin-right:var(--ds-size-100, 0.5rem)}.calendarNavBtn{position:relative;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}.table{width:100%;border-collapse:collapse}.thead{margin-bottom:var(--ds-size-100, 0.5rem)}.th{display:flex;flex:1;align-items:center;justify-content:center;font-weight:700}.tbody{width:100%;transition:all 0ms;transform:translateX(0)}@media screen and (min-width: 576px){.tbody{height:384px}}.td{flex:1;margin:0;padding:0}.tr{display:flex;flex-direction:row;width:100%}`;
|
|
1071
1071
|
|
|
1072
1072
|
var colorCss$9 = i$h`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{background-color:var(--ds-auro-calendar-month-container-color)}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{background-color:var(--ds-auro-calendar-month-divider-color)}}.header{color:var(--ds-auro-calendar-month-header-color)}`;
|
|
1073
1073
|
|
|
@@ -10607,7 +10607,7 @@ const a$6=Symbol.for(""),o$1$2=t=>{if(t?.r===a$6)return t?._$litStatic$},s$7=t=>
|
|
|
10607
10607
|
|
|
10608
10608
|
var colorCss$1$2 = i$5$2`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
10609
10609
|
|
|
10610
|
-
var styleCss$2$2 = i$5$2`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{overflow:auto;flex:1 1 100
|
|
10610
|
+
var styleCss$2$2 = i$5$2`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
10611
10611
|
|
|
10612
10612
|
var tokenCss = i$5$2`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-color-container-primary-default, #ffffff)}`;
|
|
10613
10613
|
|
|
@@ -11688,16 +11688,18 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
11688
11688
|
<div class="calendars">
|
|
11689
11689
|
${this.renderAllCalendars()}
|
|
11690
11690
|
</div>
|
|
11691
|
-
|
|
11692
|
-
|
|
11693
|
-
${this.
|
|
11694
|
-
|
|
11695
|
-
|
|
11696
|
-
|
|
11697
|
-
|
|
11698
|
-
${this.
|
|
11699
|
-
|
|
11700
|
-
|
|
11691
|
+
<div class="calendarNavButtons">
|
|
11692
|
+
${this.showPrevMonthBtn ? u$9`
|
|
11693
|
+
<button class="calendarNavBtn prevMonth" @click="${this.handlePrevMonth}">
|
|
11694
|
+
${this.util.generateIconHtml(chevronLeft)}
|
|
11695
|
+
</button>
|
|
11696
|
+
` : undefined}
|
|
11697
|
+
${this.showNextMonthBtn ? u$9`
|
|
11698
|
+
<button class="calendarNavBtn nextMonth" @click="${this.handleNextMonth}">
|
|
11699
|
+
${this.util.generateIconHtml(chevronRight)}
|
|
11700
|
+
</button>
|
|
11701
|
+
` : undefined}
|
|
11702
|
+
</div>
|
|
11701
11703
|
</div>
|
|
11702
11704
|
|
|
11703
11705
|
<auro-button slot="footer" fluid @click="${this.utilCal.requestDismiss}">Done</auro-button>
|