@redneckz/wildless-cms-uni-blocks 0.14.64 → 0.14.65
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/bin/migration-scripts/0.14.65.js +17 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +14 -14
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -2
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/dist/components/InvestmentInfo/InvestmentInfo.js +2 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +1 -2
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/lib/components/InvestmentInfo/InvestmentInfo.js +2 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +0 -2
- package/lib/components/ProductBlock/ProductBlock.js +1 -2
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/mobile/bundle/bundle.umd.js +12 -12
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -2
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +2 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -2
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +2 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -2
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +2 -1
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +9 -16
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +15 -7
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +1 -2
- package/package.json +1 -1
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +2 -1
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +0 -17
- package/src/components/ProductBlock/ProductBlock.tsx +9 -16
- package/src/components/ProductBlock/ProductBlockContent.ts +0 -2
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +15 -7
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +1 -2
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { deleteEmptyProps, deleteProp, traversePageBlocks } from '../utils.js';
|
|
2
|
+
|
|
3
|
+
export const description = 'v0.14.65';
|
|
4
|
+
|
|
5
|
+
export default traversePageBlocks(adjustProductBlock, adjustClearBlock);
|
|
6
|
+
|
|
7
|
+
function adjustProductBlock(block) {
|
|
8
|
+
if (block?.type === 'ProductBlock' && block?.content) {
|
|
9
|
+
deleteProp('showBorder', block.content);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function adjustClearBlock(block) {
|
|
14
|
+
if (block?.content) {
|
|
15
|
+
block.content = deleteEmptyProps(block.content);
|
|
16
|
+
}
|
|
17
|
+
}
|