Skip to content

Commit 3313587

Browse files
authored
Merge pull request eBay#945 from eBay/4.4.0
2 parents ce33407 + baea464 commit 3313587

File tree

67 files changed

+926
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+926
-242
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dist
1212
.browser-refresh
1313
integration/template.marko
1414
integration/browser.json
15+
.idea
1516
/.vscode
1617
.yarnclean
1718
.env

.storybook/config.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { configure, storiesOf } from "@storybook/marko";
22
import { withReadme } from "storybook-readme";
33

44
configure(() => {
5+
const hiddenStories = ['ebay-combobox-readonly', 'ebay-pill'];
56
const requireReadme = require.context("../src", true, /\/README\.md$/);
67
const docsByTag = requireReadme.keys().reduce((result, file) => {
78
const [, tag] = /([^/]+)\/README\.md$/.exec(file);
@@ -17,12 +18,15 @@ configure(() => {
1718
requireExample.keys().reduce((storiesByTag, file) => {
1819
const [, tag, title] = /([^\/]+)\/examples\/\d+-([^\/]+)/.exec(file);
1920
const component = requireExample(file);
20-
(storiesByTag[tag] =
21-
storiesByTag[tag] ||
22-
storiesOf(tag, module).addDecorator(withReadme(docsByTag[tag]))).add(
23-
title,
24-
() => ({ component })
25-
);
21+
22+
if (!hiddenStories.includes(tag)) {
23+
(storiesByTag[tag] =
24+
storiesByTag[tag] ||
25+
storiesOf(tag, module).addDecorator(withReadme(docsByTag[tag]))).add(
26+
title,
27+
() => ({ component })
28+
);
29+
}
2630
return storiesByTag;
2731
}, {});
2832
}, module);

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Each layer does its bit to enforce and enhance accessibility. We consider this l
6161
* [`ebay-notice`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-notice)
6262
* [`ebay-pagination`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-pagination)
6363
* [`ebay-radio`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-radio)
64+
* [`ebay-section-title`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-section-title)
6465
* [`ebay-select`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-select)
6566
* [`ebay-switch`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-switch)
6667
* [`ebay-tab`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-tab)

demo/browser.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"../src/components/ebay-pagination",
2828
"../src/components/ebay-pill",
2929
"../src/components/ebay-radio",
30+
"../src/components/ebay-section-title",
3031
"../src/components/ebay-select",
3132
"../src/components/ebay-switch",
3233
"../src/components/ebay-tab",

docs/ds4/iframe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@
7070
}</script><style>#root[hidden],
7171
#docs-root[hidden] {
7272
display: none !important;
73-
}</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.f815e92c5b6cbd2ee40d.bundle.js"></script><script src="vendors~main.f815e92c5b6cbd2ee40d.bundle.js"></script><script src="main.f815e92c5b6cbd2ee40d.bundle.js"></script></body></html>
73+
}</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.2dbcd98d98e5e399e8d9.bundle.js"></script><script src="vendors~main.2dbcd98d98e5e399e8d9.bundle.js"></script><script src="main.2dbcd98d98e5e399e8d9.bundle.js"></script></body></html>

docs/ds4/main.2dbcd98d98e5e399e8d9.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/ds4/main.f815e92c5b6cbd2ee40d.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/ds4/vendors~main.2dbcd98d98e5e399e8d9.bundle.js

Lines changed: 91 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/ds4/vendors~main.f815e92c5b6cbd2ee40d.bundle.js

Lines changed: 0 additions & 91 deletions
This file was deleted.

0 commit comments

Comments
 (0)