@khanacademy/wonder-blocks-layout
Advanced tools
Comparing version 2.1.3 to 2.2.0
# @khanacademy/wonder-blocks-layout | ||
## 2.2.0 | ||
### Minor Changes | ||
- 07f7f407: Renamed `WithSSRPlaceholder` to `InitialFallback`. This includes changing the `placeholder` prop to `fallback` so it's closer to `Suspense` usage. | ||
### Patch Changes | ||
- Updated dependencies [07f7f407] | ||
- @khanacademy/wonder-blocks-core@7.0.0 | ||
## 2.1.3 | ||
@@ -4,0 +15,0 @@ |
import _extends from '@babel/runtime/helpers/extends'; | ||
import * as React from 'react'; | ||
import { WithSSRPlaceholder, View } from '@khanacademy/wonder-blocks-core'; | ||
import { InitialFallback, View } from '@khanacademy/wonder-blocks-core'; | ||
import { spacing } from '@khanacademy/wonder-blocks-tokens'; | ||
@@ -153,4 +153,4 @@ import { StyleSheet } from 'aphrodite'; | ||
render() { | ||
return React.createElement(WithSSRPlaceholder, { | ||
placeholder: () => this.renderContent(true) | ||
return React.createElement(InitialFallback, { | ||
fallback: () => this.renderContent(true) | ||
}, () => this.renderContent(this.isUnsupportedEnvironment())); | ||
@@ -157,0 +157,0 @@ } |
@@ -180,4 +180,4 @@ 'use strict'; | ||
render() { | ||
return React__namespace.createElement(wonderBlocksCore.WithSSRPlaceholder, { | ||
placeholder: () => this.renderContent(true) | ||
return React__namespace.createElement(wonderBlocksCore.InitialFallback, { | ||
fallback: () => this.renderContent(true) | ||
}, () => this.renderContent(this.isUnsupportedEnvironment())); | ||
@@ -184,0 +184,0 @@ } |
{ | ||
"name": "@khanacademy/wonder-blocks-layout", | ||
"version": "2.1.3", | ||
"version": "2.2.0", | ||
"design": "v1", | ||
@@ -17,3 +17,3 @@ "publishConfig": { | ||
"@babel/runtime": "^7.18.6", | ||
"@khanacademy/wonder-blocks-core": "^6.4.3", | ||
"@khanacademy/wonder-blocks-core": "^7.0.0", | ||
"@khanacademy/wonder-blocks-tokens": "^2.0.0" | ||
@@ -20,0 +20,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
142656
+ Added@khanacademy/wonder-blocks-core@7.0.1(transitive)
- Removed@khanacademy/wonder-blocks-core@6.4.3(transitive)