@simoncomputing/mui-bueno-v2 0.18.4 → 0.18.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 +37 -1
- package/dist/components/Form/Inputs/Checkbox/Checkbox.d.ts +6 -0
- package/dist/components/Form/Inputs/CitationField/CitationField.d.ts +10 -0
- package/dist/components/Form/Inputs/CitationField/CitationManager/CitationBubbleMenu.d.ts +2 -2
- package/dist/components/Form/Inputs/NotApplicableCheckbox/NotApplicableCheckbox.d.ts +9 -0
- package/dist/components/Spacer/Spacer.d.ts +10 -0
- package/dist/index.cjs.js +92 -92
- package/dist/index.d.ts +4 -0
- package/dist/index.es.js +5562 -5538
- package/dist/index.umd.js +93 -93
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,15 +11,51 @@ 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.18.6] - 2025-09-24
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `Spacer`
|
|
19
|
+
- Adds vertical space
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- `CitationField`
|
|
24
|
+
- Update internal bubble menu to use `SelectableCitationManager`
|
|
25
|
+
|
|
26
|
+
## [0.18.5] - 2025-09-24
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
30
|
+
- `CitationField`
|
|
31
|
+
|
|
32
|
+
- added optional `placeholder` prop to override default placeholder text ("Start typing here...")
|
|
33
|
+
- [prototype] added `notApplicableName` prop which when a formik name is provided, a Not Applicable checkbox will appear
|
|
34
|
+
|
|
35
|
+
- `NotApplicable` - basic component that can be added to denote whether a form section is not applicable
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
|
|
39
|
+
- `Checkbox`
|
|
40
|
+
- Added `noError` prop to hide error section if validation is not needed. This removes the padding that is always in the document whether errors display or not.
|
|
41
|
+
|
|
14
42
|
## [0.18.4] - 2025-09-24
|
|
15
43
|
|
|
16
44
|
### Added
|
|
17
45
|
|
|
46
|
+
- `TableColumn`
|
|
47
|
+
- added `hideCol` prop, which when true, will hide the column from the `Table` or `PaginatedTable`
|
|
48
|
+
|
|
49
|
+
### Fixed
|
|
50
|
+
|
|
51
|
+
- `CitationManager`, `SelectableCitationManager`
|
|
52
|
+
- `onUpdateCitation` is optional. When not provided, the Edit icon buttons will not be displayed.
|
|
18
53
|
- `TableColumn` - added `hideCol` prop, which when true, will hide the column from the `Table` or `PaginatedTable`
|
|
19
54
|
|
|
20
55
|
### Fixed
|
|
21
56
|
|
|
22
|
-
- `CitationManager`, `SelectableCitationManager`
|
|
57
|
+
- `CitationManager`, `SelectableCitationManager`
|
|
58
|
+
- `onUpdateCitation` is optional. When not provided, the Edit icon buttons will not be displayed.
|
|
23
59
|
|
|
24
60
|
## [0.18.3] - 2025-09-24
|
|
25
61
|
|
|
@@ -49,6 +49,12 @@ type BaseCheckboxProps = {
|
|
|
49
49
|
* Used to customize the label when the static label option is selected or the field is readOnly.
|
|
50
50
|
*/
|
|
51
51
|
staticLabelProps?: TypographyProps;
|
|
52
|
+
/**
|
|
53
|
+
* Does not display error and does not leave padding for error.
|
|
54
|
+
*
|
|
55
|
+
* Use this if handling validation errors elsewhere.
|
|
56
|
+
*/
|
|
57
|
+
noError?: boolean;
|
|
52
58
|
};
|
|
53
59
|
export type CheckboxProps = BaseCheckboxProps & Omit<MuiCheckboxProps, 'checked' | 'name'>;
|
|
54
60
|
/**
|
|
@@ -78,6 +78,16 @@ export type CitationFieldProps = {
|
|
|
78
78
|
* help debug issues so developers can see specific details about an error.
|
|
79
79
|
*/
|
|
80
80
|
onError?: (err: string) => void;
|
|
81
|
+
/**
|
|
82
|
+
* Placeholder text. Default "Start typing here..."
|
|
83
|
+
*/
|
|
84
|
+
placeholder?: string;
|
|
85
|
+
/**
|
|
86
|
+
* [prototype] If defined, a "Not Applicable" checkbox is displayed.
|
|
87
|
+
*
|
|
88
|
+
* NOTE: This feature is a prototype and is not fully implemented.
|
|
89
|
+
*/
|
|
90
|
+
notApplicableName?: string;
|
|
81
91
|
};
|
|
82
92
|
/**
|
|
83
93
|
* Rich Text field -- uses MUI Tip Tap
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Except } from 'type-fest';
|
|
2
2
|
import { ControlledBubbleMenuProps } from 'mui-tiptap';
|
|
3
|
-
import {
|
|
4
|
-
export type CitationBubbleMenuProps = Partial<Except<ControlledBubbleMenuProps, 'open' | 'editor' | 'children'>> & Omit<
|
|
3
|
+
import { SelectableCitationManagerProps } from './SelectableCitationManager';
|
|
4
|
+
export type CitationBubbleMenuProps = Partial<Except<ControlledBubbleMenuProps, 'open' | 'editor' | 'children'>> & Omit<SelectableCitationManagerProps, 'onCancel' | 'onSelectCitations'> & {
|
|
5
5
|
onChanged?: (ids: number[]) => void;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CheckboxProps } from '../Checkbox/Checkbox';
|
|
2
|
+
export type NotApplicableCheckboxProps = CheckboxProps;
|
|
3
|
+
/**
|
|
4
|
+
* Simple Not Applicable checkbox. Intended to be used with other form inputs.
|
|
5
|
+
*
|
|
6
|
+
* NOTE: Does not show validation errors. Make sure to handle validation and display errors accordinly.
|
|
7
|
+
*/
|
|
8
|
+
export declare const NotApplicableCheckbox: (props: NotApplicableCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default NotApplicableCheckbox;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type SpacerProps = {
|
|
2
|
+
/**
|
|
3
|
+
* size, in pixels
|
|
4
|
+
*/
|
|
5
|
+
size?: number | 'x-small' | 'small' | 'medium' | 'large' | 'x-large';
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Basic spacer that adds vertical spacing
|
|
9
|
+
*/
|
|
10
|
+
export declare const Spacer: (props: SpacerProps) => import("react/jsx-runtime").JSX.Element;
|