@vtex/faststore-plugin-buyer-portal 1.3.35 → 1.3.36
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 +8 -1
- package/package.json +1 -1
- package/src/features/buying-policies/components/BasicBuyingPolicyDrawer/BasicBuyingPolicyDrawer.tsx +10 -2
- package/src/features/buying-policies/components/BasicBuyingPolicyDrawer/basic-buying-policy-drawer.scss +6 -0
- package/src/features/shared/utils/constants.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.3.36] - 2025-12-04
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Implements a tooltip on buying policies drawers to assist Criteria JSONana input.
|
|
15
|
+
|
|
10
16
|
## [1.3.35] - 2025-12-02
|
|
11
17
|
|
|
12
18
|
### Added
|
|
@@ -327,7 +333,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
327
333
|
- Add CHANGELOG file
|
|
328
334
|
- Add README file
|
|
329
335
|
|
|
330
|
-
[unreleased]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/
|
|
336
|
+
[unreleased]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.36...HEAD
|
|
331
337
|
[1.2.3]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.2.2...1.2.3
|
|
332
338
|
[1.2.3]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.2.3
|
|
333
339
|
[1.2.4]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.2.4
|
|
@@ -369,4 +375,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
369
375
|
> > > > > > > main
|
|
370
376
|
> > > > > > > [1.3.11]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.3.11
|
|
371
377
|
|
|
378
|
+
[1.3.36]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.35...v1.3.36
|
|
372
379
|
[1.3.35]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.3.35
|
package/package.json
CHANGED
package/src/features/buying-policies/components/BasicBuyingPolicyDrawer/BasicBuyingPolicyDrawer.tsx
CHANGED
|
@@ -252,9 +252,17 @@ export const BasicBuyingPolicyDrawer = ({
|
|
|
252
252
|
/>
|
|
253
253
|
|
|
254
254
|
<h3>Criteria</h3>
|
|
255
|
-
<h4>
|
|
255
|
+
<h4 data-fs-bp-basic-buying-policy-criteria-label>
|
|
256
256
|
Define the conditions that will trigger this buying policy using{" "}
|
|
257
|
-
<a href="https://jsonata.org/">JSONata</a>
|
|
257
|
+
<a href="https://jsonata.org/"> JSONata </a>
|
|
258
|
+
<Tooltip
|
|
259
|
+
data-fs-bp-basic-buying-policy-drawer-tooltip
|
|
260
|
+
placement="top-center"
|
|
261
|
+
maxWidth={300}
|
|
262
|
+
content="In this field, monetary values are represented in cents to support currencies with different decimal precision. Exemple: value > 10000 means greater than $100.00."
|
|
263
|
+
>
|
|
264
|
+
<Icon name="Info" />
|
|
265
|
+
</Tooltip>
|
|
258
266
|
</h4>
|
|
259
267
|
|
|
260
268
|
{isDrawerLoading ? (
|
|
@@ -84,6 +84,12 @@
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
+
[data-fs-bp-basic-buying-policy-criteria-label] {
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
gap: 0.25rem;
|
|
91
|
+
}
|
|
92
|
+
|
|
87
93
|
[data-fs-bp-basic-buying-policy-criteria-input] {
|
|
88
94
|
position: relative;
|
|
89
95
|
[data-fs-bp-basic-buying-policy-criteria-input-highlighted] {
|