@mtes-mct/monitor-ui 1.9.2 → 1.10.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/ThemeProvider.d.ts +1 -1
  3. package/assets/stylesheets/rsuite-override.css +0 -42
  4. package/components/Dropdown/Item.d.ts +7 -0
  5. package/components/Dropdown/index.d.ts +11 -0
  6. package/elements/Button.d.ts +4 -1
  7. package/elements/Field.d.ts +1 -1
  8. package/elements/Fieldset.d.ts +1 -1
  9. package/elements/IconBox.d.ts +1 -1
  10. package/elements/IconButton.d.ts +9 -0
  11. package/elements/Label.d.ts +1 -1
  12. package/elements/Legend.d.ts +1 -1
  13. package/fields/Checkbox.d.ts +1 -1
  14. package/fields/DatePicker/CalendarPicker.d.ts +1 -1
  15. package/fields/DatePicker/index.d.ts +1 -1
  16. package/fields/DateRangePicker/DateInput.d.ts +1 -1
  17. package/fields/DateRangePicker/NumberInput.d.ts +1 -1
  18. package/fields/DateRangePicker/RangeCalendarPicker.d.ts +1 -1
  19. package/fields/DateRangePicker/RangedTimePicker.d.ts +1 -1
  20. package/fields/DateRangePicker/TimeInput.d.ts +1 -1
  21. package/fields/DateRangePicker/index.d.ts +1 -1
  22. package/fields/DateRangePicker/types.d.ts +4 -4
  23. package/fields/MultiCheckbox.d.ts +1 -1
  24. package/fields/MultiRadio.d.ts +1 -1
  25. package/fields/MultiSelect.d.ts +1 -1
  26. package/fields/Select.d.ts +1 -1
  27. package/fields/TextInput.d.ts +1 -1
  28. package/fields/Textarea.d.ts +1 -1
  29. package/formiks/FormikCheckbox.d.ts +1 -1
  30. package/formiks/FormikDatePicker.d.ts +1 -1
  31. package/formiks/FormikDateRangePicker.d.ts +1 -1
  32. package/formiks/FormikEffect.d.ts +1 -1
  33. package/formiks/FormikMultiCheckbox.d.ts +1 -1
  34. package/formiks/FormikMultiRadio.d.ts +1 -1
  35. package/formiks/FormikMultiSelect.d.ts +1 -1
  36. package/formiks/FormikSelect.d.ts +1 -1
  37. package/formiks/FormikTextInput.d.ts +1 -1
  38. package/formiks/FormikTextarea.d.ts +1 -1
  39. package/index.d.ts +6 -2
  40. package/index.js +220 -80
  41. package/index.js.map +1 -1
  42. package/package.json +2 -2
  43. package/theme.d.ts +2 -2
  44. package/types.d.ts +4 -4
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mtes-mct/monitor-ui",
3
3
  "description": "Common React UI components and styles for Monitorfish and Monitorenv.",
4
- "version": "1.9.2",
4
+ "version": "1.10.1",
5
5
  "license": "AGPL-3.0",
6
6
  "engines": {
7
7
  "node": "18",
@@ -27,7 +27,7 @@
27
27
  "bash -c 'npm run test:type'"
28
28
  ]
29
29
  },
30
- "packageManager": "yarn@3.2.4",
30
+ "packageManager": "yarn@3.3.0",
31
31
  "bugs": {
32
32
  "url": "https://github.com/MTES-MCT/monitor-ui/issues"
33
33
  },
package/theme.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { DeepPartial } from './types';
2
- export declare type Theme = typeof THEME;
3
- export declare type PartialTheme = DeepPartial<Theme>;
2
+ export type Theme = typeof THEME;
3
+ export type PartialTheme = DeepPartial<Theme>;
4
4
  export declare const THEME: {
5
5
  color: {
6
6
  /** INTERFACE COLORS */
package/types.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import type { IconBoxProps } from './elements/IconBox';
2
2
  import type { SVGProps } from 'react';
3
- export declare type DateRange = [Date, Date];
4
- export declare type DeepPartial<T> = T extends object ? {
3
+ export type DateRange = [Date, Date];
4
+ export type DeepPartial<T> = T extends object ? {
5
5
  [P in keyof T]?: DeepPartial<T[P]>;
6
6
  } : T;
7
- export declare type IconProps = SVGProps<SVGSVGElement> & IconBoxProps;
8
- export declare type Option<V = string> = {
7
+ export type IconProps = SVGProps<SVGSVGElement> & IconBoxProps;
8
+ export type Option<V = string> = {
9
9
  label: string;
10
10
  value: V;
11
11
  };