@open-pioneer/map-navigation 0.7.0 → 0.8.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
@@ -1,5 +1,32 @@
1
1
  # @open-pioneer/map-navigation
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2fa8020: Update trails core package dependencies.
8
+
9
+ - Also updates Chakra UI to the latest 2.x version and Chakra React Select to version 5.
10
+ - Removes any obsolete references to `@chakra-ui/system`.
11
+ This dependency seems to be no longer required and may lead to duplicate packages in your dependency tree.
12
+
13
+ ### Patch Changes
14
+
15
+ - 49f0207: Update trails core packages to version 2.4.0
16
+ - d8337a6: Refactor implementation to use the new reactive properties of the map model.
17
+ - Updated dependencies [b717121]
18
+ - Updated dependencies [e7978a8]
19
+ - Updated dependencies [7a5f1e1]
20
+ - Updated dependencies [7ae9f90]
21
+ - Updated dependencies [d8337a6]
22
+ - Updated dependencies [49f0207]
23
+ - Updated dependencies [b2127df]
24
+ - Updated dependencies [2fa8020]
25
+ - Updated dependencies [7ae9f90]
26
+ - Updated dependencies [d8337a6]
27
+ - @open-pioneer/map@0.8.0
28
+ - @open-pioneer/map-ui-components@0.8.0
29
+
3
30
  ## 0.7.0
4
31
 
5
32
  ### Minor Changes
package/InitialExtent.js CHANGED
@@ -12,15 +12,14 @@ const InitialExtent = forwardRef(function InitialExtent2(props, ref) {
12
12
  const intl = useIntl();
13
13
  function setInitExtent() {
14
14
  const initialExtent = map?.initialExtent;
15
- const olMap = map?.olMap;
16
- if (initialExtent && olMap) {
15
+ if (initialExtent) {
17
16
  const newExtent = [
18
17
  initialExtent.xMin,
19
18
  initialExtent.yMin,
20
19
  initialExtent.xMax,
21
20
  initialExtent.yMax
22
21
  ];
23
- olMap.getView().fit(newExtent, { duration: 200 });
22
+ map.olView.fit(newExtent, { duration: 200 });
24
23
  }
25
24
  }
26
25
  return /* @__PURE__ */ jsx(
@@ -1 +1 @@
1
- {"version":3,"file":"InitialExtent.js","sources":["InitialExtent.tsx"],"sourcesContent":["// SPDX-FileCopyrightText: 2023 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\nimport { MapModelProps, useMapModel } from \"@open-pioneer/map\";\nimport { ToolButton } from \"@open-pioneer/map-ui-components\";\nimport { CommonComponentProps, useCommonComponentProps } from \"@open-pioneer/react-utils\";\nimport { Extent } from \"ol/extent\";\nimport { useIntl } from \"open-pioneer:react-hooks\";\nimport { FC, ForwardedRef, RefAttributes, forwardRef } from \"react\";\nimport { FiHome } from \"react-icons/fi\";\n\nexport interface InitialExtentProps\n extends CommonComponentProps,\n RefAttributes<HTMLButtonElement>,\n MapModelProps {}\n\n/**\n * Provides a simple button that switches the view to its initial viewpoint.\n */\nexport const InitialExtent: FC<InitialExtentProps> = forwardRef(function InitialExtent(\n props: InitialExtentProps,\n ref: ForwardedRef<HTMLButtonElement>\n) {\n const { containerProps } = useCommonComponentProps(\"initial-extent\", props);\n const { map } = useMapModel(props);\n const intl = useIntl();\n\n function setInitExtent() {\n const initialExtent = map?.initialExtent;\n const olMap = map?.olMap;\n\n if (initialExtent && olMap) {\n const newExtent: Extent = [\n initialExtent.xMin,\n initialExtent.yMin,\n initialExtent.xMax,\n initialExtent.yMax\n ];\n\n olMap.getView().fit(newExtent, { duration: 200 });\n }\n }\n\n return (\n <ToolButton\n ref={ref}\n label={intl.formatMessage({ id: \"initial-extent.title\" })}\n icon={<FiHome />}\n onClick={setInitExtent}\n {...containerProps}\n />\n );\n});\n"],"names":["InitialExtent"],"mappings":";;;;;;;;AAkBO,MAAM,aAAwC,GAAA,UAAA,CAAW,SAASA,cAAAA,CACrE,OACA,GACF,EAAA;AACE,EAAA,MAAM,EAAE,cAAA,EAAmB,GAAA,uBAAA,CAAwB,kBAAkB,KAAK,CAAA,CAAA;AAC1E,EAAA,MAAM,EAAE,GAAA,EAAQ,GAAA,WAAA,CAAY,KAAK,CAAA,CAAA;AACjC,EAAA,MAAM,OAAO,OAAQ,EAAA,CAAA;AAErB,EAAA,SAAS,aAAgB,GAAA;AACrB,IAAA,MAAM,gBAAgB,GAAK,EAAA,aAAA,CAAA;AAC3B,IAAA,MAAM,QAAQ,GAAK,EAAA,KAAA,CAAA;AAEnB,IAAA,IAAI,iBAAiB,KAAO,EAAA;AACxB,MAAA,MAAM,SAAoB,GAAA;AAAA,QACtB,aAAc,CAAA,IAAA;AAAA,QACd,aAAc,CAAA,IAAA;AAAA,QACd,aAAc,CAAA,IAAA;AAAA,QACd,aAAc,CAAA,IAAA;AAAA,OAClB,CAAA;AAEA,MAAA,KAAA,CAAM,SAAU,CAAA,GAAA,CAAI,WAAW,EAAE,QAAA,EAAU,KAAK,CAAA,CAAA;AAAA,KACpD;AAAA,GACJ;AAEA,EACI,uBAAA,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACG,GAAA;AAAA,MACA,OAAO,IAAK,CAAA,aAAA,CAAc,EAAE,EAAA,EAAI,wBAAwB,CAAA;AAAA,MACxD,IAAA,sBAAO,MAAO,EAAA,EAAA,CAAA;AAAA,MACd,OAAS,EAAA,aAAA;AAAA,MACR,GAAG,cAAA;AAAA,KAAA;AAAA,GACR,CAAA;AAER,CAAC;;;;"}
1
+ {"version":3,"file":"InitialExtent.js","sources":["InitialExtent.tsx"],"sourcesContent":["// SPDX-FileCopyrightText: 2023 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\nimport { MapModelProps, useMapModel } from \"@open-pioneer/map\";\nimport { ToolButton } from \"@open-pioneer/map-ui-components\";\nimport { CommonComponentProps, useCommonComponentProps } from \"@open-pioneer/react-utils\";\nimport { Extent } from \"ol/extent\";\nimport { useIntl } from \"open-pioneer:react-hooks\";\nimport { FC, ForwardedRef, RefAttributes, forwardRef } from \"react\";\nimport { FiHome } from \"react-icons/fi\";\n\nexport interface InitialExtentProps\n extends CommonComponentProps,\n RefAttributes<HTMLButtonElement>,\n MapModelProps {}\n\n/**\n * Provides a simple button that switches the view to its initial viewpoint.\n */\nexport const InitialExtent: FC<InitialExtentProps> = forwardRef(function InitialExtent(\n props: InitialExtentProps,\n ref: ForwardedRef<HTMLButtonElement>\n) {\n const { containerProps } = useCommonComponentProps(\"initial-extent\", props);\n const { map } = useMapModel(props);\n const intl = useIntl();\n\n function setInitExtent() {\n const initialExtent = map?.initialExtent;\n if (initialExtent) {\n const newExtent: Extent = [\n initialExtent.xMin,\n initialExtent.yMin,\n initialExtent.xMax,\n initialExtent.yMax\n ];\n\n map.olView.fit(newExtent, { duration: 200 });\n }\n }\n\n return (\n <ToolButton\n ref={ref}\n label={intl.formatMessage({ id: \"initial-extent.title\" })}\n icon={<FiHome />}\n onClick={setInitExtent}\n {...containerProps}\n />\n );\n});\n"],"names":["InitialExtent"],"mappings":";;;;;;;;AAkBO,MAAM,aAAwC,GAAA,UAAA,CAAW,SAASA,cAAAA,CACrE,OACA,GACF,EAAA;AACE,EAAA,MAAM,EAAE,cAAA,EAAmB,GAAA,uBAAA,CAAwB,kBAAkB,KAAK,CAAA,CAAA;AAC1E,EAAA,MAAM,EAAE,GAAA,EAAQ,GAAA,WAAA,CAAY,KAAK,CAAA,CAAA;AACjC,EAAA,MAAM,OAAO,OAAQ,EAAA,CAAA;AAErB,EAAA,SAAS,aAAgB,GAAA;AACrB,IAAA,MAAM,gBAAgB,GAAK,EAAA,aAAA,CAAA;AAC3B,IAAA,IAAI,aAAe,EAAA;AACf,MAAA,MAAM,SAAoB,GAAA;AAAA,QACtB,aAAc,CAAA,IAAA;AAAA,QACd,aAAc,CAAA,IAAA;AAAA,QACd,aAAc,CAAA,IAAA;AAAA,QACd,aAAc,CAAA,IAAA;AAAA,OAClB,CAAA;AAEA,MAAA,GAAA,CAAI,OAAO,GAAI,CAAA,SAAA,EAAW,EAAE,QAAA,EAAU,KAAK,CAAA,CAAA;AAAA,KAC/C;AAAA,GACJ;AAEA,EACI,uBAAA,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACG,GAAA;AAAA,MACA,OAAO,IAAK,CAAA,aAAA,CAAc,EAAE,EAAA,EAAI,wBAAwB,CAAA;AAAA,MACxD,IAAA,sBAAO,MAAO,EAAA,EAAA,CAAA;AAAA,MACd,OAAS,EAAA,aAAA;AAAA,MACR,GAAG,cAAA;AAAA,KAAA;AAAA,GACR,CAAA;AAER,CAAC;;;;"}
package/Zoom.js CHANGED
@@ -25,8 +25,8 @@ const Zoom = forwardRef(function Zoom2(props, ref) {
25
25
  return;
26
26
  }
27
27
  setDisabled(true);
28
- const view = map?.olMap.getView();
29
- let currZoom = view?.getZoom();
28
+ const view = map?.olView;
29
+ let currZoom = map?.zoomLevel;
30
30
  const maxZoom = view?.getMaxZoom() || Number.MAX_SAFE_INTEGER;
31
31
  const minZoom = view?.getMinZoom() || 0;
32
32
  if (view && currZoom !== void 0) {
package/Zoom.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Zoom.js","sources":["Zoom.tsx"],"sourcesContent":["// SPDX-FileCopyrightText: 2023 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\nimport { MapModelProps, useMapModel } from \"@open-pioneer/map\";\nimport { ToolButton } from \"@open-pioneer/map-ui-components\";\nimport { CommonComponentProps, useCommonComponentProps } from \"@open-pioneer/react-utils\";\nimport { PackageIntl } from \"@open-pioneer/runtime\";\nimport classNames from \"classnames\";\nimport { useIntl } from \"open-pioneer:react-hooks\";\nimport { FC, ForwardedRef, RefAttributes, forwardRef, useState } from \"react\";\nimport { FiMinus, FiPlus } from \"react-icons/fi\";\n\nexport type ZoomInProps = Omit<ZoomProps, \"zoomDirection\">;\n\n/**\n * Provides a button by which the user can zoom into the map.\n *\n * This component composes {@link Zoom}.\n */\nexport const ZoomIn: FC<ZoomInProps> = forwardRef(function ZoomIn(props, ref) {\n return <Zoom zoomDirection=\"in\" ref={ref} {...props} />;\n});\n\nexport type ZoomOutProps = ZoomInProps;\n\n/**\n * Provides a button by which the user can zoom out of the map.\n *\n * This component composes {@link Zoom}.\n */\nexport const ZoomOut: FC<ZoomOutProps> = forwardRef(function ZoomOut(props, ref) {\n return <Zoom zoomDirection=\"out\" ref={ref} {...props} />;\n});\n\nexport interface ZoomProps\n extends CommonComponentProps,\n RefAttributes<HTMLButtonElement>,\n MapModelProps {\n /**\n * The zoom direction.\n *\n * The button will either zoom in or zoom out depending on this value.\n */\n zoomDirection: \"in\" | \"out\";\n}\n\n/**\n * Provides a button by which the user can zoom in or zoom out of the map.\n */\nexport const Zoom: FC<ZoomProps> = forwardRef(function Zoom(\n props: ZoomProps,\n ref: ForwardedRef<HTMLButtonElement>\n) {\n const { zoomDirection } = props;\n const { map } = useMapModel(props);\n const intl = useIntl();\n const [disabled, setDisabled] = useState<boolean>(false);\n const { defaultClassName, buttonLabel, buttonIcon } = getDirectionProps(intl, zoomDirection);\n\n const { containerProps } = useCommonComponentProps(classNames(\"zoom\", defaultClassName), props);\n\n function zoom() {\n if (disabled) {\n return;\n }\n setDisabled(true);\n const view = map?.olMap.getView();\n let currZoom = view?.getZoom();\n\n const maxZoom = view?.getMaxZoom() || Number.MAX_SAFE_INTEGER;\n const minZoom = view?.getMinZoom() || 0;\n if (view && currZoom !== undefined) {\n if (zoomDirection === \"in\" && currZoom < maxZoom) {\n ++currZoom;\n } else if (zoomDirection === \"out\" && currZoom > minZoom) {\n --currZoom;\n }\n\n view.animate({ zoom: currZoom, duration: 200 }, () => setDisabled(false));\n }\n }\n\n return (\n <ToolButton\n ref={ref}\n label={buttonLabel}\n icon={buttonIcon}\n onClick={zoom}\n {...containerProps}\n />\n );\n});\n\nfunction getDirectionProps(intl: PackageIntl, zoomDirection: \"in\" | \"out\") {\n switch (zoomDirection) {\n case \"in\":\n return {\n defaultClassName: \"zoom-in\",\n buttonLabel: intl.formatMessage({ id: \"zoom-in.title\" }),\n buttonIcon: <FiPlus />\n };\n case \"out\":\n return {\n defaultClassName: \"zoom-out\",\n buttonLabel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AAA;AAAA,QAClB,aAAa,IAAK,CAAA,aAAA,CAAc,EAAE,EAAA,EAAI,kBAAkB,CAAA;AAAA,QACxD,UAAA,sBAAa,OAAQ,EAAA,EAAA,CAAA;AAAA,OACzB,CAAA;AAAA,GACR;AACJ;;;;"}
1
+ {"version":3,"file":"Zoom.js","sources":["Zoom.tsx"],"sourcesContent":["// SPDX-FileCopyrightText: 2023 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\nimport { MapModelProps, useMapModel } from \"@open-pioneer/map\";\nimport { ToolButton } from \"@open-pioneer/map-ui-components\";\nimport { CommonComponentProps, useCommonComponentProps } from \"@open-pioneer/react-utils\";\nimport { PackageIntl } from \"@open-pioneer/runtime\";\nimport classNames from \"classnames\";\nimport { useIntl } from \"open-pioneer:react-hooks\";\nimport { FC, ForwardedRef, RefAttributes, forwardRef, useState } from \"react\";\nimport { FiMinus, FiPlus } from \"react-icons/fi\";\n\nexport type ZoomInProps = Omit<ZoomProps, \"zoomDirection\">;\n\n/**\n * Provides a button by which the user can zoom into the map.\n *\n * This component composes {@link Zoom}.\n */\nexport const ZoomIn: FC<ZoomInProps> = forwardRef(function ZoomIn(props, ref) {\n return <Zoom zoomDirection=\"in\" ref={ref} {...props} />;\n});\n\nexport type ZoomOutProps = ZoomInProps;\n\n/**\n * Provides a button by which the user can zoom out of the map.\n *\n * This component composes {@link Zoom}.\n */\nexport const ZoomOut: FC<ZoomOutProps> = forwardRef(function ZoomOut(props, ref) {\n return <Zoom zoomDirection=\"out\" ref={ref} {...props} />;\n});\n\nexport interface ZoomProps\n extends CommonComponentProps,\n RefAttributes<HTMLButtonElement>,\n MapModelProps {\n /**\n * The zoom direction.\n *\n * The button will either zoom in or zoom out depending on this value.\n */\n zoomDirection: \"in\" | \"out\";\n}\n\n/**\n * Provides a button by which the user can zoom in or zoom out of the map.\n */\nexport const Zoom: FC<ZoomProps> = forwardRef(function Zoom(\n props: ZoomProps,\n ref: ForwardedRef<HTMLButtonElement>\n) {\n const { zoomDirection } = props;\n const { map } = useMapModel(props);\n const intl = useIntl();\n const [disabled, setDisabled] = useState<boolean>(false);\n const { defaultClassName, buttonLabel, buttonIcon } = getDirectionProps(intl, zoomDirection);\n\n const { containerProps } = useCommonComponentProps(classNames(\"zoom\", defaultClassName), props);\n\n function zoom() {\n if (disabled) {\n return;\n }\n setDisabled(true);\n const view = map?.olView;\n let currZoom = map?.zoomLevel;\n\n const maxZoom = view?.getMaxZoom() || Number.MAX_SAFE_INTEGER;\n const minZoom = view?.getMinZoom() || 0;\n if (view && currZoom !== undefined) {\n if (zoomDirection === \"in\" && currZoom < maxZoom) {\n ++currZoom;\n } else if (zoomDirection === \"out\" && currZoom > minZoom) {\n --currZoom;\n }\n\n view.animate({ zoom: currZoom, duration: 200 }, () => setDisabled(false));\n }\n }\n\n return (\n <ToolButton\n ref={ref}\n label={buttonLabel}\n icon={buttonIcon}\n onClick={zoom}\n {...containerProps}\n />\n );\n});\n\nfunction getDirectionProps(intl: PackageIntl, zoomDirection: \"in\" | \"out\") {\n switch (zoomDirection) {\n case \"in\":\n return {\n defaultClassName: \"zoom-in\",\n buttonLabel: intl.formatMessage({ id: \"zoom-in.title\" }),\n buttonIcon: <FiPlus />\n };\n case \"out\":\n return {\n defaultClassName: \"zoom-out\",\n buttonLabel: intl.formatMessage({ id: \"zoom-out.title\" }),\n buttonIcon: <FiMinus />\n };\n }\n}\n"],"names":["ZoomIn","ZoomOut","Zoom"],"mappings":";;;;;;;;;AAkBO,MAAM,MAA0B,GAAA,UAAA,CAAW,SAASA,OAAAA,CAAO,OAAO,GAAK,EAAA;AAC1E,EAAA,2BAAQ,IAAK,EAAA,EAAA,aAAA,EAAc,IAAK,EAAA,GAAA,EAAW,GAAG,KAAO,EAAA,CAAA,CAAA;AACzD,CAAC,EAAA;AASM,MAAM,OAA4B,GAAA,UAAA,CAAW,SAASC,QAAAA,CAAQ,OAAO,GAAK,EAAA;AAC7E,EAAA,2BAAQ,IAAK,E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EAAA;AACtD,QAAE,EAAA,QAAA,CAAA;AAAA,OACN;AAEA,MAAK,IAAA,CAAA,OAAA,CAAQ,EAAE,IAAA,EAAM,QAAU,EAAA,QAAA,EAAU,KAAO,EAAA,MAAM,WAAY,CAAA,KAAK,CAAC,CAAA,CAAA;AAAA,KAC5E;AAAA,GACJ;AAEA,EACI,uBAAA,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACG,GAAA;AAAA,MACA,KAAO,EAAA,WAAA;AAAA,MACP,IAAM,EAAA,UAAA;AAAA,MACN,OAAS,EAAA,IAAA;AAAA,MACR,GAAG,cAAA;AAAA,KAAA;AAAA,GACR,CAAA;AAER,CAAC,EAAA;AAED,SAAS,iBAAA,CAAkB,MAAmB,aAA6B,EAAA;AACvE,EAAA,QAAQ,aAAe;AAAA,IACnB,KAAK,IAAA;AACD,MAAO,OAAA;AAAA,QACH,gBAAkB,EAAA,SAAA;AAAA,QAClB,aAAa,IAAK,CAAA,aAAA,CAAc,EAAE,EAAA,EAAI,iBAAiB,CAAA;AAAA,QACvD,UAAA,sBAAa,MAAO,EAAA,EAAA,CAAA;AAAA,OACxB,CAAA;AAAA,IACJ,KAAK,KAAA;AACD,MAAO,OAAA;AAAA,QACH,gBAAkB,EAAA,UAAA;AAAA,QAClB,aAAa,IAAK,CAAA,aAAA,CAAc,EAAE,EAAA,EAAI,kBAAkB,CAAA;AAAA,QACxD,UAAA,sBAAa,OAAQ,EAAA,EAAA,CAAA;AAAA,OACzB,CAAA;AAAA,GACR;AACJ;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@open-pioneer/map-navigation",
4
- "version": "0.7.0",
4
+ "version": "0.8.0",
5
5
  "description": "This package provides a collection of map navigation controls.",
6
6
  "keywords": [
7
7
  "open-pioneer-trails"
@@ -15,16 +15,16 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@conterra/reactivity-core": "^0.4.3",
18
- "@open-pioneer/chakra-integration": "^2.3.0",
19
- "@open-pioneer/react-utils": "^2.3.0",
20
- "@open-pioneer/reactivity": "^2.3.0",
21
- "@open-pioneer/runtime": "^2.3.0",
18
+ "@open-pioneer/chakra-integration": "^2.4.0",
19
+ "@open-pioneer/react-utils": "^2.4.0",
20
+ "@open-pioneer/reactivity": "^2.4.0",
21
+ "@open-pioneer/runtime": "^2.4.0",
22
22
  "classnames": "^2.3.2",
23
- "ol": "^9.2.4",
23
+ "ol": "^10.2.1",
24
24
  "react": "^18.3.1",
25
25
  "react-icons": "^5.3.0",
26
- "@open-pioneer/map-ui-components": "^0.7.0",
27
- "@open-pioneer/map": "^0.7.0"
26
+ "@open-pioneer/map": "^0.8.0",
27
+ "@open-pioneer/map-ui-components": "^0.8.0"
28
28
  },
29
29
  "exports": {
30
30
  "./package.json": "./package.json",