@equinor/fusion-react-hanging-garden 2.0.3 → 2.0.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.
package/dist/Garden.d.ts CHANGED
@@ -3,6 +3,9 @@ import { HangingGardenColumnIndex, GardenController } from './models/HangingGard
3
3
  type GardenProps = {
4
4
  readonly provideController?: RefObject<GardenController | null>;
5
5
  };
6
- declare const Garden: <T extends HangingGardenColumnIndex>({ provideController }: GardenProps) => ReactElement;
6
+ declare const Garden: {
7
+ <T extends HangingGardenColumnIndex>({ provideController }: GardenProps): ReactElement;
8
+ displayName: string;
9
+ };
7
10
  export default Garden;
8
11
  //# sourceMappingURL=Garden.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Garden.d.ts","sourceRoot":"","sources":["../src/Garden.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAwC,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAChG,OAAO,EAAE,wBAAwB,EAAuB,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AA8BzG,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;CACjE,CAAC;AAEF,QAAA,MAAM,MAAM,GAAI,CAAC,SAAS,wBAAwB,EAAE,uBAAuB,WAAW,KAAG,YA2DxF,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Garden.d.ts","sourceRoot":"","sources":["../src/Garden.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAwC,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAChG,OAAO,EAAE,wBAAwB,EAAuB,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AA8BzG,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;CACjE,CAAC;AAEF,QAAA,MAAM,MAAM;KAAI,CAAC,SAAS,wBAAwB,yBAAyB,WAAW,GAAG,YAAY;;CA2DpG,CAAC;AAIF,eAAe,MAAM,CAAC"}
package/dist/Garden.js CHANGED
@@ -46,4 +46,5 @@ const Garden = ({ provideController }) => {
46
46
  });
47
47
  return (_jsxs("div", { ref: container, onScroll: handleScroll, className: style.root, children: [_jsx("div", { className: style.wrapper, children: _jsx("canvas", { ref: canvas }) }), popover] }));
48
48
  };
49
+ Garden.displayName = 'Garden';
49
50
  export default Garden;
@@ -1,6 +1,9 @@
1
1
  import { type ReactElement } from 'react';
2
2
  import * as PIXI from 'pixi.js-legacy';
3
3
  import { HangingGardenColumnIndex, HangingGardenProps } from './models/HangingGarden';
4
- declare const HangingGarden: <T extends HangingGardenColumnIndex>({ columns, highlightedColumnKey, highlightedItem, itemKeyProp, itemHeight, itemWidth, renderHeaderContext, renderItemContext, getItemDescription, onItemClick, headerHeight, provideController, backgroundColor, colorMode, disableScrollToHighlightedItem, groupLevels, padding, }: HangingGardenProps<T>) => ReactElement;
4
+ declare const HangingGarden: {
5
+ <T extends HangingGardenColumnIndex>({ columns, highlightedColumnKey, highlightedItem, itemKeyProp, itemHeight, itemWidth, renderHeaderContext, renderItemContext, getItemDescription, onItemClick, headerHeight, provideController, backgroundColor, colorMode, disableScrollToHighlightedItem, groupLevels, padding, }: HangingGardenProps<T>): ReactElement;
6
+ displayName: string;
7
+ };
5
8
  export { HangingGarden, PIXI };
6
9
  //# sourceMappingURL=HangingGarden.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HangingGarden.d.ts","sourceRoot":"","sources":["../src/HangingGarden.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,YAAY,EAAkB,MAAM,OAAO,CAAC;AACvF,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AA6CtF,QAAA,MAAM,aAAa,GAAI,CAAC,SAAS,wBAAwB,EAAE,qRAkBxD,kBAAkB,CAAC,CAAC,CAAC,KAAG,YA0D1B,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"HangingGarden.d.ts","sourceRoot":"","sources":["../src/HangingGarden.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,YAAY,EAAkB,MAAM,OAAO,CAAC;AACvF,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AA6CtF,QAAA,MAAM,aAAa;KAAI,CAAC,SAAS,wBAAwB,uRAkBtD,kBAAkB,CAAC,CAAC,CAAC,GAAG,YAAY;;CA0DtC,CAAC;AAIF,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC"}
@@ -82,4 +82,5 @@ const HangingGarden = ({ columns, highlightedColumnKey, highlightedItem, itemKey
82
82
  padding,
83
83
  }, children: _jsx(Garden, { provideController: provideController }) })) }));
84
84
  };
85
+ HangingGarden.displayName = 'HangingGarden';
85
86
  export { HangingGarden, PIXI };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-react-hanging-garden",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "component handling rendering of hanging gardens",
5
5
  "author": "",
6
6
  "homepage": "https://github.com/equinor/fusion-react-components/tree/master/packages/HangingGarden#readme",
@@ -32,13 +32,13 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "date-fns": "4.1.0",
35
- "history": "4.x",
35
+ "history": "5.x",
36
36
  "pixi.js-legacy": "^5.3.7",
37
- "@equinor/fusion-react-styles": "^2.1.2"
37
+ "@equinor/fusion-react-styles": "^2.1.4"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@equinor/fusion": "^3.3.1",
41
- "@types/history": "4.x",
41
+ "@types/history": "5.x",
42
42
  "@types/node": "^25.5.0",
43
43
  "@types/react": "^19.2.14",
44
44
  "react": "^19.2.5"
@@ -46,7 +46,7 @@
46
46
  "peerDependencies": {
47
47
  "@equinor/fusion": "^3.3.1",
48
48
  "date-fns": "4.1.0",
49
- "history": "4.x",
49
+ "history": "5.x",
50
50
  "react": "^18 || ^19"
51
51
  },
52
52
  "scripts": {