@aurodesignsystem/auro-formkit 2.0.0-beta.51 → 2.0.0-beta.53
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/CHANGELOG.md +19 -0
- package/README.md +27 -6
- package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +4 -3
- package/components/bibtemplate/dist/registered.js +4 -3
- package/components/checkbox/README.md +56 -93
- package/components/checkbox/demo/index.md +0 -45
- package/components/checkbox/demo/readme.html +49 -0
- package/components/checkbox/demo/readme.md +142 -0
- package/components/combobox/README.md +57 -102
- package/components/combobox/demo/api.md +1 -1
- package/components/combobox/demo/api.min.js +10 -8
- package/components/combobox/demo/index.md +0 -53
- package/components/combobox/demo/index.min.js +10 -8
- package/components/combobox/demo/readme.html +49 -0
- package/components/combobox/demo/readme.md +152 -0
- package/components/combobox/dist/auro-combobox.d.ts +1 -1
- package/components/combobox/dist/index.js +10 -8
- package/components/combobox/dist/registered.js +10 -8
- package/components/counter/README.md +58 -100
- package/components/counter/demo/api.js +3 -0
- package/components/counter/demo/api.md +255 -13
- package/components/counter/demo/api.min.js +27 -12
- package/components/counter/demo/index.html +0 -1
- package/components/counter/demo/index.js +1 -2
- package/components/counter/demo/index.md +71 -221
- package/components/counter/demo/index.min.js +16 -12
- package/components/counter/demo/readme.html +49 -0
- package/components/counter/demo/readme.md +146 -0
- package/components/counter/dist/auro-counter-group.d.ts +7 -7
- package/components/counter/dist/auro-counter.d.ts +1 -1
- package/components/counter/dist/index.js +16 -12
- package/components/counter/dist/registered.js +16 -12
- package/components/datepicker/README.md +59 -97
- package/components/datepicker/demo/api.md +125 -124
- package/components/datepicker/demo/api.min.js +19 -17
- package/components/datepicker/demo/index.md +8 -47
- package/components/datepicker/demo/index.min.js +19 -17
- package/components/datepicker/demo/readme.html +49 -0
- package/components/datepicker/demo/readme.md +140 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +3 -3
- package/components/datepicker/dist/index.js +19 -17
- package/components/datepicker/dist/registered.js +19 -17
- package/components/dropdown/README.md +56 -92
- package/components/dropdown/demo/index.md +1 -60
- package/components/dropdown/demo/readme.html +49 -0
- package/components/dropdown/demo/readme.md +144 -0
- package/components/form/README.md +56 -91
- package/components/form/demo/readme.html +49 -0
- package/components/form/demo/readme.md +145 -0
- package/components/form/demo/working.html +2 -2
- package/components/input/README.md +56 -87
- package/components/input/demo/api.min.js +5 -4
- package/components/input/demo/index.md +0 -31
- package/components/input/demo/index.min.js +5 -4
- package/components/input/demo/readme.html +49 -0
- package/components/input/demo/readme.md +135 -0
- package/components/input/dist/index.js +5 -4
- package/components/input/dist/registered.js +5 -4
- package/components/menu/README.md +56 -93
- package/components/menu/demo/index.md +1 -44
- package/components/menu/demo/readme.html +49 -0
- package/components/menu/demo/readme.md +145 -0
- package/components/radio/README.md +56 -87
- package/components/radio/demo/index.md +0 -45
- package/components/radio/demo/readme.html +49 -0
- package/components/radio/demo/readme.md +137 -0
- package/components/select/README.md +57 -100
- package/components/select/demo/api.md +1 -1
- package/components/select/demo/api.min.js +5 -4
- package/components/select/demo/index.md +0 -53
- package/components/select/demo/index.min.js +5 -4
- package/components/select/demo/readme.html +49 -0
- package/components/select/demo/readme.md +143 -0
- package/components/select/dist/auro-select.d.ts +1 -1
- package/components/select/dist/index.js +5 -4
- package/components/select/dist/registered.js +5 -4
- package/package.json +3 -2
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @element auro-counter-group
|
|
8
8
|
* @extends LitElement
|
|
9
|
-
* @slot
|
|
10
|
-
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options
|
|
11
|
-
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib
|
|
12
|
-
* @slot
|
|
13
|
-
* @slot
|
|
14
|
-
* @slot
|
|
9
|
+
* @slot default - Slot for counter elements.
|
|
10
|
+
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
|
|
11
|
+
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
|
|
12
|
+
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
13
|
+
* @slot valueText - Dropdown value text display. Only used when `isDropdown` is true.
|
|
14
|
+
* @slot helpText - Dropdown help text content. Only used when `isDropdown` is true.
|
|
15
15
|
*/
|
|
16
16
|
export class AuroCounterGroup extends LitElement {
|
|
17
17
|
static get styles(): import("lit").CSSResult[];
|
|
@@ -56,7 +56,7 @@ export class AuroCounterGroup extends LitElement {
|
|
|
56
56
|
type: ObjectConstructor;
|
|
57
57
|
};
|
|
58
58
|
/**
|
|
59
|
-
* If declared, make
|
|
59
|
+
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
60
60
|
* Otherwise, Heading 600
|
|
61
61
|
*/
|
|
62
62
|
largeFullscreenHeadline: {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @element auro-counter
|
|
8
8
|
* @extends LitElement
|
|
9
|
-
* @slot
|
|
9
|
+
* @slot default - Main label content for the counter.
|
|
10
10
|
* @slot description - Descriptive content for the counter.
|
|
11
11
|
*/
|
|
12
12
|
export class AuroCounter extends LitElement {
|
|
@@ -1307,7 +1307,7 @@ var styleCss$6 = i$g`.counter{display:flex;align-items:center;justify-content:sp
|
|
|
1307
1307
|
*
|
|
1308
1308
|
* @element auro-counter
|
|
1309
1309
|
* @extends LitElement
|
|
1310
|
-
* @slot
|
|
1310
|
+
* @slot default - Main label content for the counter.
|
|
1311
1311
|
* @slot description - Descriptive content for the counter.
|
|
1312
1312
|
*/
|
|
1313
1313
|
class AuroCounter extends r$9 {
|
|
@@ -5512,7 +5512,7 @@ class AuroIcon extends BaseIcon {
|
|
|
5512
5512
|
|
|
5513
5513
|
var iconVersion = '6.1.2';
|
|
5514
5514
|
|
|
5515
|
-
var styleCss$3 = i$5`.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)}.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)}`;
|
|
5515
|
+
var styleCss$3 = i$5`.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)}`;
|
|
5516
5516
|
|
|
5517
5517
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
5518
5518
|
// See LICENSE in the project root for license information.
|
|
@@ -5521,6 +5521,7 @@ var styleCss$3 = i$5`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-head
|
|
|
5521
5521
|
/**
|
|
5522
5522
|
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
5523
5523
|
*
|
|
5524
|
+
* @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
|
|
5524
5525
|
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
5525
5526
|
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
5526
5527
|
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
@@ -5653,7 +5654,7 @@ class AuroHeader extends r {
|
|
|
5653
5654
|
}
|
|
5654
5655
|
}
|
|
5655
5656
|
|
|
5656
|
-
var headerVersion = '
|
|
5657
|
+
var headerVersion = '4.0.0';
|
|
5657
5658
|
|
|
5658
5659
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
5659
5660
|
// See LICENSE in the project root for license information.
|
|
@@ -5752,7 +5753,7 @@ class AuroBibtemplate extends r {
|
|
|
5752
5753
|
<button id="closeButton" @click="${this.onCloseButtonClick}">
|
|
5753
5754
|
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
5754
5755
|
</button>
|
|
5755
|
-
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header">
|
|
5756
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
5756
5757
|
<slot name="header"></slot>
|
|
5757
5758
|
</${this.headerTag}>
|
|
5758
5759
|
<span id="subheader">
|
|
@@ -5835,12 +5836,12 @@ if (!customElements.get("auro-counter-wrapper")) {
|
|
|
5835
5836
|
*
|
|
5836
5837
|
* @element auro-counter-group
|
|
5837
5838
|
* @extends LitElement
|
|
5838
|
-
* @slot
|
|
5839
|
-
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options
|
|
5840
|
-
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib
|
|
5841
|
-
* @slot
|
|
5842
|
-
* @slot
|
|
5843
|
-
* @slot
|
|
5839
|
+
* @slot default - Slot for counter elements.
|
|
5840
|
+
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
|
|
5841
|
+
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
|
|
5842
|
+
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
5843
|
+
* @slot valueText - Dropdown value text display. Only used when `isDropdown` is true.
|
|
5844
|
+
* @slot helpText - Dropdown help text content. Only used when `isDropdown` is true.
|
|
5844
5845
|
*/
|
|
5845
5846
|
class AuroCounterGroup extends r$9 {
|
|
5846
5847
|
constructor() {
|
|
@@ -5948,7 +5949,7 @@ class AuroCounterGroup extends r$9 {
|
|
|
5948
5949
|
},
|
|
5949
5950
|
|
|
5950
5951
|
/**
|
|
5951
|
-
* If declared, make
|
|
5952
|
+
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
5952
5953
|
* Otherwise, Heading 600
|
|
5953
5954
|
*/
|
|
5954
5955
|
largeFullscreenHeadline: {
|
|
@@ -6123,7 +6124,10 @@ class AuroCounterGroup extends r$9 {
|
|
|
6123
6124
|
this.bibtemplate.querySelectorAll(`[slot="${targetSlot}"]`).forEach((old) => old.remove());
|
|
6124
6125
|
|
|
6125
6126
|
event.target.assignedNodes().forEach((node) => {
|
|
6126
|
-
const clone = node.cloneNode(
|
|
6127
|
+
const clone = node.cloneNode();
|
|
6128
|
+
[...node.childNodes].forEach((child) => {
|
|
6129
|
+
clone.append(child);
|
|
6130
|
+
});
|
|
6127
6131
|
clone.setAttribute('slot', targetSlot);
|
|
6128
6132
|
this.bibtemplate.append(clone);
|
|
6129
6133
|
});
|
|
@@ -1307,7 +1307,7 @@ var styleCss$6 = i$g`.counter{display:flex;align-items:center;justify-content:sp
|
|
|
1307
1307
|
*
|
|
1308
1308
|
* @element auro-counter
|
|
1309
1309
|
* @extends LitElement
|
|
1310
|
-
* @slot
|
|
1310
|
+
* @slot default - Main label content for the counter.
|
|
1311
1311
|
* @slot description - Descriptive content for the counter.
|
|
1312
1312
|
*/
|
|
1313
1313
|
class AuroCounter extends r$9 {
|
|
@@ -5512,7 +5512,7 @@ class AuroIcon extends BaseIcon {
|
|
|
5512
5512
|
|
|
5513
5513
|
var iconVersion = '6.1.2';
|
|
5514
5514
|
|
|
5515
|
-
var styleCss$3 = i$5`.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)}.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)}`;
|
|
5515
|
+
var styleCss$3 = i$5`.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)}`;
|
|
5516
5516
|
|
|
5517
5517
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
5518
5518
|
// See LICENSE in the project root for license information.
|
|
@@ -5521,6 +5521,7 @@ var styleCss$3 = i$5`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-head
|
|
|
5521
5521
|
/**
|
|
5522
5522
|
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
5523
5523
|
*
|
|
5524
|
+
* @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
|
|
5524
5525
|
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
5525
5526
|
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
5526
5527
|
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
@@ -5653,7 +5654,7 @@ class AuroHeader extends r {
|
|
|
5653
5654
|
}
|
|
5654
5655
|
}
|
|
5655
5656
|
|
|
5656
|
-
var headerVersion = '
|
|
5657
|
+
var headerVersion = '4.0.0';
|
|
5657
5658
|
|
|
5658
5659
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
5659
5660
|
// See LICENSE in the project root for license information.
|
|
@@ -5752,7 +5753,7 @@ class AuroBibtemplate extends r {
|
|
|
5752
5753
|
<button id="closeButton" @click="${this.onCloseButtonClick}">
|
|
5753
5754
|
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
5754
5755
|
</button>
|
|
5755
|
-
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header">
|
|
5756
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
5756
5757
|
<slot name="header"></slot>
|
|
5757
5758
|
</${this.headerTag}>
|
|
5758
5759
|
<span id="subheader">
|
|
@@ -5835,12 +5836,12 @@ if (!customElements.get("auro-counter-wrapper")) {
|
|
|
5835
5836
|
*
|
|
5836
5837
|
* @element auro-counter-group
|
|
5837
5838
|
* @extends LitElement
|
|
5838
|
-
* @slot
|
|
5839
|
-
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options
|
|
5840
|
-
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib
|
|
5841
|
-
* @slot
|
|
5842
|
-
* @slot
|
|
5843
|
-
* @slot
|
|
5839
|
+
* @slot default - Slot for counter elements.
|
|
5840
|
+
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
|
|
5841
|
+
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
|
|
5842
|
+
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
5843
|
+
* @slot valueText - Dropdown value text display. Only used when `isDropdown` is true.
|
|
5844
|
+
* @slot helpText - Dropdown help text content. Only used when `isDropdown` is true.
|
|
5844
5845
|
*/
|
|
5845
5846
|
class AuroCounterGroup extends r$9 {
|
|
5846
5847
|
constructor() {
|
|
@@ -5948,7 +5949,7 @@ class AuroCounterGroup extends r$9 {
|
|
|
5948
5949
|
},
|
|
5949
5950
|
|
|
5950
5951
|
/**
|
|
5951
|
-
* If declared, make
|
|
5952
|
+
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
5952
5953
|
* Otherwise, Heading 600
|
|
5953
5954
|
*/
|
|
5954
5955
|
largeFullscreenHeadline: {
|
|
@@ -6123,7 +6124,10 @@ class AuroCounterGroup extends r$9 {
|
|
|
6123
6124
|
this.bibtemplate.querySelectorAll(`[slot="${targetSlot}"]`).forEach((old) => old.remove());
|
|
6124
6125
|
|
|
6125
6126
|
event.target.assignedNodes().forEach((node) => {
|
|
6126
|
-
const clone = node.cloneNode(
|
|
6127
|
+
const clone = node.cloneNode();
|
|
6128
|
+
[...node.childNodes].forEach((child) => {
|
|
6129
|
+
clone.append(child);
|
|
6130
|
+
});
|
|
6127
6131
|
clone.setAttribute('slot', targetSlot);
|
|
6128
6132
|
this.bibtemplate.append(clone);
|
|
6129
6133
|
});
|
|
@@ -18,7 +18,6 @@ The following sections are editable by making changes to the following files:
|
|
|
18
18
|
-->
|
|
19
19
|
|
|
20
20
|
# Datepicker
|
|
21
|
-
|
|
22
21
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
|
|
23
22
|
<!-- The below content is automatically added from ./docs/partials/description.md -->
|
|
24
23
|
The `<auro-datepicker>` element allows users to select a date, or a pair of dates identifying a range, either with text input or by making a section in a calendar. The `<auro-datepicker>` element is the combination of [auro-dropdown](http://auro.alaskaair.com/components/auro/dropdown), [auro-input](http://auro.alaskaair.com/components/auro/input), and Auro's extension of [wc-range-datepicker](https://www.npmjs.com/package/wc-range-datepicker).
|
|
@@ -28,42 +27,55 @@ The `<auro-datepicker>` element allows users to select a date, or a pair of date
|
|
|
28
27
|
<!-- AURO-GENERATED-CONTENT This file is to be used for any additional content that should be included in the README.md which is specific to this component. -->
|
|
29
28
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
30
29
|
|
|
31
|
-
##
|
|
32
|
-
|
|
33
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/browserSupport.md) -->
|
|
34
|
-
For the most up to date information on [UI development browser support](https://auro.alaskaair.com/support/browsersSupport)
|
|
35
|
-
|
|
36
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
37
|
-
|
|
38
|
-
## Install
|
|
39
|
-
|
|
30
|
+
## Getting Started
|
|
40
31
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentInstall.md) -->
|
|
41
32
|
<!-- The below content is automatically added from ../../docs/templates/componentInstall.md -->
|
|
42
33
|
|
|
34
|
+
#### NPM Installation
|
|
35
|
+
|
|
43
36
|
```shell
|
|
44
37
|
$ npm i @aurodesignsystem/auro-formkit
|
|
45
38
|
```
|
|
46
39
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
40
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
|
|
41
|
+
<!-- The below content is automatically added from ../../docs/templates/gettingStarted.md -->
|
|
47
42
|
|
|
48
|
-
###
|
|
43
|
+
### Import Options
|
|
44
|
+
|
|
45
|
+
#### Automatic Registration
|
|
49
46
|
|
|
50
|
-
|
|
51
|
-
The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
|
|
47
|
+
For automatic registration, simply import the component:
|
|
52
48
|
|
|
53
|
-
|
|
49
|
+
```javascript
|
|
50
|
+
// Registers <auro-datepicker> automatically
|
|
51
|
+
import '@aurodesignsystem/auro-formkit/auro-datepicker';
|
|
52
|
+
```
|
|
54
53
|
|
|
55
|
-
|
|
54
|
+
#### Custom Registration
|
|
56
55
|
|
|
57
|
-
|
|
58
|
-
Defining the component dependency within each component that is using the `<auro-datepicker>` component.
|
|
56
|
+
To protect from versioning conflicts with other instances of the component being loaded, it is recommended to use our static `AuroDatepicker.register('custom-datepicker')` method on the component class and pass in a unique name.
|
|
59
57
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
```javascript
|
|
59
|
+
// Import the class only
|
|
60
|
+
import { AuroDatepicker } from '@aurodesignsystem/auro-formkit/auro-datepicker/class';
|
|
61
|
+
|
|
62
|
+
// Register with a custom name if desired
|
|
63
|
+
AuroDatepicker.register('custom-datepicker');
|
|
64
|
+
```
|
|
63
65
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
+
#### TypeScript Module Resolution
|
|
67
|
+
|
|
68
|
+
When using TypeScript set `moduleResolution` to `bundler`, add the following to your `tsconfig.json`:
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"compilerOptions": {
|
|
73
|
+
"moduleResolution": "bundler"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
66
76
|
```
|
|
77
|
+
|
|
78
|
+
This configuration enables proper module resolution for the component's TypeScript files.
|
|
67
79
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
68
80
|
**Reference component in HTML**
|
|
69
81
|
|
|
@@ -72,36 +84,37 @@ import "@aurodesignsystem/auro-formkit/auro-datepicker";
|
|
|
72
84
|
|
|
73
85
|
```html
|
|
74
86
|
<auro-datepicker>
|
|
75
|
-
<span slot="
|
|
87
|
+
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
76
88
|
<span slot="fromLabel">Choose a date</span>
|
|
77
|
-
<span slot="
|
|
89
|
+
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
78
90
|
</auro-datepicker>
|
|
79
91
|
```
|
|
80
92
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
81
93
|
|
|
82
|
-
|
|
94
|
+
### Design Token CSS Custom Property dependency
|
|
83
95
|
|
|
84
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/
|
|
85
|
-
|
|
96
|
+
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/designTokens.md) -->
|
|
97
|
+
The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
|
|
86
98
|
|
|
87
|
-
|
|
99
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
100
|
+
|
|
101
|
+
## Install from CDN
|
|
102
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/bundleInstallDescription.md) -->
|
|
103
|
+
<!-- The below content is automatically added from ../../docs/templates/bundleInstallDescription.md -->
|
|
104
|
+
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
88
105
|
|
|
106
|
+
```html
|
|
107
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.0-beta.52/auro-datepicker/+esm"></script>
|
|
108
|
+
```
|
|
89
109
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
90
110
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.13.0/dist/tokens/CSSCustomProperties.css" />
|
|
96
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@6.0.0/dist/bundled/essentials.css" />
|
|
97
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.50/dist/auro-dropdown__bundled.js" type="module"></script>
|
|
98
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.50/dist/auro-input__bundled.js" type="module"></script>
|
|
99
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-popover@2.0.0-beta.50/dist/auro-popover__bundled.js" type="module"></script>
|
|
100
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-datepicker@2.0.0-beta.50/dist/auro-datepicker__bundled.js" type="module"></script>
|
|
111
|
+
## UI development browser support
|
|
112
|
+
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/browserSupport.md) -->
|
|
113
|
+
For the most up to date information on [UI development browser support](https://auro.alaskaair.com/support/browsersSupport)
|
|
114
|
+
|
|
101
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
102
116
|
|
|
103
117
|
## auro-datepicker use cases
|
|
104
|
-
|
|
105
118
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
|
|
106
119
|
<!-- The below content is automatically added from ./docs/partials/useCases.md -->
|
|
107
120
|
The `<auro-datepicker>` element should be used in situations where users may:
|
|
@@ -110,69 +123,18 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
110
123
|
* select a pair of dates which identify a calendar range
|
|
111
124
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
112
125
|
|
|
113
|
-
##
|
|
114
|
-
|
|
115
|
-
### Default auro-datepicker
|
|
126
|
+
## Formkit development
|
|
116
127
|
|
|
117
|
-
<!-- AURO-GENERATED-CONTENT:START (
|
|
118
|
-
<!-- The below
|
|
128
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/partials/developmentDescription.md) -->
|
|
129
|
+
<!-- The below content is automatically added from ../../docs/partials/developmentDescription.md -->
|
|
119
130
|
|
|
120
|
-
|
|
121
|
-
<auro-datepicker>
|
|
122
|
-
<span slot="mobileHeadline">Datepicker Headline</span>
|
|
123
|
-
<span slot="fromLabel">Choose a date</span>
|
|
124
|
-
<span slot="mobileDateLabel">Choose a date</span>
|
|
125
|
-
</auro-datepicker>
|
|
126
|
-
```
|
|
127
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
128
|
-
|
|
129
|
-
## Development
|
|
130
|
-
|
|
131
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/developmentDescription.md) -->
|
|
132
|
-
In order to develop against this project, if you are not part of the core team, you will be required to fork the project prior to submitting a pull request.
|
|
131
|
+
### Filtering
|
|
133
132
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
137
|
-
|
|
138
|
-
### Start development environment
|
|
133
|
+
Running the `dev` command will open a `localhost` development server for all components in the monorepo at once.
|
|
139
134
|
|
|
140
|
-
|
|
141
|
-
Once the project has been cloned to your local resource and you have installed all the dependencies you will need to open a shell session to run the **dev server**.
|
|
135
|
+
To only develop a single component, use the `--filter` flag:
|
|
142
136
|
|
|
143
137
|
```shell
|
|
144
|
-
|
|
138
|
+
npx turbo dev --filter=@aurodesignsystem/auro-input
|
|
145
139
|
```
|
|
146
|
-
|
|
147
|
-
Open [localhost:8000](http://localhost:8000/)
|
|
148
|
-
|
|
149
|
-
If running separate sessions is preferred, please run the following commands in individual terminal shells.
|
|
150
|
-
|
|
151
|
-
```shell
|
|
152
|
-
$ npm run build:watch
|
|
153
|
-
|
|
154
|
-
$ npm run serve
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
158
|
-
|
|
159
|
-
### API generation
|
|
160
|
-
|
|
161
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/api.md) -->
|
|
162
|
-
The custom element API file is generated in the build and committed back to the repo with a version change. If the API doc has changed without a version change, author's are to run `npm run build:api` to generate the doc and commit to version control.
|
|
163
|
-
|
|
164
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
165
|
-
|
|
166
|
-
### Testing
|
|
167
|
-
|
|
168
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/testing.md) -->
|
|
169
|
-
Automated tests are required for every Auro component. See `.\test\auro-datepicker.test.js` for the tests for this component. Run `npm test` to run the tests and check code coverage. Tests must pass and meet a certain coverage threshold to commit. See [the testing documentation](https://auro.alaskaair.com/support/tests) for more details.
|
|
170
|
-
|
|
171
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
172
|
-
|
|
173
|
-
### Bundled assets
|
|
174
|
-
|
|
175
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/bundles.md) -->
|
|
176
|
-
Bundled assets are only generated in the remote and not merged back to this repo. To review and/or test a bundled asset locally, run `$ npm run bundler` to generate assets.
|
|
177
|
-
|
|
178
140
|
<!-- AURO-GENERATED-CONTENT:END -->
|