@scalably/ui 0.11.6 → 0.11.8
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/index.d.cts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.esm.js +20 -52
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +20 -52
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2996,6 +2996,16 @@ interface RichTextEditorProps {
|
|
|
2996
2996
|
* @default true
|
|
2997
2997
|
*/
|
|
2998
2998
|
enableBubbleMenu?: boolean;
|
|
2999
|
+
/**
|
|
3000
|
+
* When `true`, allows rendering the floating Bubble Menu on touch devices.
|
|
3001
|
+
*
|
|
3002
|
+
* On mobile browsers, the native selection menu (copy/paste, look up, share)
|
|
3003
|
+
* competes with floating UI overlays. By default we disable the Bubble Menu
|
|
3004
|
+
* on touch to avoid overlap and rely on the toolbar / mobile selection bar.
|
|
3005
|
+
*
|
|
3006
|
+
* @default false
|
|
3007
|
+
*/
|
|
3008
|
+
enableBubbleMenuOnTouch?: boolean;
|
|
2999
3009
|
/**
|
|
3000
3010
|
* Enables the Floating Menu that appears near the current block/empty line
|
|
3001
3011
|
* to insert structural blocks (images, dividers, quotes, tables, etc.).
|
|
@@ -3078,7 +3088,7 @@ interface RichTextEditorProps {
|
|
|
3078
3088
|
* @see RichTextViewer - Read-only viewer component for displaying rich text content
|
|
3079
3089
|
*/
|
|
3080
3090
|
declare const RichTextEditor: {
|
|
3081
|
-
({ value, onChange, label, error, helperText, placeholder, minHeight, simple, disabled, "data-testid": dataTestId, containerClassName, borderContainerClassName, toolbarClassName, contentClassName, editorClassName, labelClassName, messageContainerClassName, onImageUpload, imageUploadErrorMessage, imageSourceMode, maxCharacters, onMaxLengthExceed, immediatelyRender, stickyToolbar, stickyOffset, hideToolbar, withBorder, enableBubbleMenu, enableFloatingMenu, floatingMenuTriggers, plusMenuYOffset, }: RichTextEditorProps): react_jsx_runtime.JSX.Element;
|
|
3091
|
+
({ value, onChange, label, error, helperText, placeholder, minHeight, simple, disabled, "data-testid": dataTestId, containerClassName, borderContainerClassName, toolbarClassName, contentClassName, editorClassName, labelClassName, messageContainerClassName, onImageUpload, imageUploadErrorMessage, imageSourceMode, maxCharacters, onMaxLengthExceed, immediatelyRender, stickyToolbar, stickyOffset, hideToolbar, withBorder, enableBubbleMenu, enableBubbleMenuOnTouch, enableFloatingMenu, floatingMenuTriggers, plusMenuYOffset, }: RichTextEditorProps): react_jsx_runtime.JSX.Element;
|
|
3082
3092
|
displayName: string;
|
|
3083
3093
|
};
|
|
3084
3094
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2996,6 +2996,16 @@ interface RichTextEditorProps {
|
|
|
2996
2996
|
* @default true
|
|
2997
2997
|
*/
|
|
2998
2998
|
enableBubbleMenu?: boolean;
|
|
2999
|
+
/**
|
|
3000
|
+
* When `true`, allows rendering the floating Bubble Menu on touch devices.
|
|
3001
|
+
*
|
|
3002
|
+
* On mobile browsers, the native selection menu (copy/paste, look up, share)
|
|
3003
|
+
* competes with floating UI overlays. By default we disable the Bubble Menu
|
|
3004
|
+
* on touch to avoid overlap and rely on the toolbar / mobile selection bar.
|
|
3005
|
+
*
|
|
3006
|
+
* @default false
|
|
3007
|
+
*/
|
|
3008
|
+
enableBubbleMenuOnTouch?: boolean;
|
|
2999
3009
|
/**
|
|
3000
3010
|
* Enables the Floating Menu that appears near the current block/empty line
|
|
3001
3011
|
* to insert structural blocks (images, dividers, quotes, tables, etc.).
|
|
@@ -3078,7 +3088,7 @@ interface RichTextEditorProps {
|
|
|
3078
3088
|
* @see RichTextViewer - Read-only viewer component for displaying rich text content
|
|
3079
3089
|
*/
|
|
3080
3090
|
declare const RichTextEditor: {
|
|
3081
|
-
({ value, onChange, label, error, helperText, placeholder, minHeight, simple, disabled, "data-testid": dataTestId, containerClassName, borderContainerClassName, toolbarClassName, contentClassName, editorClassName, labelClassName, messageContainerClassName, onImageUpload, imageUploadErrorMessage, imageSourceMode, maxCharacters, onMaxLengthExceed, immediatelyRender, stickyToolbar, stickyOffset, hideToolbar, withBorder, enableBubbleMenu, enableFloatingMenu, floatingMenuTriggers, plusMenuYOffset, }: RichTextEditorProps): react_jsx_runtime.JSX.Element;
|
|
3091
|
+
({ value, onChange, label, error, helperText, placeholder, minHeight, simple, disabled, "data-testid": dataTestId, containerClassName, borderContainerClassName, toolbarClassName, contentClassName, editorClassName, labelClassName, messageContainerClassName, onImageUpload, imageUploadErrorMessage, imageSourceMode, maxCharacters, onMaxLengthExceed, immediatelyRender, stickyToolbar, stickyOffset, hideToolbar, withBorder, enableBubbleMenu, enableBubbleMenuOnTouch, enableFloatingMenu, floatingMenuTriggers, plusMenuYOffset, }: RichTextEditorProps): react_jsx_runtime.JSX.Element;
|
|
3082
3092
|
displayName: string;
|
|
3083
3093
|
};
|
|
3084
3094
|
|