@digital-ai/dot-components 4.28.1 → 5.0.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/index.esm.js +769 -31085
- package/package.json +4 -4
- package/src/lib/components/date-picker/DatePicker.d.ts +2 -1
- package/src/lib/components/date-picker/DatePicker.styles.d.ts +2 -2
- package/src/lib/components/list/ListItem.styles.d.ts +2 -2
- package/src/lib/components/menu/Menu.styles.d.ts +1 -8
- package/src/lib/components/popper/Popper.styles.d.ts +1 -8
- package/src/lib/components/time-picker/TimePicker.styles.d.ts +2 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digital-ai/dot-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE.md>",
|
|
6
6
|
"contributors": [
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@digital-ai/dot-illustrations": "latest",
|
|
44
44
|
"@emotion/react": "^11.10.4",
|
|
45
45
|
"@emotion/styled": "^11.10.4",
|
|
46
|
-
"@mui/material": "^5.
|
|
47
|
-
"@mui/x-date-pickers": "^
|
|
46
|
+
"@mui/material": "^5.18.0",
|
|
47
|
+
"@mui/x-date-pickers": "^7.29.4",
|
|
48
48
|
"dayjs": "^1.11.10",
|
|
49
49
|
"jwt-decode": "^3.1.2",
|
|
50
50
|
"react-dropzone": "^11.4.2",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"styled-components": "^5.2.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"react": "^17.0.2 || ^18.0.0"
|
|
55
|
+
"react": "^17.0.2 || ^18.0.0 || ^19.0.0"
|
|
56
56
|
},
|
|
57
57
|
"module": "./index.esm.js",
|
|
58
58
|
"type": "module",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FocusEvent, KeyboardEvent, ReactNode } from 'react';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
2
3
|
import { PickersDayProps } from '@mui/x-date-pickers';
|
|
3
4
|
import { FieldChangeHandlerContext } from '@mui/x-date-pickers/internals';
|
|
4
5
|
import { CommonProps } from '../CommonProps';
|
|
5
6
|
import { DatePickerLocale } from './';
|
|
6
7
|
import { DatePickerKeydownContext } from './utils/models';
|
|
7
|
-
export declare const RectanglePickersDay: (pickersDayProps: PickersDayProps<
|
|
8
|
+
export declare const RectanglePickersDay: (pickersDayProps: PickersDayProps<Dayjs>) => import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export interface DatePickerProps extends CommonProps {
|
|
9
10
|
/** If `true`, the `input` element is focused during the first mount. */
|
|
10
11
|
autoFocus?: boolean;
|
|
@@ -3,9 +3,9 @@ export declare const popperClassName = "dot-date-picker-popper";
|
|
|
3
3
|
export declare const containerClassName = "dot-date-picker-container";
|
|
4
4
|
export declare const rectanglePickersDayClassName = "dot-rectangle-pickers-day";
|
|
5
5
|
export declare const StyledDatePickerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
-
export declare const StyledDatePicker: import("styled-components").StyledComponent<(<TDate>(props: import("@mui/x-date-pickers").DatePickerProps<TDate> & import("react").RefAttributes<HTMLDivElement>) => import("react").JSX.Element) & {
|
|
6
|
+
export declare const StyledDatePicker: import("styled-components").StyledComponent<(<TDate extends import("@mui/x-date-pickers").PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean = false>(props: import("@mui/x-date-pickers").DatePickerProps<TDate, TEnableAccessibleFieldDOMStructure> & import("react").RefAttributes<HTMLDivElement>) => import("react").JSX.Element) & {
|
|
7
7
|
propTypes?: any;
|
|
8
8
|
}, any, {}, never>;
|
|
9
|
-
export declare const StyledPickersDay: import("styled-components").StyledComponent<(<TDate>(props: import("@mui/x-date-pickers").PickersDayProps<TDate> & import("react").RefAttributes<HTMLButtonElement>) => import("react").JSX.Element) & {
|
|
9
|
+
export declare const StyledPickersDay: import("styled-components").StyledComponent<(<TDate extends import("@mui/x-date-pickers").PickerValidDate>(props: import("@mui/x-date-pickers").PickersDayProps<TDate> & import("react").RefAttributes<HTMLButtonElement>) => import("react").JSX.Element) & {
|
|
10
10
|
propTypes?: any;
|
|
11
11
|
}, any, {}, never>;
|
|
@@ -2,5 +2,5 @@ import { ComponentType } from 'react';
|
|
|
2
2
|
export declare const flyoutListItemClassName = "dot-flyout-list-item";
|
|
3
3
|
export declare const flyoutItemLinkClassName = "dot-flyout-item-link";
|
|
4
4
|
export declare const listItemLinkClassName = "dot-list-item-link";
|
|
5
|
-
export declare const StyledListItem: ComponentType<any
|
|
6
|
-
export declare const StyledListItemButton: ComponentType<any
|
|
5
|
+
export declare const StyledListItem: ComponentType<any>;
|
|
6
|
+
export declare const StyledListItemButton: ComponentType<any>;
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
export declare const flyoutMenuClassName = "dot-flyout-menu";
|
|
2
2
|
export declare const rootClassName = "dot-menu";
|
|
3
|
-
export declare const StyledPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
4
|
-
component?: import("react").ElementType<any> | undefined;
|
|
5
|
-
components?: {
|
|
6
|
-
Root?: import("react").ElementType<any> | undefined;
|
|
7
|
-
} | undefined;
|
|
8
|
-
componentsProps?: import("@mui/base").PopperProps["slotProps"];
|
|
9
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
10
|
-
} & import("react").RefAttributes<HTMLDivElement>>, any, StyledPopperArgs, never>;
|
|
3
|
+
export declare const StyledPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@mui/material").PopperProps & import("react").RefAttributes<HTMLDivElement>>, any, StyledPopperArgs, never>;
|
|
11
4
|
interface StyledPopperArgs {
|
|
12
5
|
$maxHeight?: number | string;
|
|
13
6
|
$zIndex?: number;
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
export declare const rootClassName = "dot-popper";
|
|
2
2
|
export declare const arrowClassName = "MuiPopper-arrow";
|
|
3
|
-
export declare const StyledPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
4
|
-
component?: import("react").ElementType<any> | undefined;
|
|
5
|
-
components?: {
|
|
6
|
-
Root?: import("react").ElementType<any> | undefined;
|
|
7
|
-
} | undefined;
|
|
8
|
-
componentsProps?: import("@mui/base").PopperProps["slotProps"];
|
|
9
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
10
|
-
} & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
3
|
+
export declare const StyledPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@mui/material").PopperProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
11
4
|
export declare const StyledArrow: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -2,14 +2,7 @@ export declare const rootClassName = "dot-time-picker";
|
|
|
2
2
|
export declare const containerClassName = "dot-time-picker-container";
|
|
3
3
|
export declare const timePickerPopperClassName = "dot-time-picker-popper";
|
|
4
4
|
export declare const StyledTimePickerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const StyledTimePicker: import("styled-components").StyledComponent<(<TDate>(props: import("@mui/x-date-pickers").TimePickerProps<TDate> & import("react").RefAttributes<HTMLDivElement>) => import("react").JSX.Element) & {
|
|
5
|
+
export declare const StyledTimePicker: import("styled-components").StyledComponent<(<TDate extends import("@mui/x-date-pickers").PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean = false>(props: import("@mui/x-date-pickers").TimePickerProps<TDate, TEnableAccessibleFieldDOMStructure> & import("react").RefAttributes<HTMLDivElement>) => import("react").JSX.Element) & {
|
|
6
6
|
propTypes?: any;
|
|
7
7
|
}, any, {}, never>;
|
|
8
|
-
export declare const StyledTimePickerPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
9
|
-
component?: import("react").ElementType<any> | undefined;
|
|
10
|
-
components?: {
|
|
11
|
-
Root?: import("react").ElementType<any> | undefined;
|
|
12
|
-
} | undefined;
|
|
13
|
-
componentsProps?: import("@mui/base").PopperProps["slotProps"];
|
|
14
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
-
} & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
8
|
+
export declare const StyledTimePickerPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@mui/material").PopperProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|