@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
|
@@ -5358,7 +5358,7 @@ var dropdownVersion = '3.0.0';
|
|
|
5358
5358
|
|
|
5359
5359
|
var colorCss$3 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
5360
5360
|
|
|
5361
|
-
var styleCss$4 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;
|
|
5361
|
+
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)}`;
|
|
5362
5362
|
|
|
5363
5363
|
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)}`;
|
|
5364
5364
|
|
|
@@ -7262,15 +7262,13 @@ class AuroBibtemplate extends LitElement {
|
|
|
7262
7262
|
<div id="bibTemplate" part="bibtemplate">
|
|
7263
7263
|
${this.isFullscreen ? html`
|
|
7264
7264
|
<div id="headerContainer">
|
|
7265
|
-
|
|
7266
|
-
<${this.
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
</div>
|
|
7273
|
-
<span class="subheader">
|
|
7265
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
7266
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
7267
|
+
</${this.buttonTag}>
|
|
7268
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
7269
|
+
<slot name="header"></slot>
|
|
7270
|
+
</${this.headerTag}>
|
|
7271
|
+
<span id="subheader">
|
|
7274
7272
|
<slot name="subheader"></slot>
|
|
7275
7273
|
</span>
|
|
7276
7274
|
</div>` : null}
|
|
@@ -7972,7 +7970,6 @@ class AuroSelect extends AuroElement$3 {
|
|
|
7972
7970
|
this.isPopoverVisible = this.dropdown.isPopoverVisible;
|
|
7973
7971
|
|
|
7974
7972
|
if (this.dropdown.isPopoverVisible) {
|
|
7975
|
-
this.updateMenuShapeSize();
|
|
7976
7973
|
// wait til the bib gets fully rendered
|
|
7977
7974
|
setTimeout(() => {
|
|
7978
7975
|
if (this.dropdown.isBibFullscreen) {
|
|
@@ -7988,10 +7985,6 @@ class AuroSelect extends AuroElement$3 {
|
|
|
7988
7985
|
}
|
|
7989
7986
|
});
|
|
7990
7987
|
|
|
7991
|
-
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
7992
|
-
this.updateMenuShapeSize();
|
|
7993
|
-
});
|
|
7994
|
-
|
|
7995
7988
|
// setting up bibtemplate
|
|
7996
7989
|
this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$);
|
|
7997
7990
|
|
|
@@ -8056,30 +8049,6 @@ class AuroSelect extends AuroElement$3 {
|
|
|
8056
8049
|
this.dropdown.requestUpdate();
|
|
8057
8050
|
}
|
|
8058
8051
|
|
|
8059
|
-
/**
|
|
8060
|
-
* Update menu to default for fullscreen bib, otherwise to this.size and this.shape.
|
|
8061
|
-
* @private
|
|
8062
|
-
*/
|
|
8063
|
-
updateMenuShapeSize() {
|
|
8064
|
-
if (!this.menu) {
|
|
8065
|
-
return;
|
|
8066
|
-
}
|
|
8067
|
-
|
|
8068
|
-
if (this.dropdown && this.dropdown.isBibFullscreen) {
|
|
8069
|
-
this.menu.setAttribute('size', 'md');
|
|
8070
|
-
this.menu.setAttribute('shape', 'box');
|
|
8071
|
-
} else {
|
|
8072
|
-
// set menu's default size if there it's not specified.
|
|
8073
|
-
if (!this.menu.getAttribute('size')) {
|
|
8074
|
-
this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
|
|
8075
|
-
}
|
|
8076
|
-
|
|
8077
|
-
if (!this.getAttribute('shape')) {
|
|
8078
|
-
this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
|
|
8079
|
-
}
|
|
8080
|
-
}
|
|
8081
|
-
}
|
|
8082
|
-
|
|
8083
8052
|
/**
|
|
8084
8053
|
* Binds all behavior needed to the menu after rendering.
|
|
8085
8054
|
* @private
|
|
@@ -8096,7 +8065,14 @@ class AuroSelect extends AuroElement$3 {
|
|
|
8096
8065
|
return;
|
|
8097
8066
|
}
|
|
8098
8067
|
|
|
8099
|
-
|
|
8068
|
+
// set menu's default size if there it's not specified.
|
|
8069
|
+
if (!this.menu.getAttribute('size')) {
|
|
8070
|
+
this.menu.setAttribute('size', this.layout !== 'emphasized' ? 'md' : this.size);
|
|
8071
|
+
}
|
|
8072
|
+
|
|
8073
|
+
if (!this.getAttribute('shape')) {
|
|
8074
|
+
this.menu.setAttribute('shape', this.layout === 'classic' ? 'box' : this.shape);
|
|
8075
|
+
}
|
|
8100
8076
|
|
|
8101
8077
|
if (this.multiSelect) {
|
|
8102
8078
|
this.menu.multiSelect = this.multiSelect;
|
package/package.json
CHANGED