@neo4j-ndl/react 2.1.0 → 2.1.1
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 +9 -0
- package/lib/cjs/button/IconButtonArray.js +4 -0
- package/lib/cjs/button/IconButtonArray.js.map +1 -1
- package/lib/esm/button/IconButtonArray.js +4 -0
- package/lib/esm/button/IconButtonArray.js.map +1 -1
- package/lib/types/button/IconButtonArray.d.ts +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 2.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#704](https://github.com/neo4j/neo4j-design/pull/704) [`b22b869`](https://github.com/neo4j/neo4j-design/commit/b22b869a594d34badcce0161931c0e8ce265f7be) Thanks [@konsalex](https://github.com/konsalex)! - IconButtonArray fix maximum height from 38px to 36px
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`b22b869`](https://github.com/neo4j/neo4j-design/commit/b22b869a594d34badcce0161931c0e8ce265f7be)]:
|
|
10
|
+
- @neo4j-ndl/base@2.1.1
|
|
11
|
+
|
|
3
12
|
## 2.1.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -38,6 +38,10 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
38
38
|
*/
|
|
39
39
|
const react_1 = __importDefault(require("react"));
|
|
40
40
|
const defaultImports_1 = require("../_common/defaultImports");
|
|
41
|
+
/**
|
|
42
|
+
* TODO: v3. Incorporate the `size` prop into the component, and pass it to IconButton children.
|
|
43
|
+
* We need to use also the `size` prop to adjust padding in various sizes, now it has a fixed padding.
|
|
44
|
+
*/
|
|
41
45
|
exports.IconButtonArray = react_1.default.forwardRef(function Button(_a, ref) {
|
|
42
46
|
var { children, as, className, floating = false, orientation = 'horizontal' } = _a, restProps = __rest(_a, ["children", "as", "className", "floating", "orientation"]);
|
|
43
47
|
const Component = as || 'div';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButtonArray.js","sourceRoot":"","sources":["../../../src/button/IconButtonArray.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,kDAA0B;AAC1B,8DAAuD;
|
|
1
|
+
{"version":3,"file":"IconButtonArray.js","sourceRoot":"","sources":["../../../src/button/IconButtonArray.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,kDAA0B;AAC1B,8DAAuD;AAqBvD;;;GAGG;AACU,QAAA,eAAe,GAAG,eAAK,CAAC,UAAU,CAAC,SAAS,MAAM,CAC7D,EAOuB,EACvB,GAAG;QARH,EACE,QAAQ,EACR,EAAE,EACF,SAAS,EACT,QAAQ,GAAG,KAAK,EAChB,WAAW,GAAG,YAAY,OAEL,EADlB,SAAS,cANd,0DAOC,CADa;IAId,MAAM,SAAS,GAAG,EAAE,IAAI,KAAK,CAAC;IAE9B,MAAM,OAAO,GAAG,IAAA,2BAAU,EAAC,oBAAoB,EAAE;QAC/C,YAAY,EAAE,WAAW,KAAK,YAAY;QAC1C,YAAY,EAAE,WAAW,KAAK,UAAU;QACxC,oBAAoB,EAAE,QAAQ;QAC9B,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,SAAS;KAC5B,CAAC,CAAC;IAEH,OAAO,CACL,uBAAC,SAAS,oBAAK,SAAS,IAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,YACnD,QAAQ,IACC,CACb,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -32,6 +32,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
32
32
|
*/
|
|
33
33
|
import React from 'react';
|
|
34
34
|
import { classNames } from '../_common/defaultImports';
|
|
35
|
+
/**
|
|
36
|
+
* TODO: v3. Incorporate the `size` prop into the component, and pass it to IconButton children.
|
|
37
|
+
* We need to use also the `size` prop to adjust padding in various sizes, now it has a fixed padding.
|
|
38
|
+
*/
|
|
35
39
|
export const IconButtonArray = React.forwardRef(function Button(_a, ref) {
|
|
36
40
|
var { children, as, className, floating = false, orientation = 'horizontal' } = _a, restProps = __rest(_a, ["children", "as", "className", "floating", "orientation"]);
|
|
37
41
|
const Component = as || 'div';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButtonArray.js","sourceRoot":"","sources":["../../../src/button/IconButtonArray.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAqBvD,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC,UAAU,CAAC,SAAS,MAAM,CAC7D,EAOuB,EACvB,GAAG;QARH,EACE,QAAQ,EACR,EAAE,EACF,SAAS,EACT,QAAQ,GAAG,KAAK,EAChB,WAAW,GAAG,YAAY,OAEL,EADlB,SAAS,cANd,0DAOC,CADa;IAId,MAAM,SAAS,GAAG,EAAE,IAAI,KAAK,CAAC;IAE9B,MAAM,OAAO,GAAG,UAAU,CAAC,oBAAoB,EAAE;QAC/C,YAAY,EAAE,WAAW,KAAK,YAAY;QAC1C,YAAY,EAAE,WAAW,KAAK,UAAU;QACxC,oBAAoB,EAAE,QAAQ;QAC9B,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,SAAS;KAC5B,CAAC,CAAC;IAEH,OAAO,CACL,KAAC,SAAS,oBAAK,SAAS,IAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,YACnD,QAAQ,IACC,CACb,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"IconButtonArray.js","sourceRoot":"","sources":["../../../src/button/IconButtonArray.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAqBvD;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC,UAAU,CAAC,SAAS,MAAM,CAC7D,EAOuB,EACvB,GAAG;QARH,EACE,QAAQ,EACR,EAAE,EACF,SAAS,EACT,QAAQ,GAAG,KAAK,EAChB,WAAW,GAAG,YAAY,OAEL,EADlB,SAAS,cANd,0DAOC,CADa;IAId,MAAM,SAAS,GAAG,EAAE,IAAI,KAAK,CAAC;IAE9B,MAAM,OAAO,GAAG,UAAU,CAAC,oBAAoB,EAAE;QAC/C,YAAY,EAAE,WAAW,KAAK,YAAY;QAC1C,YAAY,EAAE,WAAW,KAAK,UAAU;QACxC,oBAAoB,EAAE,QAAQ;QAC9B,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,SAAS;KAC5B,CAAC,CAAC;IAEH,OAAO,CACL,KAAC,SAAS,oBAAK,SAAS,IAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,YACnD,QAAQ,IACC,CACb,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -34,4 +34,8 @@ export interface IconButtonArrayProps extends ElementBase<HTMLDivElement> {
|
|
|
34
34
|
/** If the button is in floating state */
|
|
35
35
|
floating?: boolean;
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* TODO: v3. Incorporate the `size` prop into the component, and pass it to IconButton children.
|
|
39
|
+
* We need to use also the `size` prop to adjust padding in various sizes, now it has a fixed padding.
|
|
40
|
+
*/
|
|
37
41
|
export declare const IconButtonArray: React.ForwardRefExoticComponent<IconButtonArrayProps & React.RefAttributes<unknown>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@floating-ui/react": "0.25.1",
|
|
94
94
|
"@heroicons/react": "2.0.13",
|
|
95
95
|
"@neo4j-cypher/react-codemirror": "^1.0.1",
|
|
96
|
-
"@neo4j-ndl/base": "^2.1.
|
|
96
|
+
"@neo4j-ndl/base": "^2.1.1",
|
|
97
97
|
"@table-nav/core": "0.0.7",
|
|
98
98
|
"@table-nav/react": "0.0.7",
|
|
99
99
|
"@tanstack/react-table": "^8.9.3",
|