From 767eba53a841e3568f49f98414230083323d0d19 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Mon, 3 Aug 2020 18:38:53 +0100 Subject: [PATCH 1/2] Remove www Co-authored-by: Travis Ralston --- src/components/CreateLinkTile.stories.tsx | 3 +-- src/components/Input.stories.tsx | 3 +-- src/components/TextButton.stories.tsx | 3 +-- src/components/Tile.stories.tsx | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/components/CreateLinkTile.stories.tsx b/src/components/CreateLinkTile.stories.tsx index 338ce18..7936f74 100644 --- a/src/components/CreateLinkTile.stories.tsx +++ b/src/components/CreateLinkTile.stories.tsx @@ -23,8 +23,7 @@ export default { parameters: { design: { type: "figma", - url: - "https://www.figma.com/file/WSXjCGc1k6FVI093qhlzOP/04-Recieving-share-link?node-id=59%3A1", + url: "https://figma.com/file/WSXjCGc1k6FVI093qhlzOP/04-Recieving-share-link?node-id=59%3A1", }, }, }; diff --git a/src/components/Input.stories.tsx b/src/components/Input.stories.tsx index 9e8b116..4d825d4 100644 --- a/src/components/Input.stories.tsx +++ b/src/components/Input.stories.tsx @@ -25,8 +25,7 @@ export default { parameters: { design: { type: "figma", - url: - "https://www.figma.com/file/WSXjCGc1k6FVI093qhlzOP/04-Recieving-share-link?node-id=59%3A1", + url: "https://figma.com/file/WSXjCGc1k6FVI093qhlzOP/04-Recieving-share-link?node-id=59%3A1", }, }, decorators: [withDesign], diff --git a/src/components/TextButton.stories.tsx b/src/components/TextButton.stories.tsx index 769ad66..820afeb 100644 --- a/src/components/TextButton.stories.tsx +++ b/src/components/TextButton.stories.tsx @@ -23,8 +23,7 @@ export default { parameters: { design: { type: "figma", - url: - "https://www.figma.com/file/WSXjCGc1k6FVI093qhlzOP/04-Recieving-share-link?node-id=149%3A10756", + url: "https://figma.com/file/WSXjCGc1k6FVI093qhlzOP/04-Recieving-share-link?node-id=149%3A10756", }, }, }; diff --git a/src/components/Tile.stories.tsx b/src/components/Tile.stories.tsx index f140aa4..bf662cc 100644 --- a/src/components/Tile.stories.tsx +++ b/src/components/Tile.stories.tsx @@ -23,8 +23,7 @@ export default { parameters: { design: { type: "figma", - url: - "https://www.figma.com/file/WSXjCGc1k6FVI093qhlzOP/04-Recieving-share-link?node-id=143%3A5853", + url: "https://figma.com/file/WSXjCGc1k6FVI093qhlzOP/04-Recieving-share-link?node-id=143%3A5853", }, }, }; From e6dcf6b3f5b9818039b5b56b8b9c7ac01a713ac2 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Mon, 3 Aug 2020 18:40:09 +0100 Subject: [PATCH 2/2] Add copyright, remove whitespace --- .storybook/main.js | 17 +++++++++++++++++ .storybook/preview.js | 19 +++++++++++++++++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/.storybook/main.js b/.storybook/main.js index e2e9876..729cef1 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Matrix.org Foundation C.I.C. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + module.exports = { stories: ['../src/**/*.stories.tsx'], addons: [ @@ -13,3 +29,4 @@ module.exports = { '@storybook/addon-backgrounds/register', ], }; + diff --git a/.storybook/preview.js b/.storybook/preview.js index cff5d31..0de3220 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Matrix.org Foundation C.I.C. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import React from 'react'; import { addDecorator } from '@storybook/react'; import { withA11y } from '@storybook/addon-a11y'; @@ -5,8 +21,6 @@ import { withKnobs } from '@storybook/addon-knobs'; import { withDesign } from 'storybook-addon-designs' import { addParameters } from '@storybook/react'; - - // Default styles import "../src/index.scss"; @@ -26,3 +40,4 @@ addParameters({ {name: 'white', value: '#FFFFFF', default: true}, ], }); +