@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.
- package/CHANGELOG.md +11 -0
- package/dist/builder-react-lite.cjs.js +1 -1
- package/dist/builder-react-lite.cjs.js.map +1 -1
- package/dist/builder-react-lite.esm.js +1 -1
- package/dist/builder-react-lite.esm.js.map +1 -1
- package/dist/builder-react.browser.js +1 -1
- package/dist/builder-react.browser.js.map +1 -1
- package/dist/builder-react.cjs.js +1 -1
- package/dist/builder-react.cjs.js.map +1 -1
- package/dist/builder-react.es5.js +1 -1
- package/dist/builder-react.es5.js.map +1 -1
- package/dist/builder-react.unpkg.js +1 -1
- package/dist/builder-react.unpkg.js.map +1 -1
- package/dist/lib/package.json +4 -4
- package/dist/lib/rollup.config.js.map +1 -1
- package/dist/lib/src/blocks/Columns.js +2 -2
- package/dist/lib/src/blocks/Image.js +1 -1
- package/dist/lib/src/blocks/Text.js +1 -1
- package/dist/lib/src/blocks/Text.js.map +1 -1
- package/dist/lib/src/components/builder-component.component.js +13 -6
- package/dist/lib/src/components/builder-component.component.js.map +1 -1
- package/dist/lib/src/functions/safe-dynamic-require.js +4 -5
- package/dist/lib/src/functions/safe-dynamic-require.js.map +1 -1
- package/dist/lib/src/to-error.js +22 -0
- package/dist/lib/src/to-error.js.map +1 -0
- package/dist/types/src/functions/safe-dynamic-require.d.ts +1 -1
- package/dist/types/src/to-error.d.ts +13 -0
- package/jest.config.js +21 -29
- package/package.json +4 -4
- package/rollup.config.ts +1 -1
- package/src/blocks/Columns.tsx +2 -2
- package/src/blocks/Image.tsx +1 -1
- package/src/blocks/Text.tsx +1 -1
- package/src/components/builder-component.component.tsx +12 -6
- package/src/functions/safe-dynamic-require.ts +5 -3
- package/src/to-error.ts +16 -0
- 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:
|
|
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
|
/>
|