-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56b8a4f
commit 1c16be6
Showing
17 changed files
with
90 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import ImagesPage from './dist/ImagesPage/ImagesPage'; | ||
|
||
export default ImagesPage; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('./dist/ImagesPage'); |
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import { config } from '../../rollup-config'; | ||
|
||
export default config({ | ||
input: ['./src/index.ts'], | ||
input: ['./src/index.ts', './src/ImagesPage/ImagesPage.tsx'], | ||
output: { | ||
exports: 'auto', | ||
}, | ||
}); |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React, { FC } from 'react'; | ||
import { TabConfiguration } from '@component-controls/core'; | ||
import { Description } from '@component-controls/blocks'; | ||
import { ImagesBlock, ImagesBlockProps } from '../ImagesBlock'; | ||
|
||
const ImagesPage: FC<ImagesBlockProps> = props => ( | ||
<> | ||
<Description /> | ||
<ImagesBlock {...props} /> | ||
</> | ||
); | ||
|
||
export default { | ||
title: 'Images', | ||
component: ImagesPage, | ||
isVisible: ({ story }) => story.plugins?.images, | ||
} as TabConfiguration; |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import NotesPage from './dist/NotesPage/NotesPage'; | ||
|
||
export default NotesPage; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('./dist/NotesPage'); |
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import { config } from '../../rollup-config'; | ||
|
||
export default config({ | ||
input: ['./src/index.ts'], | ||
input: ['./src/index.ts', './src/NotesPage/NotesPage.tsx'], | ||
output: { | ||
exports: 'auto', | ||
}, | ||
}); |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React, { FC } from 'react'; | ||
import { TabConfiguration } from '@component-controls/core'; | ||
import { Description } from '@component-controls/blocks'; | ||
import { NotesBlock, NotesBlockProps } from '../NotesBlock'; | ||
|
||
const NotesPage: FC<NotesBlockProps> = props => ( | ||
<> | ||
<Description /> | ||
<NotesBlock {...props} /> | ||
</> | ||
); | ||
|
||
export default { | ||
title: 'Notes', | ||
component: NotesPage, | ||
isVisible: ({ story }) => story.plugins?.notes, | ||
} as TabConfiguration; |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import FigmaEmbedPage from './dist/FigmaEmbedPage/FigmaEmbedPage'; | ||
|
||
export default FigmaEmbedPage; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('./dist/FigmaEmbedPage'); |
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import { config } from '../../rollup-config'; | ||
|
||
export default config({ | ||
input: ['./src/index.ts'], | ||
input: ['./src/index.ts', './src/FigmaEmbedPage/FigmaEmbedPage.tsx'], | ||
output: { | ||
exports: 'auto', | ||
}, | ||
}); |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React, { FC } from 'react'; | ||
import { TabConfiguration } from '@component-controls/core'; | ||
import { Description } from '@component-controls/blocks'; | ||
import { FigmaEmbedBlock, FigmaEmbedBlockProps } from '../FigmaEmbedBlock'; | ||
|
||
const FigmaEmbedPage: FC<FigmaEmbedBlockProps> = props => ( | ||
<> | ||
<Description /> | ||
<FigmaEmbedBlock {...props} /> | ||
</> | ||
); | ||
|
||
export default { | ||
title: 'Figma', | ||
component: FigmaEmbedPage, | ||
isVisible: ({ story }) => story.plugins?.figma, | ||
} as TabConfiguration; |
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