@avocadostudio-ai/cli 0.21.0 → 0.22.0

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 +1 @@
1
- import{d as r,h as a,S as d,j as c,i as p}from"./PuckPrototypeRoute-Dy8cRpYT.js";import{a as f}from"./index-DjaU3d0c.js";import{j as m}from"./index-7hzlydvn.js";import"./index-CFC-ZLtj.js";p();function C(){const{options:s}=r(),l=a(s),{editor:e}=r(),i=f({editor:e,selector:o=>{var t,n;return(t=o.editor)!=null&&t.isActive("bulletList")?"ul":(n=o.editor)!=null&&n.isActive("orderedList")?"ol":"p"}}),u=o=>{const t=e==null?void 0:e.chain();o==="p"?t==null||t.focus().setParagraph().run():o==="ol"?t==null||t.focus().toggleOrderedList().run():o==="ul"&&(t==null||t.focus().toggleBulletList().run())};return m.jsx(d,{options:l,onChange:u,value:i??"p",defaultValue:"p",renderDefaultIcon:c})}export{C as ListSelectLoaded};
1
+ import{d as r,h as a,S as d,j as c,i as p}from"./PuckPrototypeRoute-qJhTWhC8.js";import{a as f}from"./index-DnCF6p_N.js";import{j as m}from"./index-C1C0jZp_.js";import"./index-BBEWV7oW.js";p();function C(){const{options:s}=r(),l=a(s),{editor:e}=r(),i=f({editor:e,selector:o=>{var t,n;return(t=o.editor)!=null&&t.isActive("bulletList")?"ul":(n=o.editor)!=null&&n.isActive("orderedList")?"ol":"p"}}),u=o=>{const t=e==null?void 0:e.chain();o==="p"?t==null||t.focus().setParagraph().run():o==="ol"?t==null||t.focus().toggleOrderedList().run():o==="ul"&&(t==null||t.focus().toggleBulletList().run())};return m.jsx(d,{options:l,onChange:u,value:i??"p",defaultValue:"p",renderDefaultIcon:c})}export{C as ListSelectLoaded};
@@ -1 +1 @@
1
- import{d as u,e as f,S as g,A,i as v}from"./PuckPrototypeRoute-Dy8cRpYT.js";import{a as p}from"./index-DjaU3d0c.js";import{j as m}from"./index-7hzlydvn.js";import"./index-CFC-ZLtj.js";v();function C(){var l;const{options:n}=u(),a=f(n),{editor:i}=u(),c=(l=p({editor:i,selector:t=>{var e,o,r,s;return(e=t.editor)!=null&&e.isActive({textAlign:"center"})?"center":(o=t.editor)!=null&&o.isActive({textAlign:"right"})?"right":(r=t.editor)!=null&&r.isActive({textAlign:"justify"})?"justify":n!=null&&n.textAlign&&(s=n.textAlign.defaultAlignment)!=null?s:"left"}}))!=null?l:"left",d=t=>{const e=i==null?void 0:i.chain();e==null||e.focus().setTextAlign(t).run()};return m.jsx(g,{options:a,onChange:d,value:c,defaultValue:"left",renderDefaultIcon:A})}export{C as AlignSelectLoaded};
1
+ import{d as u,e as f,S as g,A,i as v}from"./PuckPrototypeRoute-qJhTWhC8.js";import{a as p}from"./index-DnCF6p_N.js";import{j as m}from"./index-C1C0jZp_.js";import"./index-BBEWV7oW.js";v();function C(){var l;const{options:n}=u(),a=f(n),{editor:i}=u(),c=(l=p({editor:i,selector:t=>{var e,o,r,s;return(e=t.editor)!=null&&e.isActive({textAlign:"center"})?"center":(o=t.editor)!=null&&o.isActive({textAlign:"right"})?"right":(r=t.editor)!=null&&r.isActive({textAlign:"justify"})?"justify":n!=null&&n.textAlign&&(s=n.textAlign.defaultAlignment)!=null?s:"left"}}))!=null?l:"left",d=t=>{const e=i==null?void 0:i.chain();e==null||e.focus().setTextAlign(t).run()};return m.jsx(g,{options:a,onChange:d,value:c,defaultValue:"left",renderDefaultIcon:A})}export{C as AlignSelectLoaded};
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
7
7
  <title>Avocado Studio</title>
8
- <script type="module" crossorigin src="/assets/index-7hzlydvn.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-JeTqIXoj.css">
8
+ <script type="module" crossorigin src="/assets/index-C1C0jZp_.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-CajOmZXT.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avocadostudio-ai/cli",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "Self-host launcher for the Avocado Studio editor UI",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -12,7 +12,8 @@
12
12
  "dist",
13
13
  "editor-dist",
14
14
  "README.md",
15
- "LICENSE"
15
+ "LICENSE",
16
+ "NOTICE"
16
17
  ],
17
18
  "keywords": [
18
19
  "avocado",
@@ -40,7 +41,7 @@
40
41
  "esbuild": "^0.24.0",
41
42
  "tsx": "^4.19.0",
42
43
  "typescript": "^5.7.3",
43
- "@avocadostudio-ai/shared": "0.21.0"
44
+ "@avocadostudio-ai/shared": "0.22.0"
44
45
  },
45
46
  "scripts": {
46
47
  "build": "rm -rf dist && esbuild src/index.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/index.js --banner:js='#!/usr/bin/env node'",