tailwindcss 4.0.0-alpha.3 → 4.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib.js +1 -1
- package/dist/lib.mjs +1 -1
- package/package.json +7 -3
package/dist/lib.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";var X=Object.defineProperty;var ke=Object.getOwnPropertyDescriptor;var xe=Object.getOwnPropertyNames;var Ke=Object.prototype.hasOwnProperty;var $e=(n,i)=>{for(var l in i)X(n,l,{get:i[l],enumerable:!0})},Ve=(n,i,l,t)=>{if(i&&typeof i=="object"||typeof i=="function")for(let o of xe(i))!Ke.call(n,o)&&o!==l&&X(n,o,{get:()=>i[o],enumerable:!(t=ke(i,o))||t.enumerable});return n};var Ne=n=>Ve(X({},"__esModule",{value:!0}),n);var tt={};$e(tt,{__unstable__loadDesignSystem:()=>et,compile:()=>Je,optimizeCss:()=>Ze});module.exports=Ne(tt);var I=require("lightningcss");var le="4.0.0-alpha.
|
1
|
+
"use strict";var X=Object.defineProperty;var ke=Object.getOwnPropertyDescriptor;var xe=Object.getOwnPropertyNames;var Ke=Object.prototype.hasOwnProperty;var $e=(n,i)=>{for(var l in i)X(n,l,{get:i[l],enumerable:!0})},Ve=(n,i,l,t)=>{if(i&&typeof i=="object"||typeof i=="function")for(let o of xe(i))!Ke.call(n,o)&&o!==l&&X(n,o,{get:()=>i[o],enumerable:!(t=ke(i,o))||t.enumerable});return n};var Ne=n=>Ve(X({},"__esModule",{value:!0}),n);var tt={};$e(tt,{__unstable__loadDesignSystem:()=>et,compile:()=>Je,optimizeCss:()=>Ze});module.exports=Ne(tt);var I=require("lightningcss");var le="4.0.0-alpha.4";function K(n,i){return{kind:"rule",selector:n,nodes:i}}function r(n,i){return{kind:"declaration",property:n,value:i,important:!1}}function U(n){return{kind:"comment",value:n}}function F(n,i){for(let l=0;l<n.length;l++){let t=n[l];if(i(t,{replaceWith(p){n.splice(l,1,...Array.isArray(p)?p:[p]),l--}})===!1)return;t.kind==="rule"&&F(t.nodes,i)}}function q(n){let i="",l=new Set;function t(p,u=0){let d="",f=" ".repeat(u);if(p.kind==="rule"){if(p.selector==="@at-root"){for(let c of p.nodes)i+=t(c,0);return d}if(p.selector[0]==="@"&&p.nodes.length===0)return`${f}${p.selector};
|
2
2
|
`;if(p.selector[0]==="@"&&p.selector.startsWith("@property ")&&u===0){if(l.has(p.selector))return"";l.add(p.selector)}d+=`${f}${p.selector} {
|
3
3
|
`;for(let c of p.nodes)d+=t(c,u+1);d+=`${f}}
|
4
4
|
`}else p.kind==="comment"?d+=`${f}/*${p.value}*/
|
package/dist/lib.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import{Features as be,transform as Pe}from"lightningcss";var oe="4.0.0-alpha.
|
1
|
+
import{Features as be,transform as Pe}from"lightningcss";var oe="4.0.0-alpha.4";function K(n,i){return{kind:"rule",selector:n,nodes:i}}function r(n,i){return{kind:"declaration",property:n,value:i,important:!1}}function W(n){return{kind:"comment",value:n}}function F(n,i){for(let l=0;l<n.length;l++){let t=n[l];if(i(t,{replaceWith(p){n.splice(l,1,...Array.isArray(p)?p:[p]),l--}})===!1)return;t.kind==="rule"&&F(t.nodes,i)}}function U(n){let i="",l=new Set;function t(p,u=0){let d="",f=" ".repeat(u);if(p.kind==="rule"){if(p.selector==="@at-root"){for(let c of p.nodes)i+=t(c,0);return d}if(p.selector[0]==="@"&&p.nodes.length===0)return`${f}${p.selector};
|
2
2
|
`;if(p.selector[0]==="@"&&p.selector.startsWith("@property ")&&u===0){if(l.has(p.selector))return"";l.add(p.selector)}d+=`${f}${p.selector} {
|
3
3
|
`;for(let c of p.nodes)d+=t(c,u+1);d+=`${f}}
|
4
4
|
`}else p.kind==="comment"?d+=`${f}/*${p.value}*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "tailwindcss",
|
3
|
-
"version": "4.0.0-alpha.
|
3
|
+
"version": "4.0.0-alpha.4",
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": "https://github.com/tailwindlabs/tailwindcss.git",
|
@@ -15,9 +15,13 @@
|
|
15
15
|
},
|
16
16
|
"./package.json": "./package.json",
|
17
17
|
"./index.css": "./index.css",
|
18
|
+
"./index": "./index.css",
|
18
19
|
"./preflight.css": "./preflight.css",
|
20
|
+
"./preflight": "./preflight.css",
|
19
21
|
"./theme.css": "./theme.css",
|
20
|
-
"./
|
22
|
+
"./theme": "./theme.css",
|
23
|
+
"./utilities.css": "./utilities.css",
|
24
|
+
"./utilities": "./utilities.css"
|
21
25
|
},
|
22
26
|
"style": "index.css",
|
23
27
|
"files": [
|
@@ -32,7 +36,7 @@
|
|
32
36
|
},
|
33
37
|
"devDependencies": {
|
34
38
|
"@types/node": "^20.10.8",
|
35
|
-
"@tailwindcss/oxide": "4.0.0-alpha.
|
39
|
+
"@tailwindcss/oxide": "4.0.0-alpha.4"
|
36
40
|
},
|
37
41
|
"scripts": {
|
38
42
|
"lint": "tsc --noEmit",
|