@mtes-mct/monitor-ui 1.7.4 → 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 +10 -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/elements/IconBox.d.ts +6 -0
- package/icons/ActivityFeed.d.ts +2 -0
- package/icons/Alert.d.ts +2 -0
- package/icons/Archive.d.ts +2 -0
- package/icons/Attention.d.ts +2 -0
- package/icons/Calendar.d.ts +2 -0
- package/icons/Check.d.ts +2 -0
- package/icons/Chevron.d.ts +2 -0
- package/icons/Clock.d.ts +2 -0
- package/icons/Close.d.ts +2 -0
- package/icons/Confirm.d.ts +2 -0
- package/icons/Control.d.ts +2 -0
- package/icons/Delete.d.ts +2 -0
- package/icons/Display.d.ts +2 -0
- package/icons/DoubleChevron.d.ts +2 -0
- package/icons/Download.d.ts +2 -0
- package/icons/Duplicate.d.ts +2 -0
- package/icons/Edit.d.ts +2 -0
- package/icons/Favorite.d.ts +2 -0
- package/icons/FilledArrow.d.ts +2 -0
- package/icons/Filter.d.ts +2 -0
- package/icons/Fishery.d.ts +2 -0
- package/icons/FishingEngine.d.ts +2 -0
- package/icons/FleetSegment.d.ts +2 -0
- package/icons/Focus.d.ts +2 -0
- package/icons/FocusVessel.d.ts +2 -0
- package/icons/FocusZones.d.ts +2 -0
- package/icons/Hide.d.ts +2 -0
- package/icons/Info.d.ts +2 -0
- package/icons/Infringement.d.ts +2 -0
- package/icons/Landmark.d.ts +2 -0
- package/icons/List.d.ts +2 -0
- package/icons/MeasureAngle.d.ts +2 -0
- package/icons/MeasureBrokenLine.d.ts +2 -0
- package/icons/MeasureCircle.d.ts +2 -0
- package/icons/MeasureLine.d.ts +2 -0
- package/icons/Minus.d.ts +2 -0
- package/icons/More.d.ts +2 -0
- package/icons/Observation.d.ts +2 -0
- package/icons/Pin.d.ts +2 -0
- package/icons/Pinpoint.d.ts +2 -0
- package/icons/PinpointHide.d.ts +2 -0
- package/icons/Plus.d.ts +2 -0
- package/icons/Reject.d.ts +2 -0
- package/icons/Save.d.ts +2 -0
- package/icons/Search.d.ts +2 -0
- package/icons/SelectPolygon.d.ts +2 -0
- package/icons/SelectRectangle.d.ts +2 -0
- package/icons/SelectZone.d.ts +2 -0
- package/icons/ShowErsMessages.d.ts +2 -0
- package/icons/ShowXml.d.ts +2 -0
- package/icons/SortingArrows.d.ts +2 -0
- package/icons/Summary.d.ts +2 -0
- package/icons/Tag.d.ts +2 -0
- package/icons/Vessel.d.ts +2 -0
- package/icons/ViewOnMap.d.ts +2 -0
- package/icons/index.d.ts +56 -0
- package/index.d.ts +7 -2
- package/index.js +3179 -2681
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/{types/index.d.ts → types.d.ts} +3 -0
- package/constants.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
9
|
+
## [1.7.4](https://github.com/MTES-MCT/monitor-ui/compare/v1.7.3...v1.7.4) (2022-11-30)
|
|
10
|
+
|
|
1
11
|
## [1.7.3](https://github.com/MTES-MCT/monitor-ui/compare/v1.7.2...v1.7.3) (2022-11-30)
|
|
2
12
|
|
|
3
13
|
|
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/icons/Alert.d.ts
ADDED
package/icons/Check.d.ts
ADDED
package/icons/Clock.d.ts
ADDED
package/icons/Close.d.ts
ADDED
package/icons/Edit.d.ts
ADDED
package/icons/Focus.d.ts
ADDED
package/icons/Hide.d.ts
ADDED
package/icons/Info.d.ts
ADDED
package/icons/List.d.ts
ADDED
package/icons/Minus.d.ts
ADDED
package/icons/More.d.ts
ADDED
package/icons/Pin.d.ts
ADDED
package/icons/Plus.d.ts
ADDED
package/icons/Save.d.ts
ADDED
package/icons/Tag.d.ts
ADDED
package/icons/index.d.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ActivityFeed } from './ActivityFeed';
|
|
2
|
+
import { Alert } from './Alert';
|
|
3
|
+
import { Archive } from './Archive';
|
|
4
|
+
import { Attention } from './Attention';
|
|
5
|
+
import { Calendar } from './Calendar';
|
|
6
|
+
import { Check } from './Check';
|
|
7
|
+
import { Chevron } from './Chevron';
|
|
8
|
+
import { Clock } from './Clock';
|
|
9
|
+
import { Close } from './Close';
|
|
10
|
+
import { Confirm } from './Confirm';
|
|
11
|
+
import { Control } from './Control';
|
|
12
|
+
import { Delete } from './Delete';
|
|
13
|
+
import { Display } from './Display';
|
|
14
|
+
import { DoubleChevron } from './DoubleChevron';
|
|
15
|
+
import { Download } from './Download';
|
|
16
|
+
import { Duplicate } from './Duplicate';
|
|
17
|
+
import { Edit } from './Edit';
|
|
18
|
+
import { Favorite } from './Favorite';
|
|
19
|
+
import { FilledArrow } from './FilledArrow';
|
|
20
|
+
import { Filter } from './Filter';
|
|
21
|
+
import { Fishery } from './Fishery';
|
|
22
|
+
import { FishingEngine } from './FishingEngine';
|
|
23
|
+
import { FleetSegment } from './FleetSegment';
|
|
24
|
+
import { Focus } from './Focus';
|
|
25
|
+
import { FocusVessel } from './FocusVessel';
|
|
26
|
+
import { FocusZones } from './FocusZones';
|
|
27
|
+
import { Hide } from './Hide';
|
|
28
|
+
import { Info } from './Info';
|
|
29
|
+
import { Infringement } from './Infringement';
|
|
30
|
+
import { Landmark } from './Landmark';
|
|
31
|
+
import { List } from './List';
|
|
32
|
+
import { MeasureAngle } from './MeasureAngle';
|
|
33
|
+
import { MeasureBrokenLine } from './MeasureBrokenLine';
|
|
34
|
+
import { MeasureCircle } from './MeasureCircle';
|
|
35
|
+
import { MeasureLine } from './MeasureLine';
|
|
36
|
+
import { Minus } from './Minus';
|
|
37
|
+
import { More } from './More';
|
|
38
|
+
import { Observation } from './Observation';
|
|
39
|
+
import { Pin } from './Pin';
|
|
40
|
+
import { Pinpoint } from './Pinpoint';
|
|
41
|
+
import { PinpointHide } from './PinpointHide';
|
|
42
|
+
import { Plus } from './Plus';
|
|
43
|
+
import { Reject } from './Reject';
|
|
44
|
+
import { Save } from './Save';
|
|
45
|
+
import { Search } from './Search';
|
|
46
|
+
import { SelectPolygon } from './SelectPolygon';
|
|
47
|
+
import { SelectRectangle } from './SelectRectangle';
|
|
48
|
+
import { SelectZone } from './SelectZone';
|
|
49
|
+
import { ShowErsMessages } from './ShowErsMessages';
|
|
50
|
+
import { ShowXml } from './ShowXml';
|
|
51
|
+
import { SortingArrows } from './SortingArrows';
|
|
52
|
+
import { Summary } from './Summary';
|
|
53
|
+
import { Tag } from './Tag';
|
|
54
|
+
import { Vessel } from './Vessel';
|
|
55
|
+
import { ViewOnMap } from './ViewOnMap';
|
|
56
|
+
export { ActivityFeed, Alert, Archive, Attention, Calendar, Check, Chevron, Clock, Close, Confirm, Control, Delete, Display, DoubleChevron, Download, Duplicate, Edit, Favorite, FilledArrow, Filter, Fishery, FishingEngine, FleetSegment, Focus, FocusVessel, FocusZones, Hide, Info, Infringement, Landmark, List, MeasureAngle, MeasureBrokenLine, MeasureCircle, MeasureLine, Minus, More, Observation, Pin, Pinpoint, PinpointHide, Plus, Reject, Save, Search, SelectPolygon, SelectRectangle, SelectZone, ShowErsMessages, ShowXml, SortingArrows, Summary, Tag, Vessel, ViewOnMap };
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { GlobalStyle } from './GlobalStyle';
|
|
2
2
|
export { THEME } from './theme';
|
|
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,8 +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';
|
|
30
|
+
export type { DateRange, IconProps, Option } from './types';
|
|
27
31
|
export type { PartialTheme, Theme } from './theme';
|
|
32
|
+
export type { ButtonProps } from './elements/Button';
|
|
28
33
|
export type { FieldProps } from './elements/Field';
|
|
29
34
|
export type { FieldsetProps } from './elements/Fieldset';
|
|
30
35
|
export type { LabelProps } from './elements/Label';
|