-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #190 from Enterwell/stage
Stage
- Loading branch information
Showing
20 changed files
with
702 additions
and
516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,13 @@ jobs: | |
publish: | ||
name: Publish ${{ inputs.name }} | ||
runs-on: ubuntu-latest | ||
concurrency: ci-${{ github.ref }} | ||
concurrency: ci-${{ github.ref }}-${{ inputs.name }} | ||
steps: | ||
# Ensuring that only one PR-environment-creation per branch will run at a time | ||
- name: Mutex setup | ||
uses: ben-z/[email protected] | ||
with: | ||
branch: "mutex/${{ github.event.workflow_run.head_branch }}-publish" | ||
- uses: actions/checkout@v4 | ||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
@@ -30,15 +35,14 @@ jobs: | |
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- run: git pull | ||
- name: Changelog | ||
id: version-bump | ||
uses: Enterwell/ChangelogManager-GitHub-Action@v3 | ||
with: | ||
changelog-location: ./packages/${{ inputs.name }} | ||
should-bump-version: true | ||
changes-location: ./packages/${{ inputs.name }}/changes | ||
path-to-project-file: ./packages/${{ inputs.name }}/package.json | ||
path-to-project-file: ./packages/${{ inputs.name }}/package.json\ | ||
- name: Commit changelog changes | ||
uses: EndBug/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { Select, type SelectItem } from '@enterwell/react-ui'; | ||
import { Add, Edit } from '@mui/icons-material'; | ||
import { Button, IconButton, Typography } from '@mui/material'; | ||
import { Stack, Box } from '@mui/system'; | ||
import { useState } from 'react'; | ||
|
||
export function ExampleSelectManageable() { | ||
const [value, setValue] = useState<SelectItem[]>([]); | ||
|
||
return ( | ||
<Box sx={{ width: 400 }}> | ||
{/* // @highlight-start */} | ||
<Select | ||
value={value} | ||
onChange={(_, value) => setValue(value)} | ||
options={[ | ||
{ value: '1', label: 'One' }, | ||
{ value: '2', label: 'Two' }, | ||
{ value: '3', label: 'Three' }, | ||
{ value: '4', label: 'Four' }, | ||
]} | ||
displayOption={(option) => ( | ||
<Stack direction="row" alignItems="center" justifyContent="space-between" sx={{width: '100%'}} spacing={1}> | ||
<Typography>{option.label}</Typography> | ||
<IconButton size="small"> | ||
<Edit fontSize='small' /> | ||
</IconButton> | ||
</Stack> | ||
)} | ||
listEndDecorator={( | ||
<Button startIcon={<Add />} fullWidth> | ||
Add | ||
</Button> | ||
)} | ||
fullWidth | ||
/> | ||
{/* // @highlight-end */} | ||
</Box> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.