@mtes-mct/monitor-ui 10.19.0 → 10.19.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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [10.19.0](https://github.com/MTES-MCT/monitor-ui/compare/v10.18.0...v10.19.0) (2024-01-10)
2
+
3
+
4
+ ### Features
5
+
6
+ * **field:** add isSearchInput prop to display Search and close icons ([27e14b0](https://github.com/MTES-MCT/monitor-ui/commit/27e14b0852acd82898dc435a138dbf53e3ce061c))
7
+
1
8
  ## [10.18.0](https://github.com/MTES-MCT/monitor-ui/compare/v10.17.1...v10.18.0) (2024-01-09)
2
9
 
3
10
 
package/index.js CHANGED
@@ -76532,19 +76532,23 @@ const Th = styled(SimpleTable.Th)`
76532
76532
  border-top: 1px solid ${(p)=>p.theme.color.lightGray};
76533
76533
  border-bottom: 1px solid ${(p)=>p.theme.color.lightGray};
76534
76534
  border-right: none;
76535
- padding: 2px 10px;
76535
+ padding: 2px 16px;
76536
76536
  `;
76537
76537
  const BodyTr = styled(SimpleTable.BodyTr)`
76538
+ td:first-child {
76539
+ border-left: ${(p)=>p.$isHighlighted ? `2px solid ${p.theme.color.blueGray}` : `1px solid ${p.theme.color.lightGray}`};
76540
+ }
76538
76541
  td:last-child {
76539
- border-right: 1px solid ${(p)=>p.theme.color.lightGray};
76542
+ border-right: ${(p)=>p.$isHighlighted ? `2px solid ${p.theme.color.blueGray}` : `1px solid ${p.theme.color.lightGray}`};
76540
76543
  overflow: visible;
76541
76544
  }
76542
76545
  `;
76543
76546
  const Td = styled(SimpleTable.Td)`
76544
76547
  background-color: ${(p)=>p.theme.color.cultured};
76545
- border-top: 1px solid ${(p)=>p.theme.color.lightGray};
76548
+ border-top: ${(p)=>p.$isHighlighted ? `2px solid ${p.theme.color.blueGray}` : `1px solid ${p.theme.color.lightGray}`};
76549
+ border-bottom: ${(p)=>p.$isHighlighted ? `2px solid ${p.theme.color.blueGray}` : `1px solid ${p.theme.color.lightGray}`};
76546
76550
  border-right: none;
76547
- padding: 4px 10px;
76551
+ padding: 4px 16px;
76548
76552
  border-right: ${(p)=>p.$hasRightBorder ? `1px solid ${p.theme.color.lightGray}` : ''};
76549
76553
  `;
76550
76554
  const TableWithSelectableRows = {