├── .babelrc ├── .eslintignore ├── .eslintrc ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .prettierignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── example ├── .babelrc ├── .eslintrc.js ├── base64-loader.js ├── package.json ├── src │ ├── Button.js │ ├── ButtonToolbar.js │ ├── ComposedButton.js │ ├── List.js │ ├── client.js │ └── styles │ │ └── mixins.scss ├── webpack.config.js └── yarn.lock ├── package.json ├── renovate.json ├── src ├── VirtualModulePlugin.ts ├── cli.ts ├── codemods │ ├── convert-css-to-stylesheet.ts │ └── rename-styled-import.ts ├── config.ts ├── features │ ├── css-prop.ts │ ├── styled-component.ts │ └── stylesheet.ts ├── getLocalIdent.ts ├── globals.d.ts ├── helpers.js ├── inline-loader.ts ├── loader.ts ├── plugin.ts ├── preset.ts ├── runtime │ ├── index.d.ts │ ├── index.js │ ├── jsx.js │ ├── react.d.ts │ └── react.js ├── traverse.ts ├── types.ts ├── utils │ ├── ImportInjector.ts │ ├── Symbols.ts │ ├── addPragma.ts │ ├── buildTaggedTemplate.ts │ ├── createFilename.ts │ ├── createStyleNode.ts │ ├── cssUnits.ts │ ├── getDisplayName.ts │ ├── getLoaderPrefix.ts │ ├── getMembers.ts │ ├── getName.ts │ ├── getNameFromPath.ts │ ├── hasAttrs.ts │ ├── isCssTag.ts │ ├── isStyledTag.ts │ ├── isStyledTagShorthand.ts │ ├── isStylesheetTag.ts │ ├── loaders.ts │ ├── murmurHash.ts │ ├── normalizeAttrs.ts │ ├── pascalCase.ts │ ├── processCss.ts │ ├── replaceComposes.ts │ ├── resolveDependency.ts │ ├── toVarsArray.ts │ ├── trimEnd.ts │ ├── trimExpressions.ts │ ├── truthy.ts │ └── wrapInClass.ts ├── vfs-loader.ts └── vite-plugin.ts ├── test ├── __file_snapshots__ │ ├── cli__no-out-file__typescript-Button.css │ ├── cli__no-out-file__typescript-CssProp1_Button.css │ ├── cli__no-out-file__typescript-CssProp2_Button.css │ ├── cli__no-out-file__typescript-styles.css │ ├── cli__no-out-file__typescript.tsx │ ├── cli__out.css │ ├── cli__out_file__out.css │ ├── cli__out_file__typescript.tsx │ ├── cli__typescript-Button.css │ ├── cli__typescript-CssProp1_Button.css │ ├── cli__typescript-CssProp2_Button.css │ ├── cli__typescript-styles.css │ ├── cli__typescript.tsx │ ├── css-loader-1-js.js │ ├── css-loader-1-styles.css │ ├── default-plugins-chain-js.js │ ├── default-plugins-chain-styles.css │ ├── default-plugins-js.js │ ├── default-plugins-styles.css │ ├── integration-js.js │ ├── integration-styles.css │ ├── issue-365-js.js │ ├── issue-365-styles.css │ ├── loader__css-prop-CssProp1_button.css │ ├── loader__css-prop-CssProp2_button.css │ ├── loader__css-prop-CssProp3_button.css │ ├── loader__css-prop-CssProp4_button.css │ ├── loader__css-prop-CssProp5_button.css │ ├── loader__css-prop-CssProp5_span.css │ ├── loader__css-prop.js │ ├── loader__element-shorthand-FancyBox.css │ ├── loader__element-shorthand.js │ ├── loader__empty-css-styles.css │ ├── loader__empty-css.js │ ├── loader__escape-sequences-styles.css │ ├── loader__escape-sequences.js │ ├── loader__icss-export-styles.css │ ├── loader__icss-export.js │ ├── loader__multiple-components-FancyBox.css │ ├── loader__multiple-components-FancyHeader.css │ ├── loader__multiple-components.js │ ├── loader__pass-options-FancierBox.css │ ├── loader__pass-options-FancyBox.css │ ├── loader__pass-options.js │ ├── loader__styled-FancierBox.css │ ├── loader__styled-FancyBox.css │ ├── loader__styled-global-FancierBox.css │ ├── loader__styled-global-FancyBox.css │ ├── loader__styled-global.js │ ├── loader__styled-interpolations-Button.css │ ├── loader__styled-interpolations-FancierBox.css │ ├── loader__styled-interpolations-FancyBox.css │ ├── loader__styled-interpolations-base.css │ ├── loader__styled-interpolations-other.css │ ├── loader__styled-interpolations.js │ ├── loader__styled-tag-FancierBox.css │ ├── loader__styled-tag-FancyBox.css │ ├── loader__styled-tag.js │ ├── loader__styled.js │ ├── loader__typescript-Button.css │ ├── loader__typescript-CssProp1_Button.css │ ├── loader__typescript-CssProp2_Button.css │ ├── loader__typescript-styles.css │ ├── loader__typescript.tsx │ ├── loader__with-props-RedPasswordInput.css │ ├── loader__with-props-RedPasswordInput2.css │ ├── loader__with-props.js │ ├── plugin__css-prop-CssProp1_button.css │ ├── plugin__css-prop-CssProp2_button.css │ ├── plugin__css-prop-CssProp3_button.css │ ├── plugin__css-prop-CssProp4_button.css │ ├── plugin__css-prop-CssProp5_button.css │ ├── plugin__css-prop-CssProp5_span.css │ ├── plugin__css-prop.js │ ├── plugin__element-shorthand-FancyBox.css │ ├── plugin__element-shorthand.js │ ├── plugin__empty-css-styles.css │ ├── plugin__empty-css.js │ ├── plugin__escape-sequences-styles.css │ ├── plugin__escape-sequences.js │ ├── plugin__icss-export-styles.css │ ├── plugin__icss-export.js │ ├── plugin__multiple-components-FancyBox.css │ ├── plugin__multiple-components-FancyHeader.css │ ├── plugin__multiple-components.js │ ├── plugin__pass-options-FancierBox.css │ ├── plugin__pass-options-FancyBox.css │ ├── plugin__pass-options.js │ ├── plugin__styled-FancierBox.css │ ├── plugin__styled-FancyBox.css │ ├── plugin__styled-global-FancierBox.css │ ├── plugin__styled-global-FancyBox.css │ ├── plugin__styled-global.js │ ├── plugin__styled-interpolations-Button.css │ ├── plugin__styled-interpolations-FancierBox.css │ ├── plugin__styled-interpolations-FancyBox.css │ ├── plugin__styled-interpolations-base.css │ ├── plugin__styled-interpolations-other.css │ ├── plugin__styled-interpolations.js │ ├── plugin__styled-tag-FancierBox.css │ ├── plugin__styled-tag-FancyBox.css │ ├── plugin__styled-tag.js │ ├── plugin__styled.js │ ├── plugin__with-props-RedPasswordInput.css │ ├── plugin__with-props-RedPasswordInput2.css │ └── plugin__with-props.js ├── babel.test.js ├── cli.test.js ├── css-prop.test.js ├── css-tag.test.js ├── custom-properties.test.js ├── dependencies.test.js ├── fixtures.test.js ├── fixtures │ ├── css-prop.js │ ├── element-shorthand.js │ ├── empty-css.js │ ├── escape-sequences.js │ ├── icss-export.js │ ├── multiple-components.js │ ├── pass-options.js │ ├── styled-global.js │ ├── styled-global.json │ ├── styled-interpolations.js │ ├── styled-tag.js │ ├── styled-tag.json │ ├── styled.js │ ├── typescript.json │ ├── typescript.tsx │ └── with-props.js ├── helpers.js ├── imports.test.js ├── integration.test.js ├── integration │ ├── Button.js │ ├── cycle-2.js │ ├── cycle.js │ ├── error-default-import.js │ ├── error-named-import.js │ ├── issue-365.js │ ├── main.js │ ├── shared │ │ ├── widget │ │ │ ├── index.js │ │ │ └── package.json │ │ └── withConfig │ │ │ ├── index.js │ │ │ └── package.json │ └── styles │ │ ├── plain-css.css │ │ ├── test-1.scss │ │ └── utils.scss ├── loader.test.js ├── setup.js ├── styled.test.js ├── stylesheet-tag.test.js ├── tag-loader.js ├── tsconfig.json ├── variants.test.js └── webpack-helpers.ts ├── tsconfig.json ├── types ├── .eslintrc.js ├── test.tsx └── tsconfig.json ├── www ├── .gitignore ├── deploy.sh ├── index.html ├── package.json ├── postcss.config.cjs ├── src │ ├── App.tsx │ ├── Button.tsx │ ├── CodeBlock.tsx │ ├── Layout.tsx │ ├── MDXContext.tsx │ ├── assets │ │ ├── dodad-1.svg │ │ ├── dodad-2.svg │ │ ├── dodad-3.svg │ │ └── logo.svg │ ├── index.css │ ├── main.tsx │ ├── pages │ │ ├── advanced.mdx │ │ ├── cross-file-dependencies.mdx │ │ ├── index.tsx │ │ ├── introduction.mdx │ │ ├── migration.mdx │ │ ├── setup.mdx │ │ └── tooling.mdx │ ├── styles.css │ ├── theme.ts │ └── vite-env.d.ts ├── tailwind.config.cjs ├── theme.cjs ├── tsconfig.json ├── tsconfig.node.json ├── vite.config.ts └── yarn.lock └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/.prettierignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/README.md -------------------------------------------------------------------------------- /example/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@4c", { "target": "web" }]] 3 | } 4 | -------------------------------------------------------------------------------- /example/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/example/.eslintrc.js -------------------------------------------------------------------------------- /example/base64-loader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/example/base64-loader.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/example/package.json -------------------------------------------------------------------------------- /example/src/Button.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/example/src/Button.js -------------------------------------------------------------------------------- /example/src/ButtonToolbar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/example/src/ButtonToolbar.js -------------------------------------------------------------------------------- /example/src/ComposedButton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/example/src/ComposedButton.js -------------------------------------------------------------------------------- /example/src/List.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/example/src/List.js -------------------------------------------------------------------------------- /example/src/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/example/src/client.js -------------------------------------------------------------------------------- /example/src/styles/mixins.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/example/src/styles/mixins.scss -------------------------------------------------------------------------------- /example/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/example/webpack.config.js -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/example/yarn.lock -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/package.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["github>4Catalyzer/renovate-config:library", ":automergeMinor"] 3 | } 4 | -------------------------------------------------------------------------------- /src/VirtualModulePlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/VirtualModulePlugin.ts -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/codemods/convert-css-to-stylesheet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/codemods/convert-css-to-stylesheet.ts -------------------------------------------------------------------------------- /src/codemods/rename-styled-import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/codemods/rename-styled-import.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/features/css-prop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/features/css-prop.ts -------------------------------------------------------------------------------- /src/features/styled-component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/features/styled-component.ts -------------------------------------------------------------------------------- /src/features/stylesheet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/features/stylesheet.ts -------------------------------------------------------------------------------- /src/getLocalIdent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/getLocalIdent.ts -------------------------------------------------------------------------------- /src/globals.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/globals.d.ts -------------------------------------------------------------------------------- /src/helpers.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./runtime/helpers'); // eslint-disable-line 2 | -------------------------------------------------------------------------------- /src/inline-loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/inline-loader.ts -------------------------------------------------------------------------------- /src/loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/loader.ts -------------------------------------------------------------------------------- /src/plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/plugin.ts -------------------------------------------------------------------------------- /src/preset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/preset.ts -------------------------------------------------------------------------------- /src/runtime/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/runtime/index.d.ts -------------------------------------------------------------------------------- /src/runtime/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/runtime/index.js -------------------------------------------------------------------------------- /src/runtime/jsx.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/runtime/jsx.js -------------------------------------------------------------------------------- /src/runtime/react.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/runtime/react.d.ts -------------------------------------------------------------------------------- /src/runtime/react.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/runtime/react.js -------------------------------------------------------------------------------- /src/traverse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/traverse.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/ImportInjector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/ImportInjector.ts -------------------------------------------------------------------------------- /src/utils/Symbols.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/Symbols.ts -------------------------------------------------------------------------------- /src/utils/addPragma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/addPragma.ts -------------------------------------------------------------------------------- /src/utils/buildTaggedTemplate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/buildTaggedTemplate.ts -------------------------------------------------------------------------------- /src/utils/createFilename.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/createFilename.ts -------------------------------------------------------------------------------- /src/utils/createStyleNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/createStyleNode.ts -------------------------------------------------------------------------------- /src/utils/cssUnits.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/cssUnits.ts -------------------------------------------------------------------------------- /src/utils/getDisplayName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/getDisplayName.ts -------------------------------------------------------------------------------- /src/utils/getLoaderPrefix.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/getLoaderPrefix.ts -------------------------------------------------------------------------------- /src/utils/getMembers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/getMembers.ts -------------------------------------------------------------------------------- /src/utils/getName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/getName.ts -------------------------------------------------------------------------------- /src/utils/getNameFromPath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/getNameFromPath.ts -------------------------------------------------------------------------------- /src/utils/hasAttrs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/hasAttrs.ts -------------------------------------------------------------------------------- /src/utils/isCssTag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/isCssTag.ts -------------------------------------------------------------------------------- /src/utils/isStyledTag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/isStyledTag.ts -------------------------------------------------------------------------------- /src/utils/isStyledTagShorthand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/isStyledTagShorthand.ts -------------------------------------------------------------------------------- /src/utils/isStylesheetTag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/isStylesheetTag.ts -------------------------------------------------------------------------------- /src/utils/loaders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/loaders.ts -------------------------------------------------------------------------------- /src/utils/murmurHash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/murmurHash.ts -------------------------------------------------------------------------------- /src/utils/normalizeAttrs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/normalizeAttrs.ts -------------------------------------------------------------------------------- /src/utils/pascalCase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/pascalCase.ts -------------------------------------------------------------------------------- /src/utils/processCss.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/processCss.ts -------------------------------------------------------------------------------- /src/utils/replaceComposes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/replaceComposes.ts -------------------------------------------------------------------------------- /src/utils/resolveDependency.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/resolveDependency.ts -------------------------------------------------------------------------------- /src/utils/toVarsArray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/toVarsArray.ts -------------------------------------------------------------------------------- /src/utils/trimEnd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/trimEnd.ts -------------------------------------------------------------------------------- /src/utils/trimExpressions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/trimExpressions.ts -------------------------------------------------------------------------------- /src/utils/truthy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/truthy.ts -------------------------------------------------------------------------------- /src/utils/wrapInClass.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/utils/wrapInClass.ts -------------------------------------------------------------------------------- /src/vfs-loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/vfs-loader.ts -------------------------------------------------------------------------------- /src/vite-plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/src/vite-plugin.ts -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__no-out-file__typescript-Button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__no-out-file__typescript-Button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__no-out-file__typescript-CssProp1_Button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__no-out-file__typescript-CssProp1_Button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__no-out-file__typescript-CssProp2_Button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__no-out-file__typescript-CssProp2_Button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__no-out-file__typescript-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__no-out-file__typescript-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__no-out-file__typescript.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__no-out-file__typescript.tsx -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__out.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__out.css -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__out_file__out.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__out_file__out.css -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__out_file__typescript.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__out_file__typescript.tsx -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__typescript-Button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__typescript-Button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__typescript-CssProp1_Button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__typescript-CssProp1_Button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__typescript-CssProp2_Button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__typescript-CssProp2_Button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__typescript-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__typescript-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/cli__typescript.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/cli__typescript.tsx -------------------------------------------------------------------------------- /test/__file_snapshots__/css-loader-1-js.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/css-loader-1-js.js -------------------------------------------------------------------------------- /test/__file_snapshots__/css-loader-1-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/css-loader-1-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/default-plugins-chain-js.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/default-plugins-chain-js.js -------------------------------------------------------------------------------- /test/__file_snapshots__/default-plugins-chain-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/default-plugins-chain-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/default-plugins-js.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/default-plugins-js.js -------------------------------------------------------------------------------- /test/__file_snapshots__/default-plugins-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/default-plugins-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/integration-js.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/integration-js.js -------------------------------------------------------------------------------- /test/__file_snapshots__/integration-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/integration-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/issue-365-js.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/issue-365-js.js -------------------------------------------------------------------------------- /test/__file_snapshots__/issue-365-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/issue-365-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__css-prop-CssProp1_button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__css-prop-CssProp1_button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__css-prop-CssProp2_button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__css-prop-CssProp2_button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__css-prop-CssProp3_button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__css-prop-CssProp3_button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__css-prop-CssProp4_button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__css-prop-CssProp4_button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__css-prop-CssProp5_button.css: -------------------------------------------------------------------------------- 1 | .cls1 { 2 | width: 3rem; 3 | } -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__css-prop-CssProp5_span.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__css-prop-CssProp5_span.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__css-prop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__css-prop.js -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__element-shorthand-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__element-shorthand-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__element-shorthand.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__element-shorthand.js -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__empty-css-styles.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__empty-css.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__empty-css.js -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__escape-sequences-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__escape-sequences-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__escape-sequences.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__escape-sequences.js -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__icss-export-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__icss-export-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__icss-export.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__icss-export.js -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__multiple-components-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__multiple-components-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__multiple-components-FancyHeader.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__multiple-components-FancyHeader.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__multiple-components.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__multiple-components.js -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__pass-options-FancierBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__pass-options-FancierBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__pass-options-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__pass-options-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__pass-options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__pass-options.js -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-FancierBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-FancierBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-global-FancierBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-global-FancierBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-global-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-global-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-global.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-global.js -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-interpolations-Button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-interpolations-Button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-interpolations-FancierBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-interpolations-FancierBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-interpolations-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-interpolations-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-interpolations-base.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-interpolations-base.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-interpolations-other.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-interpolations-other.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-interpolations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-interpolations.js -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-tag-FancierBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-tag-FancierBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-tag-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-tag-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled-tag.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled-tag.js -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__styled.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__styled.js -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__typescript-Button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__typescript-Button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__typescript-CssProp1_Button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__typescript-CssProp1_Button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__typescript-CssProp2_Button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__typescript-CssProp2_Button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__typescript-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__typescript-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__typescript.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__typescript.tsx -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__with-props-RedPasswordInput.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__with-props-RedPasswordInput.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__with-props-RedPasswordInput2.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__with-props-RedPasswordInput2.css -------------------------------------------------------------------------------- /test/__file_snapshots__/loader__with-props.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/loader__with-props.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__css-prop-CssProp1_button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__css-prop-CssProp1_button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__css-prop-CssProp2_button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__css-prop-CssProp2_button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__css-prop-CssProp3_button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__css-prop-CssProp3_button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__css-prop-CssProp4_button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__css-prop-CssProp4_button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__css-prop-CssProp5_button.css: -------------------------------------------------------------------------------- 1 | .cls1 { 2 | width: 3rem; 3 | } -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__css-prop-CssProp5_span.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__css-prop-CssProp5_span.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__css-prop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__css-prop.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__element-shorthand-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__element-shorthand-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__element-shorthand.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__element-shorthand.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__empty-css-styles.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__empty-css.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__empty-css.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__escape-sequences-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__escape-sequences-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__escape-sequences.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__escape-sequences.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__icss-export-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__icss-export-styles.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__icss-export.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__icss-export.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__multiple-components-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__multiple-components-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__multiple-components-FancyHeader.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__multiple-components-FancyHeader.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__multiple-components.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__multiple-components.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__pass-options-FancierBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__pass-options-FancierBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__pass-options-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__pass-options-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__pass-options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__pass-options.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-FancierBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-FancierBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-global-FancierBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-global-FancierBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-global-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-global-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-global.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-global.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-interpolations-Button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-interpolations-Button.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-interpolations-FancierBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-interpolations-FancierBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-interpolations-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-interpolations-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-interpolations-base.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-interpolations-base.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-interpolations-other.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-interpolations-other.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-interpolations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-interpolations.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-tag-FancierBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-tag-FancierBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-tag-FancyBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-tag-FancyBox.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled-tag.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled-tag.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__styled.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__styled.js -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__with-props-RedPasswordInput.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__with-props-RedPasswordInput.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__with-props-RedPasswordInput2.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__with-props-RedPasswordInput2.css -------------------------------------------------------------------------------- /test/__file_snapshots__/plugin__with-props.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/__file_snapshots__/plugin__with-props.js -------------------------------------------------------------------------------- /test/babel.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/babel.test.js -------------------------------------------------------------------------------- /test/cli.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/cli.test.js -------------------------------------------------------------------------------- /test/css-prop.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/css-prop.test.js -------------------------------------------------------------------------------- /test/css-tag.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/css-tag.test.js -------------------------------------------------------------------------------- /test/custom-properties.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/custom-properties.test.js -------------------------------------------------------------------------------- /test/dependencies.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/dependencies.test.js -------------------------------------------------------------------------------- /test/fixtures.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures.test.js -------------------------------------------------------------------------------- /test/fixtures/css-prop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/css-prop.js -------------------------------------------------------------------------------- /test/fixtures/element-shorthand.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/element-shorthand.js -------------------------------------------------------------------------------- /test/fixtures/empty-css.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/empty-css.js -------------------------------------------------------------------------------- /test/fixtures/escape-sequences.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/escape-sequences.js -------------------------------------------------------------------------------- /test/fixtures/icss-export.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/icss-export.js -------------------------------------------------------------------------------- /test/fixtures/multiple-components.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/multiple-components.js -------------------------------------------------------------------------------- /test/fixtures/pass-options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/pass-options.js -------------------------------------------------------------------------------- /test/fixtures/styled-global.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/styled-global.js -------------------------------------------------------------------------------- /test/fixtures/styled-global.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/styled-global.json -------------------------------------------------------------------------------- /test/fixtures/styled-interpolations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/styled-interpolations.js -------------------------------------------------------------------------------- /test/fixtures/styled-tag.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/styled-tag.js -------------------------------------------------------------------------------- /test/fixtures/styled-tag.json: -------------------------------------------------------------------------------- 1 | { 2 | "styledTagName": "s" 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/styled.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/styled.js -------------------------------------------------------------------------------- /test/fixtures/typescript.json: -------------------------------------------------------------------------------- 1 | { 2 | "loaderOnly": true 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/typescript.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/typescript.tsx -------------------------------------------------------------------------------- /test/fixtures/with-props.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/fixtures/with-props.js -------------------------------------------------------------------------------- /test/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/helpers.js -------------------------------------------------------------------------------- /test/imports.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/imports.test.js -------------------------------------------------------------------------------- /test/integration.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration.test.js -------------------------------------------------------------------------------- /test/integration/Button.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/Button.js -------------------------------------------------------------------------------- /test/integration/cycle-2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/cycle-2.js -------------------------------------------------------------------------------- /test/integration/cycle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/cycle.js -------------------------------------------------------------------------------- /test/integration/error-default-import.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/error-default-import.js -------------------------------------------------------------------------------- /test/integration/error-named-import.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/error-named-import.js -------------------------------------------------------------------------------- /test/integration/issue-365.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/issue-365.js -------------------------------------------------------------------------------- /test/integration/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/main.js -------------------------------------------------------------------------------- /test/integration/shared/widget/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/shared/widget/index.js -------------------------------------------------------------------------------- /test/integration/shared/widget/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "./index.js" 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/shared/withConfig/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/shared/withConfig/index.js -------------------------------------------------------------------------------- /test/integration/shared/withConfig/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/shared/withConfig/package.json -------------------------------------------------------------------------------- /test/integration/styles/plain-css.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/styles/plain-css.css -------------------------------------------------------------------------------- /test/integration/styles/test-1.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/integration/styles/test-1.scss -------------------------------------------------------------------------------- /test/integration/styles/utils.scss: -------------------------------------------------------------------------------- 1 | $bar: bar_value; 2 | -------------------------------------------------------------------------------- /test/loader.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/loader.test.js -------------------------------------------------------------------------------- /test/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/setup.js -------------------------------------------------------------------------------- /test/styled.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/styled.test.js -------------------------------------------------------------------------------- /test/stylesheet-tag.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/stylesheet-tag.test.js -------------------------------------------------------------------------------- /test/tag-loader.js: -------------------------------------------------------------------------------- 1 | module.exports = (src) => `/* tagged! */\n\n${src}`; 2 | -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /test/variants.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/variants.test.js -------------------------------------------------------------------------------- /test/webpack-helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/test/webpack-helpers.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/types/.eslintrc.js -------------------------------------------------------------------------------- /types/test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/types/test.tsx -------------------------------------------------------------------------------- /types/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/types/tsconfig.json -------------------------------------------------------------------------------- /www/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/.gitignore -------------------------------------------------------------------------------- /www/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/deploy.sh -------------------------------------------------------------------------------- /www/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/index.html -------------------------------------------------------------------------------- /www/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/package.json -------------------------------------------------------------------------------- /www/postcss.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/postcss.config.cjs -------------------------------------------------------------------------------- /www/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/App.tsx -------------------------------------------------------------------------------- /www/src/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/Button.tsx -------------------------------------------------------------------------------- /www/src/CodeBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/CodeBlock.tsx -------------------------------------------------------------------------------- /www/src/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/Layout.tsx -------------------------------------------------------------------------------- /www/src/MDXContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/MDXContext.tsx -------------------------------------------------------------------------------- /www/src/assets/dodad-1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/assets/dodad-1.svg -------------------------------------------------------------------------------- /www/src/assets/dodad-2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/assets/dodad-2.svg -------------------------------------------------------------------------------- /www/src/assets/dodad-3.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/assets/dodad-3.svg -------------------------------------------------------------------------------- /www/src/assets/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/assets/logo.svg -------------------------------------------------------------------------------- /www/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/index.css -------------------------------------------------------------------------------- /www/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/main.tsx -------------------------------------------------------------------------------- /www/src/pages/advanced.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/pages/advanced.mdx -------------------------------------------------------------------------------- /www/src/pages/cross-file-dependencies.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/pages/cross-file-dependencies.mdx -------------------------------------------------------------------------------- /www/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/pages/index.tsx -------------------------------------------------------------------------------- /www/src/pages/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/pages/introduction.mdx -------------------------------------------------------------------------------- /www/src/pages/migration.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/pages/migration.mdx -------------------------------------------------------------------------------- /www/src/pages/setup.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/pages/setup.mdx -------------------------------------------------------------------------------- /www/src/pages/tooling.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/pages/tooling.mdx -------------------------------------------------------------------------------- /www/src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/styles.css -------------------------------------------------------------------------------- /www/src/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/src/theme.ts -------------------------------------------------------------------------------- /www/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /www/tailwind.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/tailwind.config.cjs -------------------------------------------------------------------------------- /www/theme.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/theme.cjs -------------------------------------------------------------------------------- /www/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/tsconfig.json -------------------------------------------------------------------------------- /www/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/tsconfig.node.json -------------------------------------------------------------------------------- /www/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/vite.config.ts -------------------------------------------------------------------------------- /www/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/www/yarn.lock -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astroturfcss/astroturf/HEAD/yarn.lock --------------------------------------------------------------------------------