@makeswift/runtime 0.8.0 → 0.8.2
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/PreviewProvider.es.js +1 -1
- package/dist/ReadOnlyText.es.js +1 -1
- package/dist/controls.cjs.js +1 -0
- package/dist/controls.cjs.js.map +1 -1
- package/dist/controls.es.js +1 -1
- package/dist/descriptors.cjs.js +13 -0
- package/dist/descriptors.cjs.js.map +1 -1
- package/dist/descriptors.es.js +13 -1
- package/dist/descriptors.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs5.js.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es5.js +2 -2
- package/dist/index.es5.js.map +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/types/src/controls/rich-text/types.d.ts +20 -6
- package/dist/types/src/controls/rich-text/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -28,7 +28,7 @@ import { removeIn, setIn } from "immutable";
|
|
|
28
28
|
import { p as getInitialState$3, r as reducer$4, q as getDocument$1, c as createDocument, s as getComponentsMeta$1, t as getComponentPropControllerDescriptors$1, o as getBuilderEditMode, u as getDocumentKeysSortedByDepth, v as getPropController, w as getPropControllersHandle, x as getElement, y as getElementPropControllerDescriptors, i as isElementReference, b as isPropControllersHandle, z as reducer$5, A as reducer$7, B as reducer$8, C as reducer$9, D as reducer$a, E as reducer$b, F as getInitialState$4 } from "./constants.es.js";
|
|
29
29
|
import { A as ActionTypes, p as unregisterMeasurable, q as registerMeasurable, t as registerBuilderComponent, v as changePathnameStart, w as changePathnameComplete, x as changeElementBoxModels, y as changeDocumentElementSize, z as handleWheel, B as handlePointerMove, C as elementFromPointChange, D as setIsInBuilder, E as unregisterBuilderComponent, F as unregisterPropControllers, G as registerPropControllers, H as registerPropControllersHandle, r as registerDocument, I as registerComponentHandle, J as messageBuilderPropController, K as registerDocumentEffect } from "./actions.es.js";
|
|
30
30
|
import { i as isMeasurable, a as getMeasurables$1, b as getBoxModels$1, m as measure, d as getBoxModel$1, r as reducer$6 } from "./box-models.es.js";
|
|
31
|
-
import {
|
|
31
|
+
import { aA as BuilderEditMode, aB as createPropController, r as reducer$c } from "./descriptors.es.js";
|
|
32
32
|
import { a as serializeControls } from "./control-serialization.es.js";
|
|
33
33
|
import { jsx } from "react/jsx-runtime";
|
|
34
34
|
import "use-sync-external-store/shim/with-selector";
|
package/dist/ReadOnlyText.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cx } from "@emotion/css";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
|
-
import { at as richTextDTOtoDAO,
|
|
3
|
+
import { at as richTextDTOtoDAO, ax as BlockType, ay as InlineType } from "./descriptors.es.js";
|
|
4
4
|
import "slate";
|
|
5
5
|
import "slate-react";
|
|
6
6
|
import { e as useStyle, r as responsiveStyle } from "./responsive-style.es.js";
|
package/dist/controls.cjs.js
CHANGED
|
@@ -35,6 +35,7 @@ exports.RichText = descriptors.RichText$1;
|
|
|
35
35
|
exports.RichTextControl = descriptors.RichTextControl;
|
|
36
36
|
exports.RichTextControlMessageType = descriptors.RichTextControlMessageType;
|
|
37
37
|
exports.RichTextControlType = descriptors.RichTextControlType;
|
|
38
|
+
exports.RootBlockType = descriptors.RootBlockType;
|
|
38
39
|
exports.Shape = descriptors.Shape;
|
|
39
40
|
exports.ShapeControl = descriptors.ShapeControl;
|
|
40
41
|
exports.ShapeControlMessageType = descriptors.ShapeControlMessageType;
|
package/dist/controls.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controls.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"controls.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/controls.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { b as Checkbox, C as CheckboxControlType, c as Number, N as NumberControlType, d as Select, S as SelectControlType, e as TextArea, T as TextAreaControlType, f as TextInput, a as TextInputControlType } from "./text-input.es.js";
|
|
2
|
-
export {
|
|
2
|
+
export { az as BlockTextAlignment, ax as BlockType, a2 as Color, C as ColorControlType, a4 as Image, I as ImageControlType, O as ImageControlValueFormat, ay as InlineType, a6 as Link, X as LinkControlType, a8 as List, aa as ListControl, a9 as ListControlMessageType, L as ListControlType, ao as ObjectType, ap as RichText, ar as RichTextControl, aq as RichTextControlMessageType, U as RichTextControlType, aw as RootBlockType, ac as Shape, ae as ShapeControl, ad as ShapeControlMessageType, S as ShapeControlType, ag as Slot, ai as SlotControl, ah as SlotControlMessageType, b as SlotControlType, ak as Style, am as StyleControl, al as StyleControlMessageType, K as StyleControlProperty, Q as StyleControlType, a as copy, a3 as copyColorData, a5 as copyImageData, a7 as copyLinkData, ab as copyListData, af as copyShapeData, aj as copySlotData, an as copyStyleData, av as richTextDAOToDTO, at as richTextDTOtoDAO, as as richTextDTOtoSelection, au as toSelectionDTO } from "./descriptors.es.js";
|
|
3
3
|
export { a as Combobox, C as ComboboxControlType } from "./combobox.es.js";
|
|
4
4
|
import "slate";
|
|
5
5
|
import "slate-react";
|
package/dist/descriptors.cjs.js
CHANGED
|
@@ -1402,6 +1402,18 @@ const ObjectType = {
|
|
|
1402
1402
|
Point: "point",
|
|
1403
1403
|
Operation: "operation"
|
|
1404
1404
|
};
|
|
1405
|
+
const RootBlockType = {
|
|
1406
|
+
Paragraph: "paragraph",
|
|
1407
|
+
Heading1: "heading-one",
|
|
1408
|
+
Heading2: "heading-two",
|
|
1409
|
+
Heading3: "heading-three",
|
|
1410
|
+
Heading4: "heading-four",
|
|
1411
|
+
Heading5: "heading-five",
|
|
1412
|
+
Heading6: "heading-six",
|
|
1413
|
+
BlockQuote: "blockquote",
|
|
1414
|
+
UnorderedList: "unordered-list",
|
|
1415
|
+
OrderedList: "ordered-list"
|
|
1416
|
+
};
|
|
1405
1417
|
const BlockType = {
|
|
1406
1418
|
Paragraph: "paragraph",
|
|
1407
1419
|
Heading1: "heading-one",
|
|
@@ -1962,6 +1974,7 @@ exports.RichTextControl = RichTextControl;
|
|
|
1962
1974
|
exports.RichTextControlMessageType = RichTextControlMessageType;
|
|
1963
1975
|
exports.RichTextControlType = RichTextControlType;
|
|
1964
1976
|
exports.RichTextPropControllerMessageType = RichTextPropControllerMessageType;
|
|
1977
|
+
exports.RootBlockType = RootBlockType;
|
|
1965
1978
|
exports.Shadows = Shadows;
|
|
1966
1979
|
exports.ShadowsPropControllerFormat = ShadowsPropControllerFormat;
|
|
1967
1980
|
exports.Shape = Shape$1;
|