@aurodesignsystem-dev/auro-formkit 0.0.0-pr669.0 → 0.0.0-pr671.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/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +81 -11
- package/components/bibtemplate/dist/registered.js +81 -11
- package/components/checkbox/demo/api.min.js +2 -13
- package/components/checkbox/demo/index.min.js +2 -13
- package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +1 -5
- package/components/checkbox/dist/index.js +2 -13
- package/components/checkbox/dist/registered.js +2 -13
- package/components/combobox/demo/api.md +0 -4
- package/components/combobox/demo/api.min.js +871 -1749
- package/components/combobox/demo/index.html +1 -1
- package/components/combobox/demo/index.md +0 -118
- package/components/combobox/demo/index.min.js +871 -1749
- package/components/combobox/dist/auro-combobox.d.ts +11 -27
- package/components/combobox/dist/index.js +864 -1742
- package/components/combobox/dist/registered.js +864 -1742
- package/components/counter/demo/api.min.js +388 -493
- package/components/counter/demo/index.min.js +388 -493
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +388 -493
- package/components/counter/dist/registered.js +388 -493
- package/components/datepicker/demo/api.md +5 -13
- package/components/datepicker/demo/api.min.js +1193 -1707
- package/components/datepicker/demo/index.md +0 -13
- package/components/datepicker/demo/index.min.js +1193 -1707
- package/components/datepicker/dist/auro-datepicker.d.ts +2 -21
- package/components/datepicker/dist/index.js +1092 -1606
- package/components/datepicker/dist/registered.js +1092 -1606
- package/components/dropdown/demo/api.md +35 -59
- package/components/dropdown/demo/api.min.js +88 -387
- package/components/dropdown/demo/index.md +0 -97
- package/components/dropdown/demo/index.min.js +88 -387
- package/components/dropdown/dist/auro-dropdown.d.ts +21 -80
- package/components/dropdown/dist/index.js +61 -360
- package/components/dropdown/dist/registered.js +61 -360
- package/components/input/README.md +1 -1
- package/components/input/demo/api.md +21 -36
- package/components/input/demo/api.min.js +523 -818
- package/components/input/demo/index.html +1 -1
- package/components/input/demo/index.md +4 -49
- package/components/input/demo/index.min.js +523 -818
- package/components/input/demo/readme.md +1 -1
- package/components/input/dist/auro-input.d.ts +3 -105
- package/components/input/dist/base-input.d.ts +18 -36
- package/components/input/dist/index.js +459 -754
- package/components/input/dist/registered.js +459 -754
- package/components/menu/demo/api.min.js +2 -2
- package/components/menu/demo/index.min.js +2 -2
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +2 -2
- package/components/menu/dist/registered.js +2 -2
- package/components/select/demo/api.md +4 -12
- package/components/select/demo/api.min.js +266 -1181
- package/components/select/demo/index.html +0 -1
- package/components/select/demo/index.md +777 -298
- package/components/select/demo/index.min.js +266 -1181
- package/components/select/dist/auro-select.d.ts +3 -96
- package/components/select/dist/index.js +247 -1162
- package/components/select/dist/registered.js +247 -1162
- package/package.json +2 -2
- package/components/combobox/dist/styles/snowflake/style-css.d.ts +0 -2
- package/components/datepicker/dist/styles/default/color-css.d.ts +0 -2
- package/components/datepicker/dist/styles/emphasized/style-css.d.ts +0 -2
- package/components/datepicker/dist/styles/shapeSize-css.d.ts +0 -2
- package/components/dropdown/dist/styles/default/color-css.d.ts +0 -2
- package/components/dropdown/dist/styles/default/style-css.d.ts +0 -2
- package/components/dropdown/dist/styles/emphasized/style-css.d.ts +0 -2
- package/components/dropdown/dist/styles/shapeSize-css.d.ts +0 -2
- package/components/dropdown/dist/styles/snowflake/style-css.d.ts +0 -2
- package/components/input/dist/styles/classic/color-css.d.ts +0 -2
- package/components/input/dist/styles/classic/style-css.d.ts +0 -2
- package/components/input/dist/styles/default/color-css.d.ts +0 -2
- package/components/input/dist/styles/default/input-css.d.ts +0 -2
- package/components/input/dist/styles/default/mixins-css.d.ts +0 -2
- package/components/input/dist/styles/default/style-css.d.ts +0 -2
- package/components/input/dist/styles/emphasized/color-css.d.ts +0 -2
- package/components/input/dist/styles/emphasized/style-css.d.ts +0 -2
- package/components/input/dist/styles/shapeSize-css.d.ts +0 -2
- package/components/input/dist/styles/snowflake/style-css.d.ts +0 -2
- package/components/layoutElement/dist/auroElement.d.ts +0 -34
- package/components/layoutElement/dist/index.d.ts +0 -2
- package/components/layoutElement/dist/index.js +0 -95
- package/components/layoutElement/dist/registered.js +0 -1
- package/components/select/dist/helptextVersion.d.ts +0 -2
- package/components/select/dist/styles/shapeSize-css.d.ts +0 -2
- package/components/select/dist/styles/tokens-css.d.ts +0 -2
- /package/components/dropdown/dist/styles/{default/bibColors-css.d.ts → bibColors-css.d.ts} +0 -0
- /package/components/dropdown/dist/styles/{default/bibStyles-css.d.ts → bibStyles-css.d.ts} +0 -0
- /package/components/{combobox/dist/styles/emphasized → dropdown/dist/styles}/style-css.d.ts +0 -0
- /package/components/input/dist/styles/{default/borders-css.d.ts → borders-css.d.ts} +0 -0
- /package/components/input/dist/styles/{default/label-css.d.ts → label-css.d.ts} +0 -0
- /package/components/input/dist/styles/{default/notificationIcons-css.d.ts → notificationIcons-css.d.ts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "8.0.
|
|
1
|
+
declare const _default: "8.0.2";
|
|
2
2
|
export default _default;
|
|
@@ -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
|
|
|
@@ -271,7 +271,7 @@ class BaseIcon extends AuroElement {
|
|
|
271
271
|
|
|
272
272
|
var tokensCss = css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
273
273
|
|
|
274
|
-
var colorCss = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}
|
|
274
|
+
var colorCss = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}`;
|
|
275
275
|
|
|
276
276
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
277
277
|
// See LICENSE in the project root for license information.
|
|
@@ -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() {
|
|
@@ -510,7 +510,77 @@ class AuroIcon extends BaseIcon {
|
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
512
|
|
|
513
|
-
var iconVersion = '8.0.
|
|
513
|
+
var iconVersion = '8.0.2';
|
|
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
|
+
}
|
|
514
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
|
|
|
@@ -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
|
|
|
@@ -271,7 +271,7 @@ class BaseIcon extends AuroElement {
|
|
|
271
271
|
|
|
272
272
|
var tokensCss = css`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
273
273
|
|
|
274
|
-
var colorCss = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}
|
|
274
|
+
var colorCss = css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}`;
|
|
275
275
|
|
|
276
276
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
277
277
|
// See LICENSE in the project root for license information.
|
|
@@ -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() {
|
|
@@ -510,7 +510,77 @@ class AuroIcon extends BaseIcon {
|
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
512
|
|
|
513
|
-
var iconVersion = '8.0.
|
|
513
|
+
var iconVersion = '8.0.2';
|
|
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
|
+
}
|
|
514
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
|
|
|
@@ -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
|
/**
|
|
@@ -180,7 +180,6 @@ class AuroCheckbox extends i$2 {
|
|
|
180
180
|
// function to define props used within the scope of this component
|
|
181
181
|
static get properties() {
|
|
182
182
|
return {
|
|
183
|
-
...super.properties,
|
|
184
183
|
|
|
185
184
|
/**
|
|
186
185
|
* If set to true, the checkbox will be filled with a checkmark.
|
|
@@ -355,11 +354,8 @@ class AuroCheckbox extends i$2 {
|
|
|
355
354
|
});
|
|
356
355
|
}
|
|
357
356
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
* @returns {HTMLElement}
|
|
361
|
-
*/
|
|
362
|
-
getLayoutDefault() {
|
|
357
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
358
|
+
render() {
|
|
363
359
|
const labelClasses = {
|
|
364
360
|
'label': true,
|
|
365
361
|
'label--cbx': true,
|
|
@@ -1501,7 +1497,6 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1501
1497
|
|
|
1502
1498
|
static get properties() {
|
|
1503
1499
|
return {
|
|
1504
|
-
...super.properties,
|
|
1505
1500
|
|
|
1506
1501
|
/**
|
|
1507
1502
|
* If set, disables the checkbox group.
|
|
@@ -1734,12 +1729,6 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1734
1729
|
* @returns {void}
|
|
1735
1730
|
*/
|
|
1736
1731
|
updated(changedProperties) {
|
|
1737
|
-
if (changedProperties.has('layout')) {
|
|
1738
|
-
this.checkboxes.forEach((el) => {
|
|
1739
|
-
el.layout = this.layout;
|
|
1740
|
-
});
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
1732
|
if (changedProperties.has('disabled')) {
|
|
1744
1733
|
this.checkboxes.forEach((el) => {
|
|
1745
1734
|
if (this.disabled) {
|
|
@@ -172,7 +172,6 @@ class AuroCheckbox extends i$2 {
|
|
|
172
172
|
// function to define props used within the scope of this component
|
|
173
173
|
static get properties() {
|
|
174
174
|
return {
|
|
175
|
-
...super.properties,
|
|
176
175
|
|
|
177
176
|
/**
|
|
178
177
|
* If set to true, the checkbox will be filled with a checkmark.
|
|
@@ -347,11 +346,8 @@ class AuroCheckbox extends i$2 {
|
|
|
347
346
|
});
|
|
348
347
|
}
|
|
349
348
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
* @returns {HTMLElement}
|
|
353
|
-
*/
|
|
354
|
-
getLayoutDefault() {
|
|
349
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
350
|
+
render() {
|
|
355
351
|
const labelClasses = {
|
|
356
352
|
'label': true,
|
|
357
353
|
'label--cbx': true,
|
|
@@ -1493,7 +1489,6 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1493
1489
|
|
|
1494
1490
|
static get properties() {
|
|
1495
1491
|
return {
|
|
1496
|
-
...super.properties,
|
|
1497
1492
|
|
|
1498
1493
|
/**
|
|
1499
1494
|
* If set, disables the checkbox group.
|
|
@@ -1726,12 +1721,6 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1726
1721
|
* @returns {void}
|
|
1727
1722
|
*/
|
|
1728
1723
|
updated(changedProperties) {
|
|
1729
|
-
if (changedProperties.has('layout')) {
|
|
1730
|
-
this.checkboxes.forEach((el) => {
|
|
1731
|
-
el.layout = this.layout;
|
|
1732
|
-
});
|
|
1733
|
-
}
|
|
1734
|
-
|
|
1735
1724
|
if (changedProperties.has('disabled')) {
|
|
1736
1725
|
this.checkboxes.forEach((el) => {
|
|
1737
1726
|
if (this.disabled) {
|
|
@@ -124,10 +124,6 @@ export class AuroCheckbox extends LitElement {
|
|
|
124
124
|
reset(): void;
|
|
125
125
|
firstUpdated(): void;
|
|
126
126
|
inputId: string;
|
|
127
|
-
|
|
128
|
-
* @private
|
|
129
|
-
* @returns {HTMLElement}
|
|
130
|
-
*/
|
|
131
|
-
private getLayoutDefault;
|
|
127
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
132
128
|
}
|
|
133
129
|
import { LitElement } from "lit";
|
|
@@ -132,7 +132,6 @@ class AuroCheckbox extends LitElement {
|
|
|
132
132
|
// function to define props used within the scope of this component
|
|
133
133
|
static get properties() {
|
|
134
134
|
return {
|
|
135
|
-
...super.properties,
|
|
136
135
|
|
|
137
136
|
/**
|
|
138
137
|
* If set to true, the checkbox will be filled with a checkmark.
|
|
@@ -307,11 +306,8 @@ class AuroCheckbox extends LitElement {
|
|
|
307
306
|
});
|
|
308
307
|
}
|
|
309
308
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
* @returns {HTMLElement}
|
|
313
|
-
*/
|
|
314
|
-
getLayoutDefault() {
|
|
309
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
310
|
+
render() {
|
|
315
311
|
const labelClasses = {
|
|
316
312
|
'label': true,
|
|
317
313
|
'label--cbx': true,
|
|
@@ -1446,7 +1442,6 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1446
1442
|
|
|
1447
1443
|
static get properties() {
|
|
1448
1444
|
return {
|
|
1449
|
-
...super.properties,
|
|
1450
1445
|
|
|
1451
1446
|
/**
|
|
1452
1447
|
* If set, disables the checkbox group.
|
|
@@ -1679,12 +1674,6 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1679
1674
|
* @returns {void}
|
|
1680
1675
|
*/
|
|
1681
1676
|
updated(changedProperties) {
|
|
1682
|
-
if (changedProperties.has('layout')) {
|
|
1683
|
-
this.checkboxes.forEach((el) => {
|
|
1684
|
-
el.layout = this.layout;
|
|
1685
|
-
});
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
1677
|
if (changedProperties.has('disabled')) {
|
|
1689
1678
|
this.checkboxes.forEach((el) => {
|
|
1690
1679
|
if (this.disabled) {
|
|
@@ -132,7 +132,6 @@ class AuroCheckbox extends LitElement {
|
|
|
132
132
|
// function to define props used within the scope of this component
|
|
133
133
|
static get properties() {
|
|
134
134
|
return {
|
|
135
|
-
...super.properties,
|
|
136
135
|
|
|
137
136
|
/**
|
|
138
137
|
* If set to true, the checkbox will be filled with a checkmark.
|
|
@@ -307,11 +306,8 @@ class AuroCheckbox extends LitElement {
|
|
|
307
306
|
});
|
|
308
307
|
}
|
|
309
308
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
* @returns {HTMLElement}
|
|
313
|
-
*/
|
|
314
|
-
getLayoutDefault() {
|
|
309
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
310
|
+
render() {
|
|
315
311
|
const labelClasses = {
|
|
316
312
|
'label': true,
|
|
317
313
|
'label--cbx': true,
|
|
@@ -1446,7 +1442,6 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1446
1442
|
|
|
1447
1443
|
static get properties() {
|
|
1448
1444
|
return {
|
|
1449
|
-
...super.properties,
|
|
1450
1445
|
|
|
1451
1446
|
/**
|
|
1452
1447
|
* If set, disables the checkbox group.
|
|
@@ -1679,12 +1674,6 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1679
1674
|
* @returns {void}
|
|
1680
1675
|
*/
|
|
1681
1676
|
updated(changedProperties) {
|
|
1682
|
-
if (changedProperties.has('layout')) {
|
|
1683
|
-
this.checkboxes.forEach((el) => {
|
|
1684
|
-
el.layout = this.layout;
|
|
1685
|
-
});
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
1677
|
if (changedProperties.has('disabled')) {
|
|
1689
1678
|
this.checkboxes.forEach((el) => {
|
|
1690
1679
|
if (this.disabled) {
|
|
@@ -15,15 +15,12 @@
|
|
|
15
15
|
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)<br />at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
|
|
16
16
|
| [inputmode](#inputmode) | `inputmode` | `string` | | Exposes inputmode attribute for input. |
|
|
17
17
|
| [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600 |
|
|
18
|
-
| [layout](#layout) | | `string` | | |
|
|
19
|
-
| [matchWidth](#matchWidth) | `matchWidth` | `boolean` | true | If declared, the popover and trigger will be set to the same width. |
|
|
20
18
|
| [noFilter](#noFilter) | `noFilter` | `boolean` | | If set, combobox will not filter menuoptions based in input. |
|
|
21
19
|
| [noFlip](#noFlip) | `noFlip` | `boolean` | "false" | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
|
|
22
20
|
| [noValidate](#noValidate) | `noValidate` | `boolean` | | If set, disables auto-validation on blur. |
|
|
23
21
|
| [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
|
|
24
22
|
| [onDark](#onDark) | `onDark` | `boolean` | | If declared, onDark styles will be applied to the trigger. |
|
|
25
23
|
| [optionSelected](#optionSelected) | `optionSelected` | `HTMLElement` | | Specifies the current selected option. |
|
|
26
|
-
| [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text, only supported by date input formats. |
|
|
27
24
|
| [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger.<br />Accepted values:<br />"top" \| "right" \| "bottom" \| "left" \|<br />"bottom-start" \| "top-start" \| "top-end" \|<br />"right-start" \| "right-end" \| "bottom-end" \|<br />"left-start" \| "left-end" |
|
|
28
25
|
| [required](#required) | `required` | `boolean` | | Populates the `required` attribute on the input. Used for client-side validation. |
|
|
29
26
|
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
@@ -39,7 +36,6 @@
|
|
|
39
36
|
| Method | Type | Description |
|
|
40
37
|
|------------|----------------------------------------|--------------------------------------------------|
|
|
41
38
|
| [focus](#focus) | `(): void` | Focuses the combobox trigger input. |
|
|
42
|
-
| [isValid](#isValid) | `(): boolean` | |
|
|
43
39
|
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
44
40
|
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
45
41
|
|