@mtes-mct/monitor-ui 24.11.0 → 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 (75) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/GlobalStyle.d.ts +1 -1
  3. package/GlobalStyle.d.ts.map +1 -1
  4. package/OnlyFontGlobalStyle.d.ts +1 -1
  5. package/OnlyFontGlobalStyle.d.ts.map +1 -1
  6. package/components/Dialog/Action.d.ts +1 -1
  7. package/components/Dialog/Action.d.ts.map +1 -1
  8. package/components/Dialog/Body.d.ts +2 -2
  9. package/components/Dialog/Body.d.ts.map +1 -1
  10. package/components/Dialog/Title.d.ts +1 -1
  11. package/components/Dialog/Title.d.ts.map +1 -1
  12. package/components/Dialog/index.d.ts +6 -6
  13. package/components/Dialog/index.d.ts.map +1 -1
  14. package/components/MapMenuDialog/index.d.ts +9 -13
  15. package/components/MapMenuDialog/index.d.ts.map +1 -1
  16. package/elements/Button/BaseButton.d.ts +1 -1
  17. package/elements/Button/BaseButton.d.ts.map +1 -1
  18. package/elements/Button/styles.d.ts +2 -2
  19. package/elements/Button/styles.d.ts.map +1 -1
  20. package/elements/Field.d.ts +3 -1
  21. package/elements/Field.d.ts.map +1 -1
  22. package/elements/FieldError.d.ts +4 -4
  23. package/elements/FieldError.d.ts.map +1 -1
  24. package/elements/Figure.d.ts +1 -1
  25. package/elements/Figure.d.ts.map +1 -1
  26. package/elements/IconBox.d.ts +3 -5
  27. package/elements/IconBox.d.ts.map +1 -1
  28. package/elements/IconButton/BaseIconButton.d.ts +1 -1
  29. package/elements/IconButton/BaseIconButton.d.ts.map +1 -1
  30. package/elements/Label.d.ts +4 -7
  31. package/elements/Label.d.ts.map +1 -1
  32. package/elements/Legend.d.ts +3 -6
  33. package/elements/Legend.d.ts.map +1 -1
  34. package/elements/Link.d.ts +1 -1
  35. package/elements/Link.d.ts.map +1 -1
  36. package/elements/Tag/index.d.ts +15 -9
  37. package/elements/Tag/index.d.ts.map +1 -1
  38. package/elements/TagGroup.d.ts +3 -1
  39. package/elements/TagGroup.d.ts.map +1 -1
  40. package/fields/CheckPicker.d.ts +3 -22
  41. package/fields/CheckPicker.d.ts.map +1 -1
  42. package/fields/Checkbox.d.ts +3 -1
  43. package/fields/Checkbox.d.ts.map +1 -1
  44. package/fields/DateRangePicker/NumberInput.d.ts +1 -1
  45. package/fields/MultiRadio.d.ts.map +1 -1
  46. package/fields/MultiSelect.d.ts +3 -22
  47. package/fields/MultiSelect.d.ts.map +1 -1
  48. package/fields/PhoneInput.d.ts +1 -0
  49. package/fields/PhoneInput.d.ts.map +1 -1
  50. package/fields/Toggle/index.d.ts +1 -1
  51. package/fields/Toggle/index.d.ts.map +1 -1
  52. package/fields/shared/StyledInputBox.d.ts +2 -2
  53. package/fields/shared/StyledInputBox.d.ts.map +1 -1
  54. package/fields/shared/StyledRsuiteCalendarBox.d.ts +2 -2
  55. package/fields/shared/StyledRsuiteCalendarBox.d.ts.map +1 -1
  56. package/fields/shared/StyledRsuitePickerBox.d.ts +1 -1
  57. package/fields/shared/StyledRsuitePickerBox.d.ts.map +1 -1
  58. package/index.js +146 -111
  59. package/package.json +2 -2
  60. package/symbols/Dot.d.ts +1 -1
  61. package/symbols/Dot.d.ts.map +1 -1
  62. package/symbols/ExclamationPoint.d.ts +1 -1
  63. package/symbols/ExclamationPoint.d.ts.map +1 -1
  64. package/tables/DataTable/SortingIcon.d.ts +2 -2
  65. package/tables/DataTable/SortingIcon.d.ts.map +1 -1
  66. package/tables/SimpleTable/CellLoader.d.ts +1 -1
  67. package/tables/SimpleTable/CellLoader.d.ts.map +1 -1
  68. package/tables/SimpleTable/Td.d.ts +6 -2
  69. package/tables/SimpleTable/Td.d.ts.map +1 -1
  70. package/tables/SimpleTable/index.d.ts +14 -9
  71. package/tables/SimpleTable/index.d.ts.map +1 -1
  72. package/tables/TableWithSelectableRows/index.d.ts +24 -12
  73. package/tables/TableWithSelectableRows/index.d.ts.map +1 -1
  74. package/types/commonTypes.d.ts +23 -0
  75. package/types/commonTypes.d.ts.map +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fields/Toggle/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAA0B,KAAK,WAAW,IAAI,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAgBtF,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,iBAAiB,EAAE,IAAI,GAAG,SAAS,GAAG,gBAAgB,GAAG,IAAI,GAAG,UAAU,CAAC,GAAG;IAC3G,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC1C,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACnC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAChC,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACnC,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7C,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,KAAK,IAAI,CAAA;CACpD,CAAA;AACD,wBAAgB,MAAM,CAAC,EACrB,OAAe,EACf,SAAS,EACT,MAAM,EACN,QAAgB,EAChB,KAAK,EACL,oBAA4B,EAC5B,aAAqB,EACrB,OAAe,EACf,UAAkB,EAClB,aAAqB,EACrB,uBAA+B,EAC/B,KAAK,EACL,QAAQ,EACR,QAAgB,EAChB,KAAK,EACL,GAAG,aAAa,EACjB,EAAE,WAAW,2CAgCb"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fields/Toggle/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAA0B,KAAK,WAAW,IAAI,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAgBtF,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,iBAAiB,EAAE,IAAI,GAAG,SAAS,GAAG,gBAAgB,GAAG,IAAI,GAAG,UAAU,CAAC,GAAG;IAC3G,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC1C,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACnC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAChC,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACnC,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7C,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;CACxC,CAAA;AACD,wBAAgB,MAAM,CAAC,EACrB,OAAe,EACf,SAAS,EACT,MAAM,EACN,QAAgB,EAChB,KAAK,EACL,oBAA4B,EAC5B,aAAqB,EACrB,OAAe,EACf,UAAkB,EAClB,aAAqB,EACrB,uBAA+B,EAC/B,KAAK,EACL,QAAQ,EACR,QAAgB,EAChB,KAAK,EACL,GAAG,aAAa,EACjB,EAAE,WAAW,2CAgCb"}
@@ -4,7 +4,7 @@ type StyledInputBoxProps = CommonFieldStyleProps & {
4
4
  $hasIcon: boolean;
5
5
  $size: Size;
6
6
  };
7
- export declare const inputStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<StyledInputBoxProps, import("styled-components").DefaultTheme>>;
8
- export declare const StyledInputBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledInputBoxProps, never>;
7
+ export declare const inputStyle: import("styled-components").RuleSet<StyledInputBoxProps>;
8
+ export declare const StyledInputBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledInputBoxProps>> & string;
9
9
  export {};
10
10
  //# sourceMappingURL=StyledInputBox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StyledInputBox.d.ts","sourceRoot":"","sources":["../../../src/fields/shared/StyledInputBox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AASjC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEpD,KAAK,mBAAmB,GAAG,qBAAqB,GAAG;IACjD,QAAQ,EAAE,OAAO,CAAA;IACjB,KAAK,EAAE,IAAI,CAAA;CACZ,CAAA;AAaD,eAAO,MAAM,UAAU,gKAoCtB,CAAA;AAED,eAAO,MAAM,cAAc,0HAuB1B,CAAA"}
1
+ {"version":3,"file":"StyledInputBox.d.ts","sourceRoot":"","sources":["../../../src/fields/shared/StyledInputBox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AASjC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEpD,KAAK,mBAAmB,GAAG,qBAAqB,GAAG;IACjD,QAAQ,EAAE,OAAO,CAAA;IACjB,KAAK,EAAE,IAAI,CAAA;CACZ,CAAA;AAaD,eAAO,MAAM,UAAU,0DAoCtB,CAAA;AAED,eAAO,MAAM,cAAc,wPAuB1B,CAAA"}
@@ -1,5 +1,5 @@
1
- export declare const StyledRsuiteCalendarBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
1
+ export declare const StyledRsuiteCalendarBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
2
2
  $isDoubleCalendar?: boolean;
3
3
  $isRightAligned?: boolean;
4
- }, never>;
4
+ }>> & string;
5
5
  //# sourceMappingURL=StyledRsuiteCalendarBox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StyledRsuiteCalendarBox.d.ts","sourceRoot":"","sources":["../../../src/fields/shared/StyledRsuiteCalendarBox.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;wBACd,OAAO;sBACT,OAAO;SAmQ1B,CAAA"}
1
+ {"version":3,"file":"StyledRsuiteCalendarBox.d.ts","sourceRoot":"","sources":["../../../src/fields/shared/StyledRsuiteCalendarBox.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;wBACd,OAAO;sBACT,OAAO;YAmQ1B,CAAA"}
@@ -1,3 +1,3 @@
1
1
  import type { CommonPickerFieldStyleProps } from './types';
2
- export declare const StyledRsuitePickerBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, CommonPickerFieldStyleProps, never>;
2
+ export declare const StyledRsuitePickerBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CommonPickerFieldStyleProps>> & string;
3
3
  //# sourceMappingURL=StyledRsuitePickerBox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StyledRsuitePickerBox.d.ts","sourceRoot":"","sources":["../../../src/fields/shared/StyledRsuitePickerBox.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAA;AAE1D,eAAO,MAAM,qBAAqB,kIAoTjC,CAAA"}
1
+ {"version":3,"file":"StyledRsuitePickerBox.d.ts","sourceRoot":"","sources":["../../../src/fields/shared/StyledRsuitePickerBox.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAA;AAE1D,eAAO,MAAM,qBAAqB,gQAoTjC,CAAA"}
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};
@@ -54061,6 +54060,7 @@ const Box$c = styled.div`
54061
54060
  function LinkButton({ children, className, Icon, size = Size.NORMAL, ...props }) {
54062
54061
  const controlledClassName = classnames('Element-LinkButton', className);
54063
54062
  return /*#__PURE__*/ jsx(StyledLinkButton$1, {
54063
+ $isDisabled: props.disabled,
54064
54064
  $size: size,
54065
54065
  className: controlledClassName,
54066
54066
  ...props,
@@ -54089,7 +54089,7 @@ const StyledLinkButton$1 = styled.button`
54089
54089
  align-items: flex-end;
54090
54090
  background: transparent;
54091
54091
  color: ${(p)=>p.theme.color.slateGray};
54092
- cursor: ${(p)=>p.disabled ? 'none' : 'pointer'};
54092
+ cursor: ${(p)=>p.$isDisabled ? 'none' : 'pointer'};
54093
54093
  display: flex;
54094
54094
  flex-direction: row;
54095
54095
  font-size: ${(p)=>FONT_SIZE$1[p.$size]};
@@ -54552,7 +54552,7 @@ const FieldError = styled.p.attrs((props)=>({
54552
54552
  className: classnames('Element-FieldError', props.className)
54553
54553
  }))`
54554
54554
  color: ${(p)=>p.theme.color.maximumRed};
54555
- display: ${(p)=>p.isDisabled ? 'none' : 'block'};
54555
+ display: ${(p)=>p.$isDisabled ? 'none' : 'block'};
54556
54556
  font-size: 13px;
54557
54557
  font-style: italic;
54558
54558
  line-height: 1.3846;
@@ -54569,7 +54569,7 @@ const Label = styled.label.attrs((props)=>({
54569
54569
  className: classnames('Element-Label', props.className)
54570
54570
  }))`
54571
54571
  color: ${(p)=>// eslint-disable-next-line no-nested-ternary
54572
- p.$idDisabled ? p.theme.color.lightGray : p.$hasError ? p.theme.color.maximumRed : p.theme.color.slateGray};
54572
+ p.$isDisabled ? p.theme.color.lightGray : p.$hasError ? p.theme.color.maximumRed : p.theme.color.slateGray};
54573
54573
  display: ${(p)=>p.$isHidden ? 'none' : 'block'};
54574
54574
  font-size: 13px;
54575
54575
  line-height: 1.3846;
@@ -54983,7 +54983,7 @@ const StyledRsuiteCheckbox = styled(Checkbox$1)`
54983
54983
  > label {
54984
54984
  /* TODO Check that with Adeline. */
54985
54985
  color: ${(p)=>// eslint-disable-next-line no-nested-ternary
54986
- p.$isDisabled || p.$isReadOnly ? p.theme.color.lightGray : p.theme.color.gunMetal};
54986
+ p.$isDisabled ?? p.$isReadOnly ? p.theme.color.lightGray : p.theme.color.gunMetal};
54987
54987
  font-size: 13px;
54988
54988
  font-weight: 500;
54989
54989
  line-height: 1;
@@ -55009,7 +55009,7 @@ const StyledRsuiteCheckbox = styled(Checkbox$1)`
55009
55009
 
55010
55010
  /* Checkmark */
55011
55011
  &:after {
55012
- border-color: ${(p)=>p.$isReadOnly || p.$isTransparent ? p.theme.color.charcoal : p.theme.color.cultured};
55012
+ border-color: ${(p)=>p.$isReadOnly ?? p.$isTransparent ? p.theme.color.charcoal : p.theme.color.cultured};
55013
55013
  bottom: 0;
55014
55014
  left: 0;
55015
55015
  right: 0;
@@ -55513,7 +55513,7 @@ function CheckPicker({ className, customSearch, customSearchMinQueryLength = 1,
55513
55513
  style: style,
55514
55514
  children: [
55515
55515
  /*#__PURE__*/ jsx(Label, {
55516
- $idDisabled: disabled,
55516
+ $isDisabled: disabled,
55517
55517
  $isHidden: isLabelHidden,
55518
55518
  $isRequired: isRequired,
55519
55519
  htmlFor: originalProps.name,
@@ -67018,7 +67018,7 @@ const Box$4 = styled.div`
67018
67018
  position: relative;
67019
67019
  user-select: none;
67020
67020
 
67021
- :hover {
67021
+ &:hover {
67022
67022
  border: solid 1px
67023
67023
  ${(p)=>p.$isFocused ? getFieldBorderColorFactoryForState('focus')(p) : getFieldBorderColorFactoryForState('hover')(p)};
67024
67024
  color: ${(p)=>p.$isFocused ? getFieldBorderColorFactoryForState('focus')(p) : getFieldBorderColorFactoryForState('hover')(p)};
@@ -68079,7 +68079,7 @@ function MultiCascader({ className, disabled = false, error, isErrorMessageHidde
68079
68079
  style: style,
68080
68080
  children: [
68081
68081
  /*#__PURE__*/ jsx(Label, {
68082
- $idDisabled: disabled,
68082
+ $isDisabled: disabled,
68083
68083
  $isHidden: isLabelHidden,
68084
68084
  $isRequired: isRequired,
68085
68085
  htmlFor: originalProps.name,
@@ -68212,7 +68212,7 @@ function MultiSelect({ className, customSearch, customSearchMinQueryLength = 1,
68212
68212
  style: style,
68213
68213
  children: [
68214
68214
  /*#__PURE__*/ jsx(Label, {
68215
- $idDisabled: disabled,
68215
+ $isDisabled: disabled,
68216
68216
  $isHidden: isLabelHidden,
68217
68217
  $isRequired: isRequired,
68218
68218
  htmlFor: originalProps.name,
@@ -68360,7 +68360,7 @@ const StyledRsuiteRadio = styled(Radio$1)`
68360
68360
  > label {
68361
68361
  /* TODO Check that with Adeline. */
68362
68362
  color: ${(p)=>// eslint-disable-next-line no-nested-ternary
68363
- p.$isDisabled || p.$isReadOnly ? p.theme.color.lightGray : p.theme.color.gunMetal};
68363
+ p.$isDisabled ?? p.$isReadOnly ? p.theme.color.lightGray : p.theme.color.gunMetal};
68364
68364
  font-size: 13px;
68365
68365
  font-weight: 500;
68366
68366
  line-height: 1;
@@ -68468,11 +68468,11 @@ readOnly = false, renderMenuItem, style, value }) {
68468
68468
  options,
68469
68469
  optionValueKey
68470
68470
  ]);
68471
- const handleChange = useCallback((nextRsuiteDataItemValue)=>{
68471
+ const handleChange = useCallback((nextRsuiteDataItemValue, _event)=>{
68472
68472
  if (!onChange || readOnly) {
68473
68473
  return;
68474
68474
  }
68475
- const nextOptionValue = getSelectedOptionValueFromSelectedRsuiteDataItemValue(rsuiteData, nextRsuiteDataItemValue);
68475
+ const nextOptionValue = getSelectedOptionValueFromSelectedRsuiteDataItemValue(rsuiteData, String(nextRsuiteDataItemValue));
68476
68476
  onChange(nextOptionValue);
68477
68477
  }, [
68478
68478
  onChange,
@@ -68492,7 +68492,7 @@ readOnly = false, renderMenuItem, style, value }) {
68492
68492
  $isInline: isInline,
68493
68493
  name: name,
68494
68494
  onChange: handleChange,
68495
- value: selectedRsuiteValue,
68495
+ value: selectedRsuiteValue ?? '',
68496
68496
  children: rsuiteData.map((rsuiteDataItem)=>/*#__PURE__*/ jsx(Radio, {
68497
68497
  checked: value !== undefined && lodashExports.eq(rsuiteDataItem.optionValue, value),
68498
68498
  disabled: !!rsuiteDataItem.isDisabled || disabled,
@@ -68768,7 +68768,7 @@ function NumberInput({ areArrowsHidden = false, className, disabled = false, err
68768
68768
  style: style,
68769
68769
  children: [
68770
68770
  /*#__PURE__*/ jsx(Label, {
68771
- $idDisabled: disabled,
68771
+ $isDisabled: disabled,
68772
68772
  $isHidden: isLabelHidden,
68773
68773
  $isRequired: isRequired,
68774
68774
  htmlFor: name,
@@ -68879,78 +68879,6 @@ const InputWithUnit = styled(BaseInput)`
68879
68879
  flex-grow: 1;
68880
68880
  `;
68881
68881
 
68882
- const PADDING = {
68883
- [Size.LARGE]: '8px 16px 10px',
68884
- [Size.NORMAL]: '3px 8px 7px',
68885
- [Size.SMALL]: '3px 8px 6px'
68886
- };
68887
- const PADDING_WITH_ICON = {
68888
- [Size.LARGE]: '8px 48px 10px 16px',
68889
- [Size.NORMAL]: '3px 38px 6px 8px',
68890
- [Size.SMALL]: '3px 38px 6px 8px'
68891
- };
68892
- const inputStyle = css`
68893
- background-color: ${getFieldBackgroundColorFactory()};
68894
- border: solid 1px ${getFieldBorderColorFactoryForState('default')};
68895
- border-radius: 0;
68896
- color: ${(p)=>p.theme.color.gunMetal};
68897
- ${(p)=>p.$isReadOnly && `cursor: default;`}
68898
- font-size: 13px;
68899
- font-weight: 500;
68900
- line-height: 19px;
68901
- padding: 3px 8px 6px;
68902
- vertical-align: center;
68903
- width: 100%;
68904
-
68905
- &::placeholder {
68906
- color: ${getFieldPlaceholderColorFactoryForState('default')};
68907
- }
68908
-
68909
- &:hover {
68910
- background-color: ${getFieldBackgroundColorFactory()};
68911
- border: solid 1px ${getFieldBorderColorFactoryForState('hover')} !important;
68912
-
68913
- &::placeholder {
68914
- color: ${getFieldPlaceholderColorFactoryForState('hover')};
68915
- }
68916
- }
68917
-
68918
- &:active,
68919
- &:focus {
68920
- background-color: ${getFieldBackgroundColorFactory()};
68921
- border: solid 1px ${getFieldBorderColorFactoryForState('focus')} !important;
68922
- outline: 0;
68923
-
68924
- &::placeholder {
68925
- color: ${getFieldPlaceholderColorFactoryForState('focus')};
68926
- }
68927
- }
68928
- `;
68929
- const StyledInputBox = styled.div`
68930
- display: flex;
68931
- position: relative;
68932
- width: 100%;
68933
-
68934
- > .rs-auto-complete {
68935
- display: flex;
68936
- flex-grow: 1;
68937
- }
68938
-
68939
- > input,
68940
- > .rs-auto-complete > input {
68941
- ${inputStyle}
68942
- padding: ${(p)=>p.$hasIcon ? PADDING_WITH_ICON[p.$size] : PADDING[p.$size]};
68943
- line-height: 1;
68944
- flex-grow: 1;
68945
- }
68946
-
68947
- > .Element-IconBox {
68948
- position: absolute;
68949
- right: ${(p)=>p.$size === Size.LARGE ? '16px' : '8px'};
68950
- top: ${(p)=>p.$size === Size.LARGE ? '10px' : '5px'};
68951
- }
68952
- `;
68953
-
68954
68882
  const internationalFormat = {
68955
68883
  definitions: {
68956
68884
  '#': /[1-9]/,
@@ -68980,13 +68908,13 @@ const defaultFormat = {
68980
68908
  };
68981
68909
  /**
68982
68910
  * FIXME (01/07/2024): This lib has probably a bug, I opened an issue : https://github.com/uNmAnNeR/imaskjs/issues/1053
68983
- */ const PhoneInput = /*#__PURE__*/ forwardRef(({ disabled = false, error, isErrorMessageHidden = false, isLabelHidden = false, isLight = false, isRequired = false, isTransparent = false, isUndefinedWhenDisabled = false, label, name, onChange, value, ...props }, ref)=>{
68911
+ */ const PhoneInput = /*#__PURE__*/ forwardRef(({ disabled = false, error, isErrorMessageHidden = false, isLabelHidden = false, isLight = false, isRequired = false, isTransparent = false, isUndefinedWhenDisabled = false, label, name, onChange, readOnly = false, value, ...props }, ref)=>{
68984
68912
  useFieldUndefineEffect(isUndefinedWhenDisabled && !!disabled, undefined, ()=>onChange(''));
68985
68913
  return /*#__PURE__*/ jsxs(Field$2, {
68986
68914
  className: "Field-PhoneInput",
68987
68915
  children: [
68988
68916
  /*#__PURE__*/ jsx(Label, {
68989
- $idDisabled: disabled,
68917
+ $isDisabled: disabled,
68990
68918
  $isHidden: isLabelHidden,
68991
68919
  $isRequired: isRequired,
68992
68920
  htmlFor: name,
@@ -68997,6 +68925,7 @@ const defaultFormat = {
68997
68925
  $hasError: !!error,
68998
68926
  $isDisabled: disabled,
68999
68927
  $isLight: isLight,
68928
+ $isReadOnly: readOnly,
69000
68929
  $isTransparent: isTransparent,
69001
68930
  disabled: disabled,
69002
68931
  dispatch: (appended, dynamicMasked)=>{
@@ -69035,7 +68964,41 @@ const defaultFormat = {
69035
68964
  });
69036
68965
  });
69037
68966
  const StyledIMaskInput = styled(IMaskInput)`
69038
- ${inputStyle}
68967
+ background-color: ${getFieldBackgroundColorFactory()};
68968
+ border: solid 1px ${getFieldBorderColorFactoryForState('default')};
68969
+ border-radius: 0;
68970
+ color: ${(p)=>p.theme.color.gunMetal};
68971
+ cursor: default;
68972
+ font-size: 13px;
68973
+ font-weight: 500;
68974
+ line-height: 19px;
68975
+ padding: 3px 8px 6px;
68976
+ vertical-align: center;
68977
+ width: 100%;
68978
+
68979
+ &::placeholder {
68980
+ color: ${getFieldPlaceholderColorFactoryForState('default')};
68981
+ }
68982
+
68983
+ &:hover {
68984
+ background-color: ${getFieldBackgroundColorFactory()};
68985
+ border: solid 1px ${getFieldBorderColorFactoryForState('hover')} !important;
68986
+
68987
+ &::placeholder {
68988
+ color: ${getFieldPlaceholderColorFactoryForState('hover')};
68989
+ }
68990
+ }
68991
+
68992
+ &:active,
68993
+ &:focus {
68994
+ background-color: ${getFieldBackgroundColorFactory()};
68995
+ border: solid 1px ${getFieldBorderColorFactoryForState('focus')} !important;
68996
+ outline: 0;
68997
+
68998
+ &::placeholder {
68999
+ color: ${getFieldPlaceholderColorFactoryForState('focus')};
69000
+ }
69001
+ }
69039
69002
  `;
69040
69003
 
69041
69004
  function getRichBooleanFromRichBooleanOptionValues(optionValues) {
@@ -69152,6 +69115,78 @@ function RichBooleanCheckbox({ falseOptionLabel, onChange, trueOptionLabel, valu
69152
69115
  return selectedOption;
69153
69116
  }
69154
69117
 
69118
+ const PADDING = {
69119
+ [Size.LARGE]: '8px 16px 10px',
69120
+ [Size.NORMAL]: '3px 8px 7px',
69121
+ [Size.SMALL]: '3px 8px 6px'
69122
+ };
69123
+ const PADDING_WITH_ICON = {
69124
+ [Size.LARGE]: '8px 48px 10px 16px',
69125
+ [Size.NORMAL]: '3px 38px 6px 8px',
69126
+ [Size.SMALL]: '3px 38px 6px 8px'
69127
+ };
69128
+ const inputStyle = css`
69129
+ background-color: ${getFieldBackgroundColorFactory()};
69130
+ border: solid 1px ${getFieldBorderColorFactoryForState('default')};
69131
+ border-radius: 0;
69132
+ color: ${(p)=>p.theme.color.gunMetal};
69133
+ ${(p)=>p.$isReadOnly && `cursor: default;`}
69134
+ font-size: 13px;
69135
+ font-weight: 500;
69136
+ line-height: 19px;
69137
+ padding: 3px 8px 6px;
69138
+ vertical-align: center;
69139
+ width: 100%;
69140
+
69141
+ &::placeholder {
69142
+ color: ${getFieldPlaceholderColorFactoryForState('default')};
69143
+ }
69144
+
69145
+ &:hover {
69146
+ background-color: ${getFieldBackgroundColorFactory()};
69147
+ border: solid 1px ${getFieldBorderColorFactoryForState('hover')} !important;
69148
+
69149
+ &::placeholder {
69150
+ color: ${getFieldPlaceholderColorFactoryForState('hover')};
69151
+ }
69152
+ }
69153
+
69154
+ &:active,
69155
+ &:focus {
69156
+ background-color: ${getFieldBackgroundColorFactory()};
69157
+ border: solid 1px ${getFieldBorderColorFactoryForState('focus')} !important;
69158
+ outline: 0;
69159
+
69160
+ &::placeholder {
69161
+ color: ${getFieldPlaceholderColorFactoryForState('focus')};
69162
+ }
69163
+ }
69164
+ `;
69165
+ const StyledInputBox = styled.div`
69166
+ display: flex;
69167
+ position: relative;
69168
+ width: 100%;
69169
+
69170
+ > .rs-auto-complete {
69171
+ display: flex;
69172
+ flex-grow: 1;
69173
+ }
69174
+
69175
+ > input,
69176
+ > .rs-auto-complete > input {
69177
+ ${inputStyle}
69178
+ padding: ${(p)=>p.$hasIcon ? PADDING_WITH_ICON[p.$size] : PADDING[p.$size]};
69179
+ line-height: 1;
69180
+ flex-grow: 1;
69181
+ }
69182
+
69183
+ > .Element-IconBox {
69184
+ position: absolute;
69185
+ right: ${(p)=>p.$size === Size.LARGE ? '16px' : '8px'};
69186
+ top: ${(p)=>p.$size === Size.LARGE ? '10px' : '5px'};
69187
+ }
69188
+ `;
69189
+
69155
69190
  function Search({ className, customSearch = undefined, customSearchMinQueryLength = 1, disabled = false, error, isErrorMessageHidden = false, isLabelHidden, isLight = false, isRequired = false, isSearchIconHidden = true, isTransparent = false, isUndefinedWhenDisabled = false, key, label, MenuItem, onChange, onQuery, options = [], optionValueKey, popupWidth, readOnly = false, size = Size.NORMAL, style, value, ...originalProps }) {
69156
69191
  // eslint-disable-next-line no-null/no-null
69157
69192
  const boxRef = useRef(null);
@@ -69254,7 +69289,7 @@ function Search({ className, customSearch = undefined, customSearchMinQueryLengt
69254
69289
  style: style,
69255
69290
  children: [
69256
69291
  /*#__PURE__*/ jsx(Label, {
69257
- $idDisabled: disabled,
69292
+ $isDisabled: disabled,
69258
69293
  $isHidden: isLabelHidden,
69259
69294
  $isRequired: isRequired,
69260
69295
  htmlFor: originalProps.name,
@@ -69418,7 +69453,7 @@ function Select({ className, customSearch, customSearchMinQueryLength = 1, disab
69418
69453
  style: style,
69419
69454
  children: [
69420
69455
  /*#__PURE__*/ jsx(Label, {
69421
- $idDisabled: disabled,
69456
+ $isDisabled: disabled,
69422
69457
  $isHidden: isLabelHidden,
69423
69458
  $isRequired: isRequired,
69424
69459
  htmlFor: originalProps.name,
@@ -69493,7 +69528,7 @@ function Textarea({ className, disabled = false, error, isErrorMessageHidden = f
69493
69528
  style: style,
69494
69529
  children: [
69495
69530
  /*#__PURE__*/ jsx(Label, {
69496
- $idDisabled: disabled,
69531
+ $isDisabled: disabled,
69497
69532
  $isHidden: isLabelHidden,
69498
69533
  $isRequired: isRequired,
69499
69534
  htmlFor: originalProps.name,
@@ -69596,7 +69631,7 @@ function TextInput({ className, disabled = false, error, Icon, isErrorMessageHid
69596
69631
  style: style,
69597
69632
  children: [
69598
69633
  /*#__PURE__*/ jsx(Label, {
69599
- $idDisabled: disabled,
69634
+ $isDisabled: disabled,
69600
69635
  $isHidden: isLabelHidden,
69601
69636
  $isRequired: isRequired,
69602
69637
  htmlFor: name,
@@ -69759,7 +69794,7 @@ function Toggle({ checked = false, className, dataCy, disabled = false, error, i
69759
69794
  style: style,
69760
69795
  children: [
69761
69796
  /*#__PURE__*/ jsx(Label, {
69762
- $idDisabled: disabled,
69797
+ $isDisabled: disabled,
69763
69798
  $isHidden: isLabelHidden,
69764
69799
  $isRequired: isRequired,
69765
69800
  htmlFor: originalProps.name,
@@ -69775,7 +69810,7 @@ function Toggle({ checked = false, className, dataCy, disabled = false, error, i
69775
69810
  checked: checked,
69776
69811
  "data-cy": dataCy,
69777
69812
  disabled: disabled,
69778
- onChange: onChange,
69813
+ onChange: (isChecked)=>onChange?.(isChecked),
69779
69814
  readOnly: readOnly,
69780
69815
  ...originalProps
69781
69816
  }, key),
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.0",
4
+ "version": "24.11.2",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@babel/runtime": "7.26.0",
12
- "@tanstack/react-table": "8.20.5",
12
+ "@tanstack/react-table": "8.20.6",
13
13
  "@tanstack/react-virtual": "beta",
14
14
  "prop-types": "15.8.1",
15
15
  "tslib": "2.8.1"
package/symbols/Dot.d.ts CHANGED
@@ -3,5 +3,5 @@ export type DotProps = {
3
3
  $borderColor?: string;
4
4
  $size?: number;
5
5
  };
6
- export declare const Dot: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, DotProps, never>;
6
+ export declare const Dot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, DotProps>> & string;
7
7
  //# sourceMappingURL=Dot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dot.d.ts","sourceRoot":"","sources":["../../src/symbols/Dot.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,QAAQ,GAAG;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,eAAO,MAAM,GAAG,gHAWf,CAAA"}
1
+ {"version":3,"file":"Dot.d.ts","sourceRoot":"","sources":["../../src/symbols/Dot.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,QAAQ,GAAG;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,eAAO,MAAM,GAAG,+OAWf,CAAA"}
@@ -4,5 +4,5 @@ export type ExclamationPointProps = HTMLAttributes<HTMLSpanElement> & {
4
4
  color?: string | undefined;
5
5
  size?: number;
6
6
  };
7
- export declare const ExclamationPoint: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, ExclamationPointProps, never>;
7
+ export declare const ExclamationPoint: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, ExclamationPointProps>> & string;
8
8
  //# sourceMappingURL=ExclamationPoint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExclamationPoint.d.ts","sourceRoot":"","sources":["../../src/symbols/ExclamationPoint.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAG3C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,eAAe,CAAC,GAAG;IACpE,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAID,eAAO,MAAM,gBAAgB,6HAgB5B,CAAA"}
1
+ {"version":3,"file":"ExclamationPoint.d.ts","sourceRoot":"","sources":["../../src/symbols/ExclamationPoint.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAG3C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,eAAe,CAAC,GAAG;IACpE,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAID,eAAO,MAAM,gBAAgB,4OAgB5B,CAAA"}
@@ -1,4 +1,4 @@
1
- export declare const SortingIcon: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, {
1
+ export declare const SortingIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<any, {
2
2
  $isDescending?: boolean;
3
- }, string | number | symbol>;
3
+ }>> & (string | (string & Omit<any, keyof import("react").Component<any, {}, any>>));
4
4
  //# sourceMappingURL=SortingIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SortingIcon.d.ts","sourceRoot":"","sources":["../../../src/tables/DataTable/SortingIcon.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;oBACN,OAAO;4BASxB,CAAA"}
1
+ {"version":3,"file":"SortingIcon.d.ts","sourceRoot":"","sources":["../../../src/tables/DataTable/SortingIcon.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;oBACN,OAAO;oFASxB,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const CellLoader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1
+ export declare const CellLoader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
2
  //# sourceMappingURL=CellLoader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CellLoader.d.ts","sourceRoot":"","sources":["../../../src/tables/SimpleTable/CellLoader.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,UAAU,yGAiBtB,CAAA"}
1
+ {"version":3,"file":"CellLoader.d.ts","sourceRoot":"","sources":["../../../src/tables/SimpleTable/CellLoader.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,UAAU,6NAiBtB,CAAA"}
@@ -1,6 +1,10 @@
1
1
  import type { TdHTMLAttributes } from 'react';
2
- export declare const Td: import("styled-components").StyledComponent<"td", import("styled-components").DefaultTheme, TdHTMLAttributes<HTMLTableCellElement> & {
2
+ type TdProps = TdHTMLAttributes<HTMLTableCellElement> & {
3
3
  $isCenter?: boolean | undefined;
4
4
  $isLoading?: boolean | undefined;
5
- }, keyof TdHTMLAttributes<HTMLTableCellElement> | "$isCenter" | "$isLoading">;
5
+ };
6
+ export declare const Td: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, Omit<import("react").DetailedHTMLProps<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & {
7
+ ref?: ((instance: HTMLTableDataCellElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableDataCellElement> | null | undefined;
8
+ }>, TdProps>, never>> & string;
9
+ export {};
6
10
  //# sourceMappingURL=Td.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Td.d.ts","sourceRoot":"","sources":["../../../src/tables/SimpleTable/Td.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAA;AAM7C,eAAO,MAAM,EAAE;gBAHD,OAAO,GAAG,SAAS;iBAClB,OAAO,GAAG,SAAS;6EAyBjC,CAAA"}
1
+ {"version":3,"file":"Td.d.ts","sourceRoot":"","sources":["../../../src/tables/SimpleTable/Td.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAA;AAE7C,KAAK,OAAO,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,GAAG;IACtD,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC/B,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CACjC,CAAA;AACD,eAAO,MAAM,EAAE;;8BAuBd,CAAA"}