@metamask-previews/design-system-react-native 0.0.0-preview.52473ea → 0.0.0-preview.6fee845
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/dist/components/Button.d.ts +6 -0
- package/dist/components/Button.js +8 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +12 -10
- package/dist/index.cjs +0 -13
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -8
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts +0 -8
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs +0 -10
- package/dist/index.mjs.map +0 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Button } from './components/Button';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Button } from './components/Button';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/design-system-react-native",
|
|
3
|
-
"version": "0.0.0-preview.
|
|
3
|
+
"version": "0.0.0-preview.6fee845",
|
|
4
4
|
"description": "Design System React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -19,23 +19,19 @@
|
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
21
|
"import": {
|
|
22
|
-
"types": "./dist/index.d.
|
|
23
|
-
"default": "./dist/index.
|
|
24
|
-
},
|
|
25
|
-
"require": {
|
|
26
|
-
"types": "./dist/index.d.cts",
|
|
27
|
-
"default": "./dist/index.cjs"
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"default": "./dist/index.js"
|
|
28
24
|
}
|
|
29
25
|
},
|
|
30
26
|
"./package.json": "./package.json"
|
|
31
27
|
},
|
|
32
|
-
"main": "./dist/index.
|
|
33
|
-
"types": "./dist/index.d.
|
|
28
|
+
"main": "./dist/index.js",
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
34
30
|
"files": [
|
|
35
31
|
"dist/"
|
|
36
32
|
],
|
|
37
33
|
"scripts": {
|
|
38
|
-
"build": "
|
|
34
|
+
"build": "tsc --project tsconfig.build.json",
|
|
39
35
|
"build:docs": "typedoc",
|
|
40
36
|
"changelog:update": "../../scripts/update-changelog.sh @metamask/design-system-react-native",
|
|
41
37
|
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/design-system-react-native",
|
|
@@ -49,13 +45,19 @@
|
|
|
49
45
|
"devDependencies": {
|
|
50
46
|
"@metamask/auto-changelog": "^3.4.4",
|
|
51
47
|
"@types/jest": "^27.4.1",
|
|
48
|
+
"@types/react-native": "^0.72.0",
|
|
52
49
|
"deepmerge": "^4.2.2",
|
|
50
|
+
"eslint": "^8.44.0",
|
|
53
51
|
"jest": "^27.5.1",
|
|
54
52
|
"ts-jest": "^27.1.4",
|
|
55
53
|
"typedoc": "^0.24.8",
|
|
56
54
|
"typedoc-plugin-missing-exports": "^2.0.0",
|
|
57
55
|
"typescript": "~5.2.2"
|
|
58
56
|
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"react": "^18.2.0",
|
|
59
|
+
"react-native": "0.72.15"
|
|
60
|
+
},
|
|
59
61
|
"engines": {
|
|
60
62
|
"node": "^18.18 || >=20"
|
|
61
63
|
},
|
package/dist/index.cjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/**
|
|
4
|
-
* Example function that returns a greeting for the given name.
|
|
5
|
-
*
|
|
6
|
-
* @param name - The name to greet.
|
|
7
|
-
* @returns The greeting.
|
|
8
|
-
*/
|
|
9
|
-
function greeter(name) {
|
|
10
|
-
return `Hello, ${name}!`;
|
|
11
|
-
}
|
|
12
|
-
exports.default = greeter;
|
|
13
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,SAAwB,OAAO,CAAC,IAAY;IAC1C,OAAO,UAAU,IAAI,GAAG,CAAC;AAC3B,CAAC;AAFD,0BAEC","sourcesContent":["/**\n * Example function that returns a greeting for the given name.\n *\n * @param name - The name to greet.\n * @returns The greeting.\n */\nexport default function greeter(name: string): string {\n return `Hello, ${name}!`;\n}\n"]}
|
package/dist/index.d.cts
DELETED
package/dist/index.d.cts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEpD"}
|
package/dist/index.d.mts
DELETED
package/dist/index.d.mts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEpD"}
|
package/dist/index.mjs
DELETED
package/dist/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,IAAY;IAC1C,OAAO,UAAU,IAAI,GAAG,CAAC;AAC3B,CAAC","sourcesContent":["/**\n * Example function that returns a greeting for the given name.\n *\n * @param name - The name to greet.\n * @returns The greeting.\n */\nexport default function greeter(name: string): string {\n return `Hello, ${name}!`;\n}\n"]}
|