Skip to content

Commit

Permalink
build: bump package version to v0.1.0-alpha.4
Browse files Browse the repository at this point in the history
also ran npm run lint thx
  • Loading branch information
karrui committed Jan 27, 2023
1 parent 307688b commit 2815397
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
8 changes: 2 additions & 6 deletions react/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const parameters = {
inlineStories: true,
source: {
excludeDecorators: true,
}
},
},
controls: {
matchers: {
Expand Down Expand Up @@ -65,11 +65,7 @@ const withColorMode: Decorator = (storyFn, context) => {
? 'dark'
: 'light'

return (
<ColorModeProvider value={colorMode}>
{storyFn()}
</ColorModeProvider>
)
return <ColorModeProvider value={colorMode}>{storyFn()}</ColorModeProvider>
}

// Add theme selector to storybook addon bar.
Expand Down
11 changes: 11 additions & 0 deletions react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,18 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v0.1.0-alpha.4](https://github.com/opengovsg/design-system/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)

- feat: add TagInput component [`#191`](https://github.com/opengovsg/design-system/pull/191)
- feat(story): update components and sb config for better story source code blocks [`#189`](https://github.com/opengovsg/design-system/pull/189)
- chore: merge release v0.1.0-alpha.3 back to main branch [`#187`](https://github.com/opengovsg/design-system/pull/187)
- chore(deps-dev): bump eslint-plugin-simple-import-sort in /react [`#183`](https://github.com/opengovsg/design-system/pull/183)
- build: release v0.1.0-alpha.3 [`#186`](https://github.com/opengovsg/design-system/pull/186)

#### [v0.1.0-alpha.3](https://github.com/opengovsg/design-system/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)

> 25 January 2023
- chore(deps-dev): bump @typescript-eslint/eslint-plugin in /react [`#185`](https://github.com/opengovsg/design-system/pull/185)
- chore(deps-dev): bump prettier from 2.8.0 to 2.8.3 in /react [`#184`](https://github.com/opengovsg/design-system/pull/184)
- chore(deps-dev): bump eslint from 8.30.0 to 8.32.0 in /react [`#182`](https://github.com/opengovsg/design-system/pull/182)
Expand All @@ -22,6 +32,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- build: release v0.1.0-alpha.2 [`#171`](https://github.com/opengovsg/design-system/pull/171)
- build: release v0.1.0-alpha.1 [`#162`](https://github.com/opengovsg/design-system/pull/162)
- build: release v0.1.0 alpha.0 [`#142`](https://github.com/opengovsg/design-system/pull/142)
- chore: update package to v0.1.0-alpha.3 [`fa763f7`](https://github.com/opengovsg/design-system/commit/fa763f75e9d422ef2a1f0c7614fa25bc45e41cfb)
- fix: correctly export AvatarMenu from package [`91a85d4`](https://github.com/opengovsg/design-system/commit/91a85d46b5fdf3e058ba15366475a58a734f68d7)

#### [v0.1.0-alpha.2](https://github.com/opengovsg/design-system/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
Expand Down
4 changes: 2 additions & 2 deletions react/package-lock.json

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

2 changes: 1 addition & 1 deletion react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opengovsg/design-system-react",
"version": "0.1.0-alpha.3",
"version": "0.1.0-alpha.4",
"description": "React components",
"homepage": "https://github.com/opengovsg/design-system/react#readme",
"bugs": "https://github.com/opengovsg/design-system/issues",
Expand Down
2 changes: 1 addition & 1 deletion react/src/MultiSelect/MultiSelectProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const MultiSelectProvider = ({
reset,
activeIndex,
setActiveIndex,
} = useMultipleSelection<typeof items[0]>({
} = useMultipleSelection<(typeof items)[0]>({
selectedItems,
onSelectedItemsChange: ({ selectedItems }) => {
onChange(
Expand Down

0 comments on commit 2815397

Please sign in to comment.