Lingfan Gao
c2a58673b8
Bump to 0.7.1
2022-12-08 07:26:34 +01:00
ling1726
cf1db9426a
Merge pull request #22 from marcosmoura/fix/avoid-conditional-hook-call
...
fix: avoid conditional hook call
2022-12-08 07:15:15 +01:00
Marcos Moura
6a5e2db8b8
fix: avoid conditional hook call
2022-12-07 19:21:54 +01:00
ling1726
98b518ddca
Merge pull request #18 from microsoft/publish/0.7.0
...
Publish 0.7.0
2022-05-30 18:54:20 +02:00
Lingfan Gao
83e682f79c
Publish 0.7.0
2022-05-30 18:14:04 +02:00
ling1726
a26d106411
Merge pull request #17 from microsoft/feat/react-components-unstable
...
feat: Configuration for dependency replacement
2022-05-30 18:09:30 +02:00
Lingfan Gao
c3fa6225ef
optional dependencies
2022-05-30 18:07:55 +02:00
Lingfan Gao
9b04842811
update dependnecy matching
2022-05-30 17:48:55 +02:00
Lingfan Gao
2bc8bebb70
PR suggestions
2022-05-30 16:44:52 +02:00
Lingfan Gao
e0d3649051
remove react-pkg-up
2022-05-29 17:09:49 +02:00
Lingfan Gao
c15630dd5c
add test
2022-05-29 16:51:57 +02:00
Lingfan Gao
9cbfdf3c60
feat: Configuration for dependency replacement
2022-05-29 16:46:28 +02:00
ling1726
2b793cbd12
Merge pull request #16 from micahgodbolt/button-classname
...
added classname to code sandbox button for easier styling
2022-05-19 19:11:50 +02:00
Micah Godbolt
31426bad7c
added classname to code sandbox button for easier styling
2022-05-05 10:28:03 -07:00
ling1726
929b3f0df6
Merge pull request #13 from ling1726/release/0.6.4
...
Release: 0.6.4
2021-11-05 16:12:48 +01:00
Lingfan Gao
cdf275c0ba
Release: 0.6.4
2021-11-05 16:12:27 +01:00
ling1726
f8175e32d0
Merge pull request #11 from ling1726/fix/story-name
...
fix: use `originalStoryFn.name` instead of `story` for import
2021-11-05 16:11:39 +01:00
Lingfan Gao
c1e1b9d03d
add issue link
2021-11-05 16:11:10 +01:00
Lingfan Gao
abfc03cfc0
fix: use `originalStoryFn.name` instead of `story` for import
...
This is a temporary workaround fo #
Previously the addon used `context.story` as the name of the export for
codoesandbox. However the below example shows how this value can be
incorrect
```ts
export const MyStory = () => {/* story */}
MyStory.storyName = 'My custom story name'
```
This will break the export as the `index.ts` will include the following
```ts
import * as ReactDOM from 'react-dom';
import { FluentProvider, webLightTheme } from '@fluentui/react-components';
import { My custom story as Example } from './example';
//
// You can edit this example in "example.tsx".
//
ReactDOM.render(
<FluentProvider theme={webLightTheme}>
<Example />
</FluentProvider>,
document.getElementById('root'),
);
```
2021-11-05 16:04:33 +01:00
ling1726
279366a1fd
Merge pull request #10 from ling1726/release/0.6.3
...
Release 0.6.3
2021-11-05 14:30:05 +01:00
Lingfan Gao
db8221f9fc
Release 0.6.3
2021-11-05 14:29:43 +01:00
ling1726
d2ab9088d4
Merge pull request #9 from ling1726/feat/modify-imports-babel-plugin
...
feat(babel-plugin): Add internal `modifyImports` babel plugin
2021-11-05 14:27:04 +01:00
Lingfan Gao
6e2c1cd194
rename fixture folders
2021-11-05 14:22:00 +01:00
Lingfan Gao
a35d0276f8
clean up jest config
2021-11-05 14:21:04 +01:00
Lingfan Gao
71e078dc72
inline function
2021-11-05 14:20:15 +01:00
Lingfan Gao
e6e214c5c7
newlines
2021-11-05 14:18:50 +01:00
Lingfan Gao
e9a93ca48b
pr suggestion
2021-11-05 14:18:16 +01:00
Lingfan Gao
c9e8a1c953
use replaceWith instead of mutation
2021-11-05 14:14:36 +01:00
Lingfan Gao
7b10064da8
remove link feature
2021-11-05 14:12:07 +01:00
Lingfan Gao
9b6cc3cef2
revert addon
2021-10-29 15:55:09 +02:00
Lingfan Gao
e335077a95
feat(babel-plugin): Add internal `modifyImports` babel plugin
...
Adds an internal babel plugin to transform the `__STORY__` source code
to collect all import declarations and gather them to one single
declaration for `@fluentui/react-components`
Gives an official `fullsource` name to the existing plugin to better
reflect what it does
Adds tests for both current plugin and new plugin.
2021-10-29 15:48:30 +02:00
ling1726
66b1e0fad3
Merge pull request #8 from PeterDraex/patch-1
...
Change version to 0.6.2
2021-10-29 10:13:10 +02:00
Peter Dräxler
583149e07b
Update package.json
2021-10-07 15:51:17 +02:00
Peter Dräxler
67f58cd6ed
Change version to 0.6.0
2021-10-07 13:39:23 +02:00
ling1726
b22cfd16b1
fix(version): Use `9.0.0-beta` as version matcher for Fluent UI ( #7 )
...
* fix(version): Use `9.0.0-beta` as version matcher for Fluent UI
Follow up from microsoft/fluentui#20106
* update dep
* update versions
2021-10-07 13:27:05 +02:00
Peter Dräxler
5961ac925b
Merge pull request #5 from microsoft/dependabot/npm_and_yarn/storybook-addon-export-to-codesandbox/postcss-7.0.38
...
Bump postcss from 7.0.35 to 7.0.38 in /storybook-addon-export-to-codesandbox
2021-09-29 16:57:55 +02:00
dependabot[bot]
7f1285530c
Bump postcss in /storybook-addon-export-to-codesandbox
...
Bumps [postcss](https://github.com/postcss/postcss ) from 7.0.35 to 7.0.38.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.38 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-29 14:57:26 +00:00
Peter Dräxler
ee5254016b
Merge pull request #4 from microsoft/dependabot/npm_and_yarn/storybook-addon-export-to-codesandbox/tar-6.1.11
...
Bump tar from 6.1.0 to 6.1.11 in /storybook-addon-export-to-codesandbox
2021-09-29 16:56:48 +02:00
Peter Dräxler
0487aa5ab1
Merge pull request #3 from microsoft/dependabot/npm_and_yarn/storybook-addon-export-to-codesandbox/tmpl-1.0.5
...
Bump tmpl from 1.0.4 to 1.0.5 in /storybook-addon-export-to-codesandbox
2021-09-29 16:56:29 +02:00
dependabot[bot]
db05864019
Bump tar from 6.1.0 to 6.1.11 in /storybook-addon-export-to-codesandbox
...
Bumps [tar](https://github.com/npm/node-tar ) from 6.1.0 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v6.1.0...v6.1.11 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-29 14:55:19 +00:00
dependabot[bot]
6c7f3be4b0
Bump tmpl from 1.0.4 to 1.0.5 in /storybook-addon-export-to-codesandbox
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-29 14:55:11 +00:00
Peter Dräxler
5a88714269
Merge pull request #1 from PeterDraex/export-to-codesandbox
...
Export to Codesandbox
2021-09-29 16:54:22 +02:00
Peter Dräxler
af0898982e
v0.5.1
2021-09-29 15:12:04 +02:00
Peter Dräxler
e6823d0732
fix export
2021-09-29 15:11:48 +02:00
Peter Dräxler
9f55650923
v0.5.0
2021-09-29 13:32:06 +02:00
Peter Dräxler
0612882019
add contributing.md
2021-09-29 13:31:47 +02:00
Peter Dräxler
5788f1d9a5
export babel plugin
2021-09-29 13:24:40 +02:00
Peter Dräxler
690005ce86
add repository.directory
2021-09-29 11:26:06 +02:00
Peter Dräxler
64fe76628a
remove package-lock.json as we use yarn
2021-09-29 11:24:43 +02:00
Peter Dräxler
ec1904955c
update babel plugin description
2021-09-28 17:19:18 +02:00