@twind/preset-mini
Advanced tools
Comparing version 1.0.0-next.3 to 1.0.0-next.4
# @twind/preset-mini | ||
## 1.0.0-next.4 | ||
### Patch Changes | ||
- new `hocus` variant to combine `:focus` and `:hover` ([`3382dd0b`](https://github.com/tw-in-js/twind/commit/3382dd0be26fcedba466d1ac011f76403ece278d)) | ||
- Updated dependencies [[`af822490`](https://github.com/tw-in-js/twind/commit/af822490d0a02a2fc227b8bc19471141a5586de2), [`bda8c19c`](https://github.com/tw-in-js/twind/commit/bda8c19c9abb80678225b5c947db87e1a4f07aa6), [`230a57ba`](https://github.com/tw-in-js/twind/commit/230a57ba6c6d77ae73ffc6b6a426b9c28ba8c908)]: | ||
- @twind/core@1.0.0-next.4 | ||
## 1.0.0-next.3 | ||
@@ -4,0 +13,0 @@ |
{ | ||
"name": "@twind/preset-mini", | ||
"version": "1.0.0-next.3", | ||
"version": "1.0.0-next.4", | ||
"description": "mini preset for twind", | ||
@@ -65,3 +65,3 @@ "homepage": "https://twind.dev", | ||
"peerDependencies": { | ||
"@twind/core": "1.0.0-next.3", | ||
"@twind/core": "1.0.0-next.4", | ||
"typescript": "^4.4.0" | ||
@@ -68,0 +68,0 @@ }, |
@@ -9,2 +9,3 @@ // src/index.ts | ||
variants: [ | ||
["hocus", "&:focus,&:hover"], | ||
["(dir|lang)-", ({ $1, $$ }) => `&:${$1}(${$$})`], | ||
@@ -11,0 +12,0 @@ ["not-([a-z-]+|\\[[.+])", ({ $1 }) => `&:not(${($1[0] == "[" ? "" : ":") + $1})`], |
@@ -1,2 +0,2 @@ | ||
var TwindPresetMini=(()=>{var n=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var f=r=>n(r,"__esModule",{value:!0});var m=(r=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(r,{get:(e,t)=>(typeof require!="undefined"?require:e)[t]}):r)(function(r){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+r+'" is not supported')});var u=(r,e)=>{for(var t in e)n(r,t,{get:e[t],enumerable:!0})},c=(r,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of p(e))!d.call(r,i)&&(t||i!=="default")&&n(r,i,{get:()=>e[i],enumerable:!(o=l(e,i))||o.enumerable});return r};var g=(r=>(e,t)=>r&&r.get(e)||(t=c(f({}),e,1),r&&r.set(e,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var z={};u(z,{default:()=>a});var s=m("TwindCore");function a(){return(0,s.preset)({rules:[/^([-\w]+)\[(.+)]$/],variants:[["(dir|lang)-",({$1:r,$$:e})=>`&:${r}(${e})`],["not-([a-z-]+|\\[[.+])",({$1:r})=>`&:not(${(r[0]=="["?"":":")+r})`],["children","&>*"],["siblings","&~*"],["sibling","&+*"],["override","&&"],["&[&~+>*a-z]+",({$_:r})=>r],["\\[.+]",({$_:r})=>"&"+r],["([a-z-]+):",({$_:r})=>"&::"+r]]})}return g(z);})(); | ||
var TwindPresetMini=(()=>{var o=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var c=r=>o(r,"__esModule",{value:!0});var d=(r=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(r,{get:(e,t)=>(typeof require!="undefined"?require:e)[t]}):r)(function(r){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+r+'" is not supported')});var f=(r,e)=>{for(var t in e)o(r,t,{get:e[t],enumerable:!0})},m=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of p(e))!u.call(r,i)&&(t||i!=="default")&&o(r,i,{get:()=>e[i],enumerable:!(n=l(e,i))||n.enumerable});return r};var g=(r=>(e,t)=>r&&r.get(e)||(t=m(c({}),e,1),r&&r.set(e,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var h={};f(h,{default:()=>a});var s=d("TwindCore");function a(){return(0,s.preset)({rules:[/^([-\w]+)\[(.+)]$/],variants:[["hocus","&:focus,&:hover"],["(dir|lang)-",({$1:r,$$:e})=>`&:${r}(${e})`],["not-([a-z-]+|\\[[.+])",({$1:r})=>`&:not(${(r[0]=="["?"":":")+r})`],["children","&>*"],["siblings","&~*"],["sibling","&+*"],["override","&&"],["&[&~+>*a-z]+",({$_:r})=>r],["\\[.+]",({$_:r})=>"&"+r],["([a-z-]+):",({$_:r})=>"&::"+r]]})}return g(h);})(); | ||
//# sourceMappingURL=preset-mini.global.js.map |
@@ -9,2 +9,3 @@ // src/index.ts | ||
variants: [ | ||
["hocus", "&:focus,&:hover"], | ||
["(dir|lang)-", ({ $1, $$ }) => `&:${$1}(${$$})`], | ||
@@ -11,0 +12,0 @@ ["not-([a-z-]+|\\[[.+])", ({ $1 }) => `&:not(${($1[0] == "[" ? "" : ":") + $1})`], |
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
19422
117