@mtes-mct/monitor-ui 1.14.0 → 2.0.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 +15 -0
- package/elements/IconBox.d.ts +5 -2
- package/elements/IconButton.d.ts +1 -1
- package/fields/MultiSelect.d.ts +1 -1
- package/index.js +103 -100
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [1.14.0](https://github.com/MTES-MCT/monitor-ui/compare/v1.13.0...v1.14.0) (2022-12-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **fields:** prefix styled custom props with $ ([#127](https://github.com/MTES-MCT/monitor-ui/issues/127)) ([05d03ba](https://github.com/MTES-MCT/monitor-ui/commit/05d03ba933cf6c3d684b5cb1456a8115c9df5af1))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **elements:** add iconSize prop to IconButton ([#123](https://github.com/MTES-MCT/monitor-ui/issues/123)) ([e6b03ce](https://github.com/MTES-MCT/monitor-ui/commit/e6b03ce389e0f35e0ab3f485d34ec682d7474e0b))
|
|
12
|
+
* **fields:** add AutoComplete ([#125](https://github.com/MTES-MCT/monitor-ui/issues/125)) ([8fb5cef](https://github.com/MTES-MCT/monitor-ui/commit/8fb5cef36ce0d1446ceee7019a27da016736205c))
|
|
13
|
+
* **formiks:** add FormikAutoComplete ([#126](https://github.com/MTES-MCT/monitor-ui/issues/126)) ([644cc2b](https://github.com/MTES-MCT/monitor-ui/commit/644cc2be5aa21c9177ff344e65912834095595d0))
|
|
14
|
+
* **icons:** update ([#124](https://github.com/MTES-MCT/monitor-ui/issues/124)) ([81f3287](https://github.com/MTES-MCT/monitor-ui/commit/81f32875b3d5b7f491b038370d5e868e71e73f6a))
|
|
15
|
+
|
|
1
16
|
# [1.13.0](https://github.com/MTES-MCT/monitor-ui/compare/v1.12.1...v1.13.0) (2022-12-14)
|
|
2
17
|
|
|
3
18
|
|
package/elements/IconBox.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export type IconBoxProps = {
|
|
2
|
-
|
|
2
|
+
$color?: string;
|
|
3
|
+
/** In pixels */
|
|
3
4
|
$size?: number;
|
|
4
|
-
color?: string;
|
|
5
5
|
};
|
|
6
|
+
/**
|
|
7
|
+
* Internal component used to wrap SVG icon components
|
|
8
|
+
*/
|
|
6
9
|
export declare const IconBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IconBoxProps, never>;
|
package/elements/IconButton.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type IconButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'chi
|
|
|
5
5
|
Icon: FunctionComponent<IconProps>;
|
|
6
6
|
accent?: Accent;
|
|
7
7
|
color?: string;
|
|
8
|
-
/** In
|
|
8
|
+
/** In pixels, override `size` prop default values */
|
|
9
9
|
iconSize?: number;
|
|
10
10
|
size?: Size;
|
|
11
11
|
};
|
package/fields/MultiSelect.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { TagPickerProps } from 'rsuite';
|
|
|
3
3
|
import type { Promisable } from 'type-fest';
|
|
4
4
|
export type MultiSelectProps = Omit<TagPickerProps, 'as' | 'data' | 'defaultValue' | 'id' | 'onChange' | 'value'> & {
|
|
5
5
|
defaultValue?: string[];
|
|
6
|
-
/** Width in
|
|
6
|
+
/** Width in pixels */
|
|
7
7
|
fixedWidth?: number;
|
|
8
8
|
isLabelHidden?: boolean;
|
|
9
9
|
isLight?: boolean;
|