@mtes-mct/monitor-ui 24.11.1 → 24.11.2

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 (3) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/index.js +16 -17
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [24.11.1](https://github.com/MTES-MCT/monitor-ui/compare/v24.11.0...v24.11.1) (2024-12-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **types:** create generic type for CheckPicker and MultiSelect ([b09f859](https://github.com/MTES-MCT/monitor-ui/commit/b09f859b7a56d056310c94c3e71d118611178cf0))
7
+ * **types:** fix typing ([75c5e6d](https://github.com/MTES-MCT/monitor-ui/commit/75c5e6d8749d343a12901be22017d1d1ba450701))
8
+
9
+
10
+ ### Buid System & Dependencies
11
+
12
+ * **deps:** bump @tanstack/react-table ([da380bc](https://github.com/MTES-MCT/monitor-ui/commit/da380bc59e7dd806c29b0eb7fd84d31af9dd4976))
13
+ * **dev-deps:** bump nanoid ([32f4d5e](https://github.com/MTES-MCT/monitor-ui/commit/32f4d5ec3ec1d39fbacd951d211fb2f6e4d3a220))
14
+ * **dev-deps:** bump styled-components from 5.3.10 to 6.1.13 ([c158abf](https://github.com/MTES-MCT/monitor-ui/commit/c158abfd729c77c9a76cb1c738d9f6bb4484691a))
15
+ * **dev-deps:** bump the all-non-major-dependencies group ([6040bfb](https://github.com/MTES-MCT/monitor-ui/commit/6040bfb0ba87d63738f8212cad857086885ff8c9))
16
+
1
17
  ## [24.11.0](https://github.com/MTES-MCT/monitor-ui/compare/v24.10.2...v24.11.0) (2024-12-10)
2
18
 
3
19
 
package/index.js CHANGED
@@ -22020,7 +22020,7 @@ const SecondaryDropdownItem = styled(Dropdown$1.Item)`
22020
22020
  padding: 4px;
22021
22021
  width: 30px;
22022
22022
  height: 30px;
22023
- :hover {
22023
+ &:hover {
22024
22024
  background-color: ${(p)=>p.theme.color.cultured};
22025
22025
  border: 1px solid ${(p)=>p.theme.color.lightGray};
22026
22026
  color: ${(p)=>p.theme.color.blueYonder};
@@ -22096,19 +22096,19 @@ const PrimaryDropdown = styled(Dropdown$1)`
22096
22096
  font-size: 13px;
22097
22097
  padding: 3px ${(p)=>p.$hasTitle ? 12 : 6}px ${(p)=>p.$hasIcon ? '4px' : '5px'};
22098
22098
 
22099
- :hover {
22099
+ &:hover {
22100
22100
  background-color: ${(p)=>p.theme.color.blueYonder};
22101
22101
  border: 1px solid ${(p)=>p.theme.color.blueYonder};
22102
22102
  color: ${(p)=>p.theme.color.white};
22103
22103
  }
22104
22104
 
22105
- :active {
22105
+ &:active {
22106
22106
  background-color: ${(p)=>p.theme.color.blueGray};
22107
22107
  border: 1px solid ${(p)=>p.theme.color.blueGray};
22108
22108
  color: ${(p)=>p.theme.color.white};
22109
22109
  }
22110
22110
 
22111
- :disabled {
22111
+ &:disabled {
22112
22112
  background-color: ${(p)=>p.theme.color.lightGray};
22113
22113
  border: 1px solid ${(p)=>p.theme.color.lightGray};
22114
22114
  color: ${(p)=>p.theme.color.cultured};
@@ -53741,24 +53741,23 @@ function Button$1({ Icon, isActive, title, ...originalProps }) {
53741
53741
  const MenuButton = styled(IconButton)`
53742
53742
  animation: none;
53743
53743
  background: ${(p)=>p.$isActive ? p.theme.color.blueGray : 'none'};
53744
- border: 0;
53744
+ border: none;
53745
53745
  border-bottom: solid 0.5px ${(p)=>p.theme.color.slateGray};
53746
53746
  color: ${(p)=>p.$isActive ? p.theme.color.white : p.theme.color.gainsboro};
53747
53747
  padding: 18px;
53748
53748
  height: 64px;
53749
53749
 
53750
- :hover,
53751
- :focus {
53750
+ &:hover,
53751
+ &:focus {
53752
53752
  background: ${(p)=>p.$isActive ? p.theme.color.blueGray : 'rgba(255, 255, 255, 0.125)'};
53753
- border: 0;
53754
53753
  border: none;
53755
53754
  color: ${(p)=>p.theme.color.white};
53756
53755
  }
53757
53756
 
53758
- :first-child {
53757
+ &:first-child {
53759
53758
  border-top: solid 0.5px ${(p)=>p.theme.color.slateGray};
53760
53759
 
53761
- :hover {
53760
+ &:hover {
53762
53761
  border: none;
53763
53762
  }
53764
53763
  }
@@ -53862,21 +53861,21 @@ const PrimaryIconButton = styled(BaseIconButton)`
53862
53861
  border-color: ${(p)=>p.theme.color.lightGray};
53863
53862
  color: ${(p)=>p.theme.color.charcoal};
53864
53863
 
53865
- :hover,
53864
+ &:hover,
53866
53865
  &._hover {
53867
53866
  background-color: ${(p)=>p.theme.color.lightGray};
53868
53867
  border-color: ${(p)=>p.theme.color.lightGray};
53869
53868
  color: ${(p)=>p.theme.color.blueYonder};
53870
53869
  }
53871
53870
 
53872
- :active,
53871
+ &:active,
53873
53872
  &._active {
53874
53873
  background-color: ${(p)=>p.theme.color.lightGray};
53875
53874
  border-color: ${(p)=>p.theme.color.lightGray};
53876
53875
  color: ${(p)=>p.theme.color.blueGray};
53877
53876
  }
53878
53877
 
53879
- :disabled,
53878
+ &:disabled,
53880
53879
  &._disabled {
53881
53880
  background-color: ${(p)=>p.theme.color.lightGray};
53882
53881
  border-color: ${(p)=>p.theme.color.lightGray};
@@ -53892,21 +53891,21 @@ const SecondaryIconButton = styled(BaseIconButton)`
53892
53891
  border-color: ${(p)=>p.theme.color.blueYonder};
53893
53892
  color: ${(p)=>p.theme.color.white};
53894
53893
 
53895
- :hover,
53894
+ &:hover,
53896
53895
  &._hover {
53897
53896
  background-color: ${(p)=>p.theme.color.blueYonder};
53898
53897
  border-color: ${(p)=>p.theme.color.blueYonder};
53899
53898
  color: ${(p)=>p.theme.color.blueYonder25};
53900
53899
  }
53901
53900
 
53902
- :active,
53901
+ &:active,
53903
53902
  &._active {
53904
53903
  background-color: ${(p)=>p.theme.color.blueYonder};
53905
53904
  border-color: ${(p)=>p.theme.color.blueYonder};
53906
53905
  color: ${(p)=>p.theme.color.blueYonder25};
53907
53906
  }
53908
53907
 
53909
- :disabled,
53908
+ &:disabled,
53910
53909
  &._disabled {
53911
53910
  background-color: ${(p)=>p.theme.color.blueYonder};
53912
53911
  border-color: ${(p)=>p.theme.color.blueYonder};
@@ -67019,7 +67018,7 @@ const Box$4 = styled.div`
67019
67018
  position: relative;
67020
67019
  user-select: none;
67021
67020
 
67022
- :hover {
67021
+ &:hover {
67023
67022
  border: solid 1px
67024
67023
  ${(p)=>p.$isFocused ? getFieldBorderColorFactoryForState('focus')(p) : getFieldBorderColorFactoryForState('hover')(p)};
67025
67024
  color: ${(p)=>p.$isFocused ? getFieldBorderColorFactoryForState('focus')(p) : getFieldBorderColorFactoryForState('hover')(p)};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mtes-mct/monitor-ui",
3
3
  "description": "Common React components, hooks, utilities and CSS stylesheets for MonitorFish, MonitorEnv and RapportNav.",
4
- "version": "24.11.1",
4
+ "version": "24.11.2",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {