@onewelcome/react-lib-components 0.1.11-alpha → 0.1.12-alpha

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onewelcome/react-lib-components",
3
- "version": "0.1.11-alpha",
3
+ "version": "0.1.12-alpha",
4
4
  "license": "Apache-2.0",
5
5
  "author": "OneWelcome B.V.",
6
6
  "main": "dist/index.js",
@@ -69,7 +69,7 @@
69
69
  "@types/color-convert": "^2.0.0",
70
70
  "@types/mdx": "^2.0.2",
71
71
  "@types/react": "^17.0.45",
72
- "@types/react-dom": "^17.0.17",
72
+ "@types/react-dom": "^18.0.5",
73
73
  "babel-loader": "^8.2.5",
74
74
  "dts-cli": "^1.5.1",
75
75
  "html-webpack-plugin": "^5.5.0",
@@ -1,4 +1,9 @@
1
- import React, { ComponentPropsWithRef, ReactElement, useState } from 'react';
1
+ import React, {
2
+ ComponentPropsWithoutRef,
3
+ ComponentPropsWithRef,
4
+ ReactElement,
5
+ useState,
6
+ } from 'react';
2
7
  import { Icon, Icons } from '../Icon/Icon';
3
8
  import classes from './Tile.module.scss';
4
9
  import readyClasses from '../readyclasses.module.scss';
@@ -7,7 +12,7 @@ import { Props as ContextMenuProps } from '../ContextMenu/ContextMenu';
7
12
  import { generateID } from '../util/helper';
8
13
  import { Props as IconButtonProps } from '../Button/IconButton';
9
14
 
10
- interface ImageProps {
15
+ interface ImageProps extends ComponentPropsWithoutRef<'img'> {
11
16
  src: string;
12
17
  }
13
18
 
package/src/index.ts CHANGED
@@ -15,6 +15,7 @@ export { Tiles, Props as TilesProps } from './Tiles/Tiles';
15
15
  export { Tooltip, Props as TooltipProps } from './Tooltip/Tooltip';
16
16
  export { Typography, Variant, Props as TypographyProps } from './Typography/Typography';
17
17
  export { Skeleton, Props as SkeletonProps } from './Skeleton/Skeleton';
18
+ export { StatusIndicator, Props as StatusIndicatorProps } from './StatusIndicator/StatusIndicator';
18
19
  export {
19
20
  Pagination,
20
21
  Props as PaginationProps,