Skip to content

Commit

Permalink
Merge branch 'next' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
jonniebigodes authored Nov 7, 2023
2 parents c6bd128 + 7b899e4 commit ea5f9e5
Show file tree
Hide file tree
Showing 89 changed files with 753 additions and 3,042 deletions.
2 changes: 1 addition & 1 deletion MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This document outlines some of the processes that the maintainers should adhere
| maintenance | Issue, or pull request related to Storybook's internal maintenance |
| mdx | Issue, bug, or pull request related to MDX and Storybook |
| medium | Issue or pull request that involves a significant amount of work within Storybook |
| monorepos | Issue, bug, or pull request related to Storybook and monorepos (e.g., [lerna](https://lerna.js.org/) ) |
| monorepos | Issue, bug, or pull request related to Storybook and monorepos |
| mui | Issue, bug, or pull request that affects Storybook and [Material-UI](https://material-ui.com/) |
| multiframework | Issue, bug, or pull request that affects multiple supported frameworks (e.g., React, Vue) |
| needs more info | Issue, or bug that requires additional context from the author |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Looking for a first issue to tackle?

### Development scripts

Storybook is organized as a monorepo using [Lerna](https://lerna.js.org/). Useful scripts include:
Storybook is organized as a monorepo. Useful scripts include:

#### `yarn start`

Expand Down
9 changes: 3 additions & 6 deletions code/addons/a11y/src/components/Report/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,14 @@ const Wrapper = styled.div(({ theme }) => ({
},
}));

const Icon = styled(Icons)(({ theme }) => ({
const Icon = styled(Icons)({
height: 10,
width: 10,
minWidth: 10,
color: theme.textMutedColor,
marginRight: 10,
transition: 'transform 0.1s ease-in-out',
alignSelf: 'center',
display: 'inline-flex',
}));
verticalAlign: 'inherit',
});

const HeaderBar = styled.div(({ theme }) => ({
padding: theme.layoutMargin,
Expand Down Expand Up @@ -78,7 +76,6 @@ export const Item = (props: ItemProps) => {
<HeaderBar onClick={() => onToggle(!open)} role="button">
<Icon
icon="arrowdown"
color="#9DA5AB"
style={{
transform: `rotate(${open ? 0 : -90}deg)`,
}}
Expand Down
6 changes: 0 additions & 6 deletions code/lerna.json

This file was deleted.

73 changes: 0 additions & 73 deletions code/lib/cli/scripts/generate-sb-packages-versions.js

This file was deleted.

1 change: 1 addition & 0 deletions code/lib/docs-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"@storybook/preview-api": "workspace:*",
"@storybook/types": "workspace:*",
"@types/doctrine": "^0.0.3",
"assert": "^2.1.0",
"doctrine": "^3.0.0",
"lodash": "^4.17.21"
},
Expand Down
6 changes: 1 addition & 5 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"scripts": {
"await-serve-storybooks": "wait-on http://localhost:8001",
"build": "NODE_ENV=production node ../scripts/build-package.js",
"build": "NODE_ENV=production ts-node --swc --esm ../scripts/build-package.ts",
"changelog": "pr-log --sloppy --cherry-pick",
"changelog:next": "pr-log --sloppy --since-prerelease",
"check": "NODE_ENV=production node ../scripts/check-package.js",
Expand All @@ -43,9 +43,6 @@
"lint:package": "sort-package-json",
"local-registry": "ts-node --swc --project=../scripts/tsconfig.json ../scripts/run-registry.ts",
"publish-sandboxes": "ts-node --swc ../scripts/sandbox/publish.ts",
"publish:debug": "npm run publish:latest -- --npm-tag=debug --no-push",
"publish:latest": "lerna publish --exact --concurrency 1 --force-publish",
"publish:next": "npm run publish:latest -- --npm-tag=next",
"storybook:blocks": "STORYBOOK_BLOCKS_ONLY=true yarn storybook:ui",
"storybook:blocks:build": "STORYBOOK_BLOCKS_ONLY=true yarn storybook:ui:build",
"storybook:blocks:chromatic": "STORYBOOK_BLOCKS_ONLY=true yarn storybook:ui:chromatic --project-token=${CHROMATIC_TOKEN_STORYBOOK_BLOCKS:-MISSING_PROJECT_TOKEN}",
Expand Down Expand Up @@ -243,7 +240,6 @@
"jest-os-detection": "^1.3.1",
"jest-serializer-html": "^7.1.0",
"jest-watch-typeahead": "^2.2.1",
"lerna": "^6.4.0",
"lint-staged": "^13.2.2",
"lodash": "^4.17.21",
"node-gyp": "^9.3.1",
Expand Down
1 change: 0 additions & 1 deletion code/ui/blocks/src/components/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ const ChildrenContainer = styled.div<PreviewProps & { layout: Layout }>(
layout === 'centered' || layout === 'padded'
? {
padding: '30px 20px',
margin: -10,
'& .innerZoomElementWrapper > *': {
width: 'auto',
border: '10px solid transparent!important',
Expand Down
5 changes: 2 additions & 3 deletions code/ui/manager/src/components/sidebar/Brand.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ export const StorybookLogoStyled = styled(StorybookLogo)(({ theme }) => ({
}));

export const Img = styled.img({
width: 'auto',
height: 'auto',
display: 'block',
maxWidth: '100%',
maxWidth: '150px',
maxHeight: '100px',
});

export const LogoLink = styled.a(({ theme }) => ({
Expand Down
Loading

0 comments on commit ea5f9e5

Please sign in to comment.