feat(inventory,dashboard,types,core-flows,js-sdk,medusa): Improve inventory UX (#10630)

* feat(dashboard): Add UI for bulk editing inventory stock (#10556)

* progress

* cleanup types

* add changeset

* fix 0 values

* format schema

* add delete event and allow copy/pasting enabled for some fields

* add response types

* add tests

* work on fixing setValue behaviour

* cleanup toggle logic

* add loading state

* format schema

* add support for bidirectional actions in DataGrid and update Checkbox and RadioGroup

* update lock

* lint

* fix 404

* address feedback

* update cursor on bidirectional select
This commit is contained in:
Kasper Fabricius Kristensen
2025-01-13 01:07:14 +01:00
committed by GitHub
parent c5915451b8
commit bc22b81cdf
82 changed files with 2722 additions and 291 deletions

View File

@@ -5617,12 +5617,12 @@ __metadata:
autoprefixer: ^10.4.17
cmdk: ^0.2.0
date-fns: ^3.6.0
framer-motion: ^11.0.3
i18next: 23.7.11
i18next-browser-languagedetector: 7.2.0
i18next-http-backend: 2.4.2
lodash: ^4.17.21
match-sorter: ^6.3.4
motion: ^11.15.0
postcss: ^8.4.33
prettier: ^3.1.1
qs: ^6.12.0
@@ -20712,15 +20712,17 @@ __metadata:
languageName: node
linkType: hard
"framer-motion@npm:^11.0.3":
version: 11.1.8
resolution: "framer-motion@npm:11.1.8"
"framer-motion@npm:^11.15.0":
version: 11.15.0
resolution: "framer-motion@npm:11.15.0"
dependencies:
motion-dom: ^11.14.3
motion-utils: ^11.14.3
tslib: ^2.4.0
peerDependencies:
"@emotion/is-prop-valid": "*"
react: ^18.0.0
react-dom: ^18.0.0
react: ^18.0.0 || ^19.0.0
react-dom: ^18.0.0 || ^19.0.0
peerDependenciesMeta:
"@emotion/is-prop-valid":
optional: true
@@ -20728,7 +20730,7 @@ __metadata:
optional: true
react-dom:
optional: true
checksum: ff7073ca011936fcf0e4af54ff93824609cf03b556def5a69d21f44674c44ec0429a450b419bb4ae89d5b7af9d7b0e88ed57d3eff1ff668ed2a52b42a60375dd
checksum: 59f1c1eea09a5cbda346624a7d700bdb1ccff8a8528ed145009db974283064c3a4e55ca9eaaf4950494f254f6233c37634735b9bd8463b25ffeef624030894d6
languageName: node
linkType: hard
@@ -25290,6 +25292,41 @@ __metadata:
languageName: node
linkType: hard
"motion-dom@npm:^11.14.3":
version: 11.14.3
resolution: "motion-dom@npm:11.14.3"
checksum: 14989aba2981dcf618dc77d202ac35325366e645fd9e57c6942d88d0696263bbe7d0680da2e5f84e93339a67255bdbfebb8a4994a46584a661dd9a1e136fa7a1
languageName: node
linkType: hard
"motion-utils@npm:^11.14.3":
version: 11.14.3
resolution: "motion-utils@npm:11.14.3"
checksum: 7459bcb27311b72b416b2618cbfd56bad7d0fbec27736529e3f45a561fa78c43bf82e05338d9d9b765649b57d1c693821e83b30c6ba449d6f7f66c5245f072fb
languageName: node
linkType: hard
"motion@npm:^11.15.0":
version: 11.15.0
resolution: "motion@npm:11.15.0"
dependencies:
framer-motion: ^11.15.0
tslib: ^2.4.0
peerDependencies:
"@emotion/is-prop-valid": "*"
react: ^18.0.0 || ^19.0.0
react-dom: ^18.0.0 || ^19.0.0
peerDependenciesMeta:
"@emotion/is-prop-valid":
optional: true
react:
optional: true
react-dom:
optional: true
checksum: fe10db69ad3ca7cb3fd2896d4cd6a79ca8080de16f5fdfcf82a6decd474423f4207b7a924dc7bfb405cffb36d7de0e13780f1a623287be354ced65c78a612c99
languageName: node
linkType: hard
"mri@npm:^1.1.0":
version: 1.2.0
resolution: "mri@npm:1.2.0"