@micromag/element-call-to-action 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.
- package/es/index.js +1 -1
- package/package.json +24 -21
package/es/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useGesture } from '@use-gesture/react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
|
-
import isString from 'lodash/isString';
|
|
4
|
+
import isString from 'lodash-es/isString';
|
|
5
5
|
import { useRef, useState, useEffect } from 'react';
|
|
6
6
|
import { useTrackEvent } from '@micromag/core/hooks';
|
|
7
7
|
import { isValidUrl, getStyleFromColor, isIos } from '@micromag/core/utils';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-call-to-action",
|
|
3
|
-
"version": "0.4.
|
|
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
|
-
"
|
|
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,45 +43,47 @@
|
|
|
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.
|
|
69
|
-
"@micromag/element-button": "^0.4.
|
|
70
|
-
"@micromag/element-text": "^0.4.
|
|
71
|
-
"@micromag/element-webview": "^0.4.
|
|
64
|
+
"@micromag/core": "^0.4.100",
|
|
65
|
+
"@micromag/element-button": "^0.4.100",
|
|
66
|
+
"@micromag/element-text": "^0.4.100",
|
|
67
|
+
"@micromag/element-webview": "^0.4.100",
|
|
72
68
|
"@react-spring/core": "^10.0.3",
|
|
73
69
|
"@react-spring/web": "^10.0.3",
|
|
74
70
|
"@use-gesture/react": "^10.3.0",
|
|
75
71
|
"classnames": "^2.2.6",
|
|
76
|
-
"lodash": "^4.17.23",
|
|
72
|
+
"lodash-es": "^4.17.23",
|
|
77
73
|
"react-intl": "^8.1.3 || ^10.0.0",
|
|
78
74
|
"uuid": "^9.0.0"
|
|
79
75
|
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"react": "^19.0.0",
|
|
78
|
+
"react-dom": "^19.0.0"
|
|
79
|
+
},
|
|
80
|
+
"peerDependencies": {
|
|
81
|
+
"react": "^19.0.0",
|
|
82
|
+
"react-dom": "^19.0.0"
|
|
83
|
+
},
|
|
80
84
|
"publishConfig": {
|
|
81
85
|
"access": "public",
|
|
82
86
|
"registry": "https://registry.npmjs.org/"
|
|
83
87
|
},
|
|
84
|
-
"gitHead": "
|
|
85
|
-
"types": "es/index.d.ts"
|
|
88
|
+
"gitHead": "724328f428f29f4950850cf34adb68ef5f46669a"
|
|
86
89
|
}
|