@dropins/storefront-requisition-list 1.5.0 → 1.5.1

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