@dropins/storefront-requisition-list 1.4.0-beta.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @dropins/storefront-requisition-list
|
|
2
2
|
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f047a2d: feat: add requisition list sharing feature (USF-3911)
|
|
8
|
+
|
|
9
|
+
Introduces the ability for authenticated company users to share requisition lists with colleagues, either via a generated link or by email. Recipients can preview and import the shared list into their own account.
|
|
10
|
+
|
|
11
|
+
- Add `shareRequisitionListByToken` and `shareRequisitionListByEmail` APIs to generate share links and notify colleagues
|
|
12
|
+
- Add `getSharedRequisitionList` API to preview a shared list by token (read-only, sender info included)
|
|
13
|
+
- Add `importSharedRequisitionList` API to copy a shared list into the current customer's account
|
|
14
|
+
- Add `ShareRequisitionListContent` component and container with copy-link and email recipient selection UI
|
|
15
|
+
- Add `SharedRequisitionList` component and container to preview and import a shared requisition list by token and redirect to the list detail page on success
|
|
16
|
+
- Extend `useRequisitionListAlert` with `import` action for success/error feedback after import
|
|
17
|
+
- Extend `getStoreConfig` with sharing-related store config fields
|
|
18
|
+
- Emit `auth/permissions` in sandbox on login/logout to correctly enable the share button for company users
|
|
19
|
+
- Added `SharedRequisitionList` button in sandbox
|
|
20
|
+
|
|
21
|
+
- 66b8852: Removed the `engines.node` constraint from `package.json`. This package targets browser environments exclusively and does not depend on a specific Node.js runtime version. The package is now built and distributed using Node.js 22 LTS.
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- c809d65: fix: correct isCompanyUser detection for B2C customers (USF-3911)
|
|
26
|
+
|
|
27
|
+
The `auth/permissions` listener now checks specifically for `admin: true` or
|
|
28
|
+
a `Magento_Company::*` key to identify company membership, instead of treating
|
|
29
|
+
any truthy key beyond `all` as proof. This prevents non-company permissions
|
|
30
|
+
from being mistaken for company membership.
|
|
31
|
+
|
|
32
|
+
Also aligns the `routeSharedRequisitionList` prop parameter name to
|
|
33
|
+
`relativeUrl` across `RequisitionListHeader` and `RequisitionListView`
|
|
34
|
+
to match `ShareRequisitionListContent`.
|
|
35
|
+
|
|
36
|
+
- 34b701c: Bump commerce packages to latest stable
|
|
37
|
+
- 1877178: Bump @adobe-commerce/elsie to v1.9.0-beta.3
|
|
38
|
+
|
|
39
|
+
## 1.4.0-beta.2
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- 1877178: Bump @adobe-commerce/elsie to v1.9.0-beta.3
|
|
44
|
+
|
|
3
45
|
## 1.4.0-beta.1
|
|
4
46
|
|
|
5
47
|
### Patch Changes
|
package/package.json
CHANGED