Skip to content

Commit

Permalink
fix: revert recent portal/tooltip changes (#1372)
Browse files Browse the repository at this point in the history
* Revert "fix(tooltip): regression where hover to open stops working (#1371)"

This reverts commit 038011b.

* Revert "fix(tooltip): use layout effect to calculate width (#1370)"

This reverts commit e39ddbe.

* Revert "fix: reduce layout trashing (#1369)"

This reverts commit 0cb1cb1.
  • Loading branch information
rexxars authored Jul 11, 2024
1 parent 354585c commit 627003e
Show file tree
Hide file tree
Showing 31 changed files with 1,984 additions and 1,274 deletions.
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: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": false,
"printWidth": 100,
"bracketSpacing": false,
"singleQuote": true,
"plugins": ["prettier-plugin-packagejson"]
}
1 change: 0 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const config: StorybookConfig = {
'@storybook/addon-interactions',
'@storybook/addon-storysource',
'@storybook/addon-themes',
'@storybook/addon-mdx-gfm'
],
framework: {
name: '@storybook/react-vite',
Expand Down
47 changes: 23 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
"prettier --write --cache --ignore-unknown"
]
},
"prettier": "@sanity/prettier-config",
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
Expand All @@ -110,8 +109,7 @@
"@sanity/icons": "^3.3.0",
"csstype": "^3.1.3",
"framer-motion": "11.0.8",
"react-refractor": "^2.2.0",
"use-effect-event": "^1.0.2"
"react-refractor": "^2.2.0"
},
"devDependencies": {
"@babel/core": "^7.24.7",
Expand All @@ -122,25 +120,24 @@
"@commitlint/config-conventional": "^19.2.2",
"@juggle/resize-observer": "^3.4.0",
"@sanity/pkg-utils": "^6.10.3",
"@sanity/prettier-config": "^1.0.2",
"@sanity/semantic-release-preset": "^5.0.0",
"@sanity/semantic-release-preset": "^4.1.8",
"@sanity/ui-workshop": "^2.0.15",
"@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",
"@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",
"@testing-library/dom": "^10.3.1",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/jest-axe": "^3.5.9",
Expand All @@ -149,6 +146,7 @@
"@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 @@ -174,14 +172,15 @@
"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.2.1",
"storybook": "^8.0.8",
"styled-components": "^6.1.11",
"tsconfig-paths": "^4.2.0",
"typescript": "5.5.3",
Expand All @@ -201,12 +200,12 @@
"publishConfig": {
"access": "public"
},
"esm.sh": {
"bundle": false
},
"pnpm": {
"overrides": {
"conventional-changelog-conventionalcommits": ">= 8.0.0"
}
},
"esm.sh": {
"bundle": false
}
}
Loading

0 comments on commit 627003e

Please sign in to comment.