@builder.io/react 2.0.2-5 → 2.0.2-8

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 (37) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/builder-react-lite.cjs.js +1 -1
  3. package/dist/builder-react-lite.cjs.js.map +1 -1
  4. package/dist/builder-react-lite.esm.js +1 -1
  5. package/dist/builder-react-lite.esm.js.map +1 -1
  6. package/dist/builder-react.browser.js +1 -1
  7. package/dist/builder-react.browser.js.map +1 -1
  8. package/dist/builder-react.cjs.js +1 -1
  9. package/dist/builder-react.cjs.js.map +1 -1
  10. package/dist/builder-react.es5.js +1 -1
  11. package/dist/builder-react.es5.js.map +1 -1
  12. package/dist/builder-react.unpkg.js +1 -1
  13. package/dist/builder-react.unpkg.js.map +1 -1
  14. package/dist/lib/package.json +4 -4
  15. package/dist/lib/rollup.config.js.map +1 -1
  16. package/dist/lib/src/blocks/Columns.js +2 -2
  17. package/dist/lib/src/blocks/Image.js +1 -1
  18. package/dist/lib/src/blocks/Text.js +1 -1
  19. package/dist/lib/src/blocks/Text.js.map +1 -1
  20. package/dist/lib/src/components/builder-component.component.js +13 -6
  21. package/dist/lib/src/components/builder-component.component.js.map +1 -1
  22. package/dist/lib/src/functions/safe-dynamic-require.js +4 -5
  23. package/dist/lib/src/functions/safe-dynamic-require.js.map +1 -1
  24. package/dist/lib/src/to-error.js +22 -0
  25. package/dist/lib/src/to-error.js.map +1 -0
  26. package/dist/types/src/functions/safe-dynamic-require.d.ts +1 -1
  27. package/dist/types/src/to-error.d.ts +13 -0
  28. package/jest.config.js +21 -29
  29. package/package.json +4 -4
  30. package/rollup.config.ts +1 -1
  31. package/src/blocks/Columns.tsx +2 -2
  32. package/src/blocks/Image.tsx +1 -1
  33. package/src/blocks/Text.tsx +1 -1
  34. package/src/components/builder-component.component.tsx +12 -6
  35. package/src/functions/safe-dynamic-require.ts +5 -3
  36. package/src/to-error.ts +16 -0
  37. package/test/__snapshots__/image.test.tsx.snap +1 -1
@@ -161,7 +161,7 @@ exports[`Image with responsive styles 1`] = `
161
161
  loading="lazy"
162
162
  onLoad={[Function]}
163
163
  role="presentation"
164
- sizes="(max-width: 999px) 100vw, 345px"
164
+ sizes="(max-width: 991px) 100vw, 345px"
165
165
  src="https://cdn.shopify.com/s/files/1/0374/6457/2041/products/valerie-elash-o1Ic6JdypmA-unsplash.jpg?v=1592506853"
166
166
  srcSet="//cdn.shopify.com/s/files/1/0374/6457/2041/products/valerie-elash-o1Ic6JdypmA-unsplash_100x100.jpg?v=1592506853 100w, //cdn.shopify.com/s/files/1/0374/6457/2041/products/valerie-elash-o1Ic6JdypmA-unsplash_200x200.jpg?v=1592506853 200w, //cdn.shopify.com/s/files/1/0374/6457/2041/products/valerie-elash-o1Ic6JdypmA-unsplash_400x400.jpg?v=1592506853 400w, //cdn.shopify.com/s/files/1/0374/6457/2041/products/valerie-elash-o1Ic6JdypmA-unsplash_800x800.jpg?v=1592506853 800w, //cdn.shopify.com/s/files/1/0374/6457/2041/products/valerie-elash-o1Ic6JdypmA-unsplash_1200x1200.jpg?v=1592506853 1200w, //cdn.shopify.com/s/files/1/0374/6457/2041/products/valerie-elash-o1Ic6JdypmA-unsplash_1600x1600.jpg?v=1592506853 1600w, //cdn.shopify.com/s/files/1/0374/6457/2041/products/valerie-elash-o1Ic6JdypmA-unsplash_2000x2000.jpg?v=1592506853 2000w, https://cdn.shopify.com/s/files/1/0374/6457/2041/products/valerie-elash-o1Ic6JdypmA-unsplash.jpg?v=1592506853"
167
167
  />