@opengeoweb/shared 15.1.0 → 15.2.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/index.esm.js +1 -1
- package/package.json +2 -2
- package/src/lib/types/types.d.ts +1 -0
package/index.esm.js
CHANGED
|
@@ -3094,7 +3094,7 @@ var DraggableComponent = function DraggableComponent(_ref) {
|
|
|
3094
3094
|
var _React$useState3 = React.useState(false),
|
|
3095
3095
|
isDragging = _React$useState3[0],
|
|
3096
3096
|
setIsDragging = _React$useState3[1];
|
|
3097
|
-
var isRightAligned = startPosition
|
|
3097
|
+
var isRightAligned = (startPosition == null ? void 0 : startPosition.right) !== null && (startPosition == null ? void 0 : startPosition.right) !== undefined;
|
|
3098
3098
|
var onStopDrag = React.useCallback(function (_event, position) {
|
|
3099
3099
|
setPosition(position);
|
|
3100
3100
|
onDragEnd(position, size);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/shared",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.2.0",
|
|
4
4
|
"description": "GeoWeb shared library with shared components and utils for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/theme": "15.
|
|
11
|
+
"@opengeoweb/theme": "15.2.0",
|
|
12
12
|
"react-draggable": "^4.4.6",
|
|
13
13
|
"re-resizable": "^6.9.11",
|
|
14
14
|
"lodash": "^4.17.21",
|
package/src/lib/types/types.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export interface ConfigType {
|
|
|
38
38
|
GW_FEATURE_INITIALIZE_SENTRY?: boolean;
|
|
39
39
|
GW_FEATURE_ENABLE_SPECIAL_THEMES?: boolean;
|
|
40
40
|
GW_FEATURE_TAF_AUTOTAF_ENABLED?: boolean;
|
|
41
|
+
GW_FEATURE_NAF_ENABLED?: boolean;
|
|
41
42
|
GW_WARNINGS_MARITIME_WARNINGS?: boolean;
|
|
42
43
|
GW_DATA_EXPLORER_CONFIGURATION_FILENAME?: string;
|
|
43
44
|
GW_DATA_EXPLORER_BUTTON_ON_MAP?: boolean;
|