@rio-cloud/rio-uikit 0.16.4-beta.35 → 0.16.4-beta.37

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/.DS_Store CHANGED
Binary file
Binary file
Binary file
@@ -152,10 +152,12 @@ const Map = (props) => {
152
152
  // due to the nature of the AssetTree with it's hundreds DOM nodes, applying the CSS selectors
153
153
  // takes time.
154
154
  const handleMapInteractionStart = () => {
155
- document.body.classList.add('pointer-events-none');
155
+ var _a;
156
+ (_a = document.querySelector('.AssetTree')) === null || _a === void 0 ? void 0 : _a.classList.add('pointer-events-none');
156
157
  };
157
158
  const handleMapInteractionEnd = () => {
158
- document.body.classList.remove('pointer-events-none');
159
+ var _a;
160
+ (_a = document.querySelector('.AssetTree')) === null || _a === void 0 ? void 0 : _a.classList.remove('pointer-events-none');
159
161
  };
160
162
  const style = {};
161
163
  if (height) {
@@ -2,6 +2,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useState, useEffect, useContext } from 'react';
3
3
  import { MapContext } from '../../MapContext';
4
4
  // TODO: apparently it is not used
5
+ // Consider Using a Group Layer: If you have additional map objects or want to
6
+ // control visibility/z-index of the cluster layer separately, using a group layer can be beneficial.
5
7
  const MapLayerGroup = (props) => {
6
8
  const { minZoom = Number.NEGATIVE_INFINITY, maxZoom = Number.POSITIVE_INFINITY, isVisible = true, children, } = props;
7
9
  const context = useContext(MapContext);
package/lib/.DS_Store CHANGED
Binary file
package/lib/es/.DS_Store CHANGED
Binary file
Binary file
@@ -155,10 +155,12 @@ const Map = (props) => {
155
155
  // due to the nature of the AssetTree with it's hundreds DOM nodes, applying the CSS selectors
156
156
  // takes time.
157
157
  const handleMapInteractionStart = () => {
158
- document.body.classList.add('pointer-events-none');
158
+ var _a;
159
+ (_a = document.querySelector('.AssetTree')) === null || _a === void 0 ? void 0 : _a.classList.add('pointer-events-none');
159
160
  };
160
161
  const handleMapInteractionEnd = () => {
161
- document.body.classList.remove('pointer-events-none');
162
+ var _a;
163
+ (_a = document.querySelector('.AssetTree')) === null || _a === void 0 ? void 0 : _a.classList.remove('pointer-events-none');
162
164
  };
163
165
  const style = {};
164
166
  if (height) {
@@ -4,6 +4,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const react_1 = require("react");
5
5
  const MapContext_1 = require("../../MapContext");
6
6
  // TODO: apparently it is not used
7
+ // Consider Using a Group Layer: If you have additional map objects or want to
8
+ // control visibility/z-index of the cluster layer separately, using a group layer can be beneficial.
7
9
  const MapLayerGroup = (props) => {
8
10
  const { minZoom = Number.NEGATIVE_INFINITY, maxZoom = Number.POSITIVE_INFINITY, isVisible = true, children, } = props;
9
11
  const context = (0, react_1.useContext)(MapContext_1.MapContext);
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.16.4-beta.35"
2
+ "version": "0.16.4-beta.37"
3
3
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@rio-cloud/rio-uikit",
3
- "version": "0.16.4-beta.35",
3
+ "version": "0.16.4-beta.37",
4
4
  "description": "The RIO UIKIT component library",
5
5
  "repository": "https://bitbucket.collaboration-man.com/projects/RIOFRONT/repos/uikit-web/browse",
6
6
  "scripts": {
7
7
  "build": "npm run build:font && npm run build:styles && npm run build:vite && npm run format-code && echo '\nšŸ‘‰ For an npm release use build:npm šŸ‘ˆ'",
8
- "build:npm": "npm run build:cjs && npm run build:esm && npm run copy-to-package && npm run fixEsmImports && echo '\nšŸ“¦ Publish to npm only from within 'package' folder šŸ“¦'",
8
+ "build:npm": "npm run build:cjs && npm run build:esm && npm run copy-to-package && echo '\nšŸ“¦ Publish to npm only from within 'package' folder šŸ“¦'",
9
9
  "build:cjs": "tsc -p tsconfig.cjs.json && copyfiles --up 1 src/*.d.ts src/version.json src/styles/variables/colors/colors.json package/lib/es",
10
10
  "build:esm": "tsc -p tsconfig.esm.json && copyfiles --up 1 src/*.d.ts src/version.json src/styles/variables/colors/colors.json package",
11
11
  "build:vite": "vite build",
@@ -22,7 +22,6 @@
22
22
  "build:style-traton": "vite build --mode style-traton",
23
23
  "build:style-xmas": "vite build --mode style-xmas",
24
24
  "build:font": "svgo -f webfont/svgs && vite build --mode font",
25
- "fixEsmImports": "node tools/fixEsmImportsInDeclarations.mjs",
26
25
  "fixCssMinified": "node tools/fixCssMinified.mjs",
27
26
  "format-code": "npm run format-code:uikit && npm run format-code:demo",
28
27
  "format-code:uikit": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,md}\"",
@@ -40,13 +39,11 @@
40
39
  },
41
40
  "author": "TB Digital Services GmbH",
42
41
  "license": "Apache-2.0",
43
- "main": "./lib/es/index.js",
44
- "module": "./index.js",
45
- "types": "./lib/es/index.d.ts",
42
+ "main": "lib/es/index.js",
43
+ "module": "index.js",
44
+ "types": "index.d.ts",
46
45
  "less": "./styles/css/rio-uikit.less",
47
- "files": [
48
- "**/*.*"
49
- ],
46
+ "files": ["**/*.*"],
50
47
  "devDependencies": {
51
48
  "@testing-library/dom": "9.3.3",
52
49
  "@testing-library/jest-dom": "5.17.0",
@@ -132,12 +129,6 @@
132
129
  "recharts": "2.10.3",
133
130
  "tslib": "2.6.2"
134
131
  },
135
- "pre-commit": [
136
- "format-code"
137
- ],
138
- "browserslist": [
139
- "> 0.5%",
140
- "Firefox ESR",
141
- "not dead"
142
- ]
132
+ "pre-commit": ["format-code"],
133
+ "browserslist": ["> 0.5%", "Firefox ESR", "not dead"]
143
134
  }
package/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.16.4-beta.35"
2
+ "version": "0.16.4-beta.37"
3
3
  }