@akinon/pz-basket-gift-pack 1.106.0-rc.85 → 1.106.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,19 +1,6 @@
1
1
  # @akinon/pz-basket-gift-pack
2
2
 
3
- ## 1.106.0-rc.85
4
-
5
- ### Minor Changes
6
-
7
- - 72bfcbf2: ZERO-3347: Manage save button disable status
8
- - d8be48fb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
9
- - 16aff543: ZERO-3431: Add test script for redirect utility in package.json
10
- - 64699d3ff: ZERO-2761: Fix invalid import for plugin module
11
- - e974d8e8: ZERO-3406: Fix rc build
12
- - 7eb51ca9: ZERO-3424 :Update package versions
13
- - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
14
- - 8b1d24eb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
15
- - 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
16
- - 33d4d0c: ZERO-3615: remove custom not found
3
+ ## 1.106.0
17
4
 
18
5
  ## 1.105.0
19
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/pz-basket-gift-pack",
3
- "version": "1.106.0-rc.85",
3
+ "version": "1.106.0",
4
4
  "license": "MIT",
5
5
  "main": "src/index.tsx",
6
6
  "peerDependencies": {
package/src/index.tsx CHANGED
@@ -30,7 +30,6 @@ const defaultTranslations = {
30
30
  charactersLength: 'characters left',
31
31
  removeNote: 'Remove Note',
32
32
  save: 'SAVE',
33
- saving: 'SAVING...',
34
33
  close: 'Close'
35
34
  };
36
35
 
@@ -81,8 +80,7 @@ export const BasketGiftPack = ({
81
80
  customGiftNoteFormUIRender
82
81
  }: Props) => {
83
82
  const _translations = { ...defaultTranslations, ...translations };
84
- const [addGiftPackage, { isLoading: isAddingGiftPackage }] =
85
- useAddGiftPackageMutation();
83
+ const [addGiftPackage] = useAddGiftPackageMutation();
86
84
  const [removeGiftPackage] = useRemoveGiftPackageMutation();
87
85
  const [hasGiftPack, setHasGiftPack] = useState(false);
88
86
  const [hasNote, setHasNote] = useState({
@@ -231,14 +229,8 @@ export const BasketGiftPack = ({
231
229
  type="submit"
232
230
  className="w-28 h-7 font-medium uppercase"
233
231
  data-testid="basket-gift-pack-note-save-button"
234
- disabled={
235
- isAddingGiftPackage ||
236
- textAreaCount === 0 ||
237
- note.trim() === '' ||
238
- note === defaultMessage
239
- }
240
232
  >
241
- {isAddingGiftPackage ? _translations.saving : _translations.save}
233
+ {_translations.save}
242
234
  </Button>
243
235
  </div>
244
236
  </div>