@ebay/skin 15.0.0 → 15.1.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/.github/PULL_REQUEST_TEMPLATE.md +1 -0
- package/_cdn/skin/v15.1.0-0/skin-default.min.css +6 -0
- package/_cdn/skin/v15.1.0-0/skin-full.min.css +6 -0
- package/_cdn/skin/v15.1.0-0/skin-headless.min.css +6 -0
- package/_cdn/skin/v15.1.0-0/skin-legacy.min.css +6 -0
- package/dist/combobox/combobox.css +6 -0
- package/dist/drawer-dialog/drawer-dialog.css +11 -5
- package/dist/filter-menu/filter-menu.css +54 -45
- package/dist/filter-menu-button/filter-menu-button.css +24 -0
- package/dist/floating-label/floating-label.css +12 -0
- package/dist/fullscreen-dialog/fullscreen-dialog.css +3 -0
- package/dist/inline-notice/inline-notice.css +1 -1
- package/dist/lightbox-dialog/lightbox-dialog.css +3 -0
- package/dist/listbox/listbox.css +6 -0
- package/dist/listbox-button/listbox-button.css +22 -0
- package/dist/menu/menu.css +2 -0
- package/dist/page-notice/page-notice.css +4 -1
- package/dist/panel-dialog/panel-dialog.css +3 -0
- package/dist/section-notice/section-notice.css +4 -1
- package/dist/tourtip/tourtip.css +28 -0
- package/package.json +21 -21
- package/src/less/drawer-dialog/drawer-dialog.less +10 -5
- package/src/less/drawer-dialog/stories/drawer-dialog.stories.js +12 -174
- package/src/less/filter-menu/filter-menu.less +16 -52
- package/src/less/filter-menu/stories/filter-menu.stories.js +40 -0
- package/src/less/floating-label/floating-label.less +15 -0
- package/src/less/floating-label/stories/floating-label.stories.js +1 -1
- package/src/less/inline-notice/inline-notice.less +1 -1
- package/src/less/lightbox-dialog/stories/lightbox-dialog.stories.js +23 -0
- package/src/less/listbox-button/listbox-button.less +20 -0
- package/src/less/listbox-button/stories/base.stories.js +48 -41
- package/src/less/listbox-button/stories/cascade.stories.js +21 -18
- package/src/less/listbox-button/stories/dimensions.stories.js +7 -6
- package/src/less/menu/menu.less +2 -0
- package/src/less/mixins/private/dialog-mixins.less +3 -0
- package/src/less/mixins/private/filter-menu-mixins.less +13 -0
- package/src/less/mixins/private/listbox-mixins.less +7 -0
- package/src/less/page-notice/page-notice.less +5 -1
- package/src/less/page-notice/stories/page-notice.stories.js +16 -0
- package/src/less/section-notice/section-notice.less +5 -1
- package/src/less/section-notice/stories/section-notice.stories.js +16 -0
- package/src/less/tourtip/stories/tourtip.stories.js +51 -0
- package/src/less/tourtip/tourtip.less +40 -0
- package/_cdn/skin/v15.0.0/skin-default.min.css +0 -6
- package/_cdn/skin/v15.0.0/skin-full.min.css +0 -6
- package/_cdn/skin/v15.0.0/skin-headless.min.css +0 -6
- package/_cdn/skin/v15.0.0/skin-legacy.min.css +0 -6
|
@@ -167,6 +167,18 @@ span.filter-menu-button__radio svg.icon--radio-checked {
|
|
|
167
167
|
.filter-menu-button__item:hover {
|
|
168
168
|
background-color: var(--color-state-primary-hover, color-state-primary-hover);
|
|
169
169
|
}
|
|
170
|
+
.filter-menu-button__item:disabled,
|
|
171
|
+
.filter-menu-button__item[aria-disabled="true"] {
|
|
172
|
+
color: var(--filter-menu-item-foreground-color-disabled, var(--color-foreground-disabled));
|
|
173
|
+
}
|
|
174
|
+
.filter-menu-button__item:disabled span > svg,
|
|
175
|
+
.filter-menu-button__item[aria-disabled="true"] span > svg {
|
|
176
|
+
color: var(--filter-menu-item-icon-color-disabled, var(--color-foreground-disabled));
|
|
177
|
+
}
|
|
178
|
+
.filter-menu-button__item:disabled:hover,
|
|
179
|
+
.filter-menu-button__item[aria-disabled="true"]:hover {
|
|
180
|
+
background-color: inherit;
|
|
181
|
+
}
|
|
170
182
|
.filter-menu-button__item:hover {
|
|
171
183
|
background-color: var(--color-state-primary-hover);
|
|
172
184
|
}
|
|
@@ -215,6 +227,18 @@ button.filter-menu-button__footer {
|
|
|
215
227
|
button.filter-menu-button__footer:hover {
|
|
216
228
|
background-color: var(--color-state-primary-hover, color-state-primary-hover);
|
|
217
229
|
}
|
|
230
|
+
button.filter-menu-button__footer:disabled,
|
|
231
|
+
button.filter-menu-button__footer[aria-disabled="true"] {
|
|
232
|
+
color: var(--filter-menu-item-foreground-color-disabled, var(--color-foreground-disabled));
|
|
233
|
+
}
|
|
234
|
+
button.filter-menu-button__footer:disabled span > svg,
|
|
235
|
+
button.filter-menu-button__footer[aria-disabled="true"] span > svg {
|
|
236
|
+
color: var(--filter-menu-item-icon-color-disabled, var(--color-foreground-disabled));
|
|
237
|
+
}
|
|
238
|
+
button.filter-menu-button__footer:disabled:hover,
|
|
239
|
+
button.filter-menu-button__footer[aria-disabled="true"]:hover {
|
|
240
|
+
background-color: inherit;
|
|
241
|
+
}
|
|
218
242
|
button.filter-menu-button__footer:focus,
|
|
219
243
|
button.filter-menu-button__footer:hover {
|
|
220
244
|
background-color: var(--color-state-primary-hover);
|
|
@@ -23,9 +23,18 @@ label.floating-label__label {
|
|
|
23
23
|
width: calc(100% - 40px);
|
|
24
24
|
z-index: 1;
|
|
25
25
|
}
|
|
26
|
+
.floating-label--opaque label.floating-label__label {
|
|
27
|
+
background-color: var(--floating-label-background-color, var(--color-background-secondary));
|
|
28
|
+
padding-top: 3px;
|
|
29
|
+
top: -3px;
|
|
30
|
+
width: calc(100% - 40px);
|
|
31
|
+
}
|
|
26
32
|
label.floating-label__label--focus {
|
|
27
33
|
color: var(--color-background-inverse);
|
|
28
34
|
}
|
|
35
|
+
.floating-label--opaque label.floating-label__label--focus {
|
|
36
|
+
background-color: var(--floating-label-focus-background-color, var(--color-background-primary));
|
|
37
|
+
}
|
|
29
38
|
.floating-label--large label.floating-label__label {
|
|
30
39
|
transform: scale(0.75, 0.75) translate(0, 3px);
|
|
31
40
|
}
|
|
@@ -42,6 +51,9 @@ label.floating-label__label--animate {
|
|
|
42
51
|
label.floating-label__label--disabled {
|
|
43
52
|
color: var(--floating-label-disabled-color, var(--color-foreground-disabled));
|
|
44
53
|
}
|
|
54
|
+
.floating-label--opaque label.floating-label__label--disabled {
|
|
55
|
+
background-color: var(--floating-label-disabled-background-color, var(--color-background-secondary));
|
|
56
|
+
}
|
|
45
57
|
label.floating-label__label--invalid {
|
|
46
58
|
color: var(--floating-label-invalid-color, var(--color-foreground-attention));
|
|
47
59
|
}
|
package/dist/listbox/listbox.css
CHANGED
|
@@ -47,6 +47,12 @@ div.listbox__option[role="option"]:hover {
|
|
|
47
47
|
div.listbox__option[role="option"]:active {
|
|
48
48
|
font-weight: bold;
|
|
49
49
|
}
|
|
50
|
+
div.listbox__option[role="option"]:disabled,
|
|
51
|
+
div.listbox__option[role="option"][aria-disabled="true"] {
|
|
52
|
+
color: var(--listbox-option-disabled-foreground-color, var(--color-foreground-disabled));
|
|
53
|
+
background-color: unset;
|
|
54
|
+
font-weight: unset;
|
|
55
|
+
}
|
|
50
56
|
span.listbox__value {
|
|
51
57
|
overflow: hidden;
|
|
52
58
|
text-overflow: ellipsis;
|
|
@@ -56,6 +56,17 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox,
|
|
|
56
56
|
.listbox-button button.btn--borderless[aria-expanded="true"] ~ .listbox-button__listbox {
|
|
57
57
|
top: 41px;
|
|
58
58
|
}
|
|
59
|
+
.listbox-button .btn__label {
|
|
60
|
+
color: var(--listbox-button-label-color, var(--color-foreground-secondary));
|
|
61
|
+
margin-right: 3px;
|
|
62
|
+
}
|
|
63
|
+
.listbox-button--expanded .btn__label {
|
|
64
|
+
color: var(--listbox-button-label-color, var(--color-foreground-primary));
|
|
65
|
+
}
|
|
66
|
+
.listbox-button .btn__text {
|
|
67
|
+
font-weight: bold;
|
|
68
|
+
margin-right: auto;
|
|
69
|
+
}
|
|
59
70
|
.listbox-button__options[role="listbox"]:focus .listbox-button__option--active[role="option"] {
|
|
60
71
|
background-color: var(--color-state-primary-hover);
|
|
61
72
|
}
|
|
@@ -103,6 +114,12 @@ div.listbox-button__option[role="option"]:hover {
|
|
|
103
114
|
div.listbox-button__option[role="option"]:active {
|
|
104
115
|
font-weight: bold;
|
|
105
116
|
}
|
|
117
|
+
div.listbox-button__option[role="option"]:disabled,
|
|
118
|
+
div.listbox-button__option[role="option"][aria-disabled="true"] {
|
|
119
|
+
color: var(--listbox-option-disabled-foreground-color, var(--color-foreground-disabled));
|
|
120
|
+
background-color: unset;
|
|
121
|
+
font-weight: unset;
|
|
122
|
+
}
|
|
106
123
|
div.listbox-button__option[role="option"]:first-child {
|
|
107
124
|
border-top-left-radius: var(--listbox-button-listbox-border-radius, var(--border-radius-50));
|
|
108
125
|
border-top-right-radius: var(--listbox-button-listbox-border-radius, var(--border-radius-50));
|
|
@@ -127,3 +144,8 @@ span.listbox-button__value {
|
|
|
127
144
|
margin-left: 0;
|
|
128
145
|
margin-right: 8px;
|
|
129
146
|
}
|
|
147
|
+
[dir="rtl"] .listbox-button .btn__label {
|
|
148
|
+
color: var(--listbox-button-label-color, var(--color-foreground-secondary));
|
|
149
|
+
margin-left: 3px;
|
|
150
|
+
margin-right: 0;
|
|
151
|
+
}
|
package/dist/menu/menu.css
CHANGED
|
@@ -88,6 +88,8 @@ a.fake-menu__item:not([href]),
|
|
|
88
88
|
button.fake-menu__item[disabled],
|
|
89
89
|
div.menu__item[role^="menuitem"][aria-disabled="true"] {
|
|
90
90
|
color: var(--menu-menuitem-disabled-foreground-color, var(--color-foreground-disabled));
|
|
91
|
+
background-color: unset;
|
|
92
|
+
font-weight: unset;
|
|
91
93
|
}
|
|
92
94
|
div.menu__item[role^="menuitem"][aria-checked="true"] svg.icon--tick-small {
|
|
93
95
|
opacity: 1;
|
|
@@ -86,9 +86,12 @@ span[role="region"].page-notice {
|
|
|
86
86
|
grid-row: 1;
|
|
87
87
|
text-align: right;
|
|
88
88
|
}
|
|
89
|
-
/* support legacy 6.5 notice with heading + paragaphs */
|
|
90
89
|
.page-notice__main p {
|
|
91
90
|
font-size: 0.875rem;
|
|
91
|
+
margin: 2px 0 0;
|
|
92
|
+
}
|
|
93
|
+
/* support legacy 6.5 notice with heading + paragaphs */
|
|
94
|
+
.page-notice__main .page-notice__title ~ p {
|
|
92
95
|
margin: 4px 0 0;
|
|
93
96
|
}
|
|
94
97
|
p.page-notice__cta {
|
|
@@ -56,9 +56,12 @@ span[role="region"].section-notice {
|
|
|
56
56
|
padding-left: 0;
|
|
57
57
|
width: auto;
|
|
58
58
|
}
|
|
59
|
-
/* support legacy 6.5 notice with heading + paragaphs */
|
|
60
59
|
.section-notice__main p {
|
|
61
60
|
font-size: 0.875rem;
|
|
61
|
+
margin: 0;
|
|
62
|
+
}
|
|
63
|
+
/* support legacy 6.5 notice with heading + paragaphs */
|
|
64
|
+
.section-notice__main .section-notice__title ~ p {
|
|
62
65
|
margin: 4px 0 0;
|
|
63
66
|
}
|
|
64
67
|
/* LARGE SCREEN ADJUSTMENTS */
|
package/dist/tourtip/tourtip.css
CHANGED
|
@@ -33,6 +33,7 @@ span.tourtip__mask {
|
|
|
33
33
|
display: flex;
|
|
34
34
|
padding: 8px 16px;
|
|
35
35
|
word-break: break-word;
|
|
36
|
+
flex-wrap: wrap;
|
|
36
37
|
}
|
|
37
38
|
.tourtip__cell a {
|
|
38
39
|
color: var(--tourtip-foreground-color, var(--color-foreground-primary));
|
|
@@ -42,6 +43,7 @@ span.tourtip__mask {
|
|
|
42
43
|
}
|
|
43
44
|
.tourtip__content {
|
|
44
45
|
flex-grow: 1;
|
|
46
|
+
flex-basis: 0;
|
|
45
47
|
}
|
|
46
48
|
.tourtip__content p {
|
|
47
49
|
margin: 0;
|
|
@@ -59,6 +61,7 @@ button.tourtip__close {
|
|
|
59
61
|
padding: 0;
|
|
60
62
|
white-space: nowrap;
|
|
61
63
|
width: 32px;
|
|
64
|
+
outline-offset: -2px;
|
|
62
65
|
}
|
|
63
66
|
button.tourtip__close > svg {
|
|
64
67
|
fill: currentColor;
|
|
@@ -143,6 +146,31 @@ span.tourtip__heading {
|
|
|
143
146
|
.tourtip--expanded .tourtip__overlay {
|
|
144
147
|
display: block;
|
|
145
148
|
}
|
|
149
|
+
.tourtip__footer {
|
|
150
|
+
align-items: center;
|
|
151
|
+
display: flex;
|
|
152
|
+
justify-content: end;
|
|
153
|
+
margin-top: 16px;
|
|
154
|
+
width: 100%;
|
|
155
|
+
}
|
|
156
|
+
.tourtip__footer > button:not(:last-child),
|
|
157
|
+
.tourtip__footer > a:not(:last-child) {
|
|
158
|
+
margin-right: 8px;
|
|
159
|
+
}
|
|
160
|
+
.tourtip__footer > .fake-link,
|
|
161
|
+
.tourtip__footer > a {
|
|
162
|
+
color: var(--color-foreground-primary);
|
|
163
|
+
text-decoration: none;
|
|
164
|
+
}
|
|
165
|
+
.tourtip__footer > .fake-link:hover:not(:disabled),
|
|
166
|
+
.tourtip__footer > a:hover:not(:disabled) {
|
|
167
|
+
color: var(--color-foreground-primary);
|
|
168
|
+
text-decoration: underline;
|
|
169
|
+
}
|
|
170
|
+
.tourtip__index {
|
|
171
|
+
color: var(--tourtip-index-color, var(--color-foreground-secondary));
|
|
172
|
+
flex: 1;
|
|
173
|
+
}
|
|
146
174
|
@media (min-width: 601px) {
|
|
147
175
|
.tourtip__overlay {
|
|
148
176
|
max-width: 400px;
|
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": "15.
|
|
4
|
+
"version": "15.1.0-0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"maintainers": [
|
|
@@ -48,31 +48,32 @@
|
|
|
48
48
|
"verify": "node scripts verify",
|
|
49
49
|
"version": "node scripts/jekyll-config && npm run build:storybook && npm run build && git add -A dist docs",
|
|
50
50
|
"transpile": "babel docs/src/js --out-dir docs/_babel",
|
|
51
|
-
"snapshots": "
|
|
52
|
-
"snapshots:
|
|
53
|
-
"snapshots:
|
|
54
|
-
"snapshots:execute:
|
|
55
|
-
"snapshots:
|
|
56
|
-
"snapshots:all:
|
|
51
|
+
"build:snapshots": "npm run copy:assetsToStorybook && cross-env STORYBOOK_DS=6 build-storybook -o ./.storybook-percy",
|
|
52
|
+
"snapshots": "npm run build:snapshots && npx gulp runSnapshots --stories $STORIES",
|
|
53
|
+
"snapshots:dry": "npm run build:snapshots && npx gulp runSnapshots --dry yes --stories $STORIES",
|
|
54
|
+
"snapshots:execute": "npm run build:snapshots && percy storybook ./.storybook-percy --include",
|
|
55
|
+
"snapshots:execute:dry": "percy storybook ./.storybook-percy --dry-run --include",
|
|
56
|
+
"snapshots:all": "npm run build:snapshots && percy storybook ./.storybook-percy --include '.*'",
|
|
57
|
+
"snapshots:all:dry": "npm run build:snapshots && percy storybook --dry-run ./.storybook-percy --include '.*'",
|
|
57
58
|
"storybook": "npm run copy:assetsToStorybook && cross-env STORYBOOK_DS=6 start-storybook -s ."
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
60
61
|
"@babel/cli": "^7.18.10",
|
|
61
|
-
"@babel/core": "^7.
|
|
62
|
-
"@babel/preset-env": "^7.
|
|
63
|
-
"@commitlint/cli": "^17.
|
|
64
|
-
"@commitlint/config-conventional": "^17.0
|
|
65
|
-
"@ebay/browserslist-config": "^2.
|
|
66
|
-
"@percy/cli": "^1.10.
|
|
62
|
+
"@babel/core": "^7.19.1",
|
|
63
|
+
"@babel/preset-env": "^7.19.1",
|
|
64
|
+
"@commitlint/cli": "^17.1.2",
|
|
65
|
+
"@commitlint/config-conventional": "^17.1.0",
|
|
66
|
+
"@ebay/browserslist-config": "^2.4.1",
|
|
67
|
+
"@percy/cli": "^1.10.4",
|
|
67
68
|
"@percy/storybook": "^4.3.1",
|
|
68
|
-
"@storybook/builder-webpack5": "^6.5.
|
|
69
|
-
"@storybook/html": "^6.5.
|
|
70
|
-
"@storybook/manager-webpack5": "^6.5.
|
|
69
|
+
"@storybook/builder-webpack5": "^6.5.12",
|
|
70
|
+
"@storybook/html": "^6.5.12",
|
|
71
|
+
"@storybook/manager-webpack5": "^6.5.12",
|
|
71
72
|
"babel-loader": "^8.2.5",
|
|
72
73
|
"browser-sync": "^2.27.10",
|
|
73
74
|
"btoa": "^1",
|
|
74
75
|
"cross-env": "^7",
|
|
75
|
-
"eslint": "^8.
|
|
76
|
+
"eslint": "^8.24.0",
|
|
76
77
|
"eslint-config-ebay": "^1",
|
|
77
78
|
"eslint-config-prettier": "^8",
|
|
78
79
|
"eslint-plugin-prettier": "^4",
|
|
@@ -116,21 +117,20 @@
|
|
|
116
117
|
"mkdirp": "^1",
|
|
117
118
|
"ncp": "^2",
|
|
118
119
|
"npm-run-all": "^4",
|
|
119
|
-
"percy": "~0.28.1",
|
|
120
120
|
"postcss-less": "^6.0.0",
|
|
121
121
|
"postcss-loader": "^7.0.0",
|
|
122
122
|
"prettier": "^2.7.1",
|
|
123
123
|
"rimraf": "^3",
|
|
124
|
-
"stylelint": "^14.
|
|
124
|
+
"stylelint": "^14.12.1",
|
|
125
125
|
"stylelint-config-prettier": "^9",
|
|
126
126
|
"stylelint-config-standard": "^28",
|
|
127
|
-
"stylelint-no-unsupported-browser-features": "^5.0.
|
|
127
|
+
"stylelint-no-unsupported-browser-features": "^5.0.4",
|
|
128
128
|
"stylelint-order": "^5",
|
|
129
129
|
"stylelint-prettier": "^2",
|
|
130
130
|
"svgo": "^2.7.0",
|
|
131
131
|
"webpack": "^5.74.0",
|
|
132
132
|
"webpack-cli": "^4.10.0",
|
|
133
|
-
"winston": "^3.
|
|
133
|
+
"winston": "^3.8.2",
|
|
134
134
|
"xmlserializer": "^0.6.1",
|
|
135
135
|
"yargs": "^17.5.1"
|
|
136
136
|
},
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
.dialog-header-content();
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
.drawer-dialog__header .fake-link {
|
|
20
|
+
text-decoration: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
19
23
|
.drawer-dialog__handle {
|
|
20
24
|
background-color: transparent;
|
|
21
25
|
border: none;
|
|
@@ -30,12 +34,12 @@
|
|
|
30
34
|
|
|
31
35
|
// Added :after class in order to increase parent hit box
|
|
32
36
|
.drawer-dialog__handle::after {
|
|
33
|
-
.background-color-token(dialog-handle-color, color-
|
|
34
|
-
border-radius:
|
|
37
|
+
.background-color-token(dialog-handle-color, color-stroke-default);
|
|
38
|
+
border-radius: 3px;
|
|
35
39
|
content: "";
|
|
36
40
|
display: block;
|
|
37
|
-
height:
|
|
38
|
-
width:
|
|
41
|
+
height: 2px;
|
|
42
|
+
width: 24px;
|
|
39
43
|
}
|
|
40
44
|
|
|
41
45
|
.drawer-dialog__main {
|
|
@@ -61,7 +65,8 @@
|
|
|
61
65
|
}
|
|
62
66
|
|
|
63
67
|
// inherits from .icon-btn
|
|
64
|
-
button
|
|
68
|
+
// Added icon button selector so it doesn't override fake-link
|
|
69
|
+
button.icon-button.drawer-dialog__close {
|
|
65
70
|
background-color: transparent;
|
|
66
71
|
border: 0;
|
|
67
72
|
height: auto;
|
|
@@ -211,181 +211,19 @@ export const full = () => `
|
|
|
211
211
|
</div>
|
|
212
212
|
`;
|
|
213
213
|
|
|
214
|
-
export const
|
|
215
|
-
<div aria-labelledby="drawer-title
|
|
216
|
-
class="drawer drawer--
|
|
217
|
-
|
|
218
|
-
<
|
|
219
|
-
|
|
220
|
-
<
|
|
221
|
-
<button aria-label="Close dialog" class="drawer__close" type="button">
|
|
222
|
-
<svg aria-hidden="true" class="icon icon--close" focusable="false" height="16" width="16">
|
|
223
|
-
<use xlink:href="#icon-close"></use>
|
|
224
|
-
</svg>
|
|
225
|
-
</button>
|
|
226
|
-
</div>
|
|
227
|
-
<div class="drawer__main">
|
|
228
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
229
|
-
et dolore
|
|
230
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
231
|
-
ea commodo
|
|
232
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
233
|
-
nulla pariatur.
|
|
234
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
235
|
-
est laborum.</p>
|
|
236
|
-
<p><a href="http://www.ebay.com">www.ebay.com</a></p>
|
|
237
|
-
</div>
|
|
238
|
-
</div>
|
|
239
|
-
</div>
|
|
240
|
-
`;
|
|
241
|
-
|
|
242
|
-
export const bottomContainerLong = () => `
|
|
243
|
-
<div aria-labelledby="drawer-title-default" aria-modal="true"
|
|
244
|
-
class="drawer drawer--mask-fade-slow" id="default-0" role="dialog">
|
|
245
|
-
<div class="drawer__window drawer__window--slide">
|
|
246
|
-
<button aria-label="Toggle Expanded" class="drawer__handle"></button>
|
|
247
|
-
<div class="drawer__header">
|
|
248
|
-
<h2 id="dialog-title-default" class="large-text-1 bold-text">Heading</h2>
|
|
249
|
-
<button aria-label="Close dialog" class="drawer__close" type="button">
|
|
250
|
-
<svg aria-hidden="true" class="icon icon--close" focusable="false" height="16" width="16">
|
|
251
|
-
<use xlink:href="#icon-close"></use>
|
|
252
|
-
</svg>
|
|
253
|
-
</button>
|
|
254
|
-
</div>
|
|
255
|
-
<div class="drawer__main">
|
|
256
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
257
|
-
et dolore
|
|
258
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
259
|
-
ea commodo
|
|
260
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
261
|
-
nulla pariatur.
|
|
262
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
263
|
-
est laborum.</p>
|
|
264
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
265
|
-
et dolore
|
|
266
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
267
|
-
ea commodo
|
|
268
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
269
|
-
nulla pariatur.
|
|
270
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
271
|
-
est laborum.</p>
|
|
272
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
273
|
-
et dolore
|
|
274
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
275
|
-
ea commodo
|
|
276
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
277
|
-
nulla pariatur.
|
|
278
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
279
|
-
est laborum.</p>
|
|
280
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
281
|
-
et dolore
|
|
282
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
283
|
-
ea commodo
|
|
284
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
285
|
-
nulla pariatur.
|
|
286
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
287
|
-
est laborum.</p>
|
|
288
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
289
|
-
et dolore
|
|
290
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
291
|
-
ea commodo
|
|
292
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
293
|
-
nulla pariatur.
|
|
294
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
295
|
-
est laborum.</p>
|
|
296
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
297
|
-
et dolore
|
|
298
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
299
|
-
ea commodo
|
|
300
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
301
|
-
nulla pariatur.
|
|
302
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
303
|
-
est laborum.</p>
|
|
304
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
305
|
-
et dolore
|
|
306
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
307
|
-
ea commodo
|
|
308
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
309
|
-
nulla pariatur.
|
|
310
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
311
|
-
est laborum.</p>
|
|
312
|
-
<p><a href="http://www.ebay.com">www.ebay.com</a></p>
|
|
313
|
-
</div>
|
|
314
|
-
</div>
|
|
315
|
-
</div>
|
|
316
|
-
|
|
317
|
-
`;
|
|
318
|
-
|
|
319
|
-
export const bottomContainerExpanded = () => `
|
|
320
|
-
<div aria-labelledby="drawer-title-default" aria-modal="true"
|
|
321
|
-
class="drawer drawer--mask-fade-slow" id="default-0" role="dialog">
|
|
322
|
-
<div class="drawer__window drawer__window--expanded drawer__window--slide">
|
|
323
|
-
<button aria-label="Toggle Expanded" class="drawer__handle"></button>
|
|
324
|
-
<div class="drawer__header">
|
|
325
|
-
<h2 id="dialog-title-default" class="large-text-1 bold-text">Heading</h2>
|
|
326
|
-
<button aria-label="Close dialog" class="drawer__close" type="button">
|
|
327
|
-
<svg aria-hidden="true" class="icon icon--close" focusable="false" height="16" width="16">
|
|
328
|
-
<use xlink:href="#icon-close"></use>
|
|
329
|
-
</svg>
|
|
330
|
-
</button>
|
|
214
|
+
export const textClose = () => `
|
|
215
|
+
<div aria-labelledby="drawer-dialog-title" aria-modal="true" class="drawer-dialog drawer-dialog--mask-fade-slow" role="dialog">
|
|
216
|
+
<div class="drawer-dialog__window drawer-dialog__window--slide">
|
|
217
|
+
<button class="drawer-dialog__handle"></button>
|
|
218
|
+
<div class="drawer-dialog__header">
|
|
219
|
+
<h2 id="dialog-title" class="large-text-1 bold-text">Heading</h2>
|
|
220
|
+
<button class="fake-link">Apply</button>
|
|
331
221
|
</div>
|
|
332
|
-
<div class="
|
|
333
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
338
|
-
nulla pariatur.
|
|
339
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
340
|
-
est laborum.</p>
|
|
341
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
342
|
-
et dolore
|
|
343
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
344
|
-
ea commodo
|
|
345
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
346
|
-
nulla pariatur.
|
|
347
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
348
|
-
est laborum.</p>
|
|
349
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
350
|
-
et dolore
|
|
351
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
352
|
-
ea commodo
|
|
353
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
354
|
-
nulla pariatur.
|
|
355
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
356
|
-
est laborum.</p>
|
|
357
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
358
|
-
et dolore
|
|
359
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
360
|
-
ea commodo
|
|
361
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
362
|
-
nulla pariatur.
|
|
363
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
364
|
-
est laborum.</p>
|
|
365
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
366
|
-
et dolore
|
|
367
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
368
|
-
ea commodo
|
|
369
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
370
|
-
nulla pariatur.
|
|
371
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
372
|
-
est laborum.</p>
|
|
373
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
374
|
-
et dolore
|
|
375
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
376
|
-
ea commodo
|
|
377
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
378
|
-
nulla pariatur.
|
|
379
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
380
|
-
est laborum.</p>
|
|
381
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
382
|
-
et dolore
|
|
383
|
-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
384
|
-
ea commodo
|
|
385
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
386
|
-
nulla pariatur.
|
|
387
|
-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
|
|
388
|
-
est laborum.</p>
|
|
222
|
+
<div class="drawer-dialog__main">
|
|
223
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore
|
|
224
|
+
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
|
|
225
|
+
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
|
226
|
+
</p>
|
|
389
227
|
<p><a href="http://www.ebay.com">www.ebay.com</a></p>
|
|
390
228
|
</div>
|
|
391
229
|
</div>
|