@mtes-mct/monitor-ui 2.4.1 → 2.5.1
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 +14 -0
- package/index.js +60 -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,17 @@
|
|
|
1
|
+
# [2.5.0](https://github.com/MTES-MCT/monitor-ui/compare/v2.4.1...v2.5.0) (2023-01-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add OnlyFontGlobalStyle for legacy integration ([16fb494](https://github.com/MTES-MCT/monitor-ui/commit/16fb4941ed0a6420f56ed85333bd2231317b9972))
|
|
7
|
+
|
|
8
|
+
## [2.4.1](https://github.com/MTES-MCT/monitor-ui/compare/v2.4.0...v2.4.1) (2023-01-04)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **build:** remove useless npm engine version ([16a4b43](https://github.com/MTES-MCT/monitor-ui/commit/16a4b4335c9a6dfeb8dfed4d6598d3ba8fd05b3e))
|
|
14
|
+
|
|
1
15
|
# [2.4.0](https://github.com/MTES-MCT/monitor-ui/compare/v2.3.2...v2.4.0) (2022-12-21)
|
|
2
16
|
|
|
3
17
|
|
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/
|
|
@@ -4015,6 +4073,7 @@ const Box$1 = styled.div `
|
|
|
4015
4073
|
box-shadow: inset 0px 0px 0px 1px ${p => p.theme.color.lightGray};
|
|
4016
4074
|
border-radius: 0;
|
|
4017
4075
|
margin-top: 2px;
|
|
4076
|
+
width: 495px;
|
|
4018
4077
|
|
|
4019
4078
|
.rs-picker-daterange-header,
|
|
4020
4079
|
.rs-calendar-header-time-toolbar,
|
|
@@ -4692,5 +4751,5 @@ function FormikTextInput({ name, ...originalProps }) {
|
|
|
4692
4751
|
return jsx(TextInput, { defaultValue: defaultValue, name: name, onChange: helpers.setValue, ...originalProps });
|
|
4693
4752
|
}
|
|
4694
4753
|
|
|
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 };
|
|
4754
|
+
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
4755
|
//# sourceMappingURL=index.js.map
|