@aurodesignsystem-dev/auro-accordion 0.0.0-pr190.0 → 0.0.0-pr200.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/NOTICE +2 -0
- package/README.md +25 -59
- package/demo/api.html +1 -1
- package/demo/api.js +2 -1
- package/demo/api.md +13 -7
- package/demo/api.min.js +16 -2028
- package/demo/auro-accordion.min.js +727 -0
- package/demo/index.js +12 -14
- package/demo/index.min.js +13 -2024
- package/dist/auro-accordion-B6aPKaGa.js +113 -0
- package/dist/index.d.ts +121 -0
- package/dist/index.js +1 -0
- package/dist/registered.js +1 -0
- package/package.json +44 -134
- package/.husky/commit-msg +0 -1
- package/.husky/pre-commit +0 -1
- package/.vscode/settings.json +0 -8
- package/apiExamples/accordionGroup.html +0 -47
- package/apiExamples/accordionGroupLg.html +0 -47
- package/apiExamples/accordionGroupSm.html +0 -47
- package/apiExamples/alignChevronRight.html +0 -15
- package/apiExamples/alignRight.html +0 -15
- package/apiExamples/basic.html +0 -15
- package/apiExamples/chevronNone.html +0 -15
- package/apiExamples/chevronRight.html +0 -15
- package/apiExamples/custom.html +0 -15
- package/apiExamples/customGroup.html +0 -47
- package/apiExamples/disabled.html +0 -15
- package/apiExamples/disabledGroup.html +0 -47
- package/apiExamples/emphasis.html +0 -47
- package/apiExamples/expanded.html +0 -17
- package/apiExamples/expanded.js +0 -11
- package/apiExamples/noToggleExpanded.html +0 -47
- package/coverage/lcov-report/auro-accordion-group.js.html +0 -472
- package/coverage/lcov-report/auro-accordion.js.html +0 -664
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/color-css.js.html +0 -91
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/iconVersion.js.html +0 -85
- package/coverage/lcov-report/index.html +0 -131
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/coverage/lcov-report/src/auro-accordion-button.js.html +0 -283
- package/coverage/lcov-report/src/auro-accordion-group.js.html +0 -538
- package/coverage/lcov-report/src/auro-accordion.js.html +0 -895
- package/coverage/lcov-report/src/iconVersion.js.html +0 -85
- package/coverage/lcov-report/src/index.html +0 -161
- package/coverage/lcov-report/src/styles/color-css.js.html +0 -91
- package/coverage/lcov-report/src/styles/index.html +0 -161
- package/coverage/lcov-report/src/styles/style-button-css.js.html +0 -91
- package/coverage/lcov-report/src/styles/style-css.js.html +0 -91
- package/coverage/lcov-report/src/styles/tokens-css.js.html +0 -91
- package/coverage/lcov-report/style-css.js.html +0 -91
- package/coverage/lcov-report/tokens-css.js.html +0 -91
- package/coverage/lcov.info +0 -682
- package/dist/auro-accordion-button.d.ts +0 -17
- package/dist/auro-accordion-button.d.ts.map +0 -1
- package/dist/auro-accordion-group.d.ts +0 -61
- package/dist/auro-accordion-group.d.ts.map +0 -1
- package/dist/auro-accordion.d.ts +0 -106
- package/dist/auro-accordion.d.ts.map +0 -1
- package/dist/auro-accordion__bundled.js +0 -2023
- package/dist/color-css.d.ts +0 -3
- package/dist/color-css.d.ts.map +0 -1
- package/dist/iconVersion.d.ts +0 -3
- package/dist/iconVersion.d.ts.map +0 -1
- package/dist/src/auro-accordion-button.d.ts +0 -19
- package/dist/src/auro-accordion-button.d.ts.map +0 -1
- package/dist/src/auro-accordion-group.d.ts +0 -61
- package/dist/src/auro-accordion-group.d.ts.map +0 -1
- package/dist/src/auro-accordion.d.ts +0 -106
- package/dist/src/auro-accordion.d.ts.map +0 -1
- package/dist/src/color-css.d.ts +0 -3
- package/dist/src/color-css.d.ts.map +0 -1
- package/dist/src/iconVersion.d.ts +0 -3
- package/dist/src/iconVersion.d.ts.map +0 -1
- package/dist/src/style-button-css.d.ts +0 -3
- package/dist/src/style-button-css.d.ts.map +0 -1
- package/dist/src/style-css.d.ts +0 -3
- package/dist/src/style-css.d.ts.map +0 -1
- package/dist/src/styles/color-css.d.ts +0 -3
- package/dist/src/styles/color-css.d.ts.map +0 -1
- package/dist/src/styles/style-button-css.d.ts +0 -3
- package/dist/src/styles/style-button-css.d.ts.map +0 -1
- package/dist/src/styles/style-css.d.ts +0 -3
- package/dist/src/styles/style-css.d.ts.map +0 -1
- package/dist/src/styles/tokens-css.d.ts +0 -3
- package/dist/src/styles/tokens-css.d.ts.map +0 -1
- package/dist/src/tokens-css.d.ts +0 -3
- package/dist/src/tokens-css.d.ts.map +0 -1
- package/dist/style-button-css.d.ts +0 -3
- package/dist/style-button-css.d.ts.map +0 -1
- package/dist/style-css.d.ts +0 -3
- package/dist/style-css.d.ts.map +0 -1
- package/dist/test/auro-accordion-group.test.d.ts +0 -2
- package/dist/test/auro-accordion-group.test.d.ts.map +0 -1
- package/dist/test/auro-accordion.test.d.ts +0 -2
- package/dist/test/auro-accordion.test.d.ts.map +0 -1
- package/dist/tokens-css.d.ts +0 -3
- package/dist/tokens-css.d.ts.map +0 -1
- package/index.js +0 -3
- package/packageScripts/postinstall.mjs +0 -28
- package/scripts/version.mjs +0 -3
- package/scripts/wca/auro-accordion.js +0 -12
- package/src/auro-accordion-button.js +0 -66
- package/src/auro-accordion-group.js +0 -151
- package/src/auro-accordion.js +0 -270
- package/src/color-css.js +0 -2
- package/src/color.css +0 -39
- package/src/iconVersion.js +0 -1
- package/src/style-button-css.js +0 -2
- package/src/style-button.css +0 -53
- package/src/style-css.js +0 -2
- package/src/style.css +0 -147
- package/src/styles/color-css.js +0 -2
- package/src/styles/color.css +0 -43
- package/src/styles/color.scss +0 -75
- package/src/styles/style-button-css.js +0 -2
- package/src/styles/style-button.css +0 -63
- package/src/styles/style-button.scss +0 -86
- package/src/styles/style-css.js +0 -2
- package/src/styles/style.css +0 -347
- package/src/styles/style.scss +0 -200
- package/src/styles/tokens-css.js +0 -2
- package/src/styles/tokens.css +0 -7
- package/src/styles/tokens.scss +0 -9
- package/src/tokens-css.js +0 -2
- package/src/tokens.css +0 -7
- package/test/auro-accordion-group.test.js +0 -230
- package/test/auro-accordion.test.js +0 -104
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
:focus:not(:focus-visible) {
|
|
2
|
-
outline: 3px solid transparent;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
/* stylelint-disable order/properties-order, declaration-empty-line-before, selector-class-pattern */
|
|
6
|
-
:host {
|
|
7
|
-
border: unset;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
overflow: visible;
|
|
10
|
-
}
|
|
11
|
-
:host .auro-button {
|
|
12
|
-
all: unset;
|
|
13
|
-
width: 100%;
|
|
14
|
-
padding: var(--ds-size-200, 1rem) var(--trigger-padding-right, 0) var(--ds-size-200, 1rem) var(--trigger-padding-left, 0);
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
}
|
|
17
|
-
:host .auro-button:focus, :host .auro-button:focus-visible, :host .auro-button:focus-within {
|
|
18
|
-
outline: 0;
|
|
19
|
-
}
|
|
20
|
-
:host .auro-button:after {
|
|
21
|
-
border-color: transparent;
|
|
22
|
-
}
|
|
23
|
-
:host .contentWrapper {
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: row-reverse;
|
|
26
|
-
/* stylelint-disable declaration-no-important */
|
|
27
|
-
margin-left: 0 !important;
|
|
28
|
-
margin-right: 0 !important;
|
|
29
|
-
}
|
|
30
|
-
:host .textSlot {
|
|
31
|
-
display: flex;
|
|
32
|
-
flex: 1;
|
|
33
|
-
gap: 0;
|
|
34
|
-
align-items: center;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
:host([disabled]) {
|
|
38
|
-
cursor: not-allowed;
|
|
39
|
-
text-decoration: none !important;
|
|
40
|
-
}
|
|
41
|
-
:host([disabled]) .auro-button {
|
|
42
|
-
pointer-events: none;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
:host(.sm) .auro-button {
|
|
46
|
-
padding-top: var(--ds-size-150, 0.75rem);
|
|
47
|
-
padding-bottom: var(--ds-size-150, 0.75rem);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
:host(.lg) .auro-button {
|
|
51
|
-
padding-top: var(--ds-size-250, 1.25rem);
|
|
52
|
-
padding-bottom: var(--ds-size-250, 1.25rem);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
:host([fluid]) .textSlot {
|
|
56
|
-
width: 100%;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
:host(.iconRight) .textSlot {
|
|
60
|
-
display: flex;
|
|
61
|
-
flex-direction: row;
|
|
62
|
-
justify-content: space-between;
|
|
63
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
// Copyright (c) 2023 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2
|
-
// See LICENSE in the project root for license information.
|
|
3
|
-
|
|
4
|
-
// ---------------------------------------------------------------------
|
|
5
|
-
|
|
6
|
-
// Import Auro tokens
|
|
7
|
-
@use "@aurodesignsystem/design-tokens/dist/legacy/auro-classic/SCSSVariables" as vac;
|
|
8
|
-
@use "@aurodesignsystem/webcorestylesheets/src/core";
|
|
9
|
-
|
|
10
|
-
/* stylelint-disable order/properties-order, declaration-empty-line-before, selector-class-pattern */
|
|
11
|
-
|
|
12
|
-
:host {
|
|
13
|
-
border: unset;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
overflow: visible; // override WCSS Global styles for :host to allow ::before element to be visible
|
|
16
|
-
|
|
17
|
-
.auro-button {
|
|
18
|
-
all: unset;
|
|
19
|
-
width: 100%;
|
|
20
|
-
padding: var(--ds-size-200, vac.$ds-size-200) var(--trigger-padding-right, 0)
|
|
21
|
-
var(--ds-size-200, vac.$ds-size-200) var(--trigger-padding-left, 0);
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
|
|
24
|
-
&:focus,
|
|
25
|
-
&:focus-visible,
|
|
26
|
-
&:focus-within {
|
|
27
|
-
outline: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&:after {
|
|
31
|
-
border-color: transparent; // not supported by tokens - this should never have a color regardless of the theme
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.contentWrapper {
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-direction: row-reverse;
|
|
38
|
-
/* stylelint-disable declaration-no-important */
|
|
39
|
-
margin-left: 0 !important; // override auro-button default
|
|
40
|
-
margin-right: 0 !important; // override auro-button default
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.textSlot {
|
|
44
|
-
display: flex;
|
|
45
|
-
flex: 1;
|
|
46
|
-
gap: 0; // override button default
|
|
47
|
-
align-items: center;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
:host([disabled]) {
|
|
52
|
-
cursor: not-allowed;
|
|
53
|
-
text-decoration: none !important; // override button default
|
|
54
|
-
|
|
55
|
-
.auro-button {
|
|
56
|
-
pointer-events: none;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
:host(.sm) {
|
|
61
|
-
.auro-button {
|
|
62
|
-
padding-top: var(--ds-size-150, vac.$ds-size-150);
|
|
63
|
-
padding-bottom: var(--ds-size-150, vac.$ds-size-150);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
:host(.lg) {
|
|
68
|
-
.auro-button {
|
|
69
|
-
padding-top: var(--ds-size-250, vac.$ds-size-250);
|
|
70
|
-
padding-bottom: var(--ds-size-250, vac.$ds-size-250);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
:host([fluid]) {
|
|
75
|
-
.textSlot {
|
|
76
|
-
width: 100%;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
:host(.iconRight) {
|
|
81
|
-
.textSlot {
|
|
82
|
-
display: flex;
|
|
83
|
-
flex-direction: row;
|
|
84
|
-
justify-content: space-between;
|
|
85
|
-
}
|
|
86
|
-
}
|
package/src/styles/style-css.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
export default css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:host{interpolate-size:allow-keywords;--webkit-fill: -webkit-fill-available}:host .trigger{position:relative;display:inline-block;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem)}:host .trigger:hover{text-decoration:underline}:host ::slotted([slot=trigger]){padding-left:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem)}:host .iconWrapper{height:var(--ds-size-300, 1.5rem);margin-top:-2px}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host [auro-icon][hidden]{display:none}:host .content{width:100%;transition:all .5s ease-in-out;transition-property:height}:host .componentWrapper{height:100%;overflow:hidden}:host .contentWrapper{padding-left:var(--ds-size-400, 2rem);padding-bottom:var(--ds-size-300, 1.5rem)}:host(:focus) .trigger{border-width:1px;border-style:solid}:host([chevron=right]) ::slotted([slot=trigger]){padding-left:0;padding-right:var(--ds-size-100, 0.5rem)}:host([chevron=right]) .contentWrapper{padding-left:var(--ds-size-400, 2rem)}:host([chevron=right]:not([emphasis])) ::slotted([slot=trigger]){padding-left:var(--ds-size-250, 1.25rem)}:host([chevron=right]:not([emphasis])) .contentWrapper{padding-left:var(--ds-size-250, 1.25rem)}:host([alignRight]) .componentWrapper{display:flex;flex-direction:column;align-items:flex-end}:host([fluid]) .trigger{width:100%}:host([grouped]) .componentWrapper{border-bottom-width:1px;border-bottom-style:solid}:host([grouped][chevron=right]:not([alignright])) .trigger{width:var(--webkit-fill, 100%);--trigger-padding-right: var(--ds-size-200, 1rem)}:host(:not([expanded])) .content,:host([expanded=false]) .content{height:0 !important}:host([expanded]) .content{height:auto}:host([emphasis]) .trigger{border-style:solid;border-width:1px;border-left-width:2px;--trigger-padding-left: var(--ds-size-200, 1rem)}:host([emphasis]) .trigger:before{display:block;position:absolute;top:-1px;left:-2px;width:1px;height:calc(100% + 2px);content:"";border-left-style:solid;border-left-width:2px}:host([emphasis]) .trigger:focus{border-left-width:1px;margin-left:1px}:host([emphasis]) .content{border-left-width:2px;border-left-style:solid;padding:unset}:host([emphasis]) .contentWrapper{padding-left:var(--ds-size-200, 1rem)}:host([emphasis]) .iconWrapper{padding-right:var(--ds-size-200, 1rem)}:host([emphasis][variant=lg]) .trigger,:host([emphasis][variant=lg]) .contentWrapper{padding-left:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem))}:host([emphasis]:not([expanded]):hover) .trigger{text-decoration:unset}:host([chevron=none]) ::slotted([slot=trigger]),:host([chevron=none]) .contentWrapper{padding-left:unset}`;
|
package/src/styles/style.css
DELETED
|
@@ -1,347 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable order/properties-order, selector-max-combinators, selector-max-compound-selectors, declaration-empty-line-before, declaration-no-important, no-descending-specificity */
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) Alaska Air. All rights reserved. Licensed under the Apache-2.0 license
|
|
4
|
-
* See LICENSE in the project root for license information.
|
|
5
|
-
*/
|
|
6
|
-
.body-default {
|
|
7
|
-
font-size: var(--wcss-body-default-font-size, 1rem);
|
|
8
|
-
line-height: var(--wcss-body-default-line-height, 1.5rem);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.body-default, .body-lg {
|
|
12
|
-
font-family: var(--wcss-body-family, "AS Circular"), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
13
|
-
font-weight: var(--wcss-body-weight, 450);
|
|
14
|
-
letter-spacing: var(--wcss-body-letter-spacing, 0);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.body-lg {
|
|
18
|
-
font-size: var(--wcss-body-lg-font-size, 1.125rem);
|
|
19
|
-
line-height: var(--wcss-body-lg-line-height, 1.625rem);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.body-sm {
|
|
23
|
-
font-size: var(--wcss-body-sm-font-size, 0.875rem);
|
|
24
|
-
line-height: var(--wcss-body-sm-line-height, 1.25rem);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.body-sm, .body-xs {
|
|
28
|
-
font-family: var(--wcss-body-family, "AS Circular"), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
29
|
-
font-weight: var(--wcss-body-weight, 450);
|
|
30
|
-
letter-spacing: var(--wcss-body-letter-spacing, 0);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.body-xs {
|
|
34
|
-
font-size: var(--wcss-body-xs-font-size, 0.75rem);
|
|
35
|
-
line-height: var(--wcss-body-xs-line-height, 1rem);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.body-2xs {
|
|
39
|
-
font-family: var(--wcss-body-family, "AS Circular"), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
40
|
-
font-size: var(--wcss-body-2xs-font-size, 0.625rem);
|
|
41
|
-
font-weight: var(--wcss-body-weight, 450);
|
|
42
|
-
letter-spacing: var(--wcss-body-letter-spacing, 0);
|
|
43
|
-
line-height: var(--wcss-body-2xs-line-height, 0.875rem);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.display-2xl {
|
|
47
|
-
font-family: var(--wcss-display-2xl-family, "AS Circular"), var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
48
|
-
font-size: var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));
|
|
49
|
-
font-weight: var(--wcss-display-2xl-weight, 300);
|
|
50
|
-
letter-spacing: var(--wcss-display-2xl-letter-spacing, 0);
|
|
51
|
-
line-height: var(--wcss-display-2xl-line-height, 1.3);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.display-xl {
|
|
55
|
-
font-family: var(--wcss-display-xl-family, "AS Circular"), var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
56
|
-
font-size: var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));
|
|
57
|
-
font-weight: var(--wcss-display-xl-weight, 300);
|
|
58
|
-
letter-spacing: var(--wcss-display-xl-letter-spacing, 0);
|
|
59
|
-
line-height: var(--wcss-display-xl-line-height, 1.3);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.display-lg {
|
|
63
|
-
font-family: var(--wcss-display-lg-family, "AS Circular"), var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
64
|
-
font-size: var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));
|
|
65
|
-
font-weight: var(--wcss-display-lg-weight, 300);
|
|
66
|
-
letter-spacing: var(--wcss-display-lg-letter-spacing, 0);
|
|
67
|
-
line-height: var(--wcss-display-lg-line-height, 1.3);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.display-md {
|
|
71
|
-
font-family: var(--wcss-display-md-family, "AS Circular"), var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
72
|
-
font-size: var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));
|
|
73
|
-
font-weight: var(--wcss-display-md-weight, 300);
|
|
74
|
-
letter-spacing: var(--wcss-display-md-letter-spacing, 0);
|
|
75
|
-
line-height: var(--wcss-display-md-line-height, 1.3);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.display-sm {
|
|
79
|
-
font-family: var(--wcss-display-sm-family, "AS Circular"), var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
80
|
-
font-size: var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));
|
|
81
|
-
font-weight: var(--wcss-display-sm-weight, 300);
|
|
82
|
-
letter-spacing: var(--wcss-display-sm-letter-spacing, 0);
|
|
83
|
-
line-height: var(--wcss-display-sm-line-height, 1.3);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.display-xs {
|
|
87
|
-
font-family: var(--wcss-display-xs-family, "AS Circular"), var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
88
|
-
font-size: var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));
|
|
89
|
-
font-weight: var(--wcss-display-xs-weight, 300);
|
|
90
|
-
letter-spacing: var(--wcss-display-xs-letter-spacing, 0);
|
|
91
|
-
line-height: var(--wcss-display-xs-line-height, 1.3);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.heading-xl {
|
|
95
|
-
font-family: var(--wcss-heading-xl-family, "AS Circular"), var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
96
|
-
font-size: var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));
|
|
97
|
-
font-weight: var(--wcss-heading-xl-weight, 300);
|
|
98
|
-
letter-spacing: var(--wcss-heading-xl-letter-spacing, 0);
|
|
99
|
-
line-height: var(--wcss-heading-xl-line-height, 1.3);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.heading-lg {
|
|
103
|
-
font-family: var(--wcss-heading-lg-family, "AS Circular"), var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
104
|
-
font-size: var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));
|
|
105
|
-
font-weight: var(--wcss-heading-lg-weight, 300);
|
|
106
|
-
letter-spacing: var(--wcss-heading-lg-letter-spacing, 0);
|
|
107
|
-
line-height: var(--wcss-heading-lg-line-height, 1.3);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.heading-md {
|
|
111
|
-
font-family: var(--wcss-heading-md-family, "AS Circular"), var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
112
|
-
font-size: var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));
|
|
113
|
-
font-weight: var(--wcss-heading-md-weight, 300);
|
|
114
|
-
letter-spacing: var(--wcss-heading-md-letter-spacing, 0);
|
|
115
|
-
line-height: var(--wcss-heading-md-line-height, 1.3);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.heading-sm {
|
|
119
|
-
font-family: var(--wcss-heading-sm-family, "AS Circular"), var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
120
|
-
font-size: var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));
|
|
121
|
-
font-weight: var(--wcss-heading-sm-weight, 300);
|
|
122
|
-
letter-spacing: var(--wcss-heading-sm-letter-spacing, 0);
|
|
123
|
-
line-height: var(--wcss-heading-sm-line-height, 1.3);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.heading-xs {
|
|
127
|
-
font-family: var(--wcss-heading-xs-family, "AS Circular"), var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
128
|
-
font-size: var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));
|
|
129
|
-
font-weight: var(--wcss-heading-xs-weight, 450);
|
|
130
|
-
letter-spacing: var(--wcss-heading-xs-letter-spacing, 0);
|
|
131
|
-
line-height: var(--wcss-heading-xs-line-height, 1.3);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.heading-2xs {
|
|
135
|
-
font-family: var(--wcss-heading-2xs-family, "AS Circular"), var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
136
|
-
font-size: var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));
|
|
137
|
-
font-weight: var(--wcss-heading-2xs-weight, 450);
|
|
138
|
-
letter-spacing: var(--wcss-heading-2xs-letter-spacing, 0);
|
|
139
|
-
line-height: var(--wcss-heading-2xs-line-height, 1.3);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.accent-2xl {
|
|
143
|
-
font-family: var(--wcss-accent-2xl-family, "Good OT"), var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
144
|
-
font-size: var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));
|
|
145
|
-
font-weight: var(--wcss-accent-2xl-weight, 450);
|
|
146
|
-
letter-spacing: var(--wcss-accent-2xl-letter-spacing, 0.05em);
|
|
147
|
-
line-height: var(--wcss-accent-2xl-line-height, 1);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.accent-2xl, .accent-xl {
|
|
151
|
-
text-transform: uppercase;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.accent-xl {
|
|
155
|
-
font-family: var(--wcss-accent-xl-family, "Good OT"), var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
156
|
-
font-size: var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));
|
|
157
|
-
font-weight: var(--wcss-accent-xl-weight, 450);
|
|
158
|
-
letter-spacing: var(--wcss-accent-xl-letter-spacing, 0.05em);
|
|
159
|
-
line-height: var(--wcss-accent-xl-line-height, 1.3);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.accent-lg {
|
|
163
|
-
font-family: var(--wcss-accent-lg-family, "Good OT"), var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
164
|
-
font-size: var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));
|
|
165
|
-
font-weight: var(--wcss-accent-lg-weight, 450);
|
|
166
|
-
letter-spacing: var(--wcss-accent-lg-letter-spacing, 0.05em);
|
|
167
|
-
line-height: var(--wcss-accent-lg-line-height, 1.3);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.accent-lg, .accent-md {
|
|
171
|
-
text-transform: uppercase;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.accent-md {
|
|
175
|
-
font-family: var(--wcss-accent-md-family, "Good OT"), var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
176
|
-
font-size: var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));
|
|
177
|
-
font-weight: var(--wcss-accent-md-weight, 500);
|
|
178
|
-
letter-spacing: var(--wcss-accent-md-letter-spacing, 0.05em);
|
|
179
|
-
line-height: var(--wcss-accent-md-line-height, 1.3);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.accent-sm {
|
|
183
|
-
font-family: var(--wcss-accent-sm-family, "Good OT"), var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
184
|
-
font-size: var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));
|
|
185
|
-
font-weight: var(--wcss-accent-sm-weight, 500);
|
|
186
|
-
letter-spacing: var(--wcss-accent-sm-letter-spacing, 0.05em);
|
|
187
|
-
line-height: var(--wcss-accent-sm-line-height, 1.3);
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.accent-sm, .accent-xs {
|
|
191
|
-
text-transform: uppercase;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.accent-xs {
|
|
195
|
-
font-family: var(--wcss-accent-xs-family, "Good OT"), var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
196
|
-
font-size: var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));
|
|
197
|
-
font-weight: var(--wcss-accent-xs-weight, 500);
|
|
198
|
-
letter-spacing: var(--wcss-accent-xs-letter-spacing, 0.1em);
|
|
199
|
-
line-height: var(--wcss-accent-xs-line-height, 1.3);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.accent-2xs {
|
|
203
|
-
font-family: var(--wcss-accent-2xs-family, "Good OT"), var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
204
|
-
font-size: var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));
|
|
205
|
-
font-weight: var(--wcss-accent-2xs-weight, 450);
|
|
206
|
-
letter-spacing: var(--wcss-accent-2xs-letter-spacing, 0.1em);
|
|
207
|
-
line-height: var(--wcss-accent-2xs-line-height, 1.3);
|
|
208
|
-
text-transform: uppercase;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
:host {
|
|
212
|
-
interpolate-size: allow-keywords;
|
|
213
|
-
--webkit-fill: -webkit-fill-available;
|
|
214
|
-
}
|
|
215
|
-
:host .trigger {
|
|
216
|
-
position: relative;
|
|
217
|
-
display: inline-block;
|
|
218
|
-
border-width: 1px;
|
|
219
|
-
border-style: solid;
|
|
220
|
-
border-radius: var(--ds-border-radius, 0.375rem);
|
|
221
|
-
}
|
|
222
|
-
:host .trigger:hover {
|
|
223
|
-
text-decoration: underline;
|
|
224
|
-
}
|
|
225
|
-
:host ::slotted([slot=trigger]) {
|
|
226
|
-
padding-left: var(--ds-size-100, 0.5rem);
|
|
227
|
-
padding-right: var(--ds-size-200, 1rem);
|
|
228
|
-
}
|
|
229
|
-
:host .iconWrapper {
|
|
230
|
-
height: var(--ds-size-300, 1.5rem);
|
|
231
|
-
margin-top: -2px;
|
|
232
|
-
}
|
|
233
|
-
:host [auro-icon] {
|
|
234
|
-
--ds-auro-icon-size: var(--ds-size-300, 1.5rem);
|
|
235
|
-
}
|
|
236
|
-
:host [auro-icon][hidden] {
|
|
237
|
-
display: none;
|
|
238
|
-
}
|
|
239
|
-
:host .content {
|
|
240
|
-
width: 100%;
|
|
241
|
-
transition: all 0.5s ease-in-out;
|
|
242
|
-
transition-property: height;
|
|
243
|
-
}
|
|
244
|
-
:host .componentWrapper {
|
|
245
|
-
height: 100%;
|
|
246
|
-
overflow: hidden;
|
|
247
|
-
}
|
|
248
|
-
:host .contentWrapper {
|
|
249
|
-
padding-left: var(--ds-size-400, 2rem);
|
|
250
|
-
padding-bottom: var(--ds-size-300, 1.5rem);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
:host(:focus) .trigger {
|
|
254
|
-
border-width: 1px;
|
|
255
|
-
border-style: solid;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
:host([chevron=right]) ::slotted([slot=trigger]) {
|
|
259
|
-
padding-left: 0;
|
|
260
|
-
padding-right: var(--ds-size-100, 0.5rem);
|
|
261
|
-
}
|
|
262
|
-
:host([chevron=right]) .contentWrapper {
|
|
263
|
-
padding-left: var(--ds-size-400, 2rem);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
:host([chevron=right]:not([emphasis])) ::slotted([slot=trigger]) {
|
|
267
|
-
padding-left: var(--ds-size-250, 1.25rem);
|
|
268
|
-
}
|
|
269
|
-
:host([chevron=right]:not([emphasis])) .contentWrapper {
|
|
270
|
-
padding-left: var(--ds-size-250, 1.25rem);
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
:host([alignRight]) .componentWrapper {
|
|
274
|
-
display: flex;
|
|
275
|
-
flex-direction: column;
|
|
276
|
-
align-items: flex-end;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
:host([fluid]) .trigger {
|
|
280
|
-
width: 100%;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
:host([grouped]) .componentWrapper {
|
|
284
|
-
border-bottom-width: 1px;
|
|
285
|
-
border-bottom-style: solid;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
:host([grouped][chevron=right]:not([alignright])) .trigger {
|
|
289
|
-
width: var(--webkit-fill, 100%);
|
|
290
|
-
--trigger-padding-right: var(--ds-size-200, 1rem);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
:host(:not([expanded])) .content,
|
|
294
|
-
:host([expanded=false]) .content {
|
|
295
|
-
height: 0 !important;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
:host([expanded]) .content {
|
|
299
|
-
height: auto;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
:host([emphasis]) .trigger {
|
|
303
|
-
border-style: solid;
|
|
304
|
-
border-width: 1px;
|
|
305
|
-
border-left-width: 2px;
|
|
306
|
-
--trigger-padding-left: var(--ds-size-200, 1rem);
|
|
307
|
-
}
|
|
308
|
-
:host([emphasis]) .trigger:before {
|
|
309
|
-
display: block;
|
|
310
|
-
position: absolute;
|
|
311
|
-
top: -1px;
|
|
312
|
-
left: -2px;
|
|
313
|
-
width: 1px;
|
|
314
|
-
height: calc(100% + 2px);
|
|
315
|
-
content: "";
|
|
316
|
-
border-left-style: solid;
|
|
317
|
-
border-left-width: 2px;
|
|
318
|
-
}
|
|
319
|
-
:host([emphasis]) .trigger:focus {
|
|
320
|
-
border-left-width: 1px;
|
|
321
|
-
margin-left: 1px;
|
|
322
|
-
}
|
|
323
|
-
:host([emphasis]) .content {
|
|
324
|
-
border-left-width: 2px;
|
|
325
|
-
border-left-style: solid;
|
|
326
|
-
padding: unset;
|
|
327
|
-
}
|
|
328
|
-
:host([emphasis]) .contentWrapper {
|
|
329
|
-
padding-left: var(--ds-size-200, 1rem);
|
|
330
|
-
}
|
|
331
|
-
:host([emphasis]) .iconWrapper {
|
|
332
|
-
padding-right: var(--ds-size-200, 1rem);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
:host([emphasis][variant=lg]) .trigger,
|
|
336
|
-
:host([emphasis][variant=lg]) .contentWrapper {
|
|
337
|
-
padding-left: calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
:host([emphasis]:not([expanded]):hover) .trigger {
|
|
341
|
-
text-decoration: unset;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
:host([chevron=none]) ::slotted([slot=trigger]),
|
|
345
|
-
:host([chevron=none]) .contentWrapper {
|
|
346
|
-
padding-left: unset;
|
|
347
|
-
}
|