@aurodesignsystem-dev/auro-formkit 0.0.0-pr816.1 → 0.0.0-pr820.0
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 +8 -10
- package/components/bibtemplate/dist/registered.js +8 -10
- package/components/combobox/demo/api.min.js +17 -41
- package/components/combobox/demo/index.min.js +17 -41
- package/components/combobox/dist/auro-combobox.d.ts +0 -5
- package/components/combobox/dist/index.js +17 -41
- package/components/combobox/dist/registered.js +17 -41
- package/components/counter/demo/api.min.js +10 -12
- package/components/counter/demo/index.min.js +10 -12
- package/components/counter/dist/index.js +10 -12
- package/components/counter/dist/registered.js +10 -12
- package/components/datepicker/demo/api.min.js +8 -10
- package/components/datepicker/demo/index.min.js +8 -10
- package/components/datepicker/dist/index.js +8 -10
- package/components/datepicker/dist/registered.js +8 -10
- package/components/select/demo/api.min.js +16 -40
- package/components/select/demo/index.min.js +16 -40
- package/components/select/dist/auro-select.d.ts +0 -5
- package/components/select/dist/index.js +16 -40
- package/components/select/dist/registered.js +16 -40
- package/package.json +1 -1
|
@@ -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}#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]){box-sizing:border-box;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}#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,15 +1909,13 @@ 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
|
-
|
|
1919
|
-
</div>
|
|
1920
|
-
<span class="subheader">
|
|
1912
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
1913
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
1914
|
+
</${this.buttonTag}>
|
|
1915
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
1916
|
+
<slot name="header"></slot>
|
|
1917
|
+
</${this.headerTag}>
|
|
1918
|
+
<span id="subheader">
|
|
1921
1919
|
<slot name="subheader"></slot>
|
|
1922
1920
|
</span>
|
|
1923
1921
|
</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}#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]){box-sizing:border-box;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}#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,15 +1909,13 @@ 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
|
-
|
|
1919
|
-
</div>
|
|
1920
|
-
<span class="subheader">
|
|
1912
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
1913
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
1914
|
+
</${this.buttonTag}>
|
|
1915
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
1916
|
+
<slot name="header"></slot>
|
|
1917
|
+
</${this.headerTag}>
|
|
1918
|
+
<span id="subheader">
|
|
1921
1919
|
<slot name="subheader"></slot>
|
|
1922
1920
|
</span>
|
|
1923
1921
|
</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}#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]){box-sizing:border-box;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}#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,15 +15728,13 @@ 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
|
-
|
|
15738
|
-
</div>
|
|
15739
|
-
<span class="subheader">
|
|
15731
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15732
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15733
|
+
</${this.buttonTag}>
|
|
15734
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15735
|
+
<slot name="header"></slot>
|
|
15736
|
+
</${this.headerTag}>
|
|
15737
|
+
<span id="subheader">
|
|
15740
15738
|
<slot name="subheader"></slot>
|
|
15741
15739
|
</span>
|
|
15742
15740
|
</div>` : null}
|
|
@@ -16602,7 +16600,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16602
16600
|
// Listen for the dropdown to be shown or hidden
|
|
16603
16601
|
this.dropdown.addEventListener("auroDropdown-toggled", (ev) => {
|
|
16604
16602
|
this.dropdownOpen = ev.detail.expanded;
|
|
16605
|
-
this.updateMenuShapeSize();
|
|
16606
16603
|
|
|
16607
16604
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
16608
16605
|
setTimeout(() => {
|
|
@@ -16629,11 +16626,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16629
16626
|
this.setInputFocus = this.setInputFocus.bind(this);
|
|
16630
16627
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
16631
16628
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
16632
|
-
this.
|
|
16633
|
-
|
|
16634
|
-
setTimeout(() => {
|
|
16635
|
-
this.setInputFocus();
|
|
16636
|
-
}, 0);
|
|
16629
|
+
setTimeout(this.setInputFocus, 0);
|
|
16637
16630
|
});
|
|
16638
16631
|
}
|
|
16639
16632
|
|
|
@@ -16648,30 +16641,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16648
16641
|
}
|
|
16649
16642
|
}
|
|
16650
16643
|
|
|
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
|
-
|
|
16675
16644
|
/**
|
|
16676
16645
|
* Binds all behavior needed to the menu after rendering.
|
|
16677
16646
|
* @private
|
|
@@ -16680,7 +16649,14 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16680
16649
|
configureMenu() {
|
|
16681
16650
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
16682
16651
|
|
|
16683
|
-
|
|
16652
|
+
// set menu's default size if there it's not specified.
|
|
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
|
+
}
|
|
16684
16660
|
|
|
16685
16661
|
// a racing condition on custom-combobox with custom-menu
|
|
16686
16662
|
if (!this.menu || this.menuShadowRoot === null) {
|
|
@@ -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}#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]){box-sizing:border-box;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}#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,15 +15586,13 @@ 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
|
-
|
|
15596
|
-
</div>
|
|
15597
|
-
<span class="subheader">
|
|
15589
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15590
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15591
|
+
</${this.buttonTag}>
|
|
15592
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15593
|
+
<slot name="header"></slot>
|
|
15594
|
+
</${this.headerTag}>
|
|
15595
|
+
<span id="subheader">
|
|
15598
15596
|
<slot name="subheader"></slot>
|
|
15599
15597
|
</span>
|
|
15600
15598
|
</div>` : null}
|
|
@@ -16460,7 +16458,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16460
16458
|
// Listen for the dropdown to be shown or hidden
|
|
16461
16459
|
this.dropdown.addEventListener("auroDropdown-toggled", (ev) => {
|
|
16462
16460
|
this.dropdownOpen = ev.detail.expanded;
|
|
16463
|
-
this.updateMenuShapeSize();
|
|
16464
16461
|
|
|
16465
16462
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
16466
16463
|
setTimeout(() => {
|
|
@@ -16487,11 +16484,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16487
16484
|
this.setInputFocus = this.setInputFocus.bind(this);
|
|
16488
16485
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
16489
16486
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
16490
|
-
this.
|
|
16491
|
-
|
|
16492
|
-
setTimeout(() => {
|
|
16493
|
-
this.setInputFocus();
|
|
16494
|
-
}, 0);
|
|
16487
|
+
setTimeout(this.setInputFocus, 0);
|
|
16495
16488
|
});
|
|
16496
16489
|
}
|
|
16497
16490
|
|
|
@@ -16506,30 +16499,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16506
16499
|
}
|
|
16507
16500
|
}
|
|
16508
16501
|
|
|
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
|
-
|
|
16533
16502
|
/**
|
|
16534
16503
|
* Binds all behavior needed to the menu after rendering.
|
|
16535
16504
|
* @private
|
|
@@ -16538,7 +16507,14 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16538
16507
|
configureMenu() {
|
|
16539
16508
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
16540
16509
|
|
|
16541
|
-
|
|
16510
|
+
// set menu's default size if there it's not specified.
|
|
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
|
+
}
|
|
16542
16518
|
|
|
16543
16519
|
// a racing condition on custom-combobox with custom-menu
|
|
16544
16520
|
if (!this.menu || this.menuShadowRoot === null) {
|
|
@@ -339,11 +339,6 @@ 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;
|
|
347
342
|
/**
|
|
348
343
|
* Binds all behavior needed to the menu after rendering.
|
|
349
344
|
* @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}#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]){box-sizing:border-box;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}#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,15 +15504,13 @@ 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
|
-
|
|
15514
|
-
</div>
|
|
15515
|
-
<span class="subheader">
|
|
15507
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15508
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15509
|
+
</${this.buttonTag}>
|
|
15510
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15511
|
+
<slot name="header"></slot>
|
|
15512
|
+
</${this.headerTag}>
|
|
15513
|
+
<span id="subheader">
|
|
15516
15514
|
<slot name="subheader"></slot>
|
|
15517
15515
|
</span>
|
|
15518
15516
|
</div>` : null}
|
|
@@ -16378,7 +16376,6 @@ class AuroCombobox extends AuroElement {
|
|
|
16378
16376
|
// Listen for the dropdown to be shown or hidden
|
|
16379
16377
|
this.dropdown.addEventListener("auroDropdown-toggled", (ev) => {
|
|
16380
16378
|
this.dropdownOpen = ev.detail.expanded;
|
|
16381
|
-
this.updateMenuShapeSize();
|
|
16382
16379
|
|
|
16383
16380
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
16384
16381
|
setTimeout(() => {
|
|
@@ -16405,11 +16402,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16405
16402
|
this.setInputFocus = this.setInputFocus.bind(this);
|
|
16406
16403
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
16407
16404
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
16408
|
-
this.
|
|
16409
|
-
|
|
16410
|
-
setTimeout(() => {
|
|
16411
|
-
this.setInputFocus();
|
|
16412
|
-
}, 0);
|
|
16405
|
+
setTimeout(this.setInputFocus, 0);
|
|
16413
16406
|
});
|
|
16414
16407
|
}
|
|
16415
16408
|
|
|
@@ -16424,30 +16417,6 @@ class AuroCombobox extends AuroElement {
|
|
|
16424
16417
|
}
|
|
16425
16418
|
}
|
|
16426
16419
|
|
|
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
|
-
|
|
16451
16420
|
/**
|
|
16452
16421
|
* Binds all behavior needed to the menu after rendering.
|
|
16453
16422
|
* @private
|
|
@@ -16456,7 +16425,14 @@ class AuroCombobox extends AuroElement {
|
|
|
16456
16425
|
configureMenu() {
|
|
16457
16426
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
16458
16427
|
|
|
16459
|
-
|
|
16428
|
+
// set menu's default size if there it's not specified.
|
|
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
|
+
}
|
|
16460
16436
|
|
|
16461
16437
|
// a racing condition on custom-combobox with custom-menu
|
|
16462
16438
|
if (!this.menu || this.menuShadowRoot === null) {
|
|
@@ -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}#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]){box-sizing:border-box;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}#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,15 +15504,13 @@ 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
|
-
|
|
15514
|
-
</div>
|
|
15515
|
-
<span class="subheader">
|
|
15507
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15508
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
15509
|
+
</${this.buttonTag}>
|
|
15510
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15511
|
+
<slot name="header"></slot>
|
|
15512
|
+
</${this.headerTag}>
|
|
15513
|
+
<span id="subheader">
|
|
15516
15514
|
<slot name="subheader"></slot>
|
|
15517
15515
|
</span>
|
|
15518
15516
|
</div>` : null}
|
|
@@ -16378,7 +16376,6 @@ class AuroCombobox extends AuroElement {
|
|
|
16378
16376
|
// Listen for the dropdown to be shown or hidden
|
|
16379
16377
|
this.dropdown.addEventListener("auroDropdown-toggled", (ev) => {
|
|
16380
16378
|
this.dropdownOpen = ev.detail.expanded;
|
|
16381
|
-
this.updateMenuShapeSize();
|
|
16382
16379
|
|
|
16383
16380
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
16384
16381
|
setTimeout(() => {
|
|
@@ -16405,11 +16402,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16405
16402
|
this.setInputFocus = this.setInputFocus.bind(this);
|
|
16406
16403
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
16407
16404
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
16408
|
-
this.
|
|
16409
|
-
|
|
16410
|
-
setTimeout(() => {
|
|
16411
|
-
this.setInputFocus();
|
|
16412
|
-
}, 0);
|
|
16405
|
+
setTimeout(this.setInputFocus, 0);
|
|
16413
16406
|
});
|
|
16414
16407
|
}
|
|
16415
16408
|
|
|
@@ -16424,30 +16417,6 @@ class AuroCombobox extends AuroElement {
|
|
|
16424
16417
|
}
|
|
16425
16418
|
}
|
|
16426
16419
|
|
|
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
|
-
|
|
16451
16420
|
/**
|
|
16452
16421
|
* Binds all behavior needed to the menu after rendering.
|
|
16453
16422
|
* @private
|
|
@@ -16456,7 +16425,14 @@ class AuroCombobox extends AuroElement {
|
|
|
16456
16425
|
configureMenu() {
|
|
16457
16426
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
16458
16427
|
|
|
16459
|
-
|
|
16428
|
+
// set menu's default size if there it's not specified.
|
|
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
|
+
}
|
|
16460
16436
|
|
|
16461
16437
|
// a racing condition on custom-combobox with custom-menu
|
|
16462
16438
|
if (!this.menu || this.menuShadowRoot === null) {
|
|
@@ -3088,7 +3088,7 @@ class AuroCounter extends i$2 {
|
|
|
3088
3088
|
tabindex="${this.disabled ? '-1' : '0'}"
|
|
3089
3089
|
>
|
|
3090
3090
|
<auro-counter-button
|
|
3091
|
-
aria-
|
|
3091
|
+
aria-label="-"
|
|
3092
3092
|
.tabindex="${'-1'}"
|
|
3093
3093
|
part="controlMinus"
|
|
3094
3094
|
@click="${() => this.decrement()}"
|
|
@@ -3103,7 +3103,7 @@ class AuroCounter extends i$2 {
|
|
|
3103
3103
|
</div>
|
|
3104
3104
|
|
|
3105
3105
|
<auro-counter-button
|
|
3106
|
-
aria-
|
|
3106
|
+
aria-label="+"
|
|
3107
3107
|
.tabindex="${'-1'}"
|
|
3108
3108
|
part="controlPlus"
|
|
3109
3109
|
@click="${() => this.increment()}"
|
|
@@ -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}#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]){box-sizing:border-box;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}#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,15 +9385,13 @@ 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
|
-
|
|
9395
|
-
</div>
|
|
9396
|
-
<span class="subheader">
|
|
9388
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
9389
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
9390
|
+
</${this.buttonTag}>
|
|
9391
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
9392
|
+
<slot name="header"></slot>
|
|
9393
|
+
</${this.headerTag}>
|
|
9394
|
+
<span id="subheader">
|
|
9397
9395
|
<slot name="subheader"></slot>
|
|
9398
9396
|
</span>
|
|
9399
9397
|
</div>` : null}
|
|
@@ -3088,7 +3088,7 @@ class AuroCounter extends i$2 {
|
|
|
3088
3088
|
tabindex="${this.disabled ? '-1' : '0'}"
|
|
3089
3089
|
>
|
|
3090
3090
|
<auro-counter-button
|
|
3091
|
-
aria-
|
|
3091
|
+
aria-label="-"
|
|
3092
3092
|
.tabindex="${'-1'}"
|
|
3093
3093
|
part="controlMinus"
|
|
3094
3094
|
@click="${() => this.decrement()}"
|
|
@@ -3103,7 +3103,7 @@ class AuroCounter extends i$2 {
|
|
|
3103
3103
|
</div>
|
|
3104
3104
|
|
|
3105
3105
|
<auro-counter-button
|
|
3106
|
-
aria-
|
|
3106
|
+
aria-label="+"
|
|
3107
3107
|
.tabindex="${'-1'}"
|
|
3108
3108
|
part="controlPlus"
|
|
3109
3109
|
@click="${() => this.increment()}"
|
|
@@ -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}#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]){box-sizing:border-box;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}#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,15 +9385,13 @@ 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
|
-
|
|
9395
|
-
</div>
|
|
9396
|
-
<span class="subheader">
|
|
9388
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
9389
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
9390
|
+
</${this.buttonTag}>
|
|
9391
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
9392
|
+
<slot name="header"></slot>
|
|
9393
|
+
</${this.headerTag}>
|
|
9394
|
+
<span id="subheader">
|
|
9397
9395
|
<slot name="subheader"></slot>
|
|
9398
9396
|
</span>
|
|
9399
9397
|
</div>` : null}
|