@pandacss/language-server 0.0.0-dev-20230707182854 → 0.0.0-dev-20230707183137

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.
Files changed (2) hide show
  1. package/dist/index.js +160 -162
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -21162,199 +21162,197 @@ ${u}`),i?umt(u):u}catch(r){throw r instanceof FYt&&(Hd.error("sheet",r.message),
21162
21162
  Watching for config file changes...
21163
21163
  `,mkn=i=>Wf`
21164
21164
  Successfully extracted css from ${i} file(s) ✨
21165
- `,hkn=i=>({artifactsGenerated:lkn(i),configExists:ckn,thankYou:ukn,codegenComplete:fkn,noExtract:pkn,watch:dkn,buildComplete:mkn,configWatch:_kn}),Bkn=i=>{let{globalCss:e={},optimize:r=!0}=i.config,o=i.createSheet();o.processGlobalCss({":root":{"--made-with-panda":"'\u{1F43C}'"},"*, *::before, *::after, ::backdrop":{"--blur":"/*!*/ /*!*/","--brightness":"/*!*/ /*!*/","--contrast":"/*!*/ /*!*/","--grayscale":"/*!*/ /*!*/","--hue-rotate":"/*!*/ /*!*/","--invert":"/*!*/ /*!*/","--saturate":"/*!*/ /*!*/","--sepia":"/*!*/ /*!*/","--drop-shadow":"/*!*/ /*!*/","--backdrop-blur":"/*!*/ /*!*/","--backdrop-brightness":"/*!*/ /*!*/","--backdrop-contrast":"/*!*/ /*!*/","--backdrop-grayscale":"/*!*/ /*!*/","--backdrop-hue-rotate":"/*!*/ /*!*/","--backdrop-invert":"/*!*/ /*!*/","--backdrop-opacity":"/*!*/ /*!*/","--backdrop-saturate":"/*!*/ /*!*/","--backdrop-sepia":"/*!*/ /*!*/","--scroll-snap-strictness":"proximity","--border-spacing-x":0,"--border-spacing-y":0,"--translate-x":0,"--translate-y":0,"--rotate":0,"--skew-x":0,"--skew-y":0,"--scale-x":1,"--scale-y":1}}),o.processGlobalCss(e);let u=o.toCss({optimize:r});return i.hooks.callHook("generator:css","global.css",u),u};function gkn(i){let{keyframes:e={}}=i.config.theme??{},r=nC.root();for(let[d,h]of Object.entries(e))r.append(nC.atRule({name:"keyframes",params:d,nodes:EU(h).root.nodes}));let u=nC.atRule({name:"layer",params:"tokens",nodes:r.nodes}).toString();return i.hooks.callHook("generator:css","keyframes.css",u),u}var ohr=String.raw;function ykn(i,e=""){let r=e?`${e} `:"",o=ohr`
21166
- @layer reset {
21167
- ${r}* {
21168
- margin: 0;
21169
- padding: 0;
21170
- font: inherit;
21171
- }
21165
+ `,hkn=i=>({artifactsGenerated:lkn(i),configExists:ckn,thankYou:ukn,codegenComplete:fkn,noExtract:pkn,watch:dkn,buildComplete:mkn,configWatch:_kn}),Bkn=i=>{let{globalCss:e={},optimize:r=!0}=i.config,o=i.createSheet();o.processGlobalCss({":root":{"--made-with-panda":"'\u{1F43C}'"},"*, *::before, *::after, ::backdrop":{"--blur":"/*!*/ /*!*/","--brightness":"/*!*/ /*!*/","--contrast":"/*!*/ /*!*/","--grayscale":"/*!*/ /*!*/","--hue-rotate":"/*!*/ /*!*/","--invert":"/*!*/ /*!*/","--saturate":"/*!*/ /*!*/","--sepia":"/*!*/ /*!*/","--drop-shadow":"/*!*/ /*!*/","--backdrop-blur":"/*!*/ /*!*/","--backdrop-brightness":"/*!*/ /*!*/","--backdrop-contrast":"/*!*/ /*!*/","--backdrop-grayscale":"/*!*/ /*!*/","--backdrop-hue-rotate":"/*!*/ /*!*/","--backdrop-invert":"/*!*/ /*!*/","--backdrop-opacity":"/*!*/ /*!*/","--backdrop-saturate":"/*!*/ /*!*/","--backdrop-sepia":"/*!*/ /*!*/","--scroll-snap-strictness":"proximity","--border-spacing-x":0,"--border-spacing-y":0,"--translate-x":0,"--translate-y":0,"--rotate":0,"--skew-x":0,"--skew-y":0,"--scale-x":1,"--scale-y":1}}),o.processGlobalCss(e);let u=o.toCss({optimize:r});return i.hooks.callHook("generator:css","global.css",u),u};function gkn(i){let{keyframes:e={}}=i.config.theme??{},r=nC.root();for(let[d,h]of Object.entries(e))r.append(nC.atRule({name:"keyframes",params:d,nodes:EU(h).root.nodes}));let u=nC.atRule({name:"layer",params:"tokens",nodes:r.nodes}).toString();return i.hooks.callHook("generator:css","keyframes.css",u),u}var ohr=String.raw;function ykn(i,e=""){let r=e?`${e} `:"",o=ohr`@layer reset {
21166
+ ${r}* {
21167
+ margin: 0;
21168
+ padding: 0;
21169
+ font: inherit;
21170
+ }
21172
21171
 
21173
- ${r}*,
21174
- ${r}*::before,
21175
- ${r}*::after {
21176
- box-sizing: border-box;
21177
- border-width: 0;
21178
- border-style: solid;
21179
- border-color: var(--global-color-border, currentColor);
21180
- }
21172
+ ${r}*,
21173
+ ${r}*::before,
21174
+ ${r}*::after {
21175
+ box-sizing: border-box;
21176
+ border-width: 0;
21177
+ border-style: solid;
21178
+ border-color: var(--global-color-border, currentColor);
21179
+ }
21181
21180
 
21182
- ${e||"html"} {
21183
- line-height: 1.5;
21184
- --font-fallback: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
21185
- 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
21186
- 'Noto Color Emoji';
21187
- -webkit-text-size-adjust: 100%;
21188
- -webkit-text-size-adjust: 100%;
21189
- -webkit-font-smoothing: antialiased;
21190
- -moz-tab-size: 4;
21191
- tab-size: 4;
21192
- font-family: var(--global-font-body, var(--font-fallback));
21193
- }
21181
+ ${e||"html"} {
21182
+ line-height: 1.5;
21183
+ --font-fallback: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
21184
+ 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
21185
+ 'Noto Color Emoji';
21186
+ -webkit-text-size-adjust: 100%;
21187
+ -webkit-text-size-adjust: 100%;
21188
+ -webkit-font-smoothing: antialiased;
21189
+ -moz-tab-size: 4;
21190
+ tab-size: 4;
21191
+ font-family: var(--global-font-body, var(--font-fallback));
21192
+ }
21194
21193
 
21195
- ${r}hr {
21196
- height: 0;
21197
- color: inherit;
21198
- border-top-width: 1px;
21199
- }
21194
+ ${r}hr {
21195
+ height: 0;
21196
+ color: inherit;
21197
+ border-top-width: 1px;
21198
+ }
21200
21199
 
21201
- body {
21202
- height: 100%;
21203
- line-height: inherit;
21204
- }
21200
+ body {
21201
+ height: 100%;
21202
+ line-height: inherit;
21203
+ }
21205
21204
 
21206
- ${r}img {
21207
- border-style: none;
21208
- }
21205
+ ${r}img {
21206
+ border-style: none;
21207
+ }
21209
21208
 
21210
- ${r}img,
21211
- ${r}svg,
21212
- ${r}video,
21213
- ${r}canvas,
21214
- ${r}audio,
21215
- ${r}iframe,
21216
- ${r}embed,
21217
- ${r}object {
21218
- display: block;
21219
- vertical-align: middle;
21220
- }
21209
+ ${r}img,
21210
+ ${r}svg,
21211
+ ${r}video,
21212
+ ${r}canvas,
21213
+ ${r}audio,
21214
+ ${r}iframe,
21215
+ ${r}embed,
21216
+ ${r}object {
21217
+ display: block;
21218
+ vertical-align: middle;
21219
+ }
21221
21220
 
21222
- ${r}img,
21223
- ${r}video {
21224
- max-width: 100%;
21225
- height: auto;
21226
- }
21221
+ ${r}img,
21222
+ ${r}video {
21223
+ max-width: 100%;
21224
+ height: auto;
21225
+ }
21227
21226
 
21228
- ${r}p,
21229
- ${r}h1,
21230
- ${r}h2,
21231
- ${r}h3,
21232
- ${r}h4,
21233
- ${r}h5,
21234
- ${r}h6 {
21235
- overflow-wrap: break-word;
21236
- }
21227
+ ${r}p,
21228
+ ${r}h1,
21229
+ ${r}h2,
21230
+ ${r}h3,
21231
+ ${r}h4,
21232
+ ${r}h5,
21233
+ ${r}h6 {
21234
+ overflow-wrap: break-word;
21235
+ }
21237
21236
 
21238
- ${r}ol,
21239
- ${r}ul {
21240
- list-style: none;
21241
- }
21237
+ ${r}ol,
21238
+ ${r}ul {
21239
+ list-style: none;
21240
+ }
21242
21241
 
21243
- ${r}code,
21244
- ${r}kbd,
21245
- ${r}pre,
21246
- ${r}samp {
21247
- font-size: 1em;
21248
- }
21242
+ ${r}code,
21243
+ ${r}kbd,
21244
+ ${r}pre,
21245
+ ${r}samp {
21246
+ font-size: 1em;
21247
+ }
21249
21248
 
21250
- ${r}button,
21251
- ${r}[type='button'],
21252
- ${r}[type='reset'],
21253
- ${r}[type='submit'] {
21254
- -webkit-appearance: button;
21255
- background-color: transparent;
21256
- background-image: none;
21257
- }
21249
+ ${r}button,
21250
+ ${r}[type='button'],
21251
+ ${r}[type='reset'],
21252
+ ${r}[type='submit'] {
21253
+ -webkit-appearance: button;
21254
+ background-color: transparent;
21255
+ background-image: none;
21256
+ }
21258
21257
 
21259
- ${r}button,
21260
- ${r}select {
21261
- text-transform: none;
21262
- }
21258
+ ${r}button,
21259
+ ${r}select {
21260
+ text-transform: none;
21261
+ }
21263
21262
 
21264
- ${r}table {
21265
- text-indent: 0;
21266
- border-color: inherit;
21267
- border-collapse: collapse;
21268
- }
21263
+ ${r}table {
21264
+ text-indent: 0;
21265
+ border-color: inherit;
21266
+ border-collapse: collapse;
21267
+ }
21269
21268
 
21270
- ${r}input::placeholder,
21271
- ${r}textarea::placeholder {
21272
- opacity: 1;
21273
- color: var(--global-color-placeholder, #9ca3af);
21274
- }
21269
+ ${r}input::placeholder,
21270
+ ${r}textarea::placeholder {
21271
+ opacity: 1;
21272
+ color: var(--global-color-placeholder, #9ca3af);
21273
+ }
21275
21274
 
21276
- ${r}textarea {
21277
- resize: vertical;
21278
- }
21275
+ ${r}textarea {
21276
+ resize: vertical;
21277
+ }
21279
21278
 
21280
- ${r}summary {
21281
- display: list-item;
21282
- }
21279
+ ${r}summary {
21280
+ display: list-item;
21281
+ }
21283
21282
 
21284
- ${r}small {
21285
- font-size: 80%;
21286
- }
21283
+ ${r}small {
21284
+ font-size: 80%;
21285
+ }
21287
21286
 
21288
- ${r}sub,
21289
- ${r}sup {
21290
- font-size: 75%;
21291
- line-height: 0;
21292
- position: relative;
21293
- vertical-align: baseline;
21294
- }
21287
+ ${r}sub,
21288
+ ${r}sup {
21289
+ font-size: 75%;
21290
+ line-height: 0;
21291
+ position: relative;
21292
+ vertical-align: baseline;
21293
+ }
21295
21294
 
21296
- ${r}sub {
21297
- bottom: -0.25em;
21298
- }
21295
+ ${r}sub {
21296
+ bottom: -0.25em;
21297
+ }
21299
21298
 
21300
- ${r}sup {
21301
- top: -0.5em;
21302
- }
21299
+ ${r}sup {
21300
+ top: -0.5em;
21301
+ }
21303
21302
 
21304
- ${r}dialog {
21305
- padding: 0;
21306
- }
21303
+ ${r}dialog {
21304
+ padding: 0;
21305
+ }
21307
21306
 
21308
- ${r}a {
21309
- color: inherit;
21310
- text-decoration: inherit;
21311
- }
21307
+ ${r}a {
21308
+ color: inherit;
21309
+ text-decoration: inherit;
21310
+ }
21312
21311
 
21313
- ${r}abbr:where([title]) {
21314
- text-decoration: underline dotted;
21315
- }
21312
+ ${r}abbr:where([title]) {
21313
+ text-decoration: underline dotted;
21314
+ }
21316
21315
 
21317
- ${r}b,
21318
- ${r}strong {
21319
- font-weight: bolder;
21320
- }
21316
+ ${r}b,
21317
+ ${r}strong {
21318
+ font-weight: bolder;
21319
+ }
21321
21320
 
21322
- ${r}code,
21323
- ${r}kbd,
21324
- ${r}samp,
21325
- ${r}pre {
21326
- font-size: 1em;
21327
- --font-mono-fallback: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New';
21328
- font-family: var(--global-font-mono, var(--font-fallback));
21329
- }
21321
+ ${r}code,
21322
+ ${r}kbd,
21323
+ ${r}samp,
21324
+ ${r}pre {
21325
+ font-size: 1em;
21326
+ --font-mono-fallback: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New';
21327
+ font-family: var(--global-font-mono, var(--font-fallback));
21328
+ }
21330
21329
 
21331
- ${r}[type='search'] {
21332
- -webkit-appearance: textfield;
21333
- outline-offset: -2px;
21334
- }
21330
+ ${r}[type='search'] {
21331
+ -webkit-appearance: textfield;
21332
+ outline-offset: -2px;
21333
+ }
21335
21334
 
21336
- ${r}::-webkit-search-decoration {
21337
- -webkit-appearance: none;
21338
- }
21335
+ ${r}::-webkit-search-decoration {
21336
+ -webkit-appearance: none;
21337
+ }
21339
21338
 
21340
- ${r}::-webkit-file-upload-button {
21341
- -webkit-appearance: button;
21342
- }
21339
+ ${r}::-webkit-file-upload-button {
21340
+ -webkit-appearance: button;
21341
+ }
21343
21342
 
21344
- ${r}::-webkit-inner-spin-button,
21345
- ${r}::-webkit-outer-spin-button {
21346
- height: auto;
21347
- }
21343
+ ${r}::-webkit-inner-spin-button,
21344
+ ${r}::-webkit-outer-spin-button {
21345
+ height: auto;
21346
+ }
21348
21347
 
21349
- ${r}:-moz-ui-invalid {
21350
- box-shadow: none;
21351
- }
21348
+ ${r}:-moz-ui-invalid {
21349
+ box-shadow: none;
21350
+ }
21352
21351
 
21353
- ${r}:-moz-focusring {
21354
- outline: auto;
21355
- }
21356
- }
21357
- `;return i.hooks.callHook("generator:css","reset.css",o),o}var Ckn=i=>{let{config:e,createSheet:r,utility:o,recipes:u}=i,{staticCss:d={},theme:h={},optimize:v=!0}=e,S=r(),L=Pvn(d)({breakpoints:Object.keys(h.breakpoints??{}),getPropertyKeys:te=>{let _e=o.config[te];if(!_e)return[];let Ae=o.getPropertyValues(_e);return Ae?Object.keys(Ae):[]},getRecipeKeys:te=>u.details.find(_e=>_e.config.name===te)?.variantKeyMap??{}});L.css.forEach(te=>{S.processAtomic(te)}),L.recipes.forEach(te=>{Object.entries(te).forEach(([_e,Ae])=>{let Ie=u.getConfig(_e);Ie&&S.processRecipe(Ie,Ae)})});let z=S.toCss({optimize:v});return i.hooks.callHook("generator:css","static.css",z),z};function vkn(i){let{config:{cssVarRoot:e},conditions:r,tokens:o}=i,u=e,d=[];for(let[S,k]of o.vars.entries()){let L=Object.fromEntries(k);if(Object.keys(L).length!==0)if(S==="base"){let{css:z}=EU({[u]:L});d.push(z)}else{let z=S.split(":"),{css:te}=EU(L),_e=z.map(Ie=>r.get(Ie)).filter(Boolean).map(Ie=>{let Xe=Ivn(Ie);return Xe?`&${Xe}`:Ie}),Ae=lhr(u,_e);if(!Ae)continue;gGt(Ae)?.append(te),d.push(Dvn(Ae.toString()))}}let h=d.join(`
21352
+ ${r}:-moz-focusring {
21353
+ outline: auto;
21354
+ }
21355
+ }`;return i.hooks.callHook("generator:css","reset.css",o),o}var Ckn=i=>{let{config:e,createSheet:r,utility:o,recipes:u}=i,{staticCss:d={},theme:h={},optimize:v=!0}=e,S=r(),L=Pvn(d)({breakpoints:Object.keys(h.breakpoints??{}),getPropertyKeys:te=>{let _e=o.config[te];if(!_e)return[];let Ae=o.getPropertyValues(_e);return Ae?Object.keys(Ae):[]},getRecipeKeys:te=>u.details.find(_e=>_e.config.name===te)?.variantKeyMap??{}});L.css.forEach(te=>{S.processAtomic(te)}),L.recipes.forEach(te=>{Object.entries(te).forEach(([_e,Ae])=>{let Ie=u.getConfig(_e);Ie&&S.processRecipe(Ie,Ae)})});let z=S.toCss({optimize:v});return i.hooks.callHook("generator:css","static.css",z),z};function vkn(i){let{config:{cssVarRoot:e},conditions:r,tokens:o}=i,u=e,d=[];for(let[S,k]of o.vars.entries()){let L=Object.fromEntries(k);if(Object.keys(L).length!==0)if(S==="base"){let{css:z}=EU({[u]:L});d.push(z)}else{let z=S.split(":"),{css:te}=EU(L),_e=z.map(Ie=>r.get(Ie)).filter(Boolean).map(Ie=>{let Xe=Ivn(Ie);return Xe?`&${Xe}`:Ie}),Ae=lhr(u,_e);if(!Ae)continue;gGt(Ae)?.append(te),d.push(Dvn(Ae.toString()))}}let h=d.join(`
21358
21356
 
21359
21357
  `),v=`@layer tokens {
21360
21358
  ${Avn(chr(h,u))}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pandacss/language-server",
3
3
  "displayName": "Panda CSS",
4
4
  "description": "🐼 The official Panda language server",
5
- "version": "0.0.0-dev-20230707182854",
5
+ "version": "0.0.0-dev-20230707183137",
6
6
  "main": "dist/index.js",
7
7
  "repository": {
8
8
  "url": "https://github.com/chakra-ui/panda",
@@ -32,14 +32,14 @@
32
32
  "vscode-languageserver": "^8.1.0",
33
33
  "vscode-languageserver-textdocument": "^1.0.8",
34
34
  "vscode-uri": "^3.0.7",
35
- "@pandacss/core": "0.0.0-dev-20230707182854",
36
- "@pandacss/extension-shared": "0.0.0-dev-20230707182854",
37
- "@pandacss/extractor": "0.0.0-dev-20230707182854",
38
- "@pandacss/node": "0.0.0-dev-20230707182854",
39
- "@pandacss/parser": "0.0.0-dev-20230707182854",
40
- "@pandacss/shared": "0.0.0-dev-20230707182854",
41
- "@pandacss/token-dictionary": "0.0.0-dev-20230707182854",
42
- "@pandacss/types": "0.0.0-dev-20230707182854"
35
+ "@pandacss/core": "0.0.0-dev-20230707183137",
36
+ "@pandacss/extension-shared": "0.0.0-dev-20230707183137",
37
+ "@pandacss/extractor": "0.0.0-dev-20230707183137",
38
+ "@pandacss/node": "0.0.0-dev-20230707183137",
39
+ "@pandacss/parser": "0.0.0-dev-20230707183137",
40
+ "@pandacss/shared": "0.0.0-dev-20230707183137",
41
+ "@pandacss/token-dictionary": "0.0.0-dev-20230707183137",
42
+ "@pandacss/types": "0.0.0-dev-20230707183137"
43
43
  },
44
44
  "dependencies": {
45
45
  "fast-glob": "^3.2.12"