oasis-editor 0.0.235 → 0.0.236
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/dist/OasisEditorApp-D1FcbFmj.js +1 -0
- package/dist/assets/{importDocxWorker-Y2SpPp5H.js → importDocxWorker-BQrQmIZn.js} +1344 -1147
- package/dist/core/color.d.ts +5 -0
- package/dist/core/cssNamedColors.d.ts +1 -0
- package/dist/{defaultToolbar-nAz9q6vX.js → defaultToolbar-Cr6xcCo4.js} +1 -1
- package/dist/oasis-editor.css +1 -1
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/ui/app/createEditorChangeBroadcast.d.ts +2 -2
- package/dist/ui/components/Toolbar/primitives/ColorGrids.d.ts +1 -0
- package/dist/ui/components/Toolbar/primitives/ColorPicker.d.ts +2 -0
- package/dist/ui/components/Toolbar/primitives/Popover.d.ts +4 -0
- package/dist/ui/components/Toolbar/primitives/SplitButton.d.ts +1 -0
- package/dist/ui/components/Toolbar/state/toolbarChoice.d.ts +2 -0
- package/package.json +3 -2
- package/dist/OasisEditorApp-D3yy9QVI.js +0 -1
|
@@ -11,8 +11,8 @@ export interface EditorChangeBroadcastDeps {
|
|
|
11
11
|
/**
|
|
12
12
|
* Sets up the reactive effect that mirrors document/selection changes out to the
|
|
13
13
|
* host: records the canvas-debug selection, then (when not mid-import) notifies
|
|
14
|
-
* `onStateChange` and emits
|
|
15
|
-
* events. Must be called
|
|
14
|
+
* `onStateChange` and emits document events only for immutable document changes,
|
|
15
|
+
* with selection events tracked independently. Must be called within the owner so the effect
|
|
16
16
|
* is tracked. Extracted from `OasisEditorApp` (S1).
|
|
17
17
|
*/
|
|
18
18
|
export declare function createEditorChangeBroadcast(deps: EditorChangeBroadcastDeps): void;
|
|
@@ -10,6 +10,10 @@ export interface PopoverTriggerApi {
|
|
|
10
10
|
export interface PopoverProps {
|
|
11
11
|
open: boolean;
|
|
12
12
|
onOpenChange: (open: boolean) => void;
|
|
13
|
+
/** Revoking availability closes an open panel and prevents reopening it. */
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/** Restore focus when revocation removes the currently focused panel. */
|
|
16
|
+
onUnavailableFocus?: () => void;
|
|
13
17
|
/** Renders the trigger; must attach `api.ref` to the positioning anchor. */
|
|
14
18
|
trigger: (api: PopoverTriggerApi) => JSX.Element;
|
|
15
19
|
children: JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oasis-editor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.236",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -81,7 +81,8 @@
|
|
|
81
81
|
"test:ribbon:clipboard": "node scripts/verify-ribbon-clipboard.mjs",
|
|
82
82
|
"test:ribbon:painter": "node scripts/verify-ribbon-painter.mjs",
|
|
83
83
|
"test:ribbon:inherited": "node scripts/verify-ribbon-inherited-formatting.mjs",
|
|
84
|
-
"test:ribbon:font-values": "node scripts/verify-ribbon-font-values.mjs"
|
|
84
|
+
"test:ribbon:font-values": "node scripts/verify-ribbon-font-values.mjs",
|
|
85
|
+
"test:ribbon:colors-styles": "node scripts/verify-ribbon-colors-styles.mjs"
|
|
85
86
|
},
|
|
86
87
|
"devDependencies": {
|
|
87
88
|
"@eslint/js": "^10.0.1",
|