├── .commitlintrc.json ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ └── codeql-analysis.yml ├── .gitignore ├── .huskyrc ├── .prettierignore ├── .prettierrc ├── .vscode ├── launch.json └── settings.json ├── CHANGELOG.md ├── CONTRIBUTING.md ├── README.md ├── core ├── config │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ └── index.ts │ ├── test │ │ ├── config-folder.test.ts │ │ ├── config.test.ts │ │ ├── fixtures │ │ │ ├── .config │ │ │ │ ├── buildtime.js │ │ │ │ └── runtime.tsx │ │ │ ├── exact-names │ │ │ │ └── main.js │ │ │ ├── main.js │ │ │ └── ts-config │ │ │ │ └── buildtime.ts │ │ ├── require-context.test.ts │ │ ├── stories.test.ts │ │ └── ts-build-config.test.ts │ └── tsconfig.json ├── core │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── node-utils.d.ts │ ├── node-utils.js │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── build.ts │ │ ├── common.ts │ │ ├── components.ts │ │ ├── configuration.ts │ │ ├── controls-randomize.ts │ │ ├── controls-smart.ts │ │ ├── controls-utils.ts │ │ ├── controls.ts │ │ ├── deepMerge.ts │ │ ├── document-utils.ts │ │ ├── document.ts │ │ ├── faker.ts │ │ ├── files.ts │ │ ├── find-up.ts │ │ ├── index.test.ts │ │ ├── index.ts │ │ ├── jest.ts │ │ ├── modules.ts │ │ ├── node-utils.ts │ │ ├── propsInfo.ts │ │ ├── search.ts │ │ ├── source.ts │ │ ├── stories │ │ │ ├── components │ │ │ │ ├── ArrayControl.ts │ │ │ │ ├── BooleanControl.ts │ │ │ │ ├── ButtonControl.ts │ │ │ │ ├── ColorControl.ts │ │ │ │ ├── DateControl.ts │ │ │ │ ├── FilesControl.ts │ │ │ │ ├── NumberControl.ts │ │ │ │ ├── ObjectControl.ts │ │ │ │ ├── OptionsControl.ts │ │ │ │ ├── TextControl.ts │ │ │ │ └── types.ts │ │ │ ├── controls-array.stories.js │ │ │ ├── controls-boolean.stories.js │ │ │ ├── controls-button.stories.js │ │ │ ├── controls-color.stories.js │ │ │ ├── controls-date.stories.js │ │ │ ├── controls-files.stories.js │ │ │ ├── controls-number.stories.js │ │ │ ├── controls-object.stories.js │ │ │ ├── controls-options.stories.js │ │ │ └── controls-text.stories.js │ │ ├── tokens.ts │ │ ├── typings.d.ts │ │ ├── utility.ts │ │ └── webpack-interfaces.ts │ ├── test │ │ ├── __snapshots__ │ │ │ └── randomize.test.ts.snap │ │ ├── deepmerge.test.ts │ │ ├── dynamic-import.test.ts │ │ ├── fixtures │ │ │ ├── buildtime.js │ │ │ └── buildtime.ts │ │ ├── index.test.ts │ │ ├── paths.test.ts │ │ └── randomize.test.ts │ └── tsconfig.json ├── instrument │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── babel │ │ │ ├── analyze-component.ts │ │ │ ├── esm-stories.ts │ │ │ ├── extract-arguments-usage.ts │ │ │ ├── extract-attributes.ts │ │ │ ├── extract-component.ts │ │ │ ├── extract-function-parameters.ts │ │ │ ├── extract-function.ts │ │ │ ├── follow-story.ts │ │ │ ├── mdx-stories.ts │ │ │ └── transform-ast-tree.ts │ │ ├── index.ts │ │ ├── misc │ │ │ ├── chached-file.ts │ │ │ ├── component-attributes.ts │ │ │ ├── data-driven.ts │ │ │ ├── file-info.ts │ │ │ ├── hashStore.ts │ │ │ ├── jest-tests.ts │ │ │ ├── mdx-exports.ts │ │ │ ├── package-info.ts │ │ │ ├── prettify.ts │ │ │ ├── props-info.ts │ │ │ ├── source-extract.ts │ │ │ ├── source-location.ts │ │ │ ├── source-options.ts │ │ │ └── stringify-object.ts │ │ ├── types.ts │ │ └── typings.d.ts │ ├── test │ │ ├── __snapshots__ │ │ │ ├── extract-props-info.test.ts.snap │ │ │ └── jest-tests.test.ts.snap │ │ ├── data-driven.test.ts │ │ ├── esm-async.test.ts │ │ ├── esm-components.test.ts │ │ ├── esm-doc.test.ts │ │ ├── esm-hoisted.test.ts │ │ ├── esm-named-exports.test.ts │ │ ├── esm-parameters.test.ts │ │ ├── esm-props-info-external.test.ts │ │ ├── esm-props-info.test.ts │ │ ├── esm-props-usage.test.ts │ │ ├── esm-stories.test.ts │ │ ├── esm-story-source.test.ts │ │ ├── esm-template.test.ts │ │ ├── esm-toggle.test.ts │ │ ├── extract-component.test.ts │ │ ├── extract-props-info.test.ts │ │ ├── file-info.test.ts │ │ ├── fixtures │ │ │ ├── components │ │ │ │ ├── button-default-arrow-func.js │ │ │ │ ├── button-default-class-export.js │ │ │ │ ├── button-default-class.js │ │ │ │ ├── button-named-arrow-func.js │ │ │ │ ├── button-named-class-export.js │ │ │ │ ├── button-named-class.js │ │ │ │ ├── button-props.tsx │ │ │ │ ├── component-jsx.tsx │ │ │ │ ├── external-story-deconstructed-props.js │ │ │ │ ├── external-story-props.js │ │ │ │ └── external-story.js │ │ │ ├── esm │ │ │ │ ├── async │ │ │ │ │ ├── arrow-function.js │ │ │ │ │ ├── async-story.js │ │ │ │ │ ├── export-function-arguments.js │ │ │ │ │ └── export-function.js │ │ │ │ ├── components │ │ │ │ │ ├── default-import.js │ │ │ │ │ ├── story-subcomponents.js │ │ │ │ │ └── subcomponents.js │ │ │ │ ├── doc │ │ │ │ │ ├── default-export-const.ts │ │ │ │ │ ├── title-and-parameters.js │ │ │ │ │ ├── title-controls-and-parameters.js │ │ │ │ │ └── typed-export.ts │ │ │ │ ├── hoisted │ │ │ │ │ ├── name-and-parameters.js │ │ │ │ │ └── name-parameters-and-controls.js │ │ │ │ ├── named-exports │ │ │ │ │ ├── export-alias.js │ │ │ │ │ ├── property-name.js │ │ │ │ │ └── re-export-name.js │ │ │ │ ├── parameters │ │ │ │ │ ├── name-and-parameters.js │ │ │ │ │ └── name-parameters-and-controls.js │ │ │ │ ├── props-info-external │ │ │ │ │ └── theme-ui.jsx │ │ │ │ ├── props-info │ │ │ │ │ └── resolve-node-modules.jsx │ │ │ │ ├── props-usage │ │ │ │ │ ├── adjust-lines.any │ │ │ │ │ ├── age-and-name.js │ │ │ │ │ ├── empty-body.js │ │ │ │ │ ├── expression.js │ │ │ │ │ ├── multiple-usage.js │ │ │ │ │ ├── nested-arguments.js │ │ │ │ │ ├── props.js │ │ │ │ │ ├── select-prop.js │ │ │ │ │ ├── shorthand.js │ │ │ │ │ ├── string-template.js │ │ │ │ │ ├── three-levels-alias.js │ │ │ │ │ ├── two-arguments.js │ │ │ │ │ ├── two-levels-alias.js │ │ │ │ │ └── two-levels-sub-arguments.js │ │ │ │ ├── stories │ │ │ │ │ ├── named-object-export.js │ │ │ │ │ ├── no-arguments.js │ │ │ │ │ ├── no-story.js │ │ │ │ │ ├── props-argument.js │ │ │ │ │ ├── three-levels-alias.js │ │ │ │ │ ├── two-arguments.js │ │ │ │ │ ├── two-levels-alias.js │ │ │ │ │ ├── two-levels-sub-arguments.js │ │ │ │ │ └── typescript.ts │ │ │ │ ├── story-source │ │ │ │ │ ├── external-source-deconstructed-props.js │ │ │ │ │ ├── external-source-props.js │ │ │ │ │ ├── external-source.js │ │ │ │ │ ├── simple-source-props.js │ │ │ │ │ └── simple-source.js │ │ │ │ ├── template │ │ │ │ │ ├── template-bind.tsx │ │ │ │ │ └── template-doc.tsx │ │ │ │ └── toggle │ │ │ │ │ └── toggle-story.js │ │ │ ├── extract-component │ │ │ │ ├── default-alias-import.js │ │ │ │ ├── default-import.js │ │ │ │ ├── jsx-component.ts │ │ │ │ ├── kind-component.js │ │ │ │ ├── named-alias-import.js │ │ │ │ ├── named-import.js │ │ │ │ ├── node-modules-source.js │ │ │ │ ├── node-modules.js │ │ │ │ ├── non-existing-file.js │ │ │ │ ├── parameters-component.js │ │ │ │ └── story-component.js │ │ │ ├── mdx │ │ │ │ ├── async │ │ │ │ │ └── arrow-function.mdx │ │ │ │ ├── component │ │ │ │ │ ├── component-parameters.mdx │ │ │ │ │ ├── named-alias-import.mdx │ │ │ │ │ ├── propstable-of.mdx │ │ │ │ │ ├── story-import.mdx │ │ │ │ │ ├── story-subcomponents.mdx │ │ │ │ │ └── subcomponents.mdx │ │ │ │ ├── playground │ │ │ │ │ ├── format-source.mdx │ │ │ │ │ └── source-prop.mdx │ │ │ │ ├── stories │ │ │ │ │ ├── no-name.mdx │ │ │ │ │ ├── props-argument.mdx │ │ │ │ │ ├── story.mdx │ │ │ │ │ ├── three-levels-alias.mdx │ │ │ │ │ ├── two-arguments.mdx │ │ │ │ │ ├── two-levels-alias.mdx │ │ │ │ │ └── two-levels-sub-arguments.mdx │ │ │ │ ├── story-source │ │ │ │ │ ├── external-source-deconstructed-props.mdx │ │ │ │ │ ├── external-source-props.mdx │ │ │ │ │ ├── external-source.mdx │ │ │ │ │ ├── simple-source-props.mdx │ │ │ │ │ └── simple-source.mdx │ │ │ │ └── template │ │ │ │ │ └── template-bind.mdx │ │ │ └── package-info │ │ │ │ └── package.json │ │ ├── jest-tests.test.ts │ │ ├── loadTestFiles.ts │ │ ├── mdx-async.test.ts │ │ ├── mdx-component.test.ts │ │ ├── mdx-playground.test.ts │ │ ├── mdx-stories.test.ts │ │ ├── mdx-story-source.test.ts │ │ ├── mdx-template.test.ts │ │ └── package-info.test.ts │ └── tsconfig.json ├── jest-extract │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── index.ts │ │ ├── related-tests.ts │ │ └── run-tests.ts │ ├── test │ │ ├── fixtures │ │ │ ├── component │ │ │ │ ├── Link.react.js │ │ │ │ ├── Link.react.test.js │ │ │ │ ├── __tests__ │ │ │ │ │ └── some_more_tests.js │ │ │ │ └── link.react.controls.test.js │ │ │ ├── simple │ │ │ │ ├── sum.js │ │ │ │ └── sum.test.js │ │ │ └── story │ │ │ │ ├── VariantButton.bundle.data.ts │ │ │ │ ├── VariantButton.data.js │ │ │ │ ├── VariantButton.data.ts │ │ │ │ ├── VariantButton.docs.tsx │ │ │ │ ├── VariantButton.test.js │ │ │ │ ├── VariantButton.test.ts │ │ │ │ ├── VariantButton.test.tsx │ │ │ │ ├── VariantButton.tsx │ │ │ │ └── __snapshots__ │ │ │ │ ├── VariantButton.test.js.snap │ │ │ │ └── VariantButton.test.ts.snap │ │ └── tests │ │ │ ├── run-related │ │ │ ├── actual-react-link.test.ts │ │ │ └── actual-react-story.test.ts │ │ │ └── run │ │ │ ├── actual-react-component.test.ts │ │ │ ├── actual-small.test.ts │ │ │ └── actual-typescript-component.test.ts │ └── tsconfig.json ├── loader │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── loader.d.ts │ ├── loader.js │ ├── package.json │ ├── plugin.js │ ├── rollup.config.js │ ├── src │ │ ├── index.ts │ │ ├── loader.ts │ │ ├── plugin.ts │ │ ├── replaceSource.ts │ │ ├── runtimeLoader.ts │ │ ├── store.ts │ │ └── typings.d.ts │ ├── store.js │ ├── story-store-data.js │ └── tsconfig.json ├── logger │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ └── index.ts │ └── tsconfig.json ├── render │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── json.d.ts │ ├── json.js │ ├── package.json │ ├── react.d.ts │ ├── react.js │ ├── rollup.config.js │ ├── src │ │ ├── compose.ts │ │ ├── index.ts │ │ ├── json.tsx │ │ └── react.tsx │ └── tsconfig.json ├── routes │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── index.ts │ │ ├── routes │ │ │ ├── docs-index-pages.ts │ │ │ ├── docs-pages.ts │ │ │ ├── index-page.ts │ │ │ └── index.ts │ │ └── sitemap │ │ │ ├── index.ts │ │ │ └── sitemap.ts │ ├── test │ │ ├── category-routes.test.ts │ │ └── docs-routes.test.ts │ └── tsconfig.json ├── store │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── controls-store.d.ts │ ├── controls-store.js │ ├── live_store.d.ts │ ├── live_store.js │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── index.ts │ │ ├── live_store.ts │ │ ├── serialization │ │ │ ├── BroadcastStore.ts │ │ │ ├── index.ts │ │ │ ├── load-store.ts │ │ │ └── store-local-storage.ts │ │ ├── state │ │ │ ├── context │ │ │ │ ├── StateRoot.tsx │ │ │ │ ├── categories.tsx │ │ │ │ ├── components.ts │ │ │ │ ├── controls.tsx │ │ │ │ ├── document.tsx │ │ │ │ ├── index.ts │ │ │ │ ├── store.tsx │ │ │ │ └── story.tsx │ │ │ ├── index.ts │ │ │ └── recoil │ │ │ │ ├── StateRoot.tsx │ │ │ │ ├── categories.ts │ │ │ │ ├── components.ts │ │ │ │ ├── controls.tsx │ │ │ │ ├── document.ts │ │ │ │ ├── index.ts │ │ │ │ ├── store.ts │ │ │ │ └── story.ts │ │ ├── static_store.ts │ │ └── typings.d.ts │ ├── static_store.d.ts │ ├── static_store.js │ └── tsconfig.json ├── webpack-compile │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── bin │ │ └── index.js │ ├── bundle.js │ ├── cli.d.ts │ ├── cli.js │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── args.ts │ │ ├── cli.ts │ │ ├── externals-config.ts │ │ ├── index.ts │ │ ├── resolve_externals.ts │ │ ├── typings.d.ts │ │ └── utilities.ts │ ├── tests │ │ ├── draft.test.ts │ │ ├── fixtures │ │ │ ├── components │ │ │ │ └── main.js │ │ │ ├── draft │ │ │ │ ├── buildtime.js │ │ │ │ └── mdx.stories.mdx │ │ │ └── main.js │ │ └── react-typescript.test.ts │ └── tsconfig.json └── webpack-configs │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ ├── index.ts │ ├── instrument │ │ └── index.ts │ ├── react-docgen-typescript │ │ └── index.ts │ ├── react-docgen │ │ └── index.ts │ ├── react │ │ └── index.ts │ └── typings.d.ts │ ├── tests │ ├── __snapshots__ │ │ ├── instrument.test.ts.snap │ │ └── react-typescript.test.ts.snap │ ├── instrument.test.ts │ ├── react-typescript.test.ts │ └── react.test.ts │ └── tsconfig.json ├── examples ├── gatsby │ ├── .config │ │ ├── buildtime.ts │ │ └── runtime.tsx │ ├── CHANGELOG.md │ ├── gatsby-config.js │ ├── package.json │ └── tsconfig.json ├── nextjs │ ├── .config │ │ ├── buildtime.js │ │ └── runtime.tsx │ ├── CHANGELOG.md │ ├── next-env.d.ts │ ├── next.config.js │ ├── package.json │ ├── pages │ │ ├── [doctype].tsx │ │ ├── [doctype] │ │ │ └── [...docid].tsx │ │ └── index.tsx │ └── tsconfig.json ├── react-webpack-5 │ ├── .babelrc │ ├── .config │ │ ├── buildtime.js │ │ └── runtime.tsx │ ├── CHANGELOG.md │ ├── package.json │ ├── src │ │ ├── App.tsx │ │ ├── _redirects │ │ ├── index.html │ │ └── index.tsx │ ├── tsconfig.json │ ├── webpack.dev.config.ts │ └── webpack.prod.config.ts ├── react-webpack │ ├── .config │ │ ├── buildtime.js │ │ └── runtime.tsx │ ├── CHANGELOG.md │ ├── package.json │ ├── src │ │ ├── App.tsx │ │ ├── index.html │ │ └── index.tsx │ ├── tsconfig.json │ ├── webpack.dev.config.js │ └── webpack.prod.config.js ├── simple │ ├── CHANGELOG.md │ ├── app │ │ ├── App.tsx │ │ ├── index.html │ │ └── index.tsx │ ├── docs │ │ ├── buildtime.js │ │ └── runtime.tsx │ ├── gatsby-config.js │ ├── next-env.d.ts │ ├── next.config.js │ ├── package.json │ ├── pages │ │ ├── [doctype].tsx │ │ ├── [doctype] │ │ │ └── [...docid].tsx │ │ └── index.tsx │ ├── src │ │ ├── Component.docs.tsx │ │ ├── Component.test.ts │ │ ├── __snapshots__ │ │ │ └── Component.test.ts.snap │ │ ├── component.tsx │ │ ├── styles.css │ │ └── typings.d.ts │ ├── tsconfig.json │ ├── webpack.dev.config.ts │ └── webpack.prod.config.ts ├── starter │ ├── .config │ │ ├── buildtime.js │ │ └── runtime.tsx │ ├── CHANGELOG.md │ ├── gatsby-config.js │ ├── next-env.d.ts │ ├── next.config.js │ ├── package.json │ ├── pages │ │ ├── root.tsx │ │ └── root │ │ │ ├── [doctype].tsx │ │ │ └── [doctype] │ │ │ └── [...docid].tsx │ ├── src │ │ ├── api │ │ │ └── sum │ │ │ │ ├── index.ts │ │ │ │ ├── sum.docs.ts │ │ │ │ └── sum.ts │ │ ├── components │ │ │ ├── Button │ │ │ │ ├── Button.docs.tsx │ │ │ │ ├── Button.tsx │ │ │ │ └── index.ts │ │ │ ├── Spinner │ │ │ │ ├── Spinner.docs.jsx │ │ │ │ ├── Spinner.js │ │ │ │ └── index.js │ │ │ └── external │ │ │ │ └── external-component.docs.tsx │ │ └── docs │ │ │ ├── first-blog.mdx │ │ │ ├── first-page.mdx │ │ │ └── first-story.mdx │ └── tsconfig.json └── stories │ ├── .config │ └── buildtime.js │ ├── CHANGELOG.md │ ├── package.json │ ├── src │ ├── authors │ │ ├── atanas_stoyanov.mdx │ │ └── martin_stoyanov.mdx │ ├── blogs │ │ ├── component-catalog.mdx │ │ ├── component-commits.mdx │ │ ├── component-stats.mdx │ │ ├── custom-docs-pages.mdx │ │ ├── custom-esm-pages.mdx │ │ ├── data-driven-testing.mdx │ │ ├── docz-migration.mdx │ │ ├── gatsby-nextjs-storybook.mdx │ │ ├── gatsby-nextjs-webpack.mdx │ │ ├── introduction-to-controls.mdx │ │ ├── media │ │ │ ├── component-assets.jpg │ │ │ ├── component-centric-ui.jpg │ │ │ ├── component-commits.jpg │ │ │ ├── component-controls-testing.jpg │ │ │ ├── component-test-error.jpg │ │ │ ├── component-tests.jpg │ │ │ ├── components-catalog.jpg │ │ │ ├── components-usage-blog.jpg │ │ │ ├── data-driven-change-data.jpg │ │ │ ├── data-driven-testing.jpg │ │ │ ├── docs-and-page.jpg │ │ │ ├── esm-custom-pages.jpg │ │ │ ├── gatsby-page.jpg │ │ │ ├── generate-random-data.jpg │ │ │ ├── jest-test-results.jpg │ │ │ ├── testing-page.jpg │ │ │ └── webpage-test.jpg │ │ ├── storybook-6-migration-gatsby-ssg.mdx │ │ ├── storybook-6-migration-nextjs-ssg.mdx │ │ ├── storybook-6-migration-storybook-ssg.mdx │ │ └── storybook-6-migration.mdx │ ├── catalogs │ │ ├── Meta.jsx │ │ ├── app.mdx │ │ ├── blocks.mdx │ │ ├── components.mdx │ │ ├── editors.mdx │ │ └── plugins.mdx │ ├── components │ │ ├── Button.tsx │ │ └── PropTypesButton.js │ ├── mdx-stories │ │ ├── mdx-stories.mdx │ │ ├── smart-controls.mdx │ │ └── template-bind.mdx │ ├── media │ │ └── controls.gif │ ├── pages │ │ ├── home-page.mdx │ │ └── media │ │ │ ├── cms.jpg │ │ │ ├── component-catalog-badge.jpg │ │ │ ├── configuration.jpg │ │ │ ├── controls.jpg │ │ │ ├── design-assets-badge.jpg │ │ │ ├── design-tokens.jpg │ │ │ ├── documentation.jpg │ │ │ ├── gatsby-logo.tsx │ │ │ ├── nextjs-logo.tsx │ │ │ ├── testing.jpg │ │ │ └── webpack-logo.tsx │ ├── sections │ │ └── transclusion.mdx │ ├── showcase │ │ ├── Showcase.tsx │ │ ├── atorybook-5-starter.mdx │ │ ├── atorybook-6-starter.mdx │ │ ├── component-controls-gatsby.mdx │ │ ├── component-controls-nextjs.mdx │ │ ├── component-controls-webpack-5.mdx │ │ ├── component-controls-webpack.mdx │ │ ├── docz-migration.mdx │ │ ├── gatsby-custom-pages.mdx │ │ ├── gatsby-starter.mdx │ │ ├── grommet-controls.mdx │ │ ├── media │ │ │ ├── component-controls-starter.jpg │ │ │ ├── component-copntrols-gatsby-site.jpg │ │ │ ├── custom-pages-site.jpg │ │ │ ├── docz-migration-site.jpg │ │ │ ├── grommet-controls-site.jpg │ │ │ ├── react-colorful-site.jpg │ │ │ ├── storybook-5-starter.jpg │ │ │ ├── storybook-6-starter.jpg │ │ │ ├── tailwind-starter.jpg │ │ │ ├── tailwind-storybook-starter.jpg │ │ │ └── theme-ui-design-system.jpg │ │ ├── nextjs-custom-pages.mdx │ │ ├── nextjs-starter.mdx │ │ ├── react-colorful.mdx │ │ ├── showcase-index.mdx │ │ ├── tailwind-gatsby-starter.mdx │ │ ├── tailwind-nextjs-starter.mdx │ │ ├── tailwind-storybook-starter.mdx │ │ ├── theme-ui-design-system.mdx │ │ ├── webpack-4-starter.mdx │ │ └── webpack-5-starter.mdx │ ├── stories │ │ ├── VariantButton │ │ │ ├── VariantButton.data.ts │ │ │ ├── VariantButton.stories.tsx │ │ │ ├── VariantButton.test.ts │ │ │ ├── VariantButton.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── VariantButton.test.ts.snap │ │ │ └── design-assets │ │ │ │ ├── design-img.jpg │ │ │ │ └── design-notes.md │ │ ├── controls-editors.stories.tsx │ │ ├── external │ │ │ ├── external-story-deconstructed-props.js │ │ │ ├── external-story-props.js │ │ │ └── external-story.js │ │ ├── smart-prop-type.stories.jsx │ │ ├── smart-typescript.stories.tsx │ │ ├── stories-async.stories.tsx │ │ ├── stories-esm.stories.tsx │ │ └── template-bind.stories.tsx │ ├── stories_native │ │ ├── dynamic-stories.stories.tsx │ │ └── template-doc.stories.tsx │ └── tutorial │ │ ├── configuration │ │ ├── buildtime.mdx │ │ ├── overview.mdx │ │ └── runtime.mdx │ │ ├── design │ │ ├── design-assets.mdx │ │ ├── media │ │ │ └── design-page-overview.jpg │ │ └── tokens │ │ │ ├── colors.mdx │ │ │ └── introduction.mdx │ │ ├── getting-started │ │ ├── documentation-site.mdx │ │ ├── external-libraries.mdx │ │ ├── media │ │ │ ├── external-component-no-setup.jpg │ │ │ ├── external-component-source.jpg │ │ │ ├── search-algolia.jpg │ │ │ ├── search-animated.gif │ │ │ └── seo-tags.jpg │ │ ├── search.mdx │ │ ├── seo.mdx │ │ ├── ssg │ │ │ ├── gatsby.mdx │ │ │ ├── nextjs.mdx │ │ │ ├── storybook.mdx │ │ │ └── webpack.mdx │ │ └── ui-customization.mdx │ │ ├── reference │ │ ├── cli-compiler.mdx │ │ ├── configuration.mdx │ │ ├── controls-api.mdx │ │ ├── controls.mdx │ │ ├── document.mdx │ │ ├── media │ │ │ ├── active-tab.jpg │ │ │ ├── doc-component.jpg │ │ │ ├── doc-context.jpg │ │ │ ├── doc-controls.jpg │ │ │ ├── doc-decorators.jpg │ │ │ ├── doc-description.jpg │ │ │ ├── doc-fullpage.jpg │ │ │ ├── doc-order.jpg │ │ │ ├── doc-route.jpg │ │ │ ├── doc-sidebar.jpg │ │ │ ├── doc-subcomponents.jpg │ │ │ ├── doc-tags.jpg │ │ │ ├── doc-title.jpg │ │ │ ├── story-description.jpg │ │ │ ├── story-name.jpg │ │ │ ├── story-smartcontrols.jpg │ │ │ ├── story-source.jpg │ │ │ └── story-subtitle.jpg │ │ ├── store.mdx │ │ └── story.mdx │ │ ├── testing │ │ ├── axe-plugin.mdx │ │ ├── jest-snapshots.mdx │ │ ├── media │ │ │ ├── ally-page.jpg │ │ │ └── viewport-page.jpg │ │ └── viewport-plugin.mdx │ │ └── write-documentation │ │ ├── esmodules-stories.mdx │ │ ├── mdx-documentation.mdx │ │ └── mdx-stories.mdx │ └── tsconfig.json ├── integrations ├── base-integration │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── components │ │ │ └── Layout.tsx │ │ ├── index.tsx │ │ └── webpack-build.ts │ ├── tsconfig.json │ ├── webpack-build.d.ts │ └── webpack-build.js ├── gatsby-theme-stories │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── gatsby-config.js │ ├── gatsby-node.js │ ├── gatsby-ssr.js │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── components │ │ │ ├── GatsbyLayout.tsx │ │ │ └── GatsbyLink.tsx │ │ ├── gatsby-config.ts │ │ ├── gatsby-node.ts │ │ ├── gatsby-ssr.tsx │ │ ├── index.ts │ │ ├── pages │ │ │ └── 404.tsx │ │ └── templates │ │ │ └── DocPage.tsx │ └── tsconfig.json ├── nextjs-plugin │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── build.js │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── build.ts │ │ ├── component-controls.ts │ │ ├── components │ │ │ ├── NextLayout.tsx │ │ │ └── NextLink.tsx │ │ ├── index.tsx │ │ ├── page-links.ts │ │ └── store.ts │ ├── store.js │ └── tsconfig.json └── react-router-integration │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ ├── components │ │ └── ReactRouterLink.tsx │ ├── index.tsx │ ├── webpack-build.ts │ └── webpack-plugin │ │ └── plugin.ts │ ├── tsconfig.json │ ├── webpack-build.d.ts │ └── webpack-build.js ├── lerna.json ├── misc ├── follow-imports │ ├── .babelrc │ ├── .eslintignore │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── ast_store.ts │ │ ├── consts.ts │ │ ├── extract-exports.ts │ │ ├── extract-imports.ts │ │ ├── index.ts │ │ ├── source-location.ts │ │ └── source.ts │ ├── test │ │ ├── cjs-imports.test.ts │ │ ├── default-exports.test.ts │ │ ├── extract-exports.test.ts │ │ ├── extract-imports.test.ts │ │ ├── fixtures │ │ │ ├── class-interface-props-cjs.d.ts │ │ │ ├── class-interface-props-cjs.jsx │ │ │ ├── class-interface-props.tsx │ │ │ ├── default-import-re-export.tsx │ │ │ ├── default-import.tsx │ │ │ ├── exports │ │ │ │ ├── button-default-class-export.js │ │ │ │ ├── button-default-class.js │ │ │ │ ├── button-named-class-export.js │ │ │ │ ├── button-named-class.js │ │ │ │ ├── cjs-named-export.js │ │ │ │ ├── export-all-from.js │ │ │ │ ├── export-from-alias.js │ │ │ │ ├── export-from.js │ │ │ │ ├── named-const-export.js │ │ │ │ ├── named-export-alias.js │ │ │ │ ├── named-export.js │ │ │ │ ├── re-exported-name.js │ │ │ │ └── theme-ui-style.ts │ │ │ ├── follow-imports │ │ │ │ ├── button-default-export.js │ │ │ │ ├── button-from-node-nodules.js │ │ │ │ ├── button-named-export.js │ │ │ │ ├── cjs-import.js │ │ │ │ ├── cjs-named-export.js │ │ │ │ ├── direct-import.js │ │ │ │ ├── export-all.js │ │ │ │ ├── import-node-modules.js │ │ │ │ ├── index.js │ │ │ │ ├── one-level-default-import.js │ │ │ │ ├── one-level-import.js │ │ │ │ ├── one-level-index-import.js │ │ │ │ └── one-level-namespace-import.js │ │ │ ├── import-types-cjs.tsx │ │ │ ├── import-types.tsx │ │ │ ├── imports │ │ │ │ ├── all-imports.js │ │ │ │ ├── default-import.js │ │ │ │ ├── mixed-import.js │ │ │ │ ├── named-alias-import.js │ │ │ │ ├── named-import.js │ │ │ │ └── namespace-import.js │ │ │ ├── re-import-types-cjs.tsx │ │ │ ├── re-import-types.tsx │ │ │ ├── re-re-import-types-cjs.tsx │ │ │ ├── re-re-import-types.tsx │ │ │ ├── react-types.tsx │ │ │ └── reverse-variable.js │ │ ├── follow-imports-custom.test.ts │ │ ├── follow-imports-fixtures.test.ts │ │ ├── module-imports.test.ts │ │ ├── react-types.test.ts │ │ └── reverse-variable.test.ts │ └── tsconfig.json └── jest-axe-matcher │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ ├── index.ts │ ├── matchers.ts │ ├── toHaveNoAxeInapplicable.ts │ ├── toHaveNoAxeIncomplete.ts │ ├── toHaveNoAxePasses.ts │ ├── toHaveNoAxeViolations.ts │ └── utils.ts │ └── tsconfig.json ├── package.json ├── plugins ├── addon-catalog │ ├── .config │ │ └── buildtime.js │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── Catalog │ │ │ ├── Catalog.stories.tsx │ │ │ ├── Catalog.test.ts │ │ │ ├── Catalog.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Catalog.test.ts.snap │ │ │ └── index.ts │ │ ├── ComponentCard │ │ │ ├── ComponentCard.stories.tsx │ │ │ ├── ComponentCard.test.ts │ │ │ ├── ComponentCard.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentCard.test.ts.snap │ │ │ └── index.ts │ │ ├── ComponentFilter │ │ │ ├── ComponentFilter.stories.tsx │ │ │ ├── ComponentFilter.test.ts │ │ │ ├── ComponentFilter.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentFilter.test.ts.snap │ │ │ └── index.ts │ │ ├── ComponentList │ │ │ ├── ComponentList.stories.tsx │ │ │ ├── ComponentList.test.ts │ │ │ ├── ComponentList.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentList.test.ts.snap │ │ │ └── index.ts │ │ ├── ComponentsCatalog │ │ │ ├── ComponentsCatalog.stories.tsx │ │ │ ├── ComponentsCatalog.test.ts │ │ │ ├── ComponentsCatalog.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentsCatalog.test.ts.snap │ │ │ └── index.ts │ │ ├── context │ │ │ ├── ComponentCatalogContext.tsx │ │ │ └── index.ts │ │ └── index.ts │ └── tsconfig.json ├── addon-images │ ├── .config │ │ └── buildtime.js │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── ImagesPage.d.ts │ ├── ImagesPage.js │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── ImagesBlock │ │ │ ├── ImagesBlock.stories.tsx │ │ │ ├── ImagesBlock.test.ts │ │ │ ├── ImagesBlock.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ImagesBlock.test.ts.snap │ │ │ ├── example_image.jpg │ │ │ └── index.ts │ │ ├── ImagesPage │ │ │ └── ImagesPage.tsx │ │ ├── index.ts │ │ └── typings.d.ts │ └── tsconfig.json ├── addon-notes │ ├── .config │ │ └── buildtime.js │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── NotesPage.d.ts │ ├── NotesPage.js │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── NotesBlock │ │ │ ├── NotesBlock.stories.tsx │ │ │ ├── NotesBlock.test.ts │ │ │ ├── NotesBlock.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── NotesBlock.test.ts.snap │ │ │ ├── index.ts │ │ │ └── notes.md │ │ ├── NotesPage │ │ │ └── NotesPage.tsx │ │ ├── index.ts │ │ └── typoings.d.ts │ └── tsconfig.json ├── addon-stats │ ├── .config │ │ └── buildtime.js │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── api │ │ │ ├── components.ts │ │ │ └── index.ts │ │ ├── hooks │ │ │ ├── components.ts │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── types.ts │ │ └── ui │ │ │ ├── AttributeUsage │ │ │ ├── AttributeUsage.stories.tsx │ │ │ ├── AttributeUsage.test.ts │ │ │ ├── AttributeUsage.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── AttributeUsage.test.ts.snap │ │ │ └── index.ts │ │ │ ├── AttributesUsageDetails │ │ │ ├── AttributesUsageDetails.stories.tsx │ │ │ ├── AttributesUsageDetails.test.ts │ │ │ ├── AttributesUsageDetails.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── AttributesUsageDetails.test.ts.snap │ │ │ └── index.ts │ │ │ ├── AttributesUsageList │ │ │ ├── AttributesUsageList.stories.tsx │ │ │ ├── AttributesUsageList.test.ts │ │ │ ├── AttributesUsageList.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── AttributesUsageList.test.ts.snap │ │ │ └── index.ts │ │ │ ├── ComponentUsage │ │ │ ├── ComponentUsage.stories.tsx │ │ │ ├── ComponentUsage.test.ts │ │ │ ├── ComponentUsage.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentUsage.test.ts.snap │ │ │ └── index.ts │ │ │ ├── ComponentUsageDetails │ │ │ ├── ComponentUsageDetails.stories.tsx │ │ │ ├── ComponentUsageDetails.test.ts │ │ │ ├── ComponentUsageDetails.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentUsageDetails.test.ts.snap │ │ │ └── index.ts │ │ │ ├── ComponentUsageList │ │ │ ├── ComponentUsageList.stories.tsx │ │ │ ├── ComponentUsageList.test.ts │ │ │ ├── ComponentUsageList.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentUsageList.test.ts.snap │ │ │ └── index.ts │ │ │ └── index.ts │ └── tsconfig.json ├── axe-plugin │ ├── .config │ │ └── buildtime.js │ ├── .eslintignore │ ├── AllyPage.d.ts │ ├── AllyPage.js │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── images │ │ └── axe-ally-testing.gif │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── AllyBlock │ │ │ ├── AllyBlock.stories.tsx │ │ │ ├── AllyBlock.test.ts │ │ │ ├── AllyBlock.tsx │ │ │ ├── BaseAllyBlock.tsx │ │ │ ├── HighlightSelector.tsx │ │ │ ├── NodesTable.tsx │ │ │ ├── ResultsTable.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── AllyBlock.test.ts.snap │ │ │ └── index.ts │ │ ├── AllyPage │ │ │ └── AllyPage.tsx │ │ ├── index.tsx │ │ └── state │ │ │ ├── context.tsx │ │ │ └── recoil.tsx │ └── tsconfig.json ├── cc-cli │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── bin │ │ └── index.js │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── cli │ │ │ ├── args.ts │ │ │ ├── cli-store.ts │ │ │ ├── cli-story.ts │ │ │ ├── cli.ts │ │ │ ├── save-data-template.ts │ │ │ ├── save-test-template.ts │ │ │ └── utils.ts │ │ ├── data-templates │ │ │ └── data-template.ts │ │ ├── index.ts │ │ ├── jest-templates │ │ │ ├── accessibily.ts │ │ │ ├── document-template.ts │ │ │ ├── store-template.ts │ │ │ ├── stories-template.ts │ │ │ └── template.ts │ │ ├── resolve-template.ts │ │ ├── store.ts │ │ └── utils.ts │ ├── templates │ │ ├── accessibility │ │ │ ├── import │ │ │ │ ├── import.cjs.js │ │ │ │ ├── import.esm.js │ │ │ │ └── import.ts.js │ │ │ └── test │ │ │ │ ├── test.cjs.js │ │ │ │ └── test.ts.js │ │ ├── data-include │ │ │ ├── import.cjs.js │ │ │ └── import.esm.js │ │ ├── data-templates │ │ │ ├── data.cjs.js │ │ │ └── data.esm.js │ │ ├── document │ │ │ ├── import │ │ │ │ ├── bundle.cjs.js │ │ │ │ ├── bundle.esm.js │ │ │ │ ├── imports.cjs.js │ │ │ │ └── imports.esm.js │ │ │ └── loop │ │ │ │ ├── bundle-enzyme-react-17.js │ │ │ │ ├── bundle-react-test-renderer.js │ │ │ │ ├── bundle-react-testing-library.js │ │ │ │ ├── imports-enzyme-react-17.js │ │ │ │ ├── imports-react-test-renderer.js │ │ │ │ └── imports-react-testing-library.js │ │ ├── framework-render │ │ │ ├── enzyme-react-17.cjs.js │ │ │ ├── react-test-renderer.cjs.js │ │ │ ├── react-test-renderer.ts.js │ │ │ ├── react-testing-library.cjs.js │ │ │ └── react-testing-library.ts.js │ │ ├── imports │ │ │ ├── enzyme-react-17.cjs.js │ │ │ ├── enzyme-react-17.esm.js │ │ │ ├── react-test-renderer.cjs.js │ │ │ ├── react-test-renderer.esm.js │ │ │ ├── react-testing-library.cjs.js │ │ │ └── react-testing-library.esm.js │ │ ├── load │ │ │ ├── bundle.js │ │ │ └── imports.js │ │ ├── store │ │ │ ├── import │ │ │ │ ├── bundle.cjs.js │ │ │ │ ├── bundle.esm.js │ │ │ │ ├── imports.cjs.js │ │ │ │ └── imports.esm.js │ │ │ ├── loop │ │ │ │ ├── bundle.cjs.js │ │ │ │ ├── imports.cjs.js │ │ │ │ └── imports.ts.js │ │ │ └── render │ │ │ │ ├── bundle.js │ │ │ │ └── imports.js │ │ ├── story │ │ │ ├── import │ │ │ │ ├── bundle.cjs.js │ │ │ │ ├── bundle.esm.js │ │ │ │ ├── imports.cjs.js │ │ │ │ └── imports.esm.js │ │ │ └── render │ │ │ │ ├── bundle.js │ │ │ │ └── imports.js │ │ └── top-imports │ │ │ ├── imports.cjs.js │ │ │ └── imports.esm.js │ ├── test │ │ ├── .config │ │ │ └── buildtime.js │ │ ├── VariantButton.test.ts │ │ ├── VariantButton_enzyme.test.ts │ │ ├── VariantButton_enzyme_doc.test.ts │ │ ├── VariantButton_rtl.test.ts │ │ ├── VariantButton_rtl_doc.test.ts │ │ ├── VariantButton_rtr.test.ts │ │ ├── VariantButton_rtr_doc.test.ts │ │ ├── __snapshots__ │ │ │ ├── VariantButton.test.ts.snap │ │ │ ├── VariantButton_enzyme.test.ts.snap │ │ │ ├── VariantButton_enzyme_doc.test.ts.snap │ │ │ ├── VariantButton_rtl.test.ts.snap │ │ │ ├── VariantButton_rtl_doc.test.ts.snap │ │ │ ├── VariantButton_rtr.test.ts.snap │ │ │ ├── VariantButton_rtr_doc.test.ts.snap │ │ │ ├── cli-document-data.test.ts.snap │ │ │ ├── cli-document.test.ts.snap │ │ │ ├── cli-store.test.ts.snap │ │ │ ├── cli-story-data.test.ts.snap │ │ │ ├── cli-story.test.ts.snap │ │ │ ├── data-template-bundle.test.ts.snap │ │ │ ├── data-template-import.test.ts.snap │ │ │ ├── document-enzyme-bundle-cjs-data.test.ts.snap │ │ │ ├── document-enzyme-bundle-cjs.test.ts.snap │ │ │ ├── document-enzyme-bundle-esm-data.test.ts.snap │ │ │ ├── document-enzyme-bundle-esm.test.ts.snap │ │ │ ├── document-enzyme-bundle-ts-data.test.ts.snap │ │ │ ├── document-enzyme-bundle-ts.test.ts.snap │ │ │ ├── document-enzyme-cjs-data.test.ts.snap │ │ │ ├── document-enzyme-cjs.test.ts.snap │ │ │ ├── document-enzyme-esm-data.test.ts.snap │ │ │ ├── document-enzyme-esm.test.ts.snap │ │ │ ├── document-enzyme-ts-data.test.ts.snap │ │ │ ├── document-enzyme-ts.test.ts.snap │ │ │ ├── document-rtl-bundle-cjs-data.test.ts.snap │ │ │ ├── document-rtl-bundle-cjs.test.ts.snap │ │ │ ├── document-rtl-bundle-esm-data.test.ts.snap │ │ │ ├── document-rtl-bundle-esm.test.ts.snap │ │ │ ├── document-rtl-bundle-ts-data.test.ts.snap │ │ │ ├── document-rtl-bundle-ts.test.ts.snap │ │ │ ├── document-rtl-cjs-data.test.ts.snap │ │ │ ├── document-rtl-cjs.test.ts.snap │ │ │ ├── document-rtl-esm-data.test.ts.snap │ │ │ ├── document-rtl-esm.test.ts.snap │ │ │ ├── document-rtl-ts-data.test.ts.snap │ │ │ ├── document-rtl-ts.test.ts.snap │ │ │ ├── document-rtr-bundle-cjs-data.test.ts.snap │ │ │ ├── document-rtr-bundle-cjs.test.ts.snap │ │ │ ├── document-rtr-bundle-esm-data.test.ts.snap │ │ │ ├── document-rtr-bundle-esm.test.ts.snap │ │ │ ├── document-rtr-bundle-ts-data.test.ts.snap │ │ │ ├── document-rtr-bundle-ts.test.ts.snap │ │ │ ├── document-rtr-cjs-data.test.ts.snap │ │ │ ├── document-rtr-cjs.test.ts.snap │ │ │ ├── document-rtr-esm-data.test.ts.snap │ │ │ ├── document-rtr-esm.test.ts.snap │ │ │ ├── document-rtr-ts-data.test.ts.snap │ │ │ ├── document-rtr-ts.test.ts.snap │ │ │ ├── dot.test.ts.snap │ │ │ ├── store-enzyme-bundle-cjs.test.ts.snap │ │ │ ├── store-enzyme-bundle-esm.test.ts.snap │ │ │ ├── store-enzyme-bundle-ts.test.ts.snap │ │ │ ├── store-enzyme-cjs.test.ts.snap │ │ │ ├── store-enzyme-esm.test.ts.snap │ │ │ ├── store-enzyme-ts.test.ts.snap │ │ │ ├── store-rtl-bundle-cjs.test.ts.snap │ │ │ ├── store-rtl-bundle-esm.test.ts.snap │ │ │ ├── store-rtl-bundle-ts.test.ts.snap │ │ │ ├── store-rtl-cjs.test.ts.snap │ │ │ ├── store-rtl-esm.test.ts.snap │ │ │ ├── store-rtl-ts.test.ts.snap │ │ │ ├── store-rtr-bundle-cjs.test.ts.snap │ │ │ ├── store-rtr-bundle-esm.test.ts.snap │ │ │ ├── store-rtr-bundle-ts.test.ts.snap │ │ │ ├── store-rtr-cjs.test.ts.snap │ │ │ ├── store-rtr-esm.test.ts.snap │ │ │ ├── store-rtr-ts.test.ts.snap │ │ │ ├── story-enzyme-bundle-cjs-data.test.ts.snap │ │ │ ├── story-enzyme-bundle-cjs.test.ts.snap │ │ │ ├── story-enzyme-bundle-esm-data.test.ts.snap │ │ │ ├── story-enzyme-bundle-esm.test.ts.snap │ │ │ ├── story-enzyme-bundle-ts-data.test.ts.snap │ │ │ ├── story-enzyme-bundle-ts.test.ts.snap │ │ │ ├── story-enzyme-cjs-data.test.ts.snap │ │ │ ├── story-enzyme-cjs.test.ts.snap │ │ │ ├── story-enzyme-esm-data.test.ts.snap │ │ │ ├── story-enzyme-esm.test.ts.snap │ │ │ ├── story-enzyme-ts-data.test.ts.snap │ │ │ ├── story-enzyme-ts.test.ts.snap │ │ │ ├── story-rtl-bundle-cjs-data.test.ts.snap │ │ │ ├── story-rtl-bundle-cjs.test.ts.snap │ │ │ ├── story-rtl-bundle-esm-data.test.ts.snap │ │ │ ├── story-rtl-bundle-esm.test.ts.snap │ │ │ ├── story-rtl-bundle-ts-data.test.ts.snap │ │ │ ├── story-rtl-bundle-ts.test.ts.snap │ │ │ ├── story-rtl-cjs-data.test.ts.snap │ │ │ ├── story-rtl-cjs.test.ts.snap │ │ │ ├── story-rtl-esm-data.test.ts.snap │ │ │ ├── story-rtl-esm.test.ts.snap │ │ │ ├── story-rtl-ts-data.test.ts.snap │ │ │ ├── story-rtl-ts.test.ts.snap │ │ │ ├── story-rtr-bundle-cjs-data.test.ts.snap │ │ │ ├── story-rtr-bundle-cjs.test.ts.snap │ │ │ ├── story-rtr-bundle-esm-data.test.ts.snap │ │ │ ├── story-rtr-bundle-esm.test.ts.snap │ │ │ ├── story-rtr-bundle-ts-data.test.ts.snap │ │ │ ├── story-rtr-bundle-ts.test.ts.snap │ │ │ ├── story-rtr-cjs-data.test.ts.snap │ │ │ ├── story-rtr-cjs.test.ts.snap │ │ │ ├── story-rtr-esm-data.test.ts.snap │ │ │ ├── story-rtr-esm.test.ts.snap │ │ │ ├── story-rtr-ts-data.test.ts.snap │ │ │ └── story-rtr-ts.test.ts.snap │ │ ├── bundle │ │ │ └── component-controls.js │ │ ├── cli-document-data.test.ts │ │ ├── cli-document.test.ts │ │ ├── cli-store.test.ts │ │ ├── cli-story-data.test.ts │ │ ├── cli-story.test.ts │ │ ├── data-template-bundle.test.ts │ │ ├── data-template-import-existing.test.ts │ │ ├── data-template-import.test.ts │ │ ├── document-enzyme-bundle-cjs-data.test.ts │ │ ├── document-enzyme-bundle-cjs.test.ts │ │ ├── document-enzyme-bundle-esm-data.test.ts │ │ ├── document-enzyme-bundle-esm.test.ts │ │ ├── document-enzyme-bundle-ts-data.test.ts │ │ ├── document-enzyme-bundle-ts.test.ts │ │ ├── document-enzyme-cjs-data.test.ts │ │ ├── document-enzyme-cjs.test.ts │ │ ├── document-enzyme-esm-data.test.ts │ │ ├── document-enzyme-esm.test.ts │ │ ├── document-enzyme-ts-data.test.ts │ │ ├── document-enzyme-ts.test.ts │ │ ├── document-rtl-bundle-cjs-data.test.ts │ │ ├── document-rtl-bundle-cjs.test.ts │ │ ├── document-rtl-bundle-esm-data.test.ts │ │ ├── document-rtl-bundle-esm.test.ts │ │ ├── document-rtl-bundle-ts-data.test.ts │ │ ├── document-rtl-bundle-ts.test.ts │ │ ├── document-rtl-cjs-data.test.ts │ │ ├── document-rtl-cjs.test.ts │ │ ├── document-rtl-esm-data.test.ts │ │ ├── document-rtl-esm.test.ts │ │ ├── document-rtl-ts-data.test.ts │ │ ├── document-rtl-ts.test.ts │ │ ├── document-rtr-bundle-cjs-data.test.ts │ │ ├── document-rtr-bundle-cjs.test.ts │ │ ├── document-rtr-bundle-esm-data.test.ts │ │ ├── document-rtr-bundle-esm.test.ts │ │ ├── document-rtr-bundle-ts-data.test.ts │ │ ├── document-rtr-bundle-ts.test.ts │ │ ├── document-rtr-cjs-data.test.ts │ │ ├── document-rtr-cjs.test.ts │ │ ├── document-rtr-esm-data.test.ts │ │ ├── document-rtr-esm.test.ts │ │ ├── document-rtr-ts-data.test.ts │ │ ├── document-rtr-ts.test.ts │ │ ├── dot.test.ts │ │ ├── fixtures │ │ │ ├── VariantButton.docs.tsx │ │ │ └── VariantButton.tsx │ │ ├── run-cli-tests.ts │ │ ├── run-document-tests.ts │ │ ├── run-store-tests.ts │ │ ├── run-story-tests.ts │ │ ├── store-enzyme-bundle-cjs.test.ts │ │ ├── store-enzyme-bundle-esm.test.ts │ │ ├── store-enzyme-bundle-ts.test.ts │ │ ├── store-enzyme-cjs.test.ts │ │ ├── store-enzyme-esm.test.ts │ │ ├── store-enzyme-ts.test.ts │ │ ├── store-rtl-bundle-cjs.test.ts │ │ ├── store-rtl-bundle-esm.test.ts │ │ ├── store-rtl-bundle-ts.test.ts │ │ ├── store-rtl-cjs.test.ts │ │ ├── store-rtl-esm.test.ts │ │ ├── store-rtl-ts.test.ts │ │ ├── store-rtr-bundle-cjs.test.ts │ │ ├── store-rtr-bundle-esm.test.ts │ │ ├── store-rtr-bundle-ts.test.ts │ │ ├── store-rtr-cjs.test.ts │ │ ├── store-rtr-esm.test.ts │ │ ├── store-rtr-ts.test.ts │ │ ├── story-enzyme-bundle-cjs-data.test.ts │ │ ├── story-enzyme-bundle-cjs.test.ts │ │ ├── story-enzyme-bundle-esm-data.test.ts │ │ ├── story-enzyme-bundle-esm.test.ts │ │ ├── story-enzyme-bundle-ts-data.test.ts │ │ ├── story-enzyme-bundle-ts.test.ts │ │ ├── story-enzyme-cjs-data.test.ts │ │ ├── story-enzyme-cjs.test.ts │ │ ├── story-enzyme-esm-data.test.ts │ │ ├── story-enzyme-esm.test.ts │ │ ├── story-enzyme-ts-data.test.ts │ │ ├── story-enzyme-ts.test.ts │ │ ├── story-rtl-bundle-cjs-data.test.ts │ │ ├── story-rtl-bundle-cjs.test.ts │ │ ├── story-rtl-bundle-esm-data.test.ts │ │ ├── story-rtl-bundle-esm.test.ts │ │ ├── story-rtl-bundle-ts-data.test.ts │ │ ├── story-rtl-bundle-ts.test.ts │ │ ├── story-rtl-cjs-data.test.ts │ │ ├── story-rtl-cjs.test.ts │ │ ├── story-rtl-esm-data.test.ts │ │ ├── story-rtl-esm.test.ts │ │ ├── story-rtl-ts-data.test.ts │ │ ├── story-rtl-ts.test.ts │ │ ├── story-rtr-bundle-cjs-data.test.ts │ │ ├── story-rtr-bundle-cjs.test.ts │ │ ├── story-rtr-bundle-esm-data.test.ts │ │ ├── story-rtr-bundle-esm.test.ts │ │ ├── story-rtr-bundle-ts-data.test.ts │ │ ├── story-rtr-bundle-ts.test.ts │ │ ├── story-rtr-cjs-data.test.ts │ │ ├── story-rtr-cjs.test.ts │ │ ├── story-rtr-esm-data.test.ts │ │ ├── story-rtr-esm.test.ts │ │ ├── story-rtr-ts-data.test.ts │ │ └── story-rtr-ts.test.ts │ └── tsconfig.json ├── figma-embed │ ├── .config │ │ └── buildtime.js │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── FigmaEmbedPage.d.ts │ ├── FigmaEmbedPage.js │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── FigmaEmbedBlock │ │ │ ├── FigmaEmbedBlock.stories.tsx │ │ │ ├── FigmaEmbedBlock.test.ts │ │ │ ├── FigmaEmbedBlock.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── FigmaEmbedBlock.test.ts.snap │ │ │ └── index.ts │ │ ├── FigmaEmbedPage │ │ │ └── FigmaEmbedPage.tsx │ │ └── index.ts │ └── tsconfig.json ├── test-renderers │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── index.ts │ │ ├── react-run-dom.ts │ │ ├── render-document.ts │ │ └── render-example.ts │ ├── test │ │ ├── __snapshots__ │ │ │ ├── enzyme-story.test.tsx.snap │ │ │ ├── enzyme.test.tsx.snap │ │ │ ├── rtl-story.test.tsx.snap │ │ │ ├── rtl.test.tsx.snap │ │ │ ├── rtr-story.test.tsx.snap │ │ │ └── rtr.test.tsx.snap │ │ ├── enzyme-story.test.tsx │ │ ├── enzyme.test.tsx │ │ ├── fixtures │ │ │ ├── .config │ │ │ │ ├── buildtime.js │ │ │ │ └── runtime.tsx │ │ │ ├── VariantButton.docs.tsx │ │ │ └── VariantButton.tsx │ │ ├── react-run-dom.test.tsx │ │ ├── rtl-story.test.tsx │ │ ├── rtl.test.tsx │ │ ├── rtr-story.test.tsx │ │ └── rtr.test.tsx │ └── tsconfig.json └── viewport-plugin │ ├── .config │ └── buildtime.js │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── ViewportPage.d.ts │ ├── ViewportPage.js │ ├── package.json │ ├── rollup.config.js │ ├── src │ ├── ViewportBlock │ │ ├── ViewportBlock.stories.tsx │ │ ├── ViewportBlock.test.ts │ │ ├── ViewportBlock.tsx │ │ ├── ViewportBox.tsx │ │ ├── __snapshots__ │ │ │ └── ViewportBlock.test.ts.snap │ │ └── index.ts │ ├── ViewportPage │ │ └── ViewportPage.tsx │ ├── index.ts │ └── setupTests.ts │ └── tsconfig.json ├── props-info ├── react-docgen-typescript │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── defaults.ts │ │ ├── index.ts │ │ ├── react-docgen-typescript.ts │ │ ├── transform-props.ts │ │ ├── types.ts │ │ └── typings.d.ts │ ├── test │ │ ├── __snapshots__ │ │ │ ├── extends.test.ts.snap │ │ │ ├── full.test.ts.snap │ │ │ ├── imports.test.ts.snap │ │ │ ├── jsx.test.ts.snap │ │ │ └── other.test.ts.snap │ │ ├── extends.test.ts │ │ ├── fixtures │ │ │ ├── extends │ │ │ │ └── button.tsx │ │ │ ├── full │ │ │ │ └── typescript.tsx │ │ │ ├── jsx │ │ │ │ └── jsx-intrinsic.tsx │ │ │ └── other │ │ │ │ └── multiple-exports.tsx │ │ ├── full.test.ts │ │ ├── imports.test.ts │ │ ├── jsx.test.ts │ │ ├── loadTestFiles.ts │ │ ├── other.test.ts │ │ └── typescript.tsx │ └── tsconfig.json └── react-docgen │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ ├── index.ts │ ├── react-docgen.ts │ ├── transform-props.ts │ ├── types.ts │ └── typings.d.ts │ ├── test │ ├── __snapshots__ │ │ ├── flow-type.test.ts.snap │ │ ├── jsx.test.ts.snap │ │ ├── prop-types.test.ts.snap │ │ └── typescript.test.ts.snap │ ├── fixtures │ │ ├── flow-type │ │ │ └── flow-type.js │ │ ├── jsx │ │ │ └── jsx-intrinsic.tsx │ │ ├── prop-types │ │ │ └── prop-types.js │ │ └── typescript │ │ │ └── full.tsx │ ├── flow-type.test.ts │ ├── jsx.test.ts │ ├── loadTestFiles.ts │ ├── prop-types.test.ts │ └── typescript.test.ts │ └── tsconfig.json ├── rollup-config.js ├── search ├── algolia │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── indexing.d.ts │ ├── indexing.js │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── index.ts │ │ ├── indexing.ts │ │ ├── types.ts │ │ └── useSearch.tsx │ └── tsconfig.json └── fusejs │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── indexing.d.ts │ ├── indexing.js │ ├── package.json │ ├── rollup.config.js │ ├── src │ ├── index.ts │ ├── indexing.ts │ ├── types.ts │ └── useSearch.tsx │ └── tsconfig.json ├── tsconfig.json ├── ui ├── app │ ├── .config │ │ └── buildtime.js │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── App │ │ │ ├── App.stories.tsx │ │ │ ├── App.test.ts │ │ │ ├── App.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── App.test.ts.snap │ │ │ ├── index.ts │ │ │ └── useAnalytics.tsx │ │ ├── AppContext │ │ │ ├── AppContext.tsx │ │ │ ├── index.ts │ │ │ └── mdxComponents.tsx │ │ ├── AppError │ │ │ ├── AppError.data.ts │ │ │ ├── AppError.stories.tsx │ │ │ ├── AppError.test.ts │ │ │ ├── AppError.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── AppError.test.ts.snap │ │ │ └── index.ts │ │ ├── CategoryList │ │ │ ├── CategoryList.stories.tsx │ │ │ ├── CategoryList.test.ts │ │ │ ├── CategoryList.tsx │ │ │ ├── CategoryListItem.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── CategoryList.test.ts.snap │ │ │ └── index.ts │ │ ├── CategoryPage │ │ │ ├── CategoryPage.stories.tsx │ │ │ ├── CategoryPage.test.ts │ │ │ ├── CategoryPage.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── CategoryPage.test.ts.snap │ │ │ └── index.ts │ │ ├── Container │ │ │ ├── Container.stories.tsx │ │ │ ├── Container.test.ts │ │ │ ├── Container.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Container.test.ts.snap │ │ │ └── index.ts │ │ ├── DocPage │ │ │ ├── DocPage.stories.tsx │ │ │ ├── DocPage.test.ts │ │ │ ├── DocPage.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── DocPage.test.ts.snap │ │ │ └── index.ts │ │ ├── DocumentHomePage │ │ │ ├── DocumentHomePage.stories.tsx │ │ │ ├── DocumentHomePage.test.ts │ │ │ ├── DocumentHomePage.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── DocumentHomePage.test.ts.snap │ │ │ └── index.ts │ │ ├── DocumentsList │ │ │ ├── DocumentsList.stories.tsx │ │ │ ├── DocumentsList.test.ts │ │ │ ├── DocumentsList.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── DocumentsList.test.ts.snap │ │ │ └── index.ts │ │ ├── Footer │ │ │ ├── Footer.stories.tsx │ │ │ ├── Footer.test.ts │ │ │ ├── Footer.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Footer.test.ts.snap │ │ │ └── index.ts │ │ ├── Header │ │ │ ├── Header.stories.tsx │ │ │ ├── Header.test.ts │ │ │ ├── Header.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Header.test.ts.snap │ │ │ ├── index.ts │ │ │ └── media │ │ │ │ └── logo.png │ │ ├── Links │ │ │ ├── DocLink.tsx │ │ │ ├── DocsLink.tsx │ │ │ ├── StoryLink.tsx │ │ │ └── index.ts │ │ ├── PageContainer │ │ │ ├── PageContainer.tsx │ │ │ └── index.ts │ │ ├── SEO │ │ │ ├── SEO.tsx │ │ │ ├── defaultLinks.ts │ │ │ ├── index.ts │ │ │ └── media │ │ │ │ ├── android-chrome-192x192.png │ │ │ │ ├── android-chrome-512x512.png │ │ │ │ ├── apple-touch-icon.png │ │ │ │ ├── browserconfig.xml │ │ │ │ ├── favicon-16x16.png │ │ │ │ ├── favicon-32x32.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── mstile-150x150.png │ │ │ │ ├── safari-pinned-tab.svg │ │ │ │ └── site.webmanifest │ │ ├── SideContext │ │ │ ├── SideContext.tsx │ │ │ └── index.ts │ │ ├── Sidebar │ │ │ ├── Sidebar.stories.tsx │ │ │ ├── Sidebar.test.ts │ │ │ ├── Sidebar.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Sidebar.test.ts.snap │ │ │ └── index.ts │ │ ├── SidebarsPage │ │ │ ├── SidebarsMDXPage.tsx │ │ │ ├── SidebarsPage.stories.tsx │ │ │ ├── SidebarsPage.test.ts │ │ │ ├── SidebarsPage.tsx │ │ │ ├── SidebarsStoryPage.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── SidebarsPage.test.ts.snap │ │ │ ├── docToVariant.ts │ │ │ └── index.ts │ │ ├── index.ts │ │ └── typings.d.ts │ └── tsconfig.json ├── blocks │ ├── .config │ │ └── buildtime.js │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── BlockContainer │ │ │ ├── components │ │ │ │ ├── ComponentsBlockContainer.tsx │ │ │ │ ├── ComponentsContainer.tsx │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── story │ │ │ │ ├── StoryBlockContainer.tsx │ │ │ │ └── index.ts │ │ ├── CommitsPopover │ │ │ ├── CommitsPopover.stories.tsx │ │ │ ├── CommitsPopover.test.ts │ │ │ ├── CommitsPopover.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── CommitsPopover.test.ts.snap │ │ │ └── index.ts │ │ ├── ComponentCommits │ │ │ ├── BaseComponentCommits.tsx │ │ │ ├── ComponentCommits.data.ts │ │ │ ├── ComponentCommits.stories.tsx │ │ │ ├── ComponentCommits.test.ts │ │ │ ├── ComponentCommits.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentCommits.test.ts.snap │ │ │ └── index.ts │ │ ├── ComponentContributors │ │ │ ├── ComponentContributors.stories.tsx │ │ │ ├── ComponentContributors.test.ts │ │ │ ├── ComponentContributors.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentContributors.test.ts.snap │ │ │ └── index.ts │ │ ├── ComponentDependencies │ │ │ ├── ComponentExternalDependencies.tsx │ │ │ ├── ComponentLocalDependencies.tsx │ │ │ ├── ExternalDependencies.stories.tsx │ │ │ ├── ExternalDependencies.test.ts │ │ │ ├── ExternalDependencies.tsx │ │ │ ├── LocalDependencies.stories.tsx │ │ │ ├── LocalDependencies.test.ts │ │ │ ├── LocalDependencies.tsx │ │ │ ├── __snapshots__ │ │ │ │ ├── ExternalDependencies.test.ts.snap │ │ │ │ └── LocalDependencies.test.ts.snap │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── ComponentJSX │ │ │ ├── ComponentJSX.stories.tsx │ │ │ ├── ComponentJSX.test.ts │ │ │ ├── ComponentJSX.tsx │ │ │ ├── ComponentJSXTree.tsx │ │ │ ├── ImportLabel.tsx │ │ │ ├── JSXTreeNode.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentJSX.test.ts.snap │ │ │ └── index.ts │ │ ├── ComponentSource │ │ │ ├── BaseComponentSource.tsx │ │ │ ├── ComponentSource.stories.tsx │ │ │ ├── ComponentSource.test.ts │ │ │ ├── ComponentSource.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentSource.test.ts.snap │ │ │ └── index.ts │ │ ├── ComponentStats │ │ │ ├── ComponentStats.stories.tsx │ │ │ ├── ComponentStats.test.ts │ │ │ ├── ComponentStats.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ComponentStats.test.ts.snap │ │ │ └── index.ts │ │ ├── Container │ │ │ ├── Container.stories.tsx │ │ │ ├── Container.test.ts │ │ │ ├── Container.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Container.test.ts.snap │ │ │ └── index.ts │ │ ├── Description │ │ │ ├── Description.stories.tsx │ │ │ ├── Description.test.ts │ │ │ ├── Description.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Description.test.ts.snap │ │ │ └── index.ts │ │ ├── DocumentItem │ │ │ ├── DocumentItem.stories.tsx │ │ │ ├── DocumentItem.test.ts │ │ │ ├── DocumentItem.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── DocumentItem.test.ts.snap │ │ │ └── index.ts │ │ ├── EditPage │ │ │ ├── EditPage.stories.tsx │ │ │ ├── EditPage.test.ts │ │ │ ├── EditPage.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── EditPage.test.ts.snap │ │ │ └── index.ts │ │ ├── PackageLink │ │ │ ├── LocalImport.tsx │ │ │ ├── PackageLink.tsx │ │ │ ├── PackageVersion.tsx │ │ │ └── index.ts │ │ ├── PageContainer │ │ │ ├── PageContainer.stories.tsx │ │ │ ├── PageContainer.test.ts │ │ │ ├── PageContainer.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── PageContainer.test.ts.snap │ │ │ └── index.ts │ │ ├── PageTypeTag │ │ │ ├── PageTypeTag.stories.tsx │ │ │ ├── PageTypeTag.test.ts │ │ │ ├── PageTypeTag.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── PageTypeTag.test.ts.snap │ │ │ └── index.ts │ │ ├── Pagination │ │ │ ├── Pagination.stories.tsx │ │ │ ├── Pagination.test.ts │ │ │ ├── Pagination.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Pagination.test.ts.snap │ │ │ └── index.ts │ │ ├── Playground │ │ │ ├── BasePlayground.tsx │ │ │ ├── Meta.tsx │ │ │ ├── Playground.mdx │ │ │ ├── Playground.stories.tsx │ │ │ ├── Playground.test.ts │ │ │ ├── Playground.tsx │ │ │ ├── PlaygroundContext.tsx │ │ │ ├── StoryPlayground.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Playground.test.ts.snap │ │ │ └── index.ts │ │ ├── PropsTable │ │ │ ├── BasePropsTable.tsx │ │ │ ├── PropsTable.stories.tsx │ │ │ ├── PropsTable.test.ts │ │ │ ├── PropsTable.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── PropsTable.test.ts.snap │ │ │ ├── controlsActions.ts │ │ │ └── index.ts │ │ ├── Search │ │ │ ├── Search.stories.tsx │ │ │ ├── Search.test.ts │ │ │ ├── Search.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Search.test.ts.snap │ │ │ └── index.ts │ │ ├── Stories │ │ │ ├── Stories.stories.tsx │ │ │ ├── Stories.test.ts │ │ │ ├── Stories.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Stories.test.ts.snap │ │ │ └── index.ts │ │ ├── Story │ │ │ ├── Story.stories.tsx │ │ │ ├── Story.test.ts │ │ │ ├── Story.tsx │ │ │ ├── StoryRender.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Story.test.ts.snap │ │ │ └── index.ts │ │ ├── StoryConfig │ │ │ ├── BaseStoryConfig.tsx │ │ │ ├── StoryConfig.stories.tsx │ │ │ ├── StoryConfig.test.ts │ │ │ ├── StoryConfig.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── StoryConfig.test.ts.snap │ │ │ └── index.ts │ │ ├── StoryData │ │ │ ├── BaseStoryData.tsx │ │ │ ├── StoryData.data.ts │ │ │ ├── StoryData.stories.tsx │ │ │ ├── StoryData.test.ts │ │ │ ├── StoryData.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── StoryData.test.ts.snap │ │ │ └── index.ts │ │ ├── StorySource │ │ │ ├── BaseStorySource.tsx │ │ │ ├── StorySource.stories.tsx │ │ │ ├── StorySource.test.ts │ │ │ ├── StorySource.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── StorySource.test.ts.snap │ │ │ ├── arg-values.ts │ │ │ └── index.ts │ │ ├── Subtitle │ │ │ ├── Subtitle.stories.tsx │ │ │ ├── Subtitle.test.ts │ │ │ ├── Subtitle.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Subtitle.test.ts.snap │ │ │ └── index.ts │ │ ├── TagsList │ │ │ ├── TagsList.stories.tsx │ │ │ ├── TagsList.test.ts │ │ │ ├── TagsList.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── TagsList.test.ts.snap │ │ │ └── index.ts │ │ ├── TestsCoverage │ │ │ ├── BaseTestsCoverage.tsx │ │ │ ├── TestsCoverage.data.ts │ │ │ ├── TestsCoverage.stories.tsx │ │ │ ├── TestsCoverage.test.ts │ │ │ ├── TestsCoverage.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── TestsCoverage.test.ts.snap │ │ │ └── index.ts │ │ ├── TestsResults │ │ │ ├── BaseTestsResults.tsx │ │ │ ├── TestsResults.data.ts │ │ │ ├── TestsResults.stories.tsx │ │ │ ├── TestsResults.test.ts │ │ │ ├── TestsResults.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── TestsResults.test.ts.snap │ │ │ └── index.ts │ │ ├── ThemeProvider │ │ │ ├── ThemeProvider.tsx │ │ │ └── index.ts │ │ ├── Title │ │ │ ├── Title.stories.tsx │ │ │ ├── Title.test.ts │ │ │ ├── Title.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Title.test.ts.snap │ │ │ └── index.ts │ │ ├── component-stats.mdx │ │ ├── context │ │ │ ├── BlockContext.tsx │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── notifications │ │ │ ├── InvalidType.tsx │ │ │ └── index.ts │ │ ├── test │ │ │ ├── MDXStory.tsx │ │ │ ├── MockContext.tsx │ │ │ ├── image_example.jpg │ │ │ ├── index.ts │ │ │ └── storyStore.tsx │ │ ├── typings.d.ts │ │ └── utils │ │ │ ├── constants.ts │ │ │ ├── index.ts │ │ │ ├── repositoryActions.tsx │ │ │ └── url.ts │ └── tsconfig.json ├── components │ ├── .config │ │ ├── buildtime.js │ │ └── runtime.tsx │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── ActionBar │ │ │ ├── ActionBar.data.ts │ │ │ ├── ActionBar.stories.tsx │ │ │ ├── ActionBar.test.ts │ │ │ ├── ActionBar.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ActionBar.test.ts.snap │ │ │ ├── index.ts │ │ │ └── utils.ts │ │ ├── ActionContainer │ │ │ ├── ActionContainer.stories.tsx │ │ │ ├── ActionContainer.test.ts │ │ │ ├── ActionContainer.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ActionContainer.test.ts.snap │ │ │ └── index.ts │ │ ├── BlockContainer │ │ │ ├── BlockContainer.data.ts │ │ │ ├── BlockContainer.stories.tsx │ │ │ ├── BlockContainer.test.ts │ │ │ ├── BlockContainer.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── BlockContainer.test.ts.snap │ │ │ └── index.ts │ │ ├── Collapsible │ │ │ ├── Collapsible.data.ts │ │ │ ├── Collapsible.stories.tsx │ │ │ ├── Collapsible.test.ts │ │ │ ├── Collapsible.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Collapsible.test.ts.snap │ │ │ └── index.ts │ │ ├── ColorMode │ │ │ ├── ColorMode.stories.tsx │ │ │ ├── ColorMode.test.ts │ │ │ ├── ColorMode.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ColorMode.test.ts.snap │ │ │ └── index.ts │ │ ├── CopyContainer │ │ │ ├── CopyContainer.stories.tsx │ │ │ ├── CopyContainer.test.ts │ │ │ ├── CopyContainer.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── CopyContainer.test.ts.snap │ │ │ └── index.ts │ │ ├── Description │ │ │ ├── Description.stories.tsx │ │ │ ├── Description.test.ts │ │ │ ├── Description.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Description.test.ts.snap │ │ │ └── index.ts │ │ ├── Donut │ │ │ ├── Donut.data.ts │ │ │ ├── Donut.stories.tsx │ │ │ ├── Donut.test.ts │ │ │ ├── Donut.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Donut.test.ts.snap │ │ │ └── index.ts │ │ ├── ExternalLink │ │ │ ├── ExternalLink.data.ts │ │ │ ├── ExternalLink.stories.tsx │ │ │ ├── ExternalLink.test.ts │ │ │ ├── ExternalLink.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ExternalLink.test.ts.snap │ │ │ └── index.ts │ │ ├── GithubAvatar │ │ │ ├── GithubAvatar.data.ts │ │ │ ├── GithubAvatar.stories.tsx │ │ │ ├── GithubAvatar.test.ts │ │ │ ├── GithubAvatar.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── GithubAvatar.test.ts.snap │ │ │ ├── index.ts │ │ │ └── useGithubProfile.tsx │ │ ├── GithubAvatarList │ │ │ ├── GithubAvatarList.stories.tsx │ │ │ ├── GithubAvatarList.test.ts │ │ │ ├── GithubAvatarList.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── GithubAvatarList.test.ts.snap │ │ │ └── index.ts │ │ ├── Header │ │ │ ├── Header.stories.tsx │ │ │ ├── Header.test.ts │ │ │ ├── Header.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Header.test.ts.snap │ │ │ └── index.ts │ │ ├── HoverBox │ │ │ ├── HoverBox.stories.tsx │ │ │ ├── HoverBox.test.ts │ │ │ ├── HoverBox.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── HoverBox.test.ts.snap │ │ │ └── index.ts │ │ ├── InfoTip │ │ │ ├── InfoTip.data.ts │ │ │ ├── InfoTip.stories.tsx │ │ │ ├── InfoTip.test.ts │ │ │ ├── InfoTip.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── InfoTip.test.ts.snap │ │ │ └── index.ts │ │ ├── Keyboard │ │ │ ├── Keyboard.tsx │ │ │ └── index.ts │ │ ├── Link │ │ │ ├── Link.stories.tsx │ │ │ ├── Link.test.ts │ │ │ ├── Link.tsx │ │ │ ├── LinkContext.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Link.test.ts.snap │ │ │ ├── index.ts │ │ │ └── useIsLocalLink.tsx │ │ ├── LinkHeading │ │ │ ├── LinkHeading.data.ts │ │ │ ├── LinkHeading.stories.tsx │ │ │ ├── LinkHeading.test.ts │ │ │ ├── LinkHeading.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── LinkHeading.test.ts.snap │ │ │ ├── index.ts │ │ │ └── pageLink.ts │ │ ├── Markdown │ │ │ ├── Markdown.stories.tsx │ │ │ ├── Markdown.test.ts │ │ │ ├── Markdown.tsx │ │ │ ├── MarkdownComponents.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Markdown.test.ts.snap │ │ │ └── index.ts │ │ ├── Multiselect │ │ │ ├── Multiselect.stories.tsx │ │ │ ├── Multiselect.test.ts │ │ │ ├── Multiselect.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Multiselect.test.ts.snap │ │ │ └── index.ts │ │ ├── Pagination │ │ │ ├── Pagination.stories.tsx │ │ │ ├── Pagination.test.ts │ │ │ ├── Pagination.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Pagination.test.ts.snap │ │ │ └── index.ts │ │ ├── PanelContainer │ │ │ ├── PanelContainer.stories.tsx │ │ │ ├── PanelContainer.test.ts │ │ │ ├── PanelContainer.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── PanelContainer.test.ts.snap │ │ │ └── index.ts │ │ ├── Popover │ │ │ ├── Popover.data.ts │ │ │ ├── Popover.stories.tsx │ │ │ ├── Popover.test.ts │ │ │ ├── Popover.tsx │ │ │ ├── PopoverUtils.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Popover.test.ts.snap │ │ │ └── index.ts │ │ ├── ProgressIndicator │ │ │ ├── ProgressIndicator.data.ts │ │ │ ├── ProgressIndicator.stories.tsx │ │ │ ├── ProgressIndicator.test.ts │ │ │ ├── ProgressIndicator.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ProgressIndicator.test.ts.snap │ │ │ └── index.ts │ │ ├── SearchInput │ │ │ ├── SearchInput.stories.tsx │ │ │ ├── SearchInput.test.ts │ │ │ ├── SearchInput.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── SearchInput.test.ts.snap │ │ │ └── index.ts │ │ ├── Shield │ │ │ ├── Shield.data.ts │ │ │ ├── Shield.stories.tsx │ │ │ ├── Shield.test.ts │ │ │ ├── Shield.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Shield.test.ts.snap │ │ │ └── index.ts │ │ ├── Sidebar │ │ │ ├── Sidebar.data.ts │ │ │ ├── Sidebar.stories.tsx │ │ │ ├── Sidebar.test.ts │ │ │ ├── Sidebar.tsx │ │ │ ├── SidebarContext.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Sidebar.test.ts.snap │ │ │ └── index.ts │ │ ├── SkipLinks │ │ │ ├── SkipLinks.tsx │ │ │ └── index.ts │ │ ├── Source │ │ │ ├── Source.data.ts │ │ │ ├── Source.stories.tsx │ │ │ ├── Source.test.ts │ │ │ ├── Source.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Source.test.ts.snap │ │ │ └── index.ts │ │ ├── Subtitle │ │ │ ├── Subtitle.data.ts │ │ │ ├── Subtitle.stories.tsx │ │ │ ├── Subtitle.test.ts │ │ │ ├── Subtitle.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Subtitle.test.ts.snap │ │ │ └── index.ts │ │ ├── SyntaxHighlighter │ │ │ ├── SyntaxHighlighter.data.ts │ │ │ ├── SyntaxHighlighter.stories.tsx │ │ │ ├── SyntaxHighlighter.test.ts │ │ │ ├── SyntaxHighlighter.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── SyntaxHighlighter.test.ts.snap │ │ │ └── index.ts │ │ ├── Table │ │ │ ├── Table.data.ts │ │ │ ├── Table.stories.tsx │ │ │ ├── Table.test.ts │ │ │ ├── Table.tsx │ │ │ ├── TableFilter.tsx │ │ │ ├── TableGrouping.tsx │ │ │ ├── TablePagination.tsx │ │ │ ├── TableRowSelection.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Table.test.ts.snap │ │ │ ├── index.ts │ │ │ └── useTableLayout.ts │ │ ├── Tabs │ │ │ ├── Tabs.stories.tsx │ │ │ ├── Tabs.test.ts │ │ │ ├── Tabs.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Tabs.test.ts.snap │ │ │ └── index.ts │ │ ├── Tag │ │ │ ├── Tag.data.ts │ │ │ ├── Tag.stories.tsx │ │ │ ├── Tag.test.ts │ │ │ ├── Tag.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Tag.test.ts.snap │ │ │ └── index.ts │ │ ├── ThemeContext │ │ │ ├── ThemeContext.tsx │ │ │ ├── index.ts │ │ │ └── theme.ts │ │ ├── TitledImage │ │ │ ├── TitledImage.data.ts │ │ │ ├── TitledImage.stories.tsx │ │ │ ├── TitledImage.test.ts │ │ │ ├── TitledImage.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── TitledImage.test.ts.snap │ │ │ └── index.ts │ │ ├── Toggle │ │ │ ├── Toggle.stories.tsx │ │ │ ├── Toggle.test.ts │ │ │ ├── Toggle.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Toggle.test.ts.snap │ │ │ └── index.ts │ │ ├── Tree │ │ │ ├── Tree.stories.tsx │ │ │ ├── Tree.test.ts │ │ │ ├── Tree.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Tree.test.ts.snap │ │ │ ├── index.ts │ │ │ └── tree-utils.ts │ │ ├── Value │ │ │ ├── Value.data.ts │ │ │ ├── Value.stories.tsx │ │ │ ├── Value.test.ts │ │ │ ├── Value.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Value.test.ts.snap │ │ │ └── index.ts │ │ ├── Zoom │ │ │ ├── Zoom.stories.tsx │ │ │ ├── Zoom.test.ts │ │ │ ├── Zoom.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── Zoom.test.ts.snap │ │ │ └── index.ts │ │ ├── component-stats.mdx │ │ ├── index.ts │ │ ├── setupTests.ts │ │ └── typings.d.ts │ └── tsconfig.json ├── design-tokens │ ├── .config │ │ └── buildtime.js │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── Colors │ │ │ ├── Alta │ │ │ │ ├── AltaColor.stories.tsx │ │ │ │ ├── AltaColor.tsx │ │ │ │ └── index.ts │ │ │ ├── AntdHorzColor │ │ │ │ ├── AntdHorzColor.stories.tsx │ │ │ │ ├── AntdHorzColor.tsx │ │ │ │ └── index.ts │ │ │ ├── AntdVertColor │ │ │ │ ├── AntdVertColor.stories.tsx │ │ │ │ ├── AntdVertColor.tsx │ │ │ │ └── index.ts │ │ │ ├── AnvilColor │ │ │ │ ├── AnvilColor.stories.tsx │ │ │ │ ├── AnvilColor.tsx │ │ │ │ └── index.ts │ │ │ ├── AtlassianColor │ │ │ │ ├── AtlassianColor.stories.tsx │ │ │ │ ├── AtlassianColor.tsx │ │ │ │ └── index.ts │ │ │ ├── AudiDSColor │ │ │ │ ├── AudiDSColor.stories.tsx │ │ │ │ ├── AudiDSColor.tsx │ │ │ │ └── index.ts │ │ │ ├── BackpackColor │ │ │ │ ├── BackpackColor.stories.tsx │ │ │ │ ├── BackpackColor.tsx │ │ │ │ └── index.ts │ │ │ ├── BaseWebColor │ │ │ │ ├── BaseWebColor.stories.tsx │ │ │ │ ├── BaseWebColor.tsx │ │ │ │ └── index.ts │ │ │ ├── BeelineColor │ │ │ │ ├── BeelineColor.stories.tsx │ │ │ │ ├── BeelineColor.tsx │ │ │ │ └── index.ts │ │ │ ├── BoltColor │ │ │ │ ├── BoltColor.stories.tsx │ │ │ │ ├── BoltColor.tsx │ │ │ │ └── index.ts │ │ │ ├── CanvasColor │ │ │ │ ├── CanvasColor.stories.tsx │ │ │ │ ├── CanvasColor.tsx │ │ │ │ └── index.ts │ │ │ ├── CedarColor │ │ │ │ ├── CedarColor.stories.tsx │ │ │ │ ├── CedarColor.tsx │ │ │ │ └── index.ts │ │ │ ├── CometColor │ │ │ │ ├── CometColor.stories.tsx │ │ │ │ ├── CometColor.tsx │ │ │ │ └── index.ts │ │ │ ├── DuetColor │ │ │ │ ├── DuetColor.stories.tsx │ │ │ │ ├── DuetColor.tsx │ │ │ │ └── index.ts │ │ │ ├── ETradeColor │ │ │ │ ├── ETradeColor.stories.tsx │ │ │ │ ├── ETradeColor.tsx │ │ │ │ └── index.ts │ │ │ ├── FinastraColor │ │ │ │ ├── FinastraColor.stories.tsx │ │ │ │ ├── FinastraColor.tsx │ │ │ │ └── index.ts │ │ │ ├── FishTankColor │ │ │ │ ├── FishTankColor.stories.tsx │ │ │ │ ├── FishTankColor.tsx │ │ │ │ └── index.ts │ │ │ ├── GovUKColor │ │ │ │ ├── GovUKColor.stories.tsx │ │ │ │ ├── GovUKColor.tsx │ │ │ │ └── index.ts │ │ │ ├── HelpScoutColor │ │ │ │ ├── HelpScoutColor.stories.tsx │ │ │ │ ├── HelpScoutColor.tsx │ │ │ │ └── index.ts │ │ │ ├── IBMDLColor │ │ │ │ ├── IBMDLColor.stories.tsx │ │ │ │ ├── IBMDLColor.tsx │ │ │ │ └── index.ts │ │ │ ├── LightningColor │ │ │ │ ├── LightningColor.stories.tsx │ │ │ │ ├── LightningColor.tsx │ │ │ │ └── index.ts │ │ │ ├── LiquidColor │ │ │ │ ├── LiquidColor.stories.tsx │ │ │ │ ├── LiquidColor.tsx │ │ │ │ └── index.ts │ │ │ ├── MorningstarColor │ │ │ │ ├── MorningstarColor.stories.tsx │ │ │ │ ├── MorningstarColor.tsx │ │ │ │ └── index.ts │ │ │ ├── OPatternColor │ │ │ │ ├── OPatternColor.stories.tsx │ │ │ │ ├── OPatternColor.tsx │ │ │ │ └── index.ts │ │ │ ├── PajamasColor │ │ │ │ ├── PajamasColor.stories.tsx │ │ │ │ ├── PajamasColor.tsx │ │ │ │ └── index.ts │ │ │ ├── PatternFlyColor │ │ │ │ ├── PatternFlyColor.stories.tsx │ │ │ │ ├── PatternFlyColor.tsx │ │ │ │ └── index.ts │ │ │ ├── PhotonColor │ │ │ │ ├── PhotonColor.stories.tsx │ │ │ │ ├── PhotonColor.tsx │ │ │ │ └── index.ts │ │ │ ├── PrimerColor │ │ │ │ ├── PrimerColor.stories.tsx │ │ │ │ ├── PrimerColor.tsx │ │ │ │ └── index.ts │ │ │ ├── SeedsColor │ │ │ │ ├── SeedsColor.stories.tsx │ │ │ │ ├── SeedsColor.tsx │ │ │ │ └── index.ts │ │ │ ├── SeekColor │ │ │ │ ├── SeekColor.stories.tsx │ │ │ │ ├── SeekColor.tsx │ │ │ │ └── index.ts │ │ │ ├── SkylineColor │ │ │ │ ├── SkylineColor.stories.tsx │ │ │ │ ├── SkylineColor.tsx │ │ │ │ └── index.ts │ │ │ ├── SolidColor │ │ │ │ ├── SolidColor.stories.tsx │ │ │ │ ├── SolidColor.tsx │ │ │ │ └── index.ts │ │ │ ├── TableColor │ │ │ │ ├── TableColor.stories.tsx │ │ │ │ ├── TableColor.tsx │ │ │ │ └── index.ts │ │ │ ├── UniformColor │ │ │ │ ├── UniformColor.stories.tsx │ │ │ │ ├── UniformColor.tsx │ │ │ │ └── index.ts │ │ │ ├── VanillaColor │ │ │ │ ├── VanillaColor.stories.tsx │ │ │ │ ├── VanillaColor.tsx │ │ │ │ └── index.ts │ │ │ ├── XColor │ │ │ │ ├── XColor.stories.tsx │ │ │ │ ├── XColor.tsx │ │ │ │ └── index.ts │ │ │ ├── ZendeskColor │ │ │ │ ├── ZendeskColor.stories.tsx │ │ │ │ ├── ZendeskColor.tsx │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── utils.ts │ │ ├── Fonts │ │ │ ├── LightningFont │ │ │ │ ├── LightningFont.stories.tsx │ │ │ │ ├── LightningFont.tsx │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── containers │ │ │ ├── FlexContainer │ │ │ │ ├── FlexContainer.tsx │ │ │ │ └── index.ts │ │ │ ├── GridContainer │ │ │ │ ├── GridContainer.tsx │ │ │ │ └── index.ts │ │ │ ├── TableContainer │ │ │ │ ├── TableContainer.tsx │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── types.ts │ │ └── typings.d.ts │ ├── tests │ │ ├── __snapshots__ │ │ │ └── component-controls.test.js.snap │ │ └── component-controls.test.js │ └── tsconfig.json ├── editors │ ├── .config │ │ └── buildtime.js │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── ArrayEditor │ │ │ ├── ArrayEditor.stories.tsx │ │ │ ├── ArrayEditor.test.ts │ │ │ ├── ArrayEditor.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ArrayEditor.test.ts.snap │ │ │ └── index.ts │ │ ├── BooleanEditor │ │ │ ├── BooleanEditor.stories.tsx │ │ │ ├── BooleanEditor.test.ts │ │ │ ├── BooleanEditor.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── BooleanEditor.test.ts.snap │ │ │ └── index.ts │ │ ├── ButtonEditor │ │ │ ├── ButtonEditor.stories.tsx │ │ │ ├── ButtonEditor.test.ts │ │ │ ├── ButtonEditor.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ButtonEditor.test.ts.snap │ │ │ └── index.ts │ │ ├── ColorEditor │ │ │ ├── ColorEditor.stories.tsx │ │ │ ├── ColorEditor.test.ts │ │ │ ├── ColorEditor.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ColorEditor.test.ts.snap │ │ │ └── index.ts │ │ ├── DateEditor │ │ │ ├── DateEditor.stories.tsx │ │ │ ├── DateEditor.test.ts │ │ │ ├── DateEditor.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── DateEditor.test.ts.snap │ │ │ └── index.ts │ │ ├── EditButton.tsx │ │ ├── FilesEditor │ │ │ ├── FilesEditor.stories.tsx │ │ │ ├── FilesEditor.test.ts │ │ │ ├── FilesEditor.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── FilesEditor.test.ts.snap │ │ │ └── index.ts │ │ ├── NumberEditor │ │ │ ├── NumberEditor.stories.tsx │ │ │ ├── NumberEditor.test.ts │ │ │ ├── NumberEditor.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── NumberEditor.test.ts.snap │ │ │ └── index.ts │ │ ├── ObjectEditor │ │ │ ├── ObjectEditor.stories.tsx │ │ │ ├── ObjectEditor.test.ts │ │ │ ├── ObjectEditor.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── ObjectEditor.test.ts.snap │ │ │ └── index.ts │ │ ├── OptionsEditor │ │ │ ├── CheckboxEditor.tsx │ │ │ ├── OptionsEditor.stories.tsx │ │ │ ├── OptionsEditor.test.ts │ │ │ ├── OptionsEditor.tsx │ │ │ ├── RadiosEditor.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── OptionsEditor.test.ts.snap │ │ │ ├── index.ts │ │ │ └── utils.ts │ │ ├── PopupInline.tsx │ │ ├── PropFactory.stories.tsx │ │ ├── PropFactory.test.ts │ │ ├── TextEditor │ │ │ ├── TextEditor.stories.tsx │ │ │ ├── TextEditor.test.ts │ │ │ ├── TextEditor.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── TextEditor.test.ts.snap │ │ │ └── index.ts │ │ ├── __snapshots__ │ │ │ └── PropFactory.test.ts.snap │ │ ├── index.ts │ │ ├── prop-factory.ts │ │ ├── setupTests.ts │ │ ├── types.ts │ │ └── typings.d.ts │ └── tsconfig.json └── pages │ ├── .babelrc │ ├── .eslintignore │ ├── CHANGELOG.md │ ├── CanvasPage.d.ts │ ├── CanvasPage.js │ ├── ClassicPage.d.ts │ ├── ClassicPage.js │ ├── ComponentPage.d.ts │ ├── ComponentPage.js │ ├── CurrentStoryPage.d.ts │ ├── CurrentStoryPage.js │ ├── DesignPage.d.ts │ ├── DesignPage.js │ ├── LICENSE.md │ ├── README.md │ ├── StoriesPage.d.ts │ ├── StoriesPage.js │ ├── TestingPage.d.ts │ ├── TestingPage.js │ ├── package.json │ ├── rollup.config.js │ ├── src │ ├── index.ts │ └── pages │ │ ├── CanvasPage.tsx │ │ ├── ClassicPage.tsx │ │ ├── ComponentPage.tsx │ │ ├── CurrentStoryPage.tsx │ │ ├── DesignPage.tsx │ │ ├── StoriesPage.tsx │ │ └── TestingPage.tsx │ └── tsconfig.json └── yarn.lock /.commitlintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "@commitlint/config-conventional", 4 | "@commitlint/config-lerna-scopes" 5 | ] 6 | } -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .eslintcache 3 | dist 4 | .cache 5 | .rpt2_cache 6 | *.log 7 | public 8 | build 9 | .next 10 | out 11 | **/.env -------------------------------------------------------------------------------- /.huskyrc: -------------------------------------------------------------------------------- 1 | { 2 | "hooks": { 3 | "pre-commit": "lerna run precommit --parallel", 4 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" 5 | } 6 | } -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | templates -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "requirePragma": false, 3 | "printWidth": 80, 4 | "tabWidth": 2, 5 | "useTabs": false, 6 | "semi": true, 7 | "singleQuote": true, 8 | "trailingComma": "all", 9 | "bracketSpacing": true, 10 | "arrowParens": "avoid" 11 | } 12 | -------------------------------------------------------------------------------- /core/config/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-typescript", 4 | [ 5 | "@babel/preset-env", 6 | { 7 | "targets": { 8 | "node": "current" 9 | } 10 | } 11 | ], 12 | "@babel/preset-react" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /core/config/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /core/config/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: './src/index.ts', 5 | }); 6 | -------------------------------------------------------------------------------- /core/config/test/fixtures/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: ['../*.docs.tsx'], 3 | instrument: { 4 | components: { 5 | tests: true, 6 | }, 7 | }, 8 | }; 9 | -------------------------------------------------------------------------------- /core/config/test/fixtures/exact-names/main.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: [ 3 | '../../../../../examples/stories/src/stories/controls-editors-starter.stories.tsx', 4 | '../../../../../examples/stories/src/blogs/gatsby-nextjs-storybook.mdx', 5 | ], 6 | }; 7 | -------------------------------------------------------------------------------- /core/core/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-typescript", 4 | [ 5 | "@babel/preset-env", 6 | { 7 | "targets": { 8 | "node": "current" 9 | } 10 | } 11 | ] 12 | ] 13 | } -------------------------------------------------------------------------------- /core/core/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /core/core/node-utils.d.ts: -------------------------------------------------------------------------------- 1 | export * from './dist/node-utils.d'; 2 | -------------------------------------------------------------------------------- /core/core/node-utils.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist/node-utils'); 2 | -------------------------------------------------------------------------------- /core/core/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts', './src/node-utils.ts'], 5 | }); 6 | -------------------------------------------------------------------------------- /core/core/src/faker.ts: -------------------------------------------------------------------------------- 1 | import faker from 'faker/locale/en_US'; 2 | 3 | export { faker }; 4 | -------------------------------------------------------------------------------- /core/core/src/index.test.ts: -------------------------------------------------------------------------------- 1 | import { ControlTypes } from './index'; 2 | 3 | describe('verify imports', () => { 4 | it('Should merge property value', () => { 5 | expect(ControlTypes.TEXT === 'text').toEqual(true); 6 | }); 7 | }); 8 | -------------------------------------------------------------------------------- /core/core/src/stories/components/ArrayControl.ts: -------------------------------------------------------------------------------- 1 | import { ComponentControlArray } from '../../controls'; 2 | import { AsReactComponent } from './types'; 3 | 4 | export const ArrayControl: AsReactComponent = ( 5 | _props: ComponentControlArray, 6 | ) => null; 7 | -------------------------------------------------------------------------------- /core/core/src/stories/components/BooleanControl.ts: -------------------------------------------------------------------------------- 1 | import { ComponentControlBoolean } from '../../controls'; 2 | import { AsReactComponent } from './types'; 3 | 4 | export const BooleanControl: AsReactComponent = ( 5 | _props: ComponentControlBoolean, 6 | ) => null; 7 | -------------------------------------------------------------------------------- /core/core/src/stories/components/ButtonControl.ts: -------------------------------------------------------------------------------- 1 | import { ComponentControlButton } from '../../controls'; 2 | import { AsReactComponent } from './types'; 3 | 4 | export const ButtonControl: AsReactComponent = ( 5 | _props: ComponentControlButton, 6 | ) => null; 7 | -------------------------------------------------------------------------------- /core/core/src/stories/components/ColorControl.ts: -------------------------------------------------------------------------------- 1 | import { ComponentControlColor } from '../../controls'; 2 | import { AsReactComponent } from './types'; 3 | 4 | export const ColorControl: AsReactComponent = ( 5 | _props: ComponentControlColor, 6 | ) => null; 7 | -------------------------------------------------------------------------------- /core/core/src/stories/components/DateControl.ts: -------------------------------------------------------------------------------- 1 | import { ComponentControlDate } from '../../controls'; 2 | import { AsReactComponent } from './types'; 3 | 4 | export const DateControl: AsReactComponent = ( 5 | _props: ComponentControlDate, 6 | ) => null; 7 | -------------------------------------------------------------------------------- /core/core/src/stories/components/FilesControl.ts: -------------------------------------------------------------------------------- 1 | import { ComponentControlFiles } from '../../controls'; 2 | import { AsReactComponent } from './types'; 3 | 4 | export const FilesControl: AsReactComponent = ( 5 | _props: ComponentControlFiles, 6 | ) => null; 7 | -------------------------------------------------------------------------------- /core/core/src/stories/components/NumberControl.ts: -------------------------------------------------------------------------------- 1 | import { ComponentControlNumber } from '../../controls'; 2 | import { AsReactComponent } from './types'; 3 | 4 | export const NumberControl: AsReactComponent = ( 5 | _props: ComponentControlNumber, 6 | ) => null; 7 | -------------------------------------------------------------------------------- /core/core/src/stories/components/ObjectControl.ts: -------------------------------------------------------------------------------- 1 | import { ComponentControlObject } from '../../controls'; 2 | import { AsReactComponent } from './types'; 3 | 4 | export const ObjectControl: AsReactComponent = ( 5 | _props: ComponentControlObject, 6 | ) => null; 7 | -------------------------------------------------------------------------------- /core/core/src/stories/components/OptionsControl.ts: -------------------------------------------------------------------------------- 1 | import { ComponentControlOptions } from '../../controls'; 2 | import { AsReactComponent } from './types'; 3 | 4 | export const OptionsControl: AsReactComponent = ( 5 | _props: ComponentControlOptions, 6 | ) => null; 7 | -------------------------------------------------------------------------------- /core/core/src/stories/components/TextControl.ts: -------------------------------------------------------------------------------- 1 | import { ComponentControlText } from '../../controls'; 2 | import { AsReactComponent } from './types'; 3 | 4 | export const TextControl: AsReactComponent = ( 5 | _props: ComponentControlText, 6 | ) => null; 7 | -------------------------------------------------------------------------------- /core/core/src/stories/components/types.ts: -------------------------------------------------------------------------------- 1 | import { ComponentControlBase } from '../../controls'; 2 | 3 | export type AsReactComponent> = ( 4 | _props: T, 5 | ) => null; 6 | -------------------------------------------------------------------------------- /core/core/src/tokens.ts: -------------------------------------------------------------------------------- 1 | export interface TokenOptions { 2 | figmaAccessToken?: string; 3 | githubAccessToken?: string; 4 | } 5 | -------------------------------------------------------------------------------- /core/core/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'escape-html'; 2 | declare module 'faker/locale/en_US'; 3 | -------------------------------------------------------------------------------- /core/instrument/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-typescript", 4 | [ 5 | "@babel/preset-env", 6 | { 7 | "targets": { 8 | "node": "current" 9 | } 10 | } 11 | ] 12 | ] 13 | } -------------------------------------------------------------------------------- /core/instrument/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | test/fixtures/ -------------------------------------------------------------------------------- /core/instrument/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts'], 5 | }); 6 | -------------------------------------------------------------------------------- /core/instrument/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'read-package-json'; 2 | declare module '@hutson/parse-repository-url'; 3 | declare module 'hosted-git-info'; 4 | declare module '@mdx-js/mdx'; 5 | declare module 'js-string-escape'; 6 | declare module 'remark-emoji'; 7 | declare module 'remark-images'; 8 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/components/button-default-arrow-func.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | const Button = props => ; 4 | 5 | export default Button; 6 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/components/button-default-class-export.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | class Button extends React.Component { 4 | render() { 5 | return ; 6 | } 7 | } 8 | 9 | export default Button; 10 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/components/button-default-class.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default class Button extends React.Component { 4 | render() { 5 | return ; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/components/button-named-arrow-func.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export const Button = props => ; 4 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/components/button-named-class-export.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | class Button extends React.Component { 4 | render() { 5 | return ; 6 | } 7 | } 8 | 9 | export { Button }; 10 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/components/button-named-class.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export class Button extends React.Component { 4 | render() { 5 | return ; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/components/external-story-deconstructed-props.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export const customStory = ({ text }) =>
{text}
; 4 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/components/external-story-props.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export const customStory = props =>
{props.text}
; 4 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/components/external-story.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export const customStory = () =>
test
; 4 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/async/arrow-function.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export const myStory = async () => {}; 3 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/async/export-function-arguments.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export async function myStory(props) { 3 | console.log(props); 4 | } 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/async/export-function.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export async function myStory() {} 3 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/components/default-import.js: -------------------------------------------------------------------------------- 1 | import Button from '../../components/button-default-arrow-func'; 2 | export default { 3 | title: 'Story', 4 | component: Button, 5 | }; 6 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/doc/default-export-const.ts: -------------------------------------------------------------------------------- 1 | import { Document } from '@component-controls/core'; 2 | const { ControlsTable } = require('@component-controls/core'); 3 | const doc: Document = { 4 | title: 'Story', 5 | component: ControlsTable, 6 | }; 7 | 8 | export default doc; 9 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/doc/title-and-parameters.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Docs/Blocks/ControlsTable', 3 | component: ControlsTable, 4 | smartControls: { 5 | smart: false, 6 | }, 7 | }; 8 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/doc/typed-export.ts: -------------------------------------------------------------------------------- 1 | import { Document } from '@component-controls/core'; 2 | 3 | export default { 4 | title: 'Story', 5 | } as Document; 6 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/hoisted/name-and-parameters.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export const myStory = () => {}; 3 | myStory.storyName = 'Custom story name'; 4 | myStory.component = ControlsTable; 5 | myStory.smartControls = { 6 | smart: false, 7 | }; 8 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/named-exports/export-alias.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | const myStory = () => {}; 3 | myStory.story = { 4 | name: 'Custom story name', 5 | }; 6 | 7 | export { myStory as exportedStory }; 8 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/named-exports/property-name.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | const myStory = () => {}; 3 | myStory.story = { 4 | name: 'Custom story name', 5 | }; 6 | 7 | export { myStory }; 8 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/named-exports/re-export-name.js: -------------------------------------------------------------------------------- 1 | import { myStory } from './property-name'; 2 | export default { title: 'Story' }; 3 | myStory.story = { 4 | name: 'Custom story name', 5 | }; 6 | 7 | export { myStory }; 8 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/parameters/name-and-parameters.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export const myStory = () => {}; 3 | myStory.story = { 4 | name: 'Custom story name', 5 | component: ControlsTable, 6 | smartControls: { 7 | smart: false, 8 | }, 9 | }; 10 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-info-external/theme-ui.jsx: -------------------------------------------------------------------------------- 1 | import { Button } from 'theme-ui'; 2 | 3 | export default { 4 | title: 'Storybook/Blocks/Button', 5 | component: Button, 6 | }; 7 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-info/resolve-node-modules.jsx: -------------------------------------------------------------------------------- 1 | import { PropsTable } from '@component-controls/blocks'; 2 | 3 | export default { 4 | title: 'Storybook/Blocks/PropsTable', 5 | component: PropsTable, 6 | }; 7 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/adjust-lines.any: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | } 4 | 5 | export const myStory = props => ( 6 | 9 | ); 10 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/age-and-name.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | export const story = ({ name, age }) => ( 5 |

{`Hello, my name is ${name}, and I am \${age} years old.`}

6 | ); 7 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/empty-body.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | export const story = ({ name }) => name; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/expression.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | 5 | export const selectProp = ({ value }) => ( 6 |
{JSON.stringify({ value }, null, 2)}
7 | ); 8 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/multiple-usage.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | 5 | export const myStory = ({ age }) => ( 6 | <> 7 | 8 | 9 | 10 | ); 11 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/nested-arguments.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | export const story = ({ height, weight, style: { border, color } }) => ( 5 |
6 | ); 7 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/props.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | export const myStory = props => ; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/shorthand.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | 5 | export const story = ({ value }) => ( 6 |
{JSON.stringify({ value }, null, 2)}
7 | ); 8 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/string-template.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | export const myStory = ({ text }) => `${text}`; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/three-levels-alias.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | export const myStory = ({ name: { first, last }, age }) => ( 5 | <> 6 | 7 | 8 | 9 | ); 10 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/two-arguments.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | export const myStory = (props, context) => ; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/two-levels-alias.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | export const myStory = ({ name: MyName, age }) => ( 5 | 6 | ); 7 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/props-usage/two-levels-sub-arguments.js: -------------------------------------------------------------------------------- 1 | export default { 2 | title: 'Story', 3 | }; 4 | export const myStory = ({ name, age }) => ; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/stories/named-object-export.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export const myStory = { 3 | i: 1, 4 | }; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/stories/no-arguments.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export const myStory = () => {}; 3 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/stories/no-story.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | const i = 1; 3 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/stories/props-argument.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export const myStory = props => {}; 3 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/stories/three-levels-alias.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export const myStory = ({ name: { first, last }, age }) => {}; 3 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/stories/two-arguments.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export const myStory = (props, context) => {}; 3 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/stories/two-levels-alias.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export const myStory = ({ name: MyNam, age }) => {}; 3 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/stories/two-levels-sub-arguments.js: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export const myStory = ({ name, age }) => {}; 3 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/stories/typescript.ts: -------------------------------------------------------------------------------- 1 | export default { title: 'Story' }; 2 | export const myStory = (props: Properties) => {}; 3 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/story-source/external-source-deconstructed-props.js: -------------------------------------------------------------------------------- 1 | import { customStory } from '../../components/external-story-deconstructed-props'; 2 | export default { title: 'Story' }; 3 | 4 | export const myStory = customStory; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/story-source/external-source-props.js: -------------------------------------------------------------------------------- 1 | import { customStory } from '../../components/external-story-props'; 2 | export default { title: 'Story' }; 3 | 4 | export const myStory = customStory; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/story-source/external-source.js: -------------------------------------------------------------------------------- 1 | import { customStory } from '../../components/external-story'; 2 | export default { title: 'Story' }; 3 | 4 | export const myStory = customStory; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/story-source/simple-source-props.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | export default { title: 'Story' }; 3 | 4 | export const myStory = props =>
{props.text}
; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/esm/story-source/simple-source.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | export default { title: 'Story' }; 3 | 4 | export const myStory = () =>
test
; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/extract-component/default-alias-import.js: -------------------------------------------------------------------------------- 1 | import * as Button from '../components/button-default-class-export'; 2 | export default { 3 | component: Button, 4 | }; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/extract-component/default-import.js: -------------------------------------------------------------------------------- 1 | import Button from '../components/button-default-arrow-func'; 2 | export default { 3 | component: Button, 4 | }; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/extract-component/jsx-component.ts: -------------------------------------------------------------------------------- 1 | import { Button } from '../components/component-jsx'; 2 | export default { 3 | component: Button, 4 | }; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/extract-component/kind-component.js: -------------------------------------------------------------------------------- 1 | export default { 2 | component: Button, 3 | }; 4 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/extract-component/named-alias-import.js: -------------------------------------------------------------------------------- 1 | import { Btn as Button } from '../components/button-named-arrow-func'; 2 | export default { 3 | component: Button, 4 | }; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/extract-component/named-import.js: -------------------------------------------------------------------------------- 1 | import { Button } from '../components/button-named-class'; 2 | export default { 3 | component: Button, 4 | }; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/extract-component/node-modules-source.js: -------------------------------------------------------------------------------- 1 | import { Subtitle as Button } from '@component-controls/components'; 2 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/extract-component/node-modules.js: -------------------------------------------------------------------------------- 1 | import { Button } from 'theme-ui'; 2 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/extract-component/non-existing-file.js: -------------------------------------------------------------------------------- 1 | import { Btn as Button } from './Button'; 2 | import { Toggle } from './Toggle'; 3 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/extract-component/parameters-component.js: -------------------------------------------------------------------------------- 1 | import { Button } from '../components/button-named-arrow-func'; 2 | export default { 3 | component: Button, 4 | }; 5 | -------------------------------------------------------------------------------- /core/instrument/test/fixtures/extract-component/story-component.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Button } from '../components/button-named-class'; 3 | 4 | export const story = () => ; 6 | } 7 | } 8 | 9 | export default Button; 10 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/exports/button-default-class.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default class Button extends React.Component { 4 | render() { 5 | return ; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/exports/button-named-class-export.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | class Button extends React.Component { 4 | render() { 5 | return ; 6 | } 7 | } 8 | 9 | export { Button }; 10 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/exports/button-named-class.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export class Button extends React.Component { 4 | render() { 5 | return ; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/exports/cjs-named-export.js: -------------------------------------------------------------------------------- 1 | const Button = () => {}; 2 | exports.Button = Button; 3 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/exports/export-all-from.js: -------------------------------------------------------------------------------- 1 | export * from 'stories.tsx'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/exports/export-from-alias.js: -------------------------------------------------------------------------------- 1 | export { myStory as newStory } from 'stories.tsx'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/exports/export-from.js: -------------------------------------------------------------------------------- 1 | export { myStory } from 'stories.tsx'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/exports/named-const-export.js: -------------------------------------------------------------------------------- 1 | const myStory = () => {}; 2 | 3 | export { myStory }; 4 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/exports/named-export-alias.js: -------------------------------------------------------------------------------- 1 | const myStory = () => {}; 2 | 3 | export { myStory as exportedStory }; 4 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/exports/named-export.js: -------------------------------------------------------------------------------- 1 | export const namedExport = () => 'hello'; 2 | export default 'this is it'; 3 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/exports/re-exported-name.js: -------------------------------------------------------------------------------- 1 | import { myStory } from 'stories.tsx'; 2 | 3 | export { myStory }; 4 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/button-default-export.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/button-from-node-nodules.js: -------------------------------------------------------------------------------- 1 | import { PropsTable } from '@component-controls/blocks'; 2 | 3 | export { PropsTable as Button }; 4 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/button-named-export.js: -------------------------------------------------------------------------------- 1 | export const Button = () => {}; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/cjs-import.js: -------------------------------------------------------------------------------- 1 | import { Button } from './cjs-named-export'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/cjs-named-export.js: -------------------------------------------------------------------------------- 1 | const Button = () => {}; 2 | exports.Button = Button; 3 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/direct-import.js: -------------------------------------------------------------------------------- 1 | export const Button = () => {}; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/export-all.js: -------------------------------------------------------------------------------- 1 | export * from './button-named-export'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/import-node-modules.js: -------------------------------------------------------------------------------- 1 | export { Button } from './button-from-node-nodules'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/index.js: -------------------------------------------------------------------------------- 1 | export { Button } from './button-named-export'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/one-level-default-import.js: -------------------------------------------------------------------------------- 1 | import Button from './button-default-export'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/one-level-import.js: -------------------------------------------------------------------------------- 1 | import { Button } from './button-named-export'; 2 | export { Button }; 3 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/one-level-index-import.js: -------------------------------------------------------------------------------- 1 | import { Button } from './'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/follow-imports/one-level-namespace-import.js: -------------------------------------------------------------------------------- 1 | import * as Button from './button-default-export'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/imports/all-imports.js: -------------------------------------------------------------------------------- 1 | import Button1 from 'buttons'; 2 | import * as Button2 from 'buttons'; 3 | import { Button } from 'buttons'; 4 | import React, { FC, MouseEvent } from 'react'; 5 | import { Button as Btn } from './buttons'; 6 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/imports/default-import.js: -------------------------------------------------------------------------------- 1 | import Button from 'buttons'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/imports/mixed-import.js: -------------------------------------------------------------------------------- 1 | import React, { FC, MouseEvent } from './react'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/imports/named-alias-import.js: -------------------------------------------------------------------------------- 1 | import { Button as Btn } from 'buttons'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/imports/named-import.js: -------------------------------------------------------------------------------- 1 | import { Button } from 'buttons'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/imports/namespace-import.js: -------------------------------------------------------------------------------- 1 | import * as Button from 'buttons'; 2 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/re-re-import-types-cjs.tsx: -------------------------------------------------------------------------------- 1 | const { ColumnProps } = require('./re-import-types-cjs'); 2 | 3 | exports.Column = (props): string | undefined => props.stringProp; 4 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/re-re-import-types.tsx: -------------------------------------------------------------------------------- 1 | import { ColumnProps } from './re-import-types'; 2 | 3 | export const Column = (props: ColumnProps): string | undefined => 4 | props.stringProp; 5 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/react-types.tsx: -------------------------------------------------------------------------------- 1 | import React, { FC } from 'react'; 2 | 3 | export const Div: FC<{ text: string }> = props =>
; 4 | -------------------------------------------------------------------------------- /misc/follow-imports/test/fixtures/reverse-variable.js: -------------------------------------------------------------------------------- 1 | export default CProps; 2 | export { CProps }; 3 | const CProps = 'hello'; 4 | -------------------------------------------------------------------------------- /misc/jest-axe-matcher/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-typescript", 4 | [ 5 | "@babel/preset-env", 6 | { 7 | "targets": { 8 | "node": "current" 9 | } 10 | } 11 | ], 12 | "@babel/preset-react" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /misc/jest-axe-matcher/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | test/fixtures/ -------------------------------------------------------------------------------- /misc/jest-axe-matcher/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts'], 5 | }); 6 | -------------------------------------------------------------------------------- /plugins/addon-catalog/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: [ 3 | '../src/**/*.stories.tsx', 4 | ], 5 | }; -------------------------------------------------------------------------------- /plugins/addon-catalog/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /plugins/addon-catalog/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts'], 5 | }); 6 | -------------------------------------------------------------------------------- /plugins/addon-catalog/src/Catalog/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Catalog'; 2 | -------------------------------------------------------------------------------- /plugins/addon-catalog/src/ComponentCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentCard'; 2 | -------------------------------------------------------------------------------- /plugins/addon-catalog/src/ComponentFilter/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentFilter'; 2 | -------------------------------------------------------------------------------- /plugins/addon-catalog/src/ComponentList/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentList'; 2 | -------------------------------------------------------------------------------- /plugins/addon-catalog/src/ComponentsCatalog/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentsCatalog'; 2 | -------------------------------------------------------------------------------- /plugins/addon-catalog/src/context/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentCatalogContext'; 2 | -------------------------------------------------------------------------------- /plugins/addon-catalog/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Catalog'; 2 | export * from './ComponentCard'; 3 | export * from './ComponentsCatalog'; 4 | export * from './ComponentFilter'; 5 | export * from './ComponentList'; 6 | export * from './context'; 7 | -------------------------------------------------------------------------------- /plugins/addon-images/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: [ 3 | '../src/**/*.stories.tsx', 4 | ], 5 | }; -------------------------------------------------------------------------------- /plugins/addon-images/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /plugins/addon-images/ImagesPage.d.ts: -------------------------------------------------------------------------------- 1 | import ImagesPage from './dist/ImagesPage/ImagesPage'; 2 | 3 | export default ImagesPage; 4 | -------------------------------------------------------------------------------- /plugins/addon-images/ImagesPage.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist/ImagesPage'); 2 | -------------------------------------------------------------------------------- /plugins/addon-images/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts', './src/ImagesPage/ImagesPage.tsx'], 5 | output: { 6 | exports: 'auto', 7 | }, 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/addon-images/src/ImagesBlock/example_image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccontrols/component-controls/e3a4dcf74417de3bcba0614dd2b29426e67ce592/plugins/addon-images/src/ImagesBlock/example_image.jpg -------------------------------------------------------------------------------- /plugins/addon-images/src/ImagesBlock/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ImagesBlock'; 2 | -------------------------------------------------------------------------------- /plugins/addon-images/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ImagesBlock'; 2 | -------------------------------------------------------------------------------- /plugins/addon-images/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.jpg'; 2 | -------------------------------------------------------------------------------- /plugins/addon-notes/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: [ 3 | '../src/**/*.stories.tsx', 4 | ], 5 | }; -------------------------------------------------------------------------------- /plugins/addon-notes/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /plugins/addon-notes/NotesPage.d.ts: -------------------------------------------------------------------------------- 1 | import NotesPage from './dist/NotesPage/NotesPage'; 2 | 3 | export default NotesPage; 4 | -------------------------------------------------------------------------------- /plugins/addon-notes/NotesPage.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist/NotesPage'); 2 | -------------------------------------------------------------------------------- /plugins/addon-notes/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts', './src/NotesPage/NotesPage.tsx'], 5 | output: { 6 | exports: 'auto', 7 | }, 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/addon-notes/src/NotesBlock/index.ts: -------------------------------------------------------------------------------- 1 | export * from './NotesBlock'; 2 | -------------------------------------------------------------------------------- /plugins/addon-notes/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './NotesBlock'; 2 | -------------------------------------------------------------------------------- /plugins/addon-notes/src/typoings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.md'; 2 | -------------------------------------------------------------------------------- /plugins/addon-stats/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: [ 3 | '../src/**/*.stories.tsx', 4 | ], 5 | }; -------------------------------------------------------------------------------- /plugins/addon-stats/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /plugins/addon-stats/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts'], 5 | }); 6 | -------------------------------------------------------------------------------- /plugins/addon-stats/src/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './components'; 2 | -------------------------------------------------------------------------------- /plugins/addon-stats/src/hooks/index.ts: -------------------------------------------------------------------------------- 1 | export * from './components'; 2 | -------------------------------------------------------------------------------- /plugins/addon-stats/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './types'; 2 | export * from './api'; 3 | export * from './hooks'; 4 | export * from './ui'; 5 | -------------------------------------------------------------------------------- /plugins/addon-stats/src/ui/AttributeUsage/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AttributeUsage'; 2 | -------------------------------------------------------------------------------- /plugins/addon-stats/src/ui/AttributesUsageDetails/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AttributesUsageDetails'; 2 | -------------------------------------------------------------------------------- /plugins/addon-stats/src/ui/AttributesUsageList/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AttributesUsageList'; 2 | -------------------------------------------------------------------------------- /plugins/addon-stats/src/ui/ComponentUsage/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentUsage'; 2 | -------------------------------------------------------------------------------- /plugins/addon-stats/src/ui/ComponentUsageDetails/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentUsageDetails'; 2 | -------------------------------------------------------------------------------- /plugins/addon-stats/src/ui/ComponentUsageList/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentUsageList'; 2 | -------------------------------------------------------------------------------- /plugins/addon-stats/src/ui/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AttributeUsage'; 2 | export * from './AttributesUsageDetails'; 3 | export * from './AttributesUsageList'; 4 | export * from './ComponentUsage'; 5 | export * from './ComponentUsageDetails'; 6 | export * from './ComponentUsageList'; 7 | -------------------------------------------------------------------------------- /plugins/axe-plugin/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: ['../src/**/*.stories.tsx'], 3 | }; 4 | -------------------------------------------------------------------------------- /plugins/axe-plugin/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /plugins/axe-plugin/AllyPage.d.ts: -------------------------------------------------------------------------------- 1 | import AllyPage from './dist/AllyPage/AllyPage'; 2 | 3 | export default AllyPage; 4 | -------------------------------------------------------------------------------- /plugins/axe-plugin/AllyPage.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist/AllyPage'); 2 | -------------------------------------------------------------------------------- /plugins/axe-plugin/images/axe-ally-testing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccontrols/component-controls/e3a4dcf74417de3bcba0614dd2b29426e67ce592/plugins/axe-plugin/images/axe-ally-testing.gif -------------------------------------------------------------------------------- /plugins/axe-plugin/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.tsx', './src/AllyPage/AllyPage.tsx'], 5 | output: { 6 | exports: 'auto', 7 | }, 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/axe-plugin/src/AllyBlock/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AllyBlock'; 2 | -------------------------------------------------------------------------------- /plugins/axe-plugin/src/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './AllyBlock'; 2 | -------------------------------------------------------------------------------- /plugins/cc-cli/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-typescript", 4 | [ 5 | "@babel/preset-env", 6 | { 7 | "targets": { 8 | "node": "current" 9 | } 10 | } 11 | ], 12 | "@babel/preset-react" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /plugins/cc-cli/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | templates -------------------------------------------------------------------------------- /plugins/cc-cli/bin/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | const { run } = require('../dist/cli.js'); 3 | (async () => { 4 | await run(); 5 | process.exit(); 6 | })().catch(e => { 7 | console.error(e); 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts', './src/cli/cli.ts'], 5 | }); 6 | -------------------------------------------------------------------------------- /plugins/cc-cli/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './jest-templates/store-template'; 2 | export * from './jest-templates/stories-template'; 3 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/accessibility/import/import.cjs.js: -------------------------------------------------------------------------------- 1 | const { run } = require('axe-core'); 2 | const { reactRunDOM } = require('@component-controls/test-renderers'); 3 | require ('@component-controls/jest-axe-matcher'); 4 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/accessibility/import/import.esm.js: -------------------------------------------------------------------------------- 1 | import { run } from 'axe-core'; 2 | import { reactRunDOM } from '@component-controls/test-renderers'; 3 | import '@component-controls/jest-axe-matcher'; -------------------------------------------------------------------------------- /plugins/cc-cli/templates/accessibility/import/import.ts.js: -------------------------------------------------------------------------------- 1 | import { run, AxeResults }from 'axe-core'; 2 | import { reactRunDOM } from '@component-controls/test-renderers'; 3 | import '@component-controls/jest-axe-matcher'; -------------------------------------------------------------------------------- /plugins/cc-cli/templates/accessibility/test/test.cjs.js: -------------------------------------------------------------------------------- 1 | it('accessibility', async () => { 2 | const axeResults = await reactRunDOM(rendered, run); 3 | expect(axeResults).toHaveNoAxeViolations(); 4 | }); 5 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/accessibility/test/test.ts.js: -------------------------------------------------------------------------------- 1 | it('accessibility', async () => { 2 | const axeResults = await reactRunDOM(rendered, run); 3 | expect(axeResults).toHaveNoAxeViolations(); 4 | }); 5 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/data-include/import.cjs.js: -------------------------------------------------------------------------------- 1 | {{? it.dataFile }}const data = require('{{=it.dataFile}}');{{?}} -------------------------------------------------------------------------------- /plugins/cc-cli/templates/data-include/import.esm.js: -------------------------------------------------------------------------------- 1 | {{? it.dataFile }}import data from '{{=it.dataFile}}';{{?}} -------------------------------------------------------------------------------- /plugins/cc-cli/templates/data-templates/data.cjs.js: -------------------------------------------------------------------------------- 1 | module.exports = {{=it.data}}; 2 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/data-templates/data.esm.js: -------------------------------------------------------------------------------- 1 | export default {{=it.data}}; -------------------------------------------------------------------------------- /plugins/cc-cli/templates/document/import/bundle.cjs.js: -------------------------------------------------------------------------------- 1 | const { loadStore } = require('@component-controls/store'); -------------------------------------------------------------------------------- /plugins/cc-cli/templates/document/import/bundle.esm.js: -------------------------------------------------------------------------------- 1 | import { loadStore } from '@component-controls/store'; -------------------------------------------------------------------------------- /plugins/cc-cli/templates/document/import/imports.cjs.js: -------------------------------------------------------------------------------- 1 | const { loadConfigurations } = require('@component-controls/config'); 2 | const { renderDocument } = require('@component-controls/test-renderers'); -------------------------------------------------------------------------------- /plugins/cc-cli/templates/document/import/imports.esm.js: -------------------------------------------------------------------------------- 1 | import { loadConfigurations } from '@component-controls/config'; 2 | import { renderDocument } from '@component-controls/test-renderers'; -------------------------------------------------------------------------------- /plugins/cc-cli/templates/imports/enzyme-react-17.cjs.js: -------------------------------------------------------------------------------- 1 | const { mount, configure } = require('enzyme'); 2 | const toJson = require('enzyme-to-json').default; 3 | const Adapter = require('@wojtekmaj/enzyme-adapter-react-17'); 4 | 5 | configure({ adapter: new Adapter() }); 6 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/imports/enzyme-react-17.esm.js: -------------------------------------------------------------------------------- 1 | import { mount, configure } from 'enzyme'; 2 | import toJson from 'enzyme-to-json'; 3 | import Adapter from '@wojtekmaj/enzyme-adapter-react-17'; 4 | 5 | configure({ adapter: new Adapter() }); 6 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/imports/react-test-renderer.cjs.js: -------------------------------------------------------------------------------- 1 | const renderer = require('react-test-renderer'); 2 | const { renderErr, componentErr } = require('@component-controls/test-renderers'); 3 | const act = renderer.act; 4 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/imports/react-test-renderer.esm.js: -------------------------------------------------------------------------------- 1 | import renderer, { act } from 'react-test-renderer'; 2 | import { renderErr, componentErr } from '@component-controls/test-renderers'; 3 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/imports/react-testing-library.cjs.js: -------------------------------------------------------------------------------- 1 | const { render, act } = require('@testing-library/react'); 2 | const { renderErr } = require('@component-controls/test-renderers'); 3 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/imports/react-testing-library.esm.js: -------------------------------------------------------------------------------- 1 | import { render, act } from '@testing-library/react'; 2 | import { renderErr } from '@component-controls/test-renderers'; 3 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/load/bundle.js: -------------------------------------------------------------------------------- 1 | const store = loadStore(require(path.resolve(__dirname, '{{=it.bundlePath}}'))); 2 | -------------------------------------------------------------------------------- /plugins/cc-cli/templates/load/imports.js: -------------------------------------------------------------------------------- 1 | const configPath = path.resolve(__dirname, '{{=it.configPath}}'); 2 | const config = loadConfigurations(configPath); -------------------------------------------------------------------------------- /plugins/cc-cli/templates/store/import/bundle.cjs.js: -------------------------------------------------------------------------------- 1 | const { loadStore } = require('@component-controls/store'); -------------------------------------------------------------------------------- /plugins/cc-cli/templates/store/import/bundle.esm.js: -------------------------------------------------------------------------------- 1 | import { loadStore } from '@component-controls/store'; -------------------------------------------------------------------------------- /plugins/cc-cli/templates/store/import/imports.cjs.js: -------------------------------------------------------------------------------- 1 | const { 2 | loadConfigurations, 3 | extractDocuments, 4 | isMDXDocument, 5 | } = require('@component-controls/config'); 6 | const { renderExample } = require('@component-controls/test-renderers'); -------------------------------------------------------------------------------- /plugins/cc-cli/templates/store/import/imports.esm.js: -------------------------------------------------------------------------------- 1 | import { loadConfigurations, extractDocuments, isMDXDocument } from '@component-controls/config'; 2 | import { renderExample } from '@component-controls/test-renderers'; -------------------------------------------------------------------------------- /plugins/cc-cli/templates/store/render/bundle.js: -------------------------------------------------------------------------------- 1 | rendered = renderFn({ story, doc }); -------------------------------------------------------------------------------- /plugins/cc-cli/templates/store/render/imports.js: -------------------------------------------------------------------------------- 1 | rendered = renderExample({ 2 | example, 3 | doc, 4 | config, 5 | }); -------------------------------------------------------------------------------- /plugins/cc-cli/templates/story/import/bundle.cjs.js: -------------------------------------------------------------------------------- 1 | const { loadStore } = require('@component-controls/store'); -------------------------------------------------------------------------------- /plugins/cc-cli/templates/story/import/bundle.esm.js: -------------------------------------------------------------------------------- 1 | import { loadStore } from '@component-controls/store'; -------------------------------------------------------------------------------- /plugins/cc-cli/templates/story/import/imports.cjs.js: -------------------------------------------------------------------------------- 1 | const { loadConfigurations } = require('@component-controls/config'); 2 | const { renderExample } = require('@component-controls/test-renderers'); -------------------------------------------------------------------------------- /plugins/cc-cli/templates/story/import/imports.esm.js: -------------------------------------------------------------------------------- 1 | import { loadConfigurations } from '@component-controls/config'; 2 | import { renderExample } from '@component-controls/test-renderers'; -------------------------------------------------------------------------------- /plugins/cc-cli/templates/story/render/bundle.js: -------------------------------------------------------------------------------- 1 | rendered = doc.renderFn({ story, doc }); -------------------------------------------------------------------------------- /plugins/cc-cli/templates/story/render/imports.js: -------------------------------------------------------------------------------- 1 | rendered = renderExample({ 2 | example, 3 | doc, 4 | config, 5 | }); -------------------------------------------------------------------------------- /plugins/cc-cli/templates/top-imports/imports.cjs.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | {{=it.allyimports}} -------------------------------------------------------------------------------- /plugins/cc-cli/templates/top-imports/imports.esm.js: -------------------------------------------------------------------------------- 1 | import * as path from 'path'; 2 | {{=it.allyimports}} -------------------------------------------------------------------------------- /plugins/cc-cli/test/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | module.exports = { 3 | stories: [ 4 | path.resolve( 5 | __dirname, 6 | '../../../../core/jest-extract/test/fixtures/story/*.docs.tsx', 7 | ), 8 | ], 9 | }; 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-enzyme-bundle-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'enzyme', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-enzyme-bundle-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'enzyme', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-enzyme-bundle-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'enzyme', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-enzyme-cjs-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-enzyme-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-enzyme-esm-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-enzyme-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-enzyme-ts-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-enzyme-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-bundle-cjs-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-bundle-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-bundle-esm-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-bundle-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-bundle-ts-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-bundle-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-cjs-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-esm-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-ts-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtl-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-bundle-cjs-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-bundle-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-bundle-esm-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-bundle-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-bundle-ts-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-bundle-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-cjs-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-esm-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-ts-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/document-rtr-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-document-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-enzyme-bundle-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'enzyme', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-enzyme-bundle-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'enzyme', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-enzyme-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-enzyme-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-enzyme-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtl-bundle-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtl-bundle-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtl-bundle-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtl-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtl-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtl-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtr-bundle-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtr-bundle-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtr-bundle-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtr-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtr-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/store-rtr-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-store-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-enzyme-bundle-cjs-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'enzyme', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-enzyme-bundle-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'enzyme', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-enzyme-bundle-esm-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'enzyme', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-enzyme-bundle-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'enzyme', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-enzyme-cjs-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-enzyme-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-enzyme-esm-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-enzyme-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-enzyme-ts-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-enzyme-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'enzyme', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-bundle-cjs-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-bundle-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-bundle-esm-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-bundle-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-bundle-ts-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-bundle-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtl', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-cjs-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-esm-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-ts-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtl-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtl', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-bundle-cjs-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-bundle-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-bundle-esm-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-bundle-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-bundle-ts-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-bundle-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtr', 7 | bundle: path.resolve(__dirname, 'bundle/component-controls.js'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-cjs-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-cjs.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'cjs', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-esm-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-esm.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'esm', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-ts-data.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | data: 3, 9 | }); 10 | -------------------------------------------------------------------------------- /plugins/cc-cli/test/story-rtr-ts.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import { runTests } from './run-story-tests'; 3 | 4 | runTests({ 5 | format: 'ts', 6 | renderer: 'rtr', 7 | config: path.resolve(__dirname, '.config'), 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/figma-embed/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: [ 3 | '../src/**/*.stories.tsx', 4 | ], 5 | }; -------------------------------------------------------------------------------- /plugins/figma-embed/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /plugins/figma-embed/FigmaEmbedPage.d.ts: -------------------------------------------------------------------------------- 1 | import FigmaEmbedPage from './dist/FigmaEmbedPage/FigmaEmbedPage'; 2 | 3 | export default FigmaEmbedPage; 4 | -------------------------------------------------------------------------------- /plugins/figma-embed/FigmaEmbedPage.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist/FigmaEmbedPage'); 2 | -------------------------------------------------------------------------------- /plugins/figma-embed/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts', './src/FigmaEmbedPage/FigmaEmbedPage.tsx'], 5 | output: { 6 | exports: 'auto', 7 | }, 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/figma-embed/src/FigmaEmbedBlock/index.ts: -------------------------------------------------------------------------------- 1 | export * from './FigmaEmbedBlock'; 2 | -------------------------------------------------------------------------------- /plugins/figma-embed/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './FigmaEmbedBlock'; 2 | -------------------------------------------------------------------------------- /plugins/test-renderers/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-typescript", 4 | [ 5 | "@babel/preset-env", 6 | { 7 | "targets": { 8 | "node": "current" 9 | } 10 | } 11 | ], 12 | "@babel/preset-react" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /plugins/test-renderers/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | test/fixtures/ -------------------------------------------------------------------------------- /plugins/test-renderers/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts'], 5 | }); 6 | -------------------------------------------------------------------------------- /plugins/test-renderers/test/fixtures/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: ['../*.docs.tsx'], 3 | instrument: { 4 | components: { 5 | tests: true, 6 | }, 7 | }, 8 | }; 9 | -------------------------------------------------------------------------------- /plugins/viewport-plugin/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: [ 3 | '../src/**/*.stories.tsx', 4 | ], 5 | }; -------------------------------------------------------------------------------- /plugins/viewport-plugin/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /plugins/viewport-plugin/ViewportPage.d.ts: -------------------------------------------------------------------------------- 1 | import ViewportPage from './dist/ViewportPage/ViewportPage'; 2 | 3 | export default ViewportPage; 4 | -------------------------------------------------------------------------------- /plugins/viewport-plugin/ViewportPage.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist/ViewportPage'); 2 | -------------------------------------------------------------------------------- /plugins/viewport-plugin/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts', './src/ViewportPage/ViewportPage.tsx'], 5 | output: { 6 | exports: 'auto', 7 | }, 8 | }); 9 | -------------------------------------------------------------------------------- /plugins/viewport-plugin/src/ViewportBlock/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ViewportBlock'; 2 | -------------------------------------------------------------------------------- /plugins/viewport-plugin/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ViewportBlock'; 2 | -------------------------------------------------------------------------------- /plugins/viewport-plugin/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | import { configure } from 'axe-core'; 2 | 3 | beforeAll(() => { 4 | configure({ 5 | rules: [{ id: 'duplicate-id', enabled: false }], 6 | }); 7 | }); 8 | -------------------------------------------------------------------------------- /props-info/react-docgen-typescript/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-typescript", 4 | [ 5 | "@babel/preset-env", 6 | { 7 | "targets": { 8 | "node": "current" 9 | } 10 | } 11 | ] 12 | ] 13 | } -------------------------------------------------------------------------------- /props-info/react-docgen-typescript/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /props-info/react-docgen-typescript/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts'], 5 | }); 6 | -------------------------------------------------------------------------------- /props-info/react-docgen-typescript/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'react-docgen'; 2 | -------------------------------------------------------------------------------- /props-info/react-docgen-typescript/test/extends.test.ts: -------------------------------------------------------------------------------- 1 | import { loadTestFiles } from './loadTestFiles'; 2 | 3 | describe('extends', () => { 4 | loadTestFiles(['extends']); 5 | }); 6 | -------------------------------------------------------------------------------- /props-info/react-docgen-typescript/test/full.test.ts: -------------------------------------------------------------------------------- 1 | import { loadTestFiles } from './loadTestFiles'; 2 | 3 | describe('full', () => { 4 | loadTestFiles(['full']); 5 | }); 6 | -------------------------------------------------------------------------------- /props-info/react-docgen-typescript/test/jsx.test.ts: -------------------------------------------------------------------------------- 1 | import { loadTestFiles } from './loadTestFiles'; 2 | 3 | describe('jsx', () => { 4 | loadTestFiles(['jsx']); 5 | }); 6 | -------------------------------------------------------------------------------- /props-info/react-docgen-typescript/test/other.test.ts: -------------------------------------------------------------------------------- 1 | import { loadTestFiles } from './loadTestFiles'; 2 | 3 | describe('other', () => { 4 | loadTestFiles(['other']); 5 | }); 6 | -------------------------------------------------------------------------------- /props-info/react-docgen/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-typescript", 4 | "@babel/preset-flow", 5 | [ 6 | "@babel/preset-env", 7 | { 8 | "targets": { 9 | "node": "current" 10 | } 11 | } 12 | ] 13 | ] 14 | } -------------------------------------------------------------------------------- /props-info/react-docgen/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | test -------------------------------------------------------------------------------- /props-info/react-docgen/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts'], 5 | }); 6 | -------------------------------------------------------------------------------- /props-info/react-docgen/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'react-docgen'; 2 | -------------------------------------------------------------------------------- /props-info/react-docgen/test/flow-type.test.ts: -------------------------------------------------------------------------------- 1 | import { loadTestFiles } from './loadTestFiles'; 2 | 3 | describe('flow-type', () => { 4 | loadTestFiles('flow-type'); 5 | }); 6 | -------------------------------------------------------------------------------- /props-info/react-docgen/test/jsx.test.ts: -------------------------------------------------------------------------------- 1 | import { loadTestFiles } from './loadTestFiles'; 2 | 3 | describe('jsx', () => { 4 | loadTestFiles('jsx'); 5 | }); 6 | -------------------------------------------------------------------------------- /props-info/react-docgen/test/prop-types.test.ts: -------------------------------------------------------------------------------- 1 | import { loadTestFiles } from './loadTestFiles'; 2 | 3 | describe('prop-types', () => { 4 | loadTestFiles('prop-types'); 5 | }); 6 | -------------------------------------------------------------------------------- /props-info/react-docgen/test/typescript.test.ts: -------------------------------------------------------------------------------- 1 | import { loadTestFiles } from './loadTestFiles'; 2 | 3 | describe('typescript', () => { 4 | loadTestFiles('typescript'); 5 | }); 6 | -------------------------------------------------------------------------------- /search/algolia/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /search/algolia/indexing.d.ts: -------------------------------------------------------------------------------- 1 | export * from './dist/indexing'; 2 | -------------------------------------------------------------------------------- /search/algolia/indexing.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist/indexing'); 2 | -------------------------------------------------------------------------------- /search/algolia/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts', './src/indexing.ts'], 5 | output: { 6 | exports: 'auto', 7 | }, 8 | }); 9 | -------------------------------------------------------------------------------- /search/algolia/src/index.ts: -------------------------------------------------------------------------------- 1 | import { useSearch } from './useSearch'; 2 | export { AlgoliaSearchOptions } from './types'; 3 | 4 | export default useSearch; 5 | -------------------------------------------------------------------------------- /search/fusejs/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /search/fusejs/indexing.d.ts: -------------------------------------------------------------------------------- 1 | export * from './dist/indexing'; 2 | -------------------------------------------------------------------------------- /search/fusejs/indexing.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist/indexing'); 2 | -------------------------------------------------------------------------------- /search/fusejs/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: ['./src/index.ts', './src/indexing.ts'], 5 | output: { 6 | exports: 'auto', 7 | }, 8 | }); 9 | -------------------------------------------------------------------------------- /search/fusejs/src/index.ts: -------------------------------------------------------------------------------- 1 | import { useSearch } from './useSearch'; 2 | export { FuseJSSearchOptions } from './types'; 3 | 4 | export default useSearch; 5 | -------------------------------------------------------------------------------- /search/fusejs/src/indexing.ts: -------------------------------------------------------------------------------- 1 | export default async (): Promise => { 2 | return; 3 | }; 4 | -------------------------------------------------------------------------------- /ui/app/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: [ 3 | '../src/**/*.stories.tsx', 4 | ], 5 | }; -------------------------------------------------------------------------------- /ui/app/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /ui/app/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: './src/index.ts', 5 | }); 6 | -------------------------------------------------------------------------------- /ui/app/src/App/index.ts: -------------------------------------------------------------------------------- 1 | export * from './App'; 2 | -------------------------------------------------------------------------------- /ui/app/src/AppContext/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AppContext'; 2 | -------------------------------------------------------------------------------- /ui/app/src/AppError/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AppError'; 2 | -------------------------------------------------------------------------------- /ui/app/src/CategoryList/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CategoryList'; 2 | -------------------------------------------------------------------------------- /ui/app/src/CategoryPage/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CategoryPage'; 2 | -------------------------------------------------------------------------------- /ui/app/src/Container/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Container'; 2 | -------------------------------------------------------------------------------- /ui/app/src/DocPage/index.ts: -------------------------------------------------------------------------------- 1 | export * from './DocPage'; 2 | -------------------------------------------------------------------------------- /ui/app/src/DocumentHomePage/index.ts: -------------------------------------------------------------------------------- 1 | export * from './DocumentHomePage'; 2 | -------------------------------------------------------------------------------- /ui/app/src/DocumentsList/index.ts: -------------------------------------------------------------------------------- 1 | export * from './DocumentsList'; 2 | -------------------------------------------------------------------------------- /ui/app/src/Footer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Footer'; 2 | -------------------------------------------------------------------------------- /ui/app/src/Header/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Header'; 2 | -------------------------------------------------------------------------------- /ui/app/src/Header/media/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccontrols/component-controls/e3a4dcf74417de3bcba0614dd2b29426e67ce592/ui/app/src/Header/media/logo.png -------------------------------------------------------------------------------- /ui/app/src/Links/index.ts: -------------------------------------------------------------------------------- 1 | export * from './DocLink'; 2 | export * from './DocsLink'; 3 | export * from './StoryLink'; 4 | -------------------------------------------------------------------------------- /ui/app/src/PageContainer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './PageContainer'; 2 | -------------------------------------------------------------------------------- /ui/app/src/SEO/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SEO'; 2 | export * from './defaultLinks'; 3 | -------------------------------------------------------------------------------- /ui/app/src/SEO/media/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccontrols/component-controls/e3a4dcf74417de3bcba0614dd2b29426e67ce592/ui/app/src/SEO/media/android-chrome-192x192.png -------------------------------------------------------------------------------- /ui/app/src/SEO/media/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccontrols/component-controls/e3a4dcf74417de3bcba0614dd2b29426e67ce592/ui/app/src/SEO/media/android-chrome-512x512.png -------------------------------------------------------------------------------- /ui/app/src/SEO/media/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccontrols/component-controls/e3a4dcf74417de3bcba0614dd2b29426e67ce592/ui/app/src/SEO/media/apple-touch-icon.png -------------------------------------------------------------------------------- /ui/app/src/SEO/media/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccontrols/component-controls/e3a4dcf74417de3bcba0614dd2b29426e67ce592/ui/app/src/SEO/media/favicon-16x16.png -------------------------------------------------------------------------------- /ui/app/src/SEO/media/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccontrols/component-controls/e3a4dcf74417de3bcba0614dd2b29426e67ce592/ui/app/src/SEO/media/favicon-32x32.png -------------------------------------------------------------------------------- /ui/app/src/SEO/media/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccontrols/component-controls/e3a4dcf74417de3bcba0614dd2b29426e67ce592/ui/app/src/SEO/media/favicon.ico -------------------------------------------------------------------------------- /ui/app/src/SEO/media/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccontrols/component-controls/e3a4dcf74417de3bcba0614dd2b29426e67ce592/ui/app/src/SEO/media/mstile-150x150.png -------------------------------------------------------------------------------- /ui/app/src/SideContext/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SideContext'; 2 | -------------------------------------------------------------------------------- /ui/app/src/Sidebar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Sidebar'; 2 | -------------------------------------------------------------------------------- /ui/app/src/SidebarsPage/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SidebarsMDXPage'; 2 | export * from './SidebarsPage'; 3 | export * from './SidebarsStoryPage'; 4 | -------------------------------------------------------------------------------- /ui/app/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '@analytics/google-analytics'; 2 | declare module '*.jpg'; 3 | declare module '*.png'; 4 | declare module '*.svg'; 5 | -------------------------------------------------------------------------------- /ui/blocks/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: [ 3 | '../src/**/*.stories.tsx', 4 | ], 5 | }; -------------------------------------------------------------------------------- /ui/blocks/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | *.mdx -------------------------------------------------------------------------------- /ui/blocks/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: './src/index.ts', 5 | }); 6 | -------------------------------------------------------------------------------- /ui/blocks/src/BlockContainer/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentsBlockContainer'; 2 | export * from './ComponentsContainer'; 3 | -------------------------------------------------------------------------------- /ui/blocks/src/BlockContainer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './components'; 2 | export * from './story'; 3 | -------------------------------------------------------------------------------- /ui/blocks/src/BlockContainer/story/index.ts: -------------------------------------------------------------------------------- 1 | export * from './StoryBlockContainer'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/CommitsPopover/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CommitsPopover'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/ComponentCommits/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BaseComponentCommits'; 2 | export * from './ComponentCommits'; 3 | -------------------------------------------------------------------------------- /ui/blocks/src/ComponentContributors/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentContributors'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/ComponentDependencies/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ExternalDependencies'; 2 | export * from './LocalDependencies'; 3 | export * from './types'; 4 | -------------------------------------------------------------------------------- /ui/blocks/src/ComponentDependencies/types.ts: -------------------------------------------------------------------------------- 1 | import { ComponentsBlockContainerProps } from '../BlockContainer/components/ComponentsBlockContainer'; 2 | 3 | export type DependenciesProps = Omit; 4 | -------------------------------------------------------------------------------- /ui/blocks/src/ComponentJSX/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentJSX'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/ComponentSource/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentSource'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/ComponentStats/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ComponentStats'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/Container/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Container'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/Description/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Description'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/DocumentItem/index.ts: -------------------------------------------------------------------------------- 1 | export * from './DocumentItem'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/EditPage/index.ts: -------------------------------------------------------------------------------- 1 | export * from './EditPage'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/PackageLink/index.ts: -------------------------------------------------------------------------------- 1 | export * from './LocalImport'; 2 | export * from './PackageVersion'; 3 | export * from './PackageLink'; 4 | -------------------------------------------------------------------------------- /ui/blocks/src/PageContainer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './PageContainer'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/PageTypeTag/index.ts: -------------------------------------------------------------------------------- 1 | export * from './PageTypeTag'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/Pagination/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Pagination'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/Playground/Meta.tsx: -------------------------------------------------------------------------------- 1 | import { ReactNode } from 'react'; 2 | 3 | export const Meta = (): ReactNode => null; 4 | -------------------------------------------------------------------------------- /ui/blocks/src/Playground/PlaygroundContext.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from 'react'; 2 | 3 | export interface PlaygroundContextProps { 4 | useDescription: boolean; 5 | } 6 | export const PlaygroundContext = createContext({ 7 | useDescription: false, 8 | }); 9 | -------------------------------------------------------------------------------- /ui/blocks/src/Playground/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Playground'; 2 | export * from './BasePlayground'; 3 | export * from './StoryPlayground'; 4 | export * from './PlaygroundContext'; 5 | -------------------------------------------------------------------------------- /ui/blocks/src/PropsTable/index.ts: -------------------------------------------------------------------------------- 1 | export * from './PropsTable'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/Search/__snapshots__/Search.test.ts.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Search overview snapshot 1`] = ``; 4 | -------------------------------------------------------------------------------- /ui/blocks/src/Search/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Search'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/Stories/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Stories'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/Story/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Story'; 2 | export { StoryRender } from './StoryRender'; 3 | -------------------------------------------------------------------------------- /ui/blocks/src/StoryConfig/index.ts: -------------------------------------------------------------------------------- 1 | export * from './StoryConfig'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/StoryData/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BaseStoryData'; 2 | export * from './StoryData'; 3 | -------------------------------------------------------------------------------- /ui/blocks/src/StorySource/index.ts: -------------------------------------------------------------------------------- 1 | export * from './StorySource'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/Subtitle/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Subtitle'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/TagsList/index.ts: -------------------------------------------------------------------------------- 1 | export * from './TagsList'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/TestsCoverage/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BaseTestsCoverage'; 2 | export * from './TestsCoverage'; 3 | -------------------------------------------------------------------------------- /ui/blocks/src/TestsResults/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BaseTestsResults'; 2 | export * from './TestsResults'; 3 | -------------------------------------------------------------------------------- /ui/blocks/src/ThemeProvider/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ThemeProvider'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/Title/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Title'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/context/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BlockContext'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/notifications/InvalidType.tsx: -------------------------------------------------------------------------------- 1 | import React, { FC } from 'react'; 2 | 3 | /** 4 | * error message when the control type is not found. 5 | */ 6 | export const InvalidType: FC = () => Invalid Type; 7 | -------------------------------------------------------------------------------- /ui/blocks/src/notifications/index.ts: -------------------------------------------------------------------------------- 1 | export * from './InvalidType'; 2 | -------------------------------------------------------------------------------- /ui/blocks/src/test/image_example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccontrols/component-controls/e3a4dcf74417de3bcba0614dd2b29426e67ce592/ui/blocks/src/test/image_example.jpg -------------------------------------------------------------------------------- /ui/blocks/src/test/index.ts: -------------------------------------------------------------------------------- 1 | export * from './MockContext'; 2 | export * from './storyStore'; 3 | -------------------------------------------------------------------------------- /ui/blocks/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'global'; 2 | declare module '@theme-ui/presets'; 3 | declare module 'js-string-escape'; 4 | declare module '*.jpg'; 5 | declare module 'ansi-to-html'; 6 | -------------------------------------------------------------------------------- /ui/blocks/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './constants'; 2 | export * from './repositoryActions'; 3 | export * from './url'; 4 | -------------------------------------------------------------------------------- /ui/components/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: ['../src/**/*.stories.tsx'], 3 | }; 4 | -------------------------------------------------------------------------------- /ui/components/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | *.mdx -------------------------------------------------------------------------------- /ui/components/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: './src/index.ts', 5 | }); 6 | -------------------------------------------------------------------------------- /ui/components/src/ActionBar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ActionBar'; 2 | export * from './utils'; 3 | -------------------------------------------------------------------------------- /ui/components/src/ActionContainer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ActionContainer'; 2 | -------------------------------------------------------------------------------- /ui/components/src/BlockContainer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BlockContainer'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Collapsible/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Collapsible'; 2 | -------------------------------------------------------------------------------- /ui/components/src/ColorMode/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ColorMode'; 2 | -------------------------------------------------------------------------------- /ui/components/src/CopyContainer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CopyContainer'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Description/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Description'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Donut/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Donut'; 2 | -------------------------------------------------------------------------------- /ui/components/src/ExternalLink/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ExternalLink'; 2 | -------------------------------------------------------------------------------- /ui/components/src/GithubAvatar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './GithubAvatar'; 2 | -------------------------------------------------------------------------------- /ui/components/src/GithubAvatarList/index.ts: -------------------------------------------------------------------------------- 1 | export * from './GithubAvatarList'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Header/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Header'; 2 | -------------------------------------------------------------------------------- /ui/components/src/HoverBox/index.ts: -------------------------------------------------------------------------------- 1 | export * from './HoverBox'; 2 | -------------------------------------------------------------------------------- /ui/components/src/InfoTip/index.ts: -------------------------------------------------------------------------------- 1 | export * from './InfoTip'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Keyboard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Keyboard'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Link/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Link'; 2 | export * from './LinkContext'; 3 | export * from './useIsLocalLink'; 4 | -------------------------------------------------------------------------------- /ui/components/src/LinkHeading/index.ts: -------------------------------------------------------------------------------- 1 | export * from './LinkHeading'; 2 | export * from './pageLink'; 3 | -------------------------------------------------------------------------------- /ui/components/src/Markdown/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Markdown'; 2 | export * from './MarkdownComponents'; 3 | -------------------------------------------------------------------------------- /ui/components/src/Multiselect/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Multiselect'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Pagination/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Pagination'; 2 | -------------------------------------------------------------------------------- /ui/components/src/PanelContainer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './PanelContainer'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Popover/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Popover'; 2 | -------------------------------------------------------------------------------- /ui/components/src/ProgressIndicator/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ProgressIndicator'; 2 | -------------------------------------------------------------------------------- /ui/components/src/SearchInput/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SearchInput'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Shield/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Shield'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Sidebar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Sidebar'; 2 | export * from './SidebarContext'; 3 | -------------------------------------------------------------------------------- /ui/components/src/SkipLinks/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SkipLinks'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Source/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Source'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Subtitle/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Subtitle'; 2 | -------------------------------------------------------------------------------- /ui/components/src/SyntaxHighlighter/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SyntaxHighlighter'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Table/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Table'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Tabs/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Tabs'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Tag/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Tag'; 2 | -------------------------------------------------------------------------------- /ui/components/src/ThemeContext/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ThemeContext'; 2 | export * from './theme'; 3 | -------------------------------------------------------------------------------- /ui/components/src/TitledImage/index.ts: -------------------------------------------------------------------------------- 1 | export * from './TitledImage'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Toggle/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Toggle'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Tree/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Tree'; 2 | export * from './tree-utils'; 3 | -------------------------------------------------------------------------------- /ui/components/src/Value/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Value'; 2 | -------------------------------------------------------------------------------- /ui/components/src/Zoom/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Zoom'; 2 | -------------------------------------------------------------------------------- /ui/components/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | import MatchMediaMock from 'jest-matchmedia-mock'; 2 | 3 | export const matchMedia = new MatchMediaMock(); 4 | -------------------------------------------------------------------------------- /ui/design-tokens/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: [ 3 | '../src/**/*.stories.tsx', 4 | ], 5 | }; -------------------------------------------------------------------------------- /ui/design-tokens/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /ui/design-tokens/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: './src/index.ts', 5 | }); 6 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/Alta/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AltaColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/AntdHorzColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AntdHorzColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/AntdVertColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AntdVertColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/AnvilColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AnvilColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/AtlassianColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AtlassianColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/AudiDSColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AudiDSColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/BackpackColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BackpackColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/BaseWebColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BaseWebColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/BeelineColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BeelineColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/BoltColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BoltColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/CanvasColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CanvasColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/CedarColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CedarColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/CometColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CometColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/DuetColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './DuetColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/ETradeColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ETradeColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/FinastraColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './FinastraColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/FishTankColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './FishTankColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/GovUKColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './GovUKColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/HelpScoutColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './HelpScoutColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/IBMDLColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './IBMDLColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/LightningColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './LightningColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/LiquidColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './LiquidColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/MorningstarColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './MorningstarColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/OPatternColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './OPatternColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/PajamasColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './PajamasColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/PatternFlyColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './PatternFlyColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/PhotonColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './PhotonColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/PrimerColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './PrimerColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/SeedsColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SeedsColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/SeekColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SeekColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/SkylineColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SkylineColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/SolidColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SolidColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/TableColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './TableColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/UniformColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './UniformColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/VanillaColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './VanillaColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/XColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './XColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Colors/ZendeskColor/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ZendeskColor'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Fonts/LightningFont/index.ts: -------------------------------------------------------------------------------- 1 | export * from './LightningFont'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/Fonts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './LightningFont'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/containers/FlexContainer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './FlexContainer'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/containers/GridContainer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './GridContainer'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/containers/TableContainer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './TableContainer'; 2 | -------------------------------------------------------------------------------- /ui/design-tokens/src/containers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './FlexContainer'; 2 | export * from './GridContainer'; 3 | export * from './TableContainer'; 4 | -------------------------------------------------------------------------------- /ui/design-tokens/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Colors'; 2 | export * from './Fonts'; 3 | -------------------------------------------------------------------------------- /ui/design-tokens/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'simple-color-converter'; 2 | -------------------------------------------------------------------------------- /ui/editors/.config/buildtime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: [ 3 | '../src/**/*.stories.tsx', 4 | ], 5 | }; -------------------------------------------------------------------------------- /ui/editors/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /ui/editors/rollup.config.js: -------------------------------------------------------------------------------- 1 | import { config } from '../../rollup-config'; 2 | 3 | export default config({ 4 | input: './src/index.ts', 5 | }); 6 | -------------------------------------------------------------------------------- /ui/editors/src/ArrayEditor/index.ts: -------------------------------------------------------------------------------- 1 | export { ArrayEditor } from './ArrayEditor'; 2 | -------------------------------------------------------------------------------- /ui/editors/src/BooleanEditor/index.ts: -------------------------------------------------------------------------------- 1 | export { BooleanEditor } from './BooleanEditor'; 2 | -------------------------------------------------------------------------------- /ui/editors/src/ButtonEditor/index.ts: -------------------------------------------------------------------------------- 1 | export { ButtonEditor } from './ButtonEditor'; 2 | -------------------------------------------------------------------------------- /ui/editors/src/ColorEditor/index.ts: -------------------------------------------------------------------------------- 1 | export { ColorEditor } from './ColorEditor'; 2 | -------------------------------------------------------------------------------- /ui/editors/src/DateEditor/index.ts: -------------------------------------------------------------------------------- 1 | export { DateEditor } from './DateEditor'; 2 | -------------------------------------------------------------------------------- /ui/editors/src/EditButton.tsx: -------------------------------------------------------------------------------- 1 | /** @jsx jsx */ 2 | import { FC } from 'react'; 3 | import { jsx, Button, ButtonProps } from 'theme-ui'; 4 | 5 | export const EditButton: FC = props => ( 6 |