@mtes-mct/monitor-ui 2.4.0 → 2.5.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 +25 -0
- package/index.js +59 -1
- package/index.js.map +1 -1
- package/package.json +2 -3
- package/src/OnlyFontGlobalStyle.d.ts +1 -0
- package/src/index.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
## [2.4.1](https://github.com/MTES-MCT/monitor-ui/compare/v2.4.0...v2.4.1) (2023-01-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **build:** remove useless npm engine version ([16a4b43](https://github.com/MTES-MCT/monitor-ui/commit/16a4b4335c9a6dfeb8dfed4d6598d3ba8fd05b3e))
|
|
7
|
+
|
|
8
|
+
# [2.4.0](https://github.com/MTES-MCT/monitor-ui/compare/v2.3.2...v2.4.0) (2022-12-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **build:** externalize Rsuite localization ([10a581d](https://github.com/MTES-MCT/monitor-ui/commit/10a581d2947c6d2a80234b0d43d203b808d5933e))
|
|
14
|
+
* **fields:** focus next date part input when already filled in DatePicker & DateRangePicker ([38219de](https://github.com/MTES-MCT/monitor-ui/commit/38219de79c0cd4d6aefce125452c662428419765))
|
|
15
|
+
* **fields:** improve DatePicker UX & UI ([a57f977](https://github.com/MTES-MCT/monitor-ui/commit/a57f977fcf9fa999e80b6ba7e256766b35cd10c4))
|
|
16
|
+
* **fields:** normalize calendar header title in DatePicker & DateRangePicker ([611f811](https://github.com/MTES-MCT/monitor-ui/commit/611f8118f8f596b2c8972a06928d6bbc98d2062c))
|
|
17
|
+
* **fields:** normalize colors between states in DatePicker & DateRangePicker ([9cebad3](https://github.com/MTES-MCT/monitor-ui/commit/9cebad36c053202f12fee0f0c2c78809c272b7ee))
|
|
18
|
+
* **fields:** normalize sizes in DatePicker & DateRangePicker ([b76c78e](https://github.com/MTES-MCT/monitor-ui/commit/b76c78e515c58ed421e5ca8cb5e6b5b7ac391092))
|
|
19
|
+
* **fields:** remove dependency cycle in DateRangePicker ([226941a](https://github.com/MTES-MCT/monitor-ui/commit/226941a8299f2f8a7918f5546e65868705cc0528))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* **icons:** add Target and Vms ([#154](https://github.com/MTES-MCT/monitor-ui/issues/154)) ([af70cfc](https://github.com/MTES-MCT/monitor-ui/commit/af70cfc85d56f9c7be689e305470b1a6ef4c1e86))
|
|
25
|
+
|
|
1
26
|
## [2.3.2](https://github.com/MTES-MCT/monitor-ui/compare/v2.3.1...v2.3.2) (2022-12-19)
|
|
2
27
|
|
|
3
28
|
|
package/index.js
CHANGED
|
@@ -93,6 +93,64 @@ const GlobalStyle = createGlobalStyle `
|
|
|
93
93
|
}
|
|
94
94
|
`;
|
|
95
95
|
|
|
96
|
+
const OnlyFontGlobalStyle = createGlobalStyle `
|
|
97
|
+
@font-face {
|
|
98
|
+
font-family: Marianne;
|
|
99
|
+
src: local('Marianne'), local('Marianne-Regular'), url(${MarianneRegular}) format('woff2');
|
|
100
|
+
font-weight: normal;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@font-face {
|
|
104
|
+
font-family: Marianne;
|
|
105
|
+
src: local('Marianne-Thin'), url(${MarianneLight}) format('woff2');
|
|
106
|
+
font-weight: 300;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@font-face {
|
|
110
|
+
font-family: Marianne;
|
|
111
|
+
src:local('Marianne-Medium'), url(${MarianneMedium}) format('woff2');
|
|
112
|
+
font-weight: 500;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@font-face {
|
|
116
|
+
font-family: Marianne;
|
|
117
|
+
src: local('Marianne-Medium_Italic'), url(${MarianneMediumItalic}) format('woff2');
|
|
118
|
+
font-weight: 500;
|
|
119
|
+
font-style: italic;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@font-face {
|
|
123
|
+
font-family: Marianne;
|
|
124
|
+
src: local('Marianne-Thin_Italic'), url(${MarianneLightItalic}) format('woff2');
|
|
125
|
+
font-weight: lighter;
|
|
126
|
+
font-style: italic;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@font-face {
|
|
130
|
+
font-family: Marianne;
|
|
131
|
+
src:local('Marianne-Regular_Italic'), url(${MarianneItalic}) format('woff2');
|
|
132
|
+
font-weight: normal;
|
|
133
|
+
font-style: italic;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@font-face {
|
|
137
|
+
font-family: Marianne;
|
|
138
|
+
src: local('Marianne-Bold'), url(${MarianneBold}) format('woff2');
|
|
139
|
+
font-weight: 700;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@font-face {
|
|
143
|
+
font-family: Marianne;
|
|
144
|
+
src: local('Marianne-Bold_Italic'), url(${MarianneBoldItalic}) format('woff2');
|
|
145
|
+
font-style: italic;
|
|
146
|
+
font-weight: 700;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
body {
|
|
150
|
+
font-family: Marianne, sans-serif;
|
|
151
|
+
}
|
|
152
|
+
`;
|
|
153
|
+
|
|
96
154
|
/* eslint-disable sort-keys-fix/sort-keys-fix, typescript-sort-keys/interface */
|
|
97
155
|
const THEME = {
|
|
98
156
|
// https://xd.adobe.com/view/b6d4c472-3fbe-4dec-9f14-38fe03872a3e-e387/screen/b9bdc1ba-5f07-4c4f-bd44-2d38b2c6f663/specs/
|
|
@@ -4692,5 +4750,5 @@ function FormikTextInput({ name, ...originalProps }) {
|
|
|
4692
4750
|
return jsx(TextInput, { defaultValue: defaultValue, name: name, onChange: helpers.setValue, ...originalProps });
|
|
4693
4751
|
}
|
|
4694
4752
|
|
|
4695
|
-
export { Accent, AutoComplete, Button, Checkbox, DatePicker, DateRangePicker, Dropdown, Field$2 as Field, Fieldset, FormikAutoComplete, FormikCheckbox, FormikDatePicker, FormikDateRangePicker, FormikEffect, FormikMultiCheckbox, FormikMultiRadio, FormikMultiSelect, FormikNumberInput, FormikSelect, FormikTextInput, FormikTextarea, GlobalStyle, index as Icon, IconButton, Label, Legend, MultiCheckbox, MultiRadio, MultiSelect, MultiZoneEditor, NumberInput, Select, Size, THEME, Tag$1 as Tag, TagGroup, TextInput, Textarea, ThemeProvider };
|
|
4753
|
+
export { Accent, AutoComplete, Button, Checkbox, DatePicker, DateRangePicker, Dropdown, Field$2 as Field, Fieldset, FormikAutoComplete, FormikCheckbox, FormikDatePicker, FormikDateRangePicker, FormikEffect, FormikMultiCheckbox, FormikMultiRadio, FormikMultiSelect, FormikNumberInput, FormikSelect, FormikTextInput, FormikTextarea, GlobalStyle, index as Icon, IconButton, Label, Legend, MultiCheckbox, MultiRadio, MultiSelect, MultiZoneEditor, NumberInput, OnlyFontGlobalStyle, Select, Size, THEME, Tag$1 as Tag, TagGroup, TextInput, Textarea, ThemeProvider };
|
|
4696
4754
|
//# sourceMappingURL=index.js.map
|