Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into renovate/storybook-mon…
Browse files Browse the repository at this point in the history
…orepo

* origin/dev:
  build(deps): update typescript-eslint monorepo to v7.18.0 (#10593)
  feat(tile): add design tokens (#10476)
  deprecate: deprecate web-adaptor in favor of web-adapter (#10598)
  docs: update component READMEs (#10600)
  build(deps): update dependency @rollup/plugin-replace to v6 (#10604)
  chore: release main (#10597)
  ci(chromatic): build storybook even when skipping snapshots (#10589)
  build(deps): update dependency axe-core to v4.10.1 (#10566)
  ci: add calcite-ui-icons label to relevant package PRs (#10590)
  chore: release next
  feat: add buffer point, buffer polygon, buffer polyline, contour, offset (#10594)
  feat(input-date-picker, date-picker): improve date picking experience (#8402)
  chore: release next
  fix: updated web-adapter name (#10581)
  build(deps): update nrwl monorepo to v19.8.6 (#10575)
  build(deps): update dependency tsx to v4.19.1 (#10574)
  build(deps): update dependency @cspell/eslint-plugin to v8.15.4 (#10565)
  • Loading branch information
benelan committed Oct 25, 2024
2 parents d5fd784 + 0603f94 commit fc46f59
Show file tree
Hide file tree
Showing 82 changed files with 4,423 additions and 1,761 deletions.
4 changes: 3 additions & 1 deletion .github/scripts/iconTeamDiffCheck.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const {
teams: { admins, iconDesigners },
labels: { snapshots },
packages,
} = require("./support/resources");

/** @param {import('github-script').AsyncFunctionArguments} AsyncFunctionArguments */
Expand Down Expand Up @@ -81,8 +82,9 @@ module.exports = async ({ github, context, core }) => {
owner,
repo,
issue_number: pull_number,
labels: [snapshots.skip],
labels: [snapshots.skip, packages.icons],
});

core.setFailed(
`An admin needs to review these changes because a file outside of package/calcite-ui-icons was changed.`,
);
Expand Down
3 changes: 3 additions & 0 deletions .github/scripts/support/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const resources = {
admins: "calcite-design-system-admins",
iconDesigners: "calcite-icon-designers",
},
packages: {
icons: "calcite-ui-icons",
},
};

module.exports = resources;
12 changes: 9 additions & 3 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
types: [opened, labeled, synchronize]
jobs:
run:
if: |
(github.event.action == 'labeled' && github.event.label.name == 'pr ready for visual snapshots') || github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -17,18 +15,26 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: package.json
- run: |
- name: Build storybook
env:
STORYBOOK_SCREENSHOT_TEST_BUILD: true
CHROMATIC_DIFF_THRESHOLD: ${{ secrets.CHROMATIC_DIFF_THRESHOLD }}
run: |
npm install
npm --workspace="packages/calcite-design-tokens" run build
npm --workspace="packages/calcite-ui-icons" run build
npm --workspace="packages/calcite-components" run build-storybook
- name: Publish to Chromatic
if: |
(github.event.action == 'labeled' && github.event.label.name == 'pr ready for visual snapshots') || github.event_name == 'push'
uses: chromaui/action@v11
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
zip: true
exitOnceUploaded: true
autoAcceptChanges: ${{ github.base_ref || github.ref_name }}
workingDir: packages/calcite-components
storybookBuildDir: docs
env:
STORYBOOK_SCREENSHOT_TEST_BUILD: true
CHROMATIC_DIFF_THRESHOLD: ${{ secrets.CHROMATIC_DIFF_THRESHOLD }}
Expand Down
6 changes: 3 additions & 3 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"packages/calcite-components": "2.13.1",
"packages/calcite-components-react": "2.13.1",
"packages/calcite-components": "2.13.2",
"packages/calcite-components-react": "2.13.2",
"packages/calcite-design-tokens": "2.2.0",
"packages/calcite-ui-icons": "3.32.0",
"packages/eslint-plugin-calcite-components": "1.2.1",
"packages/calcite-components-angular/projects/component-library": "2.13.1"
"packages/calcite-components-angular/projects/component-library": "2.13.2"
}
2 changes: 1 addition & 1 deletion examples/components/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@angular/platform-browser": "^18.1.0",
"@angular/platform-browser-dynamic": "^18.1.0",
"@angular/router": "^18.1.0",
"@esri/calcite-components-angular": "2.13.1",
"@esri/calcite-components-angular": "2.13.2",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
]
},
"dependencies": {
"@esri/calcite-components": "2.13.1",
"@esri/calcite-components": "2.13.2",
"preact": "^10.10.0",
"preact-render-to-string": "^5.2.1",
"preact-router": "^3.2.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"preview": "vite preview"
},
"dependencies": {
"@esri/calcite-components-react": "2.13.1",
"@esri/calcite-components-react": "2.13.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/components/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"start": "serve public"
},
"dependencies": {
"@esri/calcite-components": "2.13.1"
"@esri/calcite-components": "2.13.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^26.0.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/components/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"serve": "vite preview"
},
"dependencies": {
"@esri/calcite-components": "2.13.1"
"@esri/calcite-components": "2.13.2"
},
"devDependencies": {
"@types/node": "^22.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/components/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"copy": "ncp ./node_modules/@esri/calcite-components/dist/calcite/assets/ ./public/assets/"
},
"dependencies": {
"@esri/calcite-components": "2.13.1",
"@esri/calcite-components": "2.13.2",
"vue": "^3.4.36"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/components/web-dev-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@esri/calcite-components": "2.13.1"
"@esri/calcite-components": "2.13.2"
},
"devDependencies": {
"@web/dev-server": "^0.4.6"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"start": "webpack-dev-server --open"
},
"dependencies": {
"@esri/calcite-components": "2.13.1"
"@esri/calcite-components": "2.13.2"
},
"devDependencies": {
"copy-webpack-plugin": "^12.0.2",
Expand Down
Loading

0 comments on commit fc46f59

Please sign in to comment.