Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@khanacademy/wonder-blocks-layout

Package Overview
Dependencies
Maintainers
1
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khanacademy/wonder-blocks-layout - npm Package Compare versions

Comparing version 2.1.3 to 2.2.0

11

CHANGELOG.md
# @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 @@

6

dist/es/index.js
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc