Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14.6.0 #2351

Merged
merged 7 commits into from
Dec 20, 2024
Merged

14.6.0 #2351

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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/curvy-bobcats-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": minor
---

feat(eek): added size option
5 changes: 5 additions & 0 deletions .changeset/four-mangos-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": minor
---

docs(contributing): updated tests section
5 changes: 5 additions & 0 deletions .changeset/purple-seals-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": minor
---

feat: added async loading instead of cdn loader
5 changes: 5 additions & 0 deletions .changeset/strong-grapes-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": minor
---

fix(ebay-carousel): fix width calculation for last pill when font not loaded (#2344)
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.log
node_modules
!src/node_modules
.cache
static
snapshots
Expand Down
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ static/
dist/
docs/
_cdn/
__snapshots__/
__snapshots__/
!src/node_modules
5 changes: 4 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"$schema": "https://json.schemastore.org/prettierrc",
"plugins": ["prettier-plugin-packagejson"]
}
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The demo page will render the `examples/` for each component. To selectively inc

Execute `npm test` to run all tests and generate coverage reports at `./coverage/index.html`.

Most of our server tests use `mocha-snap` in order to verify html snapshots against the generated html that the current component outputs. If these change the test will fail. In order to update the snapshots, one needs to run `UPDATE_SNAPSHOTS=1 npm test` and then new snapshots will be genrated, which should be checked in.
Most of our server tests use `vitest` & `@marko/testing-library` in order to verify html snapshots against the generated html that the current component outputs. If these change the test will fail. In order to update the snapshots, one needs to run `npm test -u` and then new snapshots will be genrated, which should be checked in.

### Marko Lifecycle Functions

Expand Down
1,044 changes: 464 additions & 580 deletions package-lock.json

Large diffs are not rendered by default.

168 changes: 84 additions & 84 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,84 +2,105 @@
"name": "@ebay/ebayui-core",
"version": "14.5.0",
"description": "Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.",
"keywords": [
"marko-components"
],
"repository": {
"type": "git",
"url": "https://github.com/eBay/ebayui-core"
},
"license": "MIT",
"files": [
"dist",
"!*.marko.js",
"!**/test*",
"marko.json",
"package-lock.json",
"*.browser.json",
"marketplace.json",
"!**/{,*.}stories.*",
"!**/{,*.}stories-ignore.*"
],
"scripts": {
"installMarkoV5": "npm i marko@5 @marko/compiler@5 --force",
"build": "rm -rf dist && mtc && npm run lint && node scripts/check-postpublish && npm test",
"build:ci": "CI=true npm run build && npm run build:storybook",
"build:readme": "node scripts/add-ds-version",
"build:storybook": "storybook build -o ./_site",
"change": "changeset add",
"clean": "rimraf .coverage .karma .nyc_output demo/static",
"clean:git": "git clean -xdf",
"coverage": "vitest run --browser.headless --coverage",
"importSVG": "node --experimental-json-modules --experimental-import-meta-resolve scripts/import-svg && prettier . --write --log-level=warn",
"installMarkoV4": "npm remove @marko/compiler && npm i marko@4 --force",
"installMarkoV5": "npm i marko@5 @marko/compiler@5 --force",
"lint": "npm run lint:less && npm run lint:js && npm run lint:whitespace",
"lint:js": "eslint",
"lint:less": "stylelint \"src/**/*.{css,less}\" --config .stylelintrc",
"lint:whitespace": "lintspaces *.md src/**/*.md src/**/*.marko src/**/*.less --newline --maxnewlines 1 --trailingspaces --spaces 4",
"prepare": "husky",
"prepublishOnly": "node scripts/postpublish && node scripts/prepublish",
"version": "npm run importSVG && prettier . --write --log-level=warn && npm run build:readme && git add -A src && changeset version && npm i --package-lock-only",
"prerelease:end": "changeset pre exit || :",
"prerelease:start": "changeset pre enter next || :",
"postpublish": "node scripts/postpublish",
"release": "node scripts/postpublish && node scripts/prepublish && changeset publish",
"report": "nyc report --reporter=text-summary",
"start": "storybook dev -p 6006",
"start:prod": "NODE_ENV=production npm start",
"coverage": "vitest run --browser.headless --coverage",
"report": "nyc report --reporter=text-summary",
"storybook": "storybook dev -p 6006",
"tb": "npm run test:browser",
"test": "vitest run --browser.headless",
"test:visual": "vitest run",
"test:browser": "vitest run browser",
"test:ci": "CI=true vitest run --no-color",
"test:server": "vitest run server",
"test:browser": "vitest run browser",
"test:visual": "vitest run",
"test:watch": "vitest",
"clean": "rimraf .coverage .karma .nyc_output demo/static",
"clean:git": "git clean -xdf",
"lint": "npm run lint:less && npm run lint:js && npm run lint:whitespace",
"lint:less": "stylelint \"src/**/*.{css,less}\" --config .stylelintrc",
"lint:js": "eslint",
"lint:whitespace": "lintspaces *.md src/**/*.md src/**/*.marko src/**/*.less --newline --maxnewlines 1 --trailingspaces --spaces 4",
"release": "node scripts/postpublish && node scripts/prepublish && changeset publish",
"build": "rm -rf dist && mtc && npm run lint && node scripts/check-postpublish && npm test",
"build:ci": "CI=true npm run build && npm run build:storybook",
"build:readme": "node scripts/add-ds-version",
"build:storybook": "storybook build -o ./_site",
"importSVG": "node --experimental-json-modules --experimental-import-meta-resolve scripts/import-svg && prettier . --write --log-level=warn",
"tt": "mtc",
"ts": "npm run test:server",
"tb": "npm run test:browser",
"tr": "npm run coverage && npm run report && open .coverage/index.html",
"storybook": "storybook dev -p 6006",
"generateCDN": "node scripts/generate-cdn.js",
"prepare": "husky",
"change": "changeset add",
"prerelease:start": "changeset pre enter next || :",
"prerelease:end": "changeset pre exit || :"
"ts": "npm run test:server",
"tt": "mtc",
"version": "npm run importSVG && prettier . --write --log-level=warn && npm run build:readme && git add -A src && changeset version && npm i --package-lock-only"
},
"commitlint": {
"extends": "@commitlint/config-conventional"
},
"lint-staged": {
"*.{js,css,md,less,json}": "prettier --write --with-node-modules"
},
"browserslist": [
"extends @ebay/browserslist-config"
],
"files": [
"dist",
"!*.marko.js",
"!**/test*",
"marko.json",
"package-lock.json",
"*.browser.json",
"marketplace.json",
"!**/{,*.}stories.*",
"!**/{,*.}stories-ignore.*"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/eBay/ebayui-core"
"dependencies": {
"@floating-ui/dom": "^1.6.12",
"@google/model-viewer": "3.5.0",
"@marko-tags/subscribe": "^0.5.1",
"highcharts": "11.3.0",
"makeup-active-descendant": "0.7.4",
"makeup-expander": "~0.11.4",
"makeup-floating-label": "~0.4.5",
"makeup-focusables": "~0.4.4",
"makeup-key-emitter": "~0.4.3",
"makeup-keyboard-trap": "~0.5.4",
"makeup-prevent-scroll-keys": "~0.3.3",
"makeup-roving-tabindex": "~0.7.3",
"makeup-screenreader-trap": "~0.5.3",
"makeup-typeahead": "^0.3.3",
"shaka-player": "4.12.5"
},
"keywords": [
"marko-components"
],
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/plugin-syntax-import-assertions": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime-corejs3": "^7.26.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.9",
"@changesets/cli": "^2.27.11",
"@commitlint/cli": "^19",
"@commitlint/config-conventional": "^19",
"@ebay/browserslist-config": "^2.10.0",
"@ebay/skin": "~18.5.0",
"@google/model-viewer": "3.5.0",
"@ebay/skin": "~18.6.0",
"@marko/compiler": "^5.37.23",
"@marko/prettyprint": "^3.0.1",
"@marko/testing-library": "^6",
Expand All @@ -94,61 +115,40 @@
"@storybook/marko": "~9.0.2",
"@storybook/marko-vite": "^2.0.3",
"@storybook/mdx2-csf": "^1.1.0",
"@vitest/browser": "^2.1.4",
"@vitest/coverage-istanbul": "^2.1.4",
"@vitest/ui": "^2.1.4",
"@vitest/browser": "^2.1.8",
"@vitest/coverage-istanbul": "^2.1.8",
"@vitest/ui": "^2.1.8",
"babel-plugin-add-module-exports": "^1.0.4",
"cheerio": "^1.0.0",
"cldr-dates-full": "^46.0.0",
"cldr-dates-full": "^46.1.0",
"coveralls": "^3.1.1",
"del": "^8.0.0",
"eslint": "^9",
"eslint-config-ebay": "^1.2.0",
"eslint-config-prettier": "^9.1.0",
"highcharts": "11.3.0",
"html-minifier": "^4.0.0",
"husky": "^9.1.6",
"less": "^4.2.0",
"libphonenumber-js": "^1.11.12",
"lint-staged": "^15.2.10",
"husky": "^9.1.7",
"less": "^4.2.1",
"libphonenumber-js": "^1.11.17",
"lint-staged": "^15.2.11",
"lintspaces-cli": "^1.0.0",
"marko": "^5.35.32",
"playwright": "^1.48.2",
"playwright": "^1.49.1",
"postcss-less": "^6.0.0",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"prettier-plugin-packagejson": "^2.5.6",
"rimraf": "^6.0.1",
"shaka-player": "4.11.11",
"storybook": "^8.3.6",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^36",
"stylelint-prettier": "^5",
"vitest": "^2.1.4"
"vitest": "^2.1.8"
},
"peerDependencies": {
"@ebay/skin": "~18.4.0",
"@ebay/skin": "~18.6.0",
"marko": "^4.27.0 || ^5.31.12"
},
"dependencies": {
"@floating-ui/dom": "^1.6.12",
"@marko-tags/subscribe": "^0.5.1",
"makeup-active-descendant": "0.7.3",
"makeup-expander": "~0.11.3",
"makeup-floating-label": "~0.4.4",
"makeup-focusables": "~0.4.3",
"makeup-key-emitter": "~0.4.2",
"makeup-keyboard-trap": "~0.5.3",
"makeup-prevent-scroll-keys": "~0.3.1",
"makeup-roving-tabindex": "~0.7.2",
"makeup-screenreader-trap": "~0.5.1",
"makeup-typeahead": "^0.3.1"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"commitlint": {
"extends": "@commitlint/config-conventional"
},
"lint-staged": {
"*.{js,css,md,less,json}": "prettier --write"
}
}
Loading
Loading