@simoncomputing/mui-bueno-v2 0.21.1 → 0.23.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 +37 -0
- package/dist/@types/index.d.ts +0 -2
- package/dist/components/Form/Inputs/BaseInputProps.d.ts +2 -0
- package/dist/components/Form/Inputs/TextArea/TextArea.d.ts +7 -0
- package/dist/index.cjs.js +89 -89
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +2819 -2804
- package/dist/index.umd.js +90 -90
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,43 @@ 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.23.0] - 2026-01-23
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- `TextField`
|
|
19
|
+
- Fixed lag while typing/interacting with the field, due to formik's `setValue` being called in the `onChange` handler.
|
|
20
|
+
- Fixed formik not being notified of the field blurring, which can cause incorrect `touched` value for the field.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- `TextField`
|
|
25
|
+
- Autoformatting (`autoFormat` & `format` props) will occur during on blur instead of on change, due to fix mentioned above.
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- New `TextArea` component
|
|
30
|
+
- Wrapper for `TextField`, which will hardcode the `multiline` prop and provide a default for the `rows` prop (`3`).
|
|
31
|
+
|
|
32
|
+
## [0.22.0] - 2026-01-21
|
|
33
|
+
|
|
34
|
+
### Removed
|
|
35
|
+
|
|
36
|
+
- `Table`, `PaginatedTable`
|
|
37
|
+
- Removed `TableColumn.sortName`. Use `TableColumn.key` instead.
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
|
|
41
|
+
- `Table`, `PaginatedTable`
|
|
42
|
+
- Fixed `Table` using `fieldName` and `key` inconsistently. This has been fixed so that the `Table` component will use `key` wherever possible, if specified. Otherwise will fallback to `fieldName`. This affects the following:
|
|
43
|
+
- sorting
|
|
44
|
+
- auto-labeling of columns
|
|
45
|
+
- props
|
|
46
|
+
- `hideColumnsOnMobile`
|
|
47
|
+
- `columns` -- `TableColumn.hideCol`
|
|
48
|
+
- `allowSortCols`
|
|
49
|
+
- internal component keys & class names
|
|
50
|
+
|
|
14
51
|
## [0.21.1] - 2025-12-18
|
|
15
52
|
|
|
16
53
|
### Changed
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -117,7 +117,6 @@ export type EnvironmentInfo = {
|
|
|
117
117
|
* is the whole object, in case you need to determine styling based on another property
|
|
118
118
|
* within the object. isMobile in case your styling depends on whether the user is viewing
|
|
119
119
|
* on a phone vs tablet/desktop
|
|
120
|
-
* @property {string} sortName - (Optional) Passed instead of `fieldName` to onSortChange(fieldName, ...). Useful if you're rendering the same object in 2+ columns and need a way to differentiate when sorting.
|
|
121
120
|
* @property {SxProps<Theme>} tableCellSx - (Optional) styles applies to TableCell (non-mobile)
|
|
122
121
|
* @property {boolean} hideCol - (Optional) if true, this column will not be displayed
|
|
123
122
|
* @property {string} tooltip - (Optional) if provided, shows a help icon with the specified tooltip when hovered
|
|
@@ -127,7 +126,6 @@ export type TableColumn<T, K extends keyof T> = {
|
|
|
127
126
|
label?: string;
|
|
128
127
|
fieldName: K;
|
|
129
128
|
render?: (value: T[K], object: T, isMobile: boolean) => React.ReactNode;
|
|
130
|
-
sortName?: string;
|
|
131
129
|
tableCellSx?: SxProps<Theme>;
|
|
132
130
|
hideCol?: boolean;
|
|
133
131
|
tooltip?: string;
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* Base props for ALL inputs
|
|
3
3
|
*
|
|
4
4
|
* TODO: Add other shared props, if possible. Maybe `label`, `required`, etc.?
|
|
5
|
+
*
|
|
6
|
+
* TODO: make sure components are correctly calling formik's handlers (onChange, onBlur, etc.) like TextField
|
|
5
7
|
*/
|
|
6
8
|
export type BaseInputProps = {
|
|
7
9
|
/**
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TextFieldProps } from '../TextField/TextField';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export type TextAreaProps = Omit<TextFieldProps, 'multiline'>;
|
|
4
|
+
/**
|
|
5
|
+
* TextArea is a TextField but has more lines. Intended for larger blocks of text.
|
|
6
|
+
*/
|
|
7
|
+
export declare const TextArea: React.FC<TextAreaProps>;
|