@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.89 → 0.0.0-pr624.90
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/components/bibtemplate/dist/index.js +10 -8
- package/components/bibtemplate/dist/registered.js +10 -8
- package/components/combobox/demo/api.min.js +43 -18
- package/components/combobox/demo/index.min.js +43 -18
- package/components/combobox/dist/auro-combobox.d.ts +5 -0
- package/components/combobox/dist/index.js +43 -18
- package/components/combobox/dist/registered.js +43 -18
- package/components/counter/demo/api.min.js +10 -8
- package/components/counter/demo/index.min.js +10 -8
- package/components/counter/dist/index.js +10 -8
- package/components/counter/dist/registered.js +10 -8
- package/components/datepicker/demo/api.min.js +10 -8
- package/components/datepicker/demo/index.min.js +10 -8
- package/components/datepicker/dist/index.js +10 -8
- package/components/datepicker/dist/registered.js +10 -8
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/api.min.js +1 -1
- package/components/form/demo/index.min.js +1 -1
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +40 -16
- package/components/select/demo/index.min.js +40 -16
- package/components/select/dist/auro-select.d.ts +5 -0
- package/components/select/dist/index.js +40 -16
- package/components/select/dist/registered.js +40 -16
- package/package.json +4 -4
|
@@ -5,7 +5,7 @@ import { ifDefined } from 'lit/directives/if-defined.js';
|
|
|
5
5
|
|
|
6
6
|
var colorCss$3 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
7
7
|
|
|
8
|
-
var styleCss$4 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column
|
|
8
|
+
var styleCss$4 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#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)}`;
|
|
9
9
|
|
|
10
10
|
var tokenCss = css`: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-basic-color-surface-default, #ffffff)}`;
|
|
11
11
|
|
|
@@ -1909,13 +1909,15 @@ class AuroBibtemplate extends LitElement {
|
|
|
1909
1909
|
<div id="bibTemplate" part="bibtemplate">
|
|
1910
1910
|
${this.isFullscreen ? html$1`
|
|
1911
1911
|
<div id="headerContainer">
|
|
1912
|
-
|
|
1913
|
-
<${this.
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1912
|
+
<div class="titleRow">
|
|
1913
|
+
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
1914
|
+
<slot name="header"></slot>
|
|
1915
|
+
</${this.headerTag}>
|
|
1916
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
1917
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
1918
|
+
</${this.buttonTag}>
|
|
1919
|
+
</div>
|
|
1920
|
+
<span class="subheader">
|
|
1919
1921
|
<slot name="subheader"></slot>
|
|
1920
1922
|
</span>
|
|
1921
1923
|
</div>` : null}
|
|
@@ -5,7 +5,7 @@ import { ifDefined } from 'lit/directives/if-defined.js';
|
|
|
5
5
|
|
|
6
6
|
var colorCss$3 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
7
7
|
|
|
8
|
-
var styleCss$4 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column
|
|
8
|
+
var styleCss$4 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#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)}`;
|
|
9
9
|
|
|
10
10
|
var tokenCss = css`: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-basic-color-surface-default, #ffffff)}`;
|
|
11
11
|
|
|
@@ -1909,13 +1909,15 @@ class AuroBibtemplate extends LitElement {
|
|
|
1909
1909
|
<div id="bibTemplate" part="bibtemplate">
|
|
1910
1910
|
${this.isFullscreen ? html$1`
|
|
1911
1911
|
<div id="headerContainer">
|
|
1912
|
-
|
|
1913
|
-
<${this.
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1912
|
+
<div class="titleRow">
|
|
1913
|
+
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
1914
|
+
<slot name="header"></slot>
|
|
1915
|
+
</${this.headerTag}>
|
|
1916
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
1917
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
1918
|
+
</${this.buttonTag}>
|
|
1919
|
+
</div>
|
|
1920
|
+
<span class="subheader">
|
|
1919
1921
|
<slot name="subheader"></slot>
|
|
1920
1922
|
</span>
|
|
1921
1923
|
</div>` : null}
|
|
@@ -13824,7 +13824,7 @@ var inputVersion = '4.2.0';
|
|
|
13824
13824
|
|
|
13825
13825
|
var colorCss$3$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
13826
13826
|
|
|
13827
|
-
var styleCss$4$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column
|
|
13827
|
+
var styleCss$4$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#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)}`;
|
|
13828
13828
|
|
|
13829
13829
|
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-basic-color-surface-default, #ffffff)}`;
|
|
13830
13830
|
|
|
@@ -15728,13 +15728,15 @@ class AuroBibtemplate extends i$2 {
|
|
|
15728
15728
|
<div id="bibTemplate" part="bibtemplate">
|
|
15729
15729
|
${this.isFullscreen ? u$2`
|
|
15730
15730
|
<div id="headerContainer">
|
|
15731
|
-
|
|
15732
|
-
<${this.
|
|
15733
|
-
|
|
15734
|
-
|
|
15735
|
-
|
|
15736
|
-
|
|
15737
|
-
|
|
15731
|
+
<div class="titleRow">
|
|
15732
|
+
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15733
|
+
<slot name="header"></slot>
|
|
15734
|
+
</${this.headerTag}>
|
|
15735
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15736
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15737
|
+
</${this.buttonTag}>
|
|
15738
|
+
</div>
|
|
15739
|
+
<span class="subheader">
|
|
15738
15740
|
<slot name="subheader"></slot>
|
|
15739
15741
|
</span>
|
|
15740
15742
|
</div>` : null}
|
|
@@ -15754,7 +15756,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
15754
15756
|
|
|
15755
15757
|
var bibTemplateVersion = '1.0.0';
|
|
15756
15758
|
|
|
15757
|
-
var styleCss$4 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block}:host [auro-input]{--ds-auro-input-background-color: transparent}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
15759
|
+
var styleCss$4 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block}:host [auro-input]{--ds-auro-input-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host #inputInBib::part(accent-right){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
15758
15760
|
|
|
15759
15761
|
var styleEmphasizedCss = i$5`:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}`;
|
|
15760
15762
|
|
|
@@ -16600,6 +16602,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16600
16602
|
// Listen for the dropdown to be shown or hidden
|
|
16601
16603
|
this.dropdown.addEventListener("auroDropdown-toggled", (ev) => {
|
|
16602
16604
|
this.dropdownOpen = ev.detail.expanded;
|
|
16605
|
+
this.updateMenuShapeSize();
|
|
16603
16606
|
|
|
16604
16607
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
16605
16608
|
setTimeout(() => {
|
|
@@ -16626,7 +16629,11 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16626
16629
|
this.setInputFocus = this.setInputFocus.bind(this);
|
|
16627
16630
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
16628
16631
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
16629
|
-
|
|
16632
|
+
this.updateMenuShapeSize();
|
|
16633
|
+
|
|
16634
|
+
setTimeout(() => {
|
|
16635
|
+
this.setInputFocus();
|
|
16636
|
+
}, 0);
|
|
16630
16637
|
});
|
|
16631
16638
|
}
|
|
16632
16639
|
|
|
@@ -16641,6 +16648,30 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16641
16648
|
}
|
|
16642
16649
|
}
|
|
16643
16650
|
|
|
16651
|
+
/**
|
|
16652
|
+
* Update menu to default for fullscreen bib, otherwise to this.size and this.shape.
|
|
16653
|
+
* @private
|
|
16654
|
+
*/
|
|
16655
|
+
updateMenuShapeSize() {
|
|
16656
|
+
if (!this.menu) {
|
|
16657
|
+
return;
|
|
16658
|
+
}
|
|
16659
|
+
|
|
16660
|
+
if (this.dropdown && this.dropdown.isBibFullscreen) {
|
|
16661
|
+
this.menu.setAttribute('size', 'md');
|
|
16662
|
+
this.menu.setAttribute('shape', 'box');
|
|
16663
|
+
} else {
|
|
16664
|
+
// set menu's default size if there it's not specified.
|
|
16665
|
+
if (!this.menu.getAttribute('size')) {
|
|
16666
|
+
this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
|
|
16667
|
+
}
|
|
16668
|
+
|
|
16669
|
+
if (!this.getAttribute('shape')) {
|
|
16670
|
+
this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
|
|
16671
|
+
}
|
|
16672
|
+
}
|
|
16673
|
+
}
|
|
16674
|
+
|
|
16644
16675
|
/**
|
|
16645
16676
|
* Binds all behavior needed to the menu after rendering.
|
|
16646
16677
|
* @private
|
|
@@ -16649,14 +16680,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16649
16680
|
configureMenu() {
|
|
16650
16681
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
16651
16682
|
|
|
16652
|
-
|
|
16653
|
-
if (!this.menu.getAttribute('size')) {
|
|
16654
|
-
this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
|
|
16655
|
-
}
|
|
16656
|
-
|
|
16657
|
-
if (!this.getAttribute('shape')) {
|
|
16658
|
-
this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
|
|
16659
|
-
}
|
|
16683
|
+
this.updateMenuShapeSize();
|
|
16660
16684
|
|
|
16661
16685
|
// a racing condition on custom-combobox with custom-menu
|
|
16662
16686
|
if (!this.menu || this.menuShadowRoot === null) {
|
|
@@ -17131,6 +17155,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
17131
17155
|
<slot name="bib.fullscreen.headline" slot="header"></slot>
|
|
17132
17156
|
<slot></slot>
|
|
17133
17157
|
<${this.inputTag}
|
|
17158
|
+
id="inputInBib"
|
|
17134
17159
|
@input="${this.handleInputValueChange}"
|
|
17135
17160
|
.a11yControls="${this.dropdownId}"
|
|
17136
17161
|
.autocomplete="${this.autocomplete}"
|
|
@@ -13682,7 +13682,7 @@ var inputVersion = '4.2.0';
|
|
|
13682
13682
|
|
|
13683
13683
|
var colorCss$3$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
13684
13684
|
|
|
13685
|
-
var styleCss$4$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column
|
|
13685
|
+
var styleCss$4$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#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)}`;
|
|
13686
13686
|
|
|
13687
13687
|
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-basic-color-surface-default, #ffffff)}`;
|
|
13688
13688
|
|
|
@@ -15586,13 +15586,15 @@ class AuroBibtemplate extends i$2 {
|
|
|
15586
15586
|
<div id="bibTemplate" part="bibtemplate">
|
|
15587
15587
|
${this.isFullscreen ? u$2`
|
|
15588
15588
|
<div id="headerContainer">
|
|
15589
|
-
|
|
15590
|
-
<${this.
|
|
15591
|
-
|
|
15592
|
-
|
|
15593
|
-
|
|
15594
|
-
|
|
15595
|
-
|
|
15589
|
+
<div class="titleRow">
|
|
15590
|
+
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15591
|
+
<slot name="header"></slot>
|
|
15592
|
+
</${this.headerTag}>
|
|
15593
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15594
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15595
|
+
</${this.buttonTag}>
|
|
15596
|
+
</div>
|
|
15597
|
+
<span class="subheader">
|
|
15596
15598
|
<slot name="subheader"></slot>
|
|
15597
15599
|
</span>
|
|
15598
15600
|
</div>` : null}
|
|
@@ -15612,7 +15614,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
15612
15614
|
|
|
15613
15615
|
var bibTemplateVersion = '1.0.0';
|
|
15614
15616
|
|
|
15615
|
-
var styleCss$4 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block}:host [auro-input]{--ds-auro-input-background-color: transparent}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
15617
|
+
var styleCss$4 = i$5`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block}:host [auro-input]{--ds-auro-input-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host #inputInBib::part(accent-right){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
15616
15618
|
|
|
15617
15619
|
var styleEmphasizedCss = i$5`:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}`;
|
|
15618
15620
|
|
|
@@ -16458,6 +16460,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16458
16460
|
// Listen for the dropdown to be shown or hidden
|
|
16459
16461
|
this.dropdown.addEventListener("auroDropdown-toggled", (ev) => {
|
|
16460
16462
|
this.dropdownOpen = ev.detail.expanded;
|
|
16463
|
+
this.updateMenuShapeSize();
|
|
16461
16464
|
|
|
16462
16465
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
16463
16466
|
setTimeout(() => {
|
|
@@ -16484,7 +16487,11 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16484
16487
|
this.setInputFocus = this.setInputFocus.bind(this);
|
|
16485
16488
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
16486
16489
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
16487
|
-
|
|
16490
|
+
this.updateMenuShapeSize();
|
|
16491
|
+
|
|
16492
|
+
setTimeout(() => {
|
|
16493
|
+
this.setInputFocus();
|
|
16494
|
+
}, 0);
|
|
16488
16495
|
});
|
|
16489
16496
|
}
|
|
16490
16497
|
|
|
@@ -16499,6 +16506,30 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16499
16506
|
}
|
|
16500
16507
|
}
|
|
16501
16508
|
|
|
16509
|
+
/**
|
|
16510
|
+
* Update menu to default for fullscreen bib, otherwise to this.size and this.shape.
|
|
16511
|
+
* @private
|
|
16512
|
+
*/
|
|
16513
|
+
updateMenuShapeSize() {
|
|
16514
|
+
if (!this.menu) {
|
|
16515
|
+
return;
|
|
16516
|
+
}
|
|
16517
|
+
|
|
16518
|
+
if (this.dropdown && this.dropdown.isBibFullscreen) {
|
|
16519
|
+
this.menu.setAttribute('size', 'md');
|
|
16520
|
+
this.menu.setAttribute('shape', 'box');
|
|
16521
|
+
} else {
|
|
16522
|
+
// set menu's default size if there it's not specified.
|
|
16523
|
+
if (!this.menu.getAttribute('size')) {
|
|
16524
|
+
this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
|
|
16525
|
+
}
|
|
16526
|
+
|
|
16527
|
+
if (!this.getAttribute('shape')) {
|
|
16528
|
+
this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
|
|
16529
|
+
}
|
|
16530
|
+
}
|
|
16531
|
+
}
|
|
16532
|
+
|
|
16502
16533
|
/**
|
|
16503
16534
|
* Binds all behavior needed to the menu after rendering.
|
|
16504
16535
|
* @private
|
|
@@ -16507,14 +16538,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16507
16538
|
configureMenu() {
|
|
16508
16539
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
16509
16540
|
|
|
16510
|
-
|
|
16511
|
-
if (!this.menu.getAttribute('size')) {
|
|
16512
|
-
this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
|
|
16513
|
-
}
|
|
16514
|
-
|
|
16515
|
-
if (!this.getAttribute('shape')) {
|
|
16516
|
-
this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
|
|
16517
|
-
}
|
|
16541
|
+
this.updateMenuShapeSize();
|
|
16518
16542
|
|
|
16519
16543
|
// a racing condition on custom-combobox with custom-menu
|
|
16520
16544
|
if (!this.menu || this.menuShadowRoot === null) {
|
|
@@ -16989,6 +17013,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16989
17013
|
<slot name="bib.fullscreen.headline" slot="header"></slot>
|
|
16990
17014
|
<slot></slot>
|
|
16991
17015
|
<${this.inputTag}
|
|
17016
|
+
id="inputInBib"
|
|
16992
17017
|
@input="${this.handleInputValueChange}"
|
|
16993
17018
|
.a11yControls="${this.dropdownId}"
|
|
16994
17019
|
.autocomplete="${this.autocomplete}"
|
|
@@ -339,6 +339,11 @@ export class AuroCombobox extends AuroElement {
|
|
|
339
339
|
* @private
|
|
340
340
|
*/
|
|
341
341
|
private setInputFocus;
|
|
342
|
+
/**
|
|
343
|
+
* Update menu to default for fullscreen bib, otherwise to this.size and this.shape.
|
|
344
|
+
* @private
|
|
345
|
+
*/
|
|
346
|
+
private updateMenuShapeSize;
|
|
342
347
|
/**
|
|
343
348
|
* Binds all behavior needed to the menu after rendering.
|
|
344
349
|
* @private
|
|
@@ -13600,7 +13600,7 @@ var inputVersion = '4.2.0';
|
|
|
13600
13600
|
|
|
13601
13601
|
var colorCss$3 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
13602
13602
|
|
|
13603
|
-
var styleCss$4 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column
|
|
13603
|
+
var styleCss$4 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#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)}`;
|
|
13604
13604
|
|
|
13605
13605
|
var tokenCss = css`: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-basic-color-surface-default, #ffffff)}`;
|
|
13606
13606
|
|
|
@@ -15504,13 +15504,15 @@ class AuroBibtemplate extends LitElement {
|
|
|
15504
15504
|
<div id="bibTemplate" part="bibtemplate">
|
|
15505
15505
|
${this.isFullscreen ? html`
|
|
15506
15506
|
<div id="headerContainer">
|
|
15507
|
-
|
|
15508
|
-
<${this.
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
|
|
15512
|
-
|
|
15513
|
-
|
|
15507
|
+
<div class="titleRow">
|
|
15508
|
+
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15509
|
+
<slot name="header"></slot>
|
|
15510
|
+
</${this.headerTag}>
|
|
15511
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15512
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15513
|
+
</${this.buttonTag}>
|
|
15514
|
+
</div>
|
|
15515
|
+
<span class="subheader">
|
|
15514
15516
|
<slot name="subheader"></slot>
|
|
15515
15517
|
</span>
|
|
15516
15518
|
</div>` : null}
|
|
@@ -15530,7 +15532,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
15530
15532
|
|
|
15531
15533
|
var bibTemplateVersion = '1.0.0';
|
|
15532
15534
|
|
|
15533
|
-
var styleCss$1 = css`.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{display:block}:host [auro-input]{--ds-auro-input-background-color: transparent}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
15535
|
+
var styleCss$1 = css`.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{display:block}:host [auro-input]{--ds-auro-input-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host #inputInBib::part(accent-right){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
15534
15536
|
|
|
15535
15537
|
var styleEmphasizedCss = css`:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}`;
|
|
15536
15538
|
|
|
@@ -16376,6 +16378,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16376
16378
|
// Listen for the dropdown to be shown or hidden
|
|
16377
16379
|
this.dropdown.addEventListener("auroDropdown-toggled", (ev) => {
|
|
16378
16380
|
this.dropdownOpen = ev.detail.expanded;
|
|
16381
|
+
this.updateMenuShapeSize();
|
|
16379
16382
|
|
|
16380
16383
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
16381
16384
|
setTimeout(() => {
|
|
@@ -16402,7 +16405,11 @@ class AuroCombobox extends AuroElement {
|
|
|
16402
16405
|
this.setInputFocus = this.setInputFocus.bind(this);
|
|
16403
16406
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
16404
16407
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
16405
|
-
|
|
16408
|
+
this.updateMenuShapeSize();
|
|
16409
|
+
|
|
16410
|
+
setTimeout(() => {
|
|
16411
|
+
this.setInputFocus();
|
|
16412
|
+
}, 0);
|
|
16406
16413
|
});
|
|
16407
16414
|
}
|
|
16408
16415
|
|
|
@@ -16417,6 +16424,30 @@ class AuroCombobox extends AuroElement {
|
|
|
16417
16424
|
}
|
|
16418
16425
|
}
|
|
16419
16426
|
|
|
16427
|
+
/**
|
|
16428
|
+
* Update menu to default for fullscreen bib, otherwise to this.size and this.shape.
|
|
16429
|
+
* @private
|
|
16430
|
+
*/
|
|
16431
|
+
updateMenuShapeSize() {
|
|
16432
|
+
if (!this.menu) {
|
|
16433
|
+
return;
|
|
16434
|
+
}
|
|
16435
|
+
|
|
16436
|
+
if (this.dropdown && this.dropdown.isBibFullscreen) {
|
|
16437
|
+
this.menu.setAttribute('size', 'md');
|
|
16438
|
+
this.menu.setAttribute('shape', 'box');
|
|
16439
|
+
} else {
|
|
16440
|
+
// set menu's default size if there it's not specified.
|
|
16441
|
+
if (!this.menu.getAttribute('size')) {
|
|
16442
|
+
this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
|
|
16443
|
+
}
|
|
16444
|
+
|
|
16445
|
+
if (!this.getAttribute('shape')) {
|
|
16446
|
+
this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
|
|
16447
|
+
}
|
|
16448
|
+
}
|
|
16449
|
+
}
|
|
16450
|
+
|
|
16420
16451
|
/**
|
|
16421
16452
|
* Binds all behavior needed to the menu after rendering.
|
|
16422
16453
|
* @private
|
|
@@ -16425,14 +16456,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16425
16456
|
configureMenu() {
|
|
16426
16457
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
16427
16458
|
|
|
16428
|
-
|
|
16429
|
-
if (!this.menu.getAttribute('size')) {
|
|
16430
|
-
this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
|
|
16431
|
-
}
|
|
16432
|
-
|
|
16433
|
-
if (!this.getAttribute('shape')) {
|
|
16434
|
-
this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
|
|
16435
|
-
}
|
|
16459
|
+
this.updateMenuShapeSize();
|
|
16436
16460
|
|
|
16437
16461
|
// a racing condition on custom-combobox with custom-menu
|
|
16438
16462
|
if (!this.menu || this.menuShadowRoot === null) {
|
|
@@ -16907,6 +16931,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16907
16931
|
<slot name="bib.fullscreen.headline" slot="header"></slot>
|
|
16908
16932
|
<slot></slot>
|
|
16909
16933
|
<${this.inputTag}
|
|
16934
|
+
id="inputInBib"
|
|
16910
16935
|
@input="${this.handleInputValueChange}"
|
|
16911
16936
|
.a11yControls="${this.dropdownId}"
|
|
16912
16937
|
.autocomplete="${this.autocomplete}"
|
|
@@ -13600,7 +13600,7 @@ var inputVersion = '4.2.0';
|
|
|
13600
13600
|
|
|
13601
13601
|
var colorCss$3 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
13602
13602
|
|
|
13603
|
-
var styleCss$4 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column
|
|
13603
|
+
var styleCss$4 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#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)}`;
|
|
13604
13604
|
|
|
13605
13605
|
var tokenCss = css`: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-basic-color-surface-default, #ffffff)}`;
|
|
13606
13606
|
|
|
@@ -15504,13 +15504,15 @@ class AuroBibtemplate extends LitElement {
|
|
|
15504
15504
|
<div id="bibTemplate" part="bibtemplate">
|
|
15505
15505
|
${this.isFullscreen ? html`
|
|
15506
15506
|
<div id="headerContainer">
|
|
15507
|
-
|
|
15508
|
-
<${this.
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
|
|
15512
|
-
|
|
15513
|
-
|
|
15507
|
+
<div class="titleRow">
|
|
15508
|
+
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15509
|
+
<slot name="header"></slot>
|
|
15510
|
+
</${this.headerTag}>
|
|
15511
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15512
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15513
|
+
</${this.buttonTag}>
|
|
15514
|
+
</div>
|
|
15515
|
+
<span class="subheader">
|
|
15514
15516
|
<slot name="subheader"></slot>
|
|
15515
15517
|
</span>
|
|
15516
15518
|
</div>` : null}
|
|
@@ -15530,7 +15532,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
15530
15532
|
|
|
15531
15533
|
var bibTemplateVersion = '1.0.0';
|
|
15532
15534
|
|
|
15533
|
-
var styleCss$1 = css`.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{display:block}:host [auro-input]{--ds-auro-input-background-color: transparent}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
15535
|
+
var styleCss$1 = css`.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{display:block}:host [auro-input]{--ds-auro-input-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host #inputInBib::part(accent-right){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
15534
15536
|
|
|
15535
15537
|
var styleEmphasizedCss = css`:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}`;
|
|
15536
15538
|
|
|
@@ -16376,6 +16378,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16376
16378
|
// Listen for the dropdown to be shown or hidden
|
|
16377
16379
|
this.dropdown.addEventListener("auroDropdown-toggled", (ev) => {
|
|
16378
16380
|
this.dropdownOpen = ev.detail.expanded;
|
|
16381
|
+
this.updateMenuShapeSize();
|
|
16379
16382
|
|
|
16380
16383
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
16381
16384
|
setTimeout(() => {
|
|
@@ -16402,7 +16405,11 @@ class AuroCombobox extends AuroElement {
|
|
|
16402
16405
|
this.setInputFocus = this.setInputFocus.bind(this);
|
|
16403
16406
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
16404
16407
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
16405
|
-
|
|
16408
|
+
this.updateMenuShapeSize();
|
|
16409
|
+
|
|
16410
|
+
setTimeout(() => {
|
|
16411
|
+
this.setInputFocus();
|
|
16412
|
+
}, 0);
|
|
16406
16413
|
});
|
|
16407
16414
|
}
|
|
16408
16415
|
|
|
@@ -16417,6 +16424,30 @@ class AuroCombobox extends AuroElement {
|
|
|
16417
16424
|
}
|
|
16418
16425
|
}
|
|
16419
16426
|
|
|
16427
|
+
/**
|
|
16428
|
+
* Update menu to default for fullscreen bib, otherwise to this.size and this.shape.
|
|
16429
|
+
* @private
|
|
16430
|
+
*/
|
|
16431
|
+
updateMenuShapeSize() {
|
|
16432
|
+
if (!this.menu) {
|
|
16433
|
+
return;
|
|
16434
|
+
}
|
|
16435
|
+
|
|
16436
|
+
if (this.dropdown && this.dropdown.isBibFullscreen) {
|
|
16437
|
+
this.menu.setAttribute('size', 'md');
|
|
16438
|
+
this.menu.setAttribute('shape', 'box');
|
|
16439
|
+
} else {
|
|
16440
|
+
// set menu's default size if there it's not specified.
|
|
16441
|
+
if (!this.menu.getAttribute('size')) {
|
|
16442
|
+
this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
|
|
16443
|
+
}
|
|
16444
|
+
|
|
16445
|
+
if (!this.getAttribute('shape')) {
|
|
16446
|
+
this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
|
|
16447
|
+
}
|
|
16448
|
+
}
|
|
16449
|
+
}
|
|
16450
|
+
|
|
16420
16451
|
/**
|
|
16421
16452
|
* Binds all behavior needed to the menu after rendering.
|
|
16422
16453
|
* @private
|
|
@@ -16425,14 +16456,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16425
16456
|
configureMenu() {
|
|
16426
16457
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
16427
16458
|
|
|
16428
|
-
|
|
16429
|
-
if (!this.menu.getAttribute('size')) {
|
|
16430
|
-
this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
|
|
16431
|
-
}
|
|
16432
|
-
|
|
16433
|
-
if (!this.getAttribute('shape')) {
|
|
16434
|
-
this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
|
|
16435
|
-
}
|
|
16459
|
+
this.updateMenuShapeSize();
|
|
16436
16460
|
|
|
16437
16461
|
// a racing condition on custom-combobox with custom-menu
|
|
16438
16462
|
if (!this.menu || this.menuShadowRoot === null) {
|
|
@@ -16907,6 +16931,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16907
16931
|
<slot name="bib.fullscreen.headline" slot="header"></slot>
|
|
16908
16932
|
<slot></slot>
|
|
16909
16933
|
<${this.inputTag}
|
|
16934
|
+
id="inputInBib"
|
|
16910
16935
|
@input="${this.handleInputValueChange}"
|
|
16911
16936
|
.a11yControls="${this.dropdownId}"
|
|
16912
16937
|
.autocomplete="${this.autocomplete}"
|
|
@@ -7481,7 +7481,7 @@ var dropdownVersion = '3.0.0';
|
|
|
7481
7481
|
|
|
7482
7482
|
var colorCss$3 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
7483
7483
|
|
|
7484
|
-
var styleCss$4 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column
|
|
7484
|
+
var styleCss$4 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#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)}`;
|
|
7485
7485
|
|
|
7486
7486
|
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-basic-color-surface-default, #ffffff)}`;
|
|
7487
7487
|
|
|
@@ -9385,13 +9385,15 @@ class AuroBibtemplate extends i$2 {
|
|
|
9385
9385
|
<div id="bibTemplate" part="bibtemplate">
|
|
9386
9386
|
${this.isFullscreen ? u`
|
|
9387
9387
|
<div id="headerContainer">
|
|
9388
|
-
|
|
9389
|
-
<${this.
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
|
|
9393
|
-
|
|
9394
|
-
|
|
9388
|
+
<div class="titleRow">
|
|
9389
|
+
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
9390
|
+
<slot name="header"></slot>
|
|
9391
|
+
</${this.headerTag}>
|
|
9392
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
9393
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
9394
|
+
</${this.buttonTag}>
|
|
9395
|
+
</div>
|
|
9396
|
+
<span class="subheader">
|
|
9395
9397
|
<slot name="subheader"></slot>
|
|
9396
9398
|
</span>
|
|
9397
9399
|
</div>` : null}
|