Skip to content

Commit

Permalink
Merge pull request #361 from AnnMarieW/prepare-0.14.6
Browse files Browse the repository at this point in the history
getting ready for 0.14.6
  • Loading branch information
AnnMarieW authored Oct 16, 2024
2 parents f64bf24 + 4152b7f commit cf9e1f9
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 75 deletions.
8 changes: 6 additions & 2 deletions .github/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
### Before release:

- [ ] Update Mantine dependency in `package.json`
- [ ] Update Mantine dependancy for optional stylesheets in `styles.py`
- [ ] Update Mantine dependency for optional stylesheets in `styles.py`
- [ ] Remove usage/demo apps used for testing
- [ ] `npm install` to install the new dependencies
- [ ] `npm run build` and push updated `package-lock.json`
- [ ] Review and update changelog - include PR numbers and contributor's GitHub username

Expand All @@ -27,8 +28,11 @@ npm run dist
```
pip install dash-mantine-components-0.14.5.tar.gz
```
4. Prepare release on the GitHub UI - For more information see [Managing Releases](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository)

4. Run the docs with the new release locally

4. Prepare release on the GitHub UI - For more information see [Managing Releases](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository)
4. When in doubt, do an alpha release first

5. Publish on PyPI
```
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ jobs:
source .venv/bin/activate
uv pip install --upgrade pip
uv pip install wheel
uv pip install ".[dev]"
npm ci
uv pip install ".[dev]"
npm i
npm run build
timeout-minutes: 20
Expand Down
13 changes: 6 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
# Change Log

# 0.14.6 UNRELEASED
# 0.14.6

### Added

- Added `autoplay` prop to the `Carousel` component #316 by @mmarfat
- Added the `ChipGroup` component and updated `Chip` to work with it. #327 and #355 by @AnnMarieW and @BSd3v
- Added GitHub actions workflow for automated tests on PRs #333 by @BSd3v
- Added new and missing props to the charts #349 by @AnnMarieW
- Added new and missing props to the charts. Enables figure animation, right Y axis and more! #349 by @AnnMarieW
- Added `active` prop to Carousel, allowing callbacks to be triggered based on the currently displayed slide. #354 by @AnnMarieW
- RadioGroup and ChipGroup (in single mode) now have a `deselectable` argument to allow resetting the radio value #351 by @RenaudL



### Fixed

- Excluded the `loading_state` prop from being passed to the DOM. Added `data-dash-is-loading` attribute to
components during callback execution, allowing custom CSS styling for loading states. #325 by @AnnMarieW
- Enabled the `opened` prop to trigger callback in the Popover component #353 by @AnnMarieW

- Stepper component can be stepped through by clicking on steps buttons #352 by @RenaudL

### Changed

- Reduced the package size by excluding the metadata.json file #357 by @AnnMarieW
- Stepper component can be stepped through by clicking on steps buttons #352
- Reduced the package size by excluding the 5MB metadata.json file #357 by @AnnMarieW
- Upgraded to latest Mantine (7.13.2)


# 0.14.5

Expand Down
12 changes: 6 additions & 6 deletions dash_mantine_components/styles.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DATES = "https://unpkg.com/@mantine/[email protected].0/styles.css"
CODE_HIGHLIGHT = "https://unpkg.com/@mantine/[email protected].0/styles.css"
CHARTS = "https://unpkg.com/@mantine/[email protected].0/styles.css"
CAROUSEL = "https://unpkg.com/@mantine/[email protected].0/styles.css"
NOTIFICATIONS = "https://unpkg.com/@mantine/[email protected].0/styles.css"
NPROGRESS = "https://unpkg.com/@mantine/[email protected].0/styles.css"
DATES = "https://unpkg.com/@mantine/[email protected].2/styles.css"
CODE_HIGHLIGHT = "https://unpkg.com/@mantine/[email protected].2/styles.css"
CHARTS = "https://unpkg.com/@mantine/[email protected].2/styles.css"
CAROUSEL = "https://unpkg.com/@mantine/[email protected].2/styles.css"
NOTIFICATIONS = "https://unpkg.com/@mantine/[email protected].2/styles.css"
NPROGRESS = "https://unpkg.com/@mantine/[email protected].2/styles.css"
ALL = [DATES, CODE_HIGHLIGHT, CHARTS, CAROUSEL, NOTIFICATIONS, NPROGRESS]
88 changes: 42 additions & 46 deletions package-lock.json

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

23 changes: 11 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dash_mantine_components",
"version": "0.14.5",
"version": "0.14.6",
"description": "Plotly Dash Components based on Mantine",
"main": "index.ts",
"repository": {
Expand Down Expand Up @@ -43,25 +43,24 @@
"author": "Snehil Vijay <[email protected]>",
"license": "MIT",
"dependencies": {
"@mantine/carousel": "7.13.0",
"@mantine/charts": "7.13.0",
"@mantine/code-highlight": "7.13.0",
"@mantine/core": "7.13.0",
"@mantine/dates": "7.13.0",
"@mantine/hooks": "7.13.0",
"@mantine/notifications": "7.13.0",
"@mantine/nprogress": "7.13.0",
"@mantine/spotlight": "7.13.0",
"@mantine/carousel": "7.13.2",
"@mantine/charts": "7.13.2",
"@mantine/code-highlight": "7.13.2",
"@mantine/core": "7.13.2",
"@mantine/dates": "7.13.2",
"@mantine/hooks": "7.13.2",
"@mantine/notifications": "7.13.2",
"@mantine/nprogress": "7.13.2",
"@mantine/spotlight": "7.13.2",
"dayjs": "^1.11.10",
"embla-carousel-autoplay": "^7.1.0",
"embla-carousel-autoplay": "^7.1.0",
"embla-carousel-react": "^7.1.0",
"is-absolute-url": "^4.0.1",
"jsonpath": "^1.1.1",
"recharts": "^2.12.0"
},
"files": [
"/dash_mantine_components/*{.js,.map}",
"/dash_mantine_components/metadata.json",
"LICENSE"
]
}

0 comments on commit cf9e1f9

Please sign in to comment.