@dropins/storefront-requisition-list 1.5.0 → 1.5.1-beta.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 CHANGED
@@ -1,23 +1,43 @@
1
1
  # @dropins/storefront-requisition-list
2
2
 
3
+ ## 1.5.1-beta.0
4
+
5
+ ### Patch Changes
6
+
7
+ - d681e53: Bumped SDK Elsie beta version. Bumped preact library version.
8
+
3
9
  ## 1.5.0
4
10
 
5
11
  ### Minor Changes
6
12
 
7
- - f3b5b17: fix: display variant-specific SKU, options, price and thumbnail for configurable requisition list items
13
+ - f3b5b17: fix: display variant-specific SKU, options, price and thumbnail for
14
+ configurable requisition list items
8
15
 
9
- `ProductListTable` previously showed only the parent product's name/SKU and never rendered the selected configurable options (e.g. color, size), and the configured product's thumbnail was shown unconditionally, ignoring the storefront's "Configurable Product Image" setting used by the cart.
16
+ `ProductListTable` previously showed only the parent product's name/SKU and
17
+ never rendered the selected configurable options (e.g. color, size), and the
18
+ configured product's thumbnail was shown unconditionally, ignoring the
19
+ storefront's "Configurable Product Image" setting used by the cart.
10
20
 
11
21
  - Renders the selected configurable options next to the SKU.
12
- - Adds a `useParentConfigurableThumbnail` prop to `ProductListTable`, driven by the new `configurable_thumbnail_source` store config field, so the thumbnail is consistent with the cart's admin-configured behavior.
13
- - Adds a built-in `enrichConfigurableProducts` default (exported from `@dropins/storefront-requisition-list`) that resolves the selected variant's SKU, price and thumbnail via Catalog Service's `refineProduct`, matching selected options by label, so integrators no longer need to implement this resolution themselves. Passing a custom `enrichConfigurableProducts` still overrides the default.
22
+ - Adds a `useParentConfigurableThumbnail` prop to `ProductListTable`, driven
23
+ by the new `configurable_thumbnail_source` store config field, so the
24
+ thumbnail is consistent with the cart's admin-configured behavior.
25
+ - Adds a built-in `enrichConfigurableProducts` default (exported from
26
+ `@dropins/storefront-requisition-list`) that resolves the selected variant's
27
+ SKU, price and thumbnail via Catalog Service's `refineProduct`, matching
28
+ selected options by label, so integrators no longer need to implement this
29
+ resolution themselves. Passing a custom `enrichConfigurableProducts` still
30
+ overrides the default.
14
31
 
15
32
  ### Patch Changes
16
33
 
17
34
  - 4a9f96b: Bump SDK stable versions
18
35
  - 33ac652: fix: show original and final price in requisition list
19
36
 
20
- `ProductListTable` previously rendered only the final (discounted) price for an item's unit price and subtotal. It now also renders the original price with a strikethrough when a discount applies, for simple, configured, and bundle products, matching wishlist's price display.
37
+ `ProductListTable` previously rendered only the final (discounted) price for
38
+ an item's unit price and subtotal. It now also renders the original price with
39
+ a strikethrough when a discount applies, for simple, configured, and bundle
40
+ products, matching wishlist's price display.
21
41
 
22
42
  ## 1.5.0-beta.1
23
43
 
@@ -29,19 +49,33 @@
29
49
 
30
50
  ### Minor Changes
31
51
 
32
- - f3b5b17: fix: display variant-specific SKU, options, price and thumbnail for configurable requisition list items
52
+ - f3b5b17: fix: display variant-specific SKU, options, price and thumbnail for
53
+ configurable requisition list items
33
54
 
34
- `ProductListTable` previously showed only the parent product's name/SKU and never rendered the selected configurable options (e.g. color, size), and the configured product's thumbnail was shown unconditionally, ignoring the storefront's "Configurable Product Image" setting used by the cart.
55
+ `ProductListTable` previously showed only the parent product's name/SKU and
56
+ never rendered the selected configurable options (e.g. color, size), and the
57
+ configured product's thumbnail was shown unconditionally, ignoring the
58
+ storefront's "Configurable Product Image" setting used by the cart.
35
59
 
36
60
  - Renders the selected configurable options next to the SKU.
37
- - Adds a `useParentConfigurableThumbnail` prop to `ProductListTable`, driven by the new `configurable_thumbnail_source` store config field, so the thumbnail is consistent with the cart's admin-configured behavior.
38
- - Adds a built-in `enrichConfigurableProducts` default (exported from `@dropins/storefront-requisition-list`) that resolves the selected variant's SKU, price and thumbnail via Catalog Service's `refineProduct`, matching selected options by label, so integrators no longer need to implement this resolution themselves. Passing a custom `enrichConfigurableProducts` still overrides the default.
61
+ - Adds a `useParentConfigurableThumbnail` prop to `ProductListTable`, driven
62
+ by the new `configurable_thumbnail_source` store config field, so the
63
+ thumbnail is consistent with the cart's admin-configured behavior.
64
+ - Adds a built-in `enrichConfigurableProducts` default (exported from
65
+ `@dropins/storefront-requisition-list`) that resolves the selected variant's
66
+ SKU, price and thumbnail via Catalog Service's `refineProduct`, matching
67
+ selected options by label, so integrators no longer need to implement this
68
+ resolution themselves. Passing a custom `enrichConfigurableProducts` still
69
+ overrides the default.
39
70
 
40
71
  ### Patch Changes
41
72
 
42
73
  - 33ac652: fix: show original and final price in requisition list
43
74
 
44
- `ProductListTable` previously rendered only the final (discounted) price for an item's unit price and subtotal. It now also renders the original price with a strikethrough when a discount applies, for simple, configured, and bundle products, matching wishlist's price display.
75
+ `ProductListTable` previously rendered only the final (discounted) price for
76
+ an item's unit price and subtotal. It now also renders the original price with
77
+ a strikethrough when a discount applies, for simple, configured, and bundle
78
+ products, matching wishlist's price display.
45
79
 
46
80
  ## 1.4.0
47
81
 
@@ -49,32 +83,45 @@
49
83
 
50
84
  - f047a2d: feat: add requisition list sharing feature (USF-3911)
51
85
 
52
- 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.
53
-
54
- - Add `shareRequisitionListByToken` and `shareRequisitionListByEmail` APIs to generate share links and notify colleagues
55
- - Add `getSharedRequisitionList` API to preview a shared list by token (read-only, sender info included)
56
- - Add `importSharedRequisitionList` API to copy a shared list into the current customer's account
57
- - Add `ShareRequisitionListContent` component and container with copy-link and email recipient selection UI
58
- - Add `SharedRequisitionList` component and container to preview and import a shared requisition list by token and redirect to the list detail page on success
59
- - Extend `useRequisitionListAlert` with `import` action for success/error feedback after import
86
+ Introduces the ability for authenticated company users to share requisition
87
+ lists with colleagues, either via a generated link or by email. Recipients can
88
+ preview and import the shared list into their own account.
89
+
90
+ - Add `shareRequisitionListByToken` and `shareRequisitionListByEmail` APIs to
91
+ generate share links and notify colleagues
92
+ - Add `getSharedRequisitionList` API to preview a shared list by token
93
+ (read-only, sender info included)
94
+ - Add `importSharedRequisitionList` API to copy a shared list into the current
95
+ customer's account
96
+ - Add `ShareRequisitionListContent` component and container with copy-link and
97
+ email recipient selection UI
98
+ - Add `SharedRequisitionList` component and container to preview and import a
99
+ shared requisition list by token and redirect to the list detail page on
100
+ success
101
+ - Extend `useRequisitionListAlert` with `import` action for success/error
102
+ feedback after import
60
103
  - Extend `getStoreConfig` with sharing-related store config fields
61
- - Emit `auth/permissions` in sandbox on login/logout to correctly enable the share button for company users
104
+ - Emit `auth/permissions` in sandbox on login/logout to correctly enable the
105
+ share button for company users
62
106
  - Added `SharedRequisitionList` button in sandbox
63
107
 
64
- - 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.
108
+ - 66b8852: Removed the `engines.node` constraint from `package.json`. This
109
+ package targets browser environments exclusively and does not depend on a
110
+ specific Node.js runtime version. The package is now built and distributed
111
+ using Node.js 22 LTS.
65
112
 
66
113
  ### Patch Changes
67
114
 
68
115
  - c809d65: fix: correct isCompanyUser detection for B2C customers (USF-3911)
69
116
 
70
- The `auth/permissions` listener now checks specifically for `admin: true` or
71
- a `Magento_Company::*` key to identify company membership, instead of treating
117
+ The `auth/permissions` listener now checks specifically for `admin: true` or a
118
+ `Magento_Company::*` key to identify company membership, instead of treating
72
119
  any truthy key beyond `all` as proof. This prevents non-company permissions
73
120
  from being mistaken for company membership.
74
121
 
75
122
  Also aligns the `routeSharedRequisitionList` prop parameter name to
76
- `relativeUrl` across `RequisitionListHeader` and `RequisitionListView`
77
- to match `ShareRequisitionListContent`.
123
+ `relativeUrl` across `RequisitionListHeader` and `RequisitionListView` to
124
+ match `ShareRequisitionListContent`.
78
125
 
79
126
  - 34b701c: Bump commerce packages to latest stable
80
127
  - 1877178: Bump @adobe-commerce/elsie to v1.9.0-beta.3
@@ -91,14 +138,14 @@
91
138
 
92
139
  - c809d65: fix: correct isCompanyUser detection for B2C customers (USF-3911)
93
140
 
94
- The `auth/permissions` listener now checks specifically for `admin: true` or
95
- a `Magento_Company::*` key to identify company membership, instead of treating
141
+ The `auth/permissions` listener now checks specifically for `admin: true` or a
142
+ `Magento_Company::*` key to identify company membership, instead of treating
96
143
  any truthy key beyond `all` as proof. This prevents non-company permissions
97
144
  from being mistaken for company membership.
98
145
 
99
146
  Also aligns the `routeSharedRequisitionList` prop parameter name to
100
- `relativeUrl` across `RequisitionListHeader` and `RequisitionListView`
101
- to match `ShareRequisitionListContent`.
147
+ `relativeUrl` across `RequisitionListHeader` and `RequisitionListView` to
148
+ match `ShareRequisitionListContent`.
102
149
 
103
150
  ## 1.4.0-beta.0
104
151
 
@@ -106,71 +153,125 @@
106
153
 
107
154
  - f047a2d: feat: add requisition list sharing feature (USF-3911)
108
155
 
109
- 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.
110
-
111
- - Add `shareRequisitionListByToken` and `shareRequisitionListByEmail` APIs to generate share links and notify colleagues
112
- - Add `getSharedRequisitionList` API to preview a shared list by token (read-only, sender info included)
113
- - Add `importSharedRequisitionList` API to copy a shared list into the current customer's account
114
- - Add `ShareRequisitionListContent` component and container with copy-link and email recipient selection UI
115
- - Add `SharedRequisitionList` component and container to preview and import a shared requisition list by token and redirect to the list detail page on success
116
- - Extend `useRequisitionListAlert` with `import` action for success/error feedback after import
156
+ Introduces the ability for authenticated company users to share requisition
157
+ lists with colleagues, either via a generated link or by email. Recipients can
158
+ preview and import the shared list into their own account.
159
+
160
+ - Add `shareRequisitionListByToken` and `shareRequisitionListByEmail` APIs to
161
+ generate share links and notify colleagues
162
+ - Add `getSharedRequisitionList` API to preview a shared list by token
163
+ (read-only, sender info included)
164
+ - Add `importSharedRequisitionList` API to copy a shared list into the current
165
+ customer's account
166
+ - Add `ShareRequisitionListContent` component and container with copy-link and
167
+ email recipient selection UI
168
+ - Add `SharedRequisitionList` component and container to preview and import a
169
+ shared requisition list by token and redirect to the list detail page on
170
+ success
171
+ - Extend `useRequisitionListAlert` with `import` action for success/error
172
+ feedback after import
117
173
  - Extend `getStoreConfig` with sharing-related store config fields
118
- - Emit `auth/permissions` in sandbox on login/logout to correctly enable the share button for company users
174
+ - Emit `auth/permissions` in sandbox on login/logout to correctly enable the
175
+ share button for company users
119
176
  - Added `SharedRequisitionList` button in sandbox
120
177
 
121
- - 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.
178
+ - 66b8852: Removed the `engines.node` constraint from `package.json`. This
179
+ package targets browser environments exclusively and does not depend on a
180
+ specific Node.js runtime version. The package is now built and distributed
181
+ using Node.js 22 LTS.
122
182
 
123
183
  ## 1.3.0
124
184
 
125
185
  ### Minor Changes
126
186
 
127
- - 4205285: feat: add Move to List and Copy to List features for requisition list items
128
-
129
- - Add `moveItemsBetweenRequisitionLists` API to move items from one requisition list to another, removing them from the source and adding to the destination
130
- - Add `copyItemsBetweenRequisitionLists` API to copy items between requisition lists, keeping items in the source list
131
- - Add `RequisitionListPicker` reusable component for selecting a requisition list from a scrollable list of cards
132
- - Add "Move to List" and "Copy to List" bulk action buttons in the requisition list view, with modal-based list selection
133
- - Refactor `RequisitionListSelector` to use `RequisitionListPicker` for consistent list selection UX
134
- - Include destination list name in success alert messages for both move and copy operations
135
-
136
- - 9fdf4f4: Add an an active class and prop to the **RequisitionListSelector** so the button on the PDP page can reflect when the current product is already in the requisition list. Both an `active` prop as well as `requisition-list-selector--active` class was added. In addition, the `activeIcon` was also included should that the developer would like to change the button icon once an active state is truthy.
187
+ - 4205285: feat: add Move to List and Copy to List features for requisition list
188
+ items
189
+
190
+ - Add `moveItemsBetweenRequisitionLists` API to move items from one
191
+ requisition list to another, removing them from the source and adding to the
192
+ destination
193
+ - Add `copyItemsBetweenRequisitionLists` API to copy items between requisition
194
+ lists, keeping items in the source list
195
+ - Add `RequisitionListPicker` reusable component for selecting a requisition
196
+ list from a scrollable list of cards
197
+ - Add "Move to List" and "Copy to List" bulk action buttons in the requisition
198
+ list view, with modal-based list selection
199
+ - Refactor `RequisitionListSelector` to use `RequisitionListPicker` for
200
+ consistent list selection UX
201
+ - Include destination list name in success alert messages for both move and
202
+ copy operations
203
+
204
+ - 9fdf4f4: Add an an active class and prop to the **RequisitionListSelector** so
205
+ the button on the PDP page can reflect when the current product is already in
206
+ the requisition list. Both an `active` prop as well as
207
+ `requisition-list-selector--active` class was added. In addition, the
208
+ `activeIcon` was also included should that the developer would like to change
209
+ the button icon once an active state is truthy.
137
210
  - 98cd3b9: fix: merge user-provided langDefinitions in Provider
138
211
 
139
- The Provider now imports `config` and uses `deepmerge` to merge user-provided `langDefinitions` with the drop-in's bundled defaults before passing them to `UIProvider`. This enables label/placeholder overrides via the initializer API.
212
+ The Provider now imports `config` and uses `deepmerge` to merge user-provided
213
+ `langDefinitions` with the drop-in's bundled defaults before passing them to
214
+ `UIProvider`. This enables label/placeholder overrides via the initializer
215
+ API.
140
216
 
141
217
  ## 1.3.0-beta.0
142
218
 
143
219
  ### Minor Changes
144
220
 
145
- - 4205285: feat: add Move to List and Copy to List features for requisition list items
146
-
147
- - Add `moveItemsBetweenRequisitionLists` API to move items from one requisition list to another, removing them from the source and adding to the destination
148
- - Add `copyItemsBetweenRequisitionLists` API to copy items between requisition lists, keeping items in the source list
149
- - Add `RequisitionListPicker` reusable component for selecting a requisition list from a scrollable list of cards
150
- - Add "Move to List" and "Copy to List" bulk action buttons in the requisition list view, with modal-based list selection
151
- - Refactor `RequisitionListSelector` to use `RequisitionListPicker` for consistent list selection UX
152
- - Include destination list name in success alert messages for both move and copy operations
153
-
154
- - 9fdf4f4: Add an an active class and prop to the **RequisitionListSelector** so the button on the PDP page can reflect when the current product is already in the requisition list. Both an `active` prop as well as `requisition-list-selector--active` class was added. In addition, the `activeIcon` was also included should that the developer would like to change the button icon once an active state is truthy.
221
+ - 4205285: feat: add Move to List and Copy to List features for requisition list
222
+ items
223
+
224
+ - Add `moveItemsBetweenRequisitionLists` API to move items from one
225
+ requisition list to another, removing them from the source and adding to the
226
+ destination
227
+ - Add `copyItemsBetweenRequisitionLists` API to copy items between requisition
228
+ lists, keeping items in the source list
229
+ - Add `RequisitionListPicker` reusable component for selecting a requisition
230
+ list from a scrollable list of cards
231
+ - Add "Move to List" and "Copy to List" bulk action buttons in the requisition
232
+ list view, with modal-based list selection
233
+ - Refactor `RequisitionListSelector` to use `RequisitionListPicker` for
234
+ consistent list selection UX
235
+ - Include destination list name in success alert messages for both move and
236
+ copy operations
237
+
238
+ - 9fdf4f4: Add an an active class and prop to the **RequisitionListSelector** so
239
+ the button on the PDP page can reflect when the current product is already in
240
+ the requisition list. Both an `active` prop as well as
241
+ `requisition-list-selector--active` class was added. In addition, the
242
+ `activeIcon` was also included should that the developer would like to change
243
+ the button icon once an active state is truthy.
155
244
  - 98cd3b9: fix: merge user-provided langDefinitions in Provider
156
245
 
157
- The Provider now imports `config` and uses `deepmerge` to merge user-provided `langDefinitions` with the drop-in's bundled defaults before passing them to `UIProvider`. This enables label/placeholder overrides via the initializer API.
246
+ The Provider now imports `config` and uses `deepmerge` to merge user-provided
247
+ `langDefinitions` with the drop-in's bundled defaults before passing them to
248
+ `UIProvider`. This enables label/placeholder overrides via the initializer
249
+ API.
158
250
 
159
251
  ## 1.2.0
160
252
 
161
253
  ### Minor Changes
162
254
 
163
- - a23ab81: Replaced API catalog functions with props that must be injected from the integration layer
255
+ - a23ab81: Replaced API catalog functions with props that must be injected from
256
+ the integration layer
164
257
 
165
258
  ### Patch Changes
166
259
 
167
260
  - 9dfd6da: Bump adobe-commerce/elsie from 1.8.0-beta.1 to 1.8.0
168
- - 13f4ea9: Add Changesets-based release automation with branch-aware workflows (alpha/beta/stable), PR changeset validation, and contributor helper scripts.
261
+ - 13f4ea9: Add Changesets-based release automation with branch-aware workflows
262
+ (alpha/beta/stable), PR changeset validation, and contributor helper scripts.
169
263
  - 2f02836: Bump "@adobe-commerce/elsie" from 1.7.0 to 1.8.0-beta.1
170
- - b8e1dbe: Fix RequisitionListSelector Storybook stories: WhenRequisitionListIsDisabled now correctly shows disabled behavior via loaders and state; WithoutExistingRequisitionLists shows empty lists via loader; Docs overview uses iframe isolation (docs.story.inline: false) so all stories appear and work correctly together.
264
+ - b8e1dbe: Fix RequisitionListSelector Storybook stories:
265
+ WhenRequisitionListIsDisabled now correctly shows disabled behavior via
266
+ loaders and state; WithoutExistingRequisitionLists shows empty lists via
267
+ loader; Docs overview uses iframe isolation (docs.story.inline: false) so all
268
+ stories appear and work correctly together.
171
269
  - c26676c: fix: merge user-provided langDefinitions in Provider
172
270
 
173
- The Provider now imports `config` and uses `deepmerge` to merge user-provided `langDefinitions` with the drop-in's bundled defaults before passing them to `UIProvider`. This enables label/placeholder overrides via the initializer API.
271
+ The Provider now imports `config` and uses `deepmerge` to merge user-provided
272
+ `langDefinitions` with the drop-in's bundled defaults before passing them to
273
+ `UIProvider`. This enables label/placeholder overrides via the initializer
274
+ API.
174
275
 
175
276
  ## 1.2.0-beta.4
176
277
 
@@ -190,17 +291,26 @@
190
291
 
191
292
  - c26676c: fix: merge user-provided langDefinitions in Provider
192
293
 
193
- The Provider now imports `config` and uses `deepmerge` to merge user-provided `langDefinitions` with the drop-in's bundled defaults before passing them to `UIProvider`. This enables label/placeholder overrides via the initializer API.
294
+ The Provider now imports `config` and uses `deepmerge` to merge user-provided
295
+ `langDefinitions` with the drop-in's bundled defaults before passing them to
296
+ `UIProvider`. This enables label/placeholder overrides via the initializer
297
+ API.
194
298
 
195
299
  ## 1.2.0-beta.1
196
300
 
197
301
  ### Minor Changes
198
302
 
199
- - a23ab81: Replaced API catalog functions with props that must be injected from the integration layer
303
+ - a23ab81: Replaced API catalog functions with props that must be injected from
304
+ the integration layer
200
305
 
201
306
  ## 1.1.1-beta.0
202
307
 
203
308
  ### Patch Changes
204
309
 
205
- - 13f4ea9: Add Changesets-based release automation with branch-aware workflows (alpha/beta/stable), PR changeset validation, and contributor helper scripts.
206
- - b8e1dbe: Fix RequisitionListSelector Storybook stories: WhenRequisitionListIsDisabled now correctly shows disabled behavior via loaders and state; WithoutExistingRequisitionLists shows empty lists via loader; Docs overview uses iframe isolation (docs.story.inline: false) so all stories appear and work correctly together.
310
+ - 13f4ea9: Add Changesets-based release automation with branch-aware workflows
311
+ (alpha/beta/stable), PR changeset validation, and contributor helper scripts.
312
+ - b8e1dbe: Fix RequisitionListSelector Storybook stories:
313
+ WhenRequisitionListIsDisabled now correctly shows disabled behavior via
314
+ loaders and state; WithoutExistingRequisitionLists shows empty lists via
315
+ loader; Docs overview uses iframe isolation (docs.story.inline: false) so all
316
+ stories appear and work correctly together.
@@ -14,11 +14,11 @@
14
14
  * is strictly forbidden unless prior written permission is obtained
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
- import { Initializer } from '@dropins/tools/lib';
18
- import { Lang } from '@dropins/tools/i18n';
17
+ import { Initializer } from '../../../node_modules/@dropins/tools/src/lib';
18
+ import { Lang } from '../../../node_modules/@dropins/tools/src/i18n';
19
19
  type ConfigProps = {
20
20
  langDefinitions?: Lang;
21
21
  };
22
22
  export declare const initialize: Initializer<ConfigProps>;
23
- export declare const config: import("@dropins/tools/lib").Config<ConfigProps>;
23
+ export declare const config: import("../../../node_modules/@dropins/tools/src/lib").Config<ConfigProps>;
24
24
  export {};
@@ -14,7 +14,7 @@
14
14
  * is strictly forbidden unless prior written permission is obtained
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
- import { Container } from '@dropins/tools/lib';
17
+ import { Container } from '../../../node_modules/@dropins/tools/src/lib';
18
18
  import { RequisitionListFormMode, RequisitionListFormValues } from '../../hooks/useRequisitionListForm';
19
19
  import { RequisitionList } from '../../data/models/requisitionList';
20
20
  export interface RequisitionListFormProps {
@@ -15,7 +15,7 @@
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
17
  import { HTMLAttributes } from 'preact/compat';
18
- import { Container, SlotProps } from '@dropins/tools/lib';
18
+ import { Container, SlotProps } from '../../../node_modules/@dropins/tools/src/lib';
19
19
  export interface RequisitionListGridProps extends HTMLAttributes<HTMLDivElement> {
20
20
  routeRequisitionListDetails?: (uid: string) => string | void;
21
21
  /**
@@ -14,7 +14,7 @@
14
14
  * is strictly forbidden unless prior written permission is obtained
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
- import { Container } from '@dropins/tools/lib';
17
+ import { Container } from '../../../node_modules/@dropins/tools/src/lib';
18
18
  import { RequisitionList } from '../../data/models/requisitionList';
19
19
  import { Item } from '../../data/models/item';
20
20
  export interface RequisitionListHeaderProps {
@@ -15,7 +15,7 @@
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
17
  import { HTMLAttributes } from 'preact/compat';
18
- import { Container } from '@dropins/tools/lib';
18
+ import { Container } from '../../../node_modules/@dropins/tools/src/lib';
19
19
  export interface RequisitionListSelectorProps extends HTMLAttributes<HTMLDivElement> {
20
20
  canCreate?: boolean;
21
21
  sku: string;
@@ -1,5 +1,5 @@
1
1
  import { Item, Product } from '../../data/models/item';
2
- import { Container } from '@dropins/tools/lib';
2
+ import { Container } from '../../../node_modules/@dropins/tools/src/lib';
3
3
  import { HTMLAttributes } from 'preact/compat';
4
4
  export interface RequisitionListViewProps extends HTMLAttributes<HTMLDivElement> {
5
5
  /**
@@ -14,7 +14,7 @@
14
14
  * is strictly forbidden unless prior written permission is obtained
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
- import { Container } from '@dropins/tools/lib';
17
+ import { Container } from '../../../node_modules/@dropins/tools/src/lib';
18
18
  import { ShareRequisitionListByEmailError } from '../../api/shareRequisitionListByEmail';
19
19
  export interface ShareRequisitionListContentProps {
20
20
  requisitionListUid: string;
@@ -14,7 +14,7 @@
14
14
  * is strictly forbidden unless prior written permission is obtained
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
- import { Container } from '@dropins/tools/lib';
17
+ import { Container } from '../../../node_modules/@dropins/tools/src/lib';
18
18
  export interface SharedRequisitionListProps {
19
19
  /**
20
20
  * The share token from the URL (e.g. from ?requisition_id=<token>).
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@dropins/storefront-requisition-list",
3
- "version": "1.5.0",
3
+ "version": "1.5.1-beta.0",
4
4
  "license": "SEE LICENSE IN LICENSE.md"
5
5
  }
@@ -1,2 +1,2 @@
1
- import { Render } from '@dropins/tools/lib';
1
+ import { Render } from '../../node_modules/@dropins/tools/src/lib';
2
2
  export declare const render: Render;