efficient-easel 1.1.1 → 2.0.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.
- package/README.md +7 -3
- package/dist/chrome/index.js +1 -1
- package/dist/{chunk-ORR3Q4WV.js → chunk-2JIWFFXA.js} +1 -1
- package/dist/{chunk-MAEXP3KE.js → chunk-35Q5HMJZ.js} +1 -1
- package/dist/{chunk-THQB37AA.js → chunk-4CJP57AY.js} +1 -1
- package/dist/chunk-4VJATVVR.js +1 -0
- package/dist/{chunk-5LGAIELC.js → chunk-6AMS5BQH.js} +3 -3
- package/dist/chunk-6HHHBBSY.js +16 -0
- package/dist/{chunk-QR4DLZ3P.js → chunk-BSSKAEFF.js} +1 -1
- package/dist/chunk-E2L2XVRX.js +23 -0
- package/dist/chunk-HGTPLCTQ.js +1 -0
- package/dist/chunk-HMXIAMCU.js +1 -0
- package/dist/chunk-IJ3OOBDY.js +64 -0
- package/dist/chunk-IJGHMGG4.js +1 -0
- package/dist/chunk-LACBURK5.js +5 -0
- package/dist/{chunk-DCPFE4IO.js → chunk-LC7N3GZS.js} +1 -1
- package/dist/{chunk-P3GORPR4.js → chunk-LEGBBCOH.js} +1 -1
- package/dist/chunk-OSPUG6S6.js +1 -0
- package/dist/chunk-OXYGFK2B.js +21 -0
- package/dist/{chunk-EOUMA3QT.js → chunk-PBVC2VGH.js} +1 -1
- package/dist/chunk-PT6NPMWV.js +5 -0
- package/dist/chunk-V7U33NF2.js +1 -0
- package/dist/{chunk-SQTY6CJD.js → chunk-ZV6OYSZ7.js} +1 -1
- package/dist/copy/index.js +21 -21
- package/dist/drag/index.js +1 -1
- package/dist/fields/index.js +1 -1
- package/dist/icons/index.d.ts +2 -507
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/node-ops/index.js +1 -1
- package/dist/panel/index.js +15 -15
- package/dist/rail/index.d.ts +1 -1
- package/dist/rail/index.js +1 -1
- package/dist/screen/components/AddBlockRow.js +1 -1
- package/dist/screen/components/AddSidePanel.js +1 -1
- package/dist/screen/components/MediaSidePanel.js +1 -1
- package/dist/screen/components/NodeContextMenu.js +1 -1
- package/dist/screen/components/PageEditGuardNotices.js +1 -1
- package/dist/screen/components/ScreenChrome.js +1 -1
- package/dist/screen/components/ScreenMount.js +1 -1
- package/dist/screen/components/ScreenStoreProvider.js +1 -1
- package/dist/screen/components/SectionScreenShell.js +16 -16
- package/dist/screen/components/SidePanelHead.js +1 -1
- package/dist/screen/components/UiIcon.js +2 -2
- package/dist/screen/components/panel-widths.js +1 -1
- package/dist/screen/components/usePartBridge.js +1 -1
- package/dist/screen/index.js +1 -1
- package/dist/screen/lib/puck/style-clipboard.js +1 -1
- package/dist/screen/lib/puck/use-section-ops.js +1 -1
- package/dist/screen/lib/screen-parts.js +1 -1
- package/dist/shell/index.d.ts +4 -4
- package/dist/shell/index.js +1 -1
- package/dist/shell/shell.css +11 -3
- package/dist/style-clipboard/index.js +1 -1
- package/dist/text-styles/index.js +23 -23
- package/package.json +5 -4
- package/dist/chunk-2LK54I4E.js +0 -1
- package/dist/chunk-57DJOKXT.js +0 -1
- package/dist/chunk-63GQKLJI.js +0 -5
- package/dist/chunk-CG4OPQQX.js +0 -64
- package/dist/chunk-FODNRCCO.js +0 -5
- package/dist/chunk-HMJS344F.js +0 -1
- package/dist/chunk-JLTZQ4US.js +0 -1
- package/dist/chunk-K6ELD7N5.js +0 -23
- package/dist/chunk-L5KW4HG5.js +0 -470
- package/dist/chunk-TJ7YIRWQ.js +0 -21
- package/dist/chunk-U4MJQAVH.js +0 -1
- package/dist/chunk-W3XX2CNW.js +0 -16
- package/dist/chunk-X6DQWK2C.js +0 -1
package/dist/icons/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export*from"efficient-shell/icons/efficient";export{efficientIconMeanings as iconMeanings}from"efficient-shell/icons/efficient";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { EaselRail, EaselRailButton, RailTokens, railCssVars, railTokens } from './rail/index.js';
|
|
2
|
-
export { AddIcon, LayersIcon, MediaIcon, PageIcon as PagesIcon,
|
|
2
|
+
export { AddIcon, LayersIcon, MediaIcon, PageIcon as PagesIcon, EfficientIconProps as RailIconProps, SitemapIcon, StylesIcon } from 'efficient-shell/icons/efficient';
|
|
3
3
|
export { W as WordFit } from './wordFit-7XpmhcaW.js';
|
|
4
4
|
export { E as EaselRailButtonProps, a as EaselRailItem, b as EaselRailOrientation, c as EaselRailProps } from './types-CsgMwHHa.js';
|
|
5
5
|
export { SPACING_SCALE, ShellTokens, shellCssVars, shellDarkTokens, shellTokens } from './shell/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{railCssVars,railTokens}from"./chunk-
|
|
1
|
+
export{AddIcon,LayersIcon,MediaIcon,PageIcon as PagesIcon,SitemapIcon,StylesIcon,railCssVars,railTokens}from"./chunk-4VJATVVR.js";export{SPACING_SCALE,shellCssVars,shellDarkTokens,shellTokens}from"./chunk-HMXIAMCU.js";export{EaselRail,EaselRailButton}from"./chunk-MJM6SFD3.js";import"./chunk-2OAZYSWJ.js";
|
package/dist/node-ops/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{createNodeClipboard,nodeMenuItems}from"../chunk-
|
|
1
|
+
export{createNodeClipboard,nodeMenuItems}from"../chunk-OSPUG6S6.js";import"../chunk-WK3AFPXY.js";export{canStep,fromItemSelector,parentStep,planDuplicate,planMove,planPaste,planRemove,planSetProps,planStep,toItemSelector,useNodeOps}from"../chunk-D2BCHTQR.js";import"../chunk-KRXQM65X.js";import"../chunk-NKB3KVAB.js";
|
package/dist/panel/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export{SETTINGS_BUCKETS,SettingsField,SettingsGroup,SettingsTabs}from"../chunk-YNOZ5NXW.js";import{DEFAULT_PANEL_WORDS as e}from"../chunk-QTLAVDJE.js";export{SettingsSegmented,SettingsSwitch}from"../chunk-QLD57GBB.js";import{withTip as
|
|
2
|
-
return
|
|
3
|
-
return
|
|
4
|
-
return
|
|
5
|
-
return
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
return
|
|
10
|
-
return
|
|
11
|
-
/* @__PURE__ */
|
|
12
|
-
return
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
1
|
+
export{SETTINGS_BUCKETS,SettingsField,SettingsGroup,SettingsTabs}from"../chunk-YNOZ5NXW.js";import{DEFAULT_PANEL_WORDS as e}from"../chunk-QTLAVDJE.js";export{SettingsSegmented,SettingsSwitch}from"../chunk-QLD57GBB.js";import{withTip as l}from"../chunk-P2VEMZH5.js";import{jsx as a,jsxs as s}from"react/jsx-runtime";import{RevertIcon as i}from"efficient-shell/icons/efficient";import{IconButton as n,Tooltip as t}from"efficient-shell/ui";function r({title:e,level:l=3,id:s,className:i}){/* @__PURE__ */
|
|
2
|
+
return a(`h${l}`,{id:s,className:i?`es-group-head ${i}`:"es-group-head",children:e})}function c({title:e,level:l=4,id:s,className:i}){/* @__PURE__ */
|
|
3
|
+
return a(`h${l}`,{id:s,className:i?`es-group-sub ${i}`:"es-group-sub",children:e})}function o({label:s,changed:n,onReset:t,detail:r,disabled:c,defaultAction:o,words:p,className:b}){const h={...e,...p},f=["es-default-reset"];if(n&&f.push("is-changed"),b&&f.push(b),!n&&o)return f.push("is-pressable"),l(o.title,/* @__PURE__ */a("button",{type:"button",className:f.join(" "),"aria-label":o.title,disabled:c,onClick:o.onPress,children:o.icon}));if(!n)/* @__PURE__ */
|
|
4
|
+
return a("span",{className:f.join(" "),"aria-hidden":"true"});const N=h.resetName({label:s});return l(r?h.resetTitle({label:s,detail:r}):N,/* @__PURE__ */a("button",{type:"button",className:f.join(" "),"aria-label":N,"aria-description":r||void 0,disabled:c,onClick:e=>{t(),function(e){const l=e.currentTarget,a=l.closest(".es-field");let s=a?.querySelector(u(".es-field-ctl"))??a?.querySelector(u(".es-field-head"))??null,i=a?null:l.parentElement;for(let e=0;!s&&i&&e<m;e+=1,i=i.parentElement)s=[...i.querySelectorAll(d)].find(e=>e!==l)??null;s?.focus()}(e)},children:/* @__PURE__ */a(i,{size:15})}))}var d=['input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","button:not([disabled]):not(.es-default-reset)",'[tabindex]:not([tabindex="-1"])'].join(", "),u=e=>d.split(", ").map(l=>`${e} ${l}`).join(", "),m=4;function p({name:e,preview:l,offPage:i,status:n,onOpen:t,id:r,className:c}){const o=null!=l;/* @__PURE__ */
|
|
5
|
+
return s("button",{type:"button",id:r,className:c?`es-drill ${c}`:"es-drill",onClick:t,children:[
|
|
6
|
+
/* @__PURE__ */s("span",{className:"es-drill-text",children:[
|
|
7
|
+
/* @__PURE__ */a("span",{className:"es-drill-name",children:e}),o?/* @__PURE__ */a("span",{className:i?"es-drill-preview is-offpage":"es-drill-preview",children:l}):null]}),n?/* @__PURE__ */a("span",{className:"es-drill-status",children:n}):null,
|
|
8
|
+
/* @__PURE__ */a("span",{className:"es-drill-chev","aria-hidden":"true"})]})}function b({label:e,value:l,points:s,onChange:i,id:r,className:c}){/* @__PURE__ */
|
|
9
|
+
return a("div",{id:r,className:"es-placement"+(c?` ${c}`:""),role:"radiogroup","aria-label":e,children:s.map(e=>{const s=l===e.value,r=!0===e.disabled,c=r&&e.title?e.title:void 0,o=/* @__PURE__ */a(n,{size:"sm",role:"radio","aria-checked":s,"aria-label":e.label,"aria-disabled":r||void 0,disabledReason:c,className:`es-placement-cell${s?" is-active":""}${r?" is-off":""}`,onClick:()=>{r||i(e.value)},children:e.icon?/* @__PURE__ */a("span",{className:"es-placement-icon","aria-hidden":"true",children:e.icon}):/* @__PURE__ */a("span",{className:"es-placement-dot"})},e.value);return c?o:/* @__PURE__ */a(t,{content:e.title??e.label,children:o},e.value)})})}function h({label:e,value:l,corners:i,onChange:r,id:c,className:o}){/* @__PURE__ */
|
|
10
|
+
return s("div",{id:c,className:"es-corners"+(o?` ${o}`:""),role:"group","aria-label":e,children:[
|
|
11
|
+
/* @__PURE__ */a("span",{className:"es-corners-frame","aria-hidden":"true"}),i.map(e=>{const s=l.includes(e.value),i=!0===e.disabled,c=i&&e.title?e.title:void 0,o=/* @__PURE__ */a(n,{size:"sm","aria-pressed":s,"aria-label":e.label,"aria-disabled":i||void 0,disabledReason:c,className:`es-corners-cell es-corners-${e.value}${s?" is-on":""}${i?" is-off":""}`,onClick:()=>{i||r(s?l.filter(l=>l!==e.value):[...l,e.value])},children:/* @__PURE__ */a("span",{className:"es-corners-mark","aria-hidden":"true"})},e.value);return c?o:/* @__PURE__ */a(t,{content:e.title??e.label,children:o},e.value)})]})}function f({label:e,onPress:l,disabled:i,note:n,done:t,doneLabel:r,icon:c,id:o,className:d}){const u=void 0===r?e:r,m=t?u:e,p=null!=n,b=p&&o?`${o}-note`:void 0;/* @__PURE__ */
|
|
12
|
+
return s("div",{className:d?`es-action-wrap ${d}`:"es-action-wrap",children:[
|
|
13
|
+
/* @__PURE__ */s("button",{type:"button",id:o,className:t?"es-action is-done":"es-action",disabled:i,"aria-describedby":b,onClick:l,children:[c?/* @__PURE__ */a("span",{className:"es-action-icon","aria-hidden":"true",children:c}):null,
|
|
14
|
+
/* @__PURE__ */a("span",{className:"es-action-label",children:m})]}),p?/* @__PURE__ */a("p",{id:b,className:"es-action-note",children:n}):null,
|
|
15
|
+
/* @__PURE__ */a("span",{className:"es-action-live",role:"status","aria-live":"polite",children:t?u:null})]})}export{f as SettingsAction,h as SettingsCorners,o as SettingsDefaultReset,p as SettingsDrill,r as SettingsGroupHead,c as SettingsGroupSub,b as SettingsPlacement};
|
package/dist/rail/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { c as EaselRailProps, E as EaselRailButtonProps } from '../types-CsgMwHHa.js';
|
|
3
3
|
export { a as EaselRailItem, b as EaselRailOrientation } from '../types-CsgMwHHa.js';
|
|
4
|
-
export { AddIcon, LayersIcon, MediaIcon, PageIcon as PagesIcon,
|
|
4
|
+
export { AddIcon, LayersIcon, MediaIcon, PageIcon as PagesIcon, EfficientIconProps as RailIconProps, SitemapIcon, StylesIcon } from 'efficient-shell/icons/efficient';
|
|
5
5
|
export { W as WordFit } from '../wordFit-7XpmhcaW.js';
|
|
6
6
|
|
|
7
7
|
/**
|
package/dist/rail/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{railCssVars,railTokens}from"../chunk-
|
|
1
|
+
export{AddIcon,LayersIcon,MediaIcon,PageIcon as PagesIcon,SitemapIcon,StylesIcon,railCssVars,railTokens}from"../chunk-4VJATVVR.js";export{EaselRail,EaselRailButton}from"../chunk-MJM6SFD3.js";import"../chunk-2OAZYSWJ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{AddBlockRow as default}from"../../chunk-
|
|
1
|
+
export{AddBlockRow as default}from"../../chunk-LEGBBCOH.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-LACBURK5.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-E2L2XVRX.js";import"../../chunk-PJP46U5L.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{blockKey,AddSidePanel as default,sectionKey,templateKey}from"../../chunk-
|
|
1
|
+
export{blockKey,AddSidePanel as default,sectionKey,templateKey}from"../../chunk-PT6NPMWV.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-BVN33R76.js";import"../../chunk-BSSKAEFF.js";import"../../chunk-KQMML6JM.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-LACBURK5.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-E2O2MRZR.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-E2L2XVRX.js";import"../../chunk-PJP46U5L.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{MediaSidePanel as default}from"../../chunk-
|
|
1
|
+
export{MediaSidePanel as default}from"../../chunk-PBVC2VGH.js";import"../../chunk-LACBURK5.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-E2L2XVRX.js";import"../../chunk-PJP46U5L.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{EASEL_NODE_CLIPBOARD,ancestorChain,nodeClipboardOf,nodeClipboardRules,nodeMenuItems,nodeShortcut,pageMenuItems,pastePlace,runNodeShortcut,textMenuItems,useNodeClipboard,useNodeContextMenu}from"../../chunk-
|
|
1
|
+
export{EASEL_NODE_CLIPBOARD,ancestorChain,nodeClipboardOf,nodeClipboardRules,nodeMenuItems,nodeShortcut,pageMenuItems,pastePlace,runNodeShortcut,textMenuItems,useNodeClipboard,useNodeContextMenu}from"../../chunk-HGTPLCTQ.js";import"../../chunk-V7U33NF2.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-BXMXTO36.js";import"../../chunk-EA2HTX37.js";import"../../chunk-OSPUG6S6.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{PageEditGuardNotices as default}from"../../chunk-
|
|
1
|
+
export{PageEditGuardNotices as default}from"../../chunk-35Q5HMJZ.js";import"../../chunk-ONRYLR2D.js";import"../../chunk-S4AWJX4Q.js";import"../../chunk-ERR437B5.js";import"../../chunk-KG7RJWOK.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-VPFNZ7TB.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-E2O2MRZR.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-MFIRYGHW.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ScreenChrome as default}from"../../chunk-
|
|
1
|
+
export{ScreenChrome as default}from"../../chunk-IJ3OOBDY.js";import"../../chunk-26OOWIJJ.js";import"../../chunk-ZV6OYSZ7.js";import"../../chunk-FGNR22NY.js";import"../../chunk-ZE7I3PLX.js";import"../../chunk-2GVCAIPX.js";import"../../chunk-PWZOS45R.js";import"../../chunk-7F52SZOI.js";import"../../chunk-R2HLPNQF.js";import"../../chunk-TBF5CVPA.js";import"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import"../../chunk-PT6V53OO.js";import"../../chunk-KCBEE2MC.js";import"../../chunk-2JIWFFXA.js";import"../../chunk-IJGHMGG4.js";import"../../chunk-LC7N3GZS.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-HGTPLCTQ.js";import"../../chunk-35Q5HMJZ.js";import"../../chunk-BSPCSC45.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-ONRYLR2D.js";import"../../chunk-S4AWJX4Q.js";import"../../chunk-ERR437B5.js";import"../../chunk-KG7RJWOK.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-VPFNZ7TB.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-V7U33NF2.js";import"../../chunk-5545A3PC.js";import"../../chunk-PT6NPMWV.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-BVN33R76.js";import"../../chunk-BSSKAEFF.js";import"../../chunk-KQMML6JM.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-PBVC2VGH.js";import"../../chunk-LACBURK5.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-E2O2MRZR.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-E2L2XVRX.js";import"../../chunk-PJP46U5L.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-BXMXTO36.js";import"../../chunk-EA2HTX37.js";import"../../chunk-OSPUG6S6.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-4VJATVVR.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DocumentScreen,ScreenMount as default}from"../../chunk-
|
|
1
|
+
export{DocumentScreen,ScreenMount as default}from"../../chunk-6AMS5BQH.js";import"../../chunk-GXQCZJOP.js";import"../../chunk-4CJP57AY.js";import"../../chunk-IJ3OOBDY.js";import"../../chunk-26OOWIJJ.js";import"../../chunk-ZV6OYSZ7.js";import"../../chunk-FGNR22NY.js";import"../../chunk-ZE7I3PLX.js";import"../../chunk-2GVCAIPX.js";import"../../chunk-PWZOS45R.js";import"../../chunk-7F52SZOI.js";import"../../chunk-R2HLPNQF.js";import"../../chunk-TBF5CVPA.js";import"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import"../../chunk-PT6V53OO.js";import"../../chunk-KCBEE2MC.js";import"../../chunk-2JIWFFXA.js";import"../../chunk-IJGHMGG4.js";import"../../chunk-LC7N3GZS.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-HGTPLCTQ.js";import"../../chunk-35Q5HMJZ.js";import"../../chunk-BSPCSC45.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-ONRYLR2D.js";import"../../chunk-S4AWJX4Q.js";import"../../chunk-ERR437B5.js";import"../../chunk-KG7RJWOK.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-VPFNZ7TB.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-V7U33NF2.js";import"../../chunk-5545A3PC.js";import"../../chunk-PT6NPMWV.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-BVN33R76.js";import"../../chunk-BSSKAEFF.js";import"../../chunk-KQMML6JM.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-PBVC2VGH.js";import"../../chunk-LACBURK5.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-E2O2MRZR.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-E2L2XVRX.js";import"../../chunk-PJP46U5L.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-BXMXTO36.js";import"../../chunk-EA2HTX37.js";import"../../chunk-OSPUG6S6.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-4VJATVVR.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ScreenStoreProvider as default}from"../../chunk-
|
|
1
|
+
export{ScreenStoreProvider as default}from"../../chunk-4CJP57AY.js";import"../../chunk-LACBURK5.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-E2L2XVRX.js";import"../../chunk-PJP46U5L.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{AddBlockRow as e}from"../../chunk-
|
|
2
|
-
return
|
|
3
|
-
return
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
return
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
return
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
1
|
+
import{AddBlockRow as e}from"../../chunk-LEGBBCOH.js";import{slotChildRowName as n}from"../../chunk-TBF5CVPA.js";import{scrollPreviewToSection as o,gotoPreviewSlide as r}from"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import{useEaselUndoKeys as t}from"../../chunk-PT6V53OO.js";import{SlotChildActionsProvider as s}from"../../chunk-KCBEE2MC.js";import{DEFAULT_PANEL_W as i}from"../../chunk-2JIWFFXA.js";import{usePartBridge as c}from"../../chunk-IJGHMGG4.js";import{useSectionOps as p}from"../../chunk-LC7N3GZS.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import{useScreenDocument as l}from"../../chunk-ONRYLR2D.js";import"../../chunk-S4AWJX4Q.js";import"../../chunk-ERR437B5.js";import"../../chunk-KG7RJWOK.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-VPFNZ7TB.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import{MediaSidePanel as m}from"../../chunk-PBVC2VGH.js";import{SELECTION_MODE as d,useScreenPinned as a,useScreenCanvasFrame as u,useScreenInspectorPanel as h,useScreenPickFollowsSelection as k,sameInspectorMode as f,useStandaloneScreenBridges as j,useScreenBlockLook as N,useScreenBlockRules as y}from"../../chunk-LACBURK5.js";import{nestsInTree as S,slotFieldsOf as C}from"../../chunk-PLVEGYK6.js";import{useMediaPanel as O,usePanelPick as x,useCancelPanelPick as A}from"../../chunk-R6WTQWAC.js";import{useHostEscape as B}from"../../chunk-U3JP4VGF.js";import"../../chunk-E2O2MRZR.js";import{useEasel as P}from"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-E2L2XVRX.js";import"../../chunk-PJP46U5L.js";import{LayersTree as R,Subtree as L,TreeRow as E,TreeRowAction as v,TreeSeam as H}from"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-BDTITTMW.js";import{saveIndicator as g}from"../../chunk-H6DDIBQ4.js";import{SaveState as z,panelWidthVars as M}from"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import{useTreeDrag as T}from"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import{zoneKey as F,parseZoneKey as Y}from"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import{useState as b,useRef as D,useEffect as G,useCallback as w,Fragment as V}from"react";import{Tooltip as X}from"efficient-shell/ui";import{TrashIcon as J}from"efficient-shell/icons/efficient";import{jsxs as W,jsx as Z,Fragment as $}from"react/jsx-runtime";var K=e=>n=>{n.target.closest("button, input")||e()},I={rowClick:K};function Q(){const{saveState:Q,readOnly:U,readOnlyReason:q=null}=l(),_=p(),{appState:ee,selectedItem:ne,config:oe}=P(e=>e),[re,te]=b(d),{first:se,last:ie,panelOf:ce}=a(),pe=ce(se),le=u(),me=h(),de=ee.data.content?.[0]??null,ae=de?.props.id??null,ue=de?.type===se,he=de?.type===ie,ke=D(null),fe=D(null);t(fe);const je=O(),Ne=x(),ye=A();k(ne?.props.id),G(()=>{const e=fe.current;if(!Ne||!e)return;const n=e=>{"Escape"===e.key&&ye()};return e.addEventListener("keydown",n),()=>e.removeEventListener("keydown",n)},[Ne]),B(null!==Ne,()=>ye()),G(()=>{ae&&ke.current!==ae&&(ke.current=ae,ue?te(pe??d):ne||_.select({index:0}))},[ae,ne,_,ue]);const Se=w(e=>te(n=>f(n,e)?n:e),[]),Ce=j({kind:re.kind,mode:re,open:Se,show:e=>te(e),reveal:()=>{},select:(e,n)=>{te(e=>f(e,n)?e:n),_.select(e)}}),{selectNode:Oe}=c({mode:re,setMode:te,onOpenPart:o}),xe=N(),{labelAtLevel:Ae,Icon:Be}=xe,{canAddTo:Pe}=y(),Re=e=>oe.components[e]?.label??e,Le=e=>Ae(e,"section",Re(e)),Ee=!ue&&"puck"===re.kind&&ne?.props.id===ae,ve=de?Pe(de.type)?.spec??null:null,He=de&&ve?`${de.props.id}:${ve.slot}`:null,ge=de&&ve&&Array.isArray(de.props[ve.slot])?de.props[ve.slot]:[],ze=e=>n(e,Re,xe.plainText),Me=(e,n)=>{de&&ve&&He&&(te(d),ve.slider?(r(String(de.props.id),e),_.select({index:e,zone:He}),o(String(de.props.id))):(_.select({index:e,zone:He}),o(n)))},Te=()=>{if(!de||!ve||!He)return;const e=ge.length;_.insertComponent(He,ve.childType,e),te(d),ve.slider?requestAnimationFrame(()=>{r(String(de.props.id),e),_.select({index:e,zone:He})}):_.select({index:e,zone:He})},Fe=e=>C(oe,e),Ye=e=>{const{parentId:n,slot:o}=Y(e),r=e=>{if(!e)return null;if(String(e.props.id)===n)return e;for(const n of Fe(e.type)){const o=Array.isArray(e.props[n])?e.props[n]:[];for(const e of o){const n=r(e);if(n)return n}}return null},t=r(de)?.props[o];return Array.isArray(t)?t.length:0},be=(e,n,o)=>{const r=Math.min(Math.max(o,0),Ye(e)),t=n<r?r-1:r;t!==n&&(_.reorderComponent(e,n,t),te(d),_.select({index:t,zone:e}))},De=T({keyOf:e=>e.id,readOnly:Boolean(U),canDrop:(e,n)=>F(n)===e.zone&&n.index>=0&&n.index<=Ye(e.zone),onDrop:(e,n)=>be(e.zone,e.index,n.index),onStep:(e,n)=>be(e.zone,e.index,n<0?e.index-1:e.index+2)}),Ge=(e,n)=>/* @__PURE__ */Z(H,{...U?{}:De.seam({place:{...Y(e),index:n}})},`seam:${e}:${n}`),we=e=>xe.blockRowName(e,Re),Ve=(e,n,r)=>{te(d),_.select({index:n,zone:e}),o(r)},Xe=(e,n,o)=>{_.insertComponent(e,n,o),te(d),_.select({index:o,zone:e})},Je=(n,o,r)=>/* @__PURE__ */Z(e,{choices:r,onPick:e=>Xe(n,e,o)}),We=(e,n)=>{const o=Fe((r=e).type).flatMap(e=>(Array.isArray(r.props[e])?r.props[e]:[]).map((n,o)=>({child:n,zone:`${r.props.id}:${e}`,index:o})));var r;const t=Pe(e.type),s=t?.choices??null,i="footer"===t?.source?we:ze;/* @__PURE__ */
|
|
2
|
+
return W($,{children:[o.map(({child:e,zone:o,index:r})=>{const t=ne?.props.id===e.props.id,s=S(oe,e.type,n),c=i(e),p=String(e.props.id),l=()=>Ve(o,r,p),{rowProps:m,...a}=De.row({item:{id:p,zone:o,index:r},place:{...Y(o),index:r}},{onClick:K(l)});/* @__PURE__ */
|
|
3
|
+
return W(V,{children:[0===r&&Ge(o,0),
|
|
4
|
+
/* @__PURE__ */Z(E,{icon:/* @__PURE__ */Z(Be,{type:e.type,size:13}),name:c,selected:t,onSelect:l,...a,actions:/* @__PURE__ */Z(v,{kind:"delete",label:`Delete ${c}`,onClick:()=>{return e=o,n=r,_.removeComponent(e,n),te(d),void _.select(null);var e,n},children:/* @__PURE__ */Z(J,{size:13})}),rowProps:m}),s&&/* @__PURE__ */Z(L,{children:We(e,n+1)}),Ge(o,r+1)]},String(e.props.id??`${o}-${r}`))}),t&&s?Je(`${e.props.id}:${t.slot}`,o.length,s):null]})},Ze="HeroSingle"===de?.type,$e=Boolean(de)&&(Boolean(ve)||he||ue||Ze);/* @__PURE__ */
|
|
5
|
+
return W("div",{ref:fe,className:"sf-editor es-editor",style:M(i),children:[
|
|
6
|
+
/* @__PURE__ */Z("div",{className:"sf-section-bar",children:/* @__PURE__ */Z(z,null!==q?{tone:"off",label:q,role:"status"}:{...g(Q),role:"status"})}),
|
|
7
|
+
/* @__PURE__ */W("div",{className:"sf-body",children:[Ne&&je?/* @__PURE__ */Z("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:/* @__PURE__ */Z(m,{panel:je,pick:Ne})}):$e&&de&&/* @__PURE__ */W("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:[
|
|
8
|
+
/* @__PURE__ */Z("div",{className:"sf-panel-head",children:/* @__PURE__ */Z(X,{content:ue?"Header settings":`${Le(de.type)} settings`,side:"bottom",children:/* @__PURE__ */Z("button",{type:"button",className:"sf-panel-title sf-panel-title--btn "+(Ee?"is-selected":""),"aria-pressed":Ee,onClick:()=>{ue?te(pe??d):(te(d),_.select({index:0}))},children:Le(de.type)})})}),
|
|
9
|
+
/* @__PURE__ */Z(R,{className:"sf-tree sf-scroll",rootProps:De.rootProps(),children:/* @__PURE__ */Z(L,{children:ue?
|
|
10
|
+
/* @__PURE__ */Z(E,{icon:/* @__PURE__ */Z(Be,{type:"header",size:13}),name:"Header settings",selected:re.kind===pe?.kind,onSelect:()=>te(pe??d),rowProps:{onClick:K(()=>te(pe??d))}}):ve?/* @__PURE__ */W($,{children:[ge.map((e,n)=>{const o=ne?.props.id===e.props.id,r=ze(e),t=String(e.props.id),s=()=>Me(n,t),{rowProps:i,...c}=De.row({item:{id:t,zone:He,index:n},place:{...Y(He),index:n}},{onClick:K(s)});/* @__PURE__ */
|
|
11
|
+
return W(V,{children:[0===n&&Ge(He,0),
|
|
12
|
+
/* @__PURE__ */Z(E,{icon:/* @__PURE__ */Z(Be,{type:e.type,size:13}),name:r,selected:o,onSelect:s,...c,actions:/* @__PURE__ */Z(v,{kind:"delete",label:`Delete ${r}`,onClick:()=>{return e=n,void(He&&(_.removeComponent(He,e),te(d),_.select(null)));var e},children:/* @__PURE__ */Z(J,{size:13})}),rowProps:i}),Ge(He,n+1)]},String(e.props.id??n))}),
|
|
13
|
+
/* @__PURE__ */W("button",{type:"button",className:"sf-add-card",onClick:Te,children:[
|
|
14
|
+
/* @__PURE__ */Z("span",{className:"sf-plus sf-plus--sm",children:"+"}),ve.addLabel]}),ae?Ce.partRows?.(de,I):null]}):We(de,1)})})]}),
|
|
15
|
+
/* @__PURE__ */Z("div",{className:"sf-center",children:/* @__PURE__ */Z("div",{className:"sf-preview-host",children:/* @__PURE__ */Z(le,{})})}),
|
|
16
|
+
/* @__PURE__ */Z(s,{value:{selectChild:(e,n,o,r)=>"section"===Pe(r)?.source?Me(n,o):Ve(e,n,o),addChild:(e,n,o,r,t)=>"section"===Pe(t)?.source?Te():Xe(`${e}:${n}`,o,r),childRowName:ze,blockRowName:we},children:/* @__PURE__ */Z(me,{mode:re,onOpenWebsiteSettings:Ce.openSettings??(()=>{}),onSelectNode:Oe,hideNodeActions:!0})})]})]})}export{Q as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{PanelHideButton,PanelModeExit,PanelShowStrip,SidePanelHead as default}from"../../chunk-
|
|
1
|
+
export{PanelHideButton,PanelModeExit,PanelShowStrip,SidePanelHead as default}from"../../chunk-BSSKAEFF.js";import"../../chunk-KQMML6JM.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-MFIRYGHW.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ChevronIcon as e,TrashIcon as r,RenameIcon as
|
|
2
|
-
return a(c[e],{size:r,strokeWidth:
|
|
1
|
+
import{ChevronIcon as e,TrashIcon as r,RenameIcon as i,ExternalIcon as t,SearchIcon as o,EyeOffIcon as n,EyeIcon as s}from"efficient-shell/icons/efficient";import{jsx as a}from"react/jsx-runtime";var c={eye:s,"eye-off":n,search:o,"external-link":t,pencil:i,trash:r,"chevron-right":e};function f({name:e,size:r,strokeWidth:i=1.8,rounded:t=!1,className:o,style:n}){/* @__PURE__ */
|
|
2
|
+
return a(c[e],{size:r,strokeWidth:i,strokeLinecap:t?"round":void 0,strokeLinejoin:t?"round":void 0,className:o,style:n})}export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{COLLAPSED_SECTIONS_KEY,DEFAULT_PANEL_W,PANEL_WIDTHS_KEY,clampPanelWidth,screenStorageKeys}from"../../chunk-
|
|
1
|
+
export{COLLAPSED_SECTIONS_KEY,DEFAULT_PANEL_W,PANEL_WIDTHS_KEY,clampPanelWidth,screenStorageKeys}from"../../chunk-2JIWFFXA.js";export{MAX_PANEL_W,MIN_PANEL_W,panelWidthVars}from"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-MFIRYGHW.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{usePartBridge}from"../../chunk-
|
|
1
|
+
export{usePartBridge}from"../../chunk-IJGHMGG4.js";import"../../chunk-LC7N3GZS.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-LACBURK5.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-E2L2XVRX.js";import"../../chunk-PJP46U5L.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
package/dist/screen/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-GZO72N3Q.js";export{DocumentScreen,ScreenMount}from"../chunk-
|
|
1
|
+
import"../chunk-GZO72N3Q.js";export{DocumentScreen,ScreenMount}from"../chunk-6AMS5BQH.js";import"../chunk-GXQCZJOP.js";export{ScreenStoreProvider}from"../chunk-4CJP57AY.js";import"../chunk-IJ3OOBDY.js";import"../chunk-26OOWIJJ.js";import"../chunk-ZV6OYSZ7.js";import"../chunk-FGNR22NY.js";import"../chunk-ZE7I3PLX.js";import"../chunk-2GVCAIPX.js";import"../chunk-PWZOS45R.js";import"../chunk-7F52SZOI.js";import"../chunk-R2HLPNQF.js";import"../chunk-TBF5CVPA.js";import"../chunk-4ES5JGGX.js";import"../chunk-IQ5TA7AM.js";import"../chunk-DUVRZ456.js";import"../chunk-6W7WLPZH.js";import"../chunk-PT6V53OO.js";import"../chunk-KCBEE2MC.js";import"../chunk-2JIWFFXA.js";import"../chunk-IJGHMGG4.js";import"../chunk-LC7N3GZS.js";import"../chunk-IYT6NN2J.js";import"../chunk-HGTPLCTQ.js";import"../chunk-35Q5HMJZ.js";import"../chunk-BSPCSC45.js";import"../chunk-I54UCYOU.js";import"../chunk-GOTN2KY4.js";import"../chunk-R5L2E7JX.js";import"../chunk-ONRYLR2D.js";import"../chunk-S4AWJX4Q.js";import"../chunk-ERR437B5.js";import"../chunk-KG7RJWOK.js";import"../chunk-GMCZXMOV.js";export{NO_DOCUMENT_ADDRESSING}from"../chunk-RLBXE4EU.js";import"../chunk-HNKB2ZYR.js";import"../chunk-CLOS6SSX.js";import"../chunk-VPFNZ7TB.js";import"../chunk-LOMEH6DG.js";import"../chunk-V7U33NF2.js";import"../chunk-5545A3PC.js";import"../chunk-PT6NPMWV.js";import"../chunk-5ZBY24K7.js";import"../chunk-PA3PNTVV.js";import"../chunk-BVN33R76.js";import"../chunk-BSSKAEFF.js";import"../chunk-KQMML6JM.js";import"../chunk-KCOBHPN6.js";export{EaselSessionProvider,useEaselSession}from"../chunk-O7Q4DDJT.js";export{EFFICIENT_BACKEND,activateEaselSession,backendOf,createEaselSession,currentEaselSession,deactivateEaselSession,efficientClientOpen,isEfficientBackend,provideDefaultBackend,resetAmbientEaselSession,sessionRegistry,setSessionBridgedSite,setSessionDocumentSite}from"../chunk-RSCMJIWS.js";import"../chunk-HQ4VVRIC.js";import"../chunk-PBVC2VGH.js";export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSlotMode,sameInspectorMode,screenSlotsOf,useScreenAdd,useScreenBlockLook,useScreenBlockRules,useScreenBridges,useScreenCanvasDrag,useScreenCanvasFrame,useScreenCanvasHead,useScreenCanvasTarget,useScreenDevices,useScreenDocumentLabel,useScreenDocumentPass,useScreenInspectorPanel,useScreenLeftView,useScreenNodeKeys,useScreenNotify,useScreenOwnerName,useScreenParts,useScreenPickFollowsSelection,useScreenPinned,useScreenSaveSwitch,useScreenStorageNamespace,useScreenStyleClipboard,useStandaloneScreenBridges}from"../chunk-LACBURK5.js";import"../chunk-PLVEGYK6.js";import"../chunk-R6WTQWAC.js";export{DETACHED_EASEL_HOST,EaselHostContext,EaselHostProvider,createEaselHost,useEaselHost,useHostEscape}from"../chunk-U3JP4VGF.js";import"../chunk-6WY6ZXJG.js";import"../chunk-E2O2MRZR.js";import"../chunk-PYCLHOSA.js";import"../chunk-AELNNAFM.js";import"../chunk-E2L2XVRX.js";import"../chunk-PJP46U5L.js";import"../chunk-UFY6RNMT.js";import"../chunk-YNOZ5NXW.js";import"../chunk-K56YDHYQ.js";import"../chunk-QTLAVDJE.js";import"../chunk-YRLPFZW3.js";import"../chunk-BXMXTO36.js";import"../chunk-EA2HTX37.js";import"../chunk-OSPUG6S6.js";import"../chunk-WK3AFPXY.js";import"../chunk-D2BCHTQR.js";import"../chunk-4VJATVVR.js";import"../chunk-BDTITTMW.js";import"../chunk-H6DDIBQ4.js";import"../chunk-OXYGFK2B.js";import"../chunk-ZJEBF4NB.js";import"../chunk-THWO5YVZ.js";import"../chunk-RE4LP46F.js";import"../chunk-MJM6SFD3.js";import"../chunk-2OAZYSWJ.js";import"../chunk-7SQF6LZL.js";import"../chunk-QLD57GBB.js";import"../chunk-FPOKPNO4.js";import"../chunk-MFIRYGHW.js";import"../chunk-6HHHBBSY.js";import"../chunk-O2NLQBFX.js";import"../chunk-67GNT6PF.js";import"../chunk-PAELDYYS.js";import"../chunk-ZNCEOSXO.js";import"../chunk-P2VEMZH5.js";import"../chunk-KRXQM65X.js";import"../chunk-NKB3KVAB.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{copyNodeStyle,nodeStyleRows,planNodePaste,shopFieldKind,siteStyleScope,styleClipboardOf}from"../../../chunk-
|
|
1
|
+
export{copyNodeStyle,nodeStyleRows,planNodePaste,shopFieldKind,siteStyleScope,styleClipboardOf}from"../../../chunk-ZV6OYSZ7.js";import"../../../chunk-ZE7I3PLX.js";import"../../../chunk-PWZOS45R.js";import"../../../chunk-7F52SZOI.js";import"../../../chunk-R2HLPNQF.js";import"../../../chunk-DUVRZ456.js";import"../../../chunk-BSPCSC45.js";import"../../../chunk-V7U33NF2.js";import"../../../chunk-6WY6ZXJG.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{useSectionOps}from"../../../chunk-
|
|
1
|
+
export{useSectionOps}from"../../../chunk-LC7N3GZS.js";import"../../../chunk-LACBURK5.js";import"../../../chunk-PLVEGYK6.js";import"../../../chunk-R6WTQWAC.js";import"../../../chunk-U3JP4VGF.js";import"../../../chunk-PYCLHOSA.js";import"../../../chunk-AELNNAFM.js";import"../../../chunk-E2L2XVRX.js";import"../../../chunk-PJP46U5L.js";import"../../../chunk-UFY6RNMT.js";import"../../../chunk-YNOZ5NXW.js";import"../../../chunk-K56YDHYQ.js";import"../../../chunk-QTLAVDJE.js";import"../../../chunk-YRLPFZW3.js";import"../../../chunk-EA2HTX37.js";import"../../../chunk-D2BCHTQR.js";import"../../../chunk-7SQF6LZL.js";import"../../../chunk-QLD57GBB.js";import"../../../chunk-FPOKPNO4.js";import"../../../chunk-MFIRYGHW.js";import"../../../chunk-67GNT6PF.js";import"../../../chunk-ZNCEOSXO.js";import"../../../chunk-P2VEMZH5.js";import"../../../chunk-KRXQM65X.js";import"../../../chunk-NKB3KVAB.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSlotMode,sameInspectorMode,screenSlotsOf,useScreenAdd,useScreenBlockLook,useScreenBlockRules,useScreenBridges,useScreenCanvasDrag,useScreenCanvasFrame,useScreenCanvasHead,useScreenCanvasTarget,useScreenDevices,useScreenDocumentLabel,useScreenDocumentPass,useScreenInspectorPanel,useScreenLeftView,useScreenNodeKeys,useScreenNotify,useScreenOwnerName,useScreenParts,useScreenPickFollowsSelection,useScreenPinned,useScreenSaveSwitch,useScreenStorageNamespace,useScreenStyleClipboard,useStandaloneScreenBridges}from"../../chunk-
|
|
1
|
+
export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSlotMode,sameInspectorMode,screenSlotsOf,useScreenAdd,useScreenBlockLook,useScreenBlockRules,useScreenBridges,useScreenCanvasDrag,useScreenCanvasFrame,useScreenCanvasHead,useScreenCanvasTarget,useScreenDevices,useScreenDocumentLabel,useScreenDocumentPass,useScreenInspectorPanel,useScreenLeftView,useScreenNodeKeys,useScreenNotify,useScreenOwnerName,useScreenParts,useScreenPickFollowsSelection,useScreenPinned,useScreenSaveSwitch,useScreenStorageNamespace,useScreenStyleClipboard,useStandaloneScreenBridges}from"../../chunk-LACBURK5.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-E2L2XVRX.js";import"../../chunk-PJP46U5L.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
package/dist/shell/index.d.ts
CHANGED
|
@@ -130,10 +130,10 @@ declare const shellTokens: {
|
|
|
130
130
|
readonly success: "var(--status-success-soft-ink)";
|
|
131
131
|
/** `--es-panel-radius` — 12px, `--radius-xl`. */
|
|
132
132
|
readonly panelRadius: "var(--radius-xl)";
|
|
133
|
-
/** `--es-row-radius` —
|
|
134
|
-
readonly rowRadius: "var(--radius-lg)";
|
|
135
|
-
/** `--es-field-radius` —
|
|
136
|
-
readonly fieldRadius: "var(--radius-md)";
|
|
133
|
+
/** `--es-row-radius` — the shell's card radius (`--radius-card`, 8px by default). */
|
|
134
|
+
readonly rowRadius: "var(--radius-card, var(--radius-lg))";
|
|
135
|
+
/** `--es-field-radius` — the shell's control radius (`--radius-control`, 6px by default). */
|
|
136
|
+
readonly fieldRadius: "var(--radius-control, var(--radius-md))";
|
|
137
137
|
/** `--es-panel-gap` — inter-pane gutter + outer frame padding, ONE token.
|
|
138
138
|
* 12 since the one spacing scale (was 10, which is not a step). */
|
|
139
139
|
readonly panelGap: 12;
|
package/dist/shell/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{SPACING_SCALE,shellCssVars,shellDarkTokens,shellTokens}from"../chunk-
|
|
1
|
+
export{SPACING_SCALE,shellCssVars,shellDarkTokens,shellTokens}from"../chunk-HMXIAMCU.js";
|
package/dist/shell/shell.css
CHANGED
|
@@ -122,10 +122,18 @@
|
|
|
122
122
|
--es-preview-tint: var(--status-pending-soft);
|
|
123
123
|
--es-success: var(--status-success-soft-ink);
|
|
124
124
|
|
|
125
|
-
/* — radii: the shell's
|
|
125
|
+
/* — radii: the shell's role tokens where one fits, its scale where none
|
|
126
|
+
does. A field is a control and a row is a card, so each takes that role's
|
|
127
|
+
radius and a host that restyles the role restyles the editor with it. A
|
|
128
|
+
side panel is 12px, which no role draws (a card is 8, a menu and a window
|
|
129
|
+
16), so it stays on the scale's step. All three follow the theme's
|
|
130
|
+
Corners setting either way: the setting rescales the scale itself. The
|
|
131
|
+
second value is the step each role stands on, for a document that loads
|
|
132
|
+
this sheet without the shell's `ui.css` (the role tokens are declared
|
|
133
|
+
there). — */
|
|
126
134
|
--es-panel-radius: var(--radius-xl);
|
|
127
|
-
--es-row-radius: var(--radius-lg);
|
|
128
|
-
--es-field-radius: var(--radius-md);
|
|
135
|
+
--es-row-radius: var(--radius-card, var(--radius-lg));
|
|
136
|
+
--es-field-radius: var(--radius-control, var(--radius-md));
|
|
129
137
|
--es-panel-gap: 12px;
|
|
130
138
|
|
|
131
139
|
/* — spacing: ONE scale for every panel (owner ruling, 2026-10-02) —
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{COPY_STYLE_SHORTCUT,PASTE_STYLE_SHORTCUT,STYLE_KIND,choiceKind,clearStyle,copyStyle,fieldKind,heldStyle,pasteMessage,planPaste,styleMenuItems,styleShortcut,subscribeStyle,withStyleKind}from"../chunk-
|
|
1
|
+
export{COPY_STYLE_SHORTCUT,PASTE_STYLE_SHORTCUT,STYLE_KIND,choiceKind,clearStyle,copyStyle,fieldKind,heldStyle,pasteMessage,planPaste,styleMenuItems,styleShortcut,subscribeStyle,withStyleKind}from"../chunk-V7U33NF2.js";import"../chunk-6WY6ZXJG.js";
|