Skip to content

Commit 18d0ee4

Browse files
hiagolcmcursoragent
andcommitted
Merge main into feat/css-handles-modals
Resolved conflicts in CHANGELOG.md and docs/README.md by merging both feature sets: - Kept CSS handles for modal components from feat/css-handles-modals - Added clearButton, updateButton, and updateButtonContainer from main - Maintained version 1.3.0 changelog entries from main Co-authored-by: Cursor <cursoragent@cursor.com>
2 parents 4b80811 + 0815dac commit 18d0ee4

41 files changed

Lines changed: 460 additions & 28 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- CSS handles for `UnavailableItemsModal`, `AddLocation`, and `ProductItem` components to enable theme customization.
1313

14+
## [1.3.0] - 2026-07-08
15+
16+
### Added
17+
- `clearButton` and `updateButton` CSS handles on the pickup point list so merchants can style the Clear and Update buttons independently (previously only the shared `updateButtonContainer` was available).
18+
19+
### Changed
20+
- Pickup point selection now requires explicit Clear button instead of clicking the selected point to unselect.
21+
- Clearing a selected pickup point now dispatches `RESET_FULFILLMENT_METHOD` (via a new `onClearPickup` handler) instead of re-dispatching `UPDATE_PICKUP`. This skips the delivery-promises BFF availability check on clear — clearing only broadens availability, so there is nothing to validate — resulting in a faster clear path with the same session cleanup.
22+
- Added bottom padding to the pickup point list when the floating action bar is visible so the last item scrolls fully clear of the Clear / Update buttons.
23+
24+
### Fixed
25+
- `pickup-point-selector` modal now closes automatically after a pickup is selected or cleared. Previously only `shipping-method-selector` closed itself when the soft-refresh feature landed; the standalone pickup-point-selector was missing the same wiring, leaving the modal open until the shopper dismissed it manually.
26+
1427
## [1.2.0] - 2026-06-30
1528

1629
### Changed

docs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ In order to apply CSS customizations in this and other blocks, follow the instru
168168
| `unavailableItemsModalProductItem` |
169169
| `unavailableItemsModalRemoveButtonContainer` |
170170
| `unavailableItemsModalRetryButtonContainer` |
171+
| `updateButtonContainer` |
172+
| `clearButton` |
173+
| `updateButton` |
171174

172175
<!-- DOCS-IGNORE:start -->
173176

manifest.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"vendor": "vtex",
33
"name": "delivery-promise-components",
4-
"version": "1.2.0",
4+
"version": "1.3.0",
55
"title": "Delivery Promise Components",
66
"description": "Delivery Promise UI components",
77
"builders": {
@@ -21,9 +21,7 @@
2121
"vtex.order-items": "0.x",
2222
"vtex.session-client": "1.x"
2323
},
24-
"registries": [
25-
"smartcheckout"
26-
],
24+
"registries": ["smartcheckout"],
2725
"policies": [],
2826
"$schema": "https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema"
2927
}

messages/bg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"store/delivery-promise-components.pickupPointButton.placeholder": "Избиране на магазин",
3+
"store/delivery-promise-components.pickupPointList.clearButton.label": "Изчисти",
34
"store/delivery-promise-components.pickupPointList.updateButton.label": "Update",
45
"store/delivery-promise-components.pickupPointSelection.noPointsState.button.label": "Continue with delivery",
56
"store/delivery-promise-components.pickupPointSelection.noPointsState.description": "There are no stores available for the postal code {postalCode}",

messages/ca.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"store/delivery-promise-components.pickupPointButton.placeholder": "Tria una botiga",
3+
"store/delivery-promise-components.pickupPointList.clearButton.label": "Esborra",
34
"store/delivery-promise-components.pickupPointList.updateButton.label": "Actualitza",
45
"store/delivery-promise-components.pickupPointSelection.noPointsState.button.label": "Continue with delivery",
56
"store/delivery-promise-components.pickupPointSelection.noPointsState.description": "There are no stores available for the postal code {postalCode}",

messages/cs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"store/delivery-promise-components.pickupPointButton.placeholder": "Vyberte obchod",
3+
"store/delivery-promise-components.pickupPointList.clearButton.label": "Vymazat",
34
"store/delivery-promise-components.pickupPointList.updateButton.label": "Aktualizovat",
45
"store/delivery-promise-components.pickupPointSelection.noPointsState.button.label": "Continue with delivery",
56
"store/delivery-promise-components.pickupPointSelection.noPointsState.description": "There are no stores available for the postal code {postalCode}",

messages/da.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"store/delivery-promise-components.pickupPointButton.placeholder": "Vælg en butik",
3+
"store/delivery-promise-components.pickupPointList.clearButton.label": "Ryd",
34
"store/delivery-promise-components.pickupPointList.updateButton.label": "Opdater",
45
"store/delivery-promise-components.pickupPointSelection.noPointsState.button.label": "Continue with delivery",
56
"store/delivery-promise-components.pickupPointSelection.noPointsState.description": "There are no stores available for the postal code {postalCode}",

messages/de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"store/delivery-promise-components.pickupPointButton.placeholder": "Shop auswählen",
3+
"store/delivery-promise-components.pickupPointList.clearButton.label": "Löschen",
34
"store/delivery-promise-components.pickupPointList.updateButton.label": "Update",
45
"store/delivery-promise-components.pickupPointSelection.noPointsState.button.label": "Continue with delivery",
56
"store/delivery-promise-components.pickupPointSelection.noPointsState.description": "There are no stores available for the postal code {postalCode}",

messages/el.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"store/delivery-promise-components.pickupPointButton.placeholder": "Επιλέξτε ένα κατάστημα",
3+
"store/delivery-promise-components.pickupPointList.clearButton.label": "Εκκαθάριση",
34
"store/delivery-promise-components.pickupPointList.updateButton.label": "Ενημέρωση",
45
"store/delivery-promise-components.pickupPointSelection.noPointsState.button.label": "Continue with delivery",
56
"store/delivery-promise-components.pickupPointSelection.noPointsState.description": "There are no stores available for the postal code {postalCode}",

messages/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"store/delivery-promise-components.pickupPointButton.placeholder": "Choose a store",
3+
"store/delivery-promise-components.pickupPointList.clearButton.label": "Clear",
34
"store/delivery-promise-components.pickupPointList.updateButton.label": "Update",
45
"store/delivery-promise-components.pickupPointSelection.noPointsState.button.label": "Continue with delivery",
56
"store/delivery-promise-components.pickupPointSelection.noPointsState.description": "There are no stores available for the postal code {postalCode}",

0 commit comments

Comments
 (0)