kibana/packages/kbn-chart-icons
Marta Bondyra 7ea54fa678
[Lens] fix inconsistent annotation icon styles (#159542)
## Summary
Fixes https://github.com/elastic/kibana/issues/159540

Fixed by:
1. To fix the fill, I made the triangle and circle svgs consistent with
the ones from EUI. Now they work with fill and not with stroke. Thanks
to that we could remove `canFill` property.
2. To fix rotation for triangle, I added `!important` to transform when
adding `xyAnnotationIcon_rotate90`. Btw this class was added to path and
to svg, that's why before rotation was 45deg (because added to two
elements). I fixed it too.

<img width="804" alt="Screenshot 2023-06-13 at 10 13 27"
src="c52e2692-cbbf-4e22-9241-eab6a3aa7c6f">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-06-21 09:18:48 +02:00
..
.storybook [Lens] Move custom chart icons into lens package (#138413) 2022-08-17 13:24:18 +03:00
src [Lens] fix inconsistent annotation icon styles (#159542) 2023-06-21 09:18:48 +02:00
index.ts [lens] tag cloud (#157751) 2023-06-08 08:09:20 -06:00
jest.config.js [Lens] Move custom chart icons into lens package (#138413) 2022-08-17 13:24:18 +03:00
kibana.jsonc Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
package.json [Lens] Make illustrations package treeshakeable (#156669) 2023-05-05 15:11:31 +02:00
README.md [Lens] Move custom chart icons into lens package (#138413) 2022-08-17 13:24:18 +03:00
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00

@kbn/chart-icons

This package contains svg shared assets used in charts

It can be removes when the EuiIllustrations initiative is shipped.