@burger-editor/client 4.0.0-alpha.76 → 4.0.0-alpha.78
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 +42 -41
- package/dist/block-swap-view-transition-css.d.ts +7 -0
- package/dist/block-swap-view-transition-css.d.ts.map +1 -0
- package/dist/burger-editor-root.d.ts +1 -1
- package/dist/client.css +158 -18
- package/dist/client.js +10865 -10524
- package/dist/client.js.map +1 -1
- package/dist/components/block-catalog.d.ts +1 -1
- package/dist/components/block-catalog.d.ts.map +1 -1
- package/dist/components/block-menu-anchors.d.ts +25 -0
- package/dist/components/block-menu-anchors.d.ts.map +1 -0
- package/dist/components/block-menu-button.d.ts +8 -3
- package/dist/components/block-menu-button.d.ts.map +1 -1
- package/dist/components/block-menu-view.d.ts +36 -30
- package/dist/components/block-menu-view.d.ts.map +1 -1
- package/dist/components/block-menu.d.ts +1 -1
- package/dist/components/block-menu.d.ts.map +1 -1
- package/dist/components/block-options.d.ts +1 -1
- package/dist/components/block-options.d.ts.map +1 -1
- package/dist/components/draft-switcher.d.ts +1 -1
- package/dist/components/editable-area-view.d.ts +1 -1
- package/dist/components/editable-area-view.d.ts.map +1 -1
- package/dist/components/file-list.d.ts +1 -1
- package/dist/components/file-uploader.d.ts +1 -1
- package/dist/components/front-matter-editor.d.ts +17 -6
- package/dist/components/front-matter-editor.d.ts.map +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/initial-insertion-button.d.ts +1 -1
- package/dist/components/item-editor-host.d.ts +1 -1
- package/dist/components/preview.d.ts +1 -1
- package/dist/components/table-editor.d.ts +1 -1
- package/dist/components/tabs.d.ts +1 -1
- package/dist/components/thumbnail-button.d.ts +39 -0
- package/dist/components/thumbnail-button.d.ts.map +1 -0
- package/dist/components/thumbnail.d.ts +1 -1
- package/dist/components/wysiwyg-field.d.ts +1 -1
- package/dist/create-mock-engine-BloCpuEu.js +87 -0
- package/dist/create-mock-engine-BloCpuEu.js.map +1 -0
- package/dist/{engine-context-D0zt6fhJ.js → dist-DYydjVsL.js} +960 -577
- package/dist/dist-DYydjVsL.js.map +1 -0
- package/dist/{editable-area-view-S2Uz7pl8.js → editable-area-view-CAeVDyOh.js} +693 -672
- package/dist/editable-area-view-CAeVDyOh.js.map +1 -0
- package/dist/editor-dialog.d.ts +1 -1
- package/dist/engine-context-oEEsvNSx.js +49 -0
- package/dist/engine-context-oEEsvNSx.js.map +1 -0
- package/dist/engine-context.d.ts +9 -6
- package/dist/engine-context.d.ts.map +1 -1
- package/dist/form/checkbox.d.ts +1 -1
- package/dist/form/fieldset.d.ts +1 -1
- package/dist/form/number-field.d.ts +1 -1
- package/dist/form/radio-group.d.ts +1 -1
- package/dist/form/select-field.d.ts +5 -2
- package/dist/form/select-field.d.ts.map +1 -1
- package/dist/form/text-area.d.ts +1 -1
- package/dist/form/text-field.d.ts +12 -2
- package/dist/form/text-field.d.ts.map +1 -1
- package/dist/interest-hints.d.ts +21 -0
- package/dist/interest-hints.d.ts.map +1 -0
- package/dist/replace-element.d.ts +12 -4
- package/dist/replace-element.d.ts.map +1 -1
- package/dist/root-error-boundary.d.ts +1 -1
- package/dist/testing/create-mock-engine.d.ts +3 -0
- package/dist/testing/create-mock-engine.d.ts.map +1 -1
- package/dist/testing/render-with-engine.d.ts +1 -1
- package/dist/testing-mock-engine.js +1 -0
- package/dist/testing.js +4 -55
- package/dist/testing.js.map +1 -1
- package/dist/ui.d.ts +1 -0
- package/dist/ui.d.ts.map +1 -1
- package/dist/ui.js +267 -160
- package/dist/ui.js.map +1 -1
- package/package.json +26 -22
- package/dist/editable-area-view-S2Uz7pl8.js.map +0 -1
- package/dist/engine-context-D0zt6fhJ.js.map +0 -1
|
@@ -14,6 +14,14 @@
|
|
|
14
14
|
* @param root0.disabled
|
|
15
15
|
* @param root0.placeholder
|
|
16
16
|
* @param root0.describedBy
|
|
17
|
+
* @param root0.required - Marks the field as required for assistive
|
|
18
|
+
* technology via `aria-required`. The native `required` attribute is not
|
|
19
|
+
* used: `type` is dynamic here, so markup linting cannot tell it is valid.
|
|
20
|
+
* The dialog form is `noValidate`, so the browser never blocks submission;
|
|
21
|
+
* the item's `toItemData` is what rejects an empty value.
|
|
22
|
+
* @param root0.onBlur - Called when focus leaves the input. Use it to
|
|
23
|
+
* normalize a value (for example, to restore a default when the field was
|
|
24
|
+
* left empty) once the user has finished typing, not on every keystroke.
|
|
17
25
|
* @example
|
|
18
26
|
* ```tsx
|
|
19
27
|
* <TextField
|
|
@@ -24,7 +32,7 @@
|
|
|
24
32
|
* />
|
|
25
33
|
* ```
|
|
26
34
|
*/
|
|
27
|
-
export declare function TextField({ label, value, onChange, type, name, disabled, placeholder, describedBy, }: {
|
|
35
|
+
export declare function TextField({ label, value, onChange, type, name, disabled, placeholder, describedBy, required, onBlur, }: {
|
|
28
36
|
readonly label: string;
|
|
29
37
|
readonly value: string;
|
|
30
38
|
readonly onChange: (value: string) => void;
|
|
@@ -33,5 +41,7 @@ export declare function TextField({ label, value, onChange, type, name, disabled
|
|
|
33
41
|
readonly disabled?: boolean;
|
|
34
42
|
readonly placeholder?: string;
|
|
35
43
|
readonly describedBy?: string;
|
|
36
|
-
|
|
44
|
+
readonly required?: boolean;
|
|
45
|
+
readonly onBlur?: () => void;
|
|
46
|
+
}): import('react').JSX.Element;
|
|
37
47
|
//# sourceMappingURL=text-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.d.ts","sourceRoot":"","sources":["../../src/form/text-field.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"text-field.d.ts","sourceRoot":"","sources":["../../src/form/text-field.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,SAAS,CAAC,EACzB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,IAAa,EACb,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,WAAW,EACX,QAAQ,EACR,MAAM,GACN,EAAE;IACF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,OAAO,CAAC;IACzC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,+BAiBA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare module 'react' {
|
|
2
|
+
interface ButtonHTMLAttributes<T> {
|
|
3
|
+
/**
|
|
4
|
+
* Id of the element shown as an interest-triggered hint popover when
|
|
5
|
+
* the button is hovered or focused.
|
|
6
|
+
*/
|
|
7
|
+
interestfor?: string;
|
|
8
|
+
}
|
|
9
|
+
interface HTMLAttributes<T> {
|
|
10
|
+
/** Popover state; `hint` is dismissed with Esc without moving focus. */
|
|
11
|
+
popover?: '' | 'auto' | 'manual' | 'hint';
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Re-exported so module augmentation survives d.ts bundling.
|
|
16
|
+
*/
|
|
17
|
+
export interface InterestHintAttributes {
|
|
18
|
+
readonly interestfor?: string;
|
|
19
|
+
readonly popover?: '' | 'auto' | 'manual' | 'hint';
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=interest-hints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interest-hints.d.ts","sourceRoot":"","sources":["../src/interest-hints.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,OAAO,CAAC;AAEf,OAAO,QAAQ,OAAO,CAAC;IAEtB,UAAU,oBAAoB,CAAC,CAAC;QAC/B;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;KACrB;IAGD,UAAU,cAAc,CAAC,CAAC;QACzB,wEAAwE;QACxE,OAAO,CAAC,EAAE,EAAE,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;KAC1C;CACD;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACtC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,OAAO,CAAC,EAAE,EAAE,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;CACnD"}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Swap two adjacent sibling blocks with a View Transition, then wait until it
|
|
3
|
+
* finishes so `beginProcessing()` covers the same window as before.
|
|
2
4
|
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @param
|
|
5
|
+
* Animation length and `prefers-reduced-motion: reduce` are controlled by CSS
|
|
6
|
+
* injected into the editable-area iframe (`editable-area-view.tsx`), not here.
|
|
7
|
+
* @param elA - First sibling element
|
|
8
|
+
* @param elB - Second sibling element (same parent as `elA`)
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* await replaceElement(currentBlock.el, currentBlock.el.nextElementSibling as HTMLElement);
|
|
12
|
+
* // The two blocks have exchanged positions in the DOM.
|
|
13
|
+
* ```
|
|
6
14
|
*/
|
|
7
|
-
export declare function replaceElement(elA: HTMLElement, elB: HTMLElement
|
|
15
|
+
export declare function replaceElement(elA: HTMLElement, elB: HTMLElement): Promise<void>;
|
|
8
16
|
//# sourceMappingURL=replace-element.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replace-element.d.ts","sourceRoot":"","sources":["../src/replace-element.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"replace-element.d.ts","sourceRoot":"","sources":["../src/replace-element.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AACH,wBAAsB,cAAc,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAwCtF"}
|
|
@@ -30,5 +30,5 @@ export declare function reportRenderError(engine: BurgerEditorEngine, error: unk
|
|
|
30
30
|
*/
|
|
31
31
|
export declare function RootErrorBoundary({ children }: {
|
|
32
32
|
readonly children: ReactNode;
|
|
33
|
-
}): import(
|
|
33
|
+
}): import('react').JSX.Element;
|
|
34
34
|
//# sourceMappingURL=root-error-boundary.d.ts.map
|
|
@@ -6,6 +6,9 @@ import { BurgerEditorEngine } from '@burger-editor/core';
|
|
|
6
6
|
* private constructorのため直接`new`できず、キャストで代用する)。コンポーネントが
|
|
7
7
|
* 実際に呼ぶメソッド・プロパティだけを`overrides`で個別に差し込む。
|
|
8
8
|
*
|
|
9
|
+
* `config`は必須のキーだけを持つ最小の値を既定にする(エディタが`useEngine().config`を
|
|
10
|
+
* 読むため)。別の設定を試すときは`overrides`で`config`を渡す。
|
|
11
|
+
*
|
|
9
12
|
* `overrides`にgetterを渡した場合はライブなアクセサとして保持される(単純な
|
|
10
13
|
* オブジェクトスプレッドだとgetterがマージ時点の値へ固定されてしまうため、
|
|
11
14
|
* `Object.defineProperties`でプロパティ記述子ごと合成する)。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-mock-engine.d.ts","sourceRoot":"","sources":["../../src/testing/create-mock-engine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAI9D
|
|
1
|
+
{"version":3,"file":"create-mock-engine.d.ts","sourceRoot":"","sources":["../../src/testing/create-mock-engine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAI9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,gBAAgB,CAC/B,SAAS,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GACrC,kBAAkB,CAoCpB"}
|
|
@@ -16,5 +16,5 @@ import { ReactElement } from 'react';
|
|
|
16
16
|
* renderWithEngine(engine, <FileList fileType="image" />);
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
export declare function renderWithEngine(engine: BurgerEditorEngine, ui: ReactElement, options?: RenderOptions): import('@testing-library/react').RenderResult<typeof import(
|
|
19
|
+
export declare function renderWithEngine(engine: BurgerEditorEngine, ui: ReactElement, options?: RenderOptions): import('@testing-library/react').RenderResult<typeof import('@testing-library/dom/types/queries.js'), HTMLElement, HTMLElement>;
|
|
20
20
|
//# sourceMappingURL=render-with-engine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as createMockEngine } from "./create-mock-engine-BloCpuEu.js";
|
package/dist/testing.js
CHANGED
|
@@ -1,58 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as createMockEngine } from "./create-mock-engine-BloCpuEu.js";
|
|
2
|
+
import { t as EngineProvider } from "./engine-context-oEEsvNSx.js";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
import { render } from "@testing-library/react";
|
|
4
5
|
import { afterEach, beforeEach, vi } from "vitest";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* テストやStorybookでコンポーネントを描画するための最小限のfake engineを作る。
|
|
8
|
-
*
|
|
9
|
-
* `uiState`/`commandBus`は本物のインスタンスをそのまま使う(`BurgerEditorEngine`は
|
|
10
|
-
* private constructorのため直接`new`できず、キャストで代用する)。コンポーネントが
|
|
11
|
-
* 実際に呼ぶメソッド・プロパティだけを`overrides`で個別に差し込む。
|
|
12
|
-
*
|
|
13
|
-
* `overrides`にgetterを渡した場合はライブなアクセサとして保持される(単純な
|
|
14
|
-
* オブジェクトスプレッドだとgetterがマージ時点の値へ固定されてしまうため、
|
|
15
|
-
* `Object.defineProperties`でプロパティ記述子ごと合成する)。
|
|
16
|
-
* @param overrides - コンポーネントが必要とする追加プロパティ・メソッド
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* const engine = createMockEngine({ content: { type: 'draft' } });
|
|
20
|
-
* ```
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts
|
|
23
|
-
* // uiStateのprocessingを都度反映するライブなgetterを差し込む
|
|
24
|
-
* const uiState = new UIStateStore();
|
|
25
|
-
* const engine = createMockEngine({
|
|
26
|
-
* uiState,
|
|
27
|
-
* get isProcessed() {
|
|
28
|
-
* return uiState.getSnapshot().processing;
|
|
29
|
-
* },
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
function createMockEngine(overrides = {}) {
|
|
34
|
-
const base = {
|
|
35
|
-
el: document.createElement("div"),
|
|
36
|
-
uiState: new UIStateStore(),
|
|
37
|
-
commandBus: new CommandBus(),
|
|
38
|
-
content: { type: "main" },
|
|
39
|
-
isProcessed: false,
|
|
40
|
-
serverAPI: {},
|
|
41
|
-
save: () => {},
|
|
42
|
-
clearCurrentBlock: () => {},
|
|
43
|
-
showMain: () => {},
|
|
44
|
-
showDraft: () => {},
|
|
45
|
-
hasDraft: () => false,
|
|
46
|
-
getContentStylesheet: () => Promise.resolve(""),
|
|
47
|
-
getCustomProperties: () => /* @__PURE__ */ new Map(),
|
|
48
|
-
getRepeatMinInlineSizeVariants: () => null,
|
|
49
|
-
getEditableContent: () => null,
|
|
50
|
-
commitSourceEdit: async () => {}
|
|
51
|
-
};
|
|
52
|
-
return Object.defineProperties(base, Object.getOwnPropertyDescriptors(overrides));
|
|
53
|
-
}
|
|
54
|
-
//#endregion
|
|
55
|
-
//#region src/testing/render-with-engine.tsx
|
|
6
|
+
// src/testing/render-with-engine.tsx
|
|
56
7
|
/**
|
|
57
8
|
* `@testing-library/react`'s `render`, pre-wrapped in an `EngineProvider`.
|
|
58
9
|
* Every client UI component under test reads its engine via `useEngine()`
|
|
@@ -74,8 +25,7 @@ function renderWithEngine(engine, ui, options) {
|
|
|
74
25
|
children: ui
|
|
75
26
|
}), options);
|
|
76
27
|
}
|
|
77
|
-
|
|
78
|
-
//#region src/testing/suppress-console-error.ts
|
|
28
|
+
// src/testing/suppress-console-error.ts
|
|
79
29
|
/**
|
|
80
30
|
* Silence `console.error` for the current test file only (registers its
|
|
81
31
|
* own `beforeEach`/`afterEach`, so this must be called at a describe/
|
|
@@ -113,7 +63,6 @@ function suppressConsoleErrors(patterns) {
|
|
|
113
63
|
spy.mockRestore();
|
|
114
64
|
});
|
|
115
65
|
}
|
|
116
|
-
//#endregion
|
|
117
66
|
export { createMockEngine, renderWithEngine, suppressConsoleErrors };
|
|
118
67
|
|
|
119
68
|
//# sourceMappingURL=testing.js.map
|
package/dist/testing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.js","names":["
|
|
1
|
+
{"version":3,"file":"testing.js","names":["render","renderWithEngine","engine","ui","options","afterEach","beforeEach","vi","suppressConsoleErrors","patterns","spy","originalConsoleError","console","error","bind","spyOn","mockImplementation","args","first","some","pattern","includes","mockRestore"],"sources":["../src/testing/render-with-engine.tsx","../src/testing/suppress-console-error.ts"],"sourcesContent":["import type { BurgerEditorEngine } from '@burger-editor/core';\nimport type { RenderOptions } from '@testing-library/react';\nimport type { ReactElement } from 'react';\n\nimport { render } from '@testing-library/react';\n\nimport { EngineProvider } from '../engine-context.js';\n\n/**\n * `@testing-library/react`'s `render`, pre-wrapped in an `EngineProvider`.\n * Every client UI component under test reads its engine via `useEngine()`\n * now, so this is the standard entry point for component specs — pass\n * the same fake/mock engine object the spec already builds.\n * @param engine - The (mock) engine to provide\n * @param ui - The element to render\n * @param options - Forwarded to Testing Library's `render`\n * @returns The Testing Library render result\n * @example\n * ```tsx\n * const engine = createMockEngine();\n * renderWithEngine(engine, <FileList fileType=\"image\" />);\n * ```\n */\nexport function renderWithEngine(\n\tengine: BurgerEditorEngine,\n\tui: ReactElement,\n\toptions?: RenderOptions,\n) {\n\treturn render(<EngineProvider engine={engine}>{ui}</EngineProvider>, options);\n}\n","import { afterEach, beforeEach, vi } from 'vitest';\n\n/**\n * Silence `console.error` for the current test file only (registers its\n * own `beforeEach`/`afterEach`, so this must be called at a describe/\n * module's top level, not inside a `test()`).\n *\n * Several Browser Mode specs hit known false-positive React warnings\n * (act-wrapping noise around a real browser async event, or a\n * Suspense/act warning from reading an already-fulfilled-tagged\n * thenable) that don't indicate a real bug — see each call site's own\n * comment for which warning and why. Scoped per-file instead of a\n * global `setup.ts` override, so an unrelated regression's act warning\n * elsewhere still surfaces.\n * @param patterns - Substrings to match against `console.error`'s first\n * argument; matching calls are dropped, everything else passes through.\n * Omit to silence every `console.error` call in this file instead (e.g.\n * when the test intentionally throws and React's own double-logging of\n * an already-caught error is the only thing to silence).\n * @example\n * ```ts\n * suppressConsoleErrors('was not wrapped in act(...)');\n * ```\n */\nexport function suppressConsoleErrors(patterns?: readonly string[]): void {\n\tlet spy: ReturnType<typeof vi.spyOn>;\n\n\tbeforeEach(() => {\n\t\tconst originalConsoleError = console.error.bind(console);\n\t\tspy = vi.spyOn(console, 'error').mockImplementation((...args: unknown[]) => {\n\t\t\tif (!patterns) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst [first] = args;\n\t\t\tif (\n\t\t\t\ttypeof first === 'string' &&\n\t\t\t\tpatterns.some((pattern) => first.includes(pattern))\n\t\t\t) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\toriginalConsoleError(...args);\n\t\t});\n\t});\n\n\tafterEach(() => {\n\t\tspy.mockRestore();\n\t});\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAuBA,SAAgBC,iBACfC,QACAC,IACAC,SACC;CACD,OAAOJ,OAAO,oBAAC,gBAAD;EAAwBE;EAASC,UAAAA;CAAmB,CAAA,GAAGC,OAAO;AAC7E;;;;;;;;;;;;;;;;;;;;;;;;ACLA,SAAgBI,sBAAsBC,UAAoC;CACzE,IAAIC;CAEJJ,iBAAiB;EAChB,MAAMK,uBAAuBC,QAAQC,MAAMC,KAAKF,OAAO;EACvDF,MAAMH,GAAGQ,MAAMH,SAAS,OAAO,CAAC,CAACI,oBAAoB,GAAGC,SAAoB;GAC3E,IAAI,CAACR,UACJ;GAED,MAAM,CAACS,SAASD;GAChB,IACC,OAAOC,UAAU,YACjBT,SAASU,MAAMC,YAAYF,MAAMG,SAASD,OAAO,CAAC,GAElD;GAEDT,qBAAqB,GAAGM,IAAI;EAC7B,CAAC;CACF,CAAC;CAEDZ,gBAAgB;EACfK,IAAIY,YAAY;CACjB,CAAC;AACF"}
|
package/dist/ui.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type { InvokerCommandAttributes } from './invoker-commands.js';
|
|
2
|
+
export type { InterestHintAttributes } from './interest-hints.js';
|
|
2
3
|
export { EditorDialog } from './editor-dialog.js';
|
|
3
4
|
export { EngineProvider, useEngine } from './engine-context.js';
|
|
4
5
|
export { reactMount } from './mount.js';
|
package/dist/ui.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAC;AAC/B,OAAO,qBAAqB,CAAC;AAE7B,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AACzF,YAAY,EACX,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,cAAc,GACd,MAAM,yBAAyB,CAAC;AACjC,cAAc,iBAAiB,CAAC"}
|