@ebay/skin 16.7.0 → 16.8.0-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/preview-head.html +152 -11
- package/_cdn/skin/v16.8.0-0/skin-default.min.css +41 -0
- package/_cdn/skin/v16.8.0-0/skin-full.min.css +88 -0
- package/_cdn/skin/v16.8.0-0/skin-headless.min.css +6 -0
- package/_cdn/skin/v16.8.0-0/skin-legacy.min.css +41 -0
- package/dist/alert-dialog/alert-dialog.css +8 -8
- package/dist/avatar/avatar.css +9 -9
- package/dist/breadcrumbs/breadcrumbs.css +6 -6
- package/dist/button/button.css +10 -28
- package/dist/calendar/calendar.css +7 -7
- package/dist/carousel/carousel.css +10 -26
- package/dist/chip/chip.css +7 -7
- package/dist/combobox/combobox.css +6 -4
- package/dist/confirm-dialog/confirm-dialog.css +9 -9
- package/dist/cta-button/cta-button.css +8 -6
- package/dist/date-textbox/date-textbox.css +4 -4
- package/dist/details/details.css +3 -6
- package/dist/drawer-dialog/drawer-dialog.css +4 -3
- package/dist/field/field.css +5 -5
- package/dist/filter-button/filter-button.css +2 -2
- package/dist/filter-menu/filter-menu.css +2 -2
- package/dist/filter-menu-button/filter-menu-button.css +6 -9
- package/dist/floating-label/floating-label.css +1 -1
- package/dist/fullscreen-dialog/fullscreen-dialog.css +6 -5
- package/dist/global/global.css +2 -2
- package/dist/icon/icon.css +28 -0
- package/dist/infotip/infotip.css +5 -5
- package/dist/inline-notice/inline-notice.css +4 -6
- package/dist/legacy-textbox/legacy-textbox.css +1 -1
- package/dist/lightbox-dialog/lightbox-dialog.css +15 -17
- package/dist/listbox/listbox.css +3 -6
- package/dist/listbox-button/listbox-button.css +2 -5
- package/dist/menu/menu.css +2 -2
- package/dist/menu-button/menu-button.css +2 -2
- package/dist/mixins/typography-mixins.less +24 -24
- package/dist/mixins/utility-mixins.less +1 -0
- package/dist/page-grid/page-grid.css +5 -5
- package/dist/page-notice/page-notice.css +16 -21
- package/dist/pagination/pagination.css +9 -17
- package/dist/panel-dialog/panel-dialog.css +7 -6
- package/dist/progress-bar/progress-bar.css +2 -2
- package/dist/progress-stepper/progress-stepper.css +11 -14
- package/dist/section-notice/section-notice.css +17 -19
- package/dist/section-title/section-title.css +19 -20
- package/dist/segmented-buttons/segmented-buttons.css +11 -12
- package/dist/select/select.css +4 -4
- package/dist/signal/signal.css +2 -2
- package/dist/snackbar-dialog/snackbar-dialog.css +8 -14
- package/dist/svg/icon/icon-ai-spectrum-16-colored.svg +24 -0
- package/dist/svg/icon/icon-ai-spectrum-20-colored.svg +24 -0
- package/dist/svg/icon/icon-ai-spectrum-24-colored.svg +24 -0
- package/dist/svg/icon/icon-ai-spectrum-filled-16-colored.svg +22 -0
- package/dist/svg/icon/icon-ai-spectrum-filled-20-colored.svg +22 -0
- package/dist/svg/icon/icon-ai-spectrum-filled-24-colored.svg +22 -0
- package/dist/svg/icon/icon-ai-spectrum-thin-16-colored.svg +24 -0
- package/dist/svg/icon/icon-close-12.svg +3 -1
- package/dist/svg/icons.svg +150 -0
- package/dist/tabs/tabs.css +6 -10
- package/dist/textbox/textbox.css +12 -17
- package/dist/toast-dialog/toast-dialog.css +9 -10
- package/dist/toggle-button/toggle-button.css +17 -17
- package/dist/toggle-button-group/toggle-button-group.css +4 -4
- package/dist/tokens/evo-core.css +36 -0
- package/dist/tooltip/tooltip.css +5 -5
- package/dist/tourtip/tourtip.css +6 -6
- package/dist/typography/typography.css +23 -23
- package/dist/utility/utility.css +2 -0
- package/dist/variables/variables.less +6 -5
- package/dist/video/video.css +2 -5
- package/package.json +9 -9
- package/scripts/generate-images.js +18 -1
- package/src/less/alert-dialog/alert-dialog.less +6 -6
- package/src/less/avatar/avatar.less +9 -9
- package/src/less/breadcrumbs/breadcrumbs.less +6 -6
- package/src/less/button/button.less +5 -29
- package/src/less/calendar/calendar.less +7 -7
- package/src/less/carousel/carousel.less +6 -37
- package/src/less/chip/chip.less +7 -7
- package/src/less/combobox/combobox.less +6 -4
- package/src/less/confirm-dialog/confirm-dialog.less +7 -7
- package/src/less/cta-button/cta-button.less +4 -4
- package/src/less/date-textbox/date-textbox.less +5 -5
- package/src/less/details/details.less +2 -7
- package/src/less/drawer-dialog/drawer-dialog.less +1 -1
- package/src/less/field/field.less +4 -5
- package/src/less/filter-menu-button/filter-menu-button.less +1 -6
- package/src/less/floating-label/floating-label.less +1 -1
- package/src/less/global/global.less +2 -2
- package/src/less/icon/generated/icon.less +28 -0
- package/src/less/infotip/infotip.less +3 -3
- package/src/less/infotip/stories/infotip.stories.js +26 -0
- package/src/less/inline-notice/inline-notice.less +3 -9
- package/src/less/legacy-textbox/legacy-textbox.less +1 -1
- package/src/less/lightbox-dialog/lightbox-dialog.less +6 -10
- package/src/less/listbox/listbox.less +2 -7
- package/src/less/listbox-button/listbox-button.less +1 -6
- package/src/less/menu/menu.less +2 -2
- package/src/less/menu-button/menu-button.less +2 -2
- package/src/less/mixins/private/bubble-mixins.less +5 -4
- package/src/less/mixins/private/button-mixins.less +3 -3
- package/src/less/mixins/private/dialog-mixins.less +10 -10
- package/src/less/mixins/private/filter-button-mixins.less +2 -2
- package/src/less/mixins/private/filter-menu-mixins.less +1 -1
- package/src/less/mixins/public/typography-mixins.less +24 -24
- package/src/less/mixins/public/utility-mixins.less +1 -0
- package/src/less/page-notice/page-notice.less +14 -23
- package/src/less/pagination/pagination.less +7 -18
- package/src/less/panel-dialog/panel-dialog.less +1 -1
- package/src/less/progress-bar/progress-bar.less +2 -2
- package/src/less/progress-stepper/progress-stepper.less +8 -14
- package/src/less/section-notice/section-notice.less +15 -20
- package/src/less/section-title/section-title.less +10 -12
- package/src/less/segmented-buttons/segmented-buttons.less +6 -15
- package/src/less/select/select.less +4 -4
- package/src/less/signal/signal.less +2 -2
- package/src/less/snackbar-dialog/snackbar-dialog.less +6 -16
- package/src/less/tabs/tabs.less +5 -15
- package/src/less/textbox/stories/rtl/textbox.stories.js +1 -1
- package/src/less/textbox/stories/textbox.stories.js +1 -1
- package/src/less/textbox/textbox.less +14 -18
- package/src/less/toast-dialog/toast-dialog.less +8 -13
- package/src/less/toggle-button/toggle-button.less +17 -17
- package/src/less/toggle-button-group/toggle-button-group.less +4 -4
- package/src/less/tooltip/tooltip.less +1 -1
- package/src/less/tourtip/tourtip.less +3 -3
- package/src/less/typography/typography.less +2 -2
- package/src/less/variables/variables.less +6 -5
- package/src/less/video/video.less +1 -8
- package/src/svg/icon/icon-ai-spectrum-16-colored.svg +24 -0
- package/src/svg/icon/icon-ai-spectrum-20-colored.svg +24 -0
- package/src/svg/icon/icon-ai-spectrum-24-colored.svg +24 -0
- package/src/svg/icon/icon-ai-spectrum-filled-16-colored.svg +22 -0
- package/src/svg/icon/icon-ai-spectrum-filled-20-colored.svg +22 -0
- package/src/svg/icon/icon-ai-spectrum-filled-24-colored.svg +22 -0
- package/src/svg/icon/icon-ai-spectrum-thin-16-colored.svg +24 -0
- package/src/svg/icon/icon-close-12.svg +3 -1
- package/src/svg/icons.svg +150 -0
- package/src/tokens/evo-core.css +36 -0
- package/svg.svg +150 -0
- package/_cdn/skin/v16.7.0/skin-default.min.css +0 -41
- package/_cdn/skin/v16.7.0/skin-full.min.css +0 -88
- package/_cdn/skin/v16.7.0/skin-headless.min.css +0 -6
- package/_cdn/skin/v16.7.0/skin-legacy.min.css +0 -41
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
.giant-text-3 {
|
|
2
|
-
font-size:
|
|
3
|
-
font-weight:
|
|
2
|
+
font-size: var(--font-size-giant-3);
|
|
3
|
+
font-weight: var(--font-weight-bold);
|
|
4
4
|
line-height: 52px;
|
|
5
5
|
}
|
|
6
6
|
.giant-text-2 {
|
|
7
|
-
font-size: 2
|
|
8
|
-
font-weight:
|
|
7
|
+
font-size: var(--font-size-giant-2);
|
|
8
|
+
font-weight: var(--font-weight-bold);
|
|
9
9
|
line-height: 46px;
|
|
10
10
|
}
|
|
11
11
|
.giant-text-1 {
|
|
12
|
-
font-size: 1
|
|
13
|
-
font-weight:
|
|
12
|
+
font-size: var(--font-size-giant-1);
|
|
13
|
+
font-weight: var(--font-weight-bold);
|
|
14
14
|
line-height: 40px;
|
|
15
15
|
}
|
|
16
16
|
.large-text-2 {
|
|
17
|
-
font-size:
|
|
18
|
-
font-weight:
|
|
17
|
+
font-size: var(--font-size-large-2);
|
|
18
|
+
font-weight: var(--font-weight-bold);
|
|
19
19
|
line-height: 32px;
|
|
20
20
|
}
|
|
21
21
|
.large-text-1 {
|
|
22
|
-
font-size: 1
|
|
23
|
-
font-weight:
|
|
22
|
+
font-size: var(--font-size-large-1);
|
|
23
|
+
font-weight: var(--font-weight-bold);
|
|
24
24
|
line-height: 28px;
|
|
25
25
|
}
|
|
26
26
|
.medium-text {
|
|
27
|
-
font-size:
|
|
27
|
+
font-size: var(--font-size-medium);
|
|
28
28
|
line-height: 24px;
|
|
29
29
|
}
|
|
30
30
|
.regular-text {
|
|
31
|
-
font-size:
|
|
31
|
+
font-size: var(--font-size-default);
|
|
32
32
|
line-height: 20px;
|
|
33
33
|
}
|
|
34
34
|
.small-text {
|
|
35
|
-
font-size:
|
|
35
|
+
font-size: var(--font-size-small);
|
|
36
36
|
line-height: 16px;
|
|
37
37
|
}
|
|
38
38
|
.bold-text {
|
|
39
|
-
font-weight:
|
|
39
|
+
font-weight: var(--font-weight-bold);
|
|
40
40
|
}
|
|
41
41
|
.secondary-text {
|
|
42
42
|
color: var(--typography-secondary-text-color, var(--color-foreground-secondary));
|
|
@@ -55,49 +55,49 @@
|
|
|
55
55
|
}
|
|
56
56
|
.giant-product-title,
|
|
57
57
|
.giant-section-title {
|
|
58
|
-
font-size:
|
|
58
|
+
font-size: var(--font-size-large-2);
|
|
59
59
|
line-height: 30px;
|
|
60
60
|
}
|
|
61
61
|
.large-product-title,
|
|
62
62
|
.large-section-title {
|
|
63
|
-
font-size: 1
|
|
63
|
+
font-size: var(--font-size-large-1);
|
|
64
64
|
line-height: 24px;
|
|
65
65
|
}
|
|
66
66
|
.medium-product-title,
|
|
67
67
|
.medium-section-title {
|
|
68
|
-
font-size:
|
|
68
|
+
font-size: var(--font-size-medium);
|
|
69
69
|
line-height: 20px;
|
|
70
70
|
}
|
|
71
71
|
.small-product-title,
|
|
72
72
|
.small-section-title {
|
|
73
|
-
font-size:
|
|
73
|
+
font-size: var(--font-size-default);
|
|
74
74
|
line-height: 16px;
|
|
75
75
|
}
|
|
76
76
|
.giant-section-title,
|
|
77
77
|
.large-section-title,
|
|
78
78
|
.medium-section-title,
|
|
79
79
|
.small-section-title {
|
|
80
|
-
font-weight:
|
|
80
|
+
font-weight: var(--font-weight-bold);
|
|
81
81
|
}
|
|
82
82
|
@media (min-width: 512px) {
|
|
83
83
|
.giant-product-title,
|
|
84
84
|
.giant-section-title {
|
|
85
|
-
font-size: 1
|
|
85
|
+
font-size: var(--font-size-giant-1);
|
|
86
86
|
line-height: 36px;
|
|
87
87
|
}
|
|
88
88
|
.large-product-title,
|
|
89
89
|
.large-section-title {
|
|
90
|
-
font-size:
|
|
90
|
+
font-size: var(--font-size-large-2);
|
|
91
91
|
line-height: 30px;
|
|
92
92
|
}
|
|
93
93
|
.medium-product-title,
|
|
94
94
|
.medium-section-title {
|
|
95
|
-
font-size: 1
|
|
95
|
+
font-size: var(--font-size-large-1);
|
|
96
96
|
line-height: 24px;
|
|
97
97
|
}
|
|
98
98
|
.small-product-title,
|
|
99
99
|
.small-section-title {
|
|
100
|
-
font-size:
|
|
100
|
+
font-size: var(--font-size-medium);
|
|
101
101
|
line-height: 20px;
|
|
102
102
|
}
|
|
103
103
|
}
|
package/dist/utility/utility.css
CHANGED
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
content: "";
|
|
56
56
|
display: block;
|
|
57
57
|
left: 0;
|
|
58
|
+
pointer-events: none;
|
|
58
59
|
position: absolute;
|
|
59
60
|
right: 0;
|
|
60
61
|
top: 0;
|
|
@@ -79,6 +80,7 @@
|
|
|
79
80
|
content: "";
|
|
80
81
|
display: block;
|
|
81
82
|
left: 0;
|
|
83
|
+
pointer-events: none;
|
|
82
84
|
position: absolute;
|
|
83
85
|
right: 0;
|
|
84
86
|
top: 0;
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
@_page-grid-outside-margins-small: 16px;
|
|
20
20
|
@_page-grid-outside-margins-large: 32px;
|
|
21
21
|
@_page-grid-outside-margins-max: 48px;
|
|
22
|
-
@_page-grid-column-gaps-small:
|
|
23
|
-
@_page-grid-column-gaps-large:
|
|
24
|
-
@_page-grid-row-gaps-small:
|
|
25
|
-
@_page-grid-row-gaps-large:
|
|
22
|
+
@_page-grid-column-gaps-small: var(--spacing-100);
|
|
23
|
+
@_page-grid-column-gaps-large: var(--spacing-200);
|
|
24
|
+
@_page-grid-row-gaps-small: var(--spacing-100);
|
|
25
|
+
@_page-grid-row-gaps-large: var(--spacing-200);
|
|
26
26
|
|
|
27
27
|
@marketsans-url: "https://ir.ebaystatic.com/cr/v/c1/market-sans/v1.0/";
|
|
28
28
|
@marketsans-fontname: "Market Sans";
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
@marketsans-filename-bold: "MarketSans-SemiBold-WebS";
|
|
31
31
|
|
|
32
32
|
@font-family-default: @marketsans-fontname, Arial, sans-serif;
|
|
33
|
-
|
|
33
|
+
// TODO: remove these in next major version
|
|
34
34
|
@font-weight-regular: 500;
|
|
35
35
|
@font-weight-bold: 700;
|
|
36
36
|
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
@spacing-250: @spacing-100 * 2.5;
|
|
56
56
|
@spacing-300: @spacing-100 * 3;
|
|
57
57
|
@spacing-400: @spacing-100 * 4;
|
|
58
|
+
@spacing-450: @spacing-100 * 4.5;
|
|
58
59
|
@spacing-600: @spacing-100 * 6;
|
|
59
60
|
@spacing-800: @spacing-100 * 8;
|
|
60
61
|
|
package/dist/video/video.css
CHANGED
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
display: none;
|
|
28
28
|
}
|
|
29
29
|
.video-player__report-button > svg {
|
|
30
|
-
margin-
|
|
30
|
+
-webkit-margin-end: var(--spacing-50);
|
|
31
|
+
margin-inline-end: var(--spacing-50);
|
|
31
32
|
}
|
|
32
33
|
.video-player .shaka-overflow-menu svg {
|
|
33
34
|
height: 24px;
|
|
@@ -54,7 +55,3 @@
|
|
|
54
55
|
.video-player--poster .shaka-scrim-container {
|
|
55
56
|
visibility: hidden;
|
|
56
57
|
}
|
|
57
|
-
[dir="rtl"] .video-player__report-button > svg {
|
|
58
|
-
margin-left: 4px;
|
|
59
|
-
margin-right: 0;
|
|
60
|
-
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ebay/skin",
|
|
3
3
|
"description": "Skin - CSS modules that represent the brand eBay",
|
|
4
|
-
"version": "16.
|
|
4
|
+
"version": "16.8.0-0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"maintainers": [
|
|
@@ -59,21 +59,21 @@
|
|
|
59
59
|
"storybook": "npm run copy:assetsToStorybook && cross-env STORYBOOK_DS=6 storybook dev -c .storybook"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@babel/cli": "^7.
|
|
63
|
-
"@babel/core": "^7.
|
|
64
|
-
"@babel/preset-env": "^7.
|
|
62
|
+
"@babel/cli": "^7.23.0",
|
|
63
|
+
"@babel/core": "^7.23.0",
|
|
64
|
+
"@babel/preset-env": "^7.22.20",
|
|
65
65
|
"@commitlint/cli": "^17.6.3",
|
|
66
66
|
"@commitlint/config-conventional": "^17.6.3",
|
|
67
67
|
"@ebay/browserslist-config": "^2.6.0",
|
|
68
|
-
"@percy/cli": "^1.
|
|
68
|
+
"@percy/cli": "^1.27.2",
|
|
69
69
|
"@percy/storybook": "^4.3.6",
|
|
70
|
-
"@storybook/html": "^7.
|
|
71
|
-
"@storybook/html-webpack5": "^7.
|
|
70
|
+
"@storybook/html": "^7.4.5",
|
|
71
|
+
"@storybook/html-webpack5": "^7.4.5",
|
|
72
72
|
"babel-loader": "^9.1.2",
|
|
73
73
|
"browser-sync": "^2.29.3",
|
|
74
74
|
"btoa": "^1",
|
|
75
75
|
"cross-env": "^7",
|
|
76
|
-
"eslint": "^8.
|
|
76
|
+
"eslint": "^8.50.0",
|
|
77
77
|
"eslint-config-ebay": "^1",
|
|
78
78
|
"eslint-config-prettier": "^9",
|
|
79
79
|
"eslint-plugin-prettier": "^5",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"npm-run-all": "^4",
|
|
118
118
|
"postcss-less": "^6.0.0",
|
|
119
119
|
"postcss-loader": "^7.3.0",
|
|
120
|
-
"prettier": "^3.0.
|
|
120
|
+
"prettier": "^3.0.3",
|
|
121
121
|
"rimraf": "^5",
|
|
122
122
|
"storybook": "~7.1.1",
|
|
123
123
|
"stylelint": "^15.6.2",
|
|
@@ -15,6 +15,7 @@ const config = YAML.parse(file);
|
|
|
15
15
|
const { html2xhtml } = require("./util");
|
|
16
16
|
const { query } = require("winston");
|
|
17
17
|
const genText = "This is a generated file, DO NOT EDIT";
|
|
18
|
+
const defsList = [];
|
|
18
19
|
|
|
19
20
|
async function getFiles(dir) {
|
|
20
21
|
const dirents = await fs.promises.readdir(dir, { withFileTypes: true });
|
|
@@ -120,7 +121,12 @@ class GenerateImages {
|
|
|
120
121
|
svgFragment.setAttribute("id", name);
|
|
121
122
|
svgFragment.removeAttribute("xmlns");
|
|
122
123
|
svgFragment.removeAttribute("width");
|
|
123
|
-
svgFragment.removeAttribute("
|
|
124
|
+
svgFragment.removeAttribute("height");
|
|
125
|
+
const defs = svgFragment.querySelector("defs");
|
|
126
|
+
if (defs) {
|
|
127
|
+
defsList.push(defs);
|
|
128
|
+
defs.remove();
|
|
129
|
+
}
|
|
124
130
|
|
|
125
131
|
return svgFragment;
|
|
126
132
|
}
|
|
@@ -174,6 +180,17 @@ class GenerateImages {
|
|
|
174
180
|
await this.processSvg(filePath, filename, lessFile);
|
|
175
181
|
}),
|
|
176
182
|
);
|
|
183
|
+
if (defsList.length) {
|
|
184
|
+
const fragment = this.masterDocument.createDocumentFragment();
|
|
185
|
+
defsList.forEach((defs) => {
|
|
186
|
+
Array.from(defs.children).forEach((defChild) => {
|
|
187
|
+
fragment.appendChild(defChild);
|
|
188
|
+
});
|
|
189
|
+
});
|
|
190
|
+
const defsEl = this.masterDocument.createElement("defs");
|
|
191
|
+
defsEl.appendChild(fragment);
|
|
192
|
+
masterSvg.appendChild(defsEl);
|
|
193
|
+
}
|
|
177
194
|
|
|
178
195
|
lessFile.sort(sortMethod);
|
|
179
196
|
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
.alert-dialog__window {
|
|
11
11
|
.lightbox-dialog-window();
|
|
12
12
|
|
|
13
|
-
margin-left:
|
|
14
|
-
margin-right:
|
|
15
|
-
padding:
|
|
13
|
+
margin-left: var(--spacing-200);
|
|
14
|
+
margin-right: var(--spacing-200);
|
|
15
|
+
padding: var(--spacing-200);
|
|
16
16
|
text-align: center;
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.alert-dialog__main {
|
|
26
|
-
margin:
|
|
27
|
-
min-height:
|
|
26
|
+
margin: var(--spacing-200) 0;
|
|
27
|
+
min-height: var(--spacing-200);
|
|
28
28
|
|
|
29
29
|
& > :first-child {
|
|
30
30
|
margin-top: 0;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
|
|
85
85
|
@media (min-width: @_screen-size-MD) {
|
|
86
86
|
.alert-dialog__window {
|
|
87
|
-
max-width: calc(88% -
|
|
87
|
+
max-width: calc(88% - var(--spacing-400));
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
border-radius: 50%;
|
|
7
7
|
color: var(--color-marketing-teal-foreground-5);
|
|
8
8
|
display: inline-flex;
|
|
9
|
-
font-size:
|
|
10
|
-
font-weight:
|
|
9
|
+
font-size: var(--font-size-large-2);
|
|
10
|
+
font-weight: var(--font-weight-bold);
|
|
11
11
|
height: 48px;
|
|
12
12
|
justify-content: center;
|
|
13
13
|
line-height: 48px;
|
|
@@ -62,49 +62,49 @@
|
|
|
62
62
|
|
|
63
63
|
.avatar--32,
|
|
64
64
|
.avatar--32 > img {
|
|
65
|
-
font-size:
|
|
65
|
+
font-size: var(--font-size-medium);
|
|
66
66
|
height: 32px;
|
|
67
67
|
line-height: 32px;
|
|
68
68
|
width: 32px;
|
|
69
69
|
}
|
|
70
70
|
.avatar--40,
|
|
71
71
|
.avatar--40 > img {
|
|
72
|
-
font-size:
|
|
72
|
+
font-size: var(--font-size-large-1);
|
|
73
73
|
height: 40px;
|
|
74
74
|
line-height: 40px;
|
|
75
75
|
width: 40px;
|
|
76
76
|
}
|
|
77
77
|
.avatar--48,
|
|
78
78
|
.avatar--48 > img {
|
|
79
|
-
font-size:
|
|
79
|
+
font-size: var(--font-size-large-2);
|
|
80
80
|
height: 48px;
|
|
81
81
|
line-height: 48px;
|
|
82
82
|
width: 48px;
|
|
83
83
|
}
|
|
84
84
|
.avatar--56,
|
|
85
85
|
.avatar--56 > img {
|
|
86
|
-
font-size:
|
|
86
|
+
font-size: var(--font-size-giant-1);
|
|
87
87
|
height: 56px;
|
|
88
88
|
line-height: 56px;
|
|
89
89
|
width: 56px;
|
|
90
90
|
}
|
|
91
91
|
.avatar--64,
|
|
92
92
|
.avatar--64 > img {
|
|
93
|
-
font-size:
|
|
93
|
+
font-size: var(--font-size-giant-2);
|
|
94
94
|
height: 64px;
|
|
95
95
|
line-height: 64px;
|
|
96
96
|
width: 64px;
|
|
97
97
|
}
|
|
98
98
|
.avatar--96,
|
|
99
99
|
.avatar--96 > img {
|
|
100
|
-
font-size:
|
|
100
|
+
font-size: var(--font-size-giant-3);
|
|
101
101
|
height: 96px;
|
|
102
102
|
line-height: 96px;
|
|
103
103
|
width: 96px;
|
|
104
104
|
}
|
|
105
105
|
.avatar--128,
|
|
106
106
|
.avatar--128 > img {
|
|
107
|
-
font-size:
|
|
107
|
+
font-size: var(--font-size-giant-4);
|
|
108
108
|
height: 128px;
|
|
109
109
|
line-height: 128px;
|
|
110
110
|
width: 128px;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
nav.breadcrumbs {
|
|
5
5
|
.color-token(breadcrumbs-item-foreground-color, color-foreground-secondary);
|
|
6
|
-
font-size:
|
|
6
|
+
font-size: var(--font-size-small);
|
|
7
7
|
height: fit-content;
|
|
8
8
|
margin: 8px 0;
|
|
9
9
|
min-height: 16px;
|
|
@@ -92,11 +92,11 @@ nav.breadcrumbs .menu-button__button {
|
|
|
92
92
|
--icon-button-background-color,
|
|
93
93
|
var(--color-background-secondary)
|
|
94
94
|
);
|
|
95
|
-
height:
|
|
96
|
-
min-height:
|
|
97
|
-
min-width:
|
|
95
|
+
height: var(--spacing-300);
|
|
96
|
+
min-height: var(--spacing-300);
|
|
97
|
+
min-width: var(--spacing-300);
|
|
98
98
|
outline-offset: 1px;
|
|
99
|
-
width:
|
|
99
|
+
width: var(--spacing-300);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
nav.breadcrumbs .fake-menu-button__button svg.icon,
|
|
@@ -106,7 +106,7 @@ nav.breadcrumbs .menu-button__button svg.icon {
|
|
|
106
106
|
|
|
107
107
|
nav.breadcrumbs .fake-menu-button__menu,
|
|
108
108
|
nav.breadcrumbs .menu-button__menu {
|
|
109
|
-
font-size:
|
|
109
|
+
font-size: var(--font-size-default);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
[dir="rtl"] nav.breadcrumbs svg.icon--chevron-right-12 {
|
|
@@ -10,7 +10,7 @@ a.fake-btn {
|
|
|
10
10
|
border-radius: var(--btn-border-radius, calc(@button-height-regular / 2));
|
|
11
11
|
color: inherit;
|
|
12
12
|
display: inline-block;
|
|
13
|
-
font-size:
|
|
13
|
+
font-size: var(--font-size-default);
|
|
14
14
|
min-height: @button-height-regular;
|
|
15
15
|
min-width: 88px;
|
|
16
16
|
padding: @button-padding-vertical @button-padding-horizontal;
|
|
@@ -53,8 +53,8 @@ button.btn--slim,
|
|
|
53
53
|
a.fake-btn--slim {
|
|
54
54
|
height: @button-height-regular;
|
|
55
55
|
min-width: auto;
|
|
56
|
-
padding-left:
|
|
57
|
-
padding-right:
|
|
56
|
+
padding-left: var(--spacing-100);
|
|
57
|
+
padding-right: var(--spacing-100);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
a.fake-btn:visited {
|
|
@@ -345,7 +345,7 @@ a.fake-btn--large {
|
|
|
345
345
|
button.btn--small,
|
|
346
346
|
a.fake-btn--small {
|
|
347
347
|
border-radius: var(--btn-border-radius, calc(@button-height-xsmall / 2));
|
|
348
|
-
font-size:
|
|
348
|
+
font-size: var(--font-size-default);
|
|
349
349
|
min-height: @button-height-xsmall;
|
|
350
350
|
padding: @button-padding-vertical-small @button-padding-horizontal-small;
|
|
351
351
|
}
|
|
@@ -405,7 +405,7 @@ button.btn--large-truncated,
|
|
|
405
405
|
a.fake-btn--large-truncated {
|
|
406
406
|
.btn-truncate();
|
|
407
407
|
|
|
408
|
-
font-size:
|
|
408
|
+
font-size: var(--font-size-medium);
|
|
409
409
|
height: @button-height-large;
|
|
410
410
|
min-height: @button-height-large;
|
|
411
411
|
padding: @button-padding-vertical-large @button-padding-horizontal;
|
|
@@ -479,24 +479,6 @@ button.btn--floating-label .btn__floating-label--inline {
|
|
|
479
479
|
transform: translate(0, -6px);
|
|
480
480
|
}
|
|
481
481
|
|
|
482
|
-
[dir="rtl"] button.btn svg.icon--chevron-down-12,
|
|
483
|
-
[dir="rtl"] a.fake-btn svg.icon--chevron-down-12 {
|
|
484
|
-
&:first-child {
|
|
485
|
-
margin-left: 8px;
|
|
486
|
-
margin-right: 0;
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
&:last-child {
|
|
490
|
-
margin-left: 0;
|
|
491
|
-
margin-right: 8px;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
&:only-child {
|
|
495
|
-
margin-left: 0;
|
|
496
|
-
margin-right: 0;
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
|
|
500
482
|
[dir="rtl"] {
|
|
501
483
|
button.btn--split-start,
|
|
502
484
|
a.fake-btn--split-start {
|
|
@@ -526,10 +508,4 @@ button.btn--floating-label .btn__floating-label--inline {
|
|
|
526
508
|
.border-right-color-token(primary-border-split-color, color-stroke-subtle);
|
|
527
509
|
}
|
|
528
510
|
}
|
|
529
|
-
|
|
530
|
-
button.btn svg.icon,
|
|
531
|
-
a.fake-btn svg.icon {
|
|
532
|
-
margin-left: 8px;
|
|
533
|
-
margin-right: 0;
|
|
534
|
-
}
|
|
535
511
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.calendar__header .icon-btn svg {
|
|
43
|
-
width:
|
|
43
|
+
width: var(--spacing-200);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/************
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.calendar__month + .calendar__month {
|
|
61
|
-
padding-left:
|
|
61
|
+
padding-left: var(--spacing-200);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/************
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.calendar__month > table {
|
|
77
|
-
border-spacing: 0
|
|
77
|
+
border-spacing: 0 var(--spacing-150);
|
|
78
78
|
width: 100%;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.calendar__month th {
|
|
82
82
|
.color-token(calendar-day-label-color, color-foreground-secondary);
|
|
83
83
|
font-weight: normal;
|
|
84
|
-
line-height:
|
|
84
|
+
line-height: var(--spacing-125);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.calendar__month td {
|
|
@@ -93,15 +93,15 @@
|
|
|
93
93
|
align-items: center;
|
|
94
94
|
background: none;
|
|
95
95
|
border: 1px solid transparent;
|
|
96
|
-
border-radius:
|
|
96
|
+
border-radius: var(--spacing-200);
|
|
97
97
|
border-style: none; // Only effects high contrast users
|
|
98
98
|
box-sizing: border-box;
|
|
99
99
|
color: inherit;
|
|
100
100
|
display: inline-flex;
|
|
101
101
|
font: inherit;
|
|
102
|
-
height:
|
|
102
|
+
height: var(--spacing-400);
|
|
103
103
|
justify-content: center;
|
|
104
|
-
width:
|
|
104
|
+
width: var(--spacing-400);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
/************
|
|
@@ -17,29 +17,19 @@
|
|
|
17
17
|
.background-color-token(carousel-paddle-background-color, color-background-primary);
|
|
18
18
|
|
|
19
19
|
&--prev {
|
|
20
|
-
left:
|
|
20
|
+
left: calc(var(--spacing-200) * -1);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&--next {
|
|
24
|
-
right:
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// deprecated
|
|
28
|
-
.icon--chevron-right-24 {
|
|
29
|
-
margin-left: 2px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// deprecated
|
|
33
|
-
.icon--chevron-left-24 {
|
|
34
|
-
margin-left: -2px;
|
|
24
|
+
right: calc(var(--spacing-200) * -1);
|
|
35
25
|
}
|
|
36
26
|
|
|
37
27
|
.icon--chevron-right-12 {
|
|
38
|
-
margin-
|
|
28
|
+
margin-inline-start: 1px;
|
|
39
29
|
}
|
|
40
30
|
|
|
41
31
|
.icon--chevron-left-12 {
|
|
42
|
-
margin-
|
|
32
|
+
margin-inline-end: 1px;
|
|
43
33
|
}
|
|
44
34
|
|
|
45
35
|
align-items: center;
|
|
@@ -205,35 +195,14 @@ span.carousel__container {
|
|
|
205
195
|
[dir="rtl"] {
|
|
206
196
|
.carousel__control--prev {
|
|
207
197
|
left: unset;
|
|
208
|
-
right:
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
// deprecated
|
|
212
|
-
.carousel__control .icon--chevron-left-24 {
|
|
213
|
-
margin-left: 2px;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.carousel__control .icon--chevron-left-12 {
|
|
217
|
-
margin-left: 1px;
|
|
198
|
+
right: calc(var(--spacing-200) * -1);
|
|
218
199
|
}
|
|
219
200
|
|
|
220
201
|
.carousel__control--next {
|
|
221
|
-
left:
|
|
202
|
+
left: calc(var(--spacing-200) * -1);
|
|
222
203
|
right: unset;
|
|
223
204
|
}
|
|
224
205
|
|
|
225
|
-
// deprecated
|
|
226
|
-
.carousel__control .icon--chevron-right-24 {
|
|
227
|
-
margin-left: -2px;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.carousel__control .icon--chevron-right-12 {
|
|
231
|
-
margin-left: -1px;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
// deprecated (first two selectors only)
|
|
235
|
-
.carousel__control .icon--chevron-left-24,
|
|
236
|
-
.carousel__control .icon--chevron-right-24,
|
|
237
206
|
.carousel__control .icon--chevron-left-12,
|
|
238
207
|
.carousel__control .icon--chevron-right-12 {
|
|
239
208
|
transform: rotate(180deg);
|
package/src/less/chip/chip.less
CHANGED
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
.chip {
|
|
4
4
|
align-items: center;
|
|
5
5
|
background-color: var(--color-background-tertiary);
|
|
6
|
-
border-radius:
|
|
6
|
+
border-radius: var(--spacing-400);
|
|
7
7
|
color: var(--color-foreground-primary);
|
|
8
8
|
display: inline-flex;
|
|
9
|
-
font-size:
|
|
9
|
+
font-size: var(--font-size-default);
|
|
10
10
|
gap: 2px;
|
|
11
11
|
justify-content: space-between;
|
|
12
12
|
max-width: 296px;
|
|
13
|
-
min-height:
|
|
13
|
+
min-height: var(--spacing-250);
|
|
14
14
|
min-width: 32px;
|
|
15
|
-
padding: 0
|
|
15
|
+
padding: 0 var(--spacing-150);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.chip__text {
|
|
19
19
|
overflow: hidden;
|
|
20
|
-
padding:
|
|
20
|
+
padding: var(--spacing-75) 0;
|
|
21
21
|
text-overflow: ellipsis;
|
|
22
22
|
white-space: nowrap;
|
|
23
23
|
}
|
|
@@ -28,11 +28,11 @@ button.chip__button {
|
|
|
28
28
|
border-radius: 50px;
|
|
29
29
|
box-sizing: border-box;
|
|
30
30
|
flex-shrink: 0;
|
|
31
|
-
height:
|
|
31
|
+
height: var(--spacing-300);
|
|
32
32
|
line-height: 0;
|
|
33
33
|
margin-inline-end: -8px;
|
|
34
34
|
padding: 0;
|
|
35
|
-
width:
|
|
35
|
+
width: var(--spacing-300);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
button.chip__button:focus-visible {
|
|
@@ -35,6 +35,11 @@ span.combobox {
|
|
|
35
35
|
.dropdown-reverse();
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
.combobox__control > svg.icon,
|
|
39
|
+
.combobox__control > button {
|
|
40
|
+
margin-inline-start: 8px;
|
|
41
|
+
}
|
|
42
|
+
|
|
38
43
|
.combobox__option[role^="option"] {
|
|
39
44
|
.listbox-option-base();
|
|
40
45
|
.dropdown-item-border-radius(combobox-listbox);
|
|
@@ -88,7 +93,6 @@ span.combobox {
|
|
|
88
93
|
|
|
89
94
|
.combobox__control > svg.icon--chevron-down-12 {
|
|
90
95
|
.color-token(combobox-textbox-icon-color, color-foreground-primary);
|
|
91
|
-
margin-left: 8px;
|
|
92
96
|
pointer-events: none;
|
|
93
97
|
position: absolute;
|
|
94
98
|
right: 17px; // +1 px for the border on the input box
|
|
@@ -177,7 +181,7 @@ span.combobox {
|
|
|
177
181
|
}
|
|
178
182
|
|
|
179
183
|
.combobox--large .combobox__control > input {
|
|
180
|
-
font-size:
|
|
184
|
+
font-size: var(--font-size-18);
|
|
181
185
|
height: @height-textbox + 8px;
|
|
182
186
|
}
|
|
183
187
|
|
|
@@ -205,8 +209,6 @@ span.combobox {
|
|
|
205
209
|
|
|
206
210
|
.combobox__control > svg.icon,
|
|
207
211
|
.combobox__control > button {
|
|
208
|
-
margin-left: 0;
|
|
209
|
-
margin-right: 8px;
|
|
210
212
|
right: unset;
|
|
211
213
|
}
|
|
212
214
|
|