Skip to content

Commit

Permalink
fix: add @emotion/serialize dep
Browse files Browse the repository at this point in the history
  • Loading branch information
denkristoffer committed Oct 18, 2024
1 parent db053d3 commit da54a68
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 111 deletions.
138 changes: 33 additions & 105 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/components/badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"emotion": "^10.0.17"
},
"devDependencies": {
"@contentful/f36-typography": "^4.74.1"
"@contentful/f36-typography": "^4.74.1",
"@emotion/serialize": "^0.11.16"
},
"peerDependencies": {
"react": ">=16.8",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
},
"devDependencies": {
"@contentful/f36-icon": "^4.74.1",
"@contentful/f36-icons": "^4.29.0"
"@contentful/f36-icons": "^4.29.0",
"@emotion/serialize": "^0.11.16"
},
"peerDependencies": {
"react": ">=16.8",
Expand Down
1 change: 1 addition & 0 deletions packages/components/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"access": "public"
},
"devDependencies": {
"@emotion/serialize": "^0.11.16",
"formik": "^2.4.2",
"react-hook-form": "^7.15.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export * from './vendor/phosphor/ArrowDownIcon.js';
export * from './vendor/phosphor/ArrowLeftIcon.js';
export * from './vendor/phosphor/ArrowRightIcon.js';
export * from './vendor/phosphor/ArrowSquareOutIcon.js';
export * from './vendor/phosphor/ArrowUpIcon.js';
export * from './vendor/phosphor/ArrowUUpLeftIcon.js';
export * from './vendor/phosphor/ArrowUUpRightIcon.js';
export * from './vendor/phosphor/ArrowUpIcon.js';
export * from './vendor/phosphor/ArrowsLeftRightIcon.js';
export * from './vendor/phosphor/BookOpenIcon.js';
export * from './vendor/phosphor/BookmarkSimpleIcon.js';
Expand Down
3 changes: 3 additions & 0 deletions packages/components/navbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@
"publishConfig": {
"registry": "https://npm.pkg.github.com/",
"access": "public"
},
"devDependencies": {
"@emotion/serialize": "^0.11.16"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { hexToRGBA } from '@contentful/f36-utils';
import { getGlowOnFocusStyles, increaseHitArea, mqs } from '../utils.styles';

export const getNavbarSwitcherStyles = () => ({
navbarSwitcher: css(
navbarSwitcher: css([
{
color: tokens.gray600,
flexShrink: 1,
Expand All @@ -19,7 +19,7 @@ export const getNavbarSwitcherStyles = () => ({
},
getGlowOnFocusStyles(),
increaseHitArea(),
),
]),

switcherSpaceName: css({
// Set min-width only when there are three span children
Expand Down
2 changes: 1 addition & 1 deletion packages/components/note/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"emotion": "^10.0.17"
},
"devDependencies": {
"@emotion/serialize": "^1.1.1"
"@emotion/serialize": "^0.11.16"
},
"peerDependencies": {
"react": ">=16.8",
Expand Down
3 changes: 3 additions & 0 deletions packages/components/notification/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@
"publishConfig": {
"registry": "https://npm.pkg.github.com/",
"access": "public"
},
"devDependencies": {
"@emotion/serialize": "^0.11.16"
}
}
3 changes: 3 additions & 0 deletions packages/components/tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
"publishConfig": {
"registry": "https://npm.pkg.github.com/",
"access": "public"
},
"devDependencies": {
"@emotion/serialize": "^0.11.16"
}
}

0 comments on commit da54a68

Please sign in to comment.