Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ public/ebayui-core-react/
public/ebayui-core/
public/skin-storybook/

packages/skin/src/test/failures
.vitest-attachments

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
Expand Down
2,982 changes: 1,410 additions & 1,572 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"scripts": {
"build": "npm run lint && mtc && npm run build -w packages/skin && npm run build -w packages/ebayui-core && npm run build -w packages/ebayui-core-react",
"build:ci": "CI=true npm run build -w packages/skin && npm run build -w packages/ebayui-core && npm run build -w packages/ebayui-core-react",
"build:ci": "CI=true npm run build -w packages/skin && npm run snapshots -w packages/skin && npm run build -w packages/ebayui-core && npm run build -w packages/ebayui-core-react",
"change": "changeset add",
"copy:coreui-site": "npm run deploy --ws",
"copy:skin-site": "npm run deploy --ws",
Expand Down
13 changes: 12 additions & 1 deletion packages/ebayui-core/vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,18 @@ export default defineConfig({
headless: true,
instances: [{
browser: "chromium",
}]
}],
expect: {
toMatchScreenshot: {
comparatorName: 'pixelmatch',
comparatorOptions: {
// 0-1, how different can colors be?
threshold: 0.2,
// 1% of pixels can differ
allowedMismatchedPixelRatio: 0.01,
},
},
},
},
include: ["src/**/test.browser.{ts,js}"],
setupFiles: ["./test.setup.ts"]
Expand Down
1 change: 0 additions & 1 deletion packages/skin/dist/combobox/combobox.css
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ span.combobox {
top: calc(50% - 8px);
}
.combobox__control > input {
-webkit-appearance: none;
appearance: none;
background-color: var(
--combobox-textbox-background-color,
Expand Down
4 changes: 1 addition & 3 deletions packages/skin/dist/icon-button/icon-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ button.icon-btn.icon-btn--large {
width: 48px;
}
a.icon-link--transparent,
button.icon-btn--transparent {
background-color: initial;
}
a.icon-link--transparent:not([disabled], [aria-disabled="true"]):active:after,
a.icon-link--transparent:not(
[disabled],
Expand All @@ -113,6 +110,7 @@ a.icon-link--transparent:not([disabled], [aria-disabled="true"]):hover:after,
a.icon-link--transparent[href]:active:after,
a.icon-link--transparent[href]:focus-visible:after,
a.icon-link--transparent[href]:hover:after,
button.icon-btn--transparent,
button.icon-btn--transparent:not(
[disabled],
[aria-disabled="true"]
Expand Down
1 change: 0 additions & 1 deletion packages/skin/dist/number-input/number-input.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
margin: 0;
}
.number-input .textbox .textbox__control[type="number"] {
-webkit-appearance: textfield;
appearance: textfield;
}
.number-input .icon-btn {
Expand Down
1 change: 0 additions & 1 deletion packages/skin/dist/select/select.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ span.select {
display: inline-block;
}
.select select {
-webkit-appearance: none;
appearance: none;
background-color: var(
--select-background-color,
Expand Down
1 change: 0 additions & 1 deletion packages/skin/dist/textbox/textbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ input.textbox__control:last-child:not([readonly]) {

input.textbox__control,
textarea.textbox__control {
-webkit-appearance: none;
appearance: none;
flex-grow: 1;
font-size: 1em;
Expand Down
8 changes: 2 additions & 6 deletions packages/skin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,11 @@
"preview": "marko-run preview",
"postpublish": "tsx scripts clean",
"release": "npm run build",
"snapshots": "npm run build:snapshots && npx gulp runSnapshots --stories $STORIES",
"snapshots:all": "npm run build:snapshots && percy storybook ./.storybook-percy --include '.*'",
"snapshots:all:dry": "npm run build:snapshots && percy storybook --dry-run ./.storybook-percy --include '.*'",
"snapshots:dry": "npm run build:snapshots && npx gulp runSnapshots --dry yes --stories $STORIES",
"snapshots:execute": "npm run build:snapshots && percy storybook ./.storybook-percy --include",
"snapshots:execute:dry": "percy storybook ./.storybook-percy --dry-run --include",
"snapshots": "vitest run",
"start": "marko-run",
"storybook": "npm run copy:assetsToStorybook && storybook dev -c .storybook --no-open",
"test": "npm run build",
"update-snaphots": "vitest run -u",
"verify": "tsx scripts verify",
"version": "npm run build"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading