-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix(toast): 🐛 useToast is not a function * chore(release): 0.1.1-beta.1 * chore(toast): 📌 pin the storybook deps to the latest beta * refactor(utils): ♻️ remove createContext utils & its test
- Loading branch information
1 parent
d7766f8
commit bf476e2
Showing
9 changed files
with
60 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ interface Props { | |
|
||
export function createPreviewTabs(props: Props) { | ||
const { js, ts, css, deps: extraDeps = [] } = props; | ||
const deps = ["[email protected].0", ...extraDeps]; | ||
const deps = ["[email protected].1", ...extraDeps]; | ||
const tabs = []; | ||
|
||
if (js) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ import { CreateToastSandbox } from "../../../scripts/create-preview-tabs"; | |
|
||
const sandboxJs = CreateToastSandbox({ | ||
type: "jsx", | ||
deps: ["[email protected].0"], | ||
deps: ["[email protected].1"], | ||
}); | ||
const sandboxTs = CreateToastSandbox({ | ||
type: "tsx", | ||
deps: ["[email protected].0"], | ||
deps: ["[email protected].1"], | ||
}); | ||
|
||
export default { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ import { CreateToastSandbox } from "../../../scripts/create-preview-tabs"; | |
|
||
const sandboxJs = CreateToastSandbox({ | ||
type: "jsx", | ||
deps: ["[email protected].0", "react-transition-group"], | ||
deps: ["[email protected].1", "react-transition-group"], | ||
}); | ||
const sandboxTs = CreateToastSandbox({ | ||
type: "tsx", | ||
deps: ["[email protected].0", "react-transition-group"], | ||
deps: ["[email protected].1", "react-transition-group"], | ||
}); | ||
|
||
export default { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ import { CreateToastSandbox } from "../../../scripts/create-preview-tabs"; | |
|
||
const sandboxJs = CreateToastSandbox({ | ||
type: "jsx", | ||
deps: ["[email protected].0", "react-spring"], | ||
deps: ["[email protected].1", "react-spring"], | ||
}); | ||
const sandboxTs = CreateToastSandbox({ | ||
type: "tsx", | ||
deps: ["[email protected].0", "react-spring"], | ||
deps: ["[email protected].1", "react-spring"], | ||
}); | ||
|
||
export default { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters