@micromag/screen-keypad 0.4.98 → 0.4.109
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/es/index.d.ts +2 -2
- package/es/index.js +2 -2
- package/package.json +35 -32
package/es/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ForwardedRef } from 'react';
|
|
3
3
|
import { HeadingElement, TextElement, VisualElement, BoxStyle, TextStyle, Header, Footer, BackgroundElement, MediaElement } from '@micromag/core';
|
|
4
4
|
|
|
@@ -50,7 +50,7 @@ interface KeypadScreenProps {
|
|
|
50
50
|
mediaRef?: ForwardedRef<MediaElement> | null;
|
|
51
51
|
className?: string | null;
|
|
52
52
|
}
|
|
53
|
-
declare function KeypadScreen({ items, title, subtitle, layout, spacing, keypadLayout, buttonStyles, popupStyles, header, footer, background, current, preload, withoutCloseButton, mediaRef: customMediaRef, className, }: KeypadScreenProps):
|
|
53
|
+
declare function KeypadScreen({ items, title, subtitle, layout, spacing, keypadLayout, buttonStyles, popupStyles, header, footer, background, current, preload, withoutCloseButton, mediaRef: customMediaRef, className, }: KeypadScreenProps): react.JSX.Element;
|
|
54
54
|
|
|
55
55
|
declare const _default: {
|
|
56
56
|
id: string;
|
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.
|
|
3
|
+
"version": "0.4.109",
|
|
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
|
-
"
|
|
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.
|
|
71
|
-
"@micromag/element-background": "^0.4.
|
|
72
|
-
"@micromag/element-button": "^0.4.
|
|
73
|
-
"@micromag/element-call-to-action": "^0.4.
|
|
74
|
-
"@micromag/element-container": "^0.4.
|
|
75
|
-
"@micromag/element-footer": "^0.4.
|
|
76
|
-
"@micromag/element-grid": "^0.4.
|
|
77
|
-
"@micromag/element-header": "^0.4.
|
|
78
|
-
"@micromag/element-heading": "^0.4.
|
|
79
|
-
"@micromag/element-keypad": "^0.4.
|
|
80
|
-
"@micromag/element-layout": "^0.4.
|
|
81
|
-
"@micromag/element-scroll": "^0.4.
|
|
82
|
-
"@micromag/element-text": "^0.4.
|
|
83
|
-
"@micromag/element-urbania-author": "^0.4.
|
|
84
|
-
"@micromag/element-visual": "^0.4.
|
|
85
|
-
"@micromag/transforms": "^0.4.
|
|
66
|
+
"@micromag/core": "^0.4.109",
|
|
67
|
+
"@micromag/element-background": "^0.4.109",
|
|
68
|
+
"@micromag/element-button": "^0.4.109",
|
|
69
|
+
"@micromag/element-call-to-action": "^0.4.109",
|
|
70
|
+
"@micromag/element-container": "^0.4.109",
|
|
71
|
+
"@micromag/element-footer": "^0.4.109",
|
|
72
|
+
"@micromag/element-grid": "^0.4.109",
|
|
73
|
+
"@micromag/element-header": "^0.4.109",
|
|
74
|
+
"@micromag/element-heading": "^0.4.109",
|
|
75
|
+
"@micromag/element-keypad": "^0.4.109",
|
|
76
|
+
"@micromag/element-layout": "^0.4.109",
|
|
77
|
+
"@micromag/element-scroll": "^0.4.109",
|
|
78
|
+
"@micromag/element-text": "^0.4.109",
|
|
79
|
+
"@micromag/element-urbania-author": "^0.4.109",
|
|
80
|
+
"@micromag/element-visual": "^0.4.109",
|
|
81
|
+
"@micromag/transforms": "^0.4.109",
|
|
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": "
|
|
99
|
-
"types": "es/index.d.ts"
|
|
102
|
+
"gitHead": "0eb452de33304b91642b48c12088758a8f0573a5"
|
|
100
103
|
}
|