@micromag/editor 0.4.97 → 0.4.100
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/assets/css/styles.css +1 -1
- package/es/index.js +5 -6
- package/es/styles.css +1 -1
- package/package.json +25 -22
package/es/index.js
CHANGED
|
@@ -23,8 +23,8 @@ import { getSizeWithinBounds } from '@folklore/size';
|
|
|
23
23
|
import { Viewer } from '@micromag/viewer';
|
|
24
24
|
import { faPlus } from '@fortawesome/free-solid-svg-icons/faPlus';
|
|
25
25
|
import { faTimesCircle } from '@fortawesome/free-solid-svg-icons/faTimesCircle';
|
|
26
|
-
import isString from 'lodash/isString';
|
|
27
|
-
import isFunction from 'lodash/isFunction';
|
|
26
|
+
import isString from 'lodash-es/isString';
|
|
27
|
+
import isFunction from 'lodash-es/isFunction';
|
|
28
28
|
import { ReactSortable } from 'react-sortablejs';
|
|
29
29
|
import { KeyboardCode, closestCorners, getFirstCollision, getClientRect, MeasuringStrategy, defaultDropAnimation, useSensors, useSensor, PointerSensor, KeyboardSensor, DndContext, closestCenter, DragOverlay } from '@dnd-kit/core';
|
|
30
30
|
import { arrayMove, useSortable, SortableContext, verticalListSortingStrategy } from '@dnd-kit/sortable';
|
|
@@ -34,7 +34,7 @@ import { faAngleDown } from '@fortawesome/free-solid-svg-icons/faAngleDown';
|
|
|
34
34
|
import { faGripLines } from '@fortawesome/free-solid-svg-icons/faGripLines';
|
|
35
35
|
import { faTimes } from '@fortawesome/free-solid-svg-icons/faTimes';
|
|
36
36
|
import Dialog from '@panneau/modal-dialog';
|
|
37
|
-
import orderBy from 'lodash/orderBy';
|
|
37
|
+
import orderBy from 'lodash-es/orderBy';
|
|
38
38
|
|
|
39
39
|
const useRouteParams = t0 => {
|
|
40
40
|
const $ = c(12);
|
|
@@ -951,9 +951,8 @@ function EditForm({
|
|
|
951
951
|
}) : /*#__PURE__*/jsx(Empty, {
|
|
952
952
|
className: "w-100 m-2",
|
|
953
953
|
children: /*#__PURE__*/jsx(FormattedMessage, {
|
|
954
|
-
id: "
|
|
955
|
-
defaultMessage: "Select a screen..."
|
|
956
|
-
decription: "Indication to select a screen to view the form"
|
|
954
|
+
id: "GGlcE2",
|
|
955
|
+
defaultMessage: "Select a screen..."
|
|
957
956
|
})
|
|
958
957
|
})
|
|
959
958
|
}), deleteScreenModalOpened ? /*#__PURE__*/jsx(DeleteScreenModal, {
|