@micromag/transforms 0.3.824 → 0.4.4

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.
@@ -0,0 +1,80 @@
1
+ declare const Article: (story: any, settings: any) => {};
2
+
3
+ declare const Audio: (story: any, audio: any) => {
4
+ story: any;
5
+ component: {};
6
+ };
7
+
8
+ declare const Author: (story: any, text: any) => {
9
+ story: any;
10
+ component: {};
11
+ };
12
+
13
+ declare const Container: (story: any, components: any) => {
14
+ story: any;
15
+ component: {};
16
+ };
17
+
18
+ declare const Gallery: (story: any, gallery: any) => {
19
+ story: any;
20
+ component: {};
21
+ };
22
+
23
+ declare const Heading1: (story: any, heading: any) => {
24
+ story: any;
25
+ component: {};
26
+ };
27
+
28
+ declare const Heading2: (story: any, heading: any) => {
29
+ story: any;
30
+ component: {};
31
+ };
32
+
33
+ declare const Image: (story: any, image: any) => {
34
+ story: any;
35
+ component: {};
36
+ };
37
+
38
+ declare const Map: (story: any, map: any) => {
39
+ story: any;
40
+ component: {};
41
+ };
42
+
43
+ declare const Mosaic: (story: any, mosaic: any) => {
44
+ story: any;
45
+ component: {};
46
+ };
47
+
48
+ declare const Quote: (story: any, quote: any) => {
49
+ story: any;
50
+ component: {};
51
+ };
52
+
53
+ declare const Subtitle: (story: any, subtitle: any) => {
54
+ story: any;
55
+ component: {};
56
+ };
57
+
58
+ declare const Text: (story: any, text: any) => {
59
+ story: any;
60
+ component: {};
61
+ };
62
+
63
+ declare const Title: (story: any, title: any) => {
64
+ story: any;
65
+ component: {};
66
+ };
67
+
68
+ declare const Video: (story: any, video: any) => {
69
+ story: any;
70
+ component: {};
71
+ };
72
+
73
+ declare const TextStyle: ({ fontFamily, fontSize, lineHeight, color, }?: {
74
+ fontFamily?: any;
75
+ fontSize?: any;
76
+ lineHeight?: any;
77
+ color?: any;
78
+ }) => {};
79
+
80
+ export { Article, Audio, Author, Container, Gallery, Heading1, Heading2, Image, Map, Mosaic, Quote, Subtitle, Text, TextStyle, Title, Video };
package/es/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ declare const transformer: (story: any, type: any, settings: any) => any;
2
+
3
+ declare const postProcessor: (story: any, type: any) => any;
4
+
5
+ export { postProcessor, transformer };
package/es/utils.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ declare const validate: (content?: {}, definition?: any) => {};
2
+
3
+ declare const stripTags: (str: any) => any;
4
+
5
+ export { stripTags, validate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/transforms",
3
- "version": "0.3.824",
3
+ "version": "0.4.4",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -34,13 +34,16 @@
34
34
  "module": "es/index.js",
35
35
  "exports": {
36
36
  ".": {
37
+ "types": "./es/index.d.ts",
37
38
  "import": "./es/index.js"
38
39
  },
39
40
  "./apple-news": {
41
+ "types": "./es/apple-news.d.ts",
40
42
  "require": "./lib/apple-news.js",
41
43
  "import": "./es/apple-news.js"
42
44
  },
43
45
  "./utils": {
46
+ "types": "./es/utils.d.ts",
44
47
  "require": "./lib/utils.js",
45
48
  "import": "./es/utils.js"
46
49
  }
@@ -60,27 +63,27 @@
60
63
  "scripts": {
61
64
  "clean": "rm -rf es && rm -rf lib && rm -rf assets",
62
65
  "prepublishOnly": "npm run build",
63
- "build": "../../scripts/prepare-package.sh"
66
+ "build": "../../scripts/prepare-package.sh --types"
64
67
  },
65
68
  "devDependencies": {
66
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
67
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
69
+ "react": "^19.2.0",
70
+ "react-dom": "^18.3.0 || ^19.0.0"
68
71
  },
69
72
  "peerDependencies": {
70
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
71
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
73
+ "react": "^19.2.0",
74
+ "react-dom": "^18.3.0 || ^19.0.0"
72
75
  },
73
76
  "dependencies": {
74
77
  "@babel/runtime": "^7.13.10",
75
- "@micromag/core": "^0.3.824",
76
- "lodash": "^4.17.21",
78
+ "@micromag/core": "^0.4.4",
79
+ "lodash": "^4.17.23",
77
80
  "object-hash": "^3.0.0",
78
- "prop-types": "^15.7.2",
79
81
  "uuid": "^9.0.0"
80
82
  },
81
83
  "publishConfig": {
82
84
  "access": "public",
83
85
  "registry": "https://registry.npmjs.org/"
84
86
  },
85
- "gitHead": "e266e480cdc5741c73160840affee2eac7e7c9de"
87
+ "gitHead": "04b8519c3a3ddace5a21497e22faa11865d57f6d",
88
+ "types": "es/index.d.ts"
86
89
  }