@unocss/inspector 66.6.0 → 66.6.1

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.
@@ -1,3 +1,3 @@
1
- import{d as g,r as h,u as x,a as S,b,f as k,c as V,o as _,e as s,g as a,w as i,_ as B,h as w,i as C,j as m,v as R,k as l,l as P,n as p,m as E,p as N,q as U}from"./index-JjKgwI2w.js";const $={"h-full":"",grid:"~ rows-[max-content_1fr]","of-hidden":""},I={"h-full":"","of-hidden":"",grid:"","grid-cols-2":""},L=g({__name:"ReplPlayground",setup(f){const r=h(null),t=x(r,"repl-scrolls"),o=S("unocss:inspector:repl",`<div class="text-sm hover:text-red">
1
+ import{d as g,u as h,a as x,b as S,f as b,o as _,c as k,e as s,g as a,w as i,_ as V,h as B,i as m,v as w,j as l,k as C,l as R,n as p,m as P,r as E,p as N,q as U}from"./index-BYGoiv1F.js";const $={"h-full":"",grid:"~ rows-[max-content_1fr]","of-hidden":""},I={"h-full":"","of-hidden":"",grid:"","grid-cols-2":""},L=g({__name:"ReplPlayground",setup(f){const r=E(null),t=h(r,"repl-scrolls"),o=x("unocss:inspector:repl",`<div class="text-sm hover:text-red">
2
2
  Hello World
3
- </div>`),n=b("unocss-inspector-safelist",!1),{data:c}=k(o,n);return(j,e)=>{const y=B,v=P,u=E;return _(),V("div",$,[s("div",{ref_key:"status",ref:r},[a(y,null,{default:i(()=>[...e[2]||(e[2]=[s("div",null," REPL Playground ",-1),s("div",{op60:""}," Edit your code below to test and play UnoCSS's matching and generating. ",-1)])]),_:1}),a(v,{border:"b gray-400/20",title:""},{default:i(()=>[s("label",null,[w(s("input",{"onUpdate:modelValue":e[0]||(e[0]=d=>m(n)?n.value=d:null),type:"checkbox"},null,512),[[R,l(n)]]),e[3]||(e[3]=C(" Include safelist ",-1))])]),_:1})],512),s("div",I,[a(u,{modelValue:l(o),"onUpdate:modelValue":e[1]||(e[1]=d=>m(o)?o.value=d:null),mode:"html",matched:l(c)?.matched||[],class:"scrolls repl-scrolls",style:p(l(t))},null,8,["modelValue","matched","style"]),a(u,{border:"l main","model-value":l(c)?.css||"/* empty */","read-only":!0,mode:"css",class:"scrolls repl-scrolls",style:p(l(t))},null,8,["model-value","style"])])])}}}),M={};function T(f,r){const t=L;return _(),U(t)}const z=N(M,[["render",T]]);export{z as default};
3
+ </div>`),n=S("unocss-inspector-safelist",!1),{data:c}=b(o,n);return(j,e)=>{const y=V,v=R,u=P;return _(),k("div",$,[s("div",{ref_key:"status",ref:r},[a(y,null,{default:i(()=>[...e[2]||(e[2]=[s("div",null," REPL Playground ",-1),s("div",{op60:""}," Edit your code below to test and play UnoCSS's matching and generating. ",-1)])]),_:1}),a(v,{border:"b gray-400/20",title:""},{default:i(()=>[s("label",null,[B(s("input",{"onUpdate:modelValue":e[0]||(e[0]=d=>m(n)?n.value=d:null),type:"checkbox"},null,512),[[w,l(n)]]),e[3]||(e[3]=C(" Include safelist ",-1))])]),_:1})],512),s("div",I,[a(u,{modelValue:l(o),"onUpdate:modelValue":e[1]||(e[1]=d=>m(o)?o.value=d:null),mode:"html",matched:l(c)?.matched||[],class:"scrolls repl-scrolls",style:p(l(t))},null,8,["modelValue","matched","style"]),a(u,{border:"l main","model-value":l(c)?.css||"/* empty */","read-only":!0,mode:"css",class:"scrolls repl-scrolls",style:p(l(t))},null,8,["model-value","style"])])])}}}),M={};function T(f,r){const t=L;return _(),U(t)}const z=N(M,[["render",T]]);export{z as default};
@@ -11,7 +11,7 @@
11
11
  href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;400&family=Fira+Code&display=swap"
12
12
  rel="stylesheet"
13
13
  />
14
- <script type="module" crossorigin src="/__unocss/assets/index-JjKgwI2w.js"></script>
14
+ <script type="module" crossorigin src="/__unocss/assets/index-BYGoiv1F.js"></script>
15
15
  <link rel="stylesheet" crossorigin href="/__unocss/assets/index-BejX0p-D.css">
16
16
  </head>
17
17
  <body>
package/dist/index.mjs CHANGED
@@ -141,6 +141,9 @@ const cssProps = [
141
141
  "flex-grow",
142
142
  "flex",
143
143
  "flex-shrink",
144
+ "grid",
145
+ "grid-template-columns",
146
+ "grid-template-rows",
144
147
  "caret-color",
145
148
  "font",
146
149
  "gap",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/inspector",
3
3
  "type": "module",
4
- "version": "66.6.0",
4
+ "version": "66.6.1",
5
5
  "description": "The inspector UI for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -22,13 +22,9 @@
22
22
  ],
23
23
  "sideEffects": false,
24
24
  "exports": {
25
- ".": {
26
- "types": "./dist/index.d.mts",
27
- "default": "./dist/index.mjs"
28
- }
25
+ ".": "./dist/index.mjs",
26
+ "./package.json": "./package.json"
29
27
  },
30
- "main": "./dist/index.mjs",
31
- "module": "./dist/index.mjs",
32
28
  "types": "./dist/index.d.mts",
33
29
  "files": [
34
30
  "dist"
@@ -37,12 +33,12 @@
37
33
  "colorette": "^2.0.20",
38
34
  "gzip-size": "^6.0.0",
39
35
  "sirv": "^3.0.2",
40
- "vue-flow-layout": "^0.2.0",
41
- "@unocss/rule-utils": "66.6.0",
42
- "@unocss/core": "66.6.0"
36
+ "@unocss/core": "66.6.1",
37
+ "@unocss/rule-utils": "66.6.1"
43
38
  },
44
39
  "devDependencies": {
45
- "@vitejs/devtools-kit": "^0.0.0-alpha.10"
40
+ "@vitejs/devtools-kit": "^0.0.0-alpha.10",
41
+ "vue-flow-layout": "^0.2.0"
46
42
  },
47
43
  "scripts": {
48
44
  "build": "tsdown --config-loader unrun",