@twind/preset-tailwind
Advanced tools
Comparing version 1.0.0-next.24 to 1.0.0-next.25
# @twind/preset-tailwind | ||
## 1.0.0-next.25 | ||
### Patch Changes | ||
- update package badges ([`4527aa91`](https://github.com/tw-in-js/twind/commit/4527aa919f853d613c89df9dde2587173cb91a3a)) | ||
- Updated dependencies [[`4527aa91`](https://github.com/tw-in-js/twind/commit/4527aa919f853d613c89df9dde2587173cb91a3a)]: | ||
- twind@1.0.0-next.25 | ||
## 1.0.0-next.24 | ||
@@ -4,0 +13,0 @@ |
{ | ||
"name": "@twind/preset-tailwind", | ||
"version": "1.0.0-next.24", | ||
"version": "1.0.0-next.25", | ||
"description": "tailwindcss preset for twind", | ||
@@ -111,3 +111,3 @@ "type": "module", | ||
"peerDependencies": { | ||
"twind": "1.0.0-next.24", | ||
"twind": "1.0.0-next.25", | ||
"typescript": "^4.4.0" | ||
@@ -130,3 +130,3 @@ }, | ||
"types": "./preset-tailwind.d.ts", | ||
"readme": "# @twind/preset-tailwind\n\n---\n\n## READ THIS FIRST!\n\n**Twind v1 is still in beta. Expect bugs!**\n\n---\n\nThe full [Tailwind CSS](https://tailwindcss.com) experience without any build step right in the browser or any other environment like Node.js, deno, workers, ...\n\nThis preset is included out-of-the-box in\n\n- [@twind/tailwind](https://www.npmjs.com/package/@twind/tailwind) — ready to use Tailwind CSS\n- [@twind/cdn](https://www.npmjs.com/package/@twind/cdn) — a drop-in replacement for [Tailwind CSS Play CDN](https://tailwindcss.com/docs/installation/play-cdn)\n\nUsed within the following [examples](https://github.com/tw-in-js/twind/tree/next/examples):\n\n- [Playground](https://github.com/tw-in-js/twind/tree/next/examples/playground)\n\n## Installation\n\nInstall from npm:\n\n```sh\nnpm install twind@next @twind/preset-tailwind@next\n```\n\n## Installation\n\n**with [twind](https://www.npmjs.com/package/twind)**\n\n```js\nimport { setup } from 'twind/core'\nimport presetTailwind from '@twind/preset-tailwind'\n\nsetup({\n presets: [presetTailwind(/* options */)],\n /* config */\n})\n```\n\n<details><summary>Usage with a script tag</summary>\n\n```html\n<head>\n <script\n src=\"https://cdn.jsdelivr.net/combine/npm/twind@next,npm/@twind/preset-tailwind@next\"\n crossorigin\n ></script>\n <script>\n twind.setup({\n presets: [twind.presetTailwind(/* options */)],\n /* config */\n })\n </script>\n</head>\n```\n\n</details>\n\n**with [@twind/tailwind](https://www.npmjs.com/package/@twind/tailwind)** — ready to use Tailwind CSS\n\n_Already included in `@twind/tailwind`_\n\n**with [Twind CDN](https://www.npmjs.com/package/@twind/cdn)** — a drop-in replacement for [Tailwind CSS Play CDN](https://tailwindcss.com/docs/installation/play-cdn)\n\n_Already included in `@twind/cdn`_\n\n## Usage\n\nThis preset can be configured with the following options:\n\n- `enablePreflight: boolean = true` — whether to enable the [preflight](https://tailwindcss.com/docs/preflight)\n" | ||
"readme": "# @twind/preset-tailwind [![MIT License](https://flat.badgen.net/github/license/tw-in-js/twind)](https://github.com/tw-in-js/twind/blob/next/LICENSE) [![Latest Release](https://flat.badgen.net/npm/v/@twind/preset-tailwind/next?icon=npm&label&cache=10800&color=blue)](https://www.npmjs.com/package/@twind/preset-tailwind) [![Github](https://flat.badgen.net/badge/icon/tw-in-js%2Ftwind%23preset-tailwind?icon=github&label)](https://github.com/tw-in-js/twind/tree/next/packages/preset-tailwind)\n\n---\n\n## READ THIS FIRST!\n\n**Twind v1 is still in beta. Expect bugs!**\n\n---\n\nThe full [Tailwind CSS](https://tailwindcss.com) experience without any build step right in the browser or any other environment like Node.js, deno, workers, ...\n\nThis preset is included out-of-the-box in\n\n- [@twind/tailwind](https://www.npmjs.com/package/@twind/tailwind) — ready to use Tailwind CSS\n- [@twind/cdn](https://www.npmjs.com/package/@twind/cdn) — a drop-in replacement for [Tailwind CSS Play CDN](https://tailwindcss.com/docs/installation/play-cdn)\n\nUsed within the following [examples](https://github.com/tw-in-js/twind/tree/next/examples):\n\n- [Playground](https://github.com/tw-in-js/twind/tree/next/examples/playground)\n\n## Installation\n\nInstall from npm:\n\n```sh\nnpm install twind@next @twind/preset-tailwind@next\n```\n\n## Installation\n\n**with [twind](https://www.npmjs.com/package/twind)**\n\n```js\nimport { setup } from 'twind/core'\nimport presetTailwind from '@twind/preset-tailwind'\n\nsetup({\n presets: [presetTailwind(/* options */)],\n /* config */\n})\n```\n\n<details><summary>Usage with a script tag</summary>\n\n```html\n<head>\n <script\n src=\"https://cdn.jsdelivr.net/combine/npm/twind@next,npm/@twind/preset-tailwind@next\"\n crossorigin\n ></script>\n <script>\n twind.setup({\n presets: [twind.presetTailwind(/* options */)],\n /* config */\n })\n </script>\n</head>\n```\n\n</details>\n\n**with [@twind/tailwind](https://www.npmjs.com/package/@twind/tailwind)** — ready to use Tailwind CSS\n\n_Already included in `@twind/tailwind`_\n\n**with [Twind CDN](https://www.npmjs.com/package/@twind/cdn)** — a drop-in replacement for [Tailwind CSS Play CDN](https://tailwindcss.com/docs/installation/play-cdn)\n\n_Already included in `@twind/cdn`_\n\n## Usage\n\nThis preset can be configured with the following options:\n\n- `enablePreflight: boolean = true` — whether to enable the [preflight](https://tailwindcss.com/docs/preflight)\n" | ||
} |
@@ -1,2 +0,2 @@ | ||
# @twind/preset-tailwind | ||
# @twind/preset-tailwind [![MIT License](https://flat.badgen.net/github/license/tw-in-js/twind)](https://github.com/tw-in-js/twind/blob/next/LICENSE) [![Latest Release](https://flat.badgen.net/npm/v/@twind/preset-tailwind/next?icon=npm&label&cache=10800&color=blue)](https://www.npmjs.com/package/@twind/preset-tailwind) [![Github](https://flat.badgen.net/badge/icon/tw-in-js%2Ftwind%23preset-tailwind?icon=github&label)](https://github.com/tw-in-js/twind/tree/next/packages/preset-tailwind) | ||
@@ -3,0 +3,0 @@ --- |
@@ -50,3 +50,2 @@ const variants = [ | ||
], | ||
// TODO before and after with { content: 'var(--tw-content)' } | ||
[ | ||
@@ -53,0 +52,0 @@ 'first', |
@@ -50,3 +50,2 @@ const variants = [ | ||
], | ||
// TODO before and after with { content: 'var(--tw-content)' } | ||
[ | ||
@@ -53,0 +52,0 @@ 'first', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
571366
10077