@instructure/platform-block-content-editor 1.1.0 → 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 +17 -5
- package/dist/components/blocks/LayoutContainer/LayoutContainer.d.ts.map +1 -1
- package/dist/editor/BlockContentEditor.d.ts +5 -2
- package/dist/editor/BlockContentEditor.d.ts.map +1 -1
- package/dist/editor/preview/PreviewArea.d.ts +10 -13
- package/dist/editor/preview/PreviewArea.d.ts.map +1 -1
- package/dist/editor/preview/index.d.ts +0 -1
- package/dist/editor/preview/index.d.ts.map +1 -1
- package/dist/editor/preview/previewStyles.d.ts +7 -8
- package/dist/editor/preview/previewStyles.d.ts.map +1 -1
- package/dist/editor/sidebar/panel/DesignerSideBar.d.ts +1 -1
- package/dist/editor/sidebar/panel/DesignerSideBar.d.ts.map +1 -1
- package/dist/editor/sidebar/panel/types.d.ts +3 -0
- package/dist/editor/sidebar/panel/types.d.ts.map +1 -1
- package/dist/editor/sidebar/tray/BlockTray.d.ts.map +1 -1
- package/dist/editor/sidebar/tray/TemplatesPanel.d.ts.map +1 -1
- package/dist/index.js +4242 -4253
- package/dist/viewer/Viewer.d.ts +3 -1
- package/dist/viewer/Viewer.d.ts.map +1 -1
- package/dist/viewer/viewerStyles.d.ts +12 -0
- package/dist/viewer/viewerStyles.d.ts.map +1 -0
- package/locales/en.json +0 -3
- package/package.json +1 -1
- package/dist/editor/preview/previewTranslations.d.ts +0 -18
- package/dist/editor/preview/previewTranslations.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -105,15 +105,27 @@ block-level AI (`BlockAIMenu`, `useGenerateAltText`).
|
|
|
105
105
|
|
|
106
106
|
## Preview — the host presents it
|
|
107
107
|
|
|
108
|
-
`PreviewArea` is a framed student preview over the read-path `Viewer
|
|
109
|
-
|
|
110
|
-
the
|
|
108
|
+
`PreviewArea` is a framed student preview over the read-path `Viewer`, sized from a required,
|
|
109
|
+
controlled `viewport` prop (`'desktop' | 'mobile'`). It renders no switch of its own — the host
|
|
110
|
+
builds the Desktop/Mobile toggle and drives `viewport` from its own state. The package ships
|
|
111
|
+
**no modal**: how the preview is presented (modal, drawer, fullscreen, inline) is the host's choice.
|
|
111
112
|
|
|
112
113
|
```tsx
|
|
113
|
-
import { PreviewArea } from '@instructure/platform-block-content-editor'
|
|
114
|
+
import { PreviewArea, PREVIEW_VIEWPORTS, type PreviewViewport } from '@instructure/platform-block-content-editor'
|
|
115
|
+
|
|
116
|
+
const [viewport, setViewport] = useState<PreviewViewport>(PREVIEW_VIEWPORTS.DESKTOP)
|
|
114
117
|
|
|
115
118
|
<Modal open={previewing} onDismiss={…}>
|
|
116
|
-
<
|
|
119
|
+
<div role="group" aria-label="Preview viewport">
|
|
120
|
+
<Button onClick={() => setViewport(PREVIEW_VIEWPORTS.DESKTOP)}>Desktop</Button>
|
|
121
|
+
<Button onClick={() => setViewport(PREVIEW_VIEWPORTS.MOBILE)}>Mobile</Button>
|
|
122
|
+
</div>
|
|
123
|
+
<PreviewArea
|
|
124
|
+
templateLayout={engine.templateLayout}
|
|
125
|
+
templateData={engine.templateData}
|
|
126
|
+
componentRegistry={registry}
|
|
127
|
+
viewport={viewport}
|
|
128
|
+
/>
|
|
117
129
|
</Modal>
|
|
118
130
|
```
|
|
119
131
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/blocks/LayoutContainer/LayoutContainer.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAExE,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EAMR,kBAA6B,EAC7B,gBAA2B,EAC3B,MAAM,EACN,eAAwB,EACxB,UAAU,EACV,OAAO,EACP,UAAU,EACV,OAAO,EACP,KAAK,GACN,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"LayoutContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/blocks/LayoutContainer/LayoutContainer.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAExE,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EAMR,kBAA6B,EAC7B,gBAA2B,EAC3B,MAAM,EACN,eAAwB,EACxB,UAAU,EACV,OAAO,EACP,UAAU,EACV,OAAO,EACP,KAAK,GACN,EAAE,oBAAoB,kDAwDtB"}
|
|
@@ -10,8 +10,11 @@ export interface BlockContentEditorProps<HostToolId extends string = never> {
|
|
|
10
10
|
engine: UseBlockEditorStateReturn;
|
|
11
11
|
/** The registry the document's blocks resolve against (same one passed to `useBlockEditorState`). */
|
|
12
12
|
registry: BlockRegistry;
|
|
13
|
-
/** Host tools
|
|
14
|
-
*
|
|
13
|
+
/** Host tools — the host-tool slot (a widget tray, the IgniteAI Assistant). Rendered
|
|
14
|
+
* alongside the built-ins in one rail; the built-ins carry `priority` 0-3, so a host tool
|
|
15
|
+
* with no `priority` set renders after all four (e.g. a widget tray), while one that sets a
|
|
16
|
+
* lower `priority` renders before them (e.g. an Assistant docked at the top of the rail).
|
|
17
|
+
* Block-level AI is gated on the `AIAction` seam, not on a tool. */
|
|
15
18
|
tools?: Tool<HostToolId>[];
|
|
16
19
|
/** Which built-in trays to render, as a subset of `BUILT_IN_TOOL_IDS`; defaults to all four.
|
|
17
20
|
* Rendered in the canonical order regardless of the order given (e.g. a dashboard passes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockContentEditor.d.ts","sourceRoot":"","sources":["../../src/editor/BlockContentEditor.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAE,KAAK,aAAa,EAAqB,MAAM,aAAa,CAAA;AAOnE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAQjD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAE5E,6FAA6F;AAC7F,eAAO,MAAM,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G,KAAK,EAAE,EACpE,MAAM,EACN,QAAQ,EACR,KAAK,EAAE,SAAS,EAChB,cAAuC,EACvC,aAAa,EACb,MAAM,EACN,oBAAoB,GACrB,EAAE,uBAAuB,CAAC,UAAU,CAAC,2CA8NrC"}
|
|
@@ -9,23 +9,20 @@ export interface PreviewAreaProps {
|
|
|
9
9
|
componentRegistry: BlockRegistry;
|
|
10
10
|
/** Shown as the page title above the rendered document. */
|
|
11
11
|
objectName?: string;
|
|
12
|
-
/**
|
|
13
|
-
|
|
14
|
-
* pass it — with `onViewportChange` — for the host to drive the switch instead.
|
|
15
|
-
*/
|
|
16
|
-
viewport?: PreviewViewport;
|
|
17
|
-
/** Called when the built-in switch changes viewport (fires in both modes). */
|
|
18
|
-
onViewportChange?: (viewport: PreviewViewport) => void;
|
|
12
|
+
/** Which device width the frame simulates. Controlled — the host owns the switch UI that drives it. */
|
|
13
|
+
viewport: PreviewViewport;
|
|
19
14
|
/** Forwarded to the `Viewer` — one call per node the registry could not resolve. */
|
|
20
15
|
onUnresolvedBlock?: (block: UnresolvedBlock) => void;
|
|
21
16
|
}
|
|
22
17
|
/**
|
|
23
18
|
* The learner-facing preview of an authored document: a shaded "student browser" frame around
|
|
24
|
-
* the read-path `Viewer`,
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
19
|
+
* the read-path `Viewer`, resized to the `viewport` prop. It renders no switch of its own — the
|
|
20
|
+
* host decides how to offer Desktop/Mobile (or any other) selection and drives `viewport`
|
|
21
|
+
* accordingly. It is an inline area — how it is presented (modal, drawer, fullscreen, inline) and
|
|
22
|
+
* any surrounding chrome is the host's choice. Brand color, translations and host data hooks come
|
|
23
|
+
* from the host's own providers above it, exactly as for the `Viewer`; no `theme`/`isEditMode` is
|
|
24
|
+
* injected. The `Viewer` runs with designer mode off so blocks render their student — not
|
|
25
|
+
* authoring — state.
|
|
29
26
|
*/
|
|
30
|
-
export declare function PreviewArea({ templateLayout, templateData, componentRegistry, objectName, viewport,
|
|
27
|
+
export declare function PreviewArea({ templateLayout, templateData, componentRegistry, objectName, viewport, onUnresolvedBlock, }: PreviewAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
31
28
|
//# sourceMappingURL=PreviewArea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreviewArea.d.ts","sourceRoot":"","sources":["../../../src/editor/preview/PreviewArea.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PreviewArea.d.ts","sourceRoot":"","sources":["../../../src/editor/preview/PreviewArea.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAE9F,OAAO,EAAE,KAAK,eAAe,EAAmB,MAAM,aAAa,CAAA;AAGnE,MAAM,WAAW,gBAAgB;IAC/B,iEAAiE;IACjE,cAAc,EAAE,UAAU,EAAE,CAAA;IAC5B,kEAAkE;IAClE,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,iFAAiF;IACjF,iBAAiB,EAAE,aAAa,CAAA;IAChC,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uGAAuG;IACvG,QAAQ,EAAE,eAAe,CAAA;IACzB,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAA;CACrD;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,EAC1B,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,iBAAiB,GAClB,EAAE,gBAAgB,2CA2BlB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { PreviewArea, type PreviewAreaProps } from './PreviewArea';
|
|
2
2
|
export { PREVIEW_VIEWPORTS, type PreviewViewport, VIEWPORT_WIDTHS } from './constants';
|
|
3
|
-
export { type DesignerPreviewTranslations, DesignerPreviewEnglish, } from './previewTranslations';
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/preview/index.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAClE,OAAO,EAAE,iBAAiB,EAAE,KAAK,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/preview/index.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAClE,OAAO,EAAE,iBAAiB,EAAE,KAAK,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The student preview's chrome CSS: the outer column, the
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
2
|
+
* The student preview's chrome CSS: the outer column, the shaded "student browser" frame whose
|
|
3
|
+
* width the host-driven `viewport` prop animates, and the white page surface that scrolls the
|
|
4
|
+
* rendered document. None of it is expressible in InstUI props — it needs a gradient background,
|
|
5
|
+
* an animated `max-width` and a media query — so, like the canvas and tool panel chrome, it is
|
|
6
|
+
* injected once as a global stylesheet keyed by stable class names. The per-viewport width varies
|
|
7
|
+
* at runtime and is fed in as the `FRAME_WIDTH_VAR` custom property (not an inline `max-width`,
|
|
8
|
+
* which would outrank the phone media query below).
|
|
9
9
|
*/
|
|
10
10
|
export declare const PREVIEW_CLASS: {
|
|
11
11
|
readonly root: "bce-preview";
|
|
12
|
-
readonly header: "bce-preview-header";
|
|
13
12
|
readonly frame: "bce-preview-frame";
|
|
14
13
|
readonly topNav: "bce-preview-top-nav";
|
|
15
14
|
readonly page: "bce-preview-page";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"previewStyles.d.ts","sourceRoot":"","sources":["../../../src/editor/preview/previewStyles.tsx"],"names":[],"mappings":"AAoBA;;;;;;;;GAQG;AAEH,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"previewStyles.d.ts","sourceRoot":"","sources":["../../../src/editor/preview/previewStyles.tsx"],"names":[],"mappings":"AAoBA;;;;;;;;GAQG;AAEH,eAAO,MAAM,aAAa;;;;;CAKhB,CAAA;AAEV,eAAO,MAAM,eAAe,8BAA8B,CAAA;AAqB1D,yEAAyE;AACzE,wBAAgB,mBAAmB,4CAyDlC"}
|
|
@@ -6,7 +6,7 @@ import { DesignerSideBarProps, ToolPanelHandle } from './types';
|
|
|
6
6
|
* supplied through `tools`. Each open tool gets its own `DesignerNavProvider` (keyed by tool
|
|
7
7
|
* id, so switching tools resets navigation) and `ToolHeaderActionsProvider`.
|
|
8
8
|
*/
|
|
9
|
-
declare function DesignerSideBarInner<ID extends string>({ tools, initialSelectedToolId, height, toolStyle, isFullScreenMode, hasExpandPanelButton, onToolChange, onFullWidthChange, isPanelResizeEnabled, selectedToolId: controlledSelectedToolId, onSelectedToolIdChange, view, onViewChange, renderContentInActiveLayoutOnly, controlledExpandedWidth, contentKey, onBack, }: DesignerSideBarProps<ID>, ref: Ref<ToolPanelHandle<ID>>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function DesignerSideBarInner<ID extends string>({ tools: unsortedTools, initialSelectedToolId, height, toolStyle, isFullScreenMode, hasExpandPanelButton, onToolChange, onFullWidthChange, isPanelResizeEnabled, selectedToolId: controlledSelectedToolId, onSelectedToolIdChange, view, onViewChange, renderContentInActiveLayoutOnly, controlledExpandedWidth, contentKey, onBack, }: DesignerSideBarProps<ID>, ref: Ref<ToolPanelHandle<ID>>): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
/**
|
|
11
11
|
* `forwardRef` erases the generic, so re-assert it on the exported component: callers keep
|
|
12
12
|
* `Tool<ID>` inference and a typed imperative handle.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DesignerSideBar.d.ts","sourceRoot":"","sources":["../../../../src/editor/sidebar/panel/DesignerSideBar.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAIL,KAAK,GAAG,
|
|
1
|
+
{"version":3,"file":"DesignerSideBar.d.ts","sourceRoot":"","sources":["../../../../src/editor/sidebar/panel/DesignerSideBar.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAIL,KAAK,GAAG,EAQT,MAAM,OAAO,CAAA;AAYd,OAAO,KAAK,EAAE,oBAAoB,EAAQ,eAAe,EAAE,MAAM,SAAS,CAAA;AA6C1E;;;;;GAKG;AACH,iBAAS,oBAAoB,CAAC,EAAE,SAAS,MAAM,EAC7C,EACE,KAAK,EAAE,aAAa,EACpB,qBAAqB,EACrB,MAAM,EACN,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EACjB,oBAA2B,EAC3B,cAAc,EAAE,wBAAwB,EACxC,sBAAsB,EACtB,IAAI,EACJ,YAAY,EACZ,+BAAsC,EACtC,uBAAuB,EACvB,UAAU,EACV,MAAM,GACP,EAAE,oBAAoB,CAAC,EAAE,CAAC,EAC3B,GAAG,EAAE,GAAG,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,2CA0W9B;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAuC,CAAC,EAAE,SAAS,MAAM,EACnF,KAAK,EAAE,oBAAoB,CAAC,EAAE,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAA;CAAE,KACjE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -14,6 +14,9 @@ export interface Tool<ID extends string> {
|
|
|
14
14
|
id: ID;
|
|
15
15
|
/** Rail tooltip + header title, already translated. */
|
|
16
16
|
title: string;
|
|
17
|
+
/** Rail position, lowest first; ties keep the given array order. Omitted sorts after every
|
|
18
|
+
* tool that sets one, in the order given — a host tool with no `priority` renders last. */
|
|
19
|
+
priority?: number;
|
|
17
20
|
icon: ReactNode;
|
|
18
21
|
/** Shown in the rail while this tool is active; falls back to `icon`. */
|
|
19
22
|
activeIcon?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/editor/sidebar/panel/types.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAA;AAE5E;;;;;;;GAOG;AACH,MAAM,WAAW,IAAI,CAAC,EAAE,SAAS,MAAM;IACrC,EAAE,EAAE,EAAE,CAAA;IACN,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,SAAS,CAAA;IACf,yEAAyE;IACzE,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,qEAAqE;IACrE,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,sFAAsF;IACtF,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kGAAkG;IAClG,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oFAAoF;IACpF,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,sFAAsF;AACtF,MAAM,WAAW,eAAe,CAAC,EAAE,SAAS,MAAM;IAChD,QAAQ,EAAE,CAAC,MAAM,EAAE,EAAE,KAAK,IAAI,CAAA;CAC/B;A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AC,OAAO,EAAE,SAAS,KAAK,IAAI,CAAA;IAC9C,aAAa,EAAE,SAAS,CAAA;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockTray.d.ts","sourceRoot":"","sources":["../../../../src/editor/sidebar/tray/BlockTray.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAMpE;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,kFAAkF;IAClF,QAAQ,EAAE,aAAa,CAAA;IACvB,8FAA8F;IAC9F,cAAc,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,6FAA6F;IAC7F,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnC,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACtD,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9E;AAED,UAAU,sBAAuB,SAAQ,cAAc;IACrD,QAAQ,EAAE,aAAa,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,QAAQ,EACR,KAAK,GACN,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"BlockTray.d.ts","sourceRoot":"","sources":["../../../../src/editor/sidebar/tray/BlockTray.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAMpE;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,kFAAkF;IAClF,QAAQ,EAAE,aAAa,CAAA;IACvB,8FAA8F;IAC9F,cAAc,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,6FAA6F;IAC7F,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnC,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACtD,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9E;AAED,UAAU,sBAAuB,SAAQ,cAAc;IACrD,QAAQ,EAAE,aAAa,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,QAAQ,EACR,KAAK,GACN,EAAE,sBAAsB,2CAoCxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplatesPanel.d.ts","sourceRoot":"","sources":["../../../../src/editor/sidebar/tray/TemplatesPanel.tsx"],"names":[],"mappings":"AAuBA,sFAAsF;AACtF,wBAAgB,cAAc,
|
|
1
|
+
{"version":3,"file":"TemplatesPanel.d.ts","sourceRoot":"","sources":["../../../../src/editor/sidebar/tray/TemplatesPanel.tsx"],"names":[],"mappings":"AAuBA,sFAAsF;AACtF,wBAAgB,cAAc,4CAU7B;AAED,eAAe,cAAc,CAAA"}
|