@nanoporetech-digital/components-react 5.9.6 → 5.11.0
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.11.0](https://git.oxfordnanolabs.local/Digital/nano-components/compare/v5.10.0...v5.11.0) (2024-02-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **global-nav:** fix search-bar widget size ([0043be1](https://git.oxfordnanolabs.local/Digital/nano-components/commits/0043be1a1615b838098a60ae02102739b307f5a1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [5.10.0](https://git.oxfordnanolabs.local/Digital/nano-components/compare/v5.9.6...v5.10.0) (2023-11-15)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @nanoporetech-digital/components-react
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [5.9.6](https://git.oxfordnanolabs.local/Digital/nano-components/compare/v5.9.5...v5.9.6) (2023-11-08)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @nanoporetech-digital/components-react
|
package/dist/components.js
CHANGED
|
@@ -6,7 +6,6 @@ export const NanoAccordion = /*@__PURE__*/ createReactComponent('nano-accordion'
|
|
|
6
6
|
export const NanoAlert = /*@__PURE__*/ createReactComponent('nano-alert');
|
|
7
7
|
export const NanoAlgolia = /*@__PURE__*/ createReactComponent('nano-algolia');
|
|
8
8
|
export const NanoAlgoliaFilter = /*@__PURE__*/ createReactComponent('nano-algolia-filter');
|
|
9
|
-
export const NanoAlgoliaInput = /*@__PURE__*/ createReactComponent('nano-algolia-input');
|
|
10
9
|
export const NanoAlgoliaPagination = /*@__PURE__*/ createReactComponent('nano-algolia-pagination');
|
|
11
10
|
export const NanoAlgoliaResults = /*@__PURE__*/ createReactComponent('nano-algolia-results');
|
|
12
11
|
export const NanoAspectRatio = /*@__PURE__*/ createReactComponent('nano-aspect-ratio');
|
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,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAM7D,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAA,oBAAoB,CAA8C,gBAAgB,CAAC,CAAC;AAC9H,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;AACtH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAA,oBAAoB,CAAsD,qBAAqB,CAAC,CAAC;AAC/I,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAM7D,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAA,oBAAoB,CAA8C,gBAAgB,CAAC,CAAC;AAC9H,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;AACtH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAA,oBAAo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oB,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"}
|
|
@@ -4,7 +4,6 @@ export declare const NanoAccordion: import("react").ForwardRefExoticComponent<JS
|
|
|
4
4
|
export declare const NanoAlert: import("react").ForwardRefExoticComponent<JSX.NanoAlert & Omit<import("react").HTMLAttributes<HTMLNanoAlertElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoAlertElement>>;
|
|
5
5
|
export declare const NanoAlgolia: import("react").ForwardRefExoticComponent<JSX.NanoAlgolia & Omit<import("react").HTMLAttributes<HTMLNanoAlgoliaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoAlgoliaElement>>;
|
|
6
6
|
export declare const NanoAlgoliaFilter: import("react").ForwardRefExoticComponent<JSX.NanoAlgoliaFilter & Omit<import("react").HTMLAttributes<HTMLNanoAlgoliaFilterElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoAlgoliaFilterElement>>;
|
|
7
|
-
export declare const NanoAlgoliaInput: import("react").ForwardRefExoticComponent<JSX.NanoAlgoliaInput & Omit<import("react").HTMLAttributes<HTMLNanoAlgoliaInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoAlgoliaInputElement>>;
|
|
8
7
|
export declare const NanoAlgoliaPagination: import("react").ForwardRefExoticComponent<JSX.NanoAlgoliaPagination & Omit<import("react").HTMLAttributes<HTMLNanoAlgoliaPaginationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoAlgoliaPaginationElement>>;
|
|
9
8
|
export declare const NanoAlgoliaResults: import("react").ForwardRefExoticComponent<JSX.NanoAlgoliaResults & Omit<import("react").HTMLAttributes<HTMLNanoAlgoliaResultsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoAlgoliaResultsElement>>;
|
|
10
9
|
export declare const NanoAspectRatio: import("react").ForwardRefExoticComponent<JSX.NanoAspectRatio & Omit<import("react").HTMLAttributes<HTMLNanoAspectRatioElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNanoAspectRatioElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { StyleReactProps } from '../interfaces';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
|
|
4
|
+
export type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
|
|
5
5
|
export declare const setRef: (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => void;
|
|
6
6
|
export declare const mergeRefs: (...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]) => React.RefCallback<any>;
|
|
7
7
|
export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & StyleReactProps> & React.RefAttributes<ElementType>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanoporetech-digital/components-react",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.11.0",
|
|
4
4
|
"description": "React wrapper for Nano Components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"typescript": "^4.7.3"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@nanoporetech-digital/components": "^5.
|
|
56
|
+
"@nanoporetech-digital/components": "^5.11.0",
|
|
57
57
|
"@stencil/core": "^2.4.0",
|
|
58
58
|
"tslib": "*"
|
|
59
59
|
},
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"demo"
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "b6f7dd227d4ea28ed29283bb89ba6c367f68bd00",
|
|
70
70
|
"staticFiles": {
|
|
71
71
|
"staticPath": [
|
|
72
72
|
"/node_modules/@nanoporetech-digital/components/dist/nano-assets"
|
|
@@ -76,7 +76,6 @@
|
|
|
76
76
|
]
|
|
77
77
|
},
|
|
78
78
|
"volta": {
|
|
79
|
-
"node": "14.
|
|
80
|
-
"npm": "8.6.0"
|
|
79
|
+
"node": "18.14.0"
|
|
81
80
|
}
|
|
82
81
|
}
|
package/src/components.ts
CHANGED
|
@@ -11,7 +11,6 @@ export const NanoAccordion = /*@__PURE__*/createReactComponent<JSX.NanoAccordion
|
|
|
11
11
|
export const NanoAlert = /*@__PURE__*/createReactComponent<JSX.NanoAlert, HTMLNanoAlertElement>('nano-alert');
|
|
12
12
|
export const NanoAlgolia = /*@__PURE__*/createReactComponent<JSX.NanoAlgolia, HTMLNanoAlgoliaElement>('nano-algolia');
|
|
13
13
|
export const NanoAlgoliaFilter = /*@__PURE__*/createReactComponent<JSX.NanoAlgoliaFilter, HTMLNanoAlgoliaFilterElement>('nano-algolia-filter');
|
|
14
|
-
export const NanoAlgoliaInput = /*@__PURE__*/createReactComponent<JSX.NanoAlgoliaInput, HTMLNanoAlgoliaInputElement>('nano-algolia-input');
|
|
15
14
|
export const NanoAlgoliaPagination = /*@__PURE__*/createReactComponent<JSX.NanoAlgoliaPagination, HTMLNanoAlgoliaPaginationElement>('nano-algolia-pagination');
|
|
16
15
|
export const NanoAlgoliaResults = /*@__PURE__*/createReactComponent<JSX.NanoAlgoliaResults, HTMLNanoAlgoliaResultsElement>('nano-algolia-results');
|
|
17
16
|
export const NanoAspectRatio = /*@__PURE__*/createReactComponent<JSX.NanoAspectRatio, HTMLNanoAspectRatioElement>('nano-aspect-ratio');
|