@nanoporetech-digital/components-react 7.3.2 → 7.4.3
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/LICENSE +0 -0
- package/README.md +0 -0
- package/dist/components.js +0 -1
- package/dist/components.js.map +1 -1
- package/dist/types/components.d.ts +0 -1
- package/package.json +17 -18
- package/CHANGELOG.md +0 -1924
- package/src/components.ts +0 -62
- package/src/index.ts +0 -1
- package/src/react-component-lib/createComponent.tsx +0 -113
- package/src/react-component-lib/createOverlayComponent.tsx +0 -162
- package/src/react-component-lib/index.ts +0 -2
- package/src/react-component-lib/interfaces.ts +0 -34
- package/src/react-component-lib/utils/attachProps.ts +0 -114
- package/src/react-component-lib/utils/case.ts +0 -8
- package/src/react-component-lib/utils/dev.ts +0 -14
- package/src/react-component-lib/utils/index.tsx +0 -57
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/dist/components.js
CHANGED
|
@@ -14,7 +14,6 @@ export const NanoCheckboxGroup = /*@__PURE__*/ createReactComponent('nano-checkb
|
|
|
14
14
|
export const NanoDatalist = /*@__PURE__*/ createReactComponent('nano-datalist');
|
|
15
15
|
export const NanoDateInput = /*@__PURE__*/ createReactComponent('nano-date-input');
|
|
16
16
|
export const NanoDatePicker = /*@__PURE__*/ createReactComponent('nano-date-picker');
|
|
17
|
-
export const NanoDemo = /*@__PURE__*/ createReactComponent('nano-demo');
|
|
18
17
|
export const NanoDetails = /*@__PURE__*/ createReactComponent('nano-details');
|
|
19
18
|
export const NanoDialog = /*@__PURE__*/ createReactComponent('nano-dialog');
|
|
20
19
|
export const NanoDrawer = /*@__PURE__*/ createReactComponent('nano-drawer');
|
package/dist/components.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,kCAAkC;AAClC,OAAO,EAAE,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oB,CAA4C,eAAe,CAAC,CAAC;AAC1H,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,cAAc,CAAC,CAAC;AACtH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAA,oBAAoB,CAA8C,iBAAiB,CAAC,CAAC;AAC/H,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,cAAc,CAAC,CAAC;AACtH,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAA,oBAAoB,CAAkC,UAAU,CAAC,CAAC;AACtG,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAA,oBAAoB,CAAgD,kBAAkB,CAAC,CAAC;AACnI,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAA,oBAAoB,CAA4C,gBAAgB,CAAC,CAAC;AAC3H,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAA,oBAAoB,CAAsC,YAAY,CAAC,CAAC;AAC9G,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,cAAc,CAAC,CAAC"}
|
|
@@ -12,7 +12,6 @@ export declare const NanoCheckboxGroup: import("react").ForwardRefExoticComponen
|
|
|
12
12
|
export declare const NanoDatalist: import("react").ForwardRefExoticComponent<JSX.NanoDatalist & Omit<import("react").HTMLAttributes<HTMLNanoDatalistElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoDatalistElement>>;
|
|
13
13
|
export declare const NanoDateInput: import("react").ForwardRefExoticComponent<JSX.NanoDateInput & Omit<import("react").HTMLAttributes<HTMLNanoDateInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoDateInputElement>>;
|
|
14
14
|
export declare const NanoDatePicker: import("react").ForwardRefExoticComponent<JSX.NanoDatePicker & Omit<import("react").HTMLAttributes<HTMLNanoDatePickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoDatePickerElement>>;
|
|
15
|
-
export declare const NanoDemo: import("react").ForwardRefExoticComponent<JSX.NanoDemo & Omit<import("react").HTMLAttributes<HTMLNanoDemoElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoDemoElement>>;
|
|
16
15
|
export declare const NanoDetails: import("react").ForwardRefExoticComponent<JSX.NanoDetails & Omit<import("react").HTMLAttributes<HTMLNanoDetailsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoDetailsElement>>;
|
|
17
16
|
export declare const NanoDialog: import("react").ForwardRefExoticComponent<JSX.NanoDialog & Omit<import("react").HTMLAttributes<HTMLNanoDialogElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoDialogElement>>;
|
|
18
17
|
export declare const NanoDrawer: import("react").ForwardRefExoticComponent<JSX.NanoDrawer & Omit<import("react").HTMLAttributes<HTMLNanoDrawerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoDrawerElement>>;
|
package/package.json
CHANGED
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanoporetech-digital/components-react",
|
|
3
|
-
"version": "7.3
|
|
3
|
+
"version": "7.4.3",
|
|
4
|
+
"sideEffects": false,
|
|
4
5
|
"description": "React wrapper for Nano Components",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
7
8
|
"url": "https://git.oxfordnanolabs.local/Digital/nano-components"
|
|
8
9
|
},
|
|
9
10
|
"license": "MIT",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "npm run clean && npm run compile",
|
|
12
|
-
"clean": "rm -rf dist",
|
|
13
|
-
"compile": "npm run tsc",
|
|
14
|
-
"tsc": "tsc -p .",
|
|
15
|
-
"demo": "npm run demo.copy-assets && npm run demo.start",
|
|
16
|
-
"demo.start": "parcel demo/src/index.html --dist-dir demo/dist --port 1111",
|
|
17
|
-
"demo.copy-assets": "cp -r node_modules/@nanoporetech-digital/components/dist/nano-assets demo/dist/nano-assets"
|
|
18
|
-
},
|
|
19
11
|
"main": "./dist/index.js",
|
|
20
12
|
"types": "dist/types/index.d.ts",
|
|
21
13
|
"files": [
|
|
22
|
-
"dist/"
|
|
23
|
-
"src/"
|
|
14
|
+
"dist/"
|
|
24
15
|
],
|
|
25
16
|
"targets": {
|
|
26
17
|
"main": false
|
|
@@ -53,9 +44,8 @@
|
|
|
53
44
|
"typescript": "^4.7.3"
|
|
54
45
|
},
|
|
55
46
|
"dependencies": {
|
|
56
|
-
"
|
|
57
|
-
"@
|
|
58
|
-
"tslib": "*"
|
|
47
|
+
"tslib": "*",
|
|
48
|
+
"@nanoporetech-digital/components": "7.4.3"
|
|
59
49
|
},
|
|
60
50
|
"jest": {
|
|
61
51
|
"preset": "ts-jest",
|
|
@@ -66,7 +56,7 @@
|
|
|
66
56
|
"demo"
|
|
67
57
|
]
|
|
68
58
|
},
|
|
69
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "cff1d0168dbe2193c1dc1a814ed1cb97b30cfc25",
|
|
70
60
|
"staticFiles": {
|
|
71
61
|
"staticPath": [
|
|
72
62
|
"/node_modules/@nanoporetech-digital/components/dist/nano-assets"
|
|
@@ -76,6 +66,15 @@
|
|
|
76
66
|
]
|
|
77
67
|
},
|
|
78
68
|
"volta": {
|
|
79
|
-
"
|
|
69
|
+
"extends": "../../package.json"
|
|
70
|
+
},
|
|
71
|
+
"scripts": {
|
|
72
|
+
"build": "npm run clean && npm run compile",
|
|
73
|
+
"clean": "rm -rf dist",
|
|
74
|
+
"compile": "npm run tsc",
|
|
75
|
+
"tsc": "tsc -p .",
|
|
76
|
+
"demo": "npm run demo.copy-assets && npm run demo.start",
|
|
77
|
+
"demo.start": "parcel demo/src/index.html --dist-dir demo/dist --port 1111",
|
|
78
|
+
"demo.copy-assets": "cp -r node_modules/@nanoporetech-digital/components/dist/nano-assets demo/dist/nano-assets"
|
|
80
79
|
}
|
|
81
|
-
}
|
|
80
|
+
}
|