@ultraviolet/ui 1.29.3 → 1.29.4

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.
@@ -81,7 +81,7 @@ const Banner = ({
81
81
  const {
82
82
  theme
83
83
  } = useTheme();
84
- const defaultImage = size === 'small' ? defaultIllustrationSmall : defaultIllustration;
84
+ const DefaultImage = size === 'small' ? defaultIllustrationSmall : defaultIllustration;
85
85
  const [opened, setOpened] = useState(true);
86
86
  if (!opened) return null;
87
87
  return jsxs(Container, {
@@ -92,10 +92,7 @@ const Banner = ({
92
92
  children: [jsx(ImageStack, {
93
93
  size: size,
94
94
  justifyContent: "center",
95
- children: image ?? jsx("img", {
96
- src: defaultImage,
97
- alt: ""
98
- })
95
+ children: image ?? jsx(DefaultImage, {})
99
96
  }), jsxs(Stack, {
100
97
  direction: direction,
101
98
  gap: 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/ui",
3
- "version": "1.29.3",
3
+ "version": "1.29.4",
4
4
  "description": "Ultraviolet UI",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -67,7 +67,7 @@
67
67
  "react-use-clipboard": "1.0.9",
68
68
  "reakit": "1.3.11",
69
69
  "@ultraviolet/themes": "1.6.0",
70
- "@ultraviolet/icons": "2.7.4"
70
+ "@ultraviolet/icons": "2.7.5"
71
71
  },
72
72
  "scripts": {
73
73
  "build": "rollup -c ../../rollup.config.mjs",