@simoncomputing/mui-bueno-v2 0.19.24 → 0.20.1
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 -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 +29636 -27945
- package/dist/index.umd.js +130 -125
- package/package.json +85 -85
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.20.1] - 2025-12-18
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- `CitationField`, `CitationManager`, `SelectableCitationManager`
|
|
19
|
+
- URL field is now free-text (No auto-formatting of URL)
|
|
20
|
+
|
|
21
|
+
## [0.20.0] - 2025-12-10
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
- `CitationField`
|
|
27
|
+
- Updated style handling in the bubble/popup menu (resolves breaking change from Mui TipTap)
|
|
28
|
+
|
|
14
29
|
## [0.19.24] - 2025-12-08
|
|
15
30
|
|
|
16
31
|
### Added
|
|
@@ -186,7 +201,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
186
201
|
### Added
|
|
187
202
|
|
|
188
203
|
- `Table`/`PaginatedTable`
|
|
189
|
-
|
|
190
204
|
- 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
205
|
|
|
192
206
|
- Added this changelog to Storybook
|
|
@@ -223,7 +237,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
223
237
|
### Changed
|
|
224
238
|
|
|
225
239
|
- `Error`
|
|
226
|
-
|
|
227
240
|
- Renamed component to `ValidationError` to avoid confusion with JS's built-in Error class. **Migration:** Rename references to `Error` component to `ValidationError`.
|
|
228
241
|
- 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
242
|
|
|
@@ -242,12 +255,10 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
242
255
|
### Added
|
|
243
256
|
|
|
244
257
|
- `SelectableCitationManager`
|
|
245
|
-
|
|
246
258
|
- 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
259
|
- Added built-in close button to the top-right corner. Clicking will trigger `onClose`.
|
|
248
260
|
|
|
249
261
|
- `CitationManager`
|
|
250
|
-
|
|
251
262
|
- Added `readOnly` prop which when true, will hide the ability to create, update and delete citations/attachments.
|
|
252
263
|
|
|
253
264
|
- `CitationField`
|
|
@@ -256,11 +267,9 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
256
267
|
### Changed
|
|
257
268
|
|
|
258
269
|
- `CitationField`
|
|
259
|
-
|
|
260
270
|
- 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
271
|
|
|
262
272
|
- `CitationField`, `CitationManager`, `SelectableCitationManager`
|
|
263
|
-
|
|
264
273
|
- 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
274
|
- Adjusted spacing of fields on Attachment create/edit screen
|
|
266
275
|
|
|
@@ -311,7 +320,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
311
320
|
### Fixed
|
|
312
321
|
|
|
313
322
|
- `CitationField`, `CitationManger`, `SelectableCitationManager`
|
|
314
|
-
|
|
315
323
|
- Empty form will display if an error occurs when clicking on the edit button and retrieve API call fails
|
|
316
324
|
|
|
317
325
|
- `Radio`/`RadioGroup`
|
|
@@ -334,13 +342,11 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
334
342
|
### Added
|
|
335
343
|
|
|
336
344
|
- `CitationField`
|
|
337
|
-
|
|
338
345
|
- Added helper text for Classification field
|
|
339
346
|
|
|
340
347
|
- `CitationField`, `CitationManger`, `SelectableCitationManager`
|
|
341
348
|
- Added `canOpenPublicUrls` prop to enable launch url button to display for public source URLs
|
|
342
349
|
- `CitationManger`, `SelectableCitationManager`
|
|
343
|
-
|
|
344
350
|
- Added tooltips to actions (Edit, Delete, Download, Open URL)
|
|
345
351
|
- Improved performance of Delete popper by reducing unnecessary re-renders
|
|
346
352
|
|
|
@@ -402,7 +408,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
402
408
|
### Added
|
|
403
409
|
|
|
404
410
|
- `CitationField`
|
|
405
|
-
|
|
406
411
|
- added optional `placeholder` prop to override default placeholder text ("Start typing here...")
|
|
407
412
|
- [prototype] added `notApplicableName` prop which when a formik name is provided, a Not Applicable checkbox will appear
|
|
408
413
|
|
|
@@ -444,7 +449,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
444
449
|
### Changed
|
|
445
450
|
|
|
446
451
|
- `CitationManager` & `SelectableCitationManager`
|
|
447
|
-
|
|
448
452
|
- Moved actions displayed by `addlActions` to the end of the column, to the right of the delete button
|
|
449
453
|
- `onCreateCitation` is optional. When not provided, the Add Citation & Add Attachment buttons will not be displayed.
|
|
450
454
|
|
|
@@ -466,7 +470,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
466
470
|
### Fixed
|
|
467
471
|
|
|
468
472
|
- `CitationManager` & `SelectableCitationManager`
|
|
469
|
-
|
|
470
473
|
- Fixed citation `type` showing attachment icon when `fileName` is null
|
|
471
474
|
- Fixed `url` displaying instead of `fileName` for attachments
|
|
472
475
|
- Fixed `accessedAt` displaying a value for attachments
|
|
@@ -911,7 +914,6 @@ Summary: Updates the expandable row functionality in `Table` / `PaginatedTable`
|
|
|
911
914
|
### Added
|
|
912
915
|
|
|
913
916
|
- `Table`/`PaginatedTable`
|
|
914
|
-
|
|
915
917
|
- added `errorTableMsg` prop which, when defined, will show an error message in the table
|
|
916
918
|
- 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
919
|
|
|
@@ -1322,7 +1324,6 @@ IMPORTANT: I recommend removing `PageResponse` from your project's `index.d.ts`
|
|
|
1322
1324
|
### Changed
|
|
1323
1325
|
|
|
1324
1326
|
- `Autocomplete` - major refactor (recommend checking out Storybook for updated examples)
|
|
1325
|
-
|
|
1326
1327
|
- No longer requires `AutocompleteOption` wrapper. To migrate, if you're using objects, make sure to override `getOptionLabel` and `isOptionEqualToValue`.
|
|
1327
1328
|
- `onChange` - added `event` param. To migrate, update your `onChange` signature: `(val: T | null)` --> `(event, val: T | null)`
|
|
1328
1329
|
- `inputValue` removed from available props since this will be handled by formik. To migrate, remove this prop and override `getOptionLabel` instead.
|
|
@@ -1367,7 +1368,6 @@ IMPORTANT: I recommend removing `PageResponse` from your project's `index.d.ts`
|
|
|
1367
1368
|
### Fixed
|
|
1368
1369
|
|
|
1369
1370
|
- `Table`/`PaginatedTable`
|
|
1370
|
-
|
|
1371
1371
|
- fixed row/card not highlighting on hover (when `onRowClick` is defined)
|
|
1372
1372
|
- fixed mobile card not showing pointer-style cursor on hover (when `onRowClick` is defined)
|
|
1373
1373
|
|
|
@@ -1420,7 +1420,6 @@ IMPORTANT: I recommend removing `PageResponse` from your project's `index.d.ts`
|
|
|
1420
1420
|
### Changed
|
|
1421
1421
|
|
|
1422
1422
|
- 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
1423
|
- `Autocomplete`/`MultiAutocomplete`
|
|
1425
1424
|
- `Location`
|
|
1426
1425
|
- `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
|
/**
|