@mtes-mct/monitor-ui 2.4.1 → 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 +7 -0
- package/index.js +59 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/OnlyFontGlobalStyle.d.ts +1 -0
- package/src/index.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
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
|
+
|
|
1
8
|
# [2.4.0](https://github.com/MTES-MCT/monitor-ui/compare/v2.3.2...v2.4.0) (2022-12-21)
|
|
2
9
|
|
|
3
10
|
|
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
|