Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@twind/preset-mini

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twind/preset-mini - npm Package Compare versions

Comparing version 1.0.0-next.1 to 1.0.0-next.2

preset-mini.global.js

9

CHANGELOG.md
# @twind/preset-mini
## 1.0.0-next.2
### Patch Changes
- BREAKING: renamed umd bundles to global (`twind.global.js`) and there are plain IIFEs ([`79c63ef9`](https://github.com/tw-in-js/twind/commit/79c63ef9ed3dda9f3bfafde977016b3b75db7c4c))
- Updated dependencies [[`79c63ef9`](https://github.com/tw-in-js/twind/commit/79c63ef9ed3dda9f3bfafde977016b3b75db7c4c)]:
- @twind/core@1.0.0-next.2
## 1.0.0-next.1

@@ -4,0 +13,0 @@

11

package.json
{
"name": "@twind/preset-mini",
"version": "1.0.0-next.1",
"version": "1.0.0-next.2",
"description": "mini preset for twind",

@@ -52,3 +52,3 @@ "homepage": "https://twind.dev",

"module": "./preset-mini.js",
"script": "./preset-mini.umd.js",
"script": "./preset-mini.global.js",
"types": "./preset-mini.d.ts",

@@ -66,3 +66,3 @@ "node": {

"peerDependencies": {
"@twind/core": "^1.0.0-next.1",
"@twind/core": "1.0.0-next.2",
"typescript": "^4.4.0"

@@ -77,7 +77,6 @@ },

"esnext": "./preset-mini.esnext.js",
"unpkg": "./preset-mini.umd.js",
"jsdelivr": "./preset-mini.umd.js",
"umd:main": "./preset-mini.umd.js",
"unpkg": "./preset-mini.global.js",
"jsdelivr": "./preset-mini.global.js",
"types": "./preset-mini.d.ts",
"readme": "# @twind/preset-mini\n\n---\n\n## READ THIS FIRST!\n\n**Twind v1 is still in beta. Expect bugs!**\n\n---\n\n## Installation\n\nInstall from npm:\n\n```sh\n# Using npm\nnpm install @twind/preset-mini@next\n\n# Using Yarn\nyarn add @twind/preset-mini@next\n```\n\n## Usage\n\n```js\nimport { defineConfig, twind, cssom, observe } from '@twind/core'\nimport mini from '@twind/preset-mini'\n\nconst config = defineConfig({\n presets: [mini()],\n})\n\nconst tw = observe(twind(config, cssom()))\n```\n\n> Documentation missing: Look at the [source](./src/index.ts) for now.\n\n## Short CSS\n\nAllows any CSS properties to be added:\n\n```html\n<div class=\"background-color[#1da1f1]\" />\n```\n\n↓ ↓ ↓ ↓ ↓ ↓\n\n```css\n.background-color\\[\\#1da1f1\\] {\n background-color: #1da1f1;\n}\n```\n"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc