@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.
Files changed (55) hide show
  1. package/bin/migration-scripts/0.14.65.js +17 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +14 -14
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -2
  6. package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  7. package/dist/components/InvestmentInfo/InvestmentInfo.js +2 -1
  8. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  9. package/dist/components/ProductBlock/ProductBlock.js +1 -2
  10. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  11. package/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -2
  12. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
  13. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  14. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  15. package/lib/components/InvestmentInfo/InvestmentInfo.js +2 -1
  16. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  17. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +0 -2
  18. package/lib/components/ProductBlock/ProductBlock.js +1 -2
  19. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  20. package/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -2
  21. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
  22. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  23. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  24. package/mobile/bundle/bundle.umd.js +12 -12
  25. package/mobile/bundle/bundle.umd.min.js +1 -1
  26. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -2
  27. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  28. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +2 -1
  29. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  30. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -2
  31. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  32. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -2
  33. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
  34. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  35. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  36. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +2 -1
  37. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  38. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -2
  39. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  40. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -2
  41. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
  42. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  43. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  44. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +2 -1
  45. package/mobile/src/components/ProductBlock/ProductBlock.tsx +9 -16
  46. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -2
  47. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +15 -7
  48. package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +1 -2
  49. package/package.json +1 -1
  50. package/src/components/InvestmentInfo/InvestmentInfo.tsx +2 -1
  51. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +0 -17
  52. package/src/components/ProductBlock/ProductBlock.tsx +9 -16
  53. package/src/components/ProductBlock/ProductBlockContent.ts +0 -2
  54. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +15 -7
  55. 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
+ }