@simoncomputing/mui-bueno-v2 0.32.4 → 0.32.6
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/CHANGELOG.md +17 -0
- package/dist/components/Table/Table.d.ts +4 -4
- package/dist/components/Tooltips/HelpTooltip/HelpTooltip.d.ts +1 -1
- package/dist/components/Tooltips/IconTooltip/IconTooltip.d.ts +5 -9
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +167 -157
- package/dist/index.umd.js +62 -62
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
- Minor increment --> singlular/minor changes. Minimal breaking changes.
|
|
12
12
|
- Patch increment --> singlular/minor changes. Zero breaking changes.
|
|
13
13
|
|
|
14
|
+
## [0.32.6] - 2026-06-24
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- `IconTooltip`, `HelpTooltip`, `Table`, `PaginatedTable`
|
|
19
|
+
- changed cursor from 'pointer' to 'default' for tooltips to avoid user confusion since the icon is not clickable
|
|
20
|
+
|
|
21
|
+
## [0.32.5] - 2026-06-23
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- `IconTooltip`, `HelpTooltip`
|
|
26
|
+
- changed `color` prop to use MUI theme colors and added passthrough of `SvgIconProps`
|
|
27
|
+
|
|
28
|
+
- `Table`/`PaginatedTable`
|
|
29
|
+
- replaced `tooltipColor` with `tooltipProps` (ex: `{ color: 'primary' }`)
|
|
30
|
+
|
|
14
31
|
## [0.32.4] - 2026-06-23
|
|
15
32
|
|
|
16
33
|
### Added
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TableProps as MuiTableProps } from '@mui/material';
|
|
1
|
+
import { TableProps as MuiTableProps, SvgIconProps } from '@mui/material';
|
|
2
2
|
import { SystemStyleObject, Theme } from '@mui/system';
|
|
3
3
|
import { TableColumn, SortOrder, TableConfig } from '../../@types';
|
|
4
4
|
import { default as React } from 'react';
|
|
@@ -155,10 +155,10 @@ export type BaseTableProps<T, K> = {
|
|
|
155
155
|
stickyHeader?: string;
|
|
156
156
|
reRenderExpand?: boolean;
|
|
157
157
|
/**
|
|
158
|
-
* Overrides the
|
|
159
|
-
*
|
|
158
|
+
* Overrides the styling for tooltip icon (TableColumn.tooltip).
|
|
159
|
+
* Ex: { color: 'primary' }
|
|
160
160
|
*/
|
|
161
|
-
|
|
161
|
+
tooltipProps?: SvgIconProps;
|
|
162
162
|
};
|
|
163
163
|
export type TableProps<T, K> = BaseTableProps<T, K> & Omit<MuiTableProps, 'stickyHeader'>;
|
|
164
164
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconTooltipProps } from '../IconTooltip/IconTooltip';
|
|
2
2
|
export type HelpTooltipProps = Omit<IconTooltipProps, 'icon'>;
|
|
3
3
|
/**
|
|
4
|
-
* Basic Help Tooltip
|
|
4
|
+
* Basic Help Tooltip that displays helpful message when user hovers over (?) icon.
|
|
5
5
|
*/
|
|
6
6
|
export declare function HelpTooltip(props: HelpTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default HelpTooltip;
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import { SvgIcon } from '@mui/material';
|
|
2
|
+
import { SvgIconProps } from '@mui/material/SvgIcon';
|
|
2
3
|
export type IconTooltipProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Color of the tooltip (?) icon
|
|
5
|
-
*
|
|
6
|
-
* Note: Make sure to account for dark mode.
|
|
7
|
-
*/
|
|
8
|
-
color?: string;
|
|
9
4
|
/**
|
|
10
5
|
* Text that will display in the tooltip when hovering over the (?) icon.
|
|
11
6
|
*/
|
|
12
7
|
children?: string;
|
|
13
8
|
icon: typeof SvgIcon;
|
|
14
|
-
|
|
9
|
+
iconText?: string;
|
|
10
|
+
} & SvgIconProps;
|
|
15
11
|
/**
|
|
16
|
-
*
|
|
12
|
+
* Icon that displays a tooltip when hovered.
|
|
17
13
|
*/
|
|
18
|
-
export declare function IconTooltip({ icon: Icon,
|
|
14
|
+
export declare function IconTooltip({ icon: Icon, children, sx, ...rest }: IconTooltipProps): import("react/jsx-runtime").JSX.Element | null;
|
|
19
15
|
export default IconTooltip;
|