Commit 077cd09
authored
Release v3.1.18 (#821)
# Changelog
- ## 🎉 Features
- feat: create a MultiLayerMapBlock
(#[1808](NASA-IMPACT/veda-ui#1808))
- feat: Create wrappers for the react-uswds components, update imports
- feat: clean up the map blocks from the filtering/selection logic, add
navigation control position config
- feat: Move filtering/layer selection logic up one level to the lazy
component wrappers
- feat: add mock usage for the MultilayerMap
- feat: Introduce LazyMultilayerMap
- feat: Introduce a new MultilayerMapBlock component
- feat: Modify the MapBlock to disable specific features
- feat: add AOI control
- feat: add basic controls
- feat: add USWDS stories to test Storybook integration
- feat: upgrade Storybook to v9
- feat: Add null temporal interval handling across all data types
([#1835](NASA-IMPACT/veda-ui#1835))
- feat: Add coverage for fetchStacDatasetById across all dataset types
- feat: Add unit tests
- feat: Enable null values within temporal_interval for different data
types
- ## 🚀 Improvements
- chore: Export the MultilayerMapBlock via the veda UI npm library
- chore: Add notes and tags for deprecation
([#1788](NASA-IMPACT/veda-ui#1788))
- refactor: improve MultiLayerMapBlock interface, make the dateTime
controlled
- refactor: Remove obsolete props
- refactor: Update usage of CustomLayerDemo
- refactor: Address review comments
- docs: Update mdx blocks usage docs, formatting
- chore: Fix React warning about redundant id, wrong html attirbute
([#1800](NASA-IMPACT/veda-ui#1800))
- chore: add storybook
([#1593](NASA-IMPACT/veda-ui#1593))
- chore: remove USWDS stories
- chore: remove unnecessary config
- chore: allow out of range rescale values
([#1821](NASA-IMPACT/veda-ui#1821))
- chore: keep only the mount logic, keep the rest
- chore: update util, fix test
- chore: validate input issues on mount
- refactor: update remaining core references to storybook in config
files
- refactor: update package.json scripts from /core to /storybook
- refactor: rename /core to /storybook
- refactor: convert USWDS button stories to use args pattern for
Storybook controls
- refactor: move story providers to global decorator
- docs: simplify core README and add work-in-progress note
- refactor: remove obsolete tests, update normalizeDomain util to only
be applied to the end interval, update TS type
- refactor: unify WMS and WMTS handling in fetchStacDatasetById
- docs: Update comment
- docs: Add documentation for layer to include WMS
([#1713](NASA-IMPACT/veda-ui#1713))
- ## 🐛 Fixes
- fix: Fix the MapBlock in the CustomLayer
- fix: Update MultilayerMap usage
- fix: Keep the datasetId usage, revert the deprecation warning from the
previous commit
- fix: rescale not working
([#1811](NASA-IMPACT/veda-ui#1811))
- fix: use public url var to build geodata path
- fix: rename component
- fix: install core deps on CI workflow
- fix: add geo data path to storybook context
- fix: remove usage of process.env, move geoData path to VedaUIProvider
- fix: make map occupy full height
- fix: enhance Vite config, add StoryBook providers, add Base map
example
- fix: import USWDS in storybook, setup styles
- fix: use same react major version of veda-ui2 files changed
+2
-2
lines changed- .eslintrc+11
- .github/workflows/checks.yml+13-1
- app/scripts/components/common/blocks/block-map.tsx+48-86
- app/scripts/components/common/blocks/lazy-components.js+169-5
- app/scripts/components/common/blocks/multilayer-block-map.tsx+203
- app/scripts/components/common/blocks/multilayer-map.scss+6
- app/scripts/components/common/card/classic.tsx+2
- app/scripts/components/common/card/cover.tsx+2
- app/scripts/components/common/card/featured.tsx+2
- app/scripts/components/common/card/horizontal-info.tsx+2
- app/scripts/components/common/card/index.tsx+2
- app/scripts/components/common/card/styles.tsx+1-1
- app/scripts/components/common/catalog/catalog-content.tsx+1-1
- app/scripts/components/common/catalog/catalog-legacy/catalog-content.tsx+3-1
- app/scripts/components/common/catalog/catalog-legacy/catalog-tags.tsx+1-1
- app/scripts/components/common/catalog/catalog-legacy/filter-tag.tsx+4-6
- app/scripts/components/common/catalog/catalog-legacy/filters-control.tsx+1-1
- app/scripts/components/common/dataset-classification.tsx+3-3
- app/scripts/components/common/form/checkable-filter-legacy/index.tsx+82-76
- app/scripts/components/common/icons-legacy/calendar-minus.tsx
- app/scripts/components/common/icons-legacy/calendar-plus.tsx
- app/scripts/components/common/icons-legacy/dataset-layers.tsx
- app/scripts/components/common/icons-legacy/flask.tsx
- app/scripts/components/common/icons-legacy/magnifier-minus.tsx
- app/scripts/components/common/icons-legacy/magnifier-plus.tsx
- app/scripts/components/common/icons-legacy/medal.tsx
- app/scripts/components/common/icons-legacy/progress-tick.tsx
- app/scripts/components/common/item-truncate-count.tsx-30
- app/scripts/components/common/layout-root/index.tsx+1-1
- app/scripts/components/common/layout-root/useSlidingStickyHeaderProps.ts+2-2
- app/scripts/components/common/map/controls/hooks/use-preset-aoi.tsx+8-6
- app/scripts/components/common/map/style-generators/raster-paint-layer.tsx+1-1
- app/scripts/components/common/mdx-content.js+2
- app/scripts/components/common/page-footer-legacy.tsx+2
- app/scripts/components/common/page-header-legacy/index.tsx+1-1
- app/scripts/components/common/page-header-legacy/logo.tsx+28-15
- app/scripts/components/common/page-header-legacy/nav-menu-item.tsx+2-2
- app/scripts/components/data-catalog/container.tsx+1-1
- app/scripts/components/exploration/components/datasets/colorRangeSlider/colorRangeSlider.spec.tsx+7-2
- app/scripts/components/exploration/components/datasets/colorRangeSlider/index.tsx+87-54
- app/scripts/components/exploration/components/datasets/colorRangeSlider/utils.tsx+9-14
- app/scripts/components/exploration/components/datasets/data-layer-card.tsx+1-1
- app/scripts/components/exploration/components/layer-info-modal.tsx+1-1
- app/scripts/components/exploration/components/timeline/timeline-controls.tsx+2-2
- app/scripts/components/exploration/components/timeline/timeline-zoom-controls.tsx+2-2
- app/scripts/components/exploration/container.tsx+1-1
- app/scripts/components/exploration/hooks/use-stac-metadata-data.spec.ts+174
- app/scripts/components/exploration/hooks/use-stac-metadata-datasets.ts+20-10
- app/scripts/components/exploration/types.d.ts.ts+1-1
- app/scripts/components/sandbox/customlayer/index.tsx+13-3
- app/scripts/components/sandbox/legacy/map-block/index.js-2
- app/scripts/components/sandbox/legacy/mdx-editor/index.tsx+20-11
- app/scripts/components/sandbox/legacy/mdx-page/page.mdx+22-27
- app/scripts/components/sandbox/legacy/typography/index.js+3-3
- app/scripts/components/stories/hub/container.tsx+4
- app/scripts/components/uhoh/fatal-error.js+1-1
- app/scripts/context/layout-root-context-provider.tsx+2
- app/scripts/context/theme-provider.tsx+2
- app/scripts/context/veda-ui-provider.tsx+3-2
- app/scripts/data-layer/datasets.tsx+1-1
- app/scripts/libs/hooks.ts+1-1
- app/scripts/libs/index.ts+1
- app/scripts/libs/mdx-components.ts+1
- app/scripts/main.tsx+3-2
- app/scripts/types/veda.ts-2
- app/scripts/uswds/index.tsx+7-1
- app/scripts/uswds/input.tsx+14-1
- app/scripts/uswds/select.tsx+6
- docs/content/MDX_BLOCKS.md+68-69
- docs/content/frontmatter/layer.md+1-1
- docs/development/DEVELOPMENT.md+16-2
- mock/datasets/data-from-ghg.data.mdx+11
- package.json+6-3
- parcel-resolver-veda/index.d.ts+4-28
- storybook/.gitignore+26
- storybook/.storybook/main.ts+14
- storybook/.storybook/preview.tsx+40
- storybook/.storybook/vitest.setup.ts+9
- storybook/README.md+12
- storybook/package.json+40
- storybook/src/stories/basemap-example.stories.tsx+53
- storybook/src/vite-env.d.ts+1
- storybook/utils/stream-shim.js+5
- storybook/vite.config.ts+41
- storybook/yarn.lock+2.3k
- tsconfig.json+2-1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments