diff --git a/.circleci/config.yml b/.circleci/config.yml index 211098ee8415..91151b84cd4f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -79,9 +79,6 @@ jobs: - run: name: Run chromatic on the pre-built mithril-kitchen-sink example command: yarn chromatic --storybook-build-dir="built-storybooks/mithril-kitchen-sink" --app-code="8adgm46jzk8" - - run: - name: Run chromatic on the pre-built polymer-cli example - command: yarn chromatic --storybook-build-dir="built-storybooks/polymer-cli" --app-code="o6jl9kmh0qd" - run: name: Run chromatic on the pre-built preact-kitchen-sink example command: yarn chromatic --storybook-build-dir="built-storybooks/preact-kitchen-sink" --app-code="ls0ikhnwqt" @@ -194,11 +191,6 @@ jobs: command: | cd examples/ember-cli yarn storybook --smoke-test --quiet - - run: - name: Run polymer-cli (smoke test) - command: | - cd examples/polymer-cli - yarn storybook --smoke-test --quiet - run: name: Run marko-cli (smoke test) command: | diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c23f1075713c..a25124a680f5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -18,7 +18,6 @@ /addons/viewport/ @saponifi3d /app/angular/ @alterx @igor-dv -/app/polymer/ @ndelangen @naipath @leonrodenburg /app/react/ @xavcz @shilman @thomasbertet /app/react-native/ @rmevans9 @Gongreg @tmeasday /app/vue/ @thomasbertet @kazupon @@ -30,7 +29,6 @@ /examples/cra-kitchen-sink/ @ndelangen @UsulPro /examples/cra-ts-kitchen-sink/ @mucsi96 /examples/official-storybook/ @UsulPro -/examples/polymer-cli/ @naipath @igor-dv /examples/vue-kitchen-sink/ @igor-dv @alexandrebodin /examples/svelte-kitchen-sink/ @plumpNation diff --git a/.github/autolabeler.yml b/.github/autolabeler.yml index 003afc430018..b59ca3ee3f00 100644 --- a/.github/autolabeler.yml +++ b/.github/autolabeler.yml @@ -13,7 +13,6 @@ 'addon: storyshots': ["addons/storyshots/**"] 'addon: viewport': ["addons/viewport/**"] 'app: angular': ["app/angular/**"] -'app: polymer ': ["app/polymer/**"] 'app: preact': ["app/preact/**"] 'app: rax': ["app/rax/**"] 'app: react-native': ["app/react-native/**"] diff --git a/.github/automention.yml b/.github/automention.yml index 4974b162ce8a..8043056bbc3a 100644 --- a/.github/automention.yml +++ b/.github/automention.yml @@ -2,7 +2,6 @@ 'app: ember': ['gabrielcsapo'] 'app: html': ['Hypnosphi'] 'app: marko': ['nm123github'] -'app: polymer': ['stijnkoopal', 'ndelangen'] 'app: preact': ['BartWaardenburg'] 'app: rax': ['SoloJiang'] 'app: react-native': ['benoitdion', 'gongreg'] diff --git a/ADDONS_SUPPORT.md b/ADDONS_SUPPORT.md index fe12b10d729e..540732862587 100644 --- a/ADDONS_SUPPORT.md +++ b/ADDONS_SUPPORT.md @@ -1,25 +1,25 @@ ## Addon / Framework Support Table -| | [React](app/react) | [React Native](app/react-native) | [Vue](app/vue) | [Angular](app/angular) | [Polymer](app/polymer) | [Mithril](app/mithril) | [HTML](app/html) | [Marko](app/marko) | [Svelte](app/svelte) | [Riot](app/riot) | [Ember](app/ember) | [Preact](app/preact) | [Rax](app/rax) | -| ------------------------------------------- | :----------------: | :------------------------------: | :------------: | :--------------------: | :--------------------: | :--------------------: | :--------------: | :----------------: | :------------------: | :--------------: | :----------------: | :------------------: | -------------- | -| [a11y](addons/a11y) | + | | + | + | + | + | + | + | + | + | + | + | + | -| [actions](addons/actions) | + | +\* | + | + | + | + | + | + | + | + | + | + | + | -| [backgrounds](addons/backgrounds) | + | \* | + | + | + | + | + | + | + | + | + | + | + | -| [centered](addons/centered) | + | | + | + | | + | + | | + | | + | + | + | -| [contexts](addons/contexts) | + | | + | | | | | | | | | + | + | -| [events](addons/events) | + | | + | + | + | + | + | + | | | + | + | + | -| [design assets](addons/design-assets) | + | | + | + | + | + | + | + | + | + | + | + | + | -| [graphql](addons/graphql) | + | | | | | | | | | | | | | -| [google-analytics](addons/google-analytics) | + | + | + | + | + | + | + | + | + | + | + | + | + | -| [info](addons/info) | + | | | | | | | | | | | | | -| [jest](addons/jest) | + | + | + | + | + | + | + | + | + | + | + | + | + | -| [knobs](addons/knobs) | + | +\* | + | + | + | + | + | + | + | + | + | + | + | -| [links](addons/links) | + | + | + | + | + | + | + | | + | + | + | + | + | -| [notes](addons/notes) | + | +\* | + | + | + | + | + | | + | + | + | + | + | -| [options](addons/options) | + | + | + | + | + | + | + | | + | + | + | + | + | -| [cssresources](addons/cssresources) | + | | + | + | + | + | + | + | + | + | + | + | + | -| [storyshots](addons/storyshots) | + | + | + | + | | | + | | + | + | | + | + | -| [storysource](addons/storysource) | + | | + | + | + | + | + | + | + | + | + | + | + | -| [viewport](addons/viewport) | + | | + | + | + | + | + | + | + | + | + | + | + | +| | [React](app/react) | [React Native](app/react-native) | [Vue](app/vue) | [Angular](app/angular) | [Mithril](app/mithril) | [HTML](app/html) | [Marko](app/marko) | [Svelte](app/svelte) | [Riot](app/riot) | [Ember](app/ember) | [Preact](app/preact) | [Rax](app/rax) | +| ------------------------------------------- | :----------------: | :------------------------------: | :------------: | :--------------------: | :--------------------: | :--------------: | :----------------: | :------------------: | :--------------: | :----------------: | :------------------: | -------------- | +| [a11y](addons/a11y) | + | | + | + | + | + | + | + | + | + | + | + | +| [actions](addons/actions) | + | +\* | + | + | + | + | + | + | + | + | + | + | +| [backgrounds](addons/backgrounds) | + | \* | + | + | + | + | + | + | + | + | + | + | +| [centered](addons/centered) | + | | + | + | + | + | | + | | + | + | + | +| [contexts](addons/contexts) | + | | + | | | | | | | | + | + | +| [events](addons/events) | + | | + | + | + | + | + | | | + | + | + | +| [design assets](addons/design-assets) | + | | + | + | + | + | + | + | + | + | + | + | +| [graphql](addons/graphql) | + | | | | | | | | | | | | +| [google-analytics](addons/google-analytics) | + | + | + | + | + | + | + | + | + | + | + | + | +| [info](addons/info) | + | | | | | | | | | | | | +| [jest](addons/jest) | + | + | + | + | + | + | + | + | + | + | + | + | +| [knobs](addons/knobs) | + | +\* | + | + | + | + | + | + | + | + | + | + | +| [links](addons/links) | + | + | + | + | + | + | | + | + | + | + | + | +| [notes](addons/notes) | + | +\* | + | + | + | + | | + | + | + | + | + | +| [options](addons/options) | + | + | + | + | + | + | | + | + | + | + | + | +| [cssresources](addons/cssresources) | + | | + | + | + | + | + | + | + | + | + | + | +| [storyshots](addons/storyshots) | + | + | + | + | | + | | + | + | | + | + | +| [storysource](addons/storysource) | + | | + | + | + | + | + | + | + | + | + | + | +| [viewport](addons/viewport) | + | | + | + | + | + | + | + | + | + | + | + | `*` - React Native on device addon (addons/onDevice-\) diff --git a/README.md b/README.md index d818ddf25b45..6e431acf9e3c 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,6 @@ For additional help, join us [in our Discord](https://discord.gg/sMFvFsG) or [Sl | [React Native](app/react-native) | - | [![React Native](https://img.shields.io/npm/dm/@storybook/react-native.svg)](app/react-native) | | [Vue](app/vue) | [v5.1.0](https://storybooks-vue.netlify.com/) | [![Vue](https://img.shields.io/npm/dm/@storybook/vue.svg)](app/vue) | | [Angular](app/angular) | [v5.1.0](https://storybooks-angular.netlify.com/) | [![Angular](https://img.shields.io/npm/dm/@storybook/angular.svg)](app/angular) | -| [Polymer](app/polymer) | [v5.1.0](https://storybooks-polymer.netlify.com/) | [![Polymer](https://img.shields.io/npm/dm/@storybook/polymer.svg)](app/polymer) | | [Marionette.js](app/marionette) | - | [![Marionette.js](https://img.shields.io/npm/dm/@storybook/marionette.svg)](app/marionette) | | [Mithril](app/mithril) | [v5.1.0](https://storybooks-mithril.netlify.com/) | [![Mithril](https://img.shields.io/npm/dm/@storybook/mithril.svg)](app/mithril) | | [Marko](app/marko) | [v5.1.0](https://storybooks-marko.netlify.com/) | [![Marko](https://img.shields.io/npm/dm/@storybook/marko.svg)](app/marko) | diff --git a/ROADMAP.md b/ROADMAP.md index 6a406bc2ccd7..506d84c86d2d 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -9,7 +9,6 @@ + [Add a playground addon](#add-a-playground-addon) + [See multiple (or all) stories in 1 preview.](#see-multiple--or-all--stories-in-1-preview) * [Supporting other frameworks and libraries](#supporting-other-frameworks-and-libraries) - + [Polymer & Webcomponents](#polymer---webcomponents) + [Aurelia](#aurelia) * [Breaking changes](#breaking-changes) + [Addon API](#addon-api) @@ -60,10 +59,6 @@ Unfortunately, if you choose anything not from the list of [supported frameworks We want you to be able to use storybook with the framework / library of your choice. -### Polymer & Webcomponents - -Storybook for Polymer is currently in development and will support custom elements and plain HTML. - ### Aurelia We're reaching out to the Aurelia maintainers to cooperate on this. diff --git a/addons/docs/README.md b/addons/docs/README.md index cc275e787d58..c76028d2d471 100644 --- a/addons/docs/README.md +++ b/addons/docs/README.md @@ -77,16 +77,16 @@ For more information on `MDX`, see the [`MDX` reference](./docs/mdx.md). Storybook Docs supports all view layers that Storybook supports except for React Native (currently). There are some framework-specific features as well, such as props tables and inline story rendering. This chart captures the current state of support: -| | React | Vue | Angular | Ember | Web Components | HTML | Svelte | Preact | Polymer | Riot | Mithril | Marko | -| ----------------- | :---: | :-: | :-----: | :---: | :------------: | :--: | :----: | :----: | :-----: | :--: | :-----: | :---: | -| MDX stories | + | + | + | + | + | + | + | + | + | + | + | + | -| CSF stories | + | + | + | + | + | + | + | + | + | + | + | + | -| StoriesOf stories | + | + | + | + | + | + | + | + | + | + | + | + | -| Source | + | + | + | + | + | + | + | + | + | + | + | + | -| Notes / Info | + | + | + | + | + | + | + | + | + | + | + | + | -| Props table | + | + | + | + | + | | | | | | | | -| Description | + | + | + | + | + | | | | | | | | -| Inline stories | + | + | | | + | | | | | | | | +| | React | Vue | Angular | Ember | Web Components | HTML | Svelte | Preact | Riot | Mithril | Marko | +| ----------------- | :---: | :-: | :-----: | :---: | :------------: | :--: | :----: | :----: | :--: | :-----: | :---: | +| MDX stories | + | + | + | + | + | + | + | + | + | + | + | +| CSF stories | + | + | + | + | + | + | + | + | + | + | + | +| StoriesOf stories | + | + | + | + | + | + | + | + | + | + | + | +| Source | + | + | + | + | + | + | + | + | + | + | + | +| Notes / Info | + | + | + | + | + | + | + | + | + | + | + | +| Props table | + | + | + | + | + | | | | | | | +| Description | + | + | + | + | + | | | | | | | +| Inline stories | + | + | | | + | | | | | | | **Note:** `#` = WIP support diff --git a/addons/docs/docs/faq.md b/addons/docs/docs/faq.md index 82fc188d4f50..e7592c3e2aa0 100644 --- a/addons/docs/docs/faq.md +++ b/addons/docs/docs/faq.md @@ -10,7 +10,7 @@ You've read the [Storybook Docs README](../README.md). You're already familiar w ## Does Docs support framework X? -Docs does not currently support [React Native](https://github.com/storybooks/storybook/tree/next/app/react-native). Otherwise, [it supports all frameworks that Storybook supports](../README.md#framework-support), including React, Vue, Angular, Ember, Svelte, Polymer, and others. +Docs does not currently support [React Native](https://github.com/storybooks/storybook/tree/next/app/react-native). Otherwise, [it supports all frameworks that Storybook supports](../README.md#framework-support), including React, Vue, Angular, Ember, Svelte, and others. ## How does Docs interact with existing addons? diff --git a/app/polymer/README.md b/app/polymer/README.md deleted file mode 100644 index d2b25e666537..000000000000 --- a/app/polymer/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# Storybook for Polymer - -Storybook for polymer is a UI development environment for your Polymer components. -With it, you can visualize different states of your UI components and develop them interactively. - -> Storybook for Polymer is at the **EXPERIMENTAL** stage! - -![Storybook Screenshot](https://github.com/storybookjs/storybook/blob/master/media/storybook-intro.gif) - -Storybook runs outside of your app. -So you can develop UI components in isolation without worrying about app specific dependencies and requirements. - -## Getting Started - -```sh -cd my-polymer-app -npx -p @storybook/cli sb init -``` - -For more information visit: [storybook.js.org](https://storybook.js.org) - ---- - -Storybook also comes with a lot of [addons](https://storybook.js.org/addons/introduction) and a great API to customize as you wish. -You can also build a [static version](https://storybook.js.org/basics/exporting-storybook) of your storybook and deploy it anywhere you want. - -## Polymer Notes - -- This is super super experimental, if you want to use this, expect some bugs, and missing features. -- We're looking for help to support this. If you're a member of the Polymer community and like this project, please help us! - If you need any onboarding from us, we're happy to help you in any way! diff --git a/app/polymer/bin/build.js b/app/polymer/bin/build.js deleted file mode 100755 index 26142ec0af29..000000000000 --- a/app/polymer/bin/build.js +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env node - -process.env.NODE_ENV = process.env.NODE_ENV || 'production'; -require('../dist/server/build'); diff --git a/app/polymer/bin/index.js b/app/polymer/bin/index.js deleted file mode 100755 index 2e96258ce63d..000000000000 --- a/app/polymer/bin/index.js +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env node - -require('../dist/server'); diff --git a/app/polymer/package.json b/app/polymer/package.json deleted file mode 100644 index e283793d203b..000000000000 --- a/app/polymer/package.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name": "@storybook/polymer", - "version": "6.0.0-alpha.0", - "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", - "keywords": [ - "storybook" - ], - "homepage": "https://github.com/storybookjs/storybook/tree/master/app/polymer", - "bugs": { - "url": "https://github.com/storybookjs/storybook/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/storybookjs/storybook.git", - "directory": "app/polymer" - }, - "license": "MIT", - "files": [ - "bin/**/*", - "dist/**/*", - "README.md", - "*.js", - "*.d.ts" - ], - "main": "dist/client/index.js", - "types": "dist/client/index.d.ts", - "bin": { - "build-storybook": "./bin/build.js", - "start-storybook": "./bin/index.js", - "storybook-server": "./bin/index.js" - }, - "scripts": { - "prepare": "node ../../scripts/prepare.js" - }, - "dependencies": { - "@storybook/addons": "6.0.0-alpha.0", - "@storybook/core": "6.0.0-alpha.0", - "@webcomponents/webcomponentsjs": "^1.2.0", - "core-js": "^3.0.1", - "global": "^4.3.2", - "regenerator-runtime": "^0.13.3", - "ts-dedent": "^1.1.0", - "webpack": "^4.33.0" - }, - "devDependencies": { - "lit-html": "^1.0.0", - "polymer-webpack-loader": "^2.0.3" - }, - "peerDependencies": { - "babel-loader": "^7.0.0 || ^8.0.0", - "lit-html": "^1.0.0", - "polymer-webpack-loader": "^2.0.2" - }, - "engines": { - "node": ">=8.0.0" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "4b9d901add9452525135caae98ae5f78dd8da9ff" -} diff --git a/app/polymer/src/client/index.ts b/app/polymer/src/client/index.ts deleted file mode 100644 index 6f7331e5432e..000000000000 --- a/app/polymer/src/client/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -export { - storiesOf, - setAddon, - addDecorator, - addParameters, - configure, - getStorybook, - forceReRender, - raw, -} from './preview'; - -// tsc wants to use NodeModule instead of WebpackModule -declare const module: any; -if (module && module.hot && module.hot.decline) { - module.hot.decline(); -} diff --git a/app/polymer/src/client/preview/globals.ts b/app/polymer/src/client/preview/globals.ts deleted file mode 100644 index ddb4205926a8..000000000000 --- a/app/polymer/src/client/preview/globals.ts +++ /dev/null @@ -1,6 +0,0 @@ -import '@webcomponents/webcomponentsjs/webcomponents-lite'; -import '@webcomponents/webcomponentsjs/custom-elements-es5-adapter'; - -import { window } from 'global'; - -window.STORYBOOK_ENV = 'polymer'; diff --git a/app/polymer/src/client/preview/index.ts b/app/polymer/src/client/preview/index.ts deleted file mode 100644 index 74737b5196b6..000000000000 --- a/app/polymer/src/client/preview/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { start } from '@storybook/core/client'; - -import './globals'; -import render from './render'; - -const { configure: coreConfigure, clientApi, forceReRender } = start(render); - -export const { - setAddon, - addDecorator, - addParameters, - clearDecorators, - getStorybook, - raw, -} = clientApi; - -const framework = 'polymer'; - -export const storiesOf = (...args: any[]) => - clientApi.storiesOf(...args).addParameters({ framework }); -export const configure = (...args: any[]) => coreConfigure(...args, framework); - -export { forceReRender }; diff --git a/app/polymer/src/client/preview/render.ts b/app/polymer/src/client/preview/render.ts deleted file mode 100644 index eb85797fdc65..000000000000 --- a/app/polymer/src/client/preview/render.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { document } from 'global'; -import dedent from 'ts-dedent'; -import { render, TemplateResult } from 'lit-html'; -import { RenderMainArgs } from './types'; - -const rootElement = document.getElementById('root'); - -export default function renderMain({ - storyFn, - selectedKind, - selectedStory, - showMain, - showError, - forceRender, -}: RenderMainArgs) { - const element = storyFn(); - - if (!element) { - showError({ - title: `Expecting a Polymer component from the story: "${selectedStory}" of "${selectedKind}".`, - description: dedent` - Did you forget to return the Polymer component from the story? - Use "() => '<your-component-name></your-component-name\>'" when defining the story. - `, - }); - return; - } - - showMain(); - if (typeof element === 'string') { - rootElement.innerHTML = element; - } else if (element instanceof TemplateResult) { - // `render` stores the TemplateInstance in the Node and tries to update based on that. - // Since we reuse `rootElement` for all stories, remove the stored instance first. - // But forceRender means that it's the same story, so we want too keep the state in that case. - if (!forceRender || !rootElement.querySelector('[id="root-inner"]')) { - rootElement.innerHTML = '
'; - } - const renderTo = rootElement.querySelector('[id="root-inner"]'); - - render(element, renderTo); - } else { - rootElement.innerHTML = ''; - rootElement.appendChild(element); - } -} diff --git a/app/polymer/src/client/preview/types.ts b/app/polymer/src/client/preview/types.ts deleted file mode 100644 index 426412f402c8..000000000000 --- a/app/polymer/src/client/preview/types.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { TemplateResult } from 'lit-html'; - -export interface IStorybookSection { - kind: string; - stories: IStorybookStory[]; -} - -export interface IStorybookStory { - name: string; - render: () => any; -} - -export type StoryFnPolymerReturnType = string | Node | TemplateResult; - -export interface ShowErrorArgs { - title: string; - description: string; -} - -export interface RenderMainArgs { - storyFn: (...args: any[]) => StoryFnPolymerReturnType; - selectedKind: string; - selectedStory: string; - showMain: () => void; - showError: (args: ShowErrorArgs) => void; - showException: (err: Error) => void; - forceRender: boolean; -} diff --git a/app/polymer/src/server/build.ts b/app/polymer/src/server/build.ts deleted file mode 100644 index d8abf06a4396..000000000000 --- a/app/polymer/src/server/build.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { buildStatic } from '@storybook/core/server'; -import options from './options'; - -buildStatic(options); diff --git a/app/polymer/src/server/framework-preset-polymer.ts b/app/polymer/src/server/framework-preset-polymer.ts deleted file mode 100644 index c6433d55cb7a..000000000000 --- a/app/polymer/src/server/framework-preset-polymer.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Configuration, IgnorePlugin, RuleSetUseItem } from 'webpack'; - -export function webpack(config: Configuration) { - return { - ...config, - module: { - ...config.module, - rules: [ - ...config.module.rules, - { - test: /\.html$/, - use: [ - ...(config.module.rules[0].use as RuleSetUseItem[]), - { - loader: require.resolve('polymer-webpack-loader'), - options: { processStyleLinks: true }, - }, - ], - }, - ], - }, - plugins: [ - ...config.plugins, - // See https://github.com/webcomponents/webcomponentsjs/issues/794#issuecomment-386554298 - new IgnorePlugin(/^vertx$/), - ], - }; -} diff --git a/app/polymer/src/server/index.ts b/app/polymer/src/server/index.ts deleted file mode 100644 index 774d96025a84..000000000000 --- a/app/polymer/src/server/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { buildDev } from '@storybook/core/server'; -import options from './options'; - -buildDev(options); diff --git a/app/polymer/src/server/options.ts b/app/polymer/src/server/options.ts deleted file mode 100644 index 714ea614c07c..000000000000 --- a/app/polymer/src/server/options.ts +++ /dev/null @@ -1,7 +0,0 @@ -const packageJson = require('../../package.json'); - -export default { - packageJson, - framework: 'polymer', - frameworkPresets: [require.resolve('./framework-preset-polymer.js')], -}; diff --git a/app/polymer/src/typings.d.ts b/app/polymer/src/typings.d.ts deleted file mode 100644 index 690e93343de2..000000000000 --- a/app/polymer/src/typings.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare module '@storybook/core/*'; -declare module 'global'; - -// will be provided by the webpack define plugin -declare var NODE_ENV: string | undefined; diff --git a/app/polymer/standalone.js b/app/polymer/standalone.js deleted file mode 100644 index 1b1febe0d3bb..000000000000 --- a/app/polymer/standalone.js +++ /dev/null @@ -1,8 +0,0 @@ -const build = require('@storybook/core/standalone'); -const frameworkOptions = require('./dist/server/options').default; - -async function buildStandalone(options) { - return build(options, frameworkOptions); -} - -module.exports = buildStandalone; diff --git a/app/polymer/tsconfig.json b/app/polymer/tsconfig.json deleted file mode 100644 index 015146b7a906..000000000000 --- a/app/polymer/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "rootDir": "./src", - "types": [] - }, - "include": [ - "src/**/*" - ] -} diff --git a/docs/src/new-components/basics/shared/site.js b/docs/src/new-components/basics/shared/site.js index 3901a245b63e..77fc9996abc3 100644 --- a/docs/src/new-components/basics/shared/site.js +++ b/docs/src/new-components/basics/shared/site.js @@ -37,7 +37,7 @@ export const url = { mithril: `${npmApiBase}/@storybook/mithril`, marko: `${npmApiBase}/@storybook/marko`, riot: `${npmApiBase}/@storybook/riot`, - polymer: `${npmApiBase}/@storybook/polymer`, + 'web-components': `${npmApiBase}/@storybook/web-components`, preact: `${npmApiBase}/@storybook/preact`, }, diff --git a/docs/src/pages/basics/live-examples/index.md b/docs/src/pages/basics/live-examples/index.md index 4f236c045a10..59b7d99b6440 100644 --- a/docs/src/pages/basics/live-examples/index.md +++ b/docs/src/pages/basics/live-examples/index.md @@ -8,7 +8,6 @@ title: 'Live Examples' - [React Official](https://storybookjs-next.now.sh/official-storybook/) - [Vue](https://storybookjs-next.now.sh/vue-kitchen-sink/) - [Angular](https://storybookjs-next.now.sh/angular-cli/) -- [Polymer](https://storybookjs-next.now.sh/polymer-cli/) - [Mithril](https://storybookjs-next.now.sh/mithril-kitchen-sink/) - [Marko](https://storybookjs-next.now.sh/marko-cli/) - [HTML](https://storybookjs-next.now.sh/html-kitchen-sink/) @@ -23,7 +22,6 @@ title: 'Live Examples' - [React Official](https://storybookjs.now.sh/official-storybook/) - [Vue](https://storybookjs.now.sh/vue-kitchen-sink/) - [Angular](https://storybookjs.now.sh/angular-cli/) -- [Polymer](https://storybookjs.now.sh/polymer-cli/) - [Mithril](https://storybookjs.now.sh/mithril-kitchen-sink/) - [Marko](https://storybookjs.now.sh/marko-cli/) - [HTML](https://storybookjs.now.sh/html-kitchen-sink/) diff --git a/examples/polymer-cli/.env b/examples/polymer-cli/.env deleted file mode 100644 index d24e628d2810..000000000000 --- a/examples/polymer-cli/.env +++ /dev/null @@ -1 +0,0 @@ -STORYBOOK_EXAMPLE_APP=true diff --git a/examples/polymer-cli/.eslintrc.js b/examples/polymer-cli/.eslintrc.js deleted file mode 100644 index 531436200f94..000000000000 --- a/examples/polymer-cli/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - globals: { - Polymer: true, - customElements: true, - CustomEvent: true, - }, -}; diff --git a/examples/polymer-cli/.storybook/main.js b/examples/polymer-cli/.storybook/main.js deleted file mode 100644 index 5f616fbaf7a4..000000000000 --- a/examples/polymer-cli/.storybook/main.js +++ /dev/null @@ -1,27 +0,0 @@ -const path = require('path'); -const webpack = require('webpack'); - -module.exports = { - stories: ['../src/stories/**/*.stories.js'], - addons: [ - '@storybook/addon-storysource', - '@storybook/addon-actions', - '@storybook/addon-backgrounds', - '@storybook/addon-notes', - '@storybook/addon-knobs', - '@storybook/addon-links', - '@storybook/addon-viewport', - '@storybook/addon-options', - '@storybook/addon-a11y', - ], - webpackFinal: async config => { - config.module.rules.push({ - test: [/\.stories\.js$/, /index\.js$/], - loaders: [require.resolve('@storybook/source-loader')], - include: [path.resolve(__dirname, '../src')], - enforce: 'pre', - }); - config.plugins.push(new webpack.IgnorePlugin(/vertx/)); - return config; - }, -}; diff --git a/examples/polymer-cli/.storybook/manager.js b/examples/polymer-cli/.storybook/manager.js deleted file mode 100644 index ee8398728448..000000000000 --- a/examples/polymer-cli/.storybook/manager.js +++ /dev/null @@ -1,5 +0,0 @@ -import { addons } from '@storybook/addons'; - -addons.setConfig({ - showRoots: true, -}); diff --git a/examples/polymer-cli/.storybook/preview.js b/examples/polymer-cli/.storybook/preview.js deleted file mode 100644 index 6ec0701871b9..000000000000 --- a/examples/polymer-cli/.storybook/preview.js +++ /dev/null @@ -1,4 +0,0 @@ -import { addDecorator } from '@storybook/polymer'; -import { withA11y } from '@storybook/addon-a11y'; - -addDecorator(withA11y); diff --git a/examples/polymer-cli/README.md b/examples/polymer-cli/README.md deleted file mode 100644 index 8f7743a194d7..000000000000 --- a/examples/polymer-cli/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Polymer kitchen sink example - -This project was generated with [Polymer CLI](https://github.com/Polymer/polymer-cli) version 1.5.2. - -## Development server - -Run `yarn start` for a dev server. Navigate to `http://127.0.0.1:8081/components/polymer-cli/`. -The app will automatically reload if you change any of the source files. diff --git a/examples/polymer-cli/index.html b/examples/polymer-cli/index.html deleted file mode 100644 index 5b4abb4d3ff5..000000000000 --- a/examples/polymer-cli/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - Storybook for Polymer! - - - - - - - diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json deleted file mode 100644 index d28f51db00e1..000000000000 --- a/examples/polymer-cli/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "polymer-cli", - "version": "6.0.0-alpha.0", - "private": true, - "scripts": { - "build-storybook": "build-storybook", - "start": "webpack-dev-server", - "storybook": "start-storybook -p 9001 -c .storybook" - }, - "dependencies": { - "@polymer/polymer": "^2.6.0", - "@storybook/addon-a11y": "6.0.0-alpha.0", - "@storybook/addon-actions": "6.0.0-alpha.0", - "@storybook/addon-backgrounds": "6.0.0-alpha.0", - "@storybook/addon-knobs": "6.0.0-alpha.0", - "@storybook/addon-links": "6.0.0-alpha.0", - "@storybook/addon-notes": "6.0.0-alpha.0", - "@storybook/addon-options": "6.0.0-alpha.0", - "@storybook/addon-storysource": "6.0.0-alpha.0", - "@storybook/addon-viewport": "6.0.0-alpha.0", - "@storybook/addons": "6.0.0-alpha.0", - "@storybook/polymer": "6.0.0-alpha.0", - "@storybook/source-loader": "6.0.0-alpha.0", - "@webcomponents/webcomponentsjs": "^1.2.0", - "global": "^4.3.2", - "lit-html": "^1.0.0", - "polymer-webpack-loader": "^2.0.3", - "webpack": "^4.33.0" - }, - "devDependencies": { - "copy-webpack-plugin": "^5.0.0", - "html-webpack-plugin": "^4.0.0-beta.2", - "webpack-dev-server": "^3.8.2" - } -} diff --git a/examples/polymer-cli/src/logo.svg b/examples/polymer-cli/src/logo.svg deleted file mode 100644 index b0d2bc689919..000000000000 --- a/examples/polymer-cli/src/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/examples/polymer-cli/src/playground-button.html b/examples/polymer-cli/src/playground-button.html deleted file mode 100644 index 65dde755c29c..000000000000 --- a/examples/polymer-cli/src/playground-button.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - diff --git a/examples/polymer-cli/src/polymer-playground-app.html b/examples/polymer-cli/src/polymer-playground-app.html deleted file mode 100644 index 137dec339a51..000000000000 --- a/examples/polymer-cli/src/polymer-playground-app.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - diff --git a/examples/polymer-cli/src/separated-button/separated-button.html b/examples/polymer-cli/src/separated-button/separated-button.html deleted file mode 100644 index fe113ae489df..000000000000 --- a/examples/polymer-cli/src/separated-button/separated-button.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - diff --git a/examples/polymer-cli/src/separated-button/separated-button.js b/examples/polymer-cli/src/separated-button/separated-button.js deleted file mode 100644 index 5fbc2d615a04..000000000000 --- a/examples/polymer-cli/src/separated-button/separated-button.js +++ /dev/null @@ -1,26 +0,0 @@ -import { uselessMixin } from './useless-mixin'; - -export const separatedButton = superClass => - class SeparatedButton extends uselessMixin(superClass) { - static get is() { - return 'separated-button'; - } - - static get properties() { - return { - title: { - type: String, - value: 'Click me:', - }, - counter: { - type: Number, - value: 0, - }, - }; - } - - async handleTap() { - this.counter += await Promise.resolve(1); - this.someMethod(); - } - }; diff --git a/examples/polymer-cli/src/separated-button/useless-mixin.js b/examples/polymer-cli/src/separated-button/useless-mixin.js deleted file mode 100644 index e7e2748ee3a8..000000000000 --- a/examples/polymer-cli/src/separated-button/useless-mixin.js +++ /dev/null @@ -1,12 +0,0 @@ -export const uselessMixin = superClass => - class UselessMixin extends superClass { - constructor() { - super(); - - this.eventType = 'test'; - } - - someMethod() { - this.dispatchEvent(new CustomEvent(this.eventType, { detail: 'test' })); - } - }; diff --git a/examples/polymer-cli/src/simple-button.html b/examples/polymer-cli/src/simple-button.html deleted file mode 100644 index 11d1963fb037..000000000000 --- a/examples/polymer-cli/src/simple-button.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - diff --git a/examples/polymer-cli/src/stories/addon-actions.stories.js b/examples/polymer-cli/src/stories/addon-actions.stories.js deleted file mode 100644 index 256046fd16f9..000000000000 --- a/examples/polymer-cli/src/stories/addon-actions.stories.js +++ /dev/null @@ -1,28 +0,0 @@ -import { action } from '@storybook/addon-actions'; -import { document } from 'global'; - -import '../simple-button.html'; - -export default { - title: 'Addon/Actions', -}; - -export const ActionOnly = () => { - const el = document.createElement('simple-button'); - el.addEventListener('click', action('log1')); - return el; -}; - -ActionOnly.story = { - name: 'Action only', -}; - -export const ActionAndMethod = () => { - const el = document.createElement('simple-button'); - el.addEventListener('click', e => action('log2')(e.target)); - return el; -}; - -ActionAndMethod.story = { - name: 'Action and method', -}; diff --git a/examples/polymer-cli/src/stories/addon-backgrounds.stories.js b/examples/polymer-cli/src/stories/addon-backgrounds.stories.js deleted file mode 100644 index 69e615c5e8fb..000000000000 --- a/examples/polymer-cli/src/stories/addon-backgrounds.stories.js +++ /dev/null @@ -1,16 +0,0 @@ -export default { - title: 'Addon/Backgrounds', - - parameters: { - backgrounds: [ - { name: 'light', value: '#eeeeee' }, - { name: 'dark', value: '#222222', default: true }, - ], - }, -}; - -export const ButtonWithText = () => ''; - -ButtonWithText.story = { - name: 'button with text', -}; diff --git a/examples/polymer-cli/src/stories/addon-knobs.stories.js b/examples/polymer-cli/src/stories/addon-knobs.stories.js deleted file mode 100644 index ed5a1ee19ce5..000000000000 --- a/examples/polymer-cli/src/stories/addon-knobs.stories.js +++ /dev/null @@ -1,68 +0,0 @@ -import { storiesOf } from '@storybook/polymer'; -import { action } from '@storybook/addon-actions'; -import { document } from 'global'; -import { html } from 'lit-html'; - -import { - withKnobs, - text, - button, - number, - select, - date, - color, - array, - boolean, -} from '@storybook/addon-knobs'; - -storiesOf('Addon/Knobs', module) - .addDecorator(withKnobs) - .add('simple', () => { - const title = text('Button title', 'Hello'); - const el = document.createElement('playground-button'); - el.setAttribute('title', title); - button('callback', () => el.setAttribute('title', 'testing')); - return el; - }) - .add('lit-html', () => { - const title = text('Button title', 'Hello'); - return html` - - `; - }) - .add('complex', () => { - const name = text('Name', 'Jane'); - const stock = number('Stock', 20, { range: true, min: 0, max: 30, step: 5 }); - const fruits = { - Apple: 'apples', - Banana: 'bananas', - Cherry: 'cherries', - }; - const fruit = select('Fruit', fruits, 'apples'); - const price = number('Price', 2.25); - const colour = color('Border', 'deeppink'); - const today = date('Today', new Date('Jan 20 2017 GMT+0')); - const items = array('Items', ['Laptop', 'Book', 'Whiskey']); - const nice = boolean('Nice', true); - - const stockMessage = stock - ? `I have a stock of ${stock} ${fruit}, costing $${price} each.` - : `I'm out of ${fruit}${nice ? ', Sorry!' : '.'}`; - const dateOptions = { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'UTC' }; - - button('Arbitrary action', action('You clicked it!')); - - return ` -
-

My name is ${name},

-

today is ${new Date(today).toLocaleDateString('en-US', dateOptions)}

-

${stockMessage}

-

Also, I have:

- -

${nice ? 'Nice to meet you!' : 'Leave me alone!'}

-
- `; - }) - .add('XSS safety', () => text('Rendered string', '')); diff --git a/examples/polymer-cli/src/stories/addon-links.stories.js b/examples/polymer-cli/src/stories/addon-links.stories.js deleted file mode 100644 index abf5e3e367cf..000000000000 --- a/examples/polymer-cli/src/stories/addon-links.stories.js +++ /dev/null @@ -1,19 +0,0 @@ -import { linkTo } from '@storybook/addon-links'; -import { document } from 'global'; - -import '../simple-button.html'; - -export default { - title: 'Addon/Links', -}; - -export const WithCreateElement = () => { - const el = document.createElement('simple-button'); - el.title = 'Go to welcome'; - el.handleClick = linkTo('Welcome'); - return el; -}; - -WithCreateElement.story = { - name: 'With Create Element', -}; diff --git a/examples/polymer-cli/src/stories/addon-notes.stories.js b/examples/polymer-cli/src/stories/addon-notes.stories.js deleted file mode 100644 index c86773f8343d..000000000000 --- a/examples/polymer-cli/src/stories/addon-notes.stories.js +++ /dev/null @@ -1,28 +0,0 @@ -export default { - title: 'Addon/Notes', -}; - -export const SimpleNote = () => - '

Etiam vulputate elit eu venenatis eleifend. Duis nec lectus augue. Morbi egestas diam sed vulputate mollis. Fusce egestas pretium vehicula. Integer sed neque diam. Donec consectetur velit vitae enim varius, ut placerat arcu imperdiet. Praesent sed faucibus arcu. Nullam sit amet nibh a enim eleifend rhoncus. Donec pretium elementum leo at fermentum. Nulla sollicitudin, mauris quis semper tempus, sem metus tristique diam, efficitur pulvinar mi urna id urna.

'; - -SimpleNote.story = { - name: 'Simple note', - parameters: { - notes: 'My notes on some bold text', - }, -}; - -export const NoteWithHtml = () => '

🤔😳😯😮
😄😩😓😱
🤓😑😶😊

'; - -NoteWithHtml.story = { - name: 'Note with HTML', - parameters: { - notes: ` -

My notes on emojies

- - It's not all that important to be honest, but.. - - Emojis are great, I love emojis, in fact I like using them in my Component notes too! 😇 - `, - }, -}; diff --git a/examples/polymer-cli/src/stories/components/app.stories.js b/examples/polymer-cli/src/stories/components/app.stories.js deleted file mode 100644 index ca95c2f09541..000000000000 --- a/examples/polymer-cli/src/stories/components/app.stories.js +++ /dev/null @@ -1,11 +0,0 @@ -import '../../polymer-playground-app.html'; - -export default { - title: 'App', -}; - -export const FullApp = () => - ''; -FullApp.story = { - name: 'full app', -}; diff --git a/examples/polymer-cli/src/stories/components/button.stories.js b/examples/polymer-cli/src/stories/components/button.stories.js deleted file mode 100644 index 7f460b7d76db..000000000000 --- a/examples/polymer-cli/src/stories/components/button.stories.js +++ /dev/null @@ -1,8 +0,0 @@ -import '../../playground-button.html'; - -export default { - title: 'Button', -}; - -export const Rounded = () => ''; -export const Square = () => ''; diff --git a/examples/polymer-cli/src/stories/components/welcome.stories.js b/examples/polymer-cli/src/stories/components/welcome.stories.js deleted file mode 100644 index 2113c1bd1049..000000000000 --- a/examples/polymer-cli/src/stories/components/welcome.stories.js +++ /dev/null @@ -1,14 +0,0 @@ -import { linkTo } from '@storybook/addon-links'; -import { document } from 'global'; - -import '../storybook-welcome-to-polymer.html'; - -export default { - title: 'Welcome', -}; - -export const Welcome = () => { - const el = document.createElement('storybook-welcome-to-polymer'); - el.goToButton = linkTo('Button'); - return el; -}; diff --git a/examples/polymer-cli/src/stories/core.stories.js b/examples/polymer-cli/src/stories/core.stories.js deleted file mode 100644 index efa4e34b119c..000000000000 --- a/examples/polymer-cli/src/stories/core.stories.js +++ /dev/null @@ -1,26 +0,0 @@ -import { addParameters } from '@storybook/polymer'; - -const globalParameter = 'globalParameter'; -const chapterParameter = 'chapterParameter'; -const storyParameter = 'storyParameter'; - -addParameters({ globalParameter }); - -export default { - title: 'Core/Parameters', - - parameters: { - chapterParameter, - }, -}; - -export const PassedToStory = ({ parameters: { fileName, ...parameters } }) => - `
Parameters are ${JSON.stringify(parameters)}
`; - -PassedToStory.story = { - name: 'passed to story', - - parameters: { - storyParameter, - }, -}; diff --git a/examples/polymer-cli/src/stories/custom-decorators.stories.js b/examples/polymer-cli/src/stories/custom-decorators.stories.js deleted file mode 100644 index d3d7b475d09c..000000000000 --- a/examples/polymer-cli/src/stories/custom-decorators.stories.js +++ /dev/null @@ -1,23 +0,0 @@ -import { document } from 'global'; - -export default { - title: 'Custom/Decorator', - - decorators: [ - storyFn => { - const el = storyFn(); - el.setAttribute('title', `${el.getAttribute('title')} - decorated`); - return el; - }, - ], -}; - -export const ExampleDecoration = () => { - const el = document.createElement('playground-button'); - el.setAttribute('title', 'An example title'); - return el; -}; - -ExampleDecoration.story = { - name: 'example decoration', -}; diff --git a/examples/polymer-cli/src/stories/custom-rendering.stories.js b/examples/polymer-cli/src/stories/custom-rendering.stories.js deleted file mode 100644 index 32ff209cb21b..000000000000 --- a/examples/polymer-cli/src/stories/custom-rendering.stories.js +++ /dev/null @@ -1,23 +0,0 @@ -import { storiesOf } from '@storybook/polymer'; -import { document } from 'global'; -import { html } from 'lit-html'; -import { StringTemplateButton } from '../string-template-button'; - -import '../separated-button/separated-button.html'; - -storiesOf('Custom/Methods for rendering', module) - .add('html string', () => '
Rendered with string
') - .add('html with custom elements', () => '') - .add('document.createElement', () => { - const el = document.createElement('playground-button'); - el.setAttribute('title', 'Rendered with document.createElement'); - return el; - }) - .add('Polymer instance', () => new StringTemplateButton()) - .add( - 'Lit html', - () => - html` - - ` - ); diff --git a/examples/polymer-cli/src/stories/storybook-welcome-to-polymer.html b/examples/polymer-cli/src/stories/storybook-welcome-to-polymer.html deleted file mode 100644 index 76e95721aeb3..000000000000 --- a/examples/polymer-cli/src/stories/storybook-welcome-to-polymer.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - diff --git a/examples/polymer-cli/src/string-template-button.js b/examples/polymer-cli/src/string-template-button.js deleted file mode 100644 index 362e2d50735c..000000000000 --- a/examples/polymer-cli/src/string-template-button.js +++ /dev/null @@ -1,28 +0,0 @@ -export class StringTemplateButton extends Polymer.Element { - static get is() { - return 'string-template-button'; - } - - static get properties() { - return { - title: { - type: String, - value: 'Wow, I am inline', - }, - counter: { - type: Number, - value: 0, - }, - }; - } - - static get template() { - return ''; - } - - handleTap() { - this.counter += 1; - } -} - -customElements.define(StringTemplateButton.is, StringTemplateButton); diff --git a/examples/polymer-cli/webpack.config.js b/examples/polymer-cli/webpack.config.js deleted file mode 100644 index 0ecc356b21d2..000000000000 --- a/examples/polymer-cli/webpack.config.js +++ /dev/null @@ -1,31 +0,0 @@ -const path = require('path'); -const CopyWebpackPlugin = require('copy-webpack-plugin'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); - -module.exports = { - entry: './src/polymer-playground-app.html', - output: { - path: path.resolve(__dirname, './dist'), - filename: '[name].[chunkhash:8].js', - }, - module: { - loaders: [ - { - test: /\.html$/, - exclude: require.resolve('./index.html'), - use: [{ loader: 'babel-loader' }, { loader: 'polymer-webpack-loader' }], - }, - ], - }, - plugins: [ - new HtmlWebpackPlugin({ - template: 'index.html', - }), - new CopyWebpackPlugin([ - { from: require.resolve('@webcomponents/webcomponentsjs/webcomponents-lite.js') }, - { from: require.resolve('@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js') }, - ]), - ], - devServer: { historyApiFallback: true }, - devtool: 'eval-source-map', -}; diff --git a/lib/cli/generators/POLYMER/index.js b/lib/cli/generators/POLYMER/index.js deleted file mode 100755 index ea981c13c694..000000000000 --- a/lib/cli/generators/POLYMER/index.js +++ /dev/null @@ -1,40 +0,0 @@ -import { - getVersions, - retrievePackageJson, - writePackageJson, - getBabelDependencies, - installDependencies, - copyTemplate, -} from '../../lib/helpers'; - -export default async (npmOptions, { storyFormat = 'csf' }) => { - const [storybookVersion, polymerLoaderVarion] = await getVersions( - npmOptions, - '@storybook/polymer', - 'polymer-webpack-loader' - ); - copyTemplate(__dirname, storyFormat); - - const packageJson = await retrievePackageJson(); - - packageJson.dependencies = packageJson.dependencies || {}; - packageJson.devDependencies = packageJson.devDependencies || {}; - - packageJson.scripts = packageJson.scripts || {}; - packageJson.scripts.storybook = 'start-storybook -p 6006'; - packageJson.scripts['build-storybook'] = 'build-storybook'; - - writePackageJson(packageJson); - - const devDependencies = [`@storybook/polymer@${storybookVersion}`]; - if ( - !packageJson.dependencies['polymer-webpack-loader'] && - !packageJson.devDependencies['polymer-webpack-loader'] - ) { - devDependencies.push(`polymer-webpack-loader@${polymerLoaderVarion}`); - } - - const babelDependencies = await getBabelDependencies(npmOptions, packageJson); - - installDependencies({ ...npmOptions, packageJson }, [...devDependencies, ...babelDependencies]); -}; diff --git a/lib/cli/generators/POLYMER/template-csf/.storybook/main.js b/lib/cli/generators/POLYMER/template-csf/.storybook/main.js deleted file mode 100644 index 727bb15e64ad..000000000000 --- a/lib/cli/generators/POLYMER/template-csf/.storybook/main.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - stories: ['../src/**/*.stories.js'], -}; diff --git a/lib/cli/generators/POLYMER/template-csf/src/stories/index.stories.js b/lib/cli/generators/POLYMER/template-csf/src/stories/index.stories.js deleted file mode 100644 index 88f773136073..000000000000 --- a/lib/cli/generators/POLYMER/template-csf/src/stories/index.stories.js +++ /dev/null @@ -1 +0,0 @@ -// TODO: add demo stories diff --git a/lib/cli/lib/detect.js b/lib/cli/lib/detect.js index 26af70e4e86a..90d384a3cc4b 100644 --- a/lib/cli/lib/detect.js +++ b/lib/cli/lib/detect.js @@ -74,15 +74,6 @@ function detectFramework(dependencies) { return types.ANGULAR; } - if ( - (dependencies.dependencies && dependencies.dependencies['@polymer/polymer']) || - (dependencies.devDependencies && dependencies.devDependencies['@polymer/polymer']) || - (dependencies.dependencies && dependencies.dependencies.polymer) || - (dependencies.devDependencies && dependencies.devDependencies.polymer) - ) { - return types.POLYMER; - } - if ( (dependencies.dependencies && dependencies.dependencies['lit-element']) || (dependencies.devDependencies && dependencies.devDependencies['lit-element']) diff --git a/lib/cli/lib/initiate.js b/lib/cli/lib/initiate.js index 451bf0d9c02f..9947b65f0313 100644 --- a/lib/cli/lib/initiate.js +++ b/lib/cli/lib/initiate.js @@ -20,7 +20,6 @@ import reactScriptsGenerator from '../generators/REACT_SCRIPTS'; import sfcVueGenerator from '../generators/SFC_VUE'; import updateOrganisationsGenerator from '../generators/UPDATE_PACKAGE_ORGANIZATIONS'; import vueGenerator from '../generators/VUE'; -import polymerGenerator from '../generators/POLYMER'; import webpackReactGenerator from '../generators/WEBPACK_REACT'; import mithrilGenerator from '../generators/MITHRIL'; import marionetteGenerator from '../generators/MARIONETTE'; @@ -154,11 +153,6 @@ const installStorybook = (projectType, options) => { .then(commandLog('Adding storybook support to your "Ember" app')) .then(end); - case types.POLYMER: - return polymerGenerator(npmOptions, generatorOptions) - .then(commandLog('Adding storybook support to your "Polymer" app')) - .then(end); - case types.MITHRIL: return mithrilGenerator(npmOptions, generatorOptions) .then(commandLog('Adding storybook support to your "Mithril" app')) diff --git a/lib/cli/lib/project_types.js b/lib/cli/lib/project_types.js index 14c19f09bda4..67466589e37f 100644 --- a/lib/cli/lib/project_types.js +++ b/lib/cli/lib/project_types.js @@ -12,7 +12,6 @@ const projectTypes = { EMBER: 'EMBER', ALREADY_HAS_STORYBOOK: 'ALREADY_HAS_STORYBOOK', UPDATE_PACKAGE_ORGANIZATIONS: 'UPDATE_PACKAGE_ORGANIZATIONS', - POLYMER: 'POLYMER', WEB_COMPONENTS: 'WEB_COMPONENTS', MITHRIL: 'MITHRIL', MARIONETTE: 'MARIONETTE', @@ -31,7 +30,6 @@ export const supportedFrameworks = [ 'react-native', 'vue', 'angular', - 'polymer', 'mithril', 'riot', 'ember', diff --git a/lib/cli/package.json b/lib/cli/package.json index 17899e0fc317..547599573b24 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -77,7 +77,6 @@ "@storybook/marionette": "6.0.0-alpha.0", "@storybook/marko": "6.0.0-alpha.0", "@storybook/mithril": "6.0.0-alpha.0", - "@storybook/polymer": "6.0.0-alpha.0", "@storybook/preact": "6.0.0-alpha.0", "@storybook/rax": "6.0.0-alpha.0", "@storybook/react": "6.0.0-alpha.0", diff --git a/lib/cli/test/fixtures/polymer/package.json b/lib/cli/test/fixtures/polymer/package.json deleted file mode 100644 index ba2702e69795..000000000000 --- a/lib/cli/test/fixtures/polymer/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "polymer-fixture", - "version": "1.0.0", - "license": "MIT", - "main": "index.js", - "scripts": { - "build": "webpack -p dist" - }, - "dependencies": { - "@polymer/polymer": "^2.2.0" - }, - "devDependencies": {} -} diff --git a/lib/cli/test/run_tests.sh b/lib/cli/test/run_tests.sh index 9dd48d567087..567aaa4a584b 100755 --- a/lib/cli/test/run_tests.sh +++ b/lib/cli/test/run_tests.sh @@ -43,7 +43,7 @@ do yarn sb init --skip-install --yes ;; mdx) - if [[ $dir =~ (react_native*|angular-cli-v6|ember-cli|marko|meteor|mithril|polymer|riot|react_babel_6) ]] + if [[ $dir =~ (react_native*|angular-cli-v6|ember-cli|marko|meteor|mithril|riot|react_babel_6) ]] then yarn sb init --skip-install --yes else diff --git a/lib/components/src/blocks/DocsPageExampleCaption.md b/lib/components/src/blocks/DocsPageExampleCaption.md index 3542ca2cd8d2..450b0115c4a2 100644 --- a/lib/components/src/blocks/DocsPageExampleCaption.md +++ b/lib/components/src/blocks/DocsPageExampleCaption.md @@ -76,13 +76,13 @@ A basic table: Let's throw in a crazy table, because why not? -| | [React](app/react) | [React Native](app/react-native) | [Vue](app/vue) | [Angular](app/angular) | [Polymer](app/polymer) | [Mithril](app/mithril) | [HTML](app/html) | [Marko](app/marko) | [Svelte](app/svelte) | [Riot](app/riot) | [Ember](app/ember) | [Preact](app/preact) | -| --------------------------------- | :----------------: | :------------------------------: | :------------: | :--------------------: | :--------------------: | :--------------------: | :--------------: | :----------------: | :------------------: | :--------------: | :----------------: | :------------------: | -| [a11y](addons/a11y) | + | | + | + | + | + | + | + | | | + | + | -| [actions](addons/actions) | + | + | + | + | + | + | + | + | + | + | + | + | -| [backgrounds](addons/backgrounds) | + | \* | + | + | + | + | + | + | + | + | + | + | -| [centered](addons/centered) | + | | + | + | | + | + | | + | | + | + | -| [contexts](addons/contexts) | + | | + | | | | | | | | | + | +| | [React](app/react) | [React Native](app/react-native) | [Vue](app/vue) | [Angular](app/angular) | [Mithril](app/mithril) | [HTML](app/html) | [Marko](app/marko) | [Svelte](app/svelte) | [Riot](app/riot) | [Ember](app/ember) | [Preact](app/preact) | +| --------------------------------- | :----------------: | :------------------------------: | :------------: | :--------------------: | :--------------------: | :--------------: | :----------------: | :------------------: | :--------------: | :----------------: | :------------------: | +| [a11y](addons/a11y) | + | | + | + | + | + | + | | | + | + | +| [actions](addons/actions) | + | + | + | + | + | + | + | + | + | + | + | +| [backgrounds](addons/backgrounds) | + | \* | + | + | + | + | + | + | + | + | + | +| [centered](addons/centered) | + | | + | + | + | + | | + | | + | + | +| [contexts](addons/contexts) | + | | + | | | | | | | | + | ## Code diff --git a/lib/components/src/blocks/DocsPageExampleCaption.mdx b/lib/components/src/blocks/DocsPageExampleCaption.mdx index 3542ca2cd8d2..450b0115c4a2 100644 --- a/lib/components/src/blocks/DocsPageExampleCaption.mdx +++ b/lib/components/src/blocks/DocsPageExampleCaption.mdx @@ -76,13 +76,13 @@ A basic table: Let's throw in a crazy table, because why not? -| | [React](app/react) | [React Native](app/react-native) | [Vue](app/vue) | [Angular](app/angular) | [Polymer](app/polymer) | [Mithril](app/mithril) | [HTML](app/html) | [Marko](app/marko) | [Svelte](app/svelte) | [Riot](app/riot) | [Ember](app/ember) | [Preact](app/preact) | -| --------------------------------- | :----------------: | :------------------------------: | :------------: | :--------------------: | :--------------------: | :--------------------: | :--------------: | :----------------: | :------------------: | :--------------: | :----------------: | :------------------: | -| [a11y](addons/a11y) | + | | + | + | + | + | + | + | | | + | + | -| [actions](addons/actions) | + | + | + | + | + | + | + | + | + | + | + | + | -| [backgrounds](addons/backgrounds) | + | \* | + | + | + | + | + | + | + | + | + | + | -| [centered](addons/centered) | + | | + | + | | + | + | | + | | + | + | -| [contexts](addons/contexts) | + | | + | | | | | | | | | + | +| | [React](app/react) | [React Native](app/react-native) | [Vue](app/vue) | [Angular](app/angular) | [Mithril](app/mithril) | [HTML](app/html) | [Marko](app/marko) | [Svelte](app/svelte) | [Riot](app/riot) | [Ember](app/ember) | [Preact](app/preact) | +| --------------------------------- | :----------------: | :------------------------------: | :------------: | :--------------------: | :--------------------: | :--------------: | :----------------: | :------------------: | :--------------: | :----------------: | :------------------: | +| [a11y](addons/a11y) | + | | + | + | + | + | + | | | + | + | +| [actions](addons/actions) | + | + | + | + | + | + | + | + | + | + | + | +| [backgrounds](addons/backgrounds) | + | \* | + | + | + | + | + | + | + | + | + | +| [centered](addons/centered) | + | | + | + | + | + | | + | | + | + | +| [contexts](addons/contexts) | + | | + | | | | | | | | + | ## Code diff --git a/lib/postinstall/src/frameworks.ts b/lib/postinstall/src/frameworks.ts index dd0710d612e8..c7a0bfb8c029 100644 --- a/lib/postinstall/src/frameworks.ts +++ b/lib/postinstall/src/frameworks.ts @@ -10,7 +10,6 @@ const FRAMEWORKS = [ 'html', 'marko', 'mithril', - 'polymer', 'preact', 'rax', 'react', diff --git a/yarn.lock b/yarn.lock index 57dec9a8944a..68ec591f9ef7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3934,11 +3934,6 @@ "@parcel/utils" "^1.11.0" physical-cpu-count "^2.0.0" -"@polymer/polymer@^2.6.0": - version "2.8.0" - resolved "https://registry.yarnpkg.com/@polymer/polymer/-/polymer-2.8.0.tgz#dad7ecbf8ae5933df8f4e1af1bbfe57c88a2c7b3" - integrity sha512-R3LXHDmHG8f3wxIFKyCVRutlWggJBrjHVytOr+6ZTnLedKFke7i9SQRBtunl/w+NgnkN45a2S9jG+wtHV2pY+Q== - "@reach/router@^1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@reach/router/-/router-1.2.1.tgz#34ae3541a5ac44fa7796e5506a5d7274a162be4e" @@ -4379,11 +4374,6 @@ resolved "https://registry.yarnpkg.com/@types/cli-table/-/cli-table-0.3.0.tgz#f1857156bf5fd115c6a2db260ba0be1f8fc5671c" integrity sha512-QnZUISJJXyhyD6L1e5QwXDV/A5i2W1/gl6D6YMc8u0ncPepbv/B4w3S+izVvtAg60m6h+JP09+Y/0zF2mojlFQ== -"@types/clone@^0.1.29": - version "0.1.30" - resolved "https://registry.yarnpkg.com/@types/clone/-/clone-0.1.30.tgz#e7365648c1b42136a59c7d5040637b3b5c83b614" - integrity sha1-5zZWSMG0ITalnH1QQGN7O1yDthQ= - "@types/color-name@^1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" @@ -4617,11 +4607,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.25.tgz#792c0afb798f1dd681dce9c4b4c431f7245a0a42" integrity sha512-nf1LMGZvgFX186geVZR1xMZKKblJiRfiASTHw85zED2kI1yDKHDwTKMdkaCbTlXoRKlGKaDfYywt+V0As30q3w== -"@types/node@^6.0.0": - version "6.14.9" - resolved "https://registry.yarnpkg.com/@types/node/-/node-6.14.9.tgz#733583e21ef0eab85a9737dfafbaa66345a92ef0" - integrity sha512-leP/gxHunuazPdZaCvsCefPQxinqUDsCxCR5xaDUrY2MkYxQRFZZwU5e7GojyYsGB7QVtCi7iVEl/hoFXQYc+w== - "@types/node@^9.4.6": version "9.6.55" resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.55.tgz#7cc1358c9c18e71f6c020e410962971863232cf5" @@ -4642,13 +4627,6 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== -"@types/parse5@^2.2.32": - version "2.2.34" - resolved "https://registry.yarnpkg.com/@types/parse5/-/parse5-2.2.34.tgz#e3870a10e82735a720f62d71dcd183ba78ef3a9d" - integrity sha1-44cKEOgnNacg9i1x3NGDunjvOp0= - dependencies: - "@types/node" "*" - "@types/pretty-hrtime@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@types/pretty-hrtime/-/pretty-hrtime-1.0.0.tgz#c5a2d644a135e988b2932f99737e67b3c62528d0" @@ -5172,11 +5150,6 @@ "@webassemblyjs/wast-parser" "1.8.5" "@xtuc/long" "4.2.2" -"@webcomponents/webcomponentsjs@^1.2.0": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@webcomponents/webcomponentsjs/-/webcomponentsjs-1.3.3.tgz#5bb82a0d3210c836bd4623e13a4a93145cb9dc27" - integrity sha512-eLH04VBMpuZGzBIhOnUjECcQPEPcmfhWEijW9u1B5I+2PPYdWf3vWUExdDxu4Y3GljRSTCOlWnGtS9tpzmXMyQ== - "@webpack-contrib/schema-utils@^1.0.0-beta.0": version "1.0.0-beta.0" resolved "https://registry.yarnpkg.com/@webpack-contrib/schema-utils/-/schema-utils-1.0.0-beta.0.tgz#bf9638c9464d177b48209e84209e23bee2eb4f65" @@ -5293,13 +5266,6 @@ acorn-globals@^4.1.0, acorn-globals@^4.3.0, acorn-globals@^4.3.2: acorn "^6.0.1" acorn-walk "^6.0.1" -acorn-jsx@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b" - integrity sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s= - dependencies: - acorn "^3.0.4" - acorn-jsx@^5.0.0, acorn-jsx@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384" @@ -5324,7 +5290,7 @@ acorn-walk@^7.0.0: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.0.0.tgz#c8ba6f0f1aac4b0a9e32d1f0af12be769528f36b" integrity sha512-7Bv1We7ZGuU79zZbb6rRqcpxo3OY+zrdtloZWoyD8fmGX+FeXRjE+iuGkZjSXLVovLzrsvMGMy0EkwA0E0umxg== -acorn@^3.0.4, acorn@^3.1.0: +acorn@^3.1.0: version "3.3.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" integrity sha1-ReN/s56No/JbruP/U2niu18iAXo= @@ -5334,7 +5300,7 @@ acorn@^4.0.4, acorn@~4.0.2: resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" integrity sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c= -acorn@^5.0.0, acorn@^5.5.0, acorn@^5.5.3: +acorn@^5.0.0, acorn@^5.5.3: version "5.7.3" resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== @@ -9713,7 +9679,7 @@ clone@^1.0.1, clone@^1.0.2: resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= -clone@^2.0.0, clone@^2.1.0, clone@^2.1.1, clone@^2.1.2: +clone@^2.0.0, clone@^2.1.1, clone@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18= @@ -10396,7 +10362,7 @@ copy-webpack-plugin@5.0.0: serialize-javascript "^1.4.0" webpack-log "^2.0.0" -copy-webpack-plugin@5.1.1, copy-webpack-plugin@^5.0.0, copy-webpack-plugin@^5.0.4: +copy-webpack-plugin@5.1.1, copy-webpack-plugin@^5.0.4: version "5.1.1" resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-5.1.1.tgz#5481a03dea1123d88a988c6ff8b78247214f0b88" integrity sha512-P15M5ZC8dyCjQHWwd4Ia/dm0SgVvZJMYeykVIVYXbGyqO4dWB5oyPHp9i7wjwo5LhtlhKbiBCdS2NvM07Wlybg== @@ -11813,17 +11779,6 @@ dom-walk@^0.1.0: resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018" integrity sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg= -dom5@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/dom5/-/dom5-2.3.0.tgz#f8204975bd0dacbbe5b58a8a93ffc1fed0ffcd2a" - integrity sha1-+CBJdb0NrLvltYqKk//B/tD/zSo= - dependencies: - "@types/clone" "^0.1.29" - "@types/node" "^6.0.0" - "@types/parse5" "^2.2.32" - clone "^2.1.0" - parse5 "^2.2.2" - domain-browser@^1.1.1, domain-browser@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" @@ -12063,9 +12018,9 @@ ejs@^2.6.1, ejs@^2.7.4: integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA== electron-to-chromium@^1.3.191, electron-to-chromium@^1.3.247, electron-to-chromium@^1.3.306, electron-to-chromium@^1.3.322, electron-to-chromium@^1.3.338, electron-to-chromium@^1.3.47: - version "1.3.339" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.339.tgz#ff7b56c4bc58159f0d6623591116e4414e7a618b" - integrity sha512-C1i/vH6/kQx9YV8RddMkmW216GwW4pTrnYIlKmDFIqXA4fPwqDxIdGyHsuG+fgurHoljRz7/oaD+tztcryW/9g== + version "1.3.340" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.340.tgz#5d4fe78e984d4211194cf5a52e08069543da146f" + integrity sha512-hRFBAglhcj5iVYH+o8QU0+XId1WGoc0VGowJB1cuJAt3exHGrivZvWeAO5BRgBZqwZtwxjm8a5MQeGoT/Su3ww== elegant-spinner@^1.0.1: version "1.0.1" @@ -13398,14 +13353,6 @@ esm@3.2.25, esm@^3.2.25, esm@^3.2.4: resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA== -espree@^3.4.3: - version "3.5.4" - resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7" - integrity sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A== - dependencies: - acorn "^5.5.0" - acorn-jsx "^3.0.0" - espree@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/espree/-/espree-5.0.1.tgz#5d6526fa4fc7f0788a5cf75b15f30323e2f81f7a" @@ -16647,7 +16594,7 @@ html-escaper@^2.0.0: resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.0.tgz#71e87f931de3fe09e56661ab9a29aadec707b491" integrity sha512-a4u9BeERWGu/S8JiWEAQcdrg9v4QArtP9keViQjGMdff20fBdd8waotXaNmODqBe6uZ3Nafi7K/ho4gCQHV3Ig== -html-loader@^0.5.1, html-loader@^0.5.5: +html-loader@^0.5.5: version "0.5.5" resolved "https://registry.yarnpkg.com/html-loader/-/html-loader-0.5.5.tgz#6356dbeb0c49756d8ebd5ca327f16ff06ab5faea" integrity sha512-7hIW7YinOYUpo//kSYcPB6dCKoceKLmOwjEMmhIobHuWGDVl0Nwe4l68mdG/Ru0wcUxQjVMEoZpkalZ/SE7zog== @@ -24064,13 +24011,6 @@ parse-url@^5.0.0: parse-path "^4.0.0" protocols "^1.4.0" -parse5-utils@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/parse5-utils/-/parse5-utils-2.0.0.tgz#c926c1764e2431a450a5941f302db9beaec9d78a" - integrity sha1-ySbBdk4kMaRQpZQfMC25vq7J14o= - dependencies: - parse5 "^2.2.1" - parse5@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" @@ -24081,12 +24021,7 @@ parse5@5.1.0: resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.0.tgz#c59341c9723f414c452975564c7c00a68d58acd2" integrity sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ== -parse5@^2.2.1, parse5@^2.2.2: - version "2.2.3" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-2.2.3.tgz#0c4fc41c1000c5e6b93d48b03f8083837834e9f6" - integrity sha1-DE/EHBAAxea5PUiwP4CDg3g06fY= - -parse5@^3.0.1, parse5@^3.0.2: +parse5@^3.0.1: version "3.0.3" resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.3.tgz#042f792ffdd36851551cf4e9e066b3874ab45b5c" integrity sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA== @@ -24541,21 +24476,6 @@ polished@^3.3.1: dependencies: "@babel/runtime" "^7.6.3" -polymer-webpack-loader@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/polymer-webpack-loader/-/polymer-webpack-loader-2.0.3.tgz#2a2d1c2ef05bff372b573d3b761628a3b4ad3e7f" - integrity sha512-3SR+/qVAGeVKltvsSMA+euGdLwj8ZZJnwd5NvXRvbdQ7yO57sdcTpRw3d34pTc9YTZxncW/kozuI/9bHjr/rdg== - dependencies: - css-selector-tokenizer "^0.7.0" - dom5 "^2.3.0" - espree "^3.4.3" - html-loader "^0.5.1" - loader-utils "^1.1.0" - parse5 "^3.0.2" - parse5-utils "^2.0.0" - postcss "^6.0.9" - source-map "^0.5.6" - popper.js@^1.14.4, popper.js@^1.14.7: version "1.16.1" resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.16.1.tgz#2a223cb3dc7b6213d740e40372be40de43e65b1b" @@ -25389,7 +25309,7 @@ postcss@7.x.x, postcss@^7, postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.11, post source-map "^0.6.1" supports-color "^6.1.0" -postcss@^6.0.1, postcss@^6.0.9: +postcss@^6.0.1: version "6.0.23" resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.23.tgz#61c82cc328ac60e677645f979054eb98bc0e3324" integrity sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==