@adobe-commerce/elsie 2.0.0 → 2.0.1-alpha-20260728135101
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/.elsie.js +3 -3
- package/CHANGELOG.md +385 -112
- package/LICENSE.md +257 -157
- package/README.md +4 -2
- package/__mocks__/svg.js +3 -3
- package/bin/builders/build/index.js +2 -1
- package/bin/builders/changeset/index.js +1 -1
- package/bin/builders/concurrently/index.js +1 -1
- package/bin/builders/generate/api/index.js +7 -7
- package/bin/builders/generate/component/index.js +8 -8
- package/bin/builders/generate/config/index.js +5 -5
- package/bin/builders/generate/config/templates/elsie.js +1 -1
- package/bin/builders/generate/container/index.js +7 -7
- package/bin/builders/generate/index.js +36 -36
- package/bin/builders/gql/index.js +28 -28
- package/bin/builders/gql/validate.js +116 -105
- package/bin/builders/lint/index.js +1 -1
- package/bin/builders/serve/index.js +1 -1
- package/bin/builders/storybook/index.js +9 -1
- package/bin/builders/types/index.js +1 -2
- package/bin/builders/types/validate-tsconfig.js +5 -5
- package/bin/index.js +12 -6
- package/bin/lib/cli.js +9 -8
- package/bin/lib/resolve-bin.js +9 -0
- package/bin/lib/validate-typeof.js +3 -3
- package/bin/lib/write-file.js +3 -3
- package/bin/lib/write-parent-index.js +4 -4
- package/config/eslint.mjs +2 -1
- package/config/jest.mjs +7 -2
- package/config/plugins/dts-normalize-relative-replacer.cjs +1 -1
- package/config/plugins/dts.mjs +4 -3
- package/config/prettier.json +25 -3
- package/config/setEnvVars.mjs +2 -2
- package/config/storybook/addon.js +5 -5
- package/config/storybook/components/FileTree/FileTree.jsx +4 -4
- package/config/storybook/components/FileTree/index.js +4 -4
- package/config/storybook/components/Flex/Flex.jsx +3 -3
- package/config/storybook/components/Flex/index.js +3 -3
- package/config/storybook/components/OptionsTable/OptionsTable.jsx +3 -3
- package/config/storybook/components/OptionsTable/index.js +4 -4
- package/config/storybook/components/Panel/Panel.tsx +7 -7
- package/config/storybook/components/Panel/index.ts +3 -3
- package/config/storybook/components/Screenshot/Screenshot.jsx +3 -3
- package/config/storybook/components/Screenshot/index.js +4 -4
- package/config/storybook/components/Steps/Steps.jsx +3 -3
- package/config/storybook/components/Steps/index.js +4 -4
- package/config/storybook/components/StoryWrapper/StoryWrapper.jsx +3 -3
- package/config/storybook/components/StoryWrapper/index.js +3 -3
- package/config/storybook/components/Summary/Summary.jsx +3 -3
- package/config/storybook/components/Summary/index.js +3 -3
- package/config/storybook/components/Variants/Variants.jsx +11 -7
- package/config/storybook/components/Variants/index.js +3 -3
- package/config/storybook/manager.js +3 -3
- package/config/storybook/preview.jsx +3 -3
- package/config/storybook/theming/fonts.css +12 -4
- package/config/storybook/theming/preview.css +3 -1
- package/config/storybook/theming/theme.js +3 -3
- package/config/vite.mjs +53 -26
- package/package.json +36 -34
- package/src/components/Accordion/Accordion.css +1 -1
- package/src/components/Accordion/Accordion.stories.tsx +18 -18
- package/src/components/Accordion/Accordion.tsx +12 -8
- package/src/components/Accordion/index.ts +3 -3
- package/src/components/ActionButton/ActionButton.stories.tsx +8 -8
- package/src/components/ActionButton/ActionButton.tsx +7 -5
- package/src/components/ActionButton/index.ts +3 -3
- package/src/components/ActionButtonGroup/ActionButtonGroup.stories.tsx +3 -3
- package/src/components/ActionButtonGroup/ActionButtonGroup.tsx +2 -2
- package/src/components/ActionButtonGroup/index.ts +3 -3
- package/src/components/AlertBanner/AlertBanner.stories.tsx +6 -6
- package/src/components/AlertBanner/AlertBanner.tsx +12 -10
- package/src/components/AlertBanner/index.ts +3 -3
- package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +14 -14
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +3 -3
- package/src/components/Breadcrumbs/index.ts +3 -3
- package/src/components/Button/Button.mdx +24 -11
- package/src/components/Button/Button.stories.tsx +6 -6
- package/src/components/Button/Button.tsx +7 -8
- package/src/components/Button/index.ts +3 -3
- package/src/components/Card/Card.stories.tsx +6 -6
- package/src/components/Card/Card.tsx +3 -3
- package/src/components/Card/index.ts +3 -3
- package/src/components/CartItem/CartItem.stories.tsx +12 -12
- package/src/components/CartItem/CartItem.tsx +4 -2
- package/src/components/CartItem/CartItemSkeleton.tsx +3 -3
- package/src/components/CartItem/index.ts +3 -3
- package/src/components/CartList/CartList.tsx +3 -3
- package/src/components/CartList/index.ts +3 -3
- package/src/components/Checkbox/Checkbox.stories.tsx +17 -14
- package/src/components/Checkbox/Checkbox.tsx +8 -6
- package/src/components/Checkbox/index.ts +3 -3
- package/src/components/ColorSwatch/ColorSwatch.css +8 -4
- package/src/components/ColorSwatch/ColorSwatch.stories.tsx +6 -6
- package/src/components/ColorSwatch/ColorSwatch.tsx +8 -6
- package/src/components/ColorSwatch/index.ts +3 -3
- package/src/components/ContentGrid/ContentGrid.css +15 -15
- package/src/components/ContentGrid/ContentGrid.stories.tsx +4 -4
- package/src/components/ContentGrid/ContentGrid.tsx +3 -3
- package/src/components/ContentGrid/index.ts +3 -3
- package/src/components/Divider/Divider.stories.tsx +7 -4
- package/src/components/Divider/Divider.tsx +3 -3
- package/src/components/Divider/index.ts +4 -4
- package/src/components/Field/Field.stories.tsx +7 -7
- package/src/components/Field/Field.tsx +4 -2
- package/src/components/Field/index.ts +3 -3
- package/src/components/Header/Header.stories.tsx +9 -10
- package/src/components/Header/Header.tsx +11 -7
- package/src/components/Header/index.ts +3 -3
- package/src/components/Icon/Icon.stories.helpers.jsx +4 -4
- package/src/components/Icon/Icon.stories.tsx +74 -60
- package/src/components/Icon/Icon.tsx +77 -44
- package/src/components/Icon/index.ts +3 -3
- package/src/components/IllustratedMessage/IllustratedMessage.stories.tsx +8 -8
- package/src/components/IllustratedMessage/IllustratedMessage.tsx +7 -5
- package/src/components/IllustratedMessage/index.ts +3 -3
- package/src/components/Image/Image.stories.tsx +3 -3
- package/src/components/Image/Image.tsx +4 -4
- package/src/components/Image/index.ts +3 -3
- package/src/components/ImageSwatch/ImageSwatch.css +8 -4
- package/src/components/ImageSwatch/ImageSwatch.stories.tsx +10 -10
- package/src/components/ImageSwatch/ImageSwatch.tsx +25 -23
- package/src/components/ImageSwatch/index.ts +3 -3
- package/src/components/InLineAlert/InLineAlert.stories.tsx +12 -7
- package/src/components/InLineAlert/InLineAlert.tsx +4 -2
- package/src/components/InLineAlert/index.ts +3 -3
- package/src/components/Incrementer/Incrementer.stories.tsx +9 -9
- package/src/components/Incrementer/Incrementer.tsx +75 -37
- package/src/components/Incrementer/index.ts +3 -3
- package/src/components/Input/Input.css +4 -1
- package/src/components/Input/Input.stories.tsx +5 -5
- package/src/components/Input/Input.tsx +5 -3
- package/src/components/Input/index.ts +3 -3
- package/src/components/InputDate/InputDate.tsx +3 -3
- package/src/components/InputDate/index.ts +3 -3
- package/src/components/InputFile/InputFile.css +16 -16
- package/src/components/InputFile/InputFile.stories.tsx +21 -16
- package/src/components/InputFile/InputFile.tsx +8 -6
- package/src/components/InputFile/index.ts +5 -5
- package/src/components/InputPassword/InputPassword.stories.tsx +4 -4
- package/src/components/InputPassword/InputPassword.tsx +5 -4
- package/src/components/InputPassword/PasswordStatusIndicator/PasswordStatusIndicator.tsx +1 -1
- package/src/components/InputPassword/PasswordStatusIndicator/index.ts +3 -3
- package/src/components/InputPassword/index.ts +3 -3
- package/src/components/Modal/Modal.stories.tsx +27 -16
- package/src/components/Modal/Modal.tsx +10 -11
- package/src/components/Modal/index.ts +3 -3
- package/src/components/MultiSelect/MultiSelect.stories.tsx +15 -15
- package/src/components/MultiSelect/MultiSelect.tsx +15 -15
- package/src/components/Pagination/Pagination.css +1 -1
- package/src/components/Pagination/Pagination.stories.tsx +0 -1
- package/src/components/Pagination/Pagination.tsx +17 -12
- package/src/components/Pagination/PaginationButton.tsx +2 -3
- package/src/components/Pagination/index.ts +3 -3
- package/src/components/Picker/Picker.css +3 -1
- package/src/components/Picker/Picker.stories.tsx +1 -1
- package/src/components/Picker/Picker.tsx +8 -6
- package/src/components/Picker/index.ts +3 -3
- package/src/components/Portal/Portal.stories.tsx +50 -44
- package/src/components/Portal/Portal.tsx +4 -4
- package/src/components/Price/Price.stories.tsx +3 -3
- package/src/components/Price/Price.tsx +4 -2
- package/src/components/Price/index.ts +3 -3
- package/src/components/PriceRange/PriceRange.stories.tsx +3 -3
- package/src/components/PriceRange/PriceRange.tsx +8 -6
- package/src/components/PriceRange/index.ts +3 -3
- package/src/components/ProductItemCard/ProductItemCard.tsx +4 -2
- package/src/components/ProductItemCard/ProductItemCardSkeleton.tsx +16 -16
- package/src/components/ProductItemCard/index.ts +4 -4
- package/src/components/ProgressSpinner/ProgressSpinner.stories.tsx +8 -8
- package/src/components/ProgressSpinner/ProgressSpinner.tsx +7 -5
- package/src/components/ProgressSpinner/index.ts +3 -3
- package/src/components/RadioButton/RadioButton.stories.tsx +1 -1
- package/src/components/RadioButton/RadioButton.tsx +4 -2
- package/src/components/Skeleton/Skeleton.stories.tsx +4 -4
- package/src/components/Skeleton/Skeleton.tsx +11 -7
- package/src/components/Skeleton/index.ts +3 -3
- package/src/components/Table/Table.css +106 -99
- package/src/components/Table/Table.stories.tsx +404 -227
- package/src/components/Table/Table.tsx +11 -7
- package/src/components/Table/index.ts +4 -4
- package/src/components/Tag/Tag.stories.tsx +6 -6
- package/src/components/Tag/Tag.tsx +7 -5
- package/src/components/Tag/index.ts +3 -3
- package/src/components/TextArea/TextArea.css +3 -1
- package/src/components/TextArea/TextArea.stories.tsx +9 -6
- package/src/components/TextArea/TextArea.tsx +3 -3
- package/src/components/TextArea/index.ts +3 -3
- package/src/components/TextSwatch/TextSwatch.css +4 -2
- package/src/components/TextSwatch/TextSwatch.stories.tsx +8 -8
- package/src/components/TextSwatch/TextSwatch.tsx +12 -7
- package/src/components/TextSwatch/index.ts +3 -3
- package/src/components/ToggleButton/ToggleButton.css +6 -2
- package/src/components/ToggleButton/ToggleButton.stories.tsx +10 -6
- package/src/components/ToggleButton/ToggleButton.tsx +8 -3
- package/src/components/ToggleButton/index.ts +3 -3
- package/src/components/UIProvider/UIProvider.css +3 -2
- package/src/components/UIProvider/UIProvider.tsx +11 -7
- package/src/components/UIProvider/debugger.css +5 -6
- package/src/components/UIProvider/index.ts +3 -3
- package/src/docs/API/event-bus.mdx +64 -37
- package/src/docs/API/graphql.mdx +69 -36
- package/src/docs/API/initializer.mdx +58 -35
- package/src/docs/API/render.mdx +45 -32
- package/src/docs/Design/colors.mdx +10 -12
- package/src/docs/Design/grid.mdx +41 -14
- package/src/docs/Design/overview.mdx +20 -4
- package/src/docs/Design/shapes.mdx +8 -7
- package/src/docs/Design/spacing.mdx +3 -1
- package/src/docs/Design/typography.mdx +3 -2
- package/src/docs/Utilities/VComponent.mdx +27 -10
- package/src/docs/Utilities/classList.mdx +7 -5
- package/src/docs/Utilities/debounce.mdx +6 -7
- package/src/docs/Utilities/getCookie.mdx +1 -2
- package/src/docs/Utilities/getFormErrors.mdx +1 -2
- package/src/docs/Utilities/getFormValues.mdx +1 -2
- package/src/docs/Utilities/getPathValue.mdx +2 -4
- package/src/docs/Utilities/links.mdx +16 -7
- package/src/docs/cli-usage.mdx +8 -3
- package/src/docs/components/overview.mdx +14 -4
- package/src/docs/quick-start.mdx +69 -22
- package/src/docs/slots.mdx +74 -37
- package/src/docs/welcome.mdx +13 -4
- package/src/i18n/index.ts +3 -3
- package/src/lib/aem/assets.ts +9 -9
- package/src/lib/aem/configs.ts +16 -8
- package/src/lib/classes.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/lib/debounce.ts +3 -3
- package/src/lib/deepmerge.ts +6 -13
- package/src/lib/deviceUtils.ts +3 -3
- package/src/lib/form-values.ts +3 -3
- package/src/lib/get-price-formatter.ts +8 -3
- package/src/lib/i18n.ts +3 -3
- package/src/lib/image-params-keymap.ts +4 -5
- package/src/lib/initializer.ts +11 -12
- package/src/lib/is-number.ts +3 -3
- package/src/lib/locale-config.ts +4 -4
- package/src/lib/render.tsx +14 -8
- package/src/lib/resolve-image.ts +19 -16
- package/src/lib/signals.ts +4 -4
- package/src/lib/slot.tsx +34 -27
- package/src/lib/tests.tsx +6 -8
- package/src/lib/types.ts +3 -3
- package/src/lib/vcomponent.tsx +3 -3
- package/src/shims/importmap.js +3107 -20
- package/static/assets/images/index.ts +3 -3
- package/storybook-stories.js +3 -3
- package/tests/__mocks__/browserMocks.ts +3 -3
- package/tests/__mocks__/fileMocks.ts +3 -3
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Copyright 2024 Adobe
|
|
3
3
|
* All Rights Reserved.
|
|
4
4
|
*
|
|
5
|
-
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
-
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
-
* accompanying it.
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
8
|
*******************************************************************/
|
|
9
9
|
|
|
10
10
|
import { FunctionComponent } from 'preact';
|
|
@@ -12,8 +12,10 @@ import { HTMLAttributes } from 'preact/compat';
|
|
|
12
12
|
import { classes } from '@adobe-commerce/elsie/lib';
|
|
13
13
|
import '@adobe-commerce/elsie/components/Skeleton/Skeleton.css';
|
|
14
14
|
|
|
15
|
-
export interface SkeletonRowProps
|
|
16
|
-
|
|
15
|
+
export interface SkeletonRowProps extends Omit<
|
|
16
|
+
HTMLAttributes<HTMLDivElement>,
|
|
17
|
+
'size'
|
|
18
|
+
> {
|
|
17
19
|
fullWidth?: boolean;
|
|
18
20
|
lines?: number;
|
|
19
21
|
size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
@@ -108,8 +110,10 @@ export const SkeletonRow: FunctionComponent<SkeletonRowProps> = ({
|
|
|
108
110
|
);
|
|
109
111
|
};
|
|
110
112
|
|
|
111
|
-
export interface SkeletonProps
|
|
112
|
-
|
|
113
|
+
export interface SkeletonProps extends Omit<
|
|
114
|
+
HTMLAttributes<HTMLDivElement>,
|
|
115
|
+
'size'
|
|
116
|
+
> {
|
|
113
117
|
rowGap?: 'xsmall' | 'small' | 'medium' | 'big' | 'xbig';
|
|
114
118
|
}
|
|
115
119
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Copyright 2024 Adobe
|
|
3
3
|
* All Rights Reserved.
|
|
4
4
|
*
|
|
5
|
-
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
-
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
-
* accompanying it.
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
8
|
*******************************************************************/
|
|
9
9
|
|
|
10
10
|
export * from '@adobe-commerce/elsie/components/Skeleton/Skeleton';
|
|
@@ -10,80 +10,82 @@
|
|
|
10
10
|
/* https://cssguidelin.es/#bem-like-naming */
|
|
11
11
|
|
|
12
12
|
.dropin-table {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
container-type: inline-size;
|
|
14
|
+
overflow-x: auto;
|
|
15
|
+
font: var(--type-body-1-default-font);
|
|
16
|
+
letter-spacing: var(--type-body-1-default-letter-spacing);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.dropin-table__table {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
border: var(--shape-border-width-1) solid var(--color-neutral-400);
|
|
21
|
+
border-collapse: collapse;
|
|
22
|
+
width: 100%;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.dropin-table__caption {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
font: var(--type-details-caption-1-font);
|
|
27
|
+
letter-spacing: var(--type-details-caption-1-letter-spacing);
|
|
28
|
+
text-align: left;
|
|
29
|
+
margin-bottom: var(--spacing-small);
|
|
30
|
+
caption-side: top;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.dropin-table__header__cell {
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
font: var(--type-body-1-strong-font);
|
|
35
|
+
letter-spacing: var(--type-body-1-strong-letter-spacing);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.dropin-table__header__cell {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
color: var(--color-neutral-800);
|
|
40
|
+
text-align: left;
|
|
41
|
+
white-space: nowrap;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.dropin-table__header__cell--sortable {
|
|
45
|
-
|
|
45
|
+
cursor: pointer;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.dropin-table__header__row {
|
|
49
|
-
|
|
49
|
+
border-bottom: var(--shape-border-width-1) solid var(--color-neutral-400);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.dropin-table__header__row th {
|
|
53
|
-
|
|
53
|
+
padding: var(--spacing-small) var(--spacing-medium);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.dropin-table__body__row:nth-child(even) {
|
|
57
|
-
|
|
57
|
+
background-color: var(--color-neutral-100);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.dropin-table__body__row.dropin-table__body__row--expanded {
|
|
61
|
-
|
|
61
|
+
background-color: var(--color-neutral-200);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.dropin-table__body__cell {
|
|
65
|
-
|
|
65
|
+
padding: var(--spacing-small) var(--spacing-medium);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.dropin-table__header__sort-button {
|
|
69
|
-
|
|
69
|
+
vertical-align: middle;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.dropin-table__row-details {
|
|
73
|
-
|
|
73
|
+
display: none;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.dropin-table__row-details--expanded {
|
|
77
|
-
|
|
77
|
+
display: table-row;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.dropin-table__row-details__cell {
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
padding: var(--spacing-small) var(--spacing-medium);
|
|
82
|
+
background-color: var(--color-neutral-200);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.dropin-table__row-details--expanded
|
|
86
|
-
|
|
85
|
+
.dropin-table__row-details--expanded
|
|
86
|
+
.dropin-table__row-details__cell
|
|
87
|
+
> *:last-child {
|
|
88
|
+
margin: 0;
|
|
87
89
|
}
|
|
88
90
|
|
|
89
91
|
.dropin-table__row-details__cell h1,
|
|
@@ -92,82 +94,87 @@
|
|
|
92
94
|
.dropin-table__row-details__cell h4,
|
|
93
95
|
.dropin-table__row-details__cell h5,
|
|
94
96
|
.dropin-table__row-details__cell h6 {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
97
|
+
font: var(--type-body-1-strong-font);
|
|
98
|
+
letter-spacing: var(--type-body-1-strong-letter-spacing);
|
|
99
|
+
margin: 0;
|
|
98
100
|
}
|
|
99
101
|
|
|
100
102
|
.dropin-table__row-details__cell p,
|
|
101
103
|
.dropin-table__row-details__cell span {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
+
font: var(--type-body-1-default-font);
|
|
105
|
+
letter-spacing: var(--type-body-1-default-letter-spacing);
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
/* Container query for mobile layout */
|
|
107
109
|
@container (max-width: 600px) {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
.dropin-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
110
|
+
/* Mobile layout Stacked */
|
|
111
|
+
.dropin-table--mobile-layout-stacked .dropin-table__header {
|
|
112
|
+
display: none;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.dropin-table--mobile-layout-stacked .dropin-table__body__row {
|
|
116
|
+
padding: var(--spacing-medium);
|
|
117
|
+
display: block;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.dropin-table--mobile-layout-stacked .dropin-table__body__cell {
|
|
121
|
+
display: block;
|
|
122
|
+
font: var(--type-body-2-default-font);
|
|
123
|
+
letter-spacing: var(--type-body-2-default-letter-spacing);
|
|
124
|
+
padding: var(--spacing-xsmall) 0;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.dropin-table--mobile-layout-stacked .dropin-table__body__cell:first-child {
|
|
128
|
+
padding-top: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.dropin-table--mobile-layout-stacked .dropin-table__body__cell:last-child {
|
|
132
|
+
padding-bottom: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.dropin-table--mobile-layout-stacked .dropin-table__body__cell::before {
|
|
136
|
+
content: attr(data-label);
|
|
137
|
+
font: var(--type-body-2-strong-font);
|
|
138
|
+
letter-spacing: var(--type-body-2-strong-letter-spacing);
|
|
139
|
+
display: block;
|
|
140
|
+
margin-bottom: var(--spacing-xxsmall);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.dropin-table--mobile-layout-stacked .dropin-table__row-details__cell {
|
|
144
|
+
display: block;
|
|
145
|
+
padding: var(--spacing-medium);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.dropin-table--mobile-layout-stacked
|
|
149
|
+
.dropin-table__row-details__cell
|
|
150
|
+
> *:first-child {
|
|
151
|
+
border-top: var(--shape-border-width-1) solid var(--color-neutral-400);
|
|
152
|
+
padding-top: var(--spacing-medium);
|
|
153
|
+
margin-top: calc(var(--spacing-medium) * -1);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.dropin-table--mobile-layout-stacked
|
|
157
|
+
.dropin-table__row-details--expanded
|
|
158
|
+
.dropin-table__row-details__cell
|
|
159
|
+
> *:last-child {
|
|
160
|
+
margin: 0;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.dropin-table--mobile-layout-stacked .dropin-table__row-details__cell h1,
|
|
164
|
+
.dropin-table--mobile-layout-stacked .dropin-table__row-details__cell h2,
|
|
165
|
+
.dropin-table--mobile-layout-stacked .dropin-table__row-details__cell h3,
|
|
166
|
+
.dropin-table--mobile-layout-stacked .dropin-table__row-details__cell h4,
|
|
167
|
+
.dropin-table--mobile-layout-stacked .dropin-table__row-details__cell h5,
|
|
168
|
+
.dropin-table--mobile-layout-stacked .dropin-table__row-details__cell h6 {
|
|
169
|
+
font: var(--type-body-2-strong-font);
|
|
170
|
+
letter-spacing: var(--type-body-2-strong-letter-spacing);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.dropin-table--mobile-layout-stacked .dropin-table__row-details__cell p,
|
|
174
|
+
.dropin-table--mobile-layout-stacked .dropin-table__row-details__cell span {
|
|
175
|
+
font: var(--type-body-2-default-font);
|
|
176
|
+
letter-spacing: var(--type-body-2-default-letter-spacing);
|
|
177
|
+
}
|
|
171
178
|
}
|
|
172
179
|
|
|
173
180
|
/* Medium (portrait tablets and large phones, 768px and up) */
|
|
@@ -180,4 +187,4 @@
|
|
|
180
187
|
/* @media only screen and (min-width: 1366px) { } */
|
|
181
188
|
|
|
182
189
|
/* XXlarge (large laptops and desktops, 1920px and up) */
|
|
183
|
-
/* @media only screen and (min-width: 1920px) { } */
|
|
190
|
+
/* @media only screen and (min-width: 1920px) { } */
|