Skip to content

Commit

Permalink
Merge pull request #789 from IFRCGo/feat/publish-ui
Browse files Browse the repository at this point in the history
Use changesets to publish ui library to npm
  • Loading branch information
tnagorra authored Mar 20, 2024
2 parents d4e4e06 + 176cb6e commit 73f8dc4
Show file tree
Hide file tree
Showing 10 changed files with 829 additions and 32 deletions.
8 changes: 8 additions & 0 deletions app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# go-web-app

## 7.1.5

### Patch Changes

- Updated dependencies
- @ifrc-go/ui@1.0.0
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@ifrc-go/icons": "^1.3.1",
"@ifrc-go/ui": "^0.0.1",
"@ifrc-go/ui": "^1.0.0",
"@mapbox/mapbox-gl-draw": "^1.2.0",
"@sentry/react": "^7.81.1",
"@tinymce/tinymce-react": "^4.3.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/go-ui-storybook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# go-ui-storybook

## 0.0.1

### Patch Changes

- Updated dependencies
- @ifrc-go/ui@1.0.0
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "go-ui-storybook",
"private": true,
"version": "0.0.0",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -13,7 +13,7 @@
},
"dependencies": {
"@ifrc-go/icons": "^1.3.1",
"@ifrc-go/ui": "^0.0.1",
"@ifrc-go/ui": "^1.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/ui/.changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions packages/ui/.changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "develop",
"updateInternalDependencies": "patch",
"ignore": []
}
110 changes: 110 additions & 0 deletions packages/ui/.changeset/weak-clocks-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
---
"@ifrc-go/ui": major
---
### IFRC GO UI v1.0.0 release

This is the first “stable” release of the IFRC GO UI Components library.
This landmark release marks a significant step forward in delivering
stable and robust user interface components tailored specifically for
the needs of the IFRC (International Federation of Red Cross and Red Crescent Societies)
community.

### List of added components, hooks and contexts
### Components
- Alert
- AlertContainer
- BarChart
- BlockLoading
- BodyOverlay
- BooleanInput
- BooleanOutput
- Breadcrumbs
- Button
- ChartAxes
- ChartAxisX
- ChartAxisY
- Checkbox
- Checklist
- ConfirmButton
- Container
- DateInput
- DateOutput
- DateRangeOutput
- DropdownMenu
- ExpandableContainer
- Footer
- Grid
- Header
- Heading
- HtmlOutput
- IconButton
- Image
- InfoPopup
- InputContainer
- InputError
- InputHint
- InputLabel
- InputSection
- KeyFigure
- LegendItem
- List
- Message
- Modal
- MultiSelectInput
- NavigationTabList
- NumberInput
- NumberOutput
- Overlay
- PageContainer
- PageHeader
- Pager
- PasswordInput
- PieChart
- Popup
- Portal
- ProgressBar
- RadioInput
- RawButton
- RawFileInput
- RawInput
- RawList
- RawTextArea
- ReducedListDisplay
- SearchMultiSelectInput
- SearchSelectInput
- SegmentInput
- SelectInput
- SelectInputContainer
- Spinner
- StackedProgressBar
- Switch
- Table
- Tabs
- TextArea
- TextInput
- TextOutput
- TimeSeriesChart
- Tooltip

### Components used in PDF export
- Container
- DescriptionText
- Heading
- Image
- TextOutput

### Hooks
- useBasicLayout
- useBlurEffect
- useBooleanState
- useFloatPlacement
- useKeyboard
- useSizeTracking
- useSpacingTokens
- useTranslation

### Contexts
- alert
- dropdown-menu
- language
- navigation-tab
118 changes: 118 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# @ifrc-go/ui

## 1.0.0

### Major Changes

- ### IFRC GO UI v1.0.0 release

This is the first “stable” release of the IFRC GO UI Components library.
This landmark release marks a significant step forward in delivering
stable and robust user interface components tailored specifically for
the needs of the IFRC (International Federation of Red Cross and Red Crescent Societies)
community.

### List of added components, hooks and contexts

### Components

- Alert
- AlertContainer
- BarChart
- BlockLoading
- BodyOverlay
- BooleanInput
- BooleanOutput
- Breadcrumbs
- Button
- ChartAxes
- ChartAxisX
- ChartAxisY
- Checkbox
- Checklist
- ConfirmButton
- Container
- DateInput
- DateOutput
- DateRangeOutput
- DropdownMenu
- ExpandableContainer
- Footer
- Grid
- Header
- Heading
- HtmlOutput
- IconButton
- Image
- InfoPopup
- InputContainer
- InputError
- InputHint
- InputLabel
- InputSection
- KeyFigure
- LegendItem
- List
- Message
- Modal
- MultiSelectInput
- NavigationTabList
- NumberInput
- NumberOutput
- Overlay
- PageContainer
- PageHeader
- Pager
- PasswordInput
- PieChart
- Popup
- Portal
- ProgressBar
- RadioInput
- RawButton
- RawFileInput
- RawInput
- RawList
- RawTextArea
- ReducedListDisplay
- SearchMultiSelectInput
- SearchSelectInput
- SegmentInput
- SelectInput
- SelectInputContainer
- Spinner
- StackedProgressBar
- Switch
- Table
- Tabs
- TextArea
- TextInput
- TextOutput
- TimeSeriesChart
- Tooltip

### Components used in PDF export

- Container
- DescriptionText
- Heading
- Image
- TextOutput

### Hooks

- useBasicLayout
- useBlurEffect
- useBooleanState
- useFloatPlacement
- useKeyboard
- useSizeTracking
- useSpacingTokens
- useTranslation

### Contexts

- alert
- dropdown-menu
- language
- navigation-tab
3 changes: 2 additions & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ifrc-go/ui",
"private": true,
"version": "0.0.1",
"version": "1.0.0",
"type": "module",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -52,6 +52,7 @@
}
},
"dependencies": {
"@changesets/cli": "^2.27.1",
"@togglecorp/fujs": "^2.1.1",
"react-focus-on": "^3.9.1",
"sanitize-html": "^2.11.0"
Expand Down
Loading

0 comments on commit 73f8dc4

Please sign in to comment.