@ebay/skin 19.20.0 → 19.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5882,11 +5882,11 @@ span.infotip{
5882
5882
  display:none;
5883
5883
  font-size:14px;
5884
5884
  left:0;
5885
- max-width:344px;
5885
+ min-width:280px;
5886
5886
  position:absolute;
5887
5887
  top:0;
5888
5888
  transform:scaleX(1);
5889
- width:max-content;
5889
+ width:fit-content;
5890
5890
  }
5891
5891
  .infotip__mask,.infotip__overlay{
5892
5892
  background-color:var(--infotip-background-color, var(--color-background-elevated));
@@ -6004,6 +6004,7 @@ span.infotip__mask{
6004
6004
  @media (min-width:512px){
6005
6005
  .infotip__overlay{
6006
6006
  max-width:400px;
6007
+ width:max-content;
6007
6008
  }
6008
6009
  }
6009
6010
  .inline-notice{
@@ -11637,11 +11638,11 @@ span.tooltip{
11637
11638
  display:none;
11638
11639
  font-size:14px;
11639
11640
  left:0;
11640
- max-width:344px;
11641
+ min-width:280px;
11641
11642
  position:absolute;
11642
11643
  top:0;
11643
11644
  transform:scaleX(1);
11644
- width:max-content;
11645
+ width:fit-content;
11645
11646
  }
11646
11647
  .tooltip__mask,.tooltip__overlay{
11647
11648
  border-radius:var(--bubble-border-radius, var(--border-radius-50));
@@ -11759,6 +11760,7 @@ button.tooltip__close{
11759
11760
  @media (min-width:512px){
11760
11761
  .tooltip__overlay{
11761
11762
  max-width:400px;
11763
+ width:max-content;
11762
11764
  }
11763
11765
  }
11764
11766
  .tourtip{
@@ -11772,11 +11774,11 @@ span.tourtip{
11772
11774
  display:none;
11773
11775
  font-size:14px;
11774
11776
  left:0;
11775
- max-width:344px;
11777
+ min-width:280px;
11776
11778
  position:absolute;
11777
11779
  top:0;
11778
11780
  transform:scaleX(1);
11779
- width:max-content;
11781
+ width:fit-content;
11780
11782
  }
11781
11783
  .tourtip__mask,.tourtip__overlay{
11782
11784
  border-radius:var(--bubble-border-radius, var(--border-radius-100));
@@ -11930,6 +11932,7 @@ span.tourtip__mask{
11930
11932
  @media (min-width:512px){
11931
11933
  .tourtip__overlay{
11932
11934
  max-width:400px;
11935
+ width:max-content;
11933
11936
  }
11934
11937
  }
11935
11938
  .giant-text-3{
@@ -6096,11 +6096,11 @@ span.infotip{
6096
6096
  display:none;
6097
6097
  font-size:14px;
6098
6098
  left:0;
6099
- max-width:344px;
6099
+ min-width:280px;
6100
6100
  position:absolute;
6101
6101
  top:0;
6102
6102
  transform:scaleX(1);
6103
- width:max-content;
6103
+ width:fit-content;
6104
6104
  }
6105
6105
  .infotip__mask,.infotip__overlay{
6106
6106
  background-color:var(--infotip-background-color, var(--color-background-elevated));
@@ -6218,6 +6218,7 @@ span.infotip__mask{
6218
6218
  @media (min-width:512px){
6219
6219
  .infotip__overlay{
6220
6220
  max-width:400px;
6221
+ width:max-content;
6221
6222
  }
6222
6223
  }
6223
6224
  .inline-notice{
@@ -11851,11 +11852,11 @@ span.tooltip{
11851
11852
  display:none;
11852
11853
  font-size:14px;
11853
11854
  left:0;
11854
- max-width:344px;
11855
+ min-width:280px;
11855
11856
  position:absolute;
11856
11857
  top:0;
11857
11858
  transform:scaleX(1);
11858
- width:max-content;
11859
+ width:fit-content;
11859
11860
  }
11860
11861
  .tooltip__mask,.tooltip__overlay{
11861
11862
  border-radius:var(--bubble-border-radius, var(--border-radius-50));
@@ -11973,6 +11974,7 @@ button.tooltip__close{
11973
11974
  @media (min-width:512px){
11974
11975
  .tooltip__overlay{
11975
11976
  max-width:400px;
11977
+ width:max-content;
11976
11978
  }
11977
11979
  }
11978
11980
  .tourtip{
@@ -11986,11 +11988,11 @@ span.tourtip{
11986
11988
  display:none;
11987
11989
  font-size:14px;
11988
11990
  left:0;
11989
- max-width:344px;
11991
+ min-width:280px;
11990
11992
  position:absolute;
11991
11993
  top:0;
11992
11994
  transform:scaleX(1);
11993
- width:max-content;
11995
+ width:fit-content;
11994
11996
  }
11995
11997
  .tourtip__mask,.tourtip__overlay{
11996
11998
  border-radius:var(--bubble-border-radius, var(--border-radius-100));
@@ -12144,6 +12146,7 @@ span.tourtip__mask{
12144
12146
  @media (min-width:512px){
12145
12147
  .tourtip__overlay{
12146
12148
  max-width:400px;
12149
+ width:max-content;
12147
12150
  }
12148
12151
  }
12149
12152
  .giant-text-3{
@@ -5242,11 +5242,11 @@ span.infotip{
5242
5242
  display:none;
5243
5243
  font-size:14px;
5244
5244
  left:0;
5245
- max-width:344px;
5245
+ min-width:280px;
5246
5246
  position:absolute;
5247
5247
  top:0;
5248
5248
  transform:scaleX(1);
5249
- width:max-content;
5249
+ width:fit-content;
5250
5250
  }
5251
5251
  .infotip__mask,.infotip__overlay{
5252
5252
  background-color:var(--infotip-background-color, var(--color-background-elevated));
@@ -5364,6 +5364,7 @@ span.infotip__mask{
5364
5364
  @media (min-width:512px){
5365
5365
  .infotip__overlay{
5366
5366
  max-width:400px;
5367
+ width:max-content;
5367
5368
  }
5368
5369
  }
5369
5370
  .inline-notice{
@@ -10997,11 +10998,11 @@ span.tooltip{
10997
10998
  display:none;
10998
10999
  font-size:14px;
10999
11000
  left:0;
11000
- max-width:344px;
11001
+ min-width:280px;
11001
11002
  position:absolute;
11002
11003
  top:0;
11003
11004
  transform:scaleX(1);
11004
- width:max-content;
11005
+ width:fit-content;
11005
11006
  }
11006
11007
  .tooltip__mask,.tooltip__overlay{
11007
11008
  border-radius:var(--bubble-border-radius, var(--border-radius-50));
@@ -11119,6 +11120,7 @@ button.tooltip__close{
11119
11120
  @media (min-width:512px){
11120
11121
  .tooltip__overlay{
11121
11122
  max-width:400px;
11123
+ width:max-content;
11122
11124
  }
11123
11125
  }
11124
11126
  .tourtip{
@@ -11132,11 +11134,11 @@ span.tourtip{
11132
11134
  display:none;
11133
11135
  font-size:14px;
11134
11136
  left:0;
11135
- max-width:344px;
11137
+ min-width:280px;
11136
11138
  position:absolute;
11137
11139
  top:0;
11138
11140
  transform:scaleX(1);
11139
- width:max-content;
11141
+ width:fit-content;
11140
11142
  }
11141
11143
  .tourtip__mask,.tourtip__overlay{
11142
11144
  border-radius:var(--bubble-border-radius, var(--border-radius-100));
@@ -11290,6 +11292,7 @@ span.tourtip__mask{
11290
11292
  @media (min-width:512px){
11291
11293
  .tourtip__overlay{
11292
11294
  max-width:400px;
11295
+ width:max-content;
11293
11296
  }
11294
11297
  }
11295
11298
  .giant-text-3{
@@ -12,11 +12,11 @@ span.infotip {
12
12
  display: none;
13
13
  font-size: 14px;
14
14
  left: 0;
15
- max-width: 344px;
15
+ min-width: 280px;
16
16
  position: absolute;
17
17
  top: 0;
18
18
  transform: scaleX(1);
19
- width: max-content;
19
+ width: fit-content;
20
20
  }
21
21
  .infotip__mask,
22
22
  .infotip__overlay {
@@ -143,5 +143,6 @@ button.infotip__close {
143
143
  @media (min-width: 512px) {
144
144
  .infotip__overlay {
145
145
  max-width: 400px;
146
+ width: max-content;
146
147
  }
147
148
  }
@@ -12,11 +12,11 @@ span.tooltip {
12
12
  display: none;
13
13
  font-size: 14px;
14
14
  left: 0;
15
- max-width: 344px;
15
+ min-width: 280px;
16
16
  position: absolute;
17
17
  top: 0;
18
18
  transform: scaleX(1);
19
- width: max-content;
19
+ width: fit-content;
20
20
  }
21
21
  .tooltip__mask,
22
22
  .tooltip__overlay {
@@ -143,5 +143,6 @@ button.tooltip__close {
143
143
  @media (min-width: 512px) {
144
144
  .tooltip__overlay {
145
145
  max-width: 400px;
146
+ width: max-content;
146
147
  }
147
148
  }
@@ -12,11 +12,11 @@ span.tourtip {
12
12
  display: none;
13
13
  font-size: 14px;
14
14
  left: 0;
15
- max-width: 344px;
15
+ min-width: 280px;
16
16
  position: absolute;
17
17
  top: 0;
18
18
  transform: scaleX(1);
19
- width: max-content;
19
+ width: fit-content;
20
20
  }
21
21
  .tourtip__mask,
22
22
  .tourtip__overlay {
@@ -185,5 +185,6 @@ span.tourtip__heading {
185
185
  @media (min-width: 512px) {
186
186
  .tourtip__overlay {
187
187
  max-width: 400px;
188
+ width: max-content;
188
189
  }
189
190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebay/skin",
3
- "version": "19.20.0",
3
+ "version": "19.20.1",
4
4
  "description": "Skin - CSS modules that represent the brand eBay",
5
5
  "keywords": [
6
6
  "eBay",
@@ -37,7 +37,6 @@
37
37
  "build": "npm run build:css && npm run lint:js && npm run build:icons && npm run copy && tsx scripts gen-build",
38
38
  "build:css": "npm run lint:sass && rimraf dist && npm run bundle && npm run postcss && tsx scripts/add-y-comments && prettier dist --write && npm run lint:css",
39
39
  "build:icons": "tsx scripts genSVG && prettier ../../src/data/icons.json --write",
40
- "build:snapshots": "npm run copy:assetsToStorybook && storybook build -o ./.storybook-percy",
41
40
  "build:storybook": "npm run copy:assetsToStorybook && storybook build -o ./_site/public/storybook",
42
41
  "bundle": "sass src/sass:dist src/tokens:dist/tokens --no-source-map -I \"../../node_modules\"",
43
42
  "clean": "rimraf _cdn _site .cache .tmp .jekyll npm-debug.log.* .DS_Store",
@@ -58,12 +57,10 @@
58
57
  "preview": "marko-run preview",
59
58
  "postpublish": "tsx scripts clean",
60
59
  "release": "npm run build",
61
- "snapshots": "npm run build:snapshots && npx gulp runSnapshots --stories $STORIES",
62
- "snapshots:all": "npm run build:snapshots && percy storybook ./.storybook-percy --include '.*'",
63
- "snapshots:all:dry": "npm run build:snapshots && percy storybook --dry-run ./.storybook-percy --include '.*'",
64
- "snapshots:dry": "npm run build:snapshots && npx gulp runSnapshots --dry yes --stories $STORIES",
65
- "snapshots:execute": "npm run build:snapshots && percy storybook ./.storybook-percy --include",
66
- "snapshots:execute:dry": "percy storybook ./.storybook-percy --dry-run --include",
60
+ "snapshots": "percy storybook:start --include \"$(echo $STORIES)\"",
61
+ "snapshots:all": "percy storybook:start --include '.*'",
62
+ "snapshots:all:dry": "percy storybook:start --dry-run --include '.*'",
63
+ "snapshots:dry": "percy storybook:start --dry-run --include \"$(echo $STORIES)\"",
67
64
  "start": "marko-run",
68
65
  "storybook": "npm run copy:assetsToStorybook && storybook dev -c .storybook --no-open",
69
66
  "test": "npm run build",
package/gulpfile.js DELETED
@@ -1,34 +0,0 @@
1
- var child_process = require("child_process");
2
- var yargs = require("yargs");
3
-
4
- async function runSnapshots(storiesList, isDryRun) {
5
- const stories =
6
- yargs.argv.stories === undefined ? storiesList : yargs.argv.stories;
7
- const aStories = stories.split(",");
8
- const storiesReg = aStories.join("|");
9
- const storiesRX = `^\\bSkin/\(?:${storiesReg})\\b`;
10
- const storiesRXString = "\\bSkin/\\(?:" + storiesReg + ")\\b";
11
- const dryRun = yargs.argv.dry === undefined ? isDryRun : yargs.argv.dry;
12
- const percyExecutable = dryRun
13
- ? "snapshots:execute:dry"
14
- : "snapshots:execute";
15
-
16
- console.log(`
17
- ************************************************************
18
- Running Percy Snapshot(s)...
19
- Snapshot(s): ${stories}
20
- Percy Stories Regex: ${storiesRXString}
21
- Percy Dry Run: ${dryRun}
22
- Running Snapshot(s)...
23
- ************************************************************
24
- `);
25
-
26
- return child_process
27
- .spawn("npm", ["run", percyExecutable, storiesRX], { stdio: "inherit" })
28
- .on("close", function () {
29
- console.log("\nCompleted\n\n");
30
- });
31
- }
32
-
33
- // public tasks
34
- exports.runSnapshots = runSnapshots;