@mtes-mct/monitor-ui 8.2.0 → 8.3.0
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 +8 -0
- package/index.js +96 -9
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/MapMenuModal/index.d.ts +10 -0
- package/src/components/SingleTag.d.ts +3 -1
- package/src/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IconButton } from '../../elements/IconButton';
|
|
2
|
+
export declare const MapMenuModal: {
|
|
3
|
+
Body: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
CloseButton: import("styled-components").StyledComponent<typeof IconButton, import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
Footer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
Title: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
VisibilityButton: import("styled-components").StyledComponent<typeof IconButton, import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
+
import { Accent } from '../constants';
|
|
2
3
|
import type { Promisable } from 'type-fest';
|
|
3
4
|
export type SingleTagProps = HTMLAttributes<HTMLDivElement> & {
|
|
5
|
+
accent?: Accent | undefined;
|
|
4
6
|
children: string;
|
|
5
7
|
onDelete: () => Promisable<void>;
|
|
6
8
|
};
|
|
7
|
-
export declare function SingleTag({ children, className, onDelete, ...nativeProps }: SingleTagProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function SingleTag({ accent, children, className, onDelete, ...nativeProps }: SingleTagProps): import("react/jsx-runtime").JSX.Element;
|
package/src/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export { NewWindow } from './components/NewWindow';
|
|
|
16
16
|
export { NotificationEvent, Notifier } from './components/Notifier';
|
|
17
17
|
export { SideMenu } from './components/SideMenu';
|
|
18
18
|
export { SingleTag } from './components/SingleTag';
|
|
19
|
+
export { MapMenuModal } from './components/MapMenuModal';
|
|
19
20
|
export { Button } from './elements/Button';
|
|
20
21
|
export { Field } from './elements/Field';
|
|
21
22
|
export { Fieldset } from './elements/Fieldset';
|