@simoncomputing/mui-bueno-v2 0.36.4 → 0.37.0
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 +12 -2
- package/dist/components/Modals/ConfirmationModal/ConfirmationModal.d.ts +2 -2
- package/dist/components/Modals/DecisionModal/DecisionModal.d.ts +1 -2
- package/dist/index.cjs.js +105 -105
- package/dist/index.d.ts +0 -2
- package/dist/index.es.js +6376 -6401
- package/dist/index.umd.js +106 -106
- package/package.json +1 -1
- package/dist/components/Buttons/LoadingButton/LoadingButton.d.ts +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,18 @@ 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.37.0] - 2026-08-26
|
|
15
|
+
|
|
16
|
+
### Removed
|
|
17
|
+
|
|
18
|
+
- `LoadingButton`
|
|
19
|
+
- Migration: Use any button component with MUI's `loading` prop
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- `CitationField`, `SelectableCitationManager`, `CitationManager`, `ConfirmationModal`, `DecisionModal`
|
|
24
|
+
- Updated to use a regular `Button` instead of `LoadingButton`. Citation components will automatically set `loading`. For modals, no API change (as before, pass `loading` to `confirmButtonProps`/`primaryActionProps` as needed).
|
|
25
|
+
|
|
14
26
|
## [0.36.4] - 2026-08-26
|
|
15
27
|
|
|
16
28
|
### Changed
|
|
@@ -27,8 +39,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
27
39
|
- `CitationField`, `SelectableCitationManager`, `CitationManager`
|
|
28
40
|
- Updated "Yes" button on Delete popper to show loading spinner AND "Yes" label at the same time
|
|
29
41
|
|
|
30
|
-
-
|
|
31
|
-
|
|
32
42
|
## [0.36.3] - 2026-08-25
|
|
33
43
|
|
|
34
44
|
### Fixed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ModalProps } from '../Modal';
|
|
3
|
-
import {
|
|
3
|
+
import { ButtonProps } from '../../Buttons/Button/Button';
|
|
4
4
|
export type ConfirmationModalProps = Omit<ModalProps, 'actions'> & {
|
|
5
5
|
/**
|
|
6
6
|
* Label for the confirm/action button.
|
|
@@ -14,7 +14,7 @@ export type ConfirmationModalProps = Omit<ModalProps, 'actions'> & {
|
|
|
14
14
|
* Override the default styling of the confirm button. Defaults are:
|
|
15
15
|
* `{ color: 'primary', variant: 'contained' }`
|
|
16
16
|
*/
|
|
17
|
-
confirmButtonProps?: Omit<
|
|
17
|
+
confirmButtonProps?: Omit<ButtonProps, 'onClick'>;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
20
|
* Modal that requires user to cancel or proceed.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ModalProps } from '../Modal';
|
|
3
3
|
import { ButtonProps } from '../../Buttons/Button/Button';
|
|
4
|
-
import { LoadingButtonProps } from '../../Buttons/LoadingButton/LoadingButton';
|
|
5
4
|
export type DecisionModalProps = Omit<ModalProps, 'actions'> & {
|
|
6
5
|
/**
|
|
7
6
|
* Label for primary action (button)
|
|
@@ -14,7 +13,7 @@ export type DecisionModalProps = Omit<ModalProps, 'actions'> & {
|
|
|
14
13
|
/**
|
|
15
14
|
* Override styling for primary action (button)
|
|
16
15
|
*/
|
|
17
|
-
primaryActionProps?: Omit<
|
|
16
|
+
primaryActionProps?: Omit<ButtonProps, 'onClick'>;
|
|
18
17
|
/**
|
|
19
18
|
* Label for secondary action (button)
|
|
20
19
|
*/
|