@redus/georedus-ui 0.13.1 → 0.14.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/dist/main.js CHANGED
@@ -3460,6 +3460,7 @@ function zoomSensitiveLinearSizes(_a) {
3460
3460
  // - middle from data layers
3461
3461
  // - top from basemaps topViews
3462
3462
  //
3463
+ var Z_BASE_UNINDEXED = null;
3463
3464
  //
3464
3465
  // Fot all layers that require overlaying over
3465
3466
  // the base above, we've got 3 levels:
@@ -3473,6 +3474,7 @@ function zoomSensitiveLinearSizes(_a) {
3473
3474
  //
3474
3475
  var Z_OVERLAY_BASE_1000 = 1000;
3475
3476
  var Z_OVERLAY_MIDDLE_2000 = 2000;
3477
+ var Z_OVERLAY_TOP_3000 = 3000;
3476
3478
 
3477
3479
  function influenceAreaConf(_a) {
3478
3480
  var _b = _a === void 0 ? {} : _a,
@@ -7785,6 +7787,10 @@ var index = /*#__PURE__*/Object.freeze({
7785
7787
  __proto__: null,
7786
7788
  STAGE_SPECIAL_KEYS: STAGE_SPECIAL_KEYS,
7787
7789
  STAGE_VALUE_KEY: STAGE_VALUE_KEY,
7790
+ Z_BASE_UNINDEXED: Z_BASE_UNINDEXED,
7791
+ Z_OVERLAY_BASE_1000: Z_OVERLAY_BASE_1000,
7792
+ Z_OVERLAY_MIDDLE_2000: Z_OVERLAY_MIDDLE_2000,
7793
+ Z_OVERLAY_TOP_3000: Z_OVERLAY_TOP_3000,
7788
7794
  ana_br_bacias_hidrograficas: ana_br_bacias_hidrograficas,
7789
7795
  br_divisao_territorial: br_divisao_territorial,
7790
7796
  br_divisao_territorial_views: br_divisao_territorial_views,
@@ -11291,7 +11297,11 @@ function GeoReDUSInner(_ref2) {
11291
11297
  var globalState = _ref2.state,
11292
11298
  onSetGlobalState = _ref2.onSetState,
11293
11299
  api = _ref2.api,
11294
- viewSpecs = _ref2.viewSpecs;
11300
+ viewSpecs = _ref2.viewSpecs,
11301
+ _ref2$children = _ref2.children,
11302
+ children = _ref2$children === void 0 ? null : _ref2$children,
11303
+ _ref2$mapProps = _ref2.mapProps,
11304
+ mapProps = _ref2$mapProps === void 0 ? {} : _ref2$mapProps;
11295
11305
  var METADATA_API_ENDPOINT = api.METADATA_API_ENDPOINT,
11296
11306
  VECTOR_TILE_SERVER_ENDPOINT = api.VECTOR_TILE_SERVER_ENDPOINT;
11297
11307
 
@@ -11686,7 +11696,7 @@ function GeoReDUSInner(_ref2) {
11686
11696
  size: "1",
11687
11697
  value: regional,
11688
11698
  onSetValue: setRegional
11689
- })))), /*#__PURE__*/React$1.createElement(SyncedMaps, {
11699
+ })))), /*#__PURE__*/React$1.createElement(SyncedMaps, _extends({
11690
11700
  maxPitch: 80,
11691
11701
  onZoomEnd: function onZoomEnd(e) {
11692
11702
  var _e$viewState;
@@ -11746,7 +11756,8 @@ function GeoReDUSInner(_ref2) {
11746
11756
  setPrefetchZoomDelta: 0,
11747
11757
  mapStyle: BASE_MAP_STYLE[baseMapStyle],
11748
11758
  sky: SKY_STYLE,
11749
- tooltip: getTooltip,
11759
+ tooltip: getTooltip
11760
+ }, mapProps, {
11750
11761
  maps: resolvedLayout.map(function (_ref6, index) {
11751
11762
  var id = _ref6.id,
11752
11763
  views = _ref6.views,
@@ -11844,10 +11855,10 @@ function GeoReDUSInner(_ref2) {
11844
11855
  })))) : null, /*#__PURE__*/React$1.createElement(TerrainControl, {
11845
11856
  demSourceUrl: DEM_SOURCE_URL,
11846
11857
  demSourceEncoding: DEM_SOURCE_ENCODING
11847
- }))
11858
+ }), mapProps.children || null)
11848
11859
  };
11849
11860
  })
11850
- }, (viewsLoading || tilesLoading) && /*#__PURE__*/React$1.createElement(LoadingIndicator, {
11861
+ }), (viewsLoading || tilesLoading) && /*#__PURE__*/React$1.createElement(LoadingIndicator, {
11851
11862
  style: {
11852
11863
  position: 'fixed',
11853
11864
  bottom: '40px',
@@ -11858,7 +11869,7 @@ function GeoReDUSInner(_ref2) {
11858
11869
  size: 20
11859
11870
  },
11860
11871
  message: null
11861
- })));
11872
+ })), children);
11862
11873
  }
11863
11874
  var GeoReDUSRootContainer = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n * {\n box-sizing: border-box;\n }\n"])));
11864
11875
  function GeoReDUS(props) {
@@ -2,3 +2,4 @@ export * from './presets';
2
2
  export * from './resolveViewSpecs';
3
3
  export * from './resolveView';
4
4
  export * from './development';
5
+ export * from './zIndexes';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redus/georedus-ui",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "packageManager": "yarn@4.0.2",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
@@ -51,11 +51,11 @@
51
51
  "@mdi/react": "^1.6.1",
52
52
  "@orioro/cast": "^0.0.2",
53
53
  "@orioro/get": "^0.0.2",
54
- "@orioro/react-chart-util": "^0.3.0",
54
+ "@orioro/react-chart-util": "workspace:^",
55
55
  "@orioro/react-csv": "^0.0.11",
56
56
  "@orioro/react-dialogs": "^0.0.10",
57
- "@orioro/react-dir-nav": "^0.2.0",
58
- "@orioro/react-maplibre-util": "^0.6.0",
57
+ "@orioro/react-dir-nav": "workspace:^",
58
+ "@orioro/react-maplibre-util": "workspace:^",
59
59
  "@orioro/react-sortable": "^0.0.10",
60
60
  "@orioro/react-ui-core": "^0.0.14",
61
61
  "@orioro/resolve": "^0.1.9",
@@ -63,7 +63,7 @@
63
63
  "@orioro/tree-model": "^0.0.2",
64
64
  "@orioro/util": "^0.14.0",
65
65
  "@orioro/validate": "^0.0.2",
66
- "@orioro/vector-tile-util": "^0.3.0",
66
+ "@orioro/vector-tile-util": "workspace:^",
67
67
  "@radix-ui/react-collapsible": "^1.1.3",
68
68
  "@tanstack/react-query": "^5.18.0",
69
69
  "@turf/turf": "^7.1.0",
@@ -88,4 +88,4 @@
88
88
  "styled-components": "^6.1.8",
89
89
  "tslib": "^2.8.1"
90
90
  }
91
- }
91
+ }
package/CHANGELOG.md DELETED
@@ -1,267 +0,0 @@
1
- # @orioro/template-react
2
-
3
- ## 0.13.1
4
-
5
- ### Patch Changes
6
-
7
- - fix icon import issue
8
-
9
- ## 0.13.0
10
-
11
- ### Minor Changes
12
-
13
- - add cop logo to mutirao
14
-
15
- ## 0.12.0
16
-
17
- ### Minor Changes
18
-
19
- - add bacias hidrograficas and fix import issues
20
-
21
- ## 0.11.0
22
-
23
- ### Minor Changes
24
-
25
- - implement detailed legends for climate datasets
26
-
27
- ## 0.10.1
28
-
29
- ### Patch Changes
30
-
31
- - fix missing react global import at redus_mutirao_cop_2025.jsx
32
-
33
- ## 0.10.0
34
-
35
- ### Minor Changes
36
-
37
- - expose viewSpecs api (unstable)
38
-
39
- ## 0.9.0
40
-
41
- ### Minor Changes
42
-
43
- - update all dependencies and multiple internal deps
44
-
45
- ### Patch Changes
46
-
47
- - Updated dependencies
48
- - @orioro/react-maplibre-util@0.6.0
49
- - @orioro/react-chart-util@0.3.0
50
- - @orioro/vector-tile-util@0.3.0
51
- - @orioro/react-dir-nav@0.2.0
52
-
53
- ## 0.8.10
54
-
55
- ### Patch Changes
56
-
57
- - Updated dependencies
58
- - @orioro/react-maplibre-util@0.5.3
59
-
60
- ## 0.8.9
61
-
62
- ### Patch Changes
63
-
64
- - fix issue related to impossibility of loading localhost layers due to synthetic json inability to handle colons (:)
65
- - Updated dependencies
66
- - @orioro/vector-tile-util@0.2.1
67
-
68
- ## 0.8.8
69
-
70
- ### Patch Changes
71
-
72
- - add missing react import
73
-
74
- ## 0.8.7
75
-
76
- ### Patch Changes
77
-
78
- - fix share button bar and add questions & suggestions button
79
-
80
- ## 0.8.6
81
-
82
- ### Patch Changes
83
-
84
- - update dev metadata api url
85
-
86
- ## 0.8.5
87
-
88
- ### Patch Changes
89
-
90
- - Updated dependencies
91
- - @orioro/react-maplibre-util@0.5.2
92
-
93
- ## 0.8.4
94
-
95
- ### Patch Changes
96
-
97
- - Updated dependencies
98
- - @orioro/react-maplibre-util@0.5.1
99
-
100
- ## 0.8.3
101
-
102
- ### Patch Changes
103
-
104
- - Updated dependencies
105
- - @orioro/react-maplibre-util@0.5.0
106
-
107
- ## 0.8.2
108
-
109
- ### Patch Changes
110
-
111
- - apply bounds to censo 2010 and 2022 sources
112
-
113
- ## 0.8.1
114
-
115
- ### Patch Changes
116
-
117
- - fix municipio maxzoom
118
-
119
- ## 0.8.0
120
-
121
- ### Minor Changes
122
-
123
- - integrate vtx protocol into censo data
124
-
125
- ### Patch Changes
126
-
127
- - Updated dependencies
128
- - @orioro/vector-tile-util@0.2.0
129
-
130
- ## 0.7.0
131
-
132
- ### Minor Changes
133
-
134
- - implement proof of concept support for places layer
135
-
136
- ## 0.6.2
137
-
138
- ### Patch Changes
139
-
140
- - fix: fix viewSpecs loading
141
-
142
- ## 0.6.1
143
-
144
- ### Patch Changes
145
-
146
- - removes distinctions from rms (regiões metropolitanas) viewspecs
147
-
148
- ## 0.6.0
149
-
150
- ### Minor Changes
151
-
152
- - enable 2022_variaveis_abr_25
153
-
154
- ## 0.5.0
155
-
156
- ### Minor Changes
157
-
158
- - implement proof-of-concept of hover interaction on legend
159
-
160
- ### Patch Changes
161
-
162
- - Updated dependencies
163
- - @orioro/react-maplibre-util@0.4.0
164
- - @orioro/react-chart-util@0.2.0
165
-
166
- ## 0.4.0
167
-
168
- ### Minor Changes
169
-
170
- - add influence area to saude
171
-
172
- ## 0.3.2
173
-
174
- ### Patch Changes
175
-
176
- - fix peerDependencies
177
- - Updated dependencies
178
- - @orioro/react-maplibre-util@0.3.2
179
-
180
- ## 0.3.1
181
-
182
- ### Patch Changes
183
-
184
- - Updated dependencies
185
- - @orioro/react-maplibre-util@0.3.1
186
-
187
- ## 0.3.0
188
-
189
- ### Minor Changes
190
-
191
- - better support for 3d, refactor view resolution framework
192
-
193
- ### Patch Changes
194
-
195
- - Updated dependencies
196
- - @orioro/react-maplibre-util@0.3.0
197
-
198
- ## 0.2.0
199
-
200
- ### Minor Changes
201
-
202
- - implement 3D maps
203
-
204
- ### Patch Changes
205
-
206
- - Updated dependencies
207
- - @orioro/react-maplibre-util@0.2.0
208
-
209
- ## 0.1.7
210
-
211
- ### Patch Changes
212
-
213
- - add tslib to peerDependencies
214
-
215
- ## 0.1.6
216
-
217
- ### Patch Changes
218
-
219
- - 239abbb: update dependencies
220
-
221
- ## 0.1.5
222
-
223
- ### Patch Changes
224
-
225
- - fix: ensure Icon from @mdi/react is imported as named imp
226
-
227
- ## 0.1.4
228
-
229
- ### Patch Changes
230
-
231
- - list @orioro/react-ui-core as peerDependency instead of direct dependency
232
-
233
- ## 0.1.3
234
-
235
- ### Patch Changes
236
-
237
- - fix issue related to missing react import and strict react version
238
-
239
- ## 0.1.2
240
-
241
- ### Patch Changes
242
-
243
- - fix worker bundle
244
-
245
- ## 0.1.1
246
-
247
- ### Patch Changes
248
-
249
- - fix worker file bundling and exposure
250
-
251
- ## 0.1.0
252
-
253
- ### Minor Changes
254
-
255
- - move georedus-related packages to isolated repo
256
-
257
- ## 0.0.2
258
-
259
- ### Patch Changes
260
-
261
- - fix changeset release with yarn
262
-
263
- ## 0.0.1
264
-
265
- ### Patch Changes
266
-
267
- - f26720d: Initialize package version control using changeset