@utrecht/component-library-react 8.0.3 → 8.0.5

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.
@@ -86,7 +86,7 @@ var VegaVisualization = function VegaVisualization(_ref) {
86
86
  restProps = _objectWithoutProperties(_ref, _excluded);
87
87
  return jsx("div", {
88
88
  className: clsx('utrecht-vega-visualization', className),
89
- role: "image",
89
+ role: "img",
90
90
  "aria-label": label,
91
91
  children: jsx("div", {
92
92
  "aria-hidden": true,
@@ -1,11 +1,10 @@
1
+ import css from '@utrecht/vega-visualization-css/dist/index.mjs';
1
2
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
3
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
4
  import { jsx } from 'react/jsx-runtime';
4
5
  import clsx from 'clsx';
5
6
  import { Vega } from 'react-vega';
6
7
 
7
- var css = ".utrecht-vega-visualization{display:inline-block}";
8
-
9
8
  var insertStyle = function insertStyle(css) {
10
9
  if (typeof document !== 'undefined') {
11
10
  var head = document.head || document.getElementsByTagName('head')[0];
@@ -97,7 +96,7 @@ var VegaVisualization = function VegaVisualization(_ref) {
97
96
  restProps = _objectWithoutProperties(_ref, _excluded);
98
97
  return jsx("div", {
99
98
  className: clsx('utrecht-vega-visualization', className),
100
- role: "image",
99
+ role: "img",
101
100
  "aria-label": label,
102
101
  children: jsx("div", {
103
102
  "aria-hidden": true,
@@ -1 +1 @@
1
- {"version":3,"file":"VegaVisualization.mjs","sources":["../../../../components/vega-visualization/dist/index.mjs"],"sourcesContent":["export default \".utrecht-vega-visualization{display:inline-block}\";\n"],"names":[],"mappings":";;;;;;AAAA,UAAe,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"VegaVisualization.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}