@mtes-mct/monitor-ui 1.8.0 → 1.9.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 -0
- package/GlobalStyle.d.ts +1 -0
- package/assets/fonts/04639b624be79623.woff2 +0 -0
- package/assets/fonts/0dde8bf21b805f48.woff2 +0 -0
- package/assets/fonts/4cc35a5f882145ec.woff2 +0 -0
- package/assets/fonts/6299dc189e426ddc.woff2 +0 -0
- package/assets/fonts/777bdf972910d740.woff2 +0 -0
- package/assets/fonts/a7d48cd4c9af2970.woff2 +0 -0
- package/assets/fonts/caf80cdb0cce3a53.woff2 +0 -0
- package/assets/fonts/f8b1684c8481e046.woff2 +0 -0
- package/assets/{rsuite-override.css → stylesheets/rsuite-override.css} +0 -0
- package/contants.d.ts +10 -0
- package/elements/Button.d.ts +10 -0
- package/index.d.ts +6 -2
- package/index.js +3163 -2947
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/assets/icons/ActivityFeed.svg +0 -23
- package/assets/icons/Alert.svg +0 -6
- package/assets/icons/Archive.svg +0 -10
- package/assets/icons/Attention.svg +0 -19
- package/assets/icons/Calendar.svg +0 -15
- package/assets/icons/Check.svg +0 -9
- package/assets/icons/Chevron.svg +0 -9
- package/assets/icons/Clock.svg +0 -15
- package/assets/icons/Close.svg +0 -9
- package/assets/icons/Confirm.svg +0 -7
- package/assets/icons/Control.svg +0 -35
- package/assets/icons/Delete.svg +0 -10
- package/assets/icons/Display.svg +0 -9
- package/assets/icons/DoubleChevron.svg +0 -13
- package/assets/icons/Download.svg +0 -9
- package/assets/icons/Duplicate.svg +0 -4
- package/assets/icons/Edit.svg +0 -7
- package/assets/icons/Favorite.svg +0 -6
- package/assets/icons/FilledArrow.svg +0 -6
- package/assets/icons/Filter.svg +0 -6
- package/assets/icons/Fishery.svg +0 -9
- package/assets/icons/FishingEngine.svg +0 -6
- package/assets/icons/FleetSegment.svg +0 -6
- package/assets/icons/Focus.svg +0 -23
- package/assets/icons/FocusVessel.svg +0 -10
- package/assets/icons/FocusZones.svg +0 -13
- package/assets/icons/Hide.svg +0 -4
- package/assets/icons/Info.svg +0 -19
- package/assets/icons/Infringement.svg +0 -6
- package/assets/icons/Landmark.svg +0 -7
- package/assets/icons/List.svg +0 -31
- package/assets/icons/MeasureAngle.svg +0 -10
- package/assets/icons/MeasureBrokenLine.svg +0 -6
- package/assets/icons/MeasureCircle.svg +0 -6
- package/assets/icons/MeasureLine.svg +0 -6
- package/assets/icons/Minus.svg +0 -9
- package/assets/icons/More.svg +0 -10
- package/assets/icons/Observation.svg +0 -7
- package/assets/icons/Pin.svg +0 -6
- package/assets/icons/Pinpoint.svg +0 -7
- package/assets/icons/PinpointHide.svg +0 -6
- package/assets/icons/Plus.svg +0 -6
- package/assets/icons/Reject.svg +0 -7
- package/assets/icons/Save.svg +0 -4
- package/assets/icons/Search.svg +0 -9
- package/assets/icons/SelectPolygon.svg +0 -17
- package/assets/icons/SelectRectangle.svg +0 -43
- package/assets/icons/SelectZone.svg +0 -17
- package/assets/icons/ShowErsMessages.svg +0 -12
- package/assets/icons/ShowXml.svg +0 -6
- package/assets/icons/SortingArrows.svg +0 -15
- package/assets/icons/Summary.svg +0 -29
- package/assets/icons/Tag.svg +0 -10
- package/assets/icons/Vessel.svg +0 -6
- package/assets/icons/ViewOnMap.svg +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# [1.8.0](https://github.com/MTES-MCT/monitor-ui/compare/v1.7.4...v1.8.0) (2022-11-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **icons:** add size prop ([#84](https://github.com/MTES-MCT/monitor-ui/issues/84)) ([5eec53c](https://github.com/MTES-MCT/monitor-ui/commit/5eec53c5afbbb44ef82fea9b36cf0da598e2188c))
|
|
7
|
+
* **icons:** integrate normalized icons as React components ([#83](https://github.com/MTES-MCT/monitor-ui/issues/83)) ([5606ba4](https://github.com/MTES-MCT/monitor-ui/commit/5606ba4cd7dad570039f3246a94b3dee6501e177))
|
|
8
|
+
|
|
1
9
|
## [1.7.4](https://github.com/MTES-MCT/monitor-ui/compare/v1.7.3...v1.7.4) (2022-11-30)
|
|
2
10
|
|
|
3
11
|
## [1.7.3](https://github.com/MTES-MCT/monitor-ui/compare/v1.7.2...v1.7.3) (2022-11-30)
|
package/GlobalStyle.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/contants.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Accent, Size } from '../contants';
|
|
2
|
+
import type { IconProps } from '../types';
|
|
3
|
+
import type { ButtonHTMLAttributes, FunctionComponent } from 'react';
|
|
4
|
+
export declare type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5
|
+
Icon?: FunctionComponent<IconProps>;
|
|
6
|
+
accent?: Accent;
|
|
7
|
+
isFullWidth?: boolean;
|
|
8
|
+
size?: Size;
|
|
9
|
+
};
|
|
10
|
+
export declare function Button({ accent, children, Icon, isFullWidth, size, type, ...nativeProps }: ButtonProps): JSX.Element;
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export { GlobalStyle } from './GlobalStyle';
|
|
1
2
|
export { THEME } from './theme';
|
|
2
|
-
export
|
|
3
|
+
export { ThemeProvider } from './ThemeProvider';
|
|
4
|
+
export { Button } from './elements/Button';
|
|
3
5
|
export { Field } from './elements/Field';
|
|
4
6
|
export { Fieldset } from './elements/Fieldset';
|
|
5
7
|
export { Label } from './elements/Label';
|
|
@@ -23,9 +25,11 @@ export { FormikMultiRadio } from './formiks/FormikMultiRadio';
|
|
|
23
25
|
export { FormikSelect } from './formiks/FormikSelect';
|
|
24
26
|
export { FormikTextarea } from './formiks/FormikTextarea';
|
|
25
27
|
export { FormikTextInput } from './formiks/FormikTextInput';
|
|
26
|
-
export
|
|
28
|
+
export * as Icon from './icons';
|
|
29
|
+
export { Accent, Size } from './contants';
|
|
27
30
|
export type { DateRange, IconProps, Option } from './types';
|
|
28
31
|
export type { PartialTheme, Theme } from './theme';
|
|
32
|
+
export type { ButtonProps } from './elements/Button';
|
|
29
33
|
export type { FieldProps } from './elements/Field';
|
|
30
34
|
export type { FieldsetProps } from './elements/Fieldset';
|
|
31
35
|
export type { LabelProps } from './elements/Label';
|