@mtes-mct/monitor-ui
Advanced tools
Comparing version 23.1.3 to 23.2.0
@@ -0,4 +1,4 @@ | ||
import { Level } from '@constants'; | ||
import { type ReactNode } from 'react'; | ||
import { type CSSProperties } from 'styled-components'; | ||
import { Level } from '../../constants'; | ||
import type { Promisable } from 'type-fest'; | ||
@@ -5,0 +5,0 @@ export type BannerProps = { |
@@ -1,2 +0,2 @@ | ||
import { Level } from '../../constants'; | ||
import { Level } from '@constants'; | ||
export declare const getBannerPalette: (level: Level) => { | ||
@@ -3,0 +3,0 @@ backgroundColor: string; |
@@ -1,4 +0,4 @@ | ||
import { Accent } from '../../constants'; | ||
import { Accent } from '@constants'; | ||
import type { DropdownItemProps } from './Item'; | ||
import type { IconProps } from '../../types/definitions'; | ||
import type { IconProps } from '@types_/definitions'; | ||
import type { FunctionComponent } from 'react'; | ||
@@ -5,0 +5,0 @@ import type { DropdownProps as RsuiteDropdownProps } from 'rsuite'; |
@@ -1,3 +0,3 @@ | ||
import { Accent } from '../../constants'; | ||
import type { IconProps } from '../../types/definitions'; | ||
import { Accent } from '@constants'; | ||
import type { IconProps } from '@types_/definitions'; | ||
import type { FunctionComponent } from 'react'; | ||
@@ -4,0 +4,0 @@ import type { DropdownMenuItemProps as RsuiteDropdownMenuItemProps } from 'rsuite'; |
@@ -1,2 +0,2 @@ | ||
import { Accent } from '../../constants'; | ||
import { Accent } from '@constants'; | ||
export declare const MapMenuDialog: { | ||
@@ -3,0 +3,0 @@ Body: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>; |
@@ -1,2 +0,2 @@ | ||
import { Level } from '../../constants'; | ||
import { Level } from '@constants'; | ||
import type { IconProps } from '@types_/definitions'; | ||
@@ -3,0 +3,0 @@ import type { FunctionComponent } from 'react'; |
@@ -0,3 +1,3 @@ | ||
import { Level } from '@constants'; | ||
import { type FunctionComponent, type HTMLAttributes, type ReactNode } from 'react'; | ||
import { Level } from '../../constants'; | ||
import type { IconProps } from '@types_/definitions'; | ||
@@ -4,0 +4,0 @@ export type MessageProps = HTMLAttributes<HTMLDivElement> & { |
@@ -1,3 +0,3 @@ | ||
import { Level } from '../../constants'; | ||
import { THEME } from '../../theme'; | ||
import { Level } from '@constants'; | ||
import { THEME } from '@theme'; | ||
export declare function getStyledCssFromLevel(): (props: { | ||
@@ -4,0 +4,0 @@ $level: Level; |
@@ -0,13 +1,10 @@ | ||
import { Size } from '@constants'; | ||
import { type IconProps } from '@types_/definitions'; | ||
import { type ButtonHTMLAttributes, type FunctionComponent, type ReactNode } from 'react'; | ||
import { Size } from '../constants'; | ||
export type LinkButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & { | ||
Icon?: FunctionComponent<IconProps>; | ||
children?: string | ReactNode; | ||
size: Size; | ||
Icon?: FunctionComponent<IconProps> | undefined; | ||
children?: string | ReactNode | undefined; | ||
size?: Size | undefined; | ||
}; | ||
export declare function LinkButton({ children, Icon, ...props }: Readonly<LinkButtonProps>): import("react/jsx-runtime").JSX.Element; | ||
export declare namespace LinkButton { | ||
var displayName: string; | ||
} | ||
export declare function LinkButton({ children, className, Icon, size, ...props }: Readonly<LinkButtonProps>): import("react/jsx-runtime").JSX.Element; | ||
//# sourceMappingURL=LinkButton.d.ts.map |
@@ -0,3 +1,3 @@ | ||
import { Accent } from '@constants'; | ||
import { type HTMLAttributes } from 'react'; | ||
import { Accent } from '../constants'; | ||
import type { Promisable } from 'type-fest'; | ||
@@ -4,0 +4,0 @@ export type SingleTagProps = HTMLAttributes<HTMLDivElement> & { |
@@ -0,4 +1,4 @@ | ||
import { Accent } from '@constants'; | ||
import { type FunctionComponent, type HTMLAttributes } from 'react'; | ||
import { Accent } from '../../constants'; | ||
import type { IconProps } from '../../types/definitions'; | ||
import type { IconProps } from '@types_/definitions'; | ||
export type TagProps = HTMLAttributes<HTMLSpanElement> & { | ||
@@ -5,0 +5,0 @@ Icon?: FunctionComponent<IconProps> | undefined; |
@@ -1,3 +0,3 @@ | ||
import { CoordinatesFormat } from '../../constants'; | ||
import type { Coordinates } from '../../types/definitions'; | ||
import { CoordinatesFormat } from '@constants'; | ||
import type { Coordinates } from '@types_/definitions'; | ||
type DMDCoordinatesInputProps = { | ||
@@ -4,0 +4,0 @@ coordinates: Coordinates | undefined; |
@@ -1,3 +0,3 @@ | ||
import type { CoordinatesFormat } from '../../constants'; | ||
import type { Coordinates } from '../../types/definitions'; | ||
import type { CoordinatesFormat } from '@constants'; | ||
import type { Coordinates } from '@types_/definitions'; | ||
type DMSCoordinatesInputProps = { | ||
@@ -4,0 +4,0 @@ coordinates: Coordinates | undefined; |
@@ -0,4 +1,4 @@ | ||
import { CoordinatesFormat } from '@constants'; | ||
import { type CSSProperties } from 'react'; | ||
import { CoordinatesFormat } from '../../constants'; | ||
import type { Coordinates } from '../../types/definitions'; | ||
import type { Coordinates } from '@types_/definitions'; | ||
import type { Promisable } from 'type-fest'; | ||
@@ -5,0 +5,0 @@ export type CoordinatesInputProps = { |
@@ -1,2 +0,2 @@ | ||
import { RichBoolean } from '../../constants'; | ||
import { RichBoolean } from '@constants'; | ||
import { type MultiCheckboxProps } from '../MultiCheckbox'; | ||
@@ -3,0 +3,0 @@ import type { Promisable } from 'type-fest'; |
@@ -1,5 +0,5 @@ | ||
import type { RichBoolean } from '../../constants'; | ||
import type { Option } from '../../types/definitions'; | ||
import type { RichBoolean } from '@constants'; | ||
import type { Option } from '@types_/definitions'; | ||
export type RichBooleanOptionValue = RichBoolean.FALSE | RichBoolean.TRUE; | ||
export type RichBooleanOption = Option<RichBooleanOptionValue>; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { RichBoolean } from '../../constants'; | ||
import { RichBoolean } from '@constants'; | ||
import type { RichBooleanOptionValue } from './types'; | ||
@@ -3,0 +3,0 @@ export declare function getRichBooleanFromRichBooleanOptionValues(optionValues: RichBooleanOptionValue[] | undefined): RichBoolean | undefined; |
@@ -0,5 +1,5 @@ | ||
import { Size } from '@constants'; | ||
import { type ElementType } from 'react'; | ||
import { Size } from '../constants'; | ||
import type { CustomSearch } from '../libs/CustomSearch'; | ||
import type { Option, OptionValueType } from '../types/definitions'; | ||
import type { CustomSearch } from '@libs/CustomSearch'; | ||
import type { Option, OptionValueType } from '@types_/definitions'; | ||
import type { AutoCompleteProps as RsuiteAutoCompleteProps } from 'rsuite'; | ||
@@ -6,0 +6,0 @@ import type { Promisable } from 'type-fest'; |
@@ -1,2 +0,2 @@ | ||
import { Size } from '../../constants'; | ||
import { Size } from '@constants'; | ||
import type { CommonFieldStyleProps } from './types'; | ||
@@ -3,0 +3,0 @@ type StyledInputBoxProps = CommonFieldStyleProps & { |
@@ -0,4 +1,4 @@ | ||
import { Size } from '@constants'; | ||
import { type FunctionComponent } from 'react'; | ||
import { Size } from '../constants'; | ||
import type { IconProps } from '../types/definitions'; | ||
import type { IconProps } from '@types_/definitions'; | ||
import type { InputProps } from 'rsuite'; | ||
@@ -5,0 +5,0 @@ import type { Promisable } from 'type-fest'; |
@@ -1,4 +0,4 @@ | ||
import type { RichBooleanCheckboxProps } from '../fields/RichBooleanCheckbox'; | ||
import type { RichBooleanCheckboxProps } from '@fields/RichBooleanCheckbox'; | ||
export type FormikRichBooleanCheckboxProps = Omit<RichBooleanCheckboxProps, 'defaultValue' | 'error' | 'onChange' | 'value'>; | ||
export declare function FormikRichBooleanCheckbox({ name, ...originalProps }: FormikRichBooleanCheckboxProps): import("react/jsx-runtime").JSX.Element; | ||
//# sourceMappingURL=FormikRichBooleanCheckbox.d.ts.map |
{ | ||
"name": "@mtes-mct/monitor-ui", | ||
"description": "Common React components, hooks, utilities and CSS stylesheets for MonitorFish, MonitorEnv and RapportNav.", | ||
"version": "23.1.3", | ||
"version": "23.2.0", | ||
"license": "AGPL-3.0", | ||
@@ -6,0 +6,0 @@ "type": "module", |
@@ -1,3 +0,3 @@ | ||
import { RichBoolean } from '../constants'; | ||
import { RichBoolean } from '@constants'; | ||
export declare function getMaybeBooleanFromRichBoolean(value: RichBoolean | undefined): boolean | undefined; | ||
//# sourceMappingURL=getMaybeBooleanFromRichBoolean.d.ts.map |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3788919
72845