@simoncomputing/mui-bueno-v2 0.19.24 → 0.20.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 +8 -16
- package/dist/components/Form/Inputs/CitationField/CitationManager/CitationBubbleMenu.d.ts +1 -2
- package/dist/index.cjs.js +131 -126
- package/dist/index.es.js +29685 -27987
- package/dist/index.umd.js +130 -125
- package/package.json +85 -85
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,14 @@ 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.20.0] - 2025-12-10
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
- `CitationField`
|
|
20
|
+
- Updated style handling in the bubble/popup menu (resolves breaking change from Mui TipTap)
|
|
21
|
+
|
|
14
22
|
## [0.19.24] - 2025-12-08
|
|
15
23
|
|
|
16
24
|
### Added
|
|
@@ -186,7 +194,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
186
194
|
### Added
|
|
187
195
|
|
|
188
196
|
- `Table`/`PaginatedTable`
|
|
189
|
-
|
|
190
197
|
- Added additional column to the left of the table when using expandable columns that will display up/down chevrons indicating the row is expandable. In mobile/card view, "Show More"/"Show Less" buttons will be displayed at the bottom of the card instead.
|
|
191
198
|
|
|
192
199
|
- Added this changelog to Storybook
|
|
@@ -223,7 +230,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
223
230
|
### Changed
|
|
224
231
|
|
|
225
232
|
- `Error`
|
|
226
|
-
|
|
227
233
|
- Renamed component to `ValidationError` to avoid confusion with JS's built-in Error class. **Migration:** Rename references to `Error` component to `ValidationError`.
|
|
228
234
|
- Replaced `collapseWhenEmpty` with `errorMode`, which supports an additional mode `none` to always hide errors. **Migration:** When `collapseWithEmpty` is true, use `errorMode="hidden"` or `errorMode="collapse"`.
|
|
229
235
|
|
|
@@ -242,12 +248,10 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
242
248
|
### Added
|
|
243
249
|
|
|
244
250
|
- `SelectableCitationManager`
|
|
245
|
-
|
|
246
251
|
- Added `readOnly` prop which when true, will hide the ability to create, update, delete and select/unselect citations/attachments. Note: checkboxes will still be visible but will be disabled.
|
|
247
252
|
- Added built-in close button to the top-right corner. Clicking will trigger `onClose`.
|
|
248
253
|
|
|
249
254
|
- `CitationManager`
|
|
250
|
-
|
|
251
255
|
- Added `readOnly` prop which when true, will hide the ability to create, update and delete citations/attachments.
|
|
252
256
|
|
|
253
257
|
- `CitationField`
|
|
@@ -256,11 +260,9 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
256
260
|
### Changed
|
|
257
261
|
|
|
258
262
|
- `CitationField`
|
|
259
|
-
|
|
260
263
|
- Citation/Attachment bubble menu will now open when clicking on citations embedded in the field when the field is `readOnly`. When clicked, the popup will show a readonly view of the citations/attachments -- create, edit, delete and select/unselect actions are hidden, but the user can still download, view, and launch links. Checkboxes will be disabled but still visible.
|
|
261
264
|
|
|
262
265
|
- `CitationField`, `CitationManager`, `SelectableCitationManager`
|
|
263
|
-
|
|
264
266
|
- When adding an attachment, the "Upload a file" button for selecting a file has been relabeled to "Select a file", and "Add new attachment" button has been relabeled to "Upload Attachment"
|
|
265
267
|
- Adjusted spacing of fields on Attachment create/edit screen
|
|
266
268
|
|
|
@@ -311,7 +313,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
311
313
|
### Fixed
|
|
312
314
|
|
|
313
315
|
- `CitationField`, `CitationManger`, `SelectableCitationManager`
|
|
314
|
-
|
|
315
316
|
- Empty form will display if an error occurs when clicking on the edit button and retrieve API call fails
|
|
316
317
|
|
|
317
318
|
- `Radio`/`RadioGroup`
|
|
@@ -334,13 +335,11 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
334
335
|
### Added
|
|
335
336
|
|
|
336
337
|
- `CitationField`
|
|
337
|
-
|
|
338
338
|
- Added helper text for Classification field
|
|
339
339
|
|
|
340
340
|
- `CitationField`, `CitationManger`, `SelectableCitationManager`
|
|
341
341
|
- Added `canOpenPublicUrls` prop to enable launch url button to display for public source URLs
|
|
342
342
|
- `CitationManger`, `SelectableCitationManager`
|
|
343
|
-
|
|
344
343
|
- Added tooltips to actions (Edit, Delete, Download, Open URL)
|
|
345
344
|
- Improved performance of Delete popper by reducing unnecessary re-renders
|
|
346
345
|
|
|
@@ -402,7 +401,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
402
401
|
### Added
|
|
403
402
|
|
|
404
403
|
- `CitationField`
|
|
405
|
-
|
|
406
404
|
- added optional `placeholder` prop to override default placeholder text ("Start typing here...")
|
|
407
405
|
- [prototype] added `notApplicableName` prop which when a formik name is provided, a Not Applicable checkbox will appear
|
|
408
406
|
|
|
@@ -444,7 +442,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
444
442
|
### Changed
|
|
445
443
|
|
|
446
444
|
- `CitationManager` & `SelectableCitationManager`
|
|
447
|
-
|
|
448
445
|
- Moved actions displayed by `addlActions` to the end of the column, to the right of the delete button
|
|
449
446
|
- `onCreateCitation` is optional. When not provided, the Add Citation & Add Attachment buttons will not be displayed.
|
|
450
447
|
|
|
@@ -466,7 +463,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
466
463
|
### Fixed
|
|
467
464
|
|
|
468
465
|
- `CitationManager` & `SelectableCitationManager`
|
|
469
|
-
|
|
470
466
|
- Fixed citation `type` showing attachment icon when `fileName` is null
|
|
471
467
|
- Fixed `url` displaying instead of `fileName` for attachments
|
|
472
468
|
- Fixed `accessedAt` displaying a value for attachments
|
|
@@ -911,7 +907,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
911
907
|
### Added
|
|
912
908
|
|
|
913
909
|
- `Table`/`PaginatedTable`
|
|
914
|
-
|
|
915
910
|
- added `errorTableMsg` prop which, when defined, will show an error message in the table
|
|
916
911
|
- added `retryCallback` prop which, when defined AND `errorTableMsg` is defined, will display a "Retry?" button for the user to click to trigger a new API fetch.
|
|
917
912
|
|
|
@@ -1322,7 +1317,6 @@ IMPORTANT: I recommend removing `PageResponse` from your project's `index.d.ts`
|
|
|
1322
1317
|
### Changed
|
|
1323
1318
|
|
|
1324
1319
|
- `Autocomplete` - major refactor (recommend checking out Storybook for updated examples)
|
|
1325
|
-
|
|
1326
1320
|
- No longer requires `AutocompleteOption` wrapper. To migrate, if you're using objects, make sure to override `getOptionLabel` and `isOptionEqualToValue`.
|
|
1327
1321
|
- `onChange` - added `event` param. To migrate, update your `onChange` signature: `(val: T | null)` --> `(event, val: T | null)`
|
|
1328
1322
|
- `inputValue` removed from available props since this will be handled by formik. To migrate, remove this prop and override `getOptionLabel` instead.
|
|
@@ -1367,7 +1361,6 @@ IMPORTANT: I recommend removing `PageResponse` from your project's `index.d.ts`
|
|
|
1367
1361
|
### Fixed
|
|
1368
1362
|
|
|
1369
1363
|
- `Table`/`PaginatedTable`
|
|
1370
|
-
|
|
1371
1364
|
- fixed row/card not highlighting on hover (when `onRowClick` is defined)
|
|
1372
1365
|
- fixed mobile card not showing pointer-style cursor on hover (when `onRowClick` is defined)
|
|
1373
1366
|
|
|
@@ -1420,7 +1413,6 @@ IMPORTANT: I recommend removing `PageResponse` from your project's `index.d.ts`
|
|
|
1420
1413
|
### Changed
|
|
1421
1414
|
|
|
1422
1415
|
- Modified the default style settings for the static label (`staticLabel` or `readOnly` is true) to make it easier for users to differentiate between the label and value for the following components:
|
|
1423
|
-
|
|
1424
1416
|
- `Autocomplete`/`MultiAutocomplete`
|
|
1425
1417
|
- `Location`
|
|
1426
1418
|
- `Select`
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Except } from 'type-fest';
|
|
2
1
|
import { ControlledBubbleMenuProps } from 'mui-tiptap';
|
|
3
2
|
import { SelectableCitationManagerProps } from './SelectableCitationManager';
|
|
4
|
-
export type CitationBubbleMenuProps = Partial<
|
|
3
|
+
export type CitationBubbleMenuProps = Partial<Omit<ControlledBubbleMenuProps, 'open' | 'editor' | 'children' | 'classes'>> & Omit<SelectableCitationManagerProps, 'onCancel' | 'onSelectCitations'> & {
|
|
5
4
|
onChanged?: (ids: number[]) => void;
|
|
6
5
|
};
|
|
7
6
|
/**
|