From 9933b53c78b1a44bd2e9df6eba8dae6cba857336 Mon Sep 17 00:00:00 2001 From: MIGUELez11 Date: Fri, 19 Jan 2024 09:39:39 +0100 Subject: [PATCH 1/2] fix(FileUpload): stop disabled component to keep working --- .../src/form/FileUpload/FileUpload.js | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/packages/components/src/form/FileUpload/FileUpload.js b/packages/components/src/form/FileUpload/FileUpload.js index edac4713b..5dc687bf7 100644 --- a/packages/components/src/form/FileUpload/FileUpload.js +++ b/packages/components/src/form/FileUpload/FileUpload.js @@ -123,6 +123,7 @@ const FileUpload = ({ {...props} accept={accept} loading={loading} + disabled={disabled || loading} multiple={multipleUpload} onDrop={onDropHandler} classNames={classes} @@ -206,22 +207,27 @@ const FileUpload = ({ )} - - - + {!disabled && ( + + + + )} ))} )} {!hideUploadButton && ( - + )} From 941df6bb31db06cca84d4784411d2e06b2e3cfbf Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Fri, 19 Jan 2024 08:50:46 +0000 Subject: [PATCH 2/2] chore: version bump --- packages/calendars/CHANGELOG.md | 9 +++++++++ packages/calendars/package.json | 6 +++--- packages/components/CHANGELOG.md | 8 ++++++++ packages/components/package.json | 4 ++-- packages/editors/CHANGELOG.md | 9 +++++++++ packages/editors/package.json | 6 +++--- packages/extras/CHANGELOG.md | 9 +++++++++ packages/extras/package.json | 6 +++--- packages/icons/CHANGELOG.md | 6 ++++++ packages/icons/package.json | 2 +- packages/leemons/CHANGELOG.md | 11 +++++++++++ packages/leemons/package.json | 10 +++++----- packages/notifications/CHANGELOG.md | 9 +++++++++ packages/notifications/package.json | 6 +++--- 14 files changed, 81 insertions(+), 20 deletions(-) diff --git a/packages/calendars/CHANGELOG.md b/packages/calendars/CHANGELOG.md index 5700faa00..b475aff13 100644 --- a/packages/calendars/CHANGELOG.md +++ b/packages/calendars/CHANGELOG.md @@ -1,5 +1,14 @@ # @bubbles-ui/calendars +## 1.2.127 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.127 + - @bubbles-ui/icons@1.2.127 + ## 1.2.126 ### Patch Changes diff --git a/packages/calendars/package.json b/packages/calendars/package.json index 3b39c7538..f08c457ee 100644 --- a/packages/calendars/package.json +++ b/packages/calendars/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/calendars", - "version": "1.2.126", + "version": "1.2.127", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -59,8 +59,8 @@ "rrule": "^2.6.8" }, "peerDependencies": { - "@bubbles-ui/components": "^1.2.126", - "@bubbles-ui/icons": "^1.2.126", + "@bubbles-ui/components": "^1.2.127", + "@bubbles-ui/icons": "^1.2.127", "react": "^17.0.1", "react-dom": "^17.0.1", "webpack": "*" diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 2be02d331..0f9b5000e 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,13 @@ # @bubbles-ui/components +## 1.2.127 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/icons@1.2.127 + ## 1.2.126 ### Patch Changes diff --git a/packages/components/package.json b/packages/components/package.json index 7040cd6e7..eedebd419 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/components", - "version": "1.2.126", + "version": "1.2.127", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -61,7 +61,7 @@ "chromatic": "npx chromatic --project-token=7b10302a7b6b --build-script-name=build:storybook:raw" }, "dependencies": { - "@bubbles-ui/icons": "^1.2.126", + "@bubbles-ui/icons": "^1.2.127", "@emotion/react": "^11.10.0", "@heroicons/react": "^1.0.5", "@hookform/resolvers": "^3.3.2", diff --git a/packages/editors/CHANGELOG.md b/packages/editors/CHANGELOG.md index 4bd782a7d..25de751da 100644 --- a/packages/editors/CHANGELOG.md +++ b/packages/editors/CHANGELOG.md @@ -1,5 +1,14 @@ # @bubbles-ui/editors +## 1.2.127 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.127 + - @bubbles-ui/icons@1.2.127 + ## 1.2.126 ### Patch Changes diff --git a/packages/editors/package.json b/packages/editors/package.json index c98abed98..f395e8a9f 100644 --- a/packages/editors/package.json +++ b/packages/editors/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/editors", - "version": "1.2.126", + "version": "1.2.127", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -79,8 +79,8 @@ "styled-icons": "^10.45.0" }, "peerDependencies": { - "@bubbles-ui/components": "^1.2.126", - "@bubbles-ui/icons": "^1.2.126", + "@bubbles-ui/components": "^1.2.127", + "@bubbles-ui/icons": "^1.2.127", "react": "^17.0.1", "react-dom": "^17.0.1", "webpack": "*" diff --git a/packages/extras/CHANGELOG.md b/packages/extras/CHANGELOG.md index 28ee9640b..0d7f711e3 100644 --- a/packages/extras/CHANGELOG.md +++ b/packages/extras/CHANGELOG.md @@ -1,5 +1,14 @@ # @bubbles-ui/extras +## 1.2.127 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.127 + - @bubbles-ui/icons@1.2.127 + ## 1.2.126 ### Patch Changes diff --git a/packages/extras/package.json b/packages/extras/package.json index f772c7335..056fd6f2c 100644 --- a/packages/extras/package.json +++ b/packages/extras/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/extras", - "version": "1.2.126", + "version": "1.2.127", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -53,8 +53,8 @@ "swiper": "^8.1.4" }, "peerDependencies": { - "@bubbles-ui/components": "^1.2.126", - "@bubbles-ui/icons": "^1.2.126", + "@bubbles-ui/components": "^1.2.127", + "@bubbles-ui/icons": "^1.2.127", "@mantine/core": "5.2.4", "@mantine/hooks": "5.2.4", "react": "^17.0.1", diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index 971b96aaf..0f5d4e849 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -1,5 +1,11 @@ # @bubbles-ui/icons +## 1.2.127 + +### Patch Changes + +- Versions bump + ## 1.2.126 ### Patch Changes diff --git a/packages/icons/package.json b/packages/icons/package.json index 862e6a8bc..ed74fc221 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/icons", - "version": "1.2.126", + "version": "1.2.127", "description": "The Bubbles Design System icons library.", "license": "MIT", "repository": { diff --git a/packages/leemons/CHANGELOG.md b/packages/leemons/CHANGELOG.md index dd9b394e5..7f1b957ab 100644 --- a/packages/leemons/CHANGELOG.md +++ b/packages/leemons/CHANGELOG.md @@ -1,5 +1,16 @@ # @bubbles-ui/leemons +## 1.2.127 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.127 + - @bubbles-ui/calendars@1.2.127 + - @bubbles-ui/editors@1.2.127 + - @bubbles-ui/icons@1.2.127 + ## 1.2.126 ### Patch Changes diff --git a/packages/leemons/package.json b/packages/leemons/package.json index 159352335..85367fe75 100644 --- a/packages/leemons/package.json +++ b/packages/leemons/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/leemons", - "version": "1.2.126", + "version": "1.2.127", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -74,10 +74,10 @@ "ajv": "6.12.6" }, "peerDependencies": { - "@bubbles-ui/calendars": "^1.2.126", - "@bubbles-ui/components": "^1.2.126", - "@bubbles-ui/editors": "^1.2.126", - "@bubbles-ui/icons": "^1.2.126", + "@bubbles-ui/calendars": "^1.2.127", + "@bubbles-ui/components": "^1.2.127", + "@bubbles-ui/editors": "^1.2.127", + "@bubbles-ui/icons": "^1.2.127", "dayjs": "^1.10.7", "react": "^17.0.1", "react-dom": "^17.0.1", diff --git a/packages/notifications/CHANGELOG.md b/packages/notifications/CHANGELOG.md index c69977e51..03c6d2dfb 100644 --- a/packages/notifications/CHANGELOG.md +++ b/packages/notifications/CHANGELOG.md @@ -1,5 +1,14 @@ # @bubbles-ui/notifications +## 1.2.127 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.127 + - @bubbles-ui/icons@1.2.127 + ## 1.2.126 ### Patch Changes diff --git a/packages/notifications/package.json b/packages/notifications/package.json index ec68c5f9b..96823ea12 100644 --- a/packages/notifications/package.json +++ b/packages/notifications/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/notifications", - "version": "1.2.126", + "version": "1.2.127", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -52,8 +52,8 @@ "react-transition-group": "^4.4.2" }, "peerDependencies": { - "@bubbles-ui/components": "^1.2.126", - "@bubbles-ui/icons": "^1.2.126", + "@bubbles-ui/components": "^1.2.127", + "@bubbles-ui/icons": "^1.2.127", "@mantine/core": "5.2.4", "@mantine/hooks": "5.2.4", "react": "^17.0.1",