@micromag/screen-keypad 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 +2 -2
  2. package/package.json +35 -32
package/es/index.js CHANGED
@@ -2,8 +2,8 @@ import { FormattedMessage, defineMessage } from 'react-intl';
2
2
  import { c } from 'react/compiler-runtime';
3
3
  import { animated } from '@react-spring/web';
4
4
  import classNames from 'classnames';
5
- import isEmpty from 'lodash/isEmpty';
6
- import isString from 'lodash/isString';
5
+ import isEmpty from 'lodash-es/isEmpty';
6
+ import isString from 'lodash-es/isString';
7
7
  import { useRef, useState, useEffect } from 'react';
8
8
  import { Close, ScreenElement } from '@micromag/core/components';
9
9
  import { usePlaybackContext, useScreenState, useScreenSize, useViewerContext, useViewerWebView, useViewerInteraction, useScreenRenderContext, usePlaybackMediaRef, useViewerActivityDetected } from '@micromag/core/contexts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-keypad",
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"
@@ -33,10 +34,10 @@
33
34
  "email": "fred@folklore.email"
34
35
  }
35
36
  ],
36
- "license": "ISC",
37
+ "sideEffects": [
38
+ "**/*.css"
39
+ ],
37
40
  "type": "module",
38
- "module": "es/index.js",
39
- "style": "assets/css/styles.css",
40
41
  "exports": {
41
42
  ".": {
42
43
  "types": "./es/index.d.ts",
@@ -46,55 +47,57 @@
46
47
  "./assets/css/styles": "./assets/css/styles.css",
47
48
  "./assets/css/styles.css": "./assets/css/styles.css"
48
49
  },
50
+ "module": "es/index.js",
51
+ "types": "es/index.d.ts",
52
+ "style": "assets/css/styles.css",
49
53
  "files": [
50
54
  "lib",
51
55
  "es",
52
56
  "assets"
53
57
  ],
54
58
  "scripts": {
59
+ "build": "../../scripts/prepare-package.sh --types",
55
60
  "clean": "rm -rf es && rm -rf lib && rm -rf assets && rm -rf styles",
56
61
  "prepublishOnly": "npm run build",
57
- "build": "../../scripts/prepare-package.sh --types",
58
62
  "rollup": "../../node_modules/.bin/rollup --bundleConfigAsCjs --config ../../rollup.config.js"
59
63
  },
60
- "devDependencies": {
61
- "react": "^19.0.0",
62
- "react-dom": "^19.0.0"
63
- },
64
- "peerDependencies": {
65
- "react": "^19.0.0",
66
- "react-dom": "^19.0.0"
67
- },
68
64
  "dependencies": {
69
65
  "@babel/runtime": "^7.28.6",
70
- "@micromag/core": "^0.4.97",
71
- "@micromag/element-background": "^0.4.97",
72
- "@micromag/element-button": "^0.4.97",
73
- "@micromag/element-call-to-action": "^0.4.97",
74
- "@micromag/element-container": "^0.4.97",
75
- "@micromag/element-footer": "^0.4.97",
76
- "@micromag/element-grid": "^0.4.97",
77
- "@micromag/element-header": "^0.4.97",
78
- "@micromag/element-heading": "^0.4.97",
79
- "@micromag/element-keypad": "^0.4.97",
80
- "@micromag/element-layout": "^0.4.97",
81
- "@micromag/element-scroll": "^0.4.97",
82
- "@micromag/element-text": "^0.4.97",
83
- "@micromag/element-urbania-author": "^0.4.97",
84
- "@micromag/element-visual": "^0.4.97",
85
- "@micromag/transforms": "^0.4.97",
66
+ "@micromag/core": "^0.4.100",
67
+ "@micromag/element-background": "^0.4.100",
68
+ "@micromag/element-button": "^0.4.100",
69
+ "@micromag/element-call-to-action": "^0.4.100",
70
+ "@micromag/element-container": "^0.4.100",
71
+ "@micromag/element-footer": "^0.4.100",
72
+ "@micromag/element-grid": "^0.4.100",
73
+ "@micromag/element-header": "^0.4.100",
74
+ "@micromag/element-heading": "^0.4.100",
75
+ "@micromag/element-keypad": "^0.4.100",
76
+ "@micromag/element-layout": "^0.4.100",
77
+ "@micromag/element-scroll": "^0.4.100",
78
+ "@micromag/element-text": "^0.4.100",
79
+ "@micromag/element-urbania-author": "^0.4.100",
80
+ "@micromag/element-visual": "^0.4.100",
81
+ "@micromag/transforms": "^0.4.100",
86
82
  "@react-spring/core": "^10.0.3",
87
83
  "@react-spring/web": "^10.0.3",
88
84
  "@use-gesture/react": "^10.3.0",
89
85
  "classnames": "^2.2.6",
90
- "lodash": "^4.17.23",
86
+ "lodash-es": "^4.17.23",
91
87
  "react-intl": "^8.1.3 || ^10.0.0",
92
88
  "uuid": "^9.0.0"
93
89
  },
90
+ "devDependencies": {
91
+ "react": "^19.0.0",
92
+ "react-dom": "^19.0.0"
93
+ },
94
+ "peerDependencies": {
95
+ "react": "^19.0.0",
96
+ "react-dom": "^19.0.0"
97
+ },
94
98
  "publishConfig": {
95
99
  "access": "public",
96
100
  "registry": "https://registry.npmjs.org/"
97
101
  },
98
- "gitHead": "431ca98c054de6f4ea10efba50a54e3bab803a16",
99
- "types": "es/index.d.ts"
102
+ "gitHead": "724328f428f29f4950850cf34adb68ef5f46669a"
100
103
  }