Releases: mongodb/leafygreen-ui
Releases · mongodb/leafygreen-ui
@lg-charts/[email protected]
Minor Changes
- 7cb786c: Adds
Tooltip
component
@lg-charts/[email protected]
@leafygreen-ui/[email protected]
@leafygreen-ui/[email protected]
Minor Changes
- cb71e89: Fix escape key logic for popover components in
Modal
. Previously, when a popover component was opened in a modal and escape key was pressed, theFocusTrap
logic would deactivate which would interfere with key down listeners in the popover component.escapeDeactivates
in theFocusTrap
inModal
is now set tofalse
to prevent this from happening.
@leafygreen-ui/[email protected]
@lg-charts/[email protected]
Minor Changes
-
df07b6b: Adds
XAxis
andYAxis
components, improves update logic, and improves Storybook.- Adds
XAxis
component for adding an x-axis to a chart. - Adds
YAxis
component for adding a y-axis to a chart. - Improves chart options update logic
lodash.merge
was being used originally, but this didn't work quite as expected. The goal is to merge partial options objects in without overwriting previously set options that are unrelated to the update. This was not how it worked, leading to bugs when updating the same base keys with different options. I.e. when adding splitLine configurations on xAxis in order to add grid lines, then adding more axis specific config in XAxis related to the actual axis, the splitLine would be totally overwritten.
- Improves @lg-charts/core Storybook, by adding better descriptions and organization.
- Adds
@lg-charts/[email protected]
Patch Changes
- 685e153: Fixes bad import in Chart component
@lg-charts/[email protected]
Minor Changes
-
1be6f67: Adds core chart components package
- Adds
Chart
component for overarching chart configuration. - Adds
Line
component for adding individual series data to a chart. - Adds
Grid
component for configuring grid line on a chart.
- Adds
@leafygreen-ui/[email protected]
Minor Changes
- f38cdc3: Exports
getTestUtils
from Button package
@leafygreen-ui/[email protected]
Minor Changes
- 43c8951: Adds
'EmptyFolder'
and'EmptyDatabase'
glyphs