@ebay/skin 18.0.1 → 18.0.3

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.
@@ -28,8 +28,8 @@ span.menu__items[role="menu"] {
28
28
  padding: 0;
29
29
  }
30
30
 
31
- .fake-menu__item > svg.icon--tick-16,
32
- .menu__item > svg.icon--tick-16 {
31
+ .fake-menu__item > svg.icon--16,
32
+ .menu__item > svg.icon--16 {
33
33
  align-self: center;
34
34
  fill: currentColor;
35
35
  margin: 0 auto;
@@ -39,9 +39,9 @@ span.menu__items[role="menu"] {
39
39
  }
40
40
 
41
41
  .fake-menu__item .badge,
42
- .fake-menu__item > svg.icon--tick-16:last-child,
42
+ .fake-menu__item > svg.icon--16:last-child,
43
43
  .menu__item .badge,
44
- .menu__item > svg.icon--tick-16:last-child {
44
+ .menu__item > svg.icon--16:last-child {
45
45
  margin-left: var(--spacing-100);
46
46
  margin-right: var(--spacing-100);
47
47
  }
@@ -106,8 +106,8 @@ a.fake-menu__item:focus {
106
106
  text-decoration: underline;
107
107
  }
108
108
 
109
- a.fake-menu__item[aria-current="page"] svg.icon--tick-16,
110
- button.fake-menu__item[aria-current="page"] svg.icon--tick-16 {
109
+ a.fake-menu__item[aria-current="page"] svg.icon--16,
110
+ button.fake-menu__item[aria-current="page"] svg.icon--16 {
111
111
  opacity: 1;
112
112
  }
113
113
 
@@ -122,7 +122,7 @@ div.menu__item[role^="menuitem"][aria-disabled="true"] {
122
122
  font-weight: unset;
123
123
  }
124
124
 
125
- div.menu__item[role^="menuitem"][aria-checked="true"] svg.icon--tick-16 {
125
+ div.menu__item[role^="menuitem"][aria-checked="true"] svg.icon--16 {
126
126
  opacity: 1;
127
127
  }
128
128
 
@@ -109,8 +109,8 @@ div.menu-button__item[role^="menuitem"]:last-child {
109
109
  );
110
110
  }
111
111
 
112
- .fake-menu-button__item svg.icon--tick-16,
113
- .menu-button__item svg.icon--tick-16 {
112
+ .fake-menu-button__item svg.icon--16,
113
+ .menu-button__item svg.icon--16 {
114
114
  align-self: center;
115
115
  fill: currentColor;
116
116
  margin: 0 auto;
@@ -119,8 +119,8 @@ div.menu-button__item[role^="menuitem"]:last-child {
119
119
  stroke-width: 0;
120
120
  }
121
121
 
122
- .fake-menu-button__item svg.icon--tick-16:last-child,
123
- .menu-button__item svg.icon--tick-16:last-child {
122
+ .fake-menu-button__item svg.icon--16:last-child,
123
+ .menu-button__item svg.icon--16:last-child {
124
124
  margin-left: var(--spacing-100);
125
125
  }
126
126
  a.fake-menu-button__item {
@@ -145,9 +145,9 @@ button.fake-menu-button__item {
145
145
  text-align: left;
146
146
  }
147
147
 
148
- a.fake-menu-button__item[aria-current="page"] svg.icon--tick-16,
149
- button.fake-menu-button__item[aria-current="page"] svg.icon--tick-16,
150
- div.menu-button__item[role^="menuitem"][aria-checked="true"] svg.icon--tick-16 {
148
+ a.fake-menu-button__item[aria-current="page"] svg.icon--16,
149
+ button.fake-menu-button__item[aria-current="page"] svg.icon--16,
150
+ div.menu-button__item[role^="menuitem"][aria-checked="true"] svg.icon--16 {
151
151
  opacity: 1;
152
152
  }
153
153
 
@@ -21,15 +21,15 @@ div.star-rating[data-stars^="4"] svg:nth-child(-n + 4),
21
21
  div.star-rating[data-stars^="5"] svg:nth-child(-n + 5) {
22
22
  --color-star-rating-full: var(
23
23
  --color-star-rating-filled,
24
- $color-star-rating-icon-filled-foreground
24
+ var(--color-foreground-primary)
25
25
  );
26
26
  --color-star-rating-full-stroke: var(
27
27
  --color-star-rating-filled-stroke,
28
- $color-star-rating-icon-filled-stroke
28
+ var(--color-foreground-primary)
29
29
  );
30
30
  --color-star-rating-half-stroke: var(
31
31
  --color-star-rating-filled-stroke,
32
- $color-star-rating-icon-filled-stroke
32
+ var(--color-foreground-primary)
33
33
  );
34
34
  }
35
35
  div.star-rating[data-stars="0-5"] svg:first-child,
@@ -4,7 +4,6 @@
4
4
  "require: ./avatar.js",
5
5
  "require: ./badge.js",
6
6
  "require: ./breadcrumbs.js",
7
- "require: ./bundles.js",
8
7
  "require: ./button.js",
9
8
  "require: ./calendar.js",
10
9
  "require: ./carousel.js",
package/index.css CHANGED
@@ -2,7 +2,6 @@
2
2
  @import "./avatar.css";
3
3
  @import "./badge.css";
4
4
  @import "./breadcrumbs.css";
5
- @import "./bundles.css";
6
5
  @import "./button.css";
7
6
  @import "./calendar.css";
8
7
  @import "./carousel.css";
package/index.js CHANGED
@@ -2,7 +2,6 @@ require('./alert-dialog.js');
2
2
  require('./avatar.js');
3
3
  require('./badge.js');
4
4
  require('./breadcrumbs.js');
5
- require('./bundles.js');
6
5
  require('./button.js');
7
6
  require('./calendar.js');
8
7
  require('./carousel.js');
package/index.mjs CHANGED
@@ -2,7 +2,6 @@ import './alert-dialog.css';
2
2
  import './avatar.css';
3
3
  import './badge.css';
4
4
  import './breadcrumbs.css';
5
- import './bundles.css';
6
5
  import './button.css';
7
6
  import './calendar.css';
8
7
  import './carousel.css';
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": "18.0.1",
4
+ "version": "18.0.3",
5
5
  "license": "MIT",
6
6
  "main": "./index.js",
7
7
  "maintainers": [
@@ -73,22 +73,22 @@
73
73
  "@babel/core": "^7.24.7",
74
74
  "@babel/preset-env": "^7.24.7",
75
75
  "@changesets/changelog-github": "^0.5.0",
76
- "@changesets/cli": "^2.27.6",
76
+ "@changesets/cli": "^2.27.7",
77
77
  "@commitlint/cli": "^19.3.0",
78
78
  "@commitlint/config-conventional": "^19.2.2",
79
79
  "@ebay/browserslist-config": "^2.9.0",
80
- "@floating-ui/dom": "^1.6.6",
80
+ "@floating-ui/dom": "^1.6.7",
81
81
  "@percy/cli": "^1.28.8",
82
82
  "@percy/storybook": "^6.0.0",
83
- "@storybook/html": "^8.1.10",
84
- "@storybook/html-webpack5": "^8.1.10",
83
+ "@storybook/html": "^8.1.11",
84
+ "@storybook/html-webpack5": "^8.1.11",
85
85
  "autoprefixer": "^10.4.19",
86
86
  "babel-loader": "^9.1.3",
87
87
  "browser-sync": "^3.0.2",
88
88
  "btoa": "^1",
89
89
  "cross-env": "^7",
90
90
  "cssnano": "^7.0.3",
91
- "eslint": "^9.5.0",
91
+ "eslint": "^9.6.0",
92
92
  "eslint-config-ebay": "^1",
93
93
  "eslint-config-prettier": "^9",
94
94
  "eslint-plugin-prettier": "^5",
@@ -107,15 +107,15 @@
107
107
  "makeup-dialog-button": "~0.4.0",
108
108
  "makeup-drawer-dialog": "0.2.0",
109
109
  "makeup-expander": "~0.11.0",
110
- "makeup-floating-label": "~0.4.1",
110
+ "makeup-floating-label": "~0.4.2",
111
111
  "makeup-fullscreen-dialog": "0.2.0",
112
112
  "makeup-input-dialog": "0.2.0",
113
113
  "makeup-key-emitter": "~0.4.0",
114
114
  "makeup-lightbox-dialog": "0.2.0",
115
115
  "makeup-listbox": "~0.4.0",
116
116
  "makeup-listbox-button": "~0.5.0",
117
- "makeup-menu": "~0.4.0",
118
- "makeup-menu-button": "~0.4.0",
117
+ "makeup-menu": "~0.4.1",
118
+ "makeup-menu-button": "~0.4.1",
119
119
  "makeup-modal": "~0.5.0",
120
120
  "makeup-panel-dialog": "0.2.0",
121
121
  "makeup-prevent-scroll-keys": "~0.3.0",
@@ -134,7 +134,7 @@
134
134
  "rimraf": "^5",
135
135
  "sass": "^1.77.6",
136
136
  "sass-loader": "^14.2.1",
137
- "storybook": "^8.1.10",
137
+ "storybook": "^8.1.11",
138
138
  "stylelint": "^16.6.1",
139
139
  "stylelint-config-prettier-scss": "^1.0.0",
140
140
  "stylelint-config-standard": "^36",
@@ -172,7 +172,7 @@
172
172
  "*.{css,scss}": "stylelint --config .stylelintrc"
173
173
  },
174
174
  "dependencies": {
175
- "postcss": "^8.4.38",
175
+ "postcss": "^8.4.39",
176
176
  "postcss-mixins": "^10.0.1",
177
177
  "postcss-nested": "^6.0.1",
178
178
  "postcss-simple-vars": "^7.0.1"
@@ -12,7 +12,7 @@
12
12
  "textbox"
13
13
  ]
14
14
  },
15
- "skip": ["mixins", "tokens", "svg", "icon-large", "variables"],
15
+ "skip": ["bundles", "mixins", "tokens", "svg", "icon-large", "variables"],
16
16
  "skipIndex": ["dark-mode", "rounded-off", "variables"],
17
17
  "overrideFile": {},
18
18
  "addModules": {
@@ -5,42 +5,50 @@ svg {
5
5
  &.icon {
6
6
  @include icon-base-mixin();
7
7
  }
8
- &.icon--12 {
8
+ &.icon--12,
9
+ &.icon--12-fit {
9
10
  height: 12px;
10
11
  width: 12px;
11
12
  }
12
13
 
13
- &.icon--16 {
14
+ &.icon--16,
15
+ &.icon--16-fit {
14
16
  height: 16px;
15
17
  width: 16px;
16
18
  }
17
19
 
18
- &.icon--18 {
20
+ &.icon--18,
21
+ &.icon--18-fit {
19
22
  height: 18px;
20
23
  width: 18px;
21
24
  }
22
25
 
23
- &.icon--20 {
26
+ &.icon--20,
27
+ &.icon--20-fit {
24
28
  height: 20px;
25
29
  width: 20px;
26
30
  }
27
31
 
28
- &.icon--24 {
32
+ &.icon--24,
33
+ &.icon--24-fit {
29
34
  height: 24px;
30
35
  width: 24px;
31
36
  }
32
37
 
33
- &.icon--30 {
38
+ &.icon--30,
39
+ &.icon--30-fit {
34
40
  height: 30px;
35
41
  width: 30px;
36
42
  }
37
43
 
38
- &.icon--32 {
44
+ &.icon--32,
45
+ &.icon--32-fit {
39
46
  height: 32px;
40
47
  width: 32px;
41
48
  }
42
49
 
43
- &.icon--64 {
50
+ &.icon--64,
51
+ &.icon--64-fit {
44
52
  height: 32px;
45
53
  width: 64px;
46
54
  }
@@ -30,13 +30,13 @@ span.fake-menu__items {
30
30
  padding: 0;
31
31
  }
32
32
 
33
- .menu__item > svg.icon--tick-16,
34
- .fake-menu__item > svg.icon--tick-16 {
33
+ .menu__item > svg.icon--16,
34
+ .fake-menu__item > svg.icon--16 {
35
35
  @include menu-menuitem-status();
36
36
  }
37
37
 
38
- .menu__item > svg.icon--tick-16:last-child,
39
- .fake-menu__item > svg.icon--tick-16:last-child,
38
+ .menu__item > svg.icon--16:last-child,
39
+ .fake-menu__item > svg.icon--16:last-child,
40
40
  .fake-menu__item .badge,
41
41
  .menu__item .badge {
42
42
  margin-left: var(--spacing-100);
@@ -63,8 +63,8 @@ a.fake-menu__item:focus {
63
63
  text-decoration: underline;
64
64
  }
65
65
 
66
- a.fake-menu__item[aria-current="page"] svg.icon--tick-16,
67
- button.fake-menu__item[aria-current="page"] svg.icon--tick-16 {
66
+ a.fake-menu__item[aria-current="page"] svg.icon--16,
67
+ button.fake-menu__item[aria-current="page"] svg.icon--16 {
68
68
  opacity: 1;
69
69
  }
70
70
 
@@ -80,7 +80,7 @@ div.menu__item[role^="menuitem"][aria-disabled="true"] {
80
80
  font-weight: unset;
81
81
  }
82
82
 
83
- div.menu__item[role^="menuitem"][aria-checked="true"] svg.icon--tick-16 {
83
+ div.menu__item[role^="menuitem"][aria-checked="true"] svg.icon--16 {
84
84
  opacity: 1;
85
85
  }
86
86
 
@@ -42,13 +42,13 @@ div.menu-button__item[role^="menuitem"] {
42
42
  cursor: default; /* needed to override text cursor */
43
43
  }
44
44
 
45
- .menu-button__item svg.icon--tick-16,
46
- .fake-menu-button__item svg.icon--tick-16 {
45
+ .menu-button__item svg.icon--16,
46
+ .fake-menu-button__item svg.icon--16 {
47
47
  @include menu-menuitem-status();
48
48
  }
49
49
 
50
- .menu-button__item svg.icon--tick-16:last-child,
51
- .fake-menu-button__item svg.icon--tick-16:last-child {
50
+ .menu-button__item svg.icon--16:last-child,
51
+ .fake-menu-button__item svg.icon--16:last-child {
52
52
  margin-left: var(--spacing-100);
53
53
  }
54
54
 
@@ -87,12 +87,12 @@ button.fake-menu-button__item {
87
87
  text-align: left;
88
88
  }
89
89
 
90
- a.fake-menu-button__item[aria-current="page"] svg.icon--tick-16,
91
- button.fake-menu-button__item[aria-current="page"] svg.icon--tick-16 {
90
+ a.fake-menu-button__item[aria-current="page"] svg.icon--16,
91
+ button.fake-menu-button__item[aria-current="page"] svg.icon--16 {
92
92
  opacity: 1;
93
93
  }
94
94
 
95
- div.menu-button__item[role^="menuitem"][aria-checked="true"] svg.icon--tick-16 {
95
+ div.menu-button__item[role^="menuitem"][aria-checked="true"] svg.icon--16 {
96
96
  opacity: 1;
97
97
  }
98
98
 
@@ -31,15 +31,15 @@ div.star-rating[data-stars^="4"] svg:nth-child(-n + 4),
31
31
  div.star-rating[data-stars^="5"] svg:nth-child(-n + 5) {
32
32
  --color-star-rating-full: var(
33
33
  --color-star-rating-filled,
34
- $color-star-rating-icon-filled-foreground
34
+ #{$color-star-rating-icon-filled-foreground}
35
35
  );
36
36
  --color-star-rating-full-stroke: var(
37
37
  --color-star-rating-filled-stroke,
38
- $color-star-rating-icon-filled-stroke
38
+ #{$color-star-rating-icon-filled-stroke}
39
39
  );
40
40
  --color-star-rating-half-stroke: var(
41
41
  --color-star-rating-filled-stroke,
42
- $color-star-rating-icon-filled-stroke
42
+ #{$color-star-rating-icon-filled-stroke}
43
43
  );
44
44
  }
45
45
 
@@ -1 +0,0 @@
1
- { "dependencies": ["require: ./bundles.js"] }
package/bundles.css DELETED
@@ -1 +0,0 @@
1
- @import "./dist/bundles/bundles.css";
package/bundles.js DELETED
@@ -1 +0,0 @@
1
- require('./dist/bundles/bundles.css');
package/bundles.mjs DELETED
@@ -1 +0,0 @@
1
- import './dist/bundles/bundles.css';