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

fix: reduce layout trashing #1369

Merged
merged 6 commits into from
Jul 11, 2024
Merged
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
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,6 @@ module.exports = {
mode: 'full',
},
],
react: {version: 'detect'},
'react': {version: 'detect'},
},
}
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
lint:
name: 'ESLint'
name: "ESLint"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -40,7 +40,7 @@ jobs:
- platform: macos-latest
node-version: lts/*
env:
CYPRESS_CACHE_FOLDER: '~/.cache/Cypress'
CYPRESS_CACHE_FOLDER: "~/.cache/Cypress"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -65,7 +65,7 @@ jobs:
release:
permissions:
id-token: write # to enable use of OIDC for npm provenance
name: 'Semantic release'
name: "Semantic release"
needs: [lint, test]
runs-on: ubuntu-latest
steps:
Expand Down
7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

1 change: 1 addition & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const config: StorybookConfig = {
'@storybook/addon-interactions',
'@storybook/addon-storysource',
'@storybook/addon-themes',
'@storybook/addon-mdx-gfm'
],
framework: {
name: '@storybook/react-vite',
Expand Down
49 changes: 25 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/ui",
"version": "2.6.3",
"version": "2.6.4-canary.1",
"keywords": [
"sanity",
"ui",
Expand Down Expand Up @@ -87,6 +87,7 @@
"prettier --write --cache --ignore-unknown"
]
},
"prettier": "@sanity/prettier-config",
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
Expand All @@ -109,7 +110,8 @@
"@sanity/icons": "^3.3.0",
"csstype": "^3.1.3",
"framer-motion": "11.0.8",
"react-refractor": "^2.2.0"
"react-refractor": "^2.2.0",
"use-effect-event": "^1.0.2"
},
"devDependencies": {
"@babel/core": "^7.24.7",
Expand All @@ -120,24 +122,25 @@
"@commitlint/config-conventional": "^19.2.2",
"@juggle/resize-observer": "^3.4.0",
"@sanity/pkg-utils": "^6.10.3",
"@sanity/semantic-release-preset": "^4.1.8",
"@sanity/prettier-config": "^1.0.2",
"@sanity/semantic-release-preset": "^5.0.0",
"@sanity/ui-workshop": "^2.0.15",
"@storybook/addon-a11y": "^8.0.8",
"@storybook/addon-docs": "^8.0.8",
"@storybook/addon-essentials": "^8.0.8",
"@storybook/addon-interactions": "^8.0.8",
"@storybook/addon-links": "^8.0.8",
"@storybook/addon-storysource": "^8.0.8",
"@storybook/addon-themes": "^8.0.8",
"@storybook/blocks": "^8.0.8",
"@storybook/jest": "^0.2.3",
"@storybook/manager-api": "^8.0.8",
"@storybook/react": "^8.0.8",
"@storybook/react-vite": "^8.0.8",
"@storybook/testing-library": "^0.2.2",
"@storybook/theming": "^8.0.8",
"@storybook/addon-a11y": "^8.2.1",
"@storybook/addon-docs": "^8.2.1",
"@storybook/addon-essentials": "^8.2.1",
"@storybook/addon-interactions": "^8.2.1",
"@storybook/addon-links": "^8.2.1",
"@storybook/addon-mdx-gfm": "^8.2.1",
"@storybook/addon-storysource": "^8.2.1",
"@storybook/addon-themes": "^8.2.1",
"@storybook/blocks": "^8.2.1",
"@storybook/manager-api": "^8.2.1",
"@storybook/react": "^8.2.1",
"@storybook/react-vite": "^8.2.1",
"@storybook/test": "^8.2.1",
"@storybook/theming": "^8.2.1",
"@testing-library/dom": "^10.3.1",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/jest-axe": "^3.5.9",
Expand All @@ -146,7 +149,6 @@
"@types/react-dom": "^18.3.0",
"@types/react-is": "^18.3.0",
"@types/refractor": "^3.4.1",
"@types/testing-library__jest-dom": "^5.14.9",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"commitizen": "^4.3.0",
Expand All @@ -172,15 +174,14 @@
"module-alias": "^2.2.3",
"npm-run-all2": "^5.0.2",
"prettier": "^3.3.2",
"prettier-plugin-packagejson": "^2.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-is": "^18.3.1",
"refractor": "^4.8.1",
"rimraf": "^5.0.5",
"semantic-release": "^24.0.0",
"start-server-and-test": "^2.0.4",
"storybook": "^8.0.8",
"storybook": "^8.2.1",
"styled-components": "^6.1.11",
"tsconfig-paths": "^4.2.0",
"typescript": "5.5.3",
Expand All @@ -200,12 +201,12 @@
"publishConfig": {
"access": "public"
},
"esm.sh": {
"bundle": false
},
"pnpm": {
"overrides": {
"conventional-changelog-conventionalcommits": ">= 8.0.0"
}
},
"esm.sh": {
"bundle": false
}
}
Loading
Loading