efficient-easel 11.3.0 → 12.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 +20 -41
- package/dist/{canvas-typing-DvoqQINU.d.ts → canvas-typing-CZ11Y5tb.d.ts} +16 -105
- package/dist/chrome/chrome.css +5 -5
- package/dist/chunk-2SOOKBHH.js +21 -0
- package/dist/{chunk-66LWADFP.js → chunk-2XMHLXMA.js} +1 -1
- package/dist/chunk-33C6ALT5.js +1 -0
- package/dist/{chunk-XJCMEEBH.js → chunk-36LVP5WD.js} +7 -7
- package/dist/chunk-47JTYRQC.js +2 -0
- package/dist/{chunk-EXKKLTXH.js → chunk-5NM5TPAX.js} +1 -1
- package/dist/{chunk-ZXGQT75B.js → chunk-5QP7ZE35.js} +1 -1
- package/dist/chunk-5R7FE4VT.js +57 -0
- package/dist/{chunk-FPAVNX3Y.js → chunk-5XUMLKQF.js} +3 -3
- package/dist/{chunk-PPL7GB7D.js → chunk-62VPYC7F.js} +1 -1
- package/dist/chunk-643PVCEG.js +1 -0
- package/dist/chunk-AYWN5NRH.js +1 -0
- package/dist/{chunk-4ACVXF5V.js → chunk-CZYR5V77.js} +1 -1
- package/dist/{chunk-PPHUWGLZ.js → chunk-EC2I7SIY.js} +1 -1
- package/dist/{chunk-DGAXQTDW.js → chunk-FHLYUIJJ.js} +1 -1
- package/dist/{chunk-65Z5FSAW.js → chunk-G3GWAP5R.js} +5 -5
- package/dist/{chunk-2FZJWH24.js → chunk-H4UMY7QF.js} +1 -1
- package/dist/chunk-KE2CXEIK.js +13 -0
- package/dist/chunk-KR4OCYRP.js +1 -0
- package/dist/{chunk-IFS5P7CO.js → chunk-LZS7JZK5.js} +1 -1
- package/dist/chunk-O3RLI7XE.js +1 -0
- package/dist/{chunk-47RGVCPH.js → chunk-QFVRMARS.js} +12 -12
- package/dist/chunk-TBF5CVPA.js +1 -0
- package/dist/chunk-UMDQ6CLQ.js +2 -0
- package/dist/chunk-UX7UJPC5.js +5 -0
- package/dist/chunk-VVPZMWJE.js +1 -0
- package/dist/chunk-WDQY6JMM.js +7 -0
- package/dist/chunk-WP7AZDCV.js +5 -0
- package/dist/chunk-WRFD4EXD.js +1 -0
- package/dist/{chunk-AFSSKGTD.js → chunk-WUO2GBPO.js} +1 -1
- package/dist/{chunk-BPFPM3L4.js → chunk-WY5U4XFO.js} +3 -3
- package/dist/{chunk-XWK7WZQS.js → chunk-X4VIDPKV.js} +1 -1
- package/dist/{chunk-TWFM6GNK.js → chunk-XY5ZHRMR.js} +1 -1
- package/dist/chunk-YHZSBL2N.js +1 -0
- package/dist/copy/copy.css +8 -108
- package/dist/copy/index.d.ts +39 -9
- package/dist/copy/index.js +18 -19
- package/dist/drag/drag.css +8 -8
- package/dist/drag/index.js +1 -1
- package/dist/easel/index.d.ts +3 -3
- package/dist/easel/index.js +1 -1
- package/dist/fields/fields.css +8 -8
- package/dist/fields/index.js +1 -1
- package/dist/gold/index.d.ts +3 -3
- package/dist/gold/index.js +1 -1
- package/dist/icons/index.d.ts +1 -0
- package/dist/markup/index.d.ts +1 -629
- package/dist/markup/index.js +1 -1
- package/dist/menu/menu.css +1 -1
- package/dist/panel/index.js +1 -1
- package/dist/panel/panel.css +12 -12
- package/dist/pick/index.d.ts +30 -8
- package/dist/pick/index.js +3 -7
- package/dist/pick/pick.css +10 -84
- 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/PanelToggleIcon.d.ts +6 -5
- package/dist/screen/components/PanelToggleIcon.js +1 -1
- package/dist/screen/components/ScreenChrome.js +1 -1
- package/dist/screen/components/ScreenDocumentContext.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 +15 -15
- package/dist/screen/components/SidePanelHead.js +1 -1
- package/dist/screen/components/usePartBridge.js +1 -1
- package/dist/screen/index.js +1 -1
- package/dist/screen/lib/key-scope.js +1 -1
- package/dist/screen/lib/puck/device-fields.js +1 -1
- package/dist/screen/lib/puck/slot-child-name.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/screen/screen.css +16 -16
- package/dist/screen/words.js +1 -1
- package/dist/shell/shell.css +10 -8
- package/dist/strings/catalogue.d.ts +2 -2
- package/dist/strings/catalogue.js +1 -1
- package/dist/strings/index.d.ts +2 -2
- package/dist/strings/index.js +1 -1
- package/dist/text-styles/index.d.ts +14 -233
- package/dist/text-styles/index.js +36 -35
- package/dist/text-styles/model.d.ts +267 -0
- package/dist/text-styles/model.js +1 -0
- package/dist/text-styles/text-styles.css +6 -6
- package/dist/{words-dsex49Jh.d.ts → words-notpwHR2.d.ts} +13 -7
- package/package.json +8 -3
- package/dist/chunk-26GHWMNN.js +0 -21
- package/dist/chunk-546BBOPE.js +0 -1
- package/dist/chunk-AZOCY74V.js +0 -57
- package/dist/chunk-BHRC3ASL.js +0 -1
- package/dist/chunk-DD7A6RRL.js +0 -5
- package/dist/chunk-EQFBUNEB.js +0 -1
- package/dist/chunk-FAAZZXIS.js +0 -1
- package/dist/chunk-FFYXVAAL.js +0 -1
- package/dist/chunk-FGJSCWUN.js +0 -7
- package/dist/chunk-GCCBEY2W.js +0 -2
- package/dist/chunk-GG4FGBFR.js +0 -1
- package/dist/chunk-KQMML6JM.js +0 -4
- package/dist/chunk-Q6AM43CA.js +0 -1
- package/dist/chunk-SJPKSE5G.js +0 -13
- package/dist/chunk-U7KFFC7N.js +0 -5
- package/dist/chunk-VWXUMVCD.js +0 -1
- package/dist/chunk-ZAOM6PFH.js +0 -1
package/dist/drag/drag.css
CHANGED
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
opacity: 0;
|
|
64
64
|
}
|
|
65
65
|
.es-canvas-grip {
|
|
66
|
-
font-size:
|
|
66
|
+
font-size: var(--text-2xs, 11px);
|
|
67
67
|
letter-spacing: -2px;
|
|
68
68
|
opacity: 0.8;
|
|
69
69
|
}
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
border-radius: var(--radius-lg);
|
|
222
222
|
background: var(--es-accent-tint);
|
|
223
223
|
color: var(--es-accent-text);
|
|
224
|
-
font-size:
|
|
224
|
+
font-size: var(--text-xs, 12px);
|
|
225
225
|
font-weight: 600;
|
|
226
226
|
}
|
|
227
227
|
.es-add-at-clear {
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
}
|
|
243
243
|
.es-add-hint {
|
|
244
244
|
margin: 0 0 12px;
|
|
245
|
-
font-size:
|
|
245
|
+
font-size: var(--text-xs, 12px);
|
|
246
246
|
color: var(--es-muted);
|
|
247
247
|
}
|
|
248
248
|
/* The search is the shell's `Input` (leftIcon, rightAdornment): one field.
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
margin-bottom: 12px;
|
|
262
262
|
}
|
|
263
263
|
.es-add-group-title {
|
|
264
|
-
font-size: 11px;
|
|
264
|
+
font-size: var(--text-2xs, 11px);
|
|
265
265
|
font-weight: 700;
|
|
266
266
|
letter-spacing: 0.07em;
|
|
267
267
|
text-transform: uppercase;
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
this size (second host, axe-core, 2026-10-07). A count is read, so it is not
|
|
273
273
|
a placeholder. Held by ratio in tests/contrast-small-text.test.ts. */
|
|
274
274
|
.es-add-group-count {
|
|
275
|
-
font-size: 11px;
|
|
275
|
+
font-size: var(--text-2xs, 11px);
|
|
276
276
|
color: var(--es-muted);
|
|
277
277
|
}
|
|
278
278
|
.es-add-grid {
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
background: var(--es-panel);
|
|
298
298
|
color: var(--es-text);
|
|
299
299
|
font: inherit;
|
|
300
|
-
font-size: 12px;
|
|
300
|
+
font-size: var(--text-xs, 12px);
|
|
301
301
|
line-height: 1.2;
|
|
302
302
|
text-align: center;
|
|
303
303
|
cursor: grab;
|
|
@@ -389,10 +389,10 @@
|
|
|
389
389
|
color: var(--es-muted);
|
|
390
390
|
}
|
|
391
391
|
.es-add-empty-title {
|
|
392
|
-
font-size: 14px;
|
|
392
|
+
font-size: var(--text-sm, 14px);
|
|
393
393
|
font-weight: 600;
|
|
394
394
|
color: var(--es-text);
|
|
395
395
|
}
|
|
396
396
|
.es-add-empty-sub {
|
|
397
|
-
font-size:
|
|
397
|
+
font-size: var(--text-xs, 12px);
|
|
398
398
|
}
|
package/dist/drag/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{AddPanel,CanvasDragLayer,CanvasInsert,EMPTY_MEASURE,HANDLE_GRACE_MS,canvasTarget,contains,gapInZone,gapLine,insertSeams,measureCanvas,pickSource,seamsBetween,sourcesAt}from"../chunk-
|
|
1
|
+
export{AddPanel,CanvasDragLayer,CanvasInsert,EMPTY_MEASURE,HANDLE_GRACE_MS,canvasTarget,contains,gapInZone,gapLine,insertSeams,measureCanvas,pickSource,seamsBetween,sourcesAt}from"../chunk-QFVRMARS.js";import"../chunk-AYWN5NRH.js";export{AUTO_SCROLL_EDGE,AUTO_SCROLL_MAX_SPEED,autoScrollDelta,autoScrollSpeed,createDragSession,dropEffectFor,dropOnRow,frameScrollBox,gapToMoveIndex,isNoOpDrop,scrollBoxOf,scrollParent,startAutoScroll,stepGap,useTreeDrag}from"../chunk-67GNT6PF.js";import"../chunk-P2VEMZH5.js";import"../chunk-ILXP5VX5.js";import"../chunk-KRXQM65X.js";import"../chunk-NKB3KVAB.js";
|
package/dist/easel/index.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ import { c as ResolveTrigger, a as ResolveCache, R as ResolvableItem } from '../
|
|
|
8
8
|
import * as react from 'react';
|
|
9
9
|
import { ReactNode, CSSProperties, ComponentType, ReactElement } from 'react';
|
|
10
10
|
import { TextToolbarProps } from 'efficient-shell/ui';
|
|
11
|
-
import { C as CopyBoxLastTool, a as CopyThemeColor, b as CanvasTypingEnd } from '../canvas-typing-
|
|
12
|
-
import { InlineRule } from '
|
|
11
|
+
import { C as CopyBoxLastTool, a as CopyThemeColor, b as CanvasTypingEnd } from '../canvas-typing-CZ11Y5tb.js';
|
|
12
|
+
import { InlineRule } from 'efficient-shell/markup';
|
|
13
13
|
import { b as NodeOpsHost, C as ClipboardEntry } from '../useNodeOps-BHRkUFfG.js';
|
|
14
14
|
import { I as InspectorFields } from '../types-Dkx1VAIQ.js';
|
|
15
|
-
import '../words-
|
|
15
|
+
import '../words-notpwHR2.js';
|
|
16
16
|
import '../buckets-Tj-nkBpg.js';
|
|
17
17
|
|
|
18
18
|
interface EaselOptions<C extends EaselConfig = EaselConfig> {
|
package/dist/easel/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{CanvasFrame,CanvasPassThroughContext,DEFAULT_UI,EaselCanvas,EaselProvider,EditDocument,bindUndoKeys,createEasel,createUseEasel,recordsByDefault,reduce,uiView,useEasel,useEaselApi,useEaselNodeOps,useSelectedFields,validSelection}from"../chunk-
|
|
1
|
+
export{CanvasFrame,CanvasPassThroughContext,DEFAULT_UI,EaselCanvas,EaselProvider,EditDocument,bindUndoKeys,createEasel,createUseEasel,recordsByDefault,reduce,uiView,useEasel,useEaselApi,useEaselNodeOps,useSelectedFields,validSelection}from"../chunk-KE2CXEIK.js";import"../chunk-TBY3DFKS.js";import"../chunk-YRLPFZW3.js";import"../chunk-ECM5F6JJ.js";import"../chunk-ILXP5VX5.js";import"../chunk-KRXQM65X.js";import"../chunk-NKB3KVAB.js";import"../chunk-WDQY6JMM.js";import"../chunk-33C6ALT5.js";import"../chunk-MFIRYGHW.js";
|
package/dist/fields/fields.css
CHANGED
|
@@ -34,7 +34,7 @@ span:has(> .es-fnum) { display: flex; min-width: 0; }
|
|
|
34
34
|
overflow: hidden;
|
|
35
35
|
text-overflow: ellipsis;
|
|
36
36
|
white-space: nowrap;
|
|
37
|
-
font-size: 12px;
|
|
37
|
+
font-size: var(--text-xs, 12px);
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
color: var(--es-text-secondary);
|
|
40
40
|
}
|
|
@@ -49,7 +49,7 @@ span:has(> .es-fnum) { display: flex; min-width: 0; }
|
|
|
49
49
|
.es-fsel { position: relative; width: 100%; min-width: 0; }
|
|
50
50
|
.es-fsel-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
51
51
|
.es-fsel-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
52
|
-
.es-fsel-meta { flex: none; font-size: 11px; font-weight: 400; color: var(--es-muted); }
|
|
52
|
+
.es-fsel-meta { flex: none; font-size: var(--text-2xs, 11px); font-weight: 400; color: var(--es-muted); }
|
|
53
53
|
.es-fsel-thumb {
|
|
54
54
|
flex: none;
|
|
55
55
|
width: 26px;
|
|
@@ -106,8 +106,8 @@ span:has(> .es-fnum) { display: flex; min-width: 0; }
|
|
|
106
106
|
justify-content: space-between;
|
|
107
107
|
gap: 8px;
|
|
108
108
|
}
|
|
109
|
-
.es-list-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--es-text); }
|
|
110
|
-
.es-list-count { font-size: 11px; color: var(--es-muted); font-variant-numeric: tabular-nums; }
|
|
109
|
+
.es-list-label { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-xs, 12px); font-weight: 600; color: var(--es-text); }
|
|
110
|
+
.es-list-count { font-size: var(--text-2xs, 11px); color: var(--es-muted); font-variant-numeric: tabular-nums; }
|
|
111
111
|
|
|
112
112
|
/* A host's bar for the row in use, between the name and the rows. */
|
|
113
113
|
.es-list-above { min-width: 0; }
|
|
@@ -126,7 +126,7 @@ span:has(> .es-fnum) { display: flex; min-width: 0; }
|
|
|
126
126
|
.es-list-row.is-lifting { background: var(--es-raised); box-shadow: var(--rosh-glass-solid-shadow); }
|
|
127
127
|
|
|
128
128
|
/* The row's own control (renderRow): it fills the row up to the ×. */
|
|
129
|
-
.es-list-row-main { flex: 1 1 auto; min-width: 0; min-height: 32px; display: flex; align-items: center; font-size: 12px; color: var(--es-text); }
|
|
129
|
+
.es-list-row-main { flex: 1 1 auto; min-width: 0; min-height: 32px; display: flex; align-items: center; font-size: var(--text-xs, 12px); color: var(--es-text); }
|
|
130
130
|
.es-list-row-main > * { flex: 1 1 auto; min-width: 0; }
|
|
131
131
|
|
|
132
132
|
/* A many-field item: its name, its summary, a chevron that turns when open. */
|
|
@@ -142,7 +142,7 @@ span:has(> .es-fnum) { display: flex; min-width: 0; }
|
|
|
142
142
|
background: none;
|
|
143
143
|
color: var(--es-text);
|
|
144
144
|
font: inherit;
|
|
145
|
-
font-size: 12px;
|
|
145
|
+
font-size: var(--text-xs, 12px);
|
|
146
146
|
text-align: left;
|
|
147
147
|
cursor: inherit;
|
|
148
148
|
}
|
|
@@ -162,7 +162,7 @@ span:has(> .es-fnum) { display: flex; min-width: 0; }
|
|
|
162
162
|
background: transparent;
|
|
163
163
|
color: var(--es-muted);
|
|
164
164
|
font: inherit;
|
|
165
|
-
font-size: 16px;
|
|
165
|
+
font-size: var(--text-base, 16px);
|
|
166
166
|
line-height: 1;
|
|
167
167
|
cursor: pointer;
|
|
168
168
|
}
|
|
@@ -197,7 +197,7 @@ span:has(> .es-fnum) { display: flex; min-width: 0; }
|
|
|
197
197
|
background: none;
|
|
198
198
|
color: var(--es-accent);
|
|
199
199
|
font: inherit;
|
|
200
|
-
font-size: 12px;
|
|
200
|
+
font-size: var(--text-xs, 12px);
|
|
201
201
|
font-weight: 500;
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
}
|
package/dist/fields/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{FieldText,Inspector,InspectorField,LinkPicker,ListField,bucketsOf,copyItem,insertAt,labelOf,moveTo,planFields,removeAt}from"../chunk-
|
|
1
|
+
export{FieldText,Inspector,InspectorField,LinkPicker,ListField,bucketsOf,copyItem,insertAt,labelOf,moveTo,planFields,removeAt}from"../chunk-2SOOKBHH.js";export{FieldSlider}from"../chunk-XWFH2NHZ.js";import"../chunk-4JSBIW5H.js";import"../chunk-RC25EGHD.js";import"../chunk-K56YDHYQ.js";import"../chunk-KFV7N2DJ.js";import"../chunk-EA2HTX37.js";import"../chunk-67GNT6PF.js";import"../chunk-P2VEMZH5.js";export{useResolvedFields}from"../chunk-YRLPFZW3.js";import"../chunk-KRXQM65X.js";import"../chunk-NKB3KVAB.js";export{FieldNumber}from"../chunk-2XMHLXMA.js";export{FieldSelect,optionFor}from"../chunk-G3GWAP5R.js";import"../chunk-36LVP5WD.js";import"../chunk-WRFD4EXD.js";import"../chunk-MFIRYGHW.js";
|
package/dist/gold/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { Ref } from 'react';
|
|
3
|
-
import { InlineRule, InlineKind } from '
|
|
3
|
+
import { InlineRule, InlineKind } from 'efficient-shell/markup';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The type-in-place box: a controlled leaf, and NOTHING else.
|
|
@@ -49,7 +49,7 @@ interface GoldTextInputProps {
|
|
|
49
49
|
/**
|
|
50
50
|
* The grammar's rule set — `STOREFRONT_MARKUP` in the shop,
|
|
51
51
|
* `CAMPAIGN_MARKUP` in the campaign designer, both from
|
|
52
|
-
* `efficient-
|
|
52
|
+
* `efficient-shell/markup`. Defaults to `STANDARD_MARKUP`, which is the subset
|
|
53
53
|
* every product shares; a product with legacy runs (the storefront's
|
|
54
54
|
* `*phrase*` accent) MUST pass its own set or those runs draw as plain text
|
|
55
55
|
* here while the page paints them gold.
|
|
@@ -152,7 +152,7 @@ declare function GoldLayer({ value, rules, className, layerRef }: GoldLayerProps
|
|
|
152
152
|
* character.
|
|
153
153
|
*
|
|
154
154
|
* The grammar is not re-implemented here and never will be (constitution E8):
|
|
155
|
-
* {@link tokenizeInline} from `efficient-
|
|
155
|
+
* {@link tokenizeInline} from `efficient-shell/markup` decides what is a run and
|
|
156
156
|
* what is not, exactly as it does for the published page. What it does not
|
|
157
157
|
* return is the delimiters — it hands back a run's INNER text, because every
|
|
158
158
|
* other consumer wants the words without the asterisks.
|
package/dist/gold/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{GoldLayer,GoldTextInput,goldSegments}from"../chunk-
|
|
1
|
+
export{GoldLayer,GoldTextInput,goldSegments}from"../chunk-H4UMY7QF.js";var e={accent:"var(--gold, #c9a461)",quiet:"var(--es-muted, var(--ink-faint))",caret:"var(--es-text, var(--ink-strongest))",placeholder:"var(--es-field-placeholder, var(--ink-faintest))",delimiterOpacity:"0.35",delimiterRestingOpacity:"0.25",boldShadow:"0 0 0.4px currentColor",italicDecoration:"underline dotted",strikeDecoration:"line-through",pad:"0"},t={accent:"--es-gold-accent",quiet:"--es-gold-quiet",caret:"--es-gold-caret",placeholder:"--es-gold-placeholder",delimiterOpacity:"--es-gold-delim-opacity",delimiterRestingOpacity:"--es-gold-delim-resting-opacity",boldShadow:"--es-gold-bold-shadow",italicDecoration:"--es-gold-italic-decoration",strikeDecoration:"--es-gold-strike-decoration",pad:"--es-gold-pad"};export{t as goldCssVars,e as goldTokens};
|
package/dist/icons/index.d.ts
CHANGED