@map-colonies/react-components 3.9.0 → 3.10.3
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/.env +1 -0
- package/.storybook/main.js +2 -5
- package/CHANGELOG.md +66 -0
- package/dist/assets/img/map-marker.gif +0 -0
- package/dist/autocomplete/autocomplete.d.ts +2 -3
- package/dist/autocomplete/autocomplete.js +38 -27
- package/dist/autocomplete/index.d.ts +0 -1
- package/dist/autocomplete/index.js +2 -2
- package/dist/box/box.d.ts +0 -1
- package/dist/box/box.js +3 -2
- package/dist/box/index.d.ts +0 -1
- package/dist/box/index.js +2 -2
- package/dist/cesium-map/data-sources/custom.data-source.d.ts +0 -1
- package/dist/cesium-map/data-sources/custom.data-source.js +3 -2
- package/dist/cesium-map/data-sources/drawings.data-source.d.ts +0 -1
- package/dist/cesium-map/data-sources/drawings.data-source.js +29 -16
- package/dist/cesium-map/data-sources/index.d.ts +0 -1
- package/dist/cesium-map/data-sources/index.js +12 -6
- package/dist/cesium-map/entities/entity.d.ts +0 -1
- package/dist/cesium-map/entities/entity.description.d.ts +0 -1
- package/dist/cesium-map/entities/entity.description.js +5 -3
- package/dist/cesium-map/entities/entity.js +3 -2
- package/dist/cesium-map/entities/graphics/polygon.graphics.d.ts +0 -1
- package/dist/cesium-map/entities/graphics/polygon.graphics.js +3 -2
- package/dist/cesium-map/entities/graphics/polyline.graphics.d.ts +0 -1
- package/dist/cesium-map/entities/graphics/polyline.graphics.js +3 -2
- package/dist/cesium-map/entities/graphics/rectangle.graphics.d.ts +0 -1
- package/dist/cesium-map/entities/graphics/rectangle.graphics.js +3 -2
- package/dist/cesium-map/entities/index.d.ts +0 -1
- package/dist/cesium-map/entities/index.js +14 -8
- package/dist/cesium-map/index.d.ts +0 -1
- package/dist/cesium-map/index.js +17 -11
- package/dist/cesium-map/layers/3d.tileset.d.ts +0 -1
- package/dist/cesium-map/layers/3d.tileset.js +5 -4
- package/dist/cesium-map/layers/3d.tileset.update.d.ts +0 -1
- package/dist/cesium-map/layers/3d.tileset.update.js +0 -1
- package/dist/cesium-map/layers/geojson.layer.d.ts +0 -1
- package/dist/cesium-map/layers/geojson.layer.js +3 -2
- package/dist/cesium-map/layers/imagery.layer.d.ts +0 -1
- package/dist/cesium-map/layers/imagery.layer.js +22 -9
- package/dist/cesium-map/layers/index.d.ts +0 -1
- package/dist/cesium-map/layers/index.js +17 -11
- package/dist/cesium-map/layers/osm.layer.d.ts +0 -1
- package/dist/cesium-map/layers/osm.layer.js +3 -2
- package/dist/cesium-map/layers/wms.layer.d.ts +0 -1
- package/dist/cesium-map/layers/wms.layer.js +3 -2
- package/dist/cesium-map/layers/wmts.layer.d.ts +0 -1
- package/dist/cesium-map/layers/wmts.layer.js +3 -2
- package/dist/cesium-map/layers/xyz.layer.d.ts +0 -1
- package/dist/cesium-map/layers/xyz.layer.js +3 -2
- package/dist/cesium-map/layers-manager.d.ts +0 -1
- package/dist/cesium-map/layers-manager.js +3 -7
- package/dist/cesium-map/map.d.ts +2 -2
- package/dist/cesium-map/map.js +64 -41
- package/dist/cesium-map/map.types.d.ts +0 -1
- package/dist/cesium-map/map.types.js +1 -1
- package/dist/cesium-map/proxied.types.d.ts +0 -1
- package/dist/cesium-map/proxied.types.js +4 -2
- package/dist/cesium-map/settings/base-maps.d.ts +0 -1
- package/dist/cesium-map/settings/base-maps.js +22 -12
- package/dist/cesium-map/settings/scene-modes.d.ts +0 -1
- package/dist/cesium-map/settings/scene-modes.js +17 -4
- package/dist/cesium-map/settings/settings.d.ts +0 -1
- package/dist/cesium-map/settings/settings.js +20 -7
- package/dist/cesium-map/terrain-providers/custom/dummy-quantized-mesh-tile.d.ts +1 -2
- package/dist/cesium-map/terrain-providers/custom/dummy-quantized-mesh-tile.js +1 -1
- package/dist/cesium-map/terrain-providers/custom/quantized-mesh-decoder.d.ts +1 -2
- package/dist/cesium-map/terrain-providers/custom/quantized-mesh-decoder.js +3 -2
- package/dist/cesium-map/terrain-providers/custom/quantized-mesh-terrain-provider.d.ts +0 -1
- package/dist/cesium-map/terrain-providers/custom/quantized-mesh-terrain-provider.js +1 -2
- package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.d.ts +0 -1
- package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.js +17 -4
- package/dist/cesium-map/tools/coordinates-tracker.tool.d.ts +1 -2
- package/dist/cesium-map/tools/coordinates-tracker.tool.js +23 -10
- package/dist/cesium-map/tools/draw/drawHelper.d.ts +0 -1
- package/dist/cesium-map/tools/draw/drawHelper.js +16 -3
- package/dist/cesium-map/tools/geojson/geojson-to-primitive.d.ts +1 -2
- package/dist/cesium-map/tools/geojson/geojson-to-primitive.js +3 -2
- package/dist/cesium-map/tools/geojson/index.d.ts +0 -1
- package/dist/cesium-map/tools/geojson/index.js +12 -6
- package/dist/cesium-map/tools/geojson/point.geojson.d.ts +0 -1
- package/dist/cesium-map/tools/geojson/point.geojson.js +3 -2
- package/dist/cesium-map/tools/geojson/polygon.geojson.d.ts +0 -1
- package/dist/cesium-map/tools/geojson/polygon.geojson.js +3 -2
- package/dist/cesium-map/tools/geojson/rectangle.geojson.d.ts +0 -1
- package/dist/cesium-map/tools/geojson/rectangle.geojson.js +17 -4
- package/dist/cesium-map/tools/inspector.tool.d.ts +4 -0
- package/dist/cesium-map/tools/inspector.tool.js +33 -0
- package/dist/cesium-map/tools/scale-tracker.tool.d.ts +0 -1
- package/dist/cesium-map/tools/scale-tracker.tool.js +19 -6
- package/dist/cesium-map/tools/terranian-height.tool.d.ts +4 -0
- package/dist/cesium-map/tools/terranian-height.tool.js +113 -0
- package/dist/cssbaseline/cssbaseline.d.ts +0 -1
- package/dist/cssbaseline/cssbaseline.js +5 -3
- package/dist/cssbaseline/index.d.ts +0 -1
- package/dist/cssbaseline/index.js +3 -3
- package/dist/date-picker/date-picker.d.ts +0 -1
- package/dist/date-picker/date-picker.js +24 -11
- package/dist/date-picker/index.d.ts +0 -1
- package/dist/date-picker/index.js +11 -5
- package/dist/date-range-picker/date-range-picker.d.ts +0 -1
- package/dist/date-range-picker/date-range-picker.form-control.d.ts +0 -1
- package/dist/date-range-picker/date-range-picker.form-control.js +31 -18
- package/dist/date-range-picker/date-range-picker.js +26 -13
- package/dist/date-range-picker/index.d.ts +0 -1
- package/dist/date-range-picker/index.js +12 -6
- package/dist/file-picker/file-picker.css +62 -0
- package/dist/file-picker/file-picker.d.ts +276 -0
- package/dist/file-picker/file-picker.js +151 -0
- package/dist/file-picker/fs-map.json +1557 -0
- package/dist/file-picker/index.d.ts +2 -0
- package/dist/file-picker/index.js +14 -0
- package/dist/file-picker/localization.d.ts +11 -0
- package/dist/file-picker/localization.js +124 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +23 -16
- package/dist/map-filter-container/container-map.d.ts +0 -1
- package/dist/map-filter-container/container-map.js +3 -2
- package/dist/map-filter-container/index.d.ts +0 -1
- package/dist/map-filter-container/index.js +11 -5
- package/dist/map-filter-container/map-filter-container.d.ts +0 -1
- package/dist/map-filter-container/map-filter-container.js +17 -4
- package/dist/map-filter-container/polygon-selection-ui.d.ts +0 -1
- package/dist/map-filter-container/polygon-selection-ui.js +3 -2
- package/dist/models/defaults.d.ts +0 -1
- package/dist/models/defaults.js +0 -1
- package/dist/models/enums.d.ts +2 -2
- package/dist/models/enums.js +2 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +11 -5
- package/dist/ol-map/feature.d.ts +0 -1
- package/dist/ol-map/feature.js +3 -2
- package/dist/ol-map/index.d.ts +0 -1
- package/dist/ol-map/index.js +16 -10
- package/dist/ol-map/interactions/draw.d.ts +0 -1
- package/dist/ol-map/interactions/draw.js +4 -4
- package/dist/ol-map/interactions/index.d.ts +0 -1
- package/dist/ol-map/interactions/index.js +11 -5
- package/dist/ol-map/layers/index.d.ts +0 -1
- package/dist/ol-map/layers/index.js +13 -7
- package/dist/ol-map/layers/tile-layer.d.ts +0 -1
- package/dist/ol-map/layers/tile-layer.js +19 -5
- package/dist/ol-map/layers/vector-layer.d.ts +0 -1
- package/dist/ol-map/layers/vector-layer.js +19 -5
- package/dist/ol-map/layers/vector-tile-layer.d.ts +0 -1
- package/dist/ol-map/layers/vector-tile-layer.js +19 -5
- package/dist/ol-map/map.d.ts +0 -1
- package/dist/ol-map/map.js +24 -10
- package/dist/ol-map/source/index.d.ts +0 -1
- package/dist/ol-map/source/index.js +16 -10
- package/dist/ol-map/source/mvt.d.ts +0 -1
- package/dist/ol-map/source/mvt.js +7 -4
- package/dist/ol-map/source/osm.d.ts +0 -1
- package/dist/ol-map/source/osm.js +3 -2
- package/dist/ol-map/source/vector-source.d.ts +1 -2
- package/dist/ol-map/source/vector-source.js +19 -5
- package/dist/ol-map/source/wms.d.ts +0 -1
- package/dist/ol-map/source/wms.js +5 -3
- package/dist/ol-map/source/wmts.d.ts +0 -1
- package/dist/ol-map/source/wmts.js +5 -3
- package/dist/ol-map/source/xyz.d.ts +0 -1
- package/dist/ol-map/source/xyz.js +5 -3
- package/dist/ol-map/style.d.ts +0 -1
- package/dist/ol-map/style.js +1 -1
- package/dist/popover/index.d.ts +0 -1
- package/dist/popover/index.js +2 -2
- package/dist/popover/popover.d.ts +0 -1
- package/dist/popover/popover.js +3 -2
- package/dist/smart-table/__mock-data__/smartTableMocks.d.ts +0 -1
- package/dist/smart-table/__mock-data__/smartTableMocks.js +1 -1
- package/dist/smart-table/index.d.ts +0 -1
- package/dist/smart-table/index.js +12 -6
- package/dist/smart-table/smart-table-head.d.ts +0 -1
- package/dist/smart-table/smart-table-head.js +1 -1
- package/dist/smart-table/smart-table-row.d.ts +0 -2
- package/dist/smart-table/smart-table-row.js +18 -8
- package/dist/smart-table/smart-table-types.d.ts +0 -2
- package/dist/smart-table/smart-table-types.js +0 -1
- package/dist/smart-table/smart-table.d.ts +0 -1
- package/dist/smart-table/smart-table.js +15 -3
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/index.js +11 -5
- package/dist/theme/theme.d.ts +0 -1
- package/dist/theme/theme.js +1 -1
- package/dist/utils/map.d.ts +0 -1
- package/dist/utils/map.js +7 -4
- package/dist/utils/projections.d.ts +0 -1
- package/dist/utils/projections.js +1 -1
- package/dist/utils/story.d.ts +0 -1
- package/dist/utils/story.js +0 -1
- package/package.json +103 -100
- package/public/assets/img/map-marker.gif +0 -0
- package/src/lib/autocomplete/autocomplete.tsx +16 -18
- package/src/lib/cesium-map/map.tsx +22 -12
- package/src/lib/cesium-map/terrain-providers/terrain-provider-heights-tool.stories.tsx +155 -0
- package/src/lib/cesium-map/terrain-providers/terrain-provider.stories.tsx +5 -3
- package/src/lib/cesium-map/tools/coordinates-tracker.tool.tsx +1 -1
- package/src/lib/cesium-map/tools/inspector.tool.tsx +15 -0
- package/src/lib/cesium-map/tools/terranian-height.tool.tsx +167 -0
- package/src/lib/date-range-picker/{stories/DateRangePicker.stories.tsx → date-range-picker.stories.tsx} +5 -5
- package/src/lib/file-picker/file-picker.css +62 -0
- package/src/lib/file-picker/file-picker.stories.tsx +447 -0
- package/src/lib/file-picker/file-picker.tsx +180 -0
- package/src/lib/file-picker/fs-map.json +1557 -0
- package/src/lib/file-picker/index.ts +2 -0
- package/src/lib/file-picker/localization.ts +164 -0
- package/src/lib/index.ts +1 -0
- package/src/lib/models/enums.ts +1 -0
- package/src/lib/smart-table/smart-table-row.spec.tsx +1 -1
- package/tsbuildconfig.json +2 -2
- package/tsconfig.json +2 -1
- package/dist/autocomplete/autocomplete.d.ts.map +0 -1
- package/dist/autocomplete/autocomplete.js.map +0 -1
- package/dist/autocomplete/index.d.ts.map +0 -1
- package/dist/autocomplete/index.js.map +0 -1
- package/dist/box/box.d.ts.map +0 -1
- package/dist/box/box.js.map +0 -1
- package/dist/box/index.d.ts.map +0 -1
- package/dist/box/index.js.map +0 -1
- package/dist/cesium-map/data-sources/custom.data-source.d.ts.map +0 -1
- package/dist/cesium-map/data-sources/custom.data-source.js.map +0 -1
- package/dist/cesium-map/data-sources/drawings.data-source.d.ts.map +0 -1
- package/dist/cesium-map/data-sources/drawings.data-source.js.map +0 -1
- package/dist/cesium-map/data-sources/index.d.ts.map +0 -1
- package/dist/cesium-map/data-sources/index.js.map +0 -1
- package/dist/cesium-map/entities/entity.d.ts.map +0 -1
- package/dist/cesium-map/entities/entity.description.d.ts.map +0 -1
- package/dist/cesium-map/entities/entity.description.js.map +0 -1
- package/dist/cesium-map/entities/entity.js.map +0 -1
- package/dist/cesium-map/entities/graphics/polygon.graphics.d.ts.map +0 -1
- package/dist/cesium-map/entities/graphics/polygon.graphics.js.map +0 -1
- package/dist/cesium-map/entities/graphics/polyline.graphics.d.ts.map +0 -1
- package/dist/cesium-map/entities/graphics/polyline.graphics.js.map +0 -1
- package/dist/cesium-map/entities/graphics/rectangle.graphics.d.ts.map +0 -1
- package/dist/cesium-map/entities/graphics/rectangle.graphics.js.map +0 -1
- package/dist/cesium-map/entities/index.d.ts.map +0 -1
- package/dist/cesium-map/entities/index.js.map +0 -1
- package/dist/cesium-map/index.d.ts.map +0 -1
- package/dist/cesium-map/index.js.map +0 -1
- package/dist/cesium-map/layers/3d.tileset.d.ts.map +0 -1
- package/dist/cesium-map/layers/3d.tileset.js.map +0 -1
- package/dist/cesium-map/layers/3d.tileset.update.d.ts.map +0 -1
- package/dist/cesium-map/layers/3d.tileset.update.js.map +0 -1
- package/dist/cesium-map/layers/geojson.layer.d.ts.map +0 -1
- package/dist/cesium-map/layers/geojson.layer.js.map +0 -1
- package/dist/cesium-map/layers/imagery.layer.d.ts.map +0 -1
- package/dist/cesium-map/layers/imagery.layer.js.map +0 -1
- package/dist/cesium-map/layers/index.d.ts.map +0 -1
- package/dist/cesium-map/layers/index.js.map +0 -1
- package/dist/cesium-map/layers/osm.layer.d.ts.map +0 -1
- package/dist/cesium-map/layers/osm.layer.js.map +0 -1
- package/dist/cesium-map/layers/wms.layer.d.ts.map +0 -1
- package/dist/cesium-map/layers/wms.layer.js.map +0 -1
- package/dist/cesium-map/layers/wmts.layer.d.ts.map +0 -1
- package/dist/cesium-map/layers/wmts.layer.js.map +0 -1
- package/dist/cesium-map/layers/xyz.layer.d.ts.map +0 -1
- package/dist/cesium-map/layers/xyz.layer.js.map +0 -1
- package/dist/cesium-map/layers-manager.d.ts.map +0 -1
- package/dist/cesium-map/layers-manager.js.map +0 -1
- package/dist/cesium-map/map.d.ts.map +0 -1
- package/dist/cesium-map/map.js.map +0 -1
- package/dist/cesium-map/map.types.d.ts.map +0 -1
- package/dist/cesium-map/map.types.js.map +0 -1
- package/dist/cesium-map/proxied.types.d.ts.map +0 -1
- package/dist/cesium-map/proxied.types.js.map +0 -1
- package/dist/cesium-map/settings/base-maps.d.ts.map +0 -1
- package/dist/cesium-map/settings/base-maps.js.map +0 -1
- package/dist/cesium-map/settings/scene-modes.d.ts.map +0 -1
- package/dist/cesium-map/settings/scene-modes.js.map +0 -1
- package/dist/cesium-map/settings/settings.d.ts.map +0 -1
- package/dist/cesium-map/settings/settings.js.map +0 -1
- package/dist/cesium-map/terrain-providers/custom/dummy-quantized-mesh-tile.d.ts.map +0 -1
- package/dist/cesium-map/terrain-providers/custom/dummy-quantized-mesh-tile.js.map +0 -1
- package/dist/cesium-map/terrain-providers/custom/quantized-mesh-decoder.d.ts.map +0 -1
- package/dist/cesium-map/terrain-providers/custom/quantized-mesh-decoder.js.map +0 -1
- package/dist/cesium-map/terrain-providers/custom/quantized-mesh-terrain-provider.d.ts.map +0 -1
- package/dist/cesium-map/terrain-providers/custom/quantized-mesh-terrain-provider.js.map +0 -1
- package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.d.ts.map +0 -1
- package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.js.map +0 -1
- package/dist/cesium-map/tools/coordinates-tracker.tool.d.ts.map +0 -1
- package/dist/cesium-map/tools/coordinates-tracker.tool.js.map +0 -1
- package/dist/cesium-map/tools/draw/drawHelper.d.ts.map +0 -1
- package/dist/cesium-map/tools/draw/drawHelper.js.map +0 -1
- package/dist/cesium-map/tools/geojson/geojson-to-primitive.d.ts.map +0 -1
- package/dist/cesium-map/tools/geojson/geojson-to-primitive.js.map +0 -1
- package/dist/cesium-map/tools/geojson/index.d.ts.map +0 -1
- package/dist/cesium-map/tools/geojson/index.js.map +0 -1
- package/dist/cesium-map/tools/geojson/point.geojson.d.ts.map +0 -1
- package/dist/cesium-map/tools/geojson/point.geojson.js.map +0 -1
- package/dist/cesium-map/tools/geojson/polygon.geojson.d.ts.map +0 -1
- package/dist/cesium-map/tools/geojson/polygon.geojson.js.map +0 -1
- package/dist/cesium-map/tools/geojson/rectangle.geojson.d.ts.map +0 -1
- package/dist/cesium-map/tools/geojson/rectangle.geojson.js.map +0 -1
- package/dist/cesium-map/tools/scale-tracker.tool.d.ts.map +0 -1
- package/dist/cesium-map/tools/scale-tracker.tool.js.map +0 -1
- package/dist/cssbaseline/cssbaseline.d.ts.map +0 -1
- package/dist/cssbaseline/cssbaseline.js.map +0 -1
- package/dist/cssbaseline/index.d.ts.map +0 -1
- package/dist/cssbaseline/index.js.map +0 -1
- package/dist/date-picker/date-picker.d.ts.map +0 -1
- package/dist/date-picker/date-picker.js.map +0 -1
- package/dist/date-picker/index.d.ts.map +0 -1
- package/dist/date-picker/index.js.map +0 -1
- package/dist/date-range-picker/date-range-picker.d.ts.map +0 -1
- package/dist/date-range-picker/date-range-picker.form-control.d.ts.map +0 -1
- package/dist/date-range-picker/date-range-picker.form-control.js.map +0 -1
- package/dist/date-range-picker/date-range-picker.js.map +0 -1
- package/dist/date-range-picker/index.d.ts.map +0 -1
- package/dist/date-range-picker/index.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/map-filter-container/container-map.d.ts.map +0 -1
- package/dist/map-filter-container/container-map.js.map +0 -1
- package/dist/map-filter-container/index.d.ts.map +0 -1
- package/dist/map-filter-container/index.js.map +0 -1
- package/dist/map-filter-container/map-filter-container.d.ts.map +0 -1
- package/dist/map-filter-container/map-filter-container.js.map +0 -1
- package/dist/map-filter-container/polygon-selection-ui.d.ts.map +0 -1
- package/dist/map-filter-container/polygon-selection-ui.js.map +0 -1
- package/dist/models/defaults.d.ts.map +0 -1
- package/dist/models/defaults.js.map +0 -1
- package/dist/models/enums.d.ts.map +0 -1
- package/dist/models/enums.js.map +0 -1
- package/dist/models/index.d.ts.map +0 -1
- package/dist/models/index.js.map +0 -1
- package/dist/ol-map/feature.d.ts.map +0 -1
- package/dist/ol-map/feature.js.map +0 -1
- package/dist/ol-map/index.d.ts.map +0 -1
- package/dist/ol-map/index.js.map +0 -1
- package/dist/ol-map/interactions/draw.d.ts.map +0 -1
- package/dist/ol-map/interactions/draw.js.map +0 -1
- package/dist/ol-map/interactions/index.d.ts.map +0 -1
- package/dist/ol-map/interactions/index.js.map +0 -1
- package/dist/ol-map/layers/index.d.ts.map +0 -1
- package/dist/ol-map/layers/index.js.map +0 -1
- package/dist/ol-map/layers/tile-layer.d.ts.map +0 -1
- package/dist/ol-map/layers/tile-layer.js.map +0 -1
- package/dist/ol-map/layers/vector-layer.d.ts.map +0 -1
- package/dist/ol-map/layers/vector-layer.js.map +0 -1
- package/dist/ol-map/layers/vector-tile-layer.d.ts.map +0 -1
- package/dist/ol-map/layers/vector-tile-layer.js.map +0 -1
- package/dist/ol-map/map.d.ts.map +0 -1
- package/dist/ol-map/map.js.map +0 -1
- package/dist/ol-map/source/index.d.ts.map +0 -1
- package/dist/ol-map/source/index.js.map +0 -1
- package/dist/ol-map/source/mvt.d.ts.map +0 -1
- package/dist/ol-map/source/mvt.js.map +0 -1
- package/dist/ol-map/source/osm.d.ts.map +0 -1
- package/dist/ol-map/source/osm.js.map +0 -1
- package/dist/ol-map/source/vector-source.d.ts.map +0 -1
- package/dist/ol-map/source/vector-source.js.map +0 -1
- package/dist/ol-map/source/wms.d.ts.map +0 -1
- package/dist/ol-map/source/wms.js.map +0 -1
- package/dist/ol-map/source/wmts.d.ts.map +0 -1
- package/dist/ol-map/source/wmts.js.map +0 -1
- package/dist/ol-map/source/xyz.d.ts.map +0 -1
- package/dist/ol-map/source/xyz.js.map +0 -1
- package/dist/ol-map/style.d.ts.map +0 -1
- package/dist/ol-map/style.js.map +0 -1
- package/dist/popover/index.d.ts.map +0 -1
- package/dist/popover/index.js.map +0 -1
- package/dist/popover/popover.d.ts.map +0 -1
- package/dist/popover/popover.js.map +0 -1
- package/dist/smart-table/__mock-data__/smartTableMocks.d.ts.map +0 -1
- package/dist/smart-table/__mock-data__/smartTableMocks.js.map +0 -1
- package/dist/smart-table/index.d.ts.map +0 -1
- package/dist/smart-table/index.js.map +0 -1
- package/dist/smart-table/smart-table-head.d.ts.map +0 -1
- package/dist/smart-table/smart-table-head.js.map +0 -1
- package/dist/smart-table/smart-table-row.d.ts.map +0 -1
- package/dist/smart-table/smart-table-row.js.map +0 -1
- package/dist/smart-table/smart-table-types.d.ts.map +0 -1
- package/dist/smart-table/smart-table-types.js.map +0 -1
- package/dist/smart-table/smart-table.d.ts.map +0 -1
- package/dist/smart-table/smart-table.js.map +0 -1
- package/dist/theme/index.d.ts.map +0 -1
- package/dist/theme/index.js.map +0 -1
- package/dist/theme/theme.d.ts.map +0 -1
- package/dist/theme/theme.js.map +0 -1
- package/dist/utils/map.d.ts.map +0 -1
- package/dist/utils/map.js.map +0 -1
- package/dist/utils/projections.d.ts.map +0 -1
- package/dist/utils/projections.js.map +0 -1
- package/dist/utils/story.d.ts.map +0 -1
- package/dist/utils/story.js.map +0 -1
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import {
|
|
3
|
+
ArcGISTiledElevationTerrainProvider,
|
|
4
|
+
EllipsoidTerrainProvider,
|
|
5
|
+
TerrainProvider,
|
|
6
|
+
CesiumTerrainProvider,
|
|
7
|
+
Resource,
|
|
8
|
+
} from 'cesium';
|
|
9
|
+
import { Story, Meta } from '@storybook/react/types-6-0';
|
|
10
|
+
import { CesiumMap, useCesiumMap } from '../map';
|
|
11
|
+
import { CesiumSceneMode } from '../map.types';
|
|
12
|
+
import { Cesium3DTileset } from '../layers';
|
|
13
|
+
import { InspectorTool } from '../tools/inspector.tool';
|
|
14
|
+
import { TerrainianHeightTool } from '../tools/terranian-height.tool';
|
|
15
|
+
import { LayerType } from '../layers-manager';
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
title: 'Cesium Map/QuantizedMesh',
|
|
19
|
+
component: CesiumMap,
|
|
20
|
+
parameters: {
|
|
21
|
+
layout: 'fullscreen',
|
|
22
|
+
},
|
|
23
|
+
} as Meta;
|
|
24
|
+
|
|
25
|
+
const mapDivStyle = {
|
|
26
|
+
height: '90%',
|
|
27
|
+
width: '100%',
|
|
28
|
+
position: 'absolute' as const,
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
const BASE_MAPS = {
|
|
32
|
+
maps: [
|
|
33
|
+
{
|
|
34
|
+
id: '1st',
|
|
35
|
+
title: '1st Map Title',
|
|
36
|
+
isCurrent: true,
|
|
37
|
+
thumbnail:
|
|
38
|
+
'https://nsw.digitaltwin.terria.io/build/efa2f6c408eb790753a9b5fb2f3dc678.png',
|
|
39
|
+
baseRasteLayers: [
|
|
40
|
+
{
|
|
41
|
+
id: 'GOOGLE_TERRAIN',
|
|
42
|
+
type: 'XYZ_LAYER' as LayerType,
|
|
43
|
+
opacity: 1,
|
|
44
|
+
zIndex: 0,
|
|
45
|
+
options: {
|
|
46
|
+
url: 'https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}',
|
|
47
|
+
layers: '',
|
|
48
|
+
credit: 'GOOGLE',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
baseVectorLayers: [],
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
const EllipsoidProvider = new EllipsoidTerrainProvider({});
|
|
58
|
+
|
|
59
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
60
|
+
const MCCesiumProviderMercator = new CesiumTerrainProvider({
|
|
61
|
+
url: new Resource({
|
|
62
|
+
url: 'http://localhost:3000/terrain_mercator_crop',
|
|
63
|
+
}),
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
67
|
+
const MCCesiumProviderW84 = new CesiumTerrainProvider({
|
|
68
|
+
url: new Resource({
|
|
69
|
+
url: 'http://localhost:3000/terrain_w84_geo_crop',
|
|
70
|
+
}),
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
const ArcGisProvider = new ArcGISTiledElevationTerrainProvider({
|
|
74
|
+
url:
|
|
75
|
+
'https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer',
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
const terrainProviderListQmesh = [
|
|
79
|
+
{
|
|
80
|
+
id: 'NONE',
|
|
81
|
+
value: EllipsoidProvider,
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
id: 'MC Mercator - Cesium Terrain Provider',
|
|
85
|
+
value: MCCesiumProviderMercator,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
id: 'MC W84 - Cesium Terrain Provider',
|
|
89
|
+
value: MCCesiumProviderW84,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: 'Arc Gis Terrain Provider',
|
|
93
|
+
value: ArcGisProvider,
|
|
94
|
+
},
|
|
95
|
+
];
|
|
96
|
+
|
|
97
|
+
interface ITerrainProviderItem {
|
|
98
|
+
id: string;
|
|
99
|
+
value: TerrainProvider | undefined;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
interface ITerrainProviderSelectorProps {
|
|
103
|
+
terrainProviderList: ITerrainProviderItem[];
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
const TerrainProviderSelector: React.FC<ITerrainProviderSelectorProps> = ({
|
|
107
|
+
terrainProviderList,
|
|
108
|
+
}) => {
|
|
109
|
+
const mapViewer = useCesiumMap();
|
|
110
|
+
|
|
111
|
+
return (
|
|
112
|
+
<>
|
|
113
|
+
<select
|
|
114
|
+
defaultValue={terrainProviderList[0].id}
|
|
115
|
+
onChange={(evt): void => {
|
|
116
|
+
const selected = terrainProviderList.find(
|
|
117
|
+
(item) => item.id === evt.target.value
|
|
118
|
+
);
|
|
119
|
+
mapViewer.terrainProvider = (selected as ITerrainProviderItem)
|
|
120
|
+
.value as TerrainProvider;
|
|
121
|
+
}}
|
|
122
|
+
>
|
|
123
|
+
{terrainProviderList.map((provider) => {
|
|
124
|
+
return <option key={provider.id}>{provider.id}</option>;
|
|
125
|
+
})}
|
|
126
|
+
</select>
|
|
127
|
+
</>
|
|
128
|
+
);
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
export const QuantizedMeshHeightsTool: Story = () => {
|
|
132
|
+
const [center] = useState<[number, number]>([-122, 43]);
|
|
133
|
+
return (
|
|
134
|
+
<div style={mapDivStyle}>
|
|
135
|
+
<CesiumMap
|
|
136
|
+
center={center}
|
|
137
|
+
zoom={5}
|
|
138
|
+
imageryProvider={false}
|
|
139
|
+
sceneModes={[CesiumSceneMode.SCENE3D, CesiumSceneMode.COLUMBUS_VIEW]}
|
|
140
|
+
baseMaps={BASE_MAPS}
|
|
141
|
+
>
|
|
142
|
+
<Cesium3DTileset
|
|
143
|
+
isZoomTo={true}
|
|
144
|
+
url="https://3d.ofek-air.com/3d/Jeru_Old_City_Cesium/ACT/Jeru_Old_City_Cesium_ACT.json"
|
|
145
|
+
/>
|
|
146
|
+
<TerrainProviderSelector
|
|
147
|
+
terrainProviderList={terrainProviderListQmesh}
|
|
148
|
+
/>
|
|
149
|
+
<TerrainianHeightTool />
|
|
150
|
+
<InspectorTool />
|
|
151
|
+
</CesiumMap>
|
|
152
|
+
</div>
|
|
153
|
+
);
|
|
154
|
+
};
|
|
155
|
+
QuantizedMeshHeightsTool.storyName = 'Heights Tool';
|
|
@@ -13,10 +13,11 @@ import { Story, Meta } from '@storybook/react/types-6-0';
|
|
|
13
13
|
import { CesiumMap, useCesiumMap } from '../map';
|
|
14
14
|
import { CesiumSceneMode } from '../map.types';
|
|
15
15
|
import { Cesium3DTileset } from '../layers';
|
|
16
|
+
import { LayerType } from '../layers-manager';
|
|
16
17
|
import QuantizedMeshTerrainProvider from './custom/quantized-mesh-terrain-provider';
|
|
17
18
|
|
|
18
19
|
export default {
|
|
19
|
-
title: 'Cesium Map',
|
|
20
|
+
title: 'Cesium Map/QuantizedMesh',
|
|
20
21
|
component: CesiumMap,
|
|
21
22
|
parameters: {
|
|
22
23
|
layout: 'fullscreen',
|
|
@@ -40,7 +41,7 @@ const BASE_MAPS = {
|
|
|
40
41
|
baseRasteLayers: [
|
|
41
42
|
{
|
|
42
43
|
id: 'GOOGLE_TERRAIN',
|
|
43
|
-
type: 'XYZ_LAYER',
|
|
44
|
+
type: 'XYZ_LAYER' as LayerType,
|
|
44
45
|
opacity: 1,
|
|
45
46
|
zIndex: 0,
|
|
46
47
|
options: {
|
|
@@ -159,7 +160,7 @@ const TerrainProviderSelector: React.FC<ITerrainProviderSelectorProps> = ({
|
|
|
159
160
|
);
|
|
160
161
|
};
|
|
161
162
|
|
|
162
|
-
export const
|
|
163
|
+
export const QuantizedMeshProviders: Story = () => {
|
|
163
164
|
// const [center] = useState<[number, number]>([24, -200]);
|
|
164
165
|
const [center] = useState<[number, number]>([-122, 43]);
|
|
165
166
|
return (
|
|
@@ -181,3 +182,4 @@ export const QuantizedMesh: Story = () => {
|
|
|
181
182
|
</div>
|
|
182
183
|
);
|
|
183
184
|
};
|
|
185
|
+
QuantizedMeshProviders.storyName = 'Providers';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import { viewerCesiumInspectorMixin } from 'cesium';
|
|
3
|
+
import { CesiumViewer, useCesiumMap } from '../map';
|
|
4
|
+
|
|
5
|
+
export interface InspectorProps {}
|
|
6
|
+
|
|
7
|
+
export const InspectorTool: React.FC<InspectorProps> = (props) => {
|
|
8
|
+
const mapViewer: CesiumViewer = useCesiumMap();
|
|
9
|
+
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
mapViewer.extend(viewerCesiumInspectorMixin);
|
|
12
|
+
}, [mapViewer]);
|
|
13
|
+
|
|
14
|
+
return <></>;
|
|
15
|
+
};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import React, { ChangeEvent } from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Cartesian2,
|
|
4
|
+
Ellipsoid,
|
|
5
|
+
Color as CesiumColor,
|
|
6
|
+
LabelStyle as CesiumLabelStyle,
|
|
7
|
+
VerticalOrigin as CesiumVerticalOrigin,
|
|
8
|
+
Cartographic,
|
|
9
|
+
sampleTerrainMostDetailed,
|
|
10
|
+
} from 'cesium';
|
|
11
|
+
import { CesiumViewer, useCesiumMap } from '../map';
|
|
12
|
+
|
|
13
|
+
interface IParsedData {
|
|
14
|
+
cartographic: Cartographic;
|
|
15
|
+
cartesian: Cartesian2;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const LABEL_PIXEL_OFFSET = -25;
|
|
19
|
+
const FIRST_DATA_ROW_IDX = 2;
|
|
20
|
+
|
|
21
|
+
export interface TerrainianHeightProps {}
|
|
22
|
+
|
|
23
|
+
export const TerrainianHeightTool: React.FC<TerrainianHeightProps> = (
|
|
24
|
+
props
|
|
25
|
+
) => {
|
|
26
|
+
const mapViewer: CesiumViewer = useCesiumMap();
|
|
27
|
+
|
|
28
|
+
const csvToArray = (str: string, delimiter = ','): IParsedData[] => {
|
|
29
|
+
// const headers = str.slice(0, str.indexOf('\n')).split(delimiter);
|
|
30
|
+
const rows = str.slice(str.indexOf('\n') + 1).split('\n');
|
|
31
|
+
|
|
32
|
+
const arr = rows.map((row) => {
|
|
33
|
+
const values = row.split(delimiter);
|
|
34
|
+
const el = Cartographic.fromDegrees(
|
|
35
|
+
parseFloat(values[0]),
|
|
36
|
+
parseFloat(values[1])
|
|
37
|
+
);
|
|
38
|
+
// const el = headers.reduce((object: Record<string, number>, header, index) => {
|
|
39
|
+
// const trimmedHeader = header.trim();
|
|
40
|
+
// object[trimmedHeader] = parseFloat(values[index]);
|
|
41
|
+
// return object;
|
|
42
|
+
// }, {});
|
|
43
|
+
|
|
44
|
+
//return el;
|
|
45
|
+
return {
|
|
46
|
+
cartographic: el,
|
|
47
|
+
cartesian: new Cartesian2(parseFloat(values[0]), parseFloat(values[1])),
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
return arr;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
const loadCSV = (evt: ChangeEvent<HTMLInputElement>): void => {
|
|
55
|
+
evt.preventDefault();
|
|
56
|
+
evt.persist();
|
|
57
|
+
const reader = new FileReader();
|
|
58
|
+
|
|
59
|
+
reader.onload = (e: ProgressEvent<FileReader>): any => {
|
|
60
|
+
const text = e.target?.result;
|
|
61
|
+
const parsed = csvToArray(text as string);
|
|
62
|
+
const ellipsoid = Ellipsoid.WGS84;
|
|
63
|
+
|
|
64
|
+
console.log('Loaded CSV content:\n', text);
|
|
65
|
+
|
|
66
|
+
void sampleTerrainMostDetailed(
|
|
67
|
+
mapViewer.terrainProvider,
|
|
68
|
+
parsed.map((item) => item.cartographic)
|
|
69
|
+
).then(
|
|
70
|
+
(updatedPositions) => {
|
|
71
|
+
console.log(updatedPositions);
|
|
72
|
+
|
|
73
|
+
mapViewer.scene.globe.depthTestAgainstTerrain = true;
|
|
74
|
+
mapViewer.entities.suspendEvents();
|
|
75
|
+
mapViewer.entities.removeAll();
|
|
76
|
+
|
|
77
|
+
updatedPositions.forEach((position, idx) => {
|
|
78
|
+
mapViewer.entities.add({
|
|
79
|
+
name: (idx + FIRST_DATA_ROW_IDX).toString(),
|
|
80
|
+
position: ellipsoid.cartographicToCartesian(position),
|
|
81
|
+
billboard: {
|
|
82
|
+
verticalOrigin: CesiumVerticalOrigin.BOTTOM,
|
|
83
|
+
scale: 0.7,
|
|
84
|
+
image: 'assets/img/map-marker.gif',
|
|
85
|
+
},
|
|
86
|
+
label: {
|
|
87
|
+
text: (idx + FIRST_DATA_ROW_IDX).toString(),
|
|
88
|
+
font: '14pt monospace',
|
|
89
|
+
fillColor: CesiumColor.BLACK,
|
|
90
|
+
style: CesiumLabelStyle.FILL_AND_OUTLINE,
|
|
91
|
+
outlineWidth: 4,
|
|
92
|
+
outlineColor: CesiumColor.BLACK,
|
|
93
|
+
verticalOrigin: CesiumVerticalOrigin.BOTTOM,
|
|
94
|
+
pixelOffset: new Cartesian2(0, LABEL_PIXEL_OFFSET),
|
|
95
|
+
},
|
|
96
|
+
description: `
|
|
97
|
+
Long: ${parsed[idx].cartesian.x} </br>
|
|
98
|
+
Lat: ${parsed[idx].cartesian.y} </br>
|
|
99
|
+
Height(m): <span style="font-weight: 500">${position.height}</span>
|
|
100
|
+
`,
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
mapViewer.entities.resumeEvents();
|
|
105
|
+
|
|
106
|
+
if (evt.target.files !== null) {
|
|
107
|
+
exportToCsv(
|
|
108
|
+
`terranian_heights_${evt.target.files[0].name}`,
|
|
109
|
+
parsed
|
|
110
|
+
);
|
|
111
|
+
evt.target.value = '';
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
console.log(
|
|
115
|
+
'Pinned point count is ',
|
|
116
|
+
mapViewer.entities.values.length
|
|
117
|
+
);
|
|
118
|
+
},
|
|
119
|
+
(err) => {
|
|
120
|
+
console.error('ERROR while sampleTerrainMostDetailed:', err);
|
|
121
|
+
}
|
|
122
|
+
);
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
if (evt.target.files?.[0]) {
|
|
126
|
+
reader.readAsText(evt.target.files[0]);
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
const exportToCsv = (filename: string, rows: IParsedData[]): void => {
|
|
131
|
+
const processRow = (row: IParsedData): string => {
|
|
132
|
+
let finalVal = '';
|
|
133
|
+
finalVal += row.cartesian.x.toString() + ',';
|
|
134
|
+
finalVal += row.cartesian.y.toString() + ',';
|
|
135
|
+
finalVal += row.cartographic.height.toString();
|
|
136
|
+
return finalVal + '\n';
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
let csvFile = 'long,lat,height\n';
|
|
140
|
+
rows.forEach((row) => {
|
|
141
|
+
csvFile += processRow(row);
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
const blob = new Blob([csvFile], { type: 'text/csv;charset=utf-8;' });
|
|
145
|
+
const link = document.createElement('a');
|
|
146
|
+
const url = URL.createObjectURL(blob);
|
|
147
|
+
link.setAttribute('href', url);
|
|
148
|
+
link.setAttribute('download', filename);
|
|
149
|
+
link.style.visibility = 'hidden';
|
|
150
|
+
document.body.appendChild(link);
|
|
151
|
+
link.click();
|
|
152
|
+
document.body.removeChild(link);
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
return (
|
|
156
|
+
<>
|
|
157
|
+
<input
|
|
158
|
+
type="file"
|
|
159
|
+
id="csvFile"
|
|
160
|
+
accept=".csv"
|
|
161
|
+
onChange={(e: ChangeEvent<HTMLInputElement>): void => {
|
|
162
|
+
loadCSV(e);
|
|
163
|
+
}}
|
|
164
|
+
/>
|
|
165
|
+
</>
|
|
166
|
+
);
|
|
167
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { action } from '@storybook/addon-actions';
|
|
3
3
|
import { Story } from '@storybook/react/types-6-0';
|
|
4
|
-
import { CSFStory } from '
|
|
5
|
-
import { SupportedLocales } from '
|
|
6
|
-
import { DateTimeRangePicker } from '
|
|
7
|
-
import { DateTimeRangePickerFormControl } from '
|
|
4
|
+
import { CSFStory } from '../utils/story';
|
|
5
|
+
import { SupportedLocales } from '../models/enums';
|
|
6
|
+
import { DateTimeRangePicker } from './date-range-picker';
|
|
7
|
+
import { DateTimeRangePickerFormControl } from './date-range-picker.form-control';
|
|
8
8
|
|
|
9
9
|
export default {
|
|
10
|
-
title: 'Picker',
|
|
10
|
+
title: 'Date Range Picker',
|
|
11
11
|
component: DateTimeRangePicker,
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
body[dir='rtl'] .chonky-fileListWrapper [class^='listContainer-'] {
|
|
2
|
+
direction: rtl !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
body[dir='rtl']
|
|
6
|
+
.chonky-fileEntryClickableWrapper
|
|
7
|
+
[class^='listFileEntryProperty-'] {
|
|
8
|
+
direction: ltr !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
body[dir='rtl'] .chonky-chonkyRoot {
|
|
12
|
+
text-align: right;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
body[dir='rtl'] .chonky-infoText {
|
|
16
|
+
margin-left: unset;
|
|
17
|
+
margin-right: 12px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
body[dir='rtl'] .chonky-contextMenuList .MuiListItemText-root,
|
|
21
|
+
body[dir='rtl'] .chonky-dropdownList .MuiListItemText-root {
|
|
22
|
+
text-align: right;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
body[dir='rtl'] .chonky-icon {
|
|
26
|
+
margin-right: unset;
|
|
27
|
+
margin-left: 8px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.chonky-chonkyRoot div[class^='folderBackSide'] {
|
|
31
|
+
box-shadow: unset;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.chonky-chonkyRoot div[class^='folderBackSide']::after {
|
|
35
|
+
border-color: var(--fp-theme-background, #fff)
|
|
36
|
+
var(--fp-theme-background, #fff) transparent transparent;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.chonky-chonkyRoot div[class^='listFileEntryIcon-'] {
|
|
40
|
+
color: #d5d5d5;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.chonky-chonkyRoot div[class*='previewFile-d'] {
|
|
44
|
+
background-color: #d5d5d5;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.chonky-chonkyRoot div[class^='selectionIndicator-'] {
|
|
48
|
+
background: var(--fp-theme-selection-background, #455570);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.chonky-chonkyRoot {
|
|
52
|
+
background-color: var(--fp-theme-background, #fff) !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.chonky-contextMenuList {
|
|
56
|
+
background-color: var(--fp-theme-surface, #fff) !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
button[class*='chonky-activeButton'],
|
|
60
|
+
.chonky-selectionSizeText {
|
|
61
|
+
color: var(--fp-theme-primary, #24aee9) !important;
|
|
62
|
+
}
|