Skip to content
This repository was archived by the owner on Mar 26, 2022. It is now read-only.

Feature/apps 3013 markdown #1296

Merged
merged 31 commits into from
Jun 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
7571477
package-lock
solomontang Jun 22, 2021
1c5266e
install react-markdown
solomontang Jun 22, 2021
885f67d
Merge branch 'develop' of github.com:openlattice/lattice-ui-kit into …
solomontang Jun 22, 2021
76ae194
pin markdown packages to patch
solomontang Jun 22, 2021
f178b34
flow types
solomontang Jun 22, 2021
c14edc3
remove height css
solomontang Jun 22, 2021
ab9ba28
selectively shim process into vfile
solomontang Jun 22, 2021
05bde47
install process and imports loader
solomontang Jun 22, 2021
2876e9c
table styles
solomontang Jun 22, 2021
381dbd5
MarkdownPreview with story
solomontang Jun 22, 2021
be9b998
TextArea resize vertically
solomontang Jun 23, 2021
e42cc0b
rename file
solomontang Jun 23, 2021
152ea6d
remove leading newline
solomontang Jun 23, 2021
e4c159a
style lint
solomontang Jun 23, 2021
cf14f58
MarkdownEditor
solomontang Jun 23, 2021
3bc92db
update snapshots
solomontang Jun 23, 2021
fc2c956
remove blank line
solomontang Jun 23, 2021
097c97a
add snapshot
solomontang Jun 23, 2021
d1da8b1
comment detailing the use of process
solomontang Jun 23, 2021
e2fac9c
package-lock
solomontang Jun 23, 2021
51c5ea8
update snapshots
solomontang Jun 23, 2021
0d1a337
trim flow types
solomontang Jun 23, 2021
f267b5b
pin packages to patch
solomontang Jun 23, 2021
1698f37
remove reqseq from dep
solomontang Jun 23, 2021
78ba6e4
use shallow over mount
solomontang Jun 23, 2021
243b6ab
remove snapshot
solomontang Jun 23, 2021
9e5c02d
support controlled and uncontrolled behavior
solomontang Jun 23, 2021
ad91121
default export
solomontang Jun 24, 2021
704a2df
Merge branch 'develop' into feature/APPS-3013-markdown
UnsungHero97 Jun 24, 2021
87375da
Merge branch 'develop' into feature/APPS-3013-markdown
solomontang Jun 25, 2021
003e81b
Merge branch 'develop' into feature/APPS-3013-markdown
solomontang Jun 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions config/storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ const StoryInnerWrapper = styled.div`
padding: 30px;
position: relative;
width: 100%;

> div {
height: 100%;
}
`;

addDecorator((StoryFn) => {
Expand Down
24 changes: 24 additions & 0 deletions config/storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// you can use this file to add your custom webpack plugins, loaders and anything you like.
// This is just the basic way to add additional webpack configurations.
// For more information refer the docs: https://storybook.js.org/configurations/custom-webpack-config

// IMPORTANT
// When you add this file, we won't add the default configurations which is similar
// to "React Create App". This only has babel loader to load JavaScript.

// react-markdown uses a dependency that relies on process
// https://github.com/remarkjs/react-markdown/issues/339#issuecomment-683199835
module.exports = ({ config }) => {
config.module.rules.push({
test: /node_modules\/vfile\/core\.js/,
use: [{
loader: 'imports-loader',
options: {
type: 'commonjs',
imports: ['single process/browser process'],
},
}],
});

return config;
};
18 changes: 18 additions & 0 deletions flow-typed/npm/react-markdown_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 6089d649e0ce0c0c4240e5624bd0b378
// flow-typed version: <<STUB>>/react-markdown_v6.0.2/flow_v0.131.0

/**
* This is an autogenerated libdef stub for:
*
* 'react-markdown'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'react-markdown' {
declare module.exports: any;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/rehype-highlight_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 3d63b32b6d36622e8a06b348993fd26d
// flow-typed version: <<STUB>>/rehype-highlight_v4.1.0/flow_v0.131.0

/**
* This is an autogenerated libdef stub for:
*
* 'rehype-highlight'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'rehype-highlight' {
declare module.exports: any;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/remark-gfm_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 2d710e38a45a52f7c8f945146f893ecf
// flow-typed version: <<STUB>>/remark-gfm_v1.0.0/flow_v0.131.0

/**
* This is an autogenerated libdef stub for:
*
* 'remark-gfm'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'remark-gfm' {
declare module.exports: any;
}
Loading