@makeswift/runtime 0.7.13 → 0.7.14
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/ReadOnlyText.cjs.js +15 -26
- package/dist/ReadOnlyText.cjs.js.map +1 -1
- package/dist/ReadOnlyText.es.js +15 -25
- package/dist/ReadOnlyText.es.js.map +1 -1
- package/dist/controls.cjs.js +1 -4
- package/dist/controls.cjs.js.map +1 -1
- package/dist/controls.es.js +1 -2
- package/dist/controls.es.js.map +1 -1
- package/dist/index.cjs.js +2 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs6.js +143 -132
- package/dist/index.cjs6.js.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es6.js +144 -133
- package/dist/index.es6.js.map +1 -1
- package/dist/introspection.cjs.js +0 -1
- package/dist/introspection.cjs.js.map +1 -1
- package/dist/introspection.es.js +1 -1
- package/dist/{typography.cjs.js → leaf.cjs.js} +49 -12
- package/dist/leaf.cjs.js.map +1 -0
- package/dist/{typography.es.js → leaf.es.js} +49 -12
- package/dist/leaf.es.js.map +1 -0
- package/dist/next.es.js +1 -1
- package/dist/rich-text.cjs.js +29 -43
- package/dist/rich-text.cjs.js.map +1 -1
- package/dist/rich-text.es.js +30 -44
- package/dist/rich-text.es.js.map +1 -1
- package/dist/types/src/components/builtin/Form/components/Field/components/Checkbox/index.d.ts +1 -1
- package/dist/types/src/components/builtin/Text/EditableText/editable-text.d.ts.map +1 -1
- package/dist/types/src/components/builtin/Text/EditableText/useSyncWithBuilder.d.ts.map +1 -1
- package/dist/types/src/components/builtin/Text/ReadOnlyText.d.ts +2 -5
- package/dist/types/src/components/builtin/Text/ReadOnlyText.d.ts.map +1 -1
- package/dist/types/src/components/builtin/Text/components/Leaf/index.d.ts +0 -1
- package/dist/types/src/components/builtin/Text/components/Leaf/index.d.ts.map +1 -1
- package/dist/types/src/components/builtin/Text/components/Leaf/leaf.d.ts +21 -0
- package/dist/types/src/components/builtin/Text/components/Leaf/leaf.d.ts.map +1 -1
- package/dist/types/src/controls/rich-text/index.d.ts +0 -1
- package/dist/types/src/controls/rich-text/index.d.ts.map +1 -1
- package/dist/types/src/controls/rich-text/translation.d.ts.map +1 -1
- package/dist/types/src/controls/rich-text/types.d.ts +47 -27
- package/dist/types/src/controls/rich-text/types.d.ts.map +1 -1
- package/dist/types/src/slate/BlockPlugin/clearBlockKeyForDevice.d.ts +5 -0
- package/dist/types/src/slate/BlockPlugin/clearBlockKeyForDevice.d.ts.map +1 -0
- package/dist/types/src/slate/BlockPlugin/index.d.ts +9 -0
- package/dist/types/src/slate/BlockPlugin/index.d.ts.map +1 -0
- package/dist/types/src/slate/BlockPlugin/setBlockKeyForDevice.d.ts +5 -0
- package/dist/types/src/slate/BlockPlugin/setBlockKeyForDevice.d.ts.map +1 -0
- package/dist/types/src/slate/BlockPlugin/types.d.ts +4 -0
- package/dist/types/src/slate/BlockPlugin/types.d.ts.map +1 -0
- package/dist/types/src/slate/ListPlugin/constants.d.ts.map +1 -0
- package/dist/types/src/slate/ListPlugin/dedent.d.ts.map +1 -0
- package/dist/types/src/slate/ListPlugin/indent.d.ts.map +1 -0
- package/dist/types/src/{components/builtin/Text/EditableText/ListPlugin/ListPlugin.d.ts → slate/ListPlugin/index.d.ts} +6 -2
- package/dist/types/src/slate/ListPlugin/index.d.ts.map +1 -0
- package/dist/types/src/{components/builtin/Text/EditableText/ListPlugin/lib → slate/ListPlugin}/toggleList.d.ts +1 -1
- package/dist/types/src/slate/ListPlugin/toggleList.d.ts.map +1 -0
- package/dist/types/src/slate/ListPlugin/unwrapList.d.ts.map +1 -0
- package/dist/types/src/slate/ListPlugin/utils/filterForSubtreeRoots.d.ts.map +1 -0
- package/dist/types/src/slate/ListPlugin/utils/getSelectedListItems.d.ts.map +1 -0
- package/dist/types/src/slate/ListPlugin/utils/location.d.ts.map +1 -0
- package/dist/types/src/{components/builtin/Text/EditableText/ListPlugin/lib → slate/ListPlugin}/wrapList.d.ts +1 -1
- package/dist/types/src/slate/ListPlugin/wrapList.d.ts.map +1 -0
- package/dist/types/src/slate/TypographyPlugin/clearActiveTypographyStyle.d.ts +3 -0
- package/dist/types/src/slate/TypographyPlugin/clearActiveTypographyStyle.d.ts.map +1 -0
- package/dist/types/src/slate/TypographyPlugin/clearDeviceActiveTypography.d.ts +3 -0
- package/dist/types/src/slate/TypographyPlugin/clearDeviceActiveTypography.d.ts.map +1 -0
- package/dist/types/src/slate/TypographyPlugin/detachActiveTypography.d.ts +4 -0
- package/dist/types/src/slate/TypographyPlugin/detachActiveTypography.d.ts.map +1 -0
- package/dist/types/src/slate/TypographyPlugin/index.d.ts +15 -0
- package/dist/types/src/slate/TypographyPlugin/index.d.ts.map +1 -0
- package/dist/types/src/slate/TypographyPlugin/setActiveTypographyId.d.ts +3 -0
- package/dist/types/src/slate/TypographyPlugin/setActiveTypographyId.d.ts.map +1 -0
- package/dist/types/src/slate/TypographyPlugin/setActiveTypographyStyle.d.ts +3 -0
- package/dist/types/src/slate/TypographyPlugin/setActiveTypographyStyle.d.ts.map +1 -0
- package/dist/types/src/slate/index.d.ts +4 -0
- package/dist/types/src/slate/index.d.ts.map +1 -0
- package/dist/types/src/{components/builtin/Text/EditableText/ListPlugin/lib → slate}/utils/editor.d.ts +1 -1
- package/dist/types/src/slate/utils/editor.d.ts.map +1 -0
- package/dist/types/src/{components/builtin/Text/EditableText/ListPlugin/lib → slate}/utils/element.d.ts +3 -5
- package/dist/types/src/slate/utils/element.d.ts.map +1 -0
- package/package.json +8 -1
- package/dist/compare.cjs.js +0 -126
- package/dist/compare.cjs.js.map +0 -1
- package/dist/compare.es.js +0 -124
- package/dist/compare.es.js.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/ListPlugin.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/constants.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/index.d.ts +0 -2
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/index.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/dedent.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/indent.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/index.d.ts +0 -6
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/index.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/toggleList.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/unwrapList.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/utils/editor.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/utils/element.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/utils/filterForSubtreeRoots.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/utils/getSelectedListItems.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/utils/location.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/lib/wrapList.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/dedent.test.d.ts +0 -3
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/dedent.test.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/indent.test.d.ts +0 -3
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/indent.test.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/normalization.test.d.ts +0 -3
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/normalization.test.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/slate-test-helper.d.ts +0 -48
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/slate-test-helper.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/toggleList.test.d.ts +0 -3
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/toggleList.test.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/types.d.ts +0 -21
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/types.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/unwrapList.test.d.ts +0 -3
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/unwrapList.test.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/utils/filterForSubtreeRoots.test.d.ts +0 -2
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/utils/filterForSubtreeRoots.test.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/utils/getSelectedListItems.test.d.ts +0 -3
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/utils/getSelectedListItems.test.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/wrapList.test.d.ts +0 -3
- package/dist/types/src/components/builtin/Text/EditableText/ListPlugin/test/wrapList.test.d.ts.map +0 -1
- package/dist/types/src/components/builtin/Text/components/Leaf/typography.d.ts +0 -27
- package/dist/types/src/components/builtin/Text/components/Leaf/typography.d.ts.map +0 -1
- package/dist/types/src/controls/rich-text/compare.d.ts +0 -5
- package/dist/types/src/controls/rich-text/compare.d.ts.map +0 -1
- package/dist/types/src/controls/rich-text/compare.test.d.ts +0 -2
- package/dist/types/src/controls/rich-text/compare.test.d.ts.map +0 -1
- package/dist/typography.cjs.js.map +0 -1
- package/dist/typography.es.js.map +0 -1
- /package/dist/types/src/{components/builtin/Text/EditableText → slate}/ListPlugin/constants.d.ts +0 -0
- /package/dist/types/src/{components/builtin/Text/EditableText/ListPlugin/lib → slate/ListPlugin}/dedent.d.ts +0 -0
- /package/dist/types/src/{components/builtin/Text/EditableText/ListPlugin/lib → slate/ListPlugin}/indent.d.ts +0 -0
- /package/dist/types/src/{components/builtin/Text/EditableText/ListPlugin/lib → slate/ListPlugin}/unwrapList.d.ts +0 -0
- /package/dist/types/src/{components/builtin/Text/EditableText/ListPlugin/lib → slate/ListPlugin}/utils/filterForSubtreeRoots.d.ts +0 -0
- /package/dist/types/src/{components/builtin/Text/EditableText/ListPlugin/lib → slate/ListPlugin}/utils/getSelectedListItems.d.ts +0 -0
- /package/dist/types/src/{components/builtin/Text/EditableText/ListPlugin/lib → slate/ListPlugin}/utils/location.d.ts +0 -0
package/dist/types/src/components/builtin/Form/components/Field/components/Checkbox/index.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ declare type BaseProps = {
|
|
|
8
8
|
};
|
|
9
9
|
declare const _default: import("react").ForwardRefExoticComponent<BaseProps & Omit<Pick<Partial<Pick<FormContextValue, "size" | "contrast" | "brandColor">> & {
|
|
10
10
|
error?: boolean | undefined;
|
|
11
|
-
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "size" | "error" | "contrast" | "brandColor"> & import("react").RefAttributes<HTMLInputElement>, "color" | "height" | "translate" | "width" | "type" | "property" | "key" | "is" | "id" | "value" | "style" | "
|
|
11
|
+
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "size" | "error" | "contrast" | "brandColor"> & import("react").RefAttributes<HTMLInputElement>, "color" | "height" | "translate" | "width" | "type" | "property" | "key" | "is" | "id" | "value" | "style" | "children" | "name" | "size" | "hidden" | "defaultValue" | "min" | "max" | "step" | "resource" | "form" | "slot" | "title" | "pattern" | "error" | "dir" | "list" | "itemProp" | "dangerouslySetInnerHTML" | "crossOrigin" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "multiple" | "disabled" | "alt" | "src" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "autoComplete" | "capture" | "checked" | "enterKeyHint" | "maxLength" | "minLength" | "readOnly" | "required" | "contrast" | "brandColor">, keyof BaseProps> & import("react").RefAttributes<HTMLInputElement>>;
|
|
12
12
|
export default _default;
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editable-text.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Text/EditableText/editable-text.tsx"],"names":[],"mappings":";AAcA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAA;AAGxF,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAA;AAE3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAA;
|
|
1
|
+
{"version":3,"file":"editable-text.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Text/EditableText/editable-text.tsx"],"names":[],"mappings":";AAcA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAA;AAGxF,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAA;AAE3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAA;AAWzF,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAID,eAAO,MAAM,YAAY,sHAuEvB,CAAA;AAEF,eAAe,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSyncWithBuilder.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Text/EditableText/useSyncWithBuilder.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"useSyncWithBuilder.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Text/EditableText/useSyncWithBuilder.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAK5D;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,cA4BtE"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { Text } from 'slate';
|
|
3
|
+
import { Block, Inline } from '../../../controls';
|
|
3
4
|
import type { ElementIDValue, RichTextValue } from '../../../prop-controllers/descriptors';
|
|
4
5
|
declare type Props = {
|
|
5
6
|
id?: ElementIDValue;
|
|
@@ -13,10 +14,6 @@ export interface TextProps {
|
|
|
13
14
|
descendant: Text;
|
|
14
15
|
}
|
|
15
16
|
export declare function TextElement({ descendant }: TextProps): JSX.Element;
|
|
16
|
-
export interface TypographyProps {
|
|
17
|
-
descendant: TypographyText;
|
|
18
|
-
}
|
|
19
|
-
export declare function TypographyElement({ descendant }: TypographyProps): JSX.Element;
|
|
20
17
|
export interface InlineProps {
|
|
21
18
|
descendant: Inline;
|
|
22
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadOnlyText.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Text/ReadOnlyText.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ReadOnlyText.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Text/ReadOnlyText.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAc,IAAI,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAE,KAAK,EAAa,MAAM,EAAgC,MAAM,mBAAmB,CAAA;AAC1F,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAO1F,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,QAAA,MAAM,YAAY,kGAUhB,CAAA;AAEF,eAAe,YAAY,CAAA;AAmB3B,MAAM,WAAW,SAAS;IACxB,UAAU,EAAE,IAAI,CAAA;CACjB;AAED,wBAAgB,WAAW,CAAC,EAAE,UAAU,EAAE,EAAE,SAAS,eAKpD;AAED,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,MAAM,CAAA;CACnB;AAoCD,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,KAAK,CAAA;CAClB;AAED,wBAAgB,YAAY,CAAC,EAAE,UAAU,EAAE,EAAE,UAAU,eA0FtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/builtin/Text/components/Leaf/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/builtin/Text/components/Leaf/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA"}
|
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { RenderLeafProps } from 'slate-react';
|
|
3
|
+
import { Typography } from '../../../../../api';
|
|
4
|
+
import { DeviceOverride } from '../../../../../prop-controllers';
|
|
5
|
+
import { ColorValue } from '../../../../utils/types';
|
|
6
|
+
import { RichTextTypography } from '../../../../../controls';
|
|
7
|
+
export declare type RichTextTypographyValue = RichTextTypography['style'][number]['value'];
|
|
8
|
+
declare type EnhancedColor = {
|
|
9
|
+
color?: ColorValue;
|
|
10
|
+
};
|
|
11
|
+
declare type EnhancedTypographyValue = Omit<RichTextTypographyValue, keyof EnhancedColor> & EnhancedColor;
|
|
12
|
+
export declare type EnhancedTypography = Array<DeviceOverride<EnhancedTypographyValue>>;
|
|
13
|
+
export declare function isDeviceOverride(value: {
|
|
14
|
+
deviceId: string;
|
|
15
|
+
value: RichTextTypographyValue;
|
|
16
|
+
}): value is DeviceOverride<RichTextTypographyValue>;
|
|
17
|
+
export declare function getTypographyStyleSwatchIds(style: RichTextTypography['style'] | Typography['style'] | null | undefined): string[];
|
|
18
|
+
/**
|
|
19
|
+
* `enhanced` here just means typography ids have been replaced with the related entity.
|
|
20
|
+
*/
|
|
21
|
+
export default function useEnhancedTypography(value?: RichTextTypography): EnhancedTypography;
|
|
22
|
+
export declare function useTypographyClassName(value: EnhancedTypography): string;
|
|
3
23
|
export declare function Leaf({ leaf, ...props }: RenderLeafProps): JSX.Element;
|
|
24
|
+
export {};
|
|
4
25
|
//# sourceMappingURL=leaf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leaf.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/builtin/Text/components/Leaf/leaf.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"leaf.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/builtin/Text/components/Leaf/leaf.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CA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,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/controls/rich-text/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../../src/controls/rich-text/translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAA;AAEnD,OAAO,EAAiC,WAAW,
|
|
1
|
+
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../../src/controls/rich-text/translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAA;AAEnD,OAAO,EAAiC,WAAW,EAAE,MAAM,SAAS,CAAA;AACpE,OAAO,EAIL,aAAa,EAEb,WAAW,EAEZ,MAAM,aAAa,CAAA;AAkEpB,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,CAmBnE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,WAAW,GAAG,WAAW,CAE/D;AAiFD,wBAAgB,cAAc,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,GAAG,aAAa,GAAG,SAAS,CAkBrF;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,UAAU,EAAE,EAAE,SAAS,EAAE,SAAS,GAAG,WAAW,CAY1F"}
|
|
@@ -1,23 +1,36 @@
|
|
|
1
1
|
import { BaseEditor, Descendant } from 'slate';
|
|
2
2
|
import { ReactEditor } from 'slate-react';
|
|
3
|
-
import { Typography } from '../../api';
|
|
4
3
|
import { LinkControlData } from '../link';
|
|
5
4
|
import { ResponsiveValue } from '../types';
|
|
6
|
-
export declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
export declare type RichTextTypography = {
|
|
6
|
+
id?: string;
|
|
7
|
+
style: Array<{
|
|
8
|
+
deviceId: string;
|
|
9
|
+
value: {
|
|
10
|
+
fontFamily?: string;
|
|
11
|
+
lineHeight?: number;
|
|
12
|
+
letterSpacing?: number;
|
|
13
|
+
fontWeight?: number;
|
|
14
|
+
textAlign?: string;
|
|
15
|
+
uppercase?: boolean;
|
|
16
|
+
underline?: boolean;
|
|
17
|
+
strikethrough?: boolean;
|
|
18
|
+
italic?: boolean;
|
|
19
|
+
fontSize?: {
|
|
20
|
+
value: number | null;
|
|
21
|
+
unit: string | null;
|
|
22
|
+
};
|
|
23
|
+
color?: {
|
|
24
|
+
swatchId: string | null;
|
|
25
|
+
alpha: number | null;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}>;
|
|
29
|
+
};
|
|
30
|
+
export declare type Text = {
|
|
18
31
|
text: string;
|
|
32
|
+
typography?: RichTextTypography;
|
|
19
33
|
};
|
|
20
|
-
export declare type Text = BaseText | TypographyText;
|
|
21
34
|
export declare const BlockType: {
|
|
22
35
|
readonly Paragraph: "paragraph";
|
|
23
36
|
readonly Heading1: "heading-one";
|
|
@@ -34,63 +47,63 @@ export declare const BlockType: {
|
|
|
34
47
|
};
|
|
35
48
|
export declare type BlockType = typeof BlockType[keyof typeof BlockType];
|
|
36
49
|
export declare type ParagraphElement = {
|
|
37
|
-
textAlign?:
|
|
50
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
38
51
|
children: Array<Element | Text>;
|
|
39
52
|
type: typeof BlockType.Paragraph;
|
|
40
53
|
};
|
|
41
54
|
export declare type Heading1Element = {
|
|
42
|
-
textAlign?:
|
|
55
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
43
56
|
children: Array<Element | Text>;
|
|
44
57
|
type: typeof BlockType.Heading1;
|
|
45
58
|
};
|
|
46
59
|
export declare type Heading2Element = {
|
|
47
|
-
textAlign?:
|
|
60
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
48
61
|
children: Array<Element | Text>;
|
|
49
62
|
type: typeof BlockType.Heading2;
|
|
50
63
|
};
|
|
51
64
|
export declare type Heading3Element = {
|
|
52
|
-
textAlign?:
|
|
65
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
53
66
|
children: Array<Element | Text>;
|
|
54
67
|
type: typeof BlockType.Heading3;
|
|
55
68
|
};
|
|
56
69
|
export declare type Heading4Element = {
|
|
57
|
-
textAlign?:
|
|
70
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
58
71
|
children: Array<Element | Text>;
|
|
59
72
|
type: typeof BlockType.Heading4;
|
|
60
73
|
};
|
|
61
74
|
export declare type Heading5Element = {
|
|
62
|
-
textAlign?:
|
|
75
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
63
76
|
children: Array<Element | Text>;
|
|
64
77
|
type: typeof BlockType.Heading5;
|
|
65
78
|
};
|
|
66
79
|
export declare type Heading6Element = {
|
|
67
|
-
textAlign?:
|
|
80
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
68
81
|
children: Array<Element | Text>;
|
|
69
82
|
type: typeof BlockType.Heading6;
|
|
70
83
|
};
|
|
71
84
|
export declare type BlockQuoteElement = {
|
|
72
|
-
textAlign?:
|
|
85
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
73
86
|
children: Array<Element | Text>;
|
|
74
87
|
type: typeof BlockType.BlockQuote;
|
|
75
88
|
};
|
|
76
89
|
export declare type UnorderedListElement = {
|
|
77
|
-
textAlign?:
|
|
90
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
78
91
|
children: Array<Element | Text>;
|
|
79
92
|
type: typeof BlockType.UnorderedList;
|
|
80
93
|
};
|
|
81
94
|
export declare type OrderedListElement = {
|
|
82
|
-
textAlign?:
|
|
95
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
83
96
|
children: Array<Element | Text>;
|
|
84
97
|
type: typeof BlockType.OrderedList;
|
|
85
98
|
};
|
|
86
99
|
export declare type ListElement = OrderedListElement | UnorderedListElement;
|
|
87
100
|
export declare type ListItemElement = {
|
|
88
|
-
textAlign?:
|
|
101
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
89
102
|
children: Array<Element | Text>;
|
|
90
103
|
type: typeof BlockType.ListItem;
|
|
91
104
|
};
|
|
92
105
|
export declare type ListItemChildElement = {
|
|
93
|
-
textAlign?:
|
|
106
|
+
textAlign?: ResponsiveBlockTextAlignment;
|
|
94
107
|
children: Array<Element | Text>;
|
|
95
108
|
type: typeof BlockType.ListItemChild;
|
|
96
109
|
};
|
|
@@ -101,7 +114,14 @@ export declare const InlineType: {
|
|
|
101
114
|
readonly Link: "link";
|
|
102
115
|
};
|
|
103
116
|
export declare type InlineType = typeof InlineType[keyof typeof InlineType];
|
|
104
|
-
export declare
|
|
117
|
+
export declare const BlockTextAlignment: {
|
|
118
|
+
readonly Left: "left";
|
|
119
|
+
readonly Center: "center";
|
|
120
|
+
readonly Right: "right";
|
|
121
|
+
readonly Justify: "justify";
|
|
122
|
+
};
|
|
123
|
+
export declare type BlockTextAlignment = typeof BlockTextAlignment[keyof typeof BlockTextAlignment];
|
|
124
|
+
export declare type ResponsiveBlockTextAlignment = ResponsiveValue<BlockTextAlignment>;
|
|
105
125
|
declare type CodeElement = {
|
|
106
126
|
children: Array<Text | Inline>;
|
|
107
127
|
type: typeof InlineType.Code;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/controls/rich-text/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,EAAE,WAAW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B,MAAM,EAAE,UAAU,GAAG,WAAW,CAAA;QAChC,OAAO,EAAE,OAAO,CAAA;QAChB,IAAI,EAAE,IAAI,CAAA;KACX;CACF"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Editor } from 'slate';
|
|
2
|
+
import { Device } from '../../controls/types';
|
|
3
|
+
import { EditableBlockKey } from './types';
|
|
4
|
+
export declare function clearBlockKeyForDevice(editor: Editor, deviceId: Device, key: EditableBlockKey): void;
|
|
5
|
+
//# sourceMappingURL=clearBlockKeyForDevice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clearBlockKeyForDevice.d.ts","sourceRoot":"","sources":["../../../../../src/slate/BlockPlugin/clearBlockKeyForDevice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAE7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,gBAAgB,QAoB7F"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Editor } from 'slate';
|
|
2
|
+
import { setBlockKeyForDevice } from './setBlockKeyForDevice';
|
|
3
|
+
import { clearBlockKeyForDevice } from './clearBlockKeyForDevice';
|
|
4
|
+
export declare const Block: {
|
|
5
|
+
setBlockKeyForDevice: typeof setBlockKeyForDevice;
|
|
6
|
+
clearBlockKeyForDevice: typeof clearBlockKeyForDevice;
|
|
7
|
+
};
|
|
8
|
+
export declare function withBlock(editor: Editor): import("slate").BaseEditor & import("slate-react").ReactEditor;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/slate/BlockPlugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAGjE,eAAO,MAAM,KAAK;;;CAGjB,CAAA;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,kEAcvC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Editor } from 'slate';
|
|
2
|
+
import { Device } from '../../controls/types';
|
|
3
|
+
import { EditableBlockKey, EditableBlockValue } from './types';
|
|
4
|
+
export declare function setBlockKeyForDevice(editor: Editor, deviceId: Device, key: EditableBlockKey, value: EditableBlockValue): void;
|
|
5
|
+
//# sourceMappingURL=setBlockKeyForDevice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setBlockKeyForDevice.d.ts","sourceRoot":"","sources":["../../../../../src/slate/BlockPlugin/setBlockKeyForDevice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,OAAO,CAAA;AAE1C,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAE7C,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE9D,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,EAAE,gBAAgB,EACrB,KAAK,EAAE,kBAAkB,QA2B1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/slate/BlockPlugin/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAEnD,oBAAY,gBAAgB,GAAG,WAAW,CAAA;AAC1C,oBAAY,kBAAkB,GAAG,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/slate/ListPlugin/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,IAAI,CAAA;AACzC,eAAO,MAAM,uBAAuB,IAAI,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dedent.d.ts","sourceRoot":"","sources":["../../../../../src/slate/ListPlugin/dedent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,OAAO,CAAA;AAoChD,wBAAgB,MAAM,CAAC,MAAM,EAAE,MAAM,QAapC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indent.d.ts","sourceRoot":"","sources":["../../../../../src/slate/ListPlugin/indent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAQ,IAAI,EAAc,MAAM,OAAO,CAAA;AAMtD,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,QA0BpD;AAED,wBAAgB,MAAM,CAAC,MAAM,EAAE,MAAM,QAapC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { KeyboardEvent } from 'react';
|
|
2
2
|
import { Editor } from 'slate';
|
|
3
|
-
import {
|
|
3
|
+
import { dedent } from './dedent';
|
|
4
|
+
import { indent } from './indent';
|
|
5
|
+
import { toggleList } from './toggleList';
|
|
6
|
+
import { unwrapList } from './unwrapList';
|
|
7
|
+
import { wrapList } from './wrapList';
|
|
4
8
|
export declare const List: {
|
|
5
9
|
unwrapList: typeof unwrapList;
|
|
6
10
|
wrapList: typeof wrapList;
|
|
@@ -10,4 +14,4 @@ export declare const List: {
|
|
|
10
14
|
};
|
|
11
15
|
export declare function onKeyDown(e: KeyboardEvent, editor: Editor): void;
|
|
12
16
|
export declare function withList(editor: Editor): import("slate").BaseEditor & import("slate-react").ReactEditor;
|
|
13
|
-
//# sourceMappingURL=
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/slate/ListPlugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,MAAM,EAA0C,MAAM,OAAO,CAAA;AAKtE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAGrC,eAAO,MAAM,IAAI;;;;;;CAMhB,CAAA;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,QAwEzD;AAED,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,kEA6EtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggleList.d.ts","sourceRoot":"","sources":["../../../../../src/slate/ListPlugin/toggleList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA0B,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAM1C,aAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,SAAS,CAAC,aAAa,GAAG,OAAO,SAAS,CAAC,WAAW,CAAA;CACpE,CAAA;AAED,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,iBAAqD,QAiB/D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unwrapList.d.ts","sourceRoot":"","sources":["../../../../../src/slate/ListPlugin/unwrapList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,IAAI,EAAQ,MAAM,OAAO,CAAA;AAOtD,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,QA4B5D;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,QAaxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filterForSubtreeRoots.d.ts","sourceRoot":"","sources":["../../../../../../src/slate/ListPlugin/utils/filterForSubtreeRoots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAG5C,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAOnF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSelectedListItems.d.ts","sourceRoot":"","sources":["../../../../../../src/slate/ListPlugin/utils/getSelectedListItems.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAQ,MAAM,OAAO,CAAA;AAKpC,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,EAAE,CAezE;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,EAAE,CAerE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../../../../src/slate/ListPlugin/utils/location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,IAAI,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEpD,eAAO,MAAM,aAAa;2BACD,QAAQ;CAKhC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrapList.d.ts","sourceRoot":"","sources":["../../../../../src/slate/ListPlugin/wrapList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAuB,MAAM,OAAO,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAG1C,aAAK,eAAe,GAAG;IACrB,IAAI,EAAE,OAAO,SAAS,CAAC,aAAa,GAAG,OAAO,SAAS,CAAC,WAAW,CAAA;CACpE,CAAA;AAED,wBAAgB,QAAQ,CACtB,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,eAAmD,QAoC7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clearActiveTypographyStyle.d.ts","sourceRoot":"","sources":["../../../../../src/slate/TypographyPlugin/clearActiveTypographyStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,OAAO,CAAA;AAGhD,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,MAAM,QAyBxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clearDeviceActiveTypography.d.ts","sourceRoot":"","sources":["../../../../../src/slate/TypographyPlugin/clearDeviceActiveTypography.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,OAAO,CAAA;AAGhD,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,QAwBlF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detachActiveTypography.d.ts","sourceRoot":"","sources":["../../../../../src/slate/TypographyPlugin/detachActiveTypography.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAEnD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB,CAAC,OAAO,CAAC,QAuBxF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Editor } from 'slate';
|
|
2
|
+
import { clearActiveTypographyStyle } from './clearActiveTypographyStyle';
|
|
3
|
+
import { clearDeviceActiveTypography } from './clearDeviceActiveTypography';
|
|
4
|
+
import { detachActiveTypography } from './detachActiveTypography';
|
|
5
|
+
import { setActiveTypographyId } from './setActiveTypographyId';
|
|
6
|
+
import { setActiveTypographyStyle } from './setActiveTypographyStyle';
|
|
7
|
+
export declare const Typography: {
|
|
8
|
+
setActiveTypographyId: typeof setActiveTypographyId;
|
|
9
|
+
setActiveTypographyStyle: typeof setActiveTypographyStyle;
|
|
10
|
+
clearActiveTypographyStyle: typeof clearActiveTypographyStyle;
|
|
11
|
+
clearDeviceActiveTypography: typeof clearDeviceActiveTypography;
|
|
12
|
+
detachActiveTypography: typeof detachActiveTypography;
|
|
13
|
+
};
|
|
14
|
+
export declare function withTypography(editor: Editor): import("slate").BaseEditor & import("slate-react").ReactEditor;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/slate/TypographyPlugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAErE,eAAO,MAAM,UAAU;;;;;;CAMtB,CAAA;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,kEAkB5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setActiveTypographyId.d.ts","sourceRoot":"","sources":["../../../../../src/slate/TypographyPlugin/setActiveTypographyId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,OAAO,CAAA;AAEhD,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAa/D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setActiveTypographyStyle.d.ts","sourceRoot":"","sources":["../../../../../src/slate/TypographyPlugin/setActiveTypographyStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,OAAO,CAAA;AAKhD,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,OAAO,QA+BhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/slate/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Path, Editor, NodeEntry } from 'slate';
|
|
2
|
-
import { ListElement, ListItemElement } from '
|
|
2
|
+
import { ListElement, ListItemElement } from '../../controls';
|
|
3
3
|
export declare const EditorUtils: {
|
|
4
4
|
getFirstAncestorList(editor: Editor, path: Path): NodeEntry<ListElement> | null;
|
|
5
5
|
getFirstAncestorListItem(editor: Editor, path: Path): NodeEntry<ListItemElement> | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../../src/slate/utils/editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAG7D,eAAO,MAAM,WAAW;iCACO,MAAM,eAAe,UAAU,WAAW,CAAC,GAAG,IAAI;qCAO9C,MAAM,eAAe,UAAU,eAAe,CAAC,GAAG,IAAI;CAQxF,CAAA"}
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import { Node } from 'slate';
|
|
2
|
-
import { BlockType, Block, ParagraphElement, OrderedListElement, UnorderedListElement, ListItemElement, ListItemChildElement } from '
|
|
2
|
+
import { BlockType, Block, ParagraphElement, OrderedListElement, UnorderedListElement, ListItemElement, ListItemChildElement, Inline } from '../../controls';
|
|
3
3
|
export declare const ElementUtils: {
|
|
4
|
+
isBlock(node: Node): node is Block;
|
|
5
|
+
isInline(node: Node): node is Inline;
|
|
4
6
|
isConvertibleToListTextNode(node: Node): boolean;
|
|
5
|
-
isText(node: Node): boolean;
|
|
6
|
-
isTypography(node: Node): boolean;
|
|
7
7
|
isParagraph(node: Node): node is ParagraphElement;
|
|
8
8
|
isList(node: Node): node is OrderedListElement | UnorderedListElement;
|
|
9
9
|
isListItem(node: Node): node is ListItemElement;
|
|
10
10
|
isListItemChild(node: Node): node is ListItemChildElement;
|
|
11
11
|
createText(): {
|
|
12
12
|
text: string;
|
|
13
|
-
type: "text";
|
|
14
13
|
};
|
|
15
14
|
createParagraph(): {
|
|
16
15
|
children: {
|
|
17
16
|
text: string;
|
|
18
|
-
type: "text";
|
|
19
17
|
}[];
|
|
20
18
|
type: "paragraph";
|
|
21
19
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../../../../../src/slate/utils/element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,OAAO,CAAA;AACrC,OAAO,EACL,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,oBAAoB,EACpB,MAAM,EAEP,MAAM,gBAAgB,CAAA;AAEvB,eAAO,MAAM,YAAY;kBACT,IAAI;mBAkBH,IAAI;sCASe,IAAI;sBAGpB,IAAI;iBAGT,IAAI;qBAMA,IAAI;0BAGC,IAAI;;;;;;;;;;sBAYT,SAAS,GAA6B,KAAK;sBAG1C,KAAK;2BAMA,KAAK;CAM7B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@makeswift/runtime",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/main.cjs",
|
|
6
6
|
"module": "dist/main.es",
|
|
@@ -54,6 +54,10 @@
|
|
|
54
54
|
"./controls": {
|
|
55
55
|
"import": "./dist/controls.es.js",
|
|
56
56
|
"require": "./dist/controls.cjs.js"
|
|
57
|
+
},
|
|
58
|
+
"./slate": {
|
|
59
|
+
"import": "./dist/slate.es.js",
|
|
60
|
+
"require": "./dist/slate.cjs.js"
|
|
57
61
|
}
|
|
58
62
|
},
|
|
59
63
|
"typesVersions": {
|
|
@@ -81,6 +85,9 @@
|
|
|
81
85
|
],
|
|
82
86
|
"controls": [
|
|
83
87
|
"dist/types/src/controls/index.d.ts"
|
|
88
|
+
],
|
|
89
|
+
"slate": [
|
|
90
|
+
"dist/types/src/slate/index.d.ts"
|
|
84
91
|
]
|
|
85
92
|
}
|
|
86
93
|
},
|