@aurodesignsystem-dev/auro-formkit 0.0.0-pr788.0 → 0.0.0-pr792.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +99 -64
- package/components/bibtemplate/dist/registered.js +99 -64
- package/components/combobox/README.md +0 -2
- package/components/combobox/demo/api.md +0 -6
- package/components/combobox/demo/api.min.js +120 -98
- package/components/combobox/demo/index.md +0 -12
- package/components/combobox/demo/index.min.js +120 -98
- package/components/combobox/demo/readme.md +0 -2
- package/components/combobox/dist/auro-combobox.d.ts +0 -2
- package/components/combobox/dist/index.js +115 -93
- package/components/combobox/dist/registered.js +115 -93
- package/components/counter/demo/api.md +0 -9
- package/components/counter/demo/api.min.js +119 -86
- package/components/counter/demo/index.md +0 -6
- package/components/counter/demo/index.min.js +119 -86
- package/components/counter/dist/auro-counter-group.d.ts +0 -1
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +119 -86
- package/components/counter/dist/registered.js +119 -86
- package/components/datepicker/README.md +0 -1
- package/components/datepicker/demo/api.md +0 -11
- package/components/datepicker/demo/api.min.js +100 -77
- package/components/datepicker/demo/index.md +0 -12
- package/components/datepicker/demo/index.min.js +100 -77
- package/components/datepicker/demo/readme.md +0 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +0 -1
- package/components/datepicker/dist/index.js +100 -77
- package/components/datepicker/dist/registered.js +100 -77
- package/components/input/README.md +0 -1
- package/components/input/demo/api.md +6 -14
- package/components/input/demo/api.min.js +2 -11
- package/components/input/demo/index.md +0 -7
- package/components/input/demo/index.min.js +2 -11
- package/components/input/demo/readme.md +0 -1
- package/components/input/dist/base-input.d.ts +0 -3
- package/components/input/dist/index.js +2 -11
- package/components/input/dist/registered.js +2 -11
- package/components/menu/demo/api.min.js +1 -1
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/dist/registered.js +1 -1
- package/components/select/README.md +0 -1
- package/components/select/demo/api.md +0 -3
- package/components/select/demo/api.min.js +110 -79
- package/components/select/demo/index.md +0 -8
- package/components/select/demo/index.min.js +110 -79
- package/components/select/demo/readme.md +0 -1
- package/components/select/dist/auro-select.d.ts +0 -1
- package/components/select/dist/index.js +105 -74
- package/components/select/dist/registered.js +105 -74
- package/package.json +1 -1
|
@@ -11174,7 +11174,7 @@ var tokenCss = i$2`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
11174
11174
|
|
|
11175
11175
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11176
11176
|
|
|
11177
|
-
let AuroLibraryRuntimeUtils$
|
|
11177
|
+
let AuroLibraryRuntimeUtils$3$1 = class AuroLibraryRuntimeUtils {
|
|
11178
11178
|
|
|
11179
11179
|
/* eslint-disable jsdoc/require-param */
|
|
11180
11180
|
|
|
@@ -11757,7 +11757,7 @@ var shapeSize$2 = i$2`.shape-rounded-xl{min-height:68px;max-height:68px;border-s
|
|
|
11757
11757
|
|
|
11758
11758
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11759
11759
|
|
|
11760
|
-
let AuroLibraryRuntimeUtils$
|
|
11760
|
+
let AuroLibraryRuntimeUtils$2$2 = class AuroLibraryRuntimeUtils {
|
|
11761
11761
|
|
|
11762
11762
|
/* eslint-disable jsdoc/require-param */
|
|
11763
11763
|
|
|
@@ -11852,7 +11852,7 @@ let AuroLoader$2 = class AuroLoader extends i {
|
|
|
11852
11852
|
/**
|
|
11853
11853
|
* @private
|
|
11854
11854
|
*/
|
|
11855
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
11855
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2$2();
|
|
11856
11856
|
|
|
11857
11857
|
this.orbit = false;
|
|
11858
11858
|
this.ringworm = false;
|
|
@@ -11915,7 +11915,7 @@ let AuroLoader$2 = class AuroLoader extends i {
|
|
|
11915
11915
|
*
|
|
11916
11916
|
*/
|
|
11917
11917
|
static register(name = "auro-loader") {
|
|
11918
|
-
AuroLibraryRuntimeUtils$
|
|
11918
|
+
AuroLibraryRuntimeUtils$2$2.prototype.registerComponent(name, AuroLoader);
|
|
11919
11919
|
}
|
|
11920
11920
|
|
|
11921
11921
|
firstUpdated() {
|
|
@@ -12195,7 +12195,7 @@ let AuroButton$2 = class AuroButton extends AuroElement$1$3 {
|
|
|
12195
12195
|
*
|
|
12196
12196
|
*/
|
|
12197
12197
|
static register(name = "auro-button") {
|
|
12198
|
-
AuroLibraryRuntimeUtils$
|
|
12198
|
+
AuroLibraryRuntimeUtils$3$1.prototype.registerComponent(name, AuroButton);
|
|
12199
12199
|
}
|
|
12200
12200
|
|
|
12201
12201
|
/**
|
|
@@ -12532,7 +12532,7 @@ var colorCss$8 = i$2`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
|
|
|
12532
12532
|
|
|
12533
12533
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
12534
12534
|
|
|
12535
|
-
let AuroLibraryRuntimeUtils$
|
|
12535
|
+
let AuroLibraryRuntimeUtils$1$3 = class AuroLibraryRuntimeUtils {
|
|
12536
12536
|
|
|
12537
12537
|
/* eslint-disable jsdoc/require-param */
|
|
12538
12538
|
|
|
@@ -12614,7 +12614,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
12614
12614
|
*/
|
|
12615
12615
|
privateDefaults() {
|
|
12616
12616
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
12617
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
12617
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$3();
|
|
12618
12618
|
}
|
|
12619
12619
|
|
|
12620
12620
|
// function to define props used within the scope of this component
|
|
@@ -12696,7 +12696,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
12696
12696
|
*
|
|
12697
12697
|
*/
|
|
12698
12698
|
static register(name = "auro-icon") {
|
|
12699
|
-
AuroLibraryRuntimeUtils$
|
|
12699
|
+
AuroLibraryRuntimeUtils$1$3.prototype.registerComponent(name, AuroIcon);
|
|
12700
12700
|
}
|
|
12701
12701
|
|
|
12702
12702
|
connectedCallback() {
|
|
@@ -12766,9 +12766,79 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
12766
12766
|
}
|
|
12767
12767
|
};
|
|
12768
12768
|
|
|
12769
|
-
var iconVersion$3 = '8.
|
|
12769
|
+
var iconVersion$3 = '8.0.4';
|
|
12770
|
+
|
|
12771
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
12772
|
+
// See LICENSE in the project root for license information.
|
|
12773
|
+
|
|
12774
|
+
// ---------------------------------------------------------------------
|
|
12775
|
+
|
|
12776
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
12777
|
+
|
|
12778
|
+
let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
|
|
12779
|
+
|
|
12780
|
+
/* eslint-disable jsdoc/require-param */
|
|
12781
|
+
|
|
12782
|
+
/**
|
|
12783
|
+
* This will register a new custom element with the browser.
|
|
12784
|
+
* @param {String} name - The name of the custom element.
|
|
12785
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
12786
|
+
* @returns {void}
|
|
12787
|
+
*/
|
|
12788
|
+
registerComponent(name, componentClass) {
|
|
12789
|
+
if (!customElements.get(name)) {
|
|
12790
|
+
customElements.define(name, class extends componentClass {});
|
|
12791
|
+
}
|
|
12792
|
+
}
|
|
12770
12793
|
|
|
12771
|
-
var styleCss$9 = i$2`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.63)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.88)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
|
|
12794
|
+
/**
|
|
12795
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
12796
|
+
* @returns {void}
|
|
12797
|
+
*/
|
|
12798
|
+
closestElement(
|
|
12799
|
+
selector, // selector like in .closest()
|
|
12800
|
+
base = this, // extra functionality to skip a parent
|
|
12801
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
12802
|
+
!el || el === document || el === window
|
|
12803
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
12804
|
+
: found
|
|
12805
|
+
? found // found a selector INside this element
|
|
12806
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
12807
|
+
) {
|
|
12808
|
+
return __Closest(base);
|
|
12809
|
+
}
|
|
12810
|
+
/* eslint-enable jsdoc/require-param */
|
|
12811
|
+
|
|
12812
|
+
/**
|
|
12813
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
12814
|
+
* @param {Object} elem - The element to check.
|
|
12815
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
12816
|
+
* @returns {void}
|
|
12817
|
+
*/
|
|
12818
|
+
handleComponentTagRename(elem, tagName) {
|
|
12819
|
+
const tag = tagName.toLowerCase();
|
|
12820
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
12821
|
+
|
|
12822
|
+
if (elemTag !== tag) {
|
|
12823
|
+
elem.setAttribute(tag, true);
|
|
12824
|
+
}
|
|
12825
|
+
}
|
|
12826
|
+
|
|
12827
|
+
/**
|
|
12828
|
+
* Validates if an element is a specific Auro component.
|
|
12829
|
+
* @param {Object} elem - The element to validate.
|
|
12830
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
12831
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
12832
|
+
*/
|
|
12833
|
+
elementMatch(elem, tagName) {
|
|
12834
|
+
const tag = tagName.toLowerCase();
|
|
12835
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
12836
|
+
|
|
12837
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
12838
|
+
}
|
|
12839
|
+
};
|
|
12840
|
+
|
|
12841
|
+
var styleCss$9 = i$2`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;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)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
|
|
12772
12842
|
|
|
12773
12843
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12774
12844
|
// See LICENSE in the project root for license information.
|
|
@@ -12778,12 +12848,13 @@ var styleCss$9 = i$2`.body-default{font-size:var(--wcss-body-default-font-size,
|
|
|
12778
12848
|
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
12779
12849
|
*
|
|
12780
12850
|
* @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
|
|
12851
|
+
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
12852
|
+
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
12781
12853
|
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
12782
|
-
* @attr {String} display - Determines the visual appearance of the header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
12783
|
-
* @attr {String} level - Determines the semantic heading level of the HTML element. Options are `1` - `6`
|
|
12784
12854
|
* @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
|
|
12785
12855
|
* @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
|
|
12786
12856
|
*/
|
|
12857
|
+
|
|
12787
12858
|
/* eslint complexity: ["error", 21] */
|
|
12788
12859
|
|
|
12789
12860
|
// build the component class
|
|
@@ -12796,7 +12867,7 @@ class AuroHeader extends i {
|
|
|
12796
12867
|
/**
|
|
12797
12868
|
* @private
|
|
12798
12869
|
*/
|
|
12799
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
12870
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
12800
12871
|
}
|
|
12801
12872
|
|
|
12802
12873
|
// function to define props used within the scope of this component
|
|
@@ -12817,22 +12888,6 @@ class AuroHeader extends i {
|
|
|
12817
12888
|
return [styleCss$9];
|
|
12818
12889
|
}
|
|
12819
12890
|
|
|
12820
|
-
/**
|
|
12821
|
-
* Mapping of display values to their corresponding CSS classes
|
|
12822
|
-
* @private
|
|
12823
|
-
*/
|
|
12824
|
-
static get displayClassMap() {
|
|
12825
|
-
return {
|
|
12826
|
-
'display': 'heading-xl',
|
|
12827
|
-
'800': 'heading-xl',
|
|
12828
|
-
'700': 'heading-lg',
|
|
12829
|
-
'600': 'heading-md',
|
|
12830
|
-
'500': 'heading-sm',
|
|
12831
|
-
'400': 'heading-xs',
|
|
12832
|
-
'300': 'heading-2xs'
|
|
12833
|
-
};
|
|
12834
|
-
}
|
|
12835
|
-
|
|
12836
12891
|
/**
|
|
12837
12892
|
* This will register this element with the browser.
|
|
12838
12893
|
* @param {string} [name="auro-header"] - The name of element that you want to register to.
|
|
@@ -12842,7 +12897,7 @@ class AuroHeader extends i {
|
|
|
12842
12897
|
*
|
|
12843
12898
|
*/
|
|
12844
12899
|
static register(name = "auro-header") {
|
|
12845
|
-
AuroLibraryRuntimeUtils$
|
|
12900
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroHeader);
|
|
12846
12901
|
}
|
|
12847
12902
|
|
|
12848
12903
|
firstUpdated() {
|
|
@@ -12909,42 +12964,23 @@ class AuroHeader extends i {
|
|
|
12909
12964
|
this.display = 'display';
|
|
12910
12965
|
}
|
|
12911
12966
|
|
|
12912
|
-
|
|
12913
|
-
|
|
12914
|
-
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
|
|
12918
|
-
|
|
12919
|
-
'heading': true,
|
|
12920
|
-
[`heading--${this.display}`]: true,
|
|
12921
|
-
[headingClass]: true
|
|
12922
|
-
};
|
|
12923
|
-
|
|
12924
|
-
// Add spacing classes to the class object if they exist
|
|
12925
|
-
if (spacingClasses) {
|
|
12926
|
-
const spacingClassArray = spacingClasses.split(' ');
|
|
12927
|
-
spacingClassArray.forEach(cls => {
|
|
12928
|
-
if (cls.trim()) {
|
|
12929
|
-
classObject[cls.trim()] = true;
|
|
12930
|
-
}
|
|
12931
|
-
});
|
|
12967
|
+
switch (level) {
|
|
12968
|
+
case '2': return x`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h2>`;
|
|
12969
|
+
case '3': return x`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h3>`;
|
|
12970
|
+
case '4': return x`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h4>`;
|
|
12971
|
+
case '5': return x`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h5>`;
|
|
12972
|
+
case '6': return x`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h6>`;
|
|
12973
|
+
default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h1>`;
|
|
12932
12974
|
}
|
|
12933
|
-
|
|
12934
|
-
const headerClasses = e$2(classObject);
|
|
12935
|
-
|
|
12936
|
-
// unsafeStatic dynamically creates tag names at runtime
|
|
12937
|
-
const tag = s$3(`h${headingLevel}`);
|
|
12938
|
-
return u$3`<${tag} class="${headerClasses}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
12939
12975
|
}
|
|
12940
|
-
|
|
12941
12976
|
// function that renders the HTML and CSS into the scope of the component
|
|
12977
|
+
|
|
12942
12978
|
render() {
|
|
12943
12979
|
return this.template(this.level);
|
|
12944
12980
|
}
|
|
12945
12981
|
}
|
|
12946
12982
|
|
|
12947
|
-
var headerVersion = '4.0.
|
|
12983
|
+
var headerVersion = '4.0.1';
|
|
12948
12984
|
|
|
12949
12985
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12950
12986
|
// See LICENSE in the project root for license information.
|
|
@@ -12957,7 +12993,7 @@ class AuroBibtemplate extends i {
|
|
|
12957
12993
|
|
|
12958
12994
|
this.large = false;
|
|
12959
12995
|
|
|
12960
|
-
AuroLibraryRuntimeUtils$
|
|
12996
|
+
AuroLibraryRuntimeUtils$3$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
12961
12997
|
|
|
12962
12998
|
const versioning = new AuroDependencyVersioning$2();
|
|
12963
12999
|
|
|
@@ -13009,7 +13045,7 @@ class AuroBibtemplate extends i {
|
|
|
13009
13045
|
*
|
|
13010
13046
|
*/
|
|
13011
13047
|
static register(name = "auro-bibtemplate") {
|
|
13012
|
-
AuroLibraryRuntimeUtils$
|
|
13048
|
+
AuroLibraryRuntimeUtils$3$1.prototype.registerComponent(name, AuroBibtemplate);
|
|
13013
13049
|
}
|
|
13014
13050
|
|
|
13015
13051
|
/**
|
|
@@ -13067,9 +13103,8 @@ class AuroBibtemplate extends i {
|
|
|
13067
13103
|
<div id="bibTemplate" part="bibtemplate">
|
|
13068
13104
|
${this.isFullscreen ? u$3`
|
|
13069
13105
|
<div id="headerContainer">
|
|
13070
|
-
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
13071
|
-
|
|
13072
|
-
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
13106
|
+
<${this.buttonTag} id="closeButton" aria-label="Close" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
13107
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
13073
13108
|
</${this.buttonTag}>
|
|
13074
13109
|
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
13075
13110
|
<slot name="header"></slot>
|
|
@@ -14504,7 +14539,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14504
14539
|
?large="${this.largeFullscreenHeadline}"
|
|
14505
14540
|
?isFullscreen="${this.isFullscreen}"
|
|
14506
14541
|
@close-click="${this.utilCal.requestDismiss}">
|
|
14507
|
-
<span slot="ariaLabel.close">${this.slots["ariaLabel.close"]}</span>
|
|
14508
14542
|
|
|
14509
14543
|
<span slot="header">${this.slots["bib.fullscreen.headline"]}</span>
|
|
14510
14544
|
|
|
@@ -23915,9 +23949,6 @@ let AuroElement$2 = class AuroElement extends i {
|
|
|
23915
23949
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
23916
23950
|
* @attr id
|
|
23917
23951
|
*
|
|
23918
|
-
* @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
|
|
23919
|
-
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
23920
|
-
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
23921
23952
|
* @slot helpText - Sets the help text displayed below the input.
|
|
23922
23953
|
* @slot label - Sets the label text for the input.
|
|
23923
23954
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -26983,13 +27014,12 @@ class AuroInput extends BaseInput {
|
|
|
26983
27014
|
<${this.buttonTag}
|
|
26984
27015
|
@click="${this.handleClickClear}"
|
|
26985
27016
|
?onDark="${this.onDark}"
|
|
27017
|
+
aria-label="${i18n$1(this.lang, 'clearInput')}"
|
|
26986
27018
|
class="notificationBtn clearBtn"
|
|
26987
27019
|
shape="circle"
|
|
26988
27020
|
size="sm"
|
|
26989
27021
|
variant="ghost">
|
|
26990
|
-
<span><slot name="ariaLabel.clear">Clear Input</slot></span>
|
|
26991
27022
|
<${this.iconTag}
|
|
26992
|
-
aria-hidden="true"
|
|
26993
27023
|
?customColor="${this.onDark}"
|
|
26994
27024
|
category="interface"
|
|
26995
27025
|
name="x-lg"
|
|
@@ -27012,23 +27042,18 @@ class AuroInput extends BaseInput {
|
|
|
27012
27042
|
@click="${this.handleClickShowPassword}"
|
|
27013
27043
|
?onDark="${this.onDark}"
|
|
27014
27044
|
class="notificationBtn passwordBtn"
|
|
27045
|
+
aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
|
|
27015
27046
|
shape="circle"
|
|
27016
27047
|
size="sm"
|
|
27017
27048
|
variant="ghost">
|
|
27018
|
-
<span>
|
|
27019
|
-
${this.showPassword ? u$3`<slot name="ariaLabel.password.hide">Hide Password</slot>`
|
|
27020
|
-
: u$3`<slot name="ariaLabel.password.show">Show Password</slot>`}
|
|
27021
|
-
</span>
|
|
27022
27049
|
<${this.iconTag}
|
|
27023
27050
|
?customColor="${this.onDark}"
|
|
27024
|
-
aria-hidden="true"
|
|
27025
27051
|
?hidden=${!this.showPassword}
|
|
27026
27052
|
category="interface"
|
|
27027
27053
|
name="hide-password-stroke">
|
|
27028
27054
|
</${this.iconTag}>
|
|
27029
27055
|
<${this.iconTag}
|
|
27030
27056
|
?customColor="${this.onDark}"
|
|
27031
|
-
aria-hidden="true"
|
|
27032
27057
|
?hidden=${this.showPassword}
|
|
27033
27058
|
category="interface"
|
|
27034
27059
|
name="view-password-stroke">
|
|
@@ -28054,7 +28079,6 @@ var iconVersion = '8.0.1';
|
|
|
28054
28079
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
28055
28080
|
/**
|
|
28056
28081
|
* @slot helpText - Defines the content of the helpText.
|
|
28057
|
-
* @slot ariaLabel.close - Sets aria-label on close button in fullscreen bib
|
|
28058
28082
|
* @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
|
|
28059
28083
|
* @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
28060
28084
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -29594,7 +29618,6 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29594
29618
|
.monthNames="${this.monthNames}"
|
|
29595
29619
|
part="calendar"
|
|
29596
29620
|
>
|
|
29597
|
-
<slot name="ariaLabel.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
|
|
29598
29621
|
<slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29599
29622
|
<slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29600
29623
|
<span slot="bib.fullscreen.fromStr">${this.value || u$3`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
|
|
@@ -24,7 +24,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
24
24
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark.html) -->
|
|
25
25
|
<!-- The below content is automatically added from ./../apiExamples/snowflake/ondark.html -->
|
|
26
26
|
<auro-datepicker layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
27
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
28
27
|
<span slot="label">Date</span>
|
|
29
28
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
30
29
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -36,7 +35,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
36
35
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark.html) -->
|
|
37
36
|
<!-- The below content is automatically added from ./../apiExamples/snowflake/ondark.html -->
|
|
38
37
|
<auro-datepicker layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
39
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
40
38
|
<span slot="label">Date</span>
|
|
41
39
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
42
40
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -51,7 +49,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
51
49
|
|
|
52
50
|
```html
|
|
53
51
|
<auro-datepicker layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
54
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
55
52
|
<span slot="label">Date</span>
|
|
56
53
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
57
54
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -66,7 +63,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
66
63
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark-range.html) -->
|
|
67
64
|
<!-- The below content is automatically added from ./../apiExamples/snowflake/ondark-range.html -->
|
|
68
65
|
<auro-datepicker range layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
69
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
70
66
|
<span slot="label">Dates</span>
|
|
71
67
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
72
68
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -78,7 +74,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
78
74
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark-range.html) -->
|
|
79
75
|
<!-- The below content is automatically added from ./../apiExamples/snowflake/ondark-range.html -->
|
|
80
76
|
<auro-datepicker range layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
81
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
82
77
|
<span slot="label">Dates</span>
|
|
83
78
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
84
79
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -93,7 +88,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
93
88
|
|
|
94
89
|
```html
|
|
95
90
|
<auro-datepicker range layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
96
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
97
91
|
<span slot="label">Dates</span>
|
|
98
92
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
99
93
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -109,7 +103,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
109
103
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
110
104
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
111
105
|
<auro-datepicker required="">
|
|
112
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
113
106
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
114
107
|
<span slot="fromLabel">Choose a date</span>
|
|
115
108
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -120,7 +113,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
120
113
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
|
|
121
114
|
<!-- The below content is automatically added from ./../apiExamples/onDark.html -->
|
|
122
115
|
<auro-datepicker onDark>
|
|
123
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
124
116
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
125
117
|
<span slot="fromLabel">Choose a date</span>
|
|
126
118
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -134,7 +126,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
134
126
|
|
|
135
127
|
```html
|
|
136
128
|
<auro-datepicker required="">
|
|
137
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
138
129
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
139
130
|
<span slot="fromLabel">Choose a date</span>
|
|
140
131
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -144,7 +135,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
144
135
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
|
|
145
136
|
<!-- The below content is automatically added from ./../apiExamples/onDark.html -->
|
|
146
137
|
<auro-datepicker onDark>
|
|
147
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
148
138
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
149
139
|
<span slot="fromLabel">Choose a date</span>
|
|
150
140
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -158,7 +148,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
158
148
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
159
149
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
160
150
|
<auro-datepicker range minDate="07/08/2025">
|
|
161
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
162
151
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
163
152
|
<span slot="fromLabel">Departure</span>
|
|
164
153
|
<span slot="toLabel">Return</span>
|
|
@@ -184,7 +173,6 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
184
173
|
|
|
185
174
|
```html
|
|
186
175
|
<auro-datepicker range minDate="07/08/2025">
|
|
187
|
-
<span slot="ariaLabel.close">Close Calendar</span>
|
|
188
176
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
189
177
|
<span slot="fromLabel">Departure</span>
|
|
190
178
|
<span slot="toLabel">Return</span>
|