wq.app 2.0 alpha 2
wq.app 2.0 alpha 2 is the second preview of the next version of wq.app, as part of the wq 2.0 alpha 2 release. This release improves the usage of @mui/material imports in wq.js, provides react-native-paper equivalents for all of @wq/material's Input Types, and updates maplibre-react-native support in @wq/map-gl-native.
All changes by @sheppard.
@wq/material-web & wq.js
- Update wq.js to export additional components from @mui/material, including
ImageList
andToggleButtonGroup
(a12809f)- As always, use
import { ImageList } from "@mui/material"
in combination with @wq/rollup-plugin to take advantage of these exports. If you would like to import one of the remaining components not exported by wq.js, use the full path (e.g.import Stack from "@mui/material/Stack"
) to ensure the import is ignored by the @wq/rollup-plugin.
- As always, use
- Fix tree shaking for mui-file-dropdown (d2aa481). This dependency was causing all of
import * "@mui/material"
to be included in wq.js even though not everything was being used or re-exported. Adjusting the import reduced the size of wq.js by over 50%. - Update wq.js to export @mui/material/utils, including createSvgIcon (8feb269). This facilitates using @wq/rollup-plugin with modules that import custom icons from @mui/icons-material. Only the unique icon data will be included in each built plugin file, rather than duplicating createSvgIcon since that is already included in wq.js.
- Ensure data attributes from formik-mui are propagated correctly to options in Select (1beec6f, 06fcbbb)
@wq/material-native
- Implement react-native-paper versions of File, Toggle, and Radio inputs (69c05a7)
- Ensure all input types display hints and error messages as appropriate (69c05a7)
- Implement side panel and tab components to improve mapping UI (69c05a7, 7d69e39)
@wq/map-gl-web
- Use react-map-gl's Popup for highlighted features on larger screens, while preserving the panel-style popup for mobile (21f5966).