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

Version 4.2.0 #827

Merged
merged 35 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
26f0b3c
build(deps-dev): bump webpack from 5.89.0 to 5.90.3
dependabot[bot] Feb 19, 2024
09cb294
build(deps-dev): bump @storybook/addon-links from 7.6.7 to 7.6.17
dependabot[bot] Feb 20, 2024
4512820
build(deps-dev): bump ip from 2.0.0 to 2.0.1
dependabot[bot] Mar 4, 2024
6e3038b
build(deps): bump @mui/material from 5.15.6 to 5.15.12
dependabot[bot] Mar 5, 2024
1848666
Update README.md
mikael-jarvinen Mar 7, 2024
6206d49
Merge pull request #817 from lyytioy/mikael-jarvinen-patch-1
mikael-jarvinen Mar 7, 2024
35e87ac
Merge pull request #799 from lyytioy/dependabot/npm_and_yarn/webpack-…
Mar 7, 2024
c6bb600
Merge pull request #805 from lyytioy/dependabot/npm_and_yarn/storyboo…
Mar 7, 2024
9f0d56e
Merge pull request #806 from lyytioy/dependabot/npm_and_yarn/ip-2.0.1
Mar 7, 2024
e425547
Merge pull request #815 from lyytioy/dependabot/npm_and_yarn/mui/mate…
Mar 7, 2024
221239f
build(deps): bump @mui/x-data-grid-pro from 6.18.7 to 6.19.6
dependabot[bot] Mar 7, 2024
18ba26f
Merge pull request #814 from lyytioy/dependabot/npm_and_yarn/mui/x-da…
Mar 7, 2024
bcbf564
build(deps): bump @mui/x-data-grid from 6.18.6 to 6.19.6
dependabot[bot] Mar 7, 2024
8c5b7f8
build(deps-dev): bump storybook from 7.6.7 to 8.0.0
dependabot[bot] Mar 11, 2024
40c10e4
build(deps-dev): bump @typescript-eslint/parser from 6.18.1 to 7.2.0
dependabot[bot] Mar 12, 2024
5e9edc6
Merge pull request #819 from lyytioy/dependabot/npm_and_yarn/mui/x-da…
Mar 15, 2024
aff67a2
build(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6
dependabot[bot] Mar 15, 2024
f561f49
build(deps): bump @mui/icons-material from 5.15.7 to 5.15.13
dependabot[bot] Mar 15, 2024
18915e9
Merge pull request #825 from lyytioy/dependabot/npm_and_yarn/mui/icon…
Mar 15, 2024
11c82c9
Merge pull request #826 from lyytioy/dependabot/npm_and_yarn/follow-r…
Mar 15, 2024
e3586f9
build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.19.1 to…
Mar 15, 2024
608182f
Merge pull request #824 from lyytioy/dependabot/npm_and_yarn/typescri…
Mar 15, 2024
6dc94ab
migrate to storybook v8
Mar 15, 2024
cdda838
Merge pull request #822 from lyytioy/dependabot/npm_and_yarn/storyboo…
Mar 15, 2024
c513d44
bump package version to 4.2.0
Mar 15, 2024
fcc2c89
build(deps-dev): bump @babel/core from 7.23.9 to 7.24.0
dependabot[bot] Mar 15, 2024
45dd06f
build(deps): bump @mui/x-date-pickers from 6.19.2 to 6.19.7
dependabot[bot] Mar 15, 2024
a06def2
build(deps-dev): bump eslint from 8.56.0 to 8.57.0
dependabot[bot] Mar 15, 2024
6840fee
Merge pull request #832 from lyytioy/dependabot/npm_and_yarn/eslint-8…
Mar 18, 2024
1f7ecca
build(deps-dev): bump eslint-config-next from 14.0.1 to 14.1.3
dependabot[bot] Mar 18, 2024
78683cf
Merge pull request #828 from lyytioy/dependabot/npm_and_yarn/eslint-c…
Mar 18, 2024
bff3bc7
Merge pull request #829 from lyytioy/dependabot/npm_and_yarn/babel/co…
Mar 18, 2024
5ada29f
build(deps-dev): bump typescript from 5.3.3 to 5.4.2
dependabot[bot] Mar 18, 2024
fbd708e
Merge pull request #831 from lyytioy/dependabot/npm_and_yarn/typescri…
Mar 18, 2024
f9d8083
Merge pull request #830 from lyytioy/dependabot/npm_and_yarn/mui/x-da…
Mar 18, 2024
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
6 changes: 3 additions & 3 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = {
stories: ['../stories/**/*.stories.mdx', '../stories/**/*.stories.@(js|jsx|ts|tsx)'],
stories: ['../stories/**/*.mdx', '../stories/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-styling',
'@storybook/addon-mdx-gfm'
'@storybook/addon-styling-webpack',
'@storybook/addon-themes',
],
framework: {
name: '@storybook/nextjs',
Expand Down
2 changes: 1 addition & 1 deletion .storybook/manager.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { addons } from '@storybook/addons';
import { addons } from '@storybook/manager-api';
import theme from './theme';

addons.setConfig({
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@ Make sure to clone the repository and do the following
5. Go to your own project directory
6. Run `npm link @lyyti/design-system`

If you run into an `Invalid hook` error in the project, here's what to do.
The error is about having two copies of the react packace caused by the link. More info can be found [in the React docs](https://reactjs.org/warnings/invalid-hook-call-warning.html#duplicate-react).
Now when you make changes to source code you only need to run `npm run build` again no need to re-run the link commands
When you are done run `npm unlink --no-save @lyyti/design-system && npm ci` in your project's folder.

If you run into an `Invalid hook` error in the project or `you are loading @emotion/react when it is already loaded`, here's what to do.
The error is about having two copies of the packages caused by the link. More info can be found [in the React docs](https://reactjs.org/warnings/invalid-hook-call-warning.html#duplicate-react).

- Go to the design system directory
- Run `npm link [..path/to/yourproject]/node_modules/react`
- Run `npm link [..path/to/yourproject]/node_modules/react` same for `@emotion/react`
- Repeat steps `5` and `6` of the linking process

## Contribute
Expand Down
Loading
Loading