@mtes-mct/monitor-ui 24.10.2 → 24.11.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 (79) hide show
  1. package/CHANGELOG.md +24 -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/icons/Stroke.d.ts +3 -0
  59. package/icons/Stroke.d.ts.map +1 -0
  60. package/icons/index.d.ts +2 -1
  61. package/icons/index.d.ts.map +1 -1
  62. package/index.js +223 -94
  63. package/package.json +2 -2
  64. package/symbols/Dot.d.ts +1 -1
  65. package/symbols/Dot.d.ts.map +1 -1
  66. package/symbols/ExclamationPoint.d.ts +1 -1
  67. package/symbols/ExclamationPoint.d.ts.map +1 -1
  68. package/tables/DataTable/SortingIcon.d.ts +2 -2
  69. package/tables/DataTable/SortingIcon.d.ts.map +1 -1
  70. package/tables/SimpleTable/CellLoader.d.ts +1 -1
  71. package/tables/SimpleTable/CellLoader.d.ts.map +1 -1
  72. package/tables/SimpleTable/Td.d.ts +6 -2
  73. package/tables/SimpleTable/Td.d.ts.map +1 -1
  74. package/tables/SimpleTable/index.d.ts +14 -9
  75. package/tables/SimpleTable/index.d.ts.map +1 -1
  76. package/tables/TableWithSelectableRows/index.d.ts +24 -12
  77. package/tables/TableWithSelectableRows/index.d.ts.map +1 -1
  78. package/types/commonTypes.d.ts +23 -0
  79. package/types/commonTypes.d.ts.map +1 -0
@@ -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"}
@@ -0,0 +1,3 @@
1
+ import type { IconProps } from '../types/definitions';
2
+ export declare function Stroke({ color, size, title, ...nativeProps }: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=Stroke.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Stroke.d.ts","sourceRoot":"","sources":["../../src/icons/Stroke.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EAAE,SAAS,2CAoCvE"}
package/icons/index.d.ts CHANGED
@@ -84,6 +84,7 @@ import { SortingArrows } from './SortingArrows';
84
84
  import { SortingChevrons } from './SortingChevrons';
85
85
  import { SortSelectedDown } from './SortSelectedDown';
86
86
  import { SortSelectedUp } from './SortSelectedUp';
87
+ import { Stroke } from './Stroke';
87
88
  import { Subscription } from './Subscription';
88
89
  import { Summary } from './Summary';
89
90
  import { Tag } from './Tag';
@@ -95,5 +96,5 @@ import { ViewOnMap } from './ViewOnMap';
95
96
  import { VigilanceAreas } from './VigilanceAreas';
96
97
  import { Vms } from './Vms';
97
98
  import { Warning } from './Warning';
98
- export { Account, ActivityFeed, Alert, Anchor, Archive, Attention, AttentionFilled, Bullseye, Calendar, Car, Check, Chevron, Circle, CircleFilled, Clock, ClockDashed, Close, Comment, Confirm, ControlUnit, ControlUnitFilled, Delete, Display, Document, DoubleChevron, Download, Drapeau, Duplicate, Edit, EditUnbordered, Expand, ExternalLink, Favorite, FilledArrow, Filter, FilterBis, Fishery, FishingEngine, FleetSegment, Focus, FocusVessel, FocusZones, Hide, Info, Infringement, Invalid, Landmark, Link, List, ListLines, Logout, MapLayers, MeasureAngle, MeasureBrokenLine, MeasureCircle, MeasureLine, Minus, MissionAction, More, Note, Observation, Phone, Pin, PinFilled, Pinpoint, PinpointHide, Plane, Plus, Reject, Report, Rescue, Reset, Save, Search, SelectCircle, SelectPolygon, SelectRectangle, SelectZone, Semaphore, Send, ShowErsMessages, ShowXml, SortSelectedDown, SortSelectedUp, SortingArrows, SortingChevrons, Subscription, Summary, Tag, Target, Unlink, Unlock, Vessel, ViewOnMap, VigilanceAreas, Vms, Warning };
99
+ export { Account, ActivityFeed, Alert, Anchor, Archive, Attention, AttentionFilled, Bullseye, Calendar, Car, Check, Chevron, Circle, CircleFilled, Clock, ClockDashed, Close, Comment, Confirm, ControlUnit, ControlUnitFilled, Delete, Display, Document, DoubleChevron, Download, Drapeau, Duplicate, Edit, EditUnbordered, Expand, ExternalLink, Favorite, FilledArrow, Filter, FilterBis, Fishery, FishingEngine, FleetSegment, Focus, FocusVessel, FocusZones, Hide, Info, Infringement, Invalid, Landmark, Link, List, ListLines, Logout, MapLayers, MeasureAngle, MeasureBrokenLine, MeasureCircle, MeasureLine, Minus, MissionAction, More, Note, Observation, Phone, Pin, PinFilled, Pinpoint, PinpointHide, Plane, Plus, Reject, Report, Rescue, Reset, Save, Search, SelectCircle, SelectPolygon, SelectRectangle, SelectZone, Semaphore, Send, ShowErsMessages, ShowXml, SortSelectedDown, SortSelectedUp, SortingArrows, SortingChevrons, Stroke, Subscription, Summary, Tag, Target, Unlink, Unlock, Vessel, ViewOnMap, VigilanceAreas, Vms, Warning };
99
100
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,MAAM,EAAE,MAA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,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,OAAO,EACL,OAAO,EACP,YAAY,EACZ,KAAK,EACL,MAAM,EACN,OAAO,EACP,SAAS,EACT,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,KAAK,EACL,OAAO,EACP,MAAM,EACN,YAAY,EACZ,KAAK,EACL,WAAW,EACX,KAAK,EACL,OAAO,EACP,OAAO,EACP,WAAW,EACX,iBAAiB,EACjB,MAAM,EACN,OAAO,EACP,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,OAAO,EACP,SAAS,EACT,IAAI,EACJ,cAAc,EACd,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,MAAM,EACN,SAAS,EACT,OAAO,EACP,aAAa,EACb,YAAY,EACZ,KAAK,EACL,WAAW,EACX,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,MAAM,EACN,SAAS,EACT,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,KAAK,EACL,aAAa,EACb,IAAI,EACJ,IAAI,EACJ,WAAW,EACX,KAAK,EACL,GAAG,EACH,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,MAAM,EACN,MAAM,EACN,KAAK,EACL,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,IAAI,EACJ,eAAe,EACf,OAAO,EACP,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,eAAe,EACf,YAAY,EACZ,OAAO,EACP,GAAG,EACH,MAAM,EACN,MAAM,EACN,MAAM,EACN,MAAM,EACN,SAAS,EACT,cAAc,EACd,GAAG,EACH,OAAO,EACR,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icons/index.tsx"],"names":[],"mappings":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ACP,SAAS,EACT,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,KAAK,EACL,OAAO,EACP,MAAM,EACN,YAAY,EACZ,KAAK,EACL,WAAW,EACX,KAAK,EACL,OAAO,EACP,OAAO,EACP,WAAW,EACX,iBAAiB,EACjB,MAAM,EACN,OAAO,EACP,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,OAAO,EACP,SAAS,EACT,IAAI,EACJ,cAAc,EACd,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,MAAM,EACN,SAAS,EACT,OAAO,EACP,aAAa,EACb,YAAY,EACZ,KAAK,EACL,WAAW,EACX,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,MAAM,EACN,SAAS,EACT,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,KAAK,EACL,aAAa,EACb,IAAI,EACJ,IAAI,EACJ,WAAW,EACX,KAAK,EACL,GAAG,EACH,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,MAAM,EACN,MAAM,EACN,KAAK,EACL,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,IAAI,EACJ,eAAe,EACf,OAAO,EACP,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,eAAe,EACf,MAAM,EACN,YAAY,EACZ,OAAO,EACP,GAAG,EACH,MAAM,EACN,MAAM,EACN,MAAM,EACN,MAAM,EACN,SAAS,EACT,cAAc,EACd,GAAG,EACH,OAAO,EACR,CAAA"}
package/index.js CHANGED
@@ -21245,6 +21245,98 @@ function SortSelectedUp({ color, size, title, ...nativeProps }) {
21245
21245
  });
21246
21246
  }
21247
21247
 
21248
+ function Stroke({ color, size, title, ...nativeProps }) {
21249
+ return /*#__PURE__*/ jsx(IconBox, {
21250
+ $color: color,
21251
+ $size: size,
21252
+ title: title,
21253
+ children: /*#__PURE__*/ jsxs("svg", {
21254
+ height: "20",
21255
+ viewBox: "0 0 20 20",
21256
+ width: "20",
21257
+ ...nativeProps,
21258
+ children: [
21259
+ /*#__PURE__*/ jsxs("g", {
21260
+ opacity: "0.25",
21261
+ transform: "translate(-670.5 2008.5)",
21262
+ children: [
21263
+ /*#__PURE__*/ jsx("g", {
21264
+ children: /*#__PURE__*/ jsx("rect", {
21265
+ fill: "#606060",
21266
+ height: "1",
21267
+ transform: "translate(672.156 -1990.836) rotate(-45)",
21268
+ width: "21.92"
21269
+ })
21270
+ }),
21271
+ /*#__PURE__*/ jsx("g", {
21272
+ children: /*#__PURE__*/ jsx("rect", {
21273
+ fill: "#606060",
21274
+ height: "1",
21275
+ transform: "translate(676.729 -1990.832) rotate(-45)",
21276
+ width: "16.163"
21277
+ })
21278
+ }),
21279
+ /*#__PURE__*/ jsx("g", {
21280
+ children: /*#__PURE__*/ jsx("rect", {
21281
+ fill: "#606060",
21282
+ height: "1",
21283
+ transform: "translate(681.298 -1990.837) rotate(-45)",
21284
+ width: "9.698"
21285
+ })
21286
+ }),
21287
+ /*#__PURE__*/ jsx("g", {
21288
+ children: /*#__PURE__*/ jsx("rect", {
21289
+ fill: "#606060",
21290
+ height: "1",
21291
+ transform: "translate(685.871 -1990.833) rotate(-45)",
21292
+ width: "3.233"
21293
+ })
21294
+ }),
21295
+ /*#__PURE__*/ jsx("g", {
21296
+ children: /*#__PURE__*/ jsx("rect", {
21297
+ fill: "#606060",
21298
+ height: "1",
21299
+ transform: "translate(672.153 -1995.41) rotate(-45)",
21300
+ width: "16.163"
21301
+ })
21302
+ }),
21303
+ /*#__PURE__*/ jsx("g", {
21304
+ children: /*#__PURE__*/ jsx("rect", {
21305
+ fill: "#606060",
21306
+ height: "1",
21307
+ transform: "translate(672.156 -1999.977) rotate(-45)",
21308
+ width: "9.698"
21309
+ })
21310
+ }),
21311
+ /*#__PURE__*/ jsx("g", {
21312
+ children: /*#__PURE__*/ jsx("rect", {
21313
+ fill: "#606060",
21314
+ height: "1",
21315
+ transform: "translate(672.154 -2004.552) rotate(-45)",
21316
+ width: "3.233"
21317
+ })
21318
+ })
21319
+ ]
21320
+ }),
21321
+ /*#__PURE__*/ jsx("g", {
21322
+ transform: "translate(-1519 -807)",
21323
+ children: /*#__PURE__*/ jsx("g", {
21324
+ children: /*#__PURE__*/ jsx("path", {
21325
+ d: "M1538,808h-18v18h18V808Zm-16,16V810h14v14Z",
21326
+ fill: "currentColor"
21327
+ })
21328
+ })
21329
+ }),
21330
+ /*#__PURE__*/ jsx("rect", {
21331
+ fill: "none",
21332
+ height: "20",
21333
+ width: "20"
21334
+ })
21335
+ ]
21336
+ })
21337
+ });
21338
+ }
21339
+
21248
21340
  function Subscription({ color, size, title, ...nativeProps }) {
21249
21341
  return /*#__PURE__*/ jsx(IconBox, {
21250
21342
  $color: color,
@@ -21843,6 +21935,7 @@ var index = /*#__PURE__*/Object.freeze({
21843
21935
  SortSelectedUp: SortSelectedUp,
21844
21936
  SortingArrows: SortingArrows,
21845
21937
  SortingChevrons: SortingChevrons,
21938
+ Stroke: Stroke,
21846
21939
  Subscription: Subscription,
21847
21940
  Summary: Summary,
21848
21941
  Tag: Tag$1,
@@ -53968,6 +54061,7 @@ const Box$c = styled.div`
53968
54061
  function LinkButton({ children, className, Icon, size = Size.NORMAL, ...props }) {
53969
54062
  const controlledClassName = classnames('Element-LinkButton', className);
53970
54063
  return /*#__PURE__*/ jsx(StyledLinkButton$1, {
54064
+ $isDisabled: props.disabled,
53971
54065
  $size: size,
53972
54066
  className: controlledClassName,
53973
54067
  ...props,
@@ -53996,7 +54090,7 @@ const StyledLinkButton$1 = styled.button`
53996
54090
  align-items: flex-end;
53997
54091
  background: transparent;
53998
54092
  color: ${(p)=>p.theme.color.slateGray};
53999
- cursor: ${(p)=>p.disabled ? 'none' : 'pointer'};
54093
+ cursor: ${(p)=>p.$isDisabled ? 'none' : 'pointer'};
54000
54094
  display: flex;
54001
54095
  flex-direction: row;
54002
54096
  font-size: ${(p)=>FONT_SIZE$1[p.$size]};
@@ -54459,7 +54553,7 @@ const FieldError = styled.p.attrs((props)=>({
54459
54553
  className: classnames('Element-FieldError', props.className)
54460
54554
  }))`
54461
54555
  color: ${(p)=>p.theme.color.maximumRed};
54462
- display: ${(p)=>p.isDisabled ? 'none' : 'block'};
54556
+ display: ${(p)=>p.$isDisabled ? 'none' : 'block'};
54463
54557
  font-size: 13px;
54464
54558
  font-style: italic;
54465
54559
  line-height: 1.3846;
@@ -54476,7 +54570,7 @@ const Label = styled.label.attrs((props)=>({
54476
54570
  className: classnames('Element-Label', props.className)
54477
54571
  }))`
54478
54572
  color: ${(p)=>// eslint-disable-next-line no-nested-ternary
54479
- p.$idDisabled ? p.theme.color.lightGray : p.$hasError ? p.theme.color.maximumRed : p.theme.color.slateGray};
54573
+ p.$isDisabled ? p.theme.color.lightGray : p.$hasError ? p.theme.color.maximumRed : p.theme.color.slateGray};
54480
54574
  display: ${(p)=>p.$isHidden ? 'none' : 'block'};
54481
54575
  font-size: 13px;
54482
54576
  line-height: 1.3846;
@@ -54890,7 +54984,7 @@ const StyledRsuiteCheckbox = styled(Checkbox$1)`
54890
54984
  > label {
54891
54985
  /* TODO Check that with Adeline. */
54892
54986
  color: ${(p)=>// eslint-disable-next-line no-nested-ternary
54893
- p.$isDisabled || p.$isReadOnly ? p.theme.color.lightGray : p.theme.color.gunMetal};
54987
+ p.$isDisabled ?? p.$isReadOnly ? p.theme.color.lightGray : p.theme.color.gunMetal};
54894
54988
  font-size: 13px;
54895
54989
  font-weight: 500;
54896
54990
  line-height: 1;
@@ -54916,7 +55010,7 @@ const StyledRsuiteCheckbox = styled(Checkbox$1)`
54916
55010
 
54917
55011
  /* Checkmark */
54918
55012
  &:after {
54919
- border-color: ${(p)=>p.$isReadOnly || p.$isTransparent ? p.theme.color.charcoal : p.theme.color.cultured};
55013
+ border-color: ${(p)=>p.$isReadOnly ?? p.$isTransparent ? p.theme.color.charcoal : p.theme.color.cultured};
54920
55014
  bottom: 0;
54921
55015
  left: 0;
54922
55016
  right: 0;
@@ -55420,7 +55514,7 @@ function CheckPicker({ className, customSearch, customSearchMinQueryLength = 1,
55420
55514
  style: style,
55421
55515
  children: [
55422
55516
  /*#__PURE__*/ jsx(Label, {
55423
- $idDisabled: disabled,
55517
+ $isDisabled: disabled,
55424
55518
  $isHidden: isLabelHidden,
55425
55519
  $isRequired: isRequired,
55426
55520
  htmlFor: originalProps.name,
@@ -67986,7 +68080,7 @@ function MultiCascader({ className, disabled = false, error, isErrorMessageHidde
67986
68080
  style: style,
67987
68081
  children: [
67988
68082
  /*#__PURE__*/ jsx(Label, {
67989
- $idDisabled: disabled,
68083
+ $isDisabled: disabled,
67990
68084
  $isHidden: isLabelHidden,
67991
68085
  $isRequired: isRequired,
67992
68086
  htmlFor: originalProps.name,
@@ -68119,7 +68213,7 @@ function MultiSelect({ className, customSearch, customSearchMinQueryLength = 1,
68119
68213
  style: style,
68120
68214
  children: [
68121
68215
  /*#__PURE__*/ jsx(Label, {
68122
- $idDisabled: disabled,
68216
+ $isDisabled: disabled,
68123
68217
  $isHidden: isLabelHidden,
68124
68218
  $isRequired: isRequired,
68125
68219
  htmlFor: originalProps.name,
@@ -68267,7 +68361,7 @@ const StyledRsuiteRadio = styled(Radio$1)`
68267
68361
  > label {
68268
68362
  /* TODO Check that with Adeline. */
68269
68363
  color: ${(p)=>// eslint-disable-next-line no-nested-ternary
68270
- p.$isDisabled || p.$isReadOnly ? p.theme.color.lightGray : p.theme.color.gunMetal};
68364
+ p.$isDisabled ?? p.$isReadOnly ? p.theme.color.lightGray : p.theme.color.gunMetal};
68271
68365
  font-size: 13px;
68272
68366
  font-weight: 500;
68273
68367
  line-height: 1;
@@ -68375,11 +68469,11 @@ readOnly = false, renderMenuItem, style, value }) {
68375
68469
  options,
68376
68470
  optionValueKey
68377
68471
  ]);
68378
- const handleChange = useCallback((nextRsuiteDataItemValue)=>{
68472
+ const handleChange = useCallback((nextRsuiteDataItemValue, _event)=>{
68379
68473
  if (!onChange || readOnly) {
68380
68474
  return;
68381
68475
  }
68382
- const nextOptionValue = getSelectedOptionValueFromSelectedRsuiteDataItemValue(rsuiteData, nextRsuiteDataItemValue);
68476
+ const nextOptionValue = getSelectedOptionValueFromSelectedRsuiteDataItemValue(rsuiteData, String(nextRsuiteDataItemValue));
68383
68477
  onChange(nextOptionValue);
68384
68478
  }, [
68385
68479
  onChange,
@@ -68399,7 +68493,7 @@ readOnly = false, renderMenuItem, style, value }) {
68399
68493
  $isInline: isInline,
68400
68494
  name: name,
68401
68495
  onChange: handleChange,
68402
- value: selectedRsuiteValue,
68496
+ value: selectedRsuiteValue ?? '',
68403
68497
  children: rsuiteData.map((rsuiteDataItem)=>/*#__PURE__*/ jsx(Radio, {
68404
68498
  checked: value !== undefined && lodashExports.eq(rsuiteDataItem.optionValue, value),
68405
68499
  disabled: !!rsuiteDataItem.isDisabled || disabled,
@@ -68675,7 +68769,7 @@ function NumberInput({ areArrowsHidden = false, className, disabled = false, err
68675
68769
  style: style,
68676
68770
  children: [
68677
68771
  /*#__PURE__*/ jsx(Label, {
68678
- $idDisabled: disabled,
68772
+ $isDisabled: disabled,
68679
68773
  $isHidden: isLabelHidden,
68680
68774
  $isRequired: isRequired,
68681
68775
  htmlFor: name,
@@ -68786,78 +68880,6 @@ const InputWithUnit = styled(BaseInput)`
68786
68880
  flex-grow: 1;
68787
68881
  `;
68788
68882
 
68789
- const PADDING = {
68790
- [Size.LARGE]: '8px 16px 10px',
68791
- [Size.NORMAL]: '3px 8px 7px',
68792
- [Size.SMALL]: '3px 8px 6px'
68793
- };
68794
- const PADDING_WITH_ICON = {
68795
- [Size.LARGE]: '8px 48px 10px 16px',
68796
- [Size.NORMAL]: '3px 38px 6px 8px',
68797
- [Size.SMALL]: '3px 38px 6px 8px'
68798
- };
68799
- const inputStyle = css`
68800
- background-color: ${getFieldBackgroundColorFactory()};
68801
- border: solid 1px ${getFieldBorderColorFactoryForState('default')};
68802
- border-radius: 0;
68803
- color: ${(p)=>p.theme.color.gunMetal};
68804
- ${(p)=>p.$isReadOnly && `cursor: default;`}
68805
- font-size: 13px;
68806
- font-weight: 500;
68807
- line-height: 19px;
68808
- padding: 3px 8px 6px;
68809
- vertical-align: center;
68810
- width: 100%;
68811
-
68812
- &::placeholder {
68813
- color: ${getFieldPlaceholderColorFactoryForState('default')};
68814
- }
68815
-
68816
- &:hover {
68817
- background-color: ${getFieldBackgroundColorFactory()};
68818
- border: solid 1px ${getFieldBorderColorFactoryForState('hover')} !important;
68819
-
68820
- &::placeholder {
68821
- color: ${getFieldPlaceholderColorFactoryForState('hover')};
68822
- }
68823
- }
68824
-
68825
- &:active,
68826
- &:focus {
68827
- background-color: ${getFieldBackgroundColorFactory()};
68828
- border: solid 1px ${getFieldBorderColorFactoryForState('focus')} !important;
68829
- outline: 0;
68830
-
68831
- &::placeholder {
68832
- color: ${getFieldPlaceholderColorFactoryForState('focus')};
68833
- }
68834
- }
68835
- `;
68836
- const StyledInputBox = styled.div`
68837
- display: flex;
68838
- position: relative;
68839
- width: 100%;
68840
-
68841
- > .rs-auto-complete {
68842
- display: flex;
68843
- flex-grow: 1;
68844
- }
68845
-
68846
- > input,
68847
- > .rs-auto-complete > input {
68848
- ${inputStyle}
68849
- padding: ${(p)=>p.$hasIcon ? PADDING_WITH_ICON[p.$size] : PADDING[p.$size]};
68850
- line-height: 1;
68851
- flex-grow: 1;
68852
- }
68853
-
68854
- > .Element-IconBox {
68855
- position: absolute;
68856
- right: ${(p)=>p.$size === Size.LARGE ? '16px' : '8px'};
68857
- top: ${(p)=>p.$size === Size.LARGE ? '10px' : '5px'};
68858
- }
68859
- `;
68860
-
68861
68883
  const internationalFormat = {
68862
68884
  definitions: {
68863
68885
  '#': /[1-9]/,
@@ -68887,13 +68909,13 @@ const defaultFormat = {
68887
68909
  };
68888
68910
  /**
68889
68911
  * FIXME (01/07/2024): This lib has probably a bug, I opened an issue : https://github.com/uNmAnNeR/imaskjs/issues/1053
68890
- */ 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)=>{
68912
+ */ 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)=>{
68891
68913
  useFieldUndefineEffect(isUndefinedWhenDisabled && !!disabled, undefined, ()=>onChange(''));
68892
68914
  return /*#__PURE__*/ jsxs(Field$2, {
68893
68915
  className: "Field-PhoneInput",
68894
68916
  children: [
68895
68917
  /*#__PURE__*/ jsx(Label, {
68896
- $idDisabled: disabled,
68918
+ $isDisabled: disabled,
68897
68919
  $isHidden: isLabelHidden,
68898
68920
  $isRequired: isRequired,
68899
68921
  htmlFor: name,
@@ -68904,6 +68926,7 @@ const defaultFormat = {
68904
68926
  $hasError: !!error,
68905
68927
  $isDisabled: disabled,
68906
68928
  $isLight: isLight,
68929
+ $isReadOnly: readOnly,
68907
68930
  $isTransparent: isTransparent,
68908
68931
  disabled: disabled,
68909
68932
  dispatch: (appended, dynamicMasked)=>{
@@ -68942,7 +68965,41 @@ const defaultFormat = {
68942
68965
  });
68943
68966
  });
68944
68967
  const StyledIMaskInput = styled(IMaskInput)`
68945
- ${inputStyle}
68968
+ background-color: ${getFieldBackgroundColorFactory()};
68969
+ border: solid 1px ${getFieldBorderColorFactoryForState('default')};
68970
+ border-radius: 0;
68971
+ color: ${(p)=>p.theme.color.gunMetal};
68972
+ cursor: default;
68973
+ font-size: 13px;
68974
+ font-weight: 500;
68975
+ line-height: 19px;
68976
+ padding: 3px 8px 6px;
68977
+ vertical-align: center;
68978
+ width: 100%;
68979
+
68980
+ &::placeholder {
68981
+ color: ${getFieldPlaceholderColorFactoryForState('default')};
68982
+ }
68983
+
68984
+ &:hover {
68985
+ background-color: ${getFieldBackgroundColorFactory()};
68986
+ border: solid 1px ${getFieldBorderColorFactoryForState('hover')} !important;
68987
+
68988
+ &::placeholder {
68989
+ color: ${getFieldPlaceholderColorFactoryForState('hover')};
68990
+ }
68991
+ }
68992
+
68993
+ &:active,
68994
+ &:focus {
68995
+ background-color: ${getFieldBackgroundColorFactory()};
68996
+ border: solid 1px ${getFieldBorderColorFactoryForState('focus')} !important;
68997
+ outline: 0;
68998
+
68999
+ &::placeholder {
69000
+ color: ${getFieldPlaceholderColorFactoryForState('focus')};
69001
+ }
69002
+ }
68946
69003
  `;
68947
69004
 
68948
69005
  function getRichBooleanFromRichBooleanOptionValues(optionValues) {
@@ -69059,6 +69116,78 @@ function RichBooleanCheckbox({ falseOptionLabel, onChange, trueOptionLabel, valu
69059
69116
  return selectedOption;
69060
69117
  }
69061
69118
 
69119
+ const PADDING = {
69120
+ [Size.LARGE]: '8px 16px 10px',
69121
+ [Size.NORMAL]: '3px 8px 7px',
69122
+ [Size.SMALL]: '3px 8px 6px'
69123
+ };
69124
+ const PADDING_WITH_ICON = {
69125
+ [Size.LARGE]: '8px 48px 10px 16px',
69126
+ [Size.NORMAL]: '3px 38px 6px 8px',
69127
+ [Size.SMALL]: '3px 38px 6px 8px'
69128
+ };
69129
+ const inputStyle = css`
69130
+ background-color: ${getFieldBackgroundColorFactory()};
69131
+ border: solid 1px ${getFieldBorderColorFactoryForState('default')};
69132
+ border-radius: 0;
69133
+ color: ${(p)=>p.theme.color.gunMetal};
69134
+ ${(p)=>p.$isReadOnly && `cursor: default;`}
69135
+ font-size: 13px;
69136
+ font-weight: 500;
69137
+ line-height: 19px;
69138
+ padding: 3px 8px 6px;
69139
+ vertical-align: center;
69140
+ width: 100%;
69141
+
69142
+ &::placeholder {
69143
+ color: ${getFieldPlaceholderColorFactoryForState('default')};
69144
+ }
69145
+
69146
+ &:hover {
69147
+ background-color: ${getFieldBackgroundColorFactory()};
69148
+ border: solid 1px ${getFieldBorderColorFactoryForState('hover')} !important;
69149
+
69150
+ &::placeholder {
69151
+ color: ${getFieldPlaceholderColorFactoryForState('hover')};
69152
+ }
69153
+ }
69154
+
69155
+ &:active,
69156
+ &:focus {
69157
+ background-color: ${getFieldBackgroundColorFactory()};
69158
+ border: solid 1px ${getFieldBorderColorFactoryForState('focus')} !important;
69159
+ outline: 0;
69160
+
69161
+ &::placeholder {
69162
+ color: ${getFieldPlaceholderColorFactoryForState('focus')};
69163
+ }
69164
+ }
69165
+ `;
69166
+ const StyledInputBox = styled.div`
69167
+ display: flex;
69168
+ position: relative;
69169
+ width: 100%;
69170
+
69171
+ > .rs-auto-complete {
69172
+ display: flex;
69173
+ flex-grow: 1;
69174
+ }
69175
+
69176
+ > input,
69177
+ > .rs-auto-complete > input {
69178
+ ${inputStyle}
69179
+ padding: ${(p)=>p.$hasIcon ? PADDING_WITH_ICON[p.$size] : PADDING[p.$size]};
69180
+ line-height: 1;
69181
+ flex-grow: 1;
69182
+ }
69183
+
69184
+ > .Element-IconBox {
69185
+ position: absolute;
69186
+ right: ${(p)=>p.$size === Size.LARGE ? '16px' : '8px'};
69187
+ top: ${(p)=>p.$size === Size.LARGE ? '10px' : '5px'};
69188
+ }
69189
+ `;
69190
+
69062
69191
  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 }) {
69063
69192
  // eslint-disable-next-line no-null/no-null
69064
69193
  const boxRef = useRef(null);
@@ -69161,7 +69290,7 @@ function Search({ className, customSearch = undefined, customSearchMinQueryLengt
69161
69290
  style: style,
69162
69291
  children: [
69163
69292
  /*#__PURE__*/ jsx(Label, {
69164
- $idDisabled: disabled,
69293
+ $isDisabled: disabled,
69165
69294
  $isHidden: isLabelHidden,
69166
69295
  $isRequired: isRequired,
69167
69296
  htmlFor: originalProps.name,
@@ -69325,7 +69454,7 @@ function Select({ className, customSearch, customSearchMinQueryLength = 1, disab
69325
69454
  style: style,
69326
69455
  children: [
69327
69456
  /*#__PURE__*/ jsx(Label, {
69328
- $idDisabled: disabled,
69457
+ $isDisabled: disabled,
69329
69458
  $isHidden: isLabelHidden,
69330
69459
  $isRequired: isRequired,
69331
69460
  htmlFor: originalProps.name,
@@ -69400,7 +69529,7 @@ function Textarea({ className, disabled = false, error, isErrorMessageHidden = f
69400
69529
  style: style,
69401
69530
  children: [
69402
69531
  /*#__PURE__*/ jsx(Label, {
69403
- $idDisabled: disabled,
69532
+ $isDisabled: disabled,
69404
69533
  $isHidden: isLabelHidden,
69405
69534
  $isRequired: isRequired,
69406
69535
  htmlFor: originalProps.name,
@@ -69503,7 +69632,7 @@ function TextInput({ className, disabled = false, error, Icon, isErrorMessageHid
69503
69632
  style: style,
69504
69633
  children: [
69505
69634
  /*#__PURE__*/ jsx(Label, {
69506
- $idDisabled: disabled,
69635
+ $isDisabled: disabled,
69507
69636
  $isHidden: isLabelHidden,
69508
69637
  $isRequired: isRequired,
69509
69638
  htmlFor: name,
@@ -69666,7 +69795,7 @@ function Toggle({ checked = false, className, dataCy, disabled = false, error, i
69666
69795
  style: style,
69667
69796
  children: [
69668
69797
  /*#__PURE__*/ jsx(Label, {
69669
- $idDisabled: disabled,
69798
+ $isDisabled: disabled,
69670
69799
  $isHidden: isLabelHidden,
69671
69800
  $isRequired: isRequired,
69672
69801
  htmlFor: originalProps.name,
@@ -69682,7 +69811,7 @@ function Toggle({ checked = false, className, dataCy, disabled = false, error, i
69682
69811
  checked: checked,
69683
69812
  "data-cy": dataCy,
69684
69813
  disabled: disabled,
69685
- onChange: onChange,
69814
+ onChange: (isChecked)=>onChange?.(isChecked),
69686
69815
  readOnly: readOnly,
69687
69816
  ...originalProps
69688
69817
  }, 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.10.2",
4
+ "version": "24.11.1",
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