@simoncomputing/mui-bueno-v2 0.19.4 → 0.19.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 +15 -0
- package/dist/components/{Navigation → Buttons}/MenuButton/MenuButton.d.ts +1 -1
- package/dist/components/Form/Inputs/Autocomplete/MultiAutocomplete/MultiAutocomplete.d.ts +4 -4
- package/dist/index.cjs.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +40 -38
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,21 @@ 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.19.6] - 2025-10-28
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `MenuButton`
|
|
19
|
+
- `label` prop type changed from `string` to `ReactNode`
|
|
20
|
+
- added storybook section, under `Buttons/MenuButton`
|
|
21
|
+
|
|
22
|
+
## [0.19.5] - 2025-10-27
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- `MultiAutocomplete`
|
|
27
|
+
- Exposed MUI's generic parameters `DisableClearable` & `FreeSolo`, which allow access to `disableClearable` & `freeSolo` props respectively
|
|
28
|
+
|
|
14
29
|
## [0.19.4] - 2025-10-24
|
|
15
30
|
|
|
16
31
|
### Fixed
|
|
@@ -3,10 +3,10 @@ import { BaseAutocompleteProps } from '../Autocomplete';
|
|
|
3
3
|
/**
|
|
4
4
|
* Type used to define props passed into Autocomplete component
|
|
5
5
|
*/
|
|
6
|
-
export type MultiAutocompleteProps<T> = Omit<BaseAutocompleteProps<T>, 'clearOnSelect'> & Omit<MuiAutocompleteProps<T, // Option type
|
|
6
|
+
export type MultiAutocompleteProps<T, DisableClearable extends boolean = false, FreeSolo extends boolean = false> = Omit<BaseAutocompleteProps<T>, 'clearOnSelect'> & Omit<MuiAutocompleteProps<T, // Option type
|
|
7
7
|
true, // Multiple -- allows multiple options to be selected (enables `multiple` prop)
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
DisableClearable, // DisableClearable -- disables the clear button (enables `disableClearable` prop)
|
|
9
|
+
FreeSolo>, 'renderInput' | 'options' | 'value' | 'multiple' | 'inputValue'>;
|
|
10
10
|
/**
|
|
11
11
|
* `Autocomplete` is a mix between a `TextField` and `Select` component.
|
|
12
12
|
* As the user types, options that match their query are presented.
|
|
@@ -19,4 +19,4 @@ false>, 'renderInput' | 'options' | 'value' | 'multiple' | 'freeSolo' | 'inputVa
|
|
|
19
19
|
* __IMPORTANT__: If you need to dynamically load options as the user types, check out `DynamicAutocomplete`, as this
|
|
20
20
|
* has automated a lot of the settings.
|
|
21
21
|
*/
|
|
22
|
-
export declare const MultiAutocomplete: <T>(props: MultiAutocompleteProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const MultiAutocomplete: <T, DisableClearable extends boolean = false, FreeSolo extends boolean = false>(props: MultiAutocompleteProps<T, DisableClearable, FreeSolo>) => import("react/jsx-runtime").JSX.Element;
|