@micromag/editor 0.4.98 → 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.
Files changed (2) hide show
  1. package/es/index.js +5 -6
  2. 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: "QfpTKK",
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, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/editor",
3
- "version": "0.4.98",
3
+ "version": "0.4.100",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -11,6 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "git+https://github.com/urbania-media/micromag-js.git"
13
13
  },
14
+ "license": "ISC",
14
15
  "author": {
15
16
  "name": "Folklore",
16
17
  "email": "info@folklore.email"
@@ -29,10 +30,10 @@
29
30
  "email": "jc@folklore.email"
30
31
  }
31
32
  ],
32
- "license": "ISC",
33
+ "sideEffects": [
34
+ "**/*.css"
35
+ ],
33
36
  "type": "module",
34
- "module": "es/index.js",
35
- "style": "assets/css/styles.css",
36
37
  "exports": {
37
38
  ".": {
38
39
  "types": "./es/index.d.ts",
@@ -42,23 +43,18 @@
42
43
  "./assets/css/styles": "./assets/css/styles.css",
43
44
  "./assets/css/styles.css": "./assets/css/styles.css"
44
45
  },
46
+ "module": "es/index.js",
47
+ "types": "es/index.d.ts",
48
+ "style": "assets/css/styles.css",
45
49
  "files": [
46
50
  "lib",
47
51
  "es",
48
52
  "assets"
49
53
  ],
50
54
  "scripts": {
55
+ "build": "../../scripts/prepare-package.sh --types",
51
56
  "clean": "rm -rf es && rm -rf lib && rm -rf assets && rm -rf styles",
52
- "prepublishOnly": "npm run build",
53
- "build": "../../scripts/prepare-package.sh --types"
54
- },
55
- "devDependencies": {
56
- "react": "^19.0.0",
57
- "react-dom": "^19.0.0"
58
- },
59
- "peerDependencies": {
60
- "react": "^19.0.0",
61
- "react-dom": "^19.0.0"
57
+ "prepublishOnly": "npm run build"
62
58
  },
63
59
  "dependencies": {
64
60
  "@babel/runtime": "^7.28.6",
@@ -70,25 +66,32 @@
70
66
  "@fortawesome/fontawesome-svg-core": "^7.2.0",
71
67
  "@fortawesome/free-solid-svg-icons": "^7.2.0",
72
68
  "@fortawesome/react-fontawesome": "^3.2.0",
73
- "@micromag/core": "^0.4.98",
74
- "@micromag/elements": "^0.4.98",
75
- "@micromag/fields": "^0.4.98",
76
- "@micromag/screens": "^0.4.98",
77
- "@micromag/viewer": "^0.4.98",
69
+ "@micromag/core": "^0.4.100",
70
+ "@micromag/elements": "^0.4.100",
71
+ "@micromag/fields": "^0.4.100",
72
+ "@micromag/screens": "^0.4.100",
73
+ "@micromag/viewer": "^0.4.100",
78
74
  "@panneau/modal-confirm": "^4.0.55",
79
75
  "@panneau/uppy": "^4.0.55",
80
76
  "classnames": "^2.2.6",
81
- "lodash": "^4.17.23",
77
+ "lodash-es": "^4.17.23",
82
78
  "react-intl": "^8.1.3 || ^10.0.0",
83
79
  "react-sortablejs": "^6.0.0",
84
80
  "sortablejs": "^1.12.0",
85
81
  "uuid": "^9.0.0",
86
82
  "wouter": "^3.0.0"
87
83
  },
84
+ "devDependencies": {
85
+ "react": "^19.0.0",
86
+ "react-dom": "^19.0.0"
87
+ },
88
+ "peerDependencies": {
89
+ "react": "^19.0.0",
90
+ "react-dom": "^19.0.0"
91
+ },
88
92
  "publishConfig": {
89
93
  "access": "public",
90
94
  "registry": "https://registry.npmjs.org/"
91
95
  },
92
- "gitHead": "5b90ff3e707ec3b96a1c6ae07812ce29a105d1c8",
93
- "types": "es/index.d.ts"
96
+ "gitHead": "724328f428f29f4950850cf34adb68ef5f46669a"
94
97
  }