mediawiki-skins-Vector/stories
Jan Drewniak 6907c81a15 [Storybook] Fix PNG/SVG asset resolution.
Fixes the missing images in the Logo story.

The current method of downloading the images into
docs/ui/assets and treating them as static assets
(with the start-storybook -s option) could be problematic
if that directory is deleted or "cleaned" before the
storybook build.

Instead, the images are now downloaded into
./storybook/resolve-imports and imported explicitly in the
code in Logo.stories.data.js.

* ./storybook/resolve-less-imports renamed to resolve-imports
* .gitignore is updated to reflect that
* Webpack config is updated with the `resolve-imports` path
* static option (-s) is removed from npm start script
* Images are explicitly imported in Logo.stories.data.js
* Type definitions are added for .svg and .png files

Change-Id: I242d229242c86a5784d6d4611d0b9c7049712dac
2020-09-25 12:52:05 +02:00
..
.eslintrc.json build: Update devDependencies 2020-07-01 14:43:39 -07:00
Footer.stories.data.js Remove VectorBeforeFooter hook 2020-07-30 13:27:04 -07:00
Footer.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
legacy.stories.js Naming convention using 'skin' as entrance point 2020-05-28 20:58:01 -07:00
Logo.stories.data.js [Storybook] Fix PNG/SVG asset resolution. 2020-09-25 12:52:05 +02:00
Logo.stories.js [modern] A new version of Vector with a new logo 2020-04-30 14:11:54 -07:00
Menu.stories.data.js Refactor: html-userlangattributes -> html-user-language-attributes 2020-07-15 10:18:45 -07:00
Menu.stories.js Refactor: Generalise personal menu 2020-05-05 17:34:44 -07:00
MenuDropdown.stories.data.js Refactor: html-userlangattributes -> html-user-language-attributes 2020-07-15 10:18:45 -07:00
MenuDropdown.stories.js Refactor: VectorMenu merged in to Menu 2020-05-06 16:09:22 -07:00
MenuPortal.stories.data.js Fix the storybook instance 2020-09-16 22:13:34 +00:00
MenuPortal.stories.js Refactor: Portal is also a Menu 2020-05-07 16:56:59 -07:00
MenuTabs.stories.data.js Refactor: html-userlangattributes -> html-user-language-attributes 2020-07-15 10:18:45 -07:00
MenuTabs.stories.js Organize CSS by common, layout, typography and components 2020-05-07 22:57:13 +00:00
rawLoader.d.ts [Storybook] Fix PNG/SVG asset resolution. 2020-09-25 12:52:05 +02:00
SearchBox.stories.data.js Refactor: html-userlangattributes -> html-user-language-attributes 2020-07-15 10:18:45 -07:00
SearchBox.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
Sidebar.stories.data.js Refactor: All messages should be listed from skin.json 2020-08-28 17:12:10 +00:00
Sidebar.stories.js Separate languages portal from other portals in sidebar 2020-06-22 15:28:02 -07:00
skin.stories.data.js Refactor: All messages should be listed from skin.json 2020-08-28 17:12:10 +00:00
types.js SearchBox: Add data-search-loc attribute 2020-09-17 18:24:24 +00:00
utils.js Refactor: html-userlangattributes -> html-user-language-attributes 2020-07-15 10:18:45 -07:00