@simoncomputing/mui-bueno-v2 0.32.3 → 0.32.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.
- package/CHANGELOG.md +22 -0
- package/dist/components/Table/Table.d.ts +4 -4
- package/dist/components/Tooltips/HelpTooltip/HelpTooltip.d.ts +7 -0
- package/dist/components/Tooltips/IconTooltip/IconTooltip.d.ts +14 -0
- package/dist/index.cjs.js +89 -89
- package/dist/index.d.ts +4 -2
- package/dist/index.es.js +248 -244
- package/dist/index.umd.js +90 -90
- package/package.json +1 -1
- package/dist/components/HelpTooltip/HelpTooltip.d.ts +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,28 @@ 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.5] - 2026-06-23
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- `IconTooltip`, `HelpTooltip`
|
|
19
|
+
- changed `color` prop to use MUI theme colors and added passthrough of `SvgIconProps`
|
|
20
|
+
|
|
21
|
+
- `Table`/`PaginatedTable`
|
|
22
|
+
- replaced `tooltipColor` with `tooltipProps` (ex: `{ color: 'primary' }`)
|
|
23
|
+
|
|
24
|
+
## [0.32.4] - 2026-06-23
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- `IconTooltip`
|
|
29
|
+
- simple icon that shows tooltip on hover. Same as `HelpTooltip` but allows customization of the icon.
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- `HelpTooltip`
|
|
34
|
+
- updated to use `IconTooltip` internally. No user-visible behavior changes are expected.
|
|
35
|
+
|
|
14
36
|
## [0.32.3] - 2026-06-23
|
|
15
37
|
|
|
16
38
|
### Changed
|
|
@@ -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
|
/**
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IconTooltipProps } from '../IconTooltip/IconTooltip';
|
|
2
|
+
export type HelpTooltipProps = Omit<IconTooltipProps, 'icon'>;
|
|
3
|
+
/**
|
|
4
|
+
* Basic Help Tooltip. Displays helpful message when user hovers over (?) icon.
|
|
5
|
+
*/
|
|
6
|
+
export declare function HelpTooltip(props: HelpTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default HelpTooltip;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SvgIcon } from '@mui/material';
|
|
2
|
+
import { SvgIconProps } from '@mui/material/SvgIcon';
|
|
3
|
+
export type IconTooltipProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Text that will display in the tooltip when hovering over the (?) icon.
|
|
6
|
+
*/
|
|
7
|
+
children?: string;
|
|
8
|
+
icon: typeof SvgIcon;
|
|
9
|
+
} & SvgIconProps;
|
|
10
|
+
/**
|
|
11
|
+
* Basic Icon Tooltip. Displays helpful message when user hovers over icon.
|
|
12
|
+
*/
|
|
13
|
+
export declare function IconTooltip({ icon: Icon, children, ...rest }: IconTooltipProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
export default IconTooltip;
|