@micromag/screen-survey 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.
Files changed (2) hide show
  1. package/es/index.js +1 -1
  2. package/package.json +33 -30
package/es/index.js CHANGED
@@ -3,7 +3,7 @@ import { faRedo } from '@fortawesome/free-solid-svg-icons/faRedo';
3
3
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
4
4
  import classNames from 'classnames';
5
5
  import DOMPurify from 'dompurify';
6
- import isNumber from 'lodash/isNumber';
6
+ import isNumber from 'lodash-es/isNumber';
7
7
  import { useState, useMemo, useCallback, useEffect } from 'react';
8
8
  import { ScreenElement, Transitions, CloseIcon } from '@micromag/core/components';
9
9
  import { useScreenSize, useScreenRenderContext, useViewerContext, useViewerWebView, usePlaybackContext, usePlaybackMediaRef } from '@micromag/core/contexts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-survey",
3
- "version": "0.4.97",
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,52 +43,54 @@
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",
65
61
  "@fortawesome/fontawesome-svg-core": "^7.2.0",
66
62
  "@fortawesome/free-solid-svg-icons": "^7.2.0",
67
63
  "@fortawesome/react-fontawesome": "^3.2.0",
68
- "@micromag/core": "^0.4.97",
69
- "@micromag/data": "^0.4.97",
70
- "@micromag/element-background": "^0.4.97",
71
- "@micromag/element-button": "^0.4.97",
72
- "@micromag/element-container": "^0.4.97",
73
- "@micromag/element-footer": "^0.4.97",
74
- "@micromag/element-header": "^0.4.97",
75
- "@micromag/element-heading": "^0.4.97",
76
- "@micromag/element-layout": "^0.4.97",
77
- "@micromag/element-scroll": "^0.4.97",
78
- "@micromag/element-text": "^0.4.97",
79
- "@micromag/element-text-input": "^0.4.97",
80
- "@micromag/transforms": "^0.4.97",
64
+ "@micromag/core": "^0.4.100",
65
+ "@micromag/data": "^0.4.100",
66
+ "@micromag/element-background": "^0.4.100",
67
+ "@micromag/element-button": "^0.4.100",
68
+ "@micromag/element-container": "^0.4.100",
69
+ "@micromag/element-footer": "^0.4.100",
70
+ "@micromag/element-header": "^0.4.100",
71
+ "@micromag/element-heading": "^0.4.100",
72
+ "@micromag/element-layout": "^0.4.100",
73
+ "@micromag/element-scroll": "^0.4.100",
74
+ "@micromag/element-text": "^0.4.100",
75
+ "@micromag/element-text-input": "^0.4.100",
76
+ "@micromag/transforms": "^0.4.100",
81
77
  "classnames": "^2.2.6",
82
78
  "dompurify": "^3.2.6",
83
- "lodash": "^4.17.23",
79
+ "lodash-es": "^4.17.23",
84
80
  "react-intl": "^8.1.3 || ^10.0.0",
85
81
  "uuid": "^9.0.0"
86
82
  },
83
+ "devDependencies": {
84
+ "react": "^19.0.0",
85
+ "react-dom": "^19.0.0"
86
+ },
87
+ "peerDependencies": {
88
+ "react": "^19.0.0",
89
+ "react-dom": "^19.0.0"
90
+ },
87
91
  "publishConfig": {
88
92
  "access": "public",
89
93
  "registry": "https://registry.npmjs.org/"
90
94
  },
91
- "gitHead": "431ca98c054de6f4ea10efba50a54e3bab803a16",
92
- "types": "es/index.d.ts"
95
+ "gitHead": "724328f428f29f4950850cf34adb68ef5f46669a"
93
96
  }