@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.12 → 0.0.0-pr624.14
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 +79 -9
- package/components/bibtemplate/dist/registered.js +79 -9
- package/components/checkbox/demo/api.md +6 -7
- package/components/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.min.js +291 -41
- package/components/combobox/demo/index.min.js +291 -41
- package/components/combobox/dist/index.js +286 -36
- package/components/combobox/dist/registered.js +286 -36
- package/components/counter/demo/api.min.js +271 -21
- package/components/counter/demo/index.min.js +271 -21
- package/components/counter/dist/index.js +271 -21
- package/components/counter/dist/registered.js +271 -21
- package/components/datepicker/demo/api.md +13 -14
- package/components/datepicker/demo/api.min.js +560 -60
- package/components/datepicker/demo/index.min.js +560 -60
- package/components/datepicker/dist/index.js +560 -60
- package/components/datepicker/dist/registered.js +560 -60
- package/components/dropdown/demo/api.md +2 -2
- package/components/dropdown/demo/api.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/api.min.js +1 -1
- package/components/form/demo/index.min.js +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/helptext/dist/index.js +1 -1
- package/components/helptext/dist/registered.js +1 -1
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/api.min.js +194 -14
- package/components/input/demo/index.min.js +194 -14
- package/components/input/dist/index.js +194 -14
- package/components/input/dist/registered.js +194 -14
- package/components/menu/demo/api.md +5 -5
- package/components/radio/demo/api.md +2 -2
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +91 -21
- package/components/select/demo/index.min.js +91 -21
- package/components/select/dist/index.js +87 -17
- package/components/select/dist/registered.js +87 -17
- package/package.json +3 -1
|
@@ -16,7 +16,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
16
16
|
|
|
17
17
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
18
18
|
|
|
19
|
-
let AuroLibraryRuntimeUtils$
|
|
19
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
20
20
|
|
|
21
21
|
/* eslint-disable jsdoc/require-param */
|
|
22
22
|
|
|
@@ -280,7 +280,7 @@ var colorCss = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){co
|
|
|
280
280
|
|
|
281
281
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
282
282
|
|
|
283
|
-
class AuroLibraryRuntimeUtils {
|
|
283
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
284
284
|
|
|
285
285
|
/* eslint-disable jsdoc/require-param */
|
|
286
286
|
|
|
@@ -341,7 +341,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
341
341
|
|
|
342
342
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
343
343
|
}
|
|
344
|
-
}
|
|
344
|
+
};
|
|
345
345
|
|
|
346
346
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
347
347
|
// See LICENSE in the project root for license information.
|
|
@@ -362,7 +362,7 @@ class AuroIcon extends BaseIcon {
|
|
|
362
362
|
*/
|
|
363
363
|
privateDefaults() {
|
|
364
364
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
365
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
365
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
// function to define props used within the scope of this component
|
|
@@ -444,7 +444,7 @@ class AuroIcon extends BaseIcon {
|
|
|
444
444
|
*
|
|
445
445
|
*/
|
|
446
446
|
static register(name = "auro-icon") {
|
|
447
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
447
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
connectedCallback() {
|
|
@@ -512,6 +512,76 @@ class AuroIcon extends BaseIcon {
|
|
|
512
512
|
|
|
513
513
|
var iconVersion = '8.0.3';
|
|
514
514
|
|
|
515
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
516
|
+
// See LICENSE in the project root for license information.
|
|
517
|
+
|
|
518
|
+
// ---------------------------------------------------------------------
|
|
519
|
+
|
|
520
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
521
|
+
|
|
522
|
+
class AuroLibraryRuntimeUtils {
|
|
523
|
+
|
|
524
|
+
/* eslint-disable jsdoc/require-param */
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* This will register a new custom element with the browser.
|
|
528
|
+
* @param {String} name - The name of the custom element.
|
|
529
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
530
|
+
* @returns {void}
|
|
531
|
+
*/
|
|
532
|
+
registerComponent(name, componentClass) {
|
|
533
|
+
if (!customElements.get(name)) {
|
|
534
|
+
customElements.define(name, class extends componentClass {});
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
540
|
+
* @returns {void}
|
|
541
|
+
*/
|
|
542
|
+
closestElement(
|
|
543
|
+
selector, // selector like in .closest()
|
|
544
|
+
base = this, // extra functionality to skip a parent
|
|
545
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
546
|
+
!el || el === document || el === window
|
|
547
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
548
|
+
: found
|
|
549
|
+
? found // found a selector INside this element
|
|
550
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
551
|
+
) {
|
|
552
|
+
return __Closest(base);
|
|
553
|
+
}
|
|
554
|
+
/* eslint-enable jsdoc/require-param */
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* 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.
|
|
558
|
+
* @param {Object} elem - The element to check.
|
|
559
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
560
|
+
* @returns {void}
|
|
561
|
+
*/
|
|
562
|
+
handleComponentTagRename(elem, tagName) {
|
|
563
|
+
const tag = tagName.toLowerCase();
|
|
564
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
565
|
+
|
|
566
|
+
if (elemTag !== tag) {
|
|
567
|
+
elem.setAttribute(tag, true);
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Validates if an element is a specific Auro component.
|
|
573
|
+
* @param {Object} elem - The element to validate.
|
|
574
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
575
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
576
|
+
*/
|
|
577
|
+
elementMatch(elem, tagName) {
|
|
578
|
+
const tag = tagName.toLowerCase();
|
|
579
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
580
|
+
|
|
581
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
|
|
515
585
|
var styleCss = css`.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)}`;
|
|
516
586
|
|
|
517
587
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -541,7 +611,7 @@ class AuroHeader extends LitElement {
|
|
|
541
611
|
/**
|
|
542
612
|
* @private
|
|
543
613
|
*/
|
|
544
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
614
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
545
615
|
}
|
|
546
616
|
|
|
547
617
|
// function to define props used within the scope of this component
|
|
@@ -571,7 +641,7 @@ class AuroHeader extends LitElement {
|
|
|
571
641
|
*
|
|
572
642
|
*/
|
|
573
643
|
static register(name = "auro-header") {
|
|
574
|
-
AuroLibraryRuntimeUtils
|
|
644
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
|
|
575
645
|
}
|
|
576
646
|
|
|
577
647
|
firstUpdated() {
|
|
@@ -667,7 +737,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
667
737
|
|
|
668
738
|
this.large = false;
|
|
669
739
|
|
|
670
|
-
AuroLibraryRuntimeUtils$
|
|
740
|
+
AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
671
741
|
|
|
672
742
|
const versioning = new AuroDependencyVersioning();
|
|
673
743
|
this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion, AuroIcon);
|
|
@@ -706,7 +776,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
706
776
|
*
|
|
707
777
|
*/
|
|
708
778
|
static register(name = "auro-bibtemplate") {
|
|
709
|
-
AuroLibraryRuntimeUtils$
|
|
779
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
|
|
710
780
|
}
|
|
711
781
|
|
|
712
782
|
/**
|
|
@@ -16,7 +16,7 @@ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
16
16
|
|
|
17
17
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
18
18
|
|
|
19
|
-
let AuroLibraryRuntimeUtils$
|
|
19
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
20
20
|
|
|
21
21
|
/* eslint-disable jsdoc/require-param */
|
|
22
22
|
|
|
@@ -280,7 +280,7 @@ var colorCss = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){co
|
|
|
280
280
|
|
|
281
281
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
282
282
|
|
|
283
|
-
class AuroLibraryRuntimeUtils {
|
|
283
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
284
284
|
|
|
285
285
|
/* eslint-disable jsdoc/require-param */
|
|
286
286
|
|
|
@@ -341,7 +341,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
341
341
|
|
|
342
342
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
343
343
|
}
|
|
344
|
-
}
|
|
344
|
+
};
|
|
345
345
|
|
|
346
346
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
347
347
|
// See LICENSE in the project root for license information.
|
|
@@ -362,7 +362,7 @@ class AuroIcon extends BaseIcon {
|
|
|
362
362
|
*/
|
|
363
363
|
privateDefaults() {
|
|
364
364
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
365
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
365
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
// function to define props used within the scope of this component
|
|
@@ -444,7 +444,7 @@ class AuroIcon extends BaseIcon {
|
|
|
444
444
|
*
|
|
445
445
|
*/
|
|
446
446
|
static register(name = "auro-icon") {
|
|
447
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
447
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
connectedCallback() {
|
|
@@ -512,6 +512,76 @@ class AuroIcon extends BaseIcon {
|
|
|
512
512
|
|
|
513
513
|
var iconVersion = '8.0.3';
|
|
514
514
|
|
|
515
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
516
|
+
// See LICENSE in the project root for license information.
|
|
517
|
+
|
|
518
|
+
// ---------------------------------------------------------------------
|
|
519
|
+
|
|
520
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
521
|
+
|
|
522
|
+
class AuroLibraryRuntimeUtils {
|
|
523
|
+
|
|
524
|
+
/* eslint-disable jsdoc/require-param */
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* This will register a new custom element with the browser.
|
|
528
|
+
* @param {String} name - The name of the custom element.
|
|
529
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
530
|
+
* @returns {void}
|
|
531
|
+
*/
|
|
532
|
+
registerComponent(name, componentClass) {
|
|
533
|
+
if (!customElements.get(name)) {
|
|
534
|
+
customElements.define(name, class extends componentClass {});
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
540
|
+
* @returns {void}
|
|
541
|
+
*/
|
|
542
|
+
closestElement(
|
|
543
|
+
selector, // selector like in .closest()
|
|
544
|
+
base = this, // extra functionality to skip a parent
|
|
545
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
546
|
+
!el || el === document || el === window
|
|
547
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
548
|
+
: found
|
|
549
|
+
? found // found a selector INside this element
|
|
550
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
551
|
+
) {
|
|
552
|
+
return __Closest(base);
|
|
553
|
+
}
|
|
554
|
+
/* eslint-enable jsdoc/require-param */
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* 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.
|
|
558
|
+
* @param {Object} elem - The element to check.
|
|
559
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
560
|
+
* @returns {void}
|
|
561
|
+
*/
|
|
562
|
+
handleComponentTagRename(elem, tagName) {
|
|
563
|
+
const tag = tagName.toLowerCase();
|
|
564
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
565
|
+
|
|
566
|
+
if (elemTag !== tag) {
|
|
567
|
+
elem.setAttribute(tag, true);
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Validates if an element is a specific Auro component.
|
|
573
|
+
* @param {Object} elem - The element to validate.
|
|
574
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
575
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
576
|
+
*/
|
|
577
|
+
elementMatch(elem, tagName) {
|
|
578
|
+
const tag = tagName.toLowerCase();
|
|
579
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
580
|
+
|
|
581
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
|
|
515
585
|
var styleCss = css`.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)}`;
|
|
516
586
|
|
|
517
587
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -541,7 +611,7 @@ class AuroHeader extends LitElement {
|
|
|
541
611
|
/**
|
|
542
612
|
* @private
|
|
543
613
|
*/
|
|
544
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
614
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
545
615
|
}
|
|
546
616
|
|
|
547
617
|
// function to define props used within the scope of this component
|
|
@@ -571,7 +641,7 @@ class AuroHeader extends LitElement {
|
|
|
571
641
|
*
|
|
572
642
|
*/
|
|
573
643
|
static register(name = "auro-header") {
|
|
574
|
-
AuroLibraryRuntimeUtils
|
|
644
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
|
|
575
645
|
}
|
|
576
646
|
|
|
577
647
|
firstUpdated() {
|
|
@@ -667,7 +737,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
667
737
|
|
|
668
738
|
this.large = false;
|
|
669
739
|
|
|
670
|
-
AuroLibraryRuntimeUtils$
|
|
740
|
+
AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
671
741
|
|
|
672
742
|
const versioning = new AuroDependencyVersioning();
|
|
673
743
|
this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion, AuroIcon);
|
|
@@ -706,7 +776,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
706
776
|
*
|
|
707
777
|
*/
|
|
708
778
|
static register(name = "auro-bibtemplate") {
|
|
709
|
-
AuroLibraryRuntimeUtils$
|
|
779
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
|
|
710
780
|
}
|
|
711
781
|
|
|
712
782
|
/**
|
|
@@ -386,16 +386,15 @@ The component may be restyled using the following code sample and changing the v
|
|
|
386
386
|
<!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
|
|
387
387
|
|
|
388
388
|
```scss
|
|
389
|
-
@
|
|
390
|
-
@import "@aurodesignsystem/design-tokens/dist/auro-classic/SCSSVariables";
|
|
389
|
+
@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
391
390
|
|
|
392
391
|
:host {
|
|
393
|
-
--ds-auro-checkbox-border-color: var(--ds-basic-color-border-bold, #{
|
|
394
|
-
--ds-auro-checkbox-checkmark-color: var(--ds-advanced-color-boolean-indicator, #{
|
|
395
|
-
--ds-auro-checkbox-container-color: var(--ds-advanced-color-boolean-isfalse, #{
|
|
396
|
-
--ds-auro-checkbox-label-color: var(--ds-basic-color-texticon-default, #{
|
|
392
|
+
--ds-auro-checkbox-border-color: var(--ds-basic-color-border-bold, #{v.$ds-basic-color-border-bold});
|
|
393
|
+
--ds-auro-checkbox-checkmark-color: var(--ds-advanced-color-boolean-indicator, #{v.$ds-advanced-color-boolean-indicator});
|
|
394
|
+
--ds-auro-checkbox-container-color: var(--ds-advanced-color-boolean-isfalse, #{v.$ds-advanced-color-boolean-isfalse});
|
|
395
|
+
--ds-auro-checkbox-label-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
397
396
|
--ds-auro-checkbox-outline-color: transparent;
|
|
398
|
-
--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-default, #{
|
|
397
|
+
--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
399
398
|
}
|
|
400
399
|
```
|
|
401
400
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1218,7 +1218,7 @@ var colorCss$1 = i$5`:host{color:var(--ds-auro-checkbox-group-text-color)}:host(
|
|
|
1218
1218
|
|
|
1219
1219
|
var colorCss = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
1220
1220
|
|
|
1221
|
-
var styleCss = i$5`.helptext-wrapper{display:none;font-size:
|
|
1221
|
+
var styleCss = i$5`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
1222
1222
|
|
|
1223
1223
|
var tokensCss = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
1224
1224
|
|
|
@@ -1210,7 +1210,7 @@ var colorCss$1 = i$5`:host{color:var(--ds-auro-checkbox-group-text-color)}:host(
|
|
|
1210
1210
|
|
|
1211
1211
|
var colorCss = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
1212
1212
|
|
|
1213
|
-
var styleCss = i$5`.helptext-wrapper{display:none;font-size:
|
|
1213
|
+
var styleCss = i$5`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
1214
1214
|
|
|
1215
1215
|
var tokensCss = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
1216
1216
|
|
|
@@ -1163,7 +1163,7 @@ var colorCss$1 = css`:host{color:var(--ds-auro-checkbox-group-text-color)}:host(
|
|
|
1163
1163
|
|
|
1164
1164
|
var colorCss = css`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
1165
1165
|
|
|
1166
|
-
var styleCss = css`.helptext-wrapper{display:none;font-size:
|
|
1166
|
+
var styleCss = css`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
1167
1167
|
|
|
1168
1168
|
var tokensCss = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
1169
1169
|
|
|
@@ -1163,7 +1163,7 @@ var colorCss$1 = css`:host{color:var(--ds-auro-checkbox-group-text-color)}:host(
|
|
|
1163
1163
|
|
|
1164
1164
|
var colorCss = css`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
1165
1165
|
|
|
1166
|
-
var styleCss = css`.helptext-wrapper{display:none;font-size:
|
|
1166
|
+
var styleCss = css`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
1167
1167
|
|
|
1168
1168
|
var tokensCss = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
1169
1169
|
|