@simoncomputing/mui-bueno-v2 0.36.2 → 0.36.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.
package/CHANGELOG.md CHANGED
@@ -11,6 +11,31 @@ 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.36.4] - 2026-08-26
15
+
16
+ ### Changed
17
+
18
+ - `LoadingButton`
19
+ - Updated to use MUI's built-in loading spinner (via `loading` & `loadingPosition` props)
20
+
21
+ - `ConfirmationModal`
22
+ - Updated confirm button to render `LoadingButton` instead of `Button`. Just pass `loading` to `confirmButtonProps` to show loading spinner.
23
+
24
+ - `DecisionModal`
25
+ - Updated primary action button to render `LoadingButton` instead of `Button`. Just pass `loading` to `primaryActionProps` to show loading spinner.
26
+
27
+ - `CitationField`, `SelectableCitationManager`, `CitationManager`
28
+ - Updated "Yes" button on Delete popper to show loading spinner AND "Yes" label at the same time
29
+
30
+ -
31
+
32
+ ## [0.36.3] - 2026-08-25
33
+
34
+ ### Fixed
35
+
36
+ - `CitationField`, `SelectableCitationManager`
37
+ - No QueryClient set error
38
+
14
39
  ## [0.36.2] - 2026-08-25
15
40
 
16
41
  ### Fixed
@@ -1,8 +1,6 @@
1
1
  import { ButtonProps } from '../Button/Button';
2
2
  import * as React from 'react';
3
- export type LoadingButtonProps = Omit<ButtonProps, 'startIcon' | 'loading'> & {
4
- loading?: boolean;
5
- };
3
+ export type LoadingButtonProps = Omit<ButtonProps, 'loadingPosition'>;
6
4
  /**
7
5
  * Button with a loading spinner. Automatically disables itself when loading.
8
6
  *
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { ModalProps } from '../Modal';
3
- import { ButtonProps } from '../../Buttons/Button/Button';
3
+ import { LoadingButtonProps } from '../../Buttons/LoadingButton/LoadingButton';
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<ButtonProps, 'onClick'>;
17
+ confirmButtonProps?: Omit<LoadingButtonProps, 'onClick'>;
18
18
  };
19
19
  /**
20
20
  * Modal that requires user to cancel or proceed.
@@ -1,6 +1,7 @@
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';
4
5
  export type DecisionModalProps = Omit<ModalProps, 'actions'> & {
5
6
  /**
6
7
  * Label for primary action (button)
@@ -13,7 +14,7 @@ export type DecisionModalProps = Omit<ModalProps, 'actions'> & {
13
14
  /**
14
15
  * Override styling for primary action (button)
15
16
  */
16
- primaryActionProps?: Omit<ButtonProps, 'onClick'>;
17
+ primaryActionProps?: Omit<LoadingButtonProps, 'onClick'>;
17
18
  /**
18
19
  * Label for secondary action (button)
19
20
  */