oziko-ui-kit 0.0.23 → 0.0.25
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/dist/components/atoms/autocomplete/Autocomplete.d.ts +1 -1
- package/dist/components/atoms/backdrop/Backdrop.d.ts +1 -1
- package/dist/components/atoms/base-input/BaseInput.d.ts +1 -1
- package/dist/components/atoms/base-input/InputGroup.d.ts +2 -2
- package/dist/components/atoms/base-input/InputLabel.d.ts +1 -1
- package/dist/components/atoms/bucket-schema-item/BucketSchemaItem.d.ts +1 -1
- package/dist/components/atoms/bucket-schema-list/BucketSchemaList.d.ts +2 -2
- package/dist/components/atoms/button/Button.d.ts +1 -1
- package/dist/components/atoms/checkbox/Checkbox.d.ts +1 -1
- package/dist/components/atoms/chip/Chip.d.ts +1 -1
- package/dist/components/atoms/color/Color.d.ts +1 -1
- package/dist/components/atoms/dashboard-item/DashboardItem.d.ts +1 -1
- package/dist/components/atoms/directory/Directory.d.ts +1 -1
- package/dist/components/atoms/draggable-bar/DraggableBar.d.ts +1 -1
- package/dist/components/atoms/drawer/Drawer.d.ts +1 -1
- package/dist/components/atoms/drop-list/DropList.d.ts +1 -1
- package/dist/components/atoms/input-header/InputHeader.d.ts +1 -1
- package/dist/components/atoms/input-with-icon/InputWithIcon.d.ts +1 -1
- package/dist/components/atoms/inputs/minimized/array/Array.d.ts +1 -1
- package/dist/components/atoms/inputs/minimized/color/ColorMinimized.d.ts +1 -1
- package/dist/components/atoms/inputs/minimized/location/Location.d.ts +1 -1
- package/dist/components/atoms/inputs/minimized/multi-selection/MultiSelection.d.ts +1 -1
- package/dist/components/atoms/inputs/minimized/number/NumberMinimized.d.ts +2 -2
- package/dist/components/atoms/inputs/minimized/object/Object.d.ts +1 -1
- package/dist/components/atoms/inputs/minimized/rich-text/RichText.d.ts +1 -1
- package/dist/components/atoms/inputs/minimized/storage/StorageMinimized.d.ts +1 -1
- package/dist/components/atoms/inputs/minimized/string/StringMinimized.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/array/ArrayInput.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/chip/ChipInput.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/color/Color.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/enum/Enum.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/location/Location.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/multiple-selection/MultipleSelection.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/number/Number.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/object/ObjectInput.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/rich-text/LexicalContent.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/rich-text/plugins/ToolbarPlugin.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/string/String.d.ts +1 -1
- package/dist/components/atoms/inputs/normal/text-area/TextArea.d.ts +1 -1
- package/dist/components/atoms/json/Json.d.ts +1 -1
- package/dist/components/atoms/list-item/ListItem.d.ts +1 -1
- package/dist/components/atoms/list-row/ListRow.d.ts +2 -2
- package/dist/components/atoms/modal/Modal.d.ts +1 -1
- package/dist/components/atoms/modal/body/ModalBody.d.ts +1 -1
- package/dist/components/atoms/modal/footer/ModalFooter.d.ts +1 -1
- package/dist/components/atoms/modal/header/ModalHeader.d.ts +1 -1
- package/dist/components/atoms/popover/Popover.d.ts +1 -1
- package/dist/components/atoms/portal/Portal.d.ts +1 -1
- package/dist/components/atoms/select-option/SelectOption.d.ts +1 -1
- package/dist/components/atoms/tab/Tab.d.ts +1 -1
- package/dist/components/molecules/accordion/Accordion.d.ts +1 -1
- package/dist/components/molecules/navigator-item/NavigatorItem.d.ts +1 -1
- package/dist/components/molecules/sso-button/SSOButton.d.ts +1 -1
- package/dist/components/molecules/storage-filter/StorageFilter.d.ts +2 -2
- package/dist/components/molecules/timeline/Timeline.d.ts +12 -2
- package/dist/components/organisms/dashboard/layout/DashboardLayout.d.ts +2 -2
- package/dist/components/organisms/menu-group/MenuGroup.d.ts +1 -1
- package/dist/components/organisms/section/Section.d.ts +2 -2
- package/dist/components/organisms/table/Table.d.ts +25 -1
- package/dist/index.css +43 -75
- package/dist/index.export.d.ts +82 -6
- package/dist/index.mjs +16 -16
- package/dist/index.mjs.map +1 -1
- package/dist/utils/iconList.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/molecules/bucket-rule-popup/BucketRulePopup.d.ts +0 -10
- package/dist/components/molecules/dashboard-edit-name/DashboardEditName.d.ts +0 -7
- package/dist/components/molecules/dashboard-fields-popup/DashboardFieldPopup.d.ts +0 -14
- package/dist/components/organisms/bucket-add-field/BucketAddField.d.ts +0 -11
- package/dist/components/organisms/bucket-add-field/BucketAddFieldSchema.d.ts +0 -1
- package/dist/components/organisms/sidebar/SideBar.d.ts +0 -25
- package/dist/components/organisms/sidebar/navigator/Navigator.d.ts +0 -19
- package/dist/components/organisms/storage-file-select/StorageFileSelect.d.ts +0 -12
- package/dist/components/organisms/storage-file-select/sort-popover-content/SortPopoverContent.d.ts +0 -6
- package/dist/components/organisms/storage-file-select/storage-modal-heading/StorageModalHeading.d.ts +0 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
3
3
|
import { TypeInput } from "../input/Input";
|
|
4
|
-
type TypeAutocomplete = {
|
|
4
|
+
export type TypeAutocomplete = {
|
|
5
5
|
options: string[];
|
|
6
6
|
placement?: "bottom" | "top";
|
|
7
7
|
popupClassName?: string;
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
3
3
|
import { TypeText } from "../text/Text";
|
|
4
4
|
import { TypeFlexElement } from "../flex-element/FlexElement";
|
|
5
|
-
type TypeBaseInputProps = {
|
|
5
|
+
export type TypeBaseInputProps = {
|
|
6
6
|
errorMessage?: string;
|
|
7
7
|
description?: string;
|
|
8
8
|
className?: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import InputLabel from "./InputLabel";
|
|
3
3
|
import FlexElement, { TypeFlexElement } from "../flex-element/FlexElement";
|
|
4
|
-
type
|
|
4
|
+
export type TypeInputGroupProps = {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
ref?: React.Ref<HTMLDivElement>;
|
|
7
7
|
} & TypeFlexElement;
|
|
8
|
-
type TypeBaseInputComponent = React.FC<
|
|
8
|
+
export type TypeBaseInputComponent = React.FC<TypeInputGroupProps> & {
|
|
9
9
|
Label: typeof InputLabel;
|
|
10
10
|
HelperText: typeof FlexElement;
|
|
11
11
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypeInputType } from "../../../custom-hooks/useInputRepresenter";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
4
|
-
type TypeBucketSchemaItem = {
|
|
4
|
+
export type TypeBucketSchemaItem = {
|
|
5
5
|
label?: string;
|
|
6
6
|
type?: TypeInputType | "id";
|
|
7
7
|
addIcon?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TypeFlexElement } from "../flex-element/FlexElement";
|
|
3
3
|
import { TypeInputType } from "../../../custom-hooks/useInputRepresenter";
|
|
4
|
-
type TypeSchema = {
|
|
4
|
+
export type TypeSchema = {
|
|
5
5
|
type: TypeInputType;
|
|
6
6
|
title: string;
|
|
7
7
|
properties?: Record<string, TypeSchema>;
|
|
@@ -12,7 +12,7 @@ type TypeSchema = {
|
|
|
12
12
|
default?: any;
|
|
13
13
|
options?: Record<string, any>;
|
|
14
14
|
};
|
|
15
|
-
type TypeBucketSchemaList = {
|
|
15
|
+
export type TypeBucketSchemaList = {
|
|
16
16
|
schema?: Record<string, TypeSchema>;
|
|
17
17
|
itemDepth?: number;
|
|
18
18
|
} & TypeFlexElement;
|
|
@@ -2,7 +2,7 @@ import { ButtonHTMLAttributes } from "react";
|
|
|
2
2
|
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
3
3
|
import { TypeSpinner } from "../spinner/Spinner";
|
|
4
4
|
import { TypeFlexDimension } from "../../../utils/interface";
|
|
5
|
-
type TypeButton = {
|
|
5
|
+
export type TypeButton = {
|
|
6
6
|
fullWidth?: boolean;
|
|
7
7
|
containerProps?: TypeFluidContainer;
|
|
8
8
|
shape?: "default" | "circle" | "round";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
3
3
|
import { IconName } from "../../../utils/iconList";
|
|
4
|
-
type TypeChip = {
|
|
4
|
+
export type TypeChip = {
|
|
5
5
|
label?: string;
|
|
6
6
|
variant?: "outlined" | "filled";
|
|
7
7
|
icon?: IconName;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FC } from "react";
|
|
2
2
|
import { TypeFlexElement } from "../flex-element/FlexElement";
|
|
3
3
|
declare const drawerSizes: string[];
|
|
4
|
-
type TypeDrawer = {
|
|
4
|
+
export type TypeDrawer = {
|
|
5
5
|
placement: "top" | "right" | "bottom" | "left";
|
|
6
6
|
size?: (typeof drawerSizes)[number] | number | string;
|
|
7
7
|
children?: React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
2
2
|
import { TypeInput } from "../input/Input";
|
|
3
|
-
type TypeInputWithIcon = {
|
|
3
|
+
export type TypeInputWithIcon = {
|
|
4
4
|
inputProps?: TypeInput;
|
|
5
5
|
} & TypeFluidContainer;
|
|
6
6
|
declare const _default: import("react").NamedExoticComponent<TypeInputWithIcon>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { TypeFlexElement } from "../../../flex-element/FlexElement";
|
|
3
3
|
import { TypeArrayItems, TypeValueType } from "../../../../../custom-hooks/useInputRepresenter";
|
|
4
|
-
type TypeMinimizedArrayInput = {
|
|
4
|
+
export type TypeMinimizedArrayInput = {
|
|
5
5
|
propertyKey: string;
|
|
6
6
|
value?: TypeValueType[];
|
|
7
7
|
items?: TypeArrayItems;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
|
|
2
2
|
import { FC } from "react";
|
|
3
|
-
type TypeColorMinimized = {
|
|
3
|
+
export type TypeColorMinimized = {
|
|
4
4
|
value?: string;
|
|
5
5
|
onClear?: () => void;
|
|
6
6
|
onChange?: (value: string) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { TypeFlexElement } from "../../../flex-element/FlexElement";
|
|
3
3
|
import { TypeMapProps } from "../../../map/Map";
|
|
4
|
-
type TypeMinimizedLocationInput = TypeFlexElement & {
|
|
4
|
+
export type TypeMinimizedLocationInput = TypeFlexElement & {
|
|
5
5
|
contentProps?: TypeFlexElement;
|
|
6
6
|
mapProps?: TypeMapProps;
|
|
7
7
|
icon?: ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
|
|
2
2
|
import { TypeSelect, TypeValue } from "../../../../molecules/select/Select";
|
|
3
3
|
import { TypeLabeledValue } from "../../../select-option/SelectOption";
|
|
4
|
-
type TypeMultiSelectionInput = {
|
|
4
|
+
export type TypeMultiSelectionInput = {
|
|
5
5
|
options?: (string | number | TypeLabeledValue)[];
|
|
6
6
|
onChange?: (value: TypeValue) => void;
|
|
7
7
|
value?: TypeValue;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
|
|
2
2
|
import React from "react";
|
|
3
|
-
type
|
|
3
|
+
export type TypeNumberMinimized = {
|
|
4
4
|
onClear?: () => void;
|
|
5
5
|
value?: number;
|
|
6
6
|
options?: number[];
|
|
7
7
|
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
8
8
|
onChange?: (value: number) => void;
|
|
9
9
|
} & TypeFluidContainer;
|
|
10
|
-
declare const _default: React.NamedExoticComponent<
|
|
10
|
+
declare const _default: React.NamedExoticComponent<TypeNumberMinimized>;
|
|
11
11
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { TypeFlexElement } from "../../../flex-element/FlexElement";
|
|
3
3
|
import { TypeProperties, TypeRepresenterValue } from "../../../../../custom-hooks/useInputRepresenter";
|
|
4
|
-
type TypeMinimizedObjectInput = {
|
|
4
|
+
export type TypeMinimizedObjectInput = {
|
|
5
5
|
value?: TypeRepresenterValue;
|
|
6
6
|
properties: TypeProperties;
|
|
7
7
|
popoverProps?: TypeFlexElement;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
|
|
2
2
|
import { FC } from "react";
|
|
3
3
|
import { TypeFile } from "../../../../../utils/interface";
|
|
4
|
-
type TypeStorageMinimized = {
|
|
4
|
+
export type TypeStorageMinimized = {
|
|
5
5
|
file?: TypeFile;
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
onUpload?: (file: File) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypeText } from "../../../text/Text";
|
|
2
2
|
import { TypeFlexElement } from "../../../flex-element/FlexElement";
|
|
3
3
|
import { TypeArrayItems, TypeValueType } from "../../../../../custom-hooks/useInputRepresenter";
|
|
4
|
-
type TypeArrayInput = {
|
|
4
|
+
export type TypeArrayInput = {
|
|
5
5
|
value?: TypeValueType[];
|
|
6
6
|
title?: string;
|
|
7
7
|
description?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypeFlexElement } from "../../../flex-element/FlexElement";
|
|
2
2
|
import { TypeValue } from "../../../../molecules/select/Select";
|
|
3
3
|
import React from "react";
|
|
4
|
-
type TypeEnum = {
|
|
4
|
+
export type TypeEnum = {
|
|
5
5
|
selectClassName?: string;
|
|
6
6
|
label: string;
|
|
7
7
|
options: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "../../../../../../node_modules/leaflet/dist/leaflet.css";
|
|
3
3
|
import { TypeCoordinates } from "../../../map/Map";
|
|
4
|
-
type TypeLocationInput = {
|
|
4
|
+
export type TypeLocationInput = {
|
|
5
5
|
coordinates?: TypeCoordinates;
|
|
6
6
|
title?: string;
|
|
7
7
|
onChange?: (coordinates: TypeCoordinates) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TypeFlexElement } from "../../../flex-element/FlexElement";
|
|
3
3
|
import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
|
|
4
|
-
type TypeMultipleSelectionInput<T = string | number> = {
|
|
4
|
+
export type TypeMultipleSelectionInput<T = string | number> = {
|
|
5
5
|
label: string;
|
|
6
6
|
description?: string;
|
|
7
7
|
value?: T[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypeText } from "../../../text/Text";
|
|
2
2
|
import { TypeFlexElement } from "../../../flex-element/FlexElement";
|
|
3
3
|
import { TypeProperties, TypeRepresenterValue } from "../../../../../custom-hooks/useInputRepresenter";
|
|
4
|
-
type TypeObjectInput = {
|
|
4
|
+
export type TypeObjectInput = {
|
|
5
5
|
value?: TypeRepresenterValue;
|
|
6
6
|
properties: TypeProperties;
|
|
7
7
|
title?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { TypeFlexElement } from "../../../flex-element/FlexElement";
|
|
3
3
|
import { EditorState, LexicalEditor } from "lexical";
|
|
4
|
-
type TypeLexicalContent = {
|
|
4
|
+
export type TypeLexicalContent = {
|
|
5
5
|
onChange: (state: EditorState, editor: LexicalEditor) => void;
|
|
6
6
|
} & TypeFlexElement;
|
|
7
7
|
declare const LexicalContent: FC<TypeLexicalContent>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypeInput } from "../../../../../components/atoms/input/Input";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
|
|
4
|
-
type TypeStringInput = {
|
|
4
|
+
export type TypeStringInput = {
|
|
5
5
|
label?: string;
|
|
6
6
|
description?: string;
|
|
7
7
|
value?: string;
|
|
@@ -2,7 +2,7 @@ import { ChangeEventHandler } from "react";
|
|
|
2
2
|
import { TypeFlexElement } from "../../../flex-element/FlexElement";
|
|
3
3
|
import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
|
|
4
4
|
import { IconName } from "../../../../../utils/iconList";
|
|
5
|
-
type TypeTextArea = {
|
|
5
|
+
export type TypeTextArea = {
|
|
6
6
|
value?: string;
|
|
7
7
|
textAreaProps?: React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
8
8
|
rows?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import FlexElement, { TypeFlexElement } from "../flex-element/FlexElement";
|
|
3
|
-
type TypeListRow = {
|
|
3
|
+
export type TypeListRow = {
|
|
4
4
|
ref?: React.Ref<HTMLDivElement>;
|
|
5
5
|
} & TypeFlexElement;
|
|
6
|
-
type TypeListRowComponent = React.FC<TypeListRow> & {
|
|
6
|
+
export type TypeListRowComponent = React.FC<TypeListRow> & {
|
|
7
7
|
Cell: typeof FlexElement;
|
|
8
8
|
};
|
|
9
9
|
declare const ListRow: TypeListRowComponent;
|
|
@@ -3,7 +3,7 @@ import { TypeFlexElement } from "../flex-element/FlexElement";
|
|
|
3
3
|
import ModalHeader from "./header/ModalHeader";
|
|
4
4
|
import ModalBody from "./body/ModalBody";
|
|
5
5
|
import ModalFooter from "./footer/ModalFooter";
|
|
6
|
-
type TypeModal = {
|
|
6
|
+
export type TypeModal = {
|
|
7
7
|
animation?: "growFromCenter" | "zoomIn";
|
|
8
8
|
showCloseButton?: boolean;
|
|
9
9
|
disableClose?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypeFluidContainer } from "../../fluid-container/FluidContainer";
|
|
2
2
|
import React from "react";
|
|
3
|
-
type TypeModalFooter = {
|
|
3
|
+
export type TypeModalFooter = {
|
|
4
4
|
className?: string;
|
|
5
5
|
} & TypeFluidContainer;
|
|
6
6
|
declare const _default: React.NamedExoticComponent<TypeModalFooter>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypeFluidContainer } from "../../fluid-container/FluidContainer";
|
|
2
2
|
import React from "react";
|
|
3
|
-
type TypeModalHeader = {
|
|
3
|
+
export type TypeModalHeader = {
|
|
4
4
|
className?: string;
|
|
5
5
|
} & TypeFluidContainer;
|
|
6
6
|
declare const _default: React.NamedExoticComponent<TypeModalHeader>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { TypeFlexElement } from "../flex-element/FlexElement";
|
|
3
3
|
import { Placement } from "../../../custom-hooks/useAdaptivePosition";
|
|
4
|
-
type TypePopover = {
|
|
4
|
+
export type TypePopover = {
|
|
5
5
|
placement?: Placement;
|
|
6
6
|
content: ReactNode;
|
|
7
7
|
children?: ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TypeFlexElement } from "../flex-element/FlexElement";
|
|
3
3
|
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
4
|
-
type TypeTab = {
|
|
4
|
+
export type TypeTab = {
|
|
5
5
|
type?: "default" | "underline" | "window";
|
|
6
6
|
items: TypeFluidContainer[];
|
|
7
7
|
indicatorClassName?: string;
|
|
@@ -7,7 +7,7 @@ export type TypeAccordionItem = {
|
|
|
7
7
|
icon?: React.ReactNode;
|
|
8
8
|
className?: string;
|
|
9
9
|
};
|
|
10
|
-
type TypeAccordionGroup = TypeFlexElement & {
|
|
10
|
+
export type TypeAccordionGroup = TypeFlexElement & {
|
|
11
11
|
items: TypeAccordionItem[];
|
|
12
12
|
defaultActiveIndex?: number;
|
|
13
13
|
icon?: React.ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypeFluidContainer } from "../../atoms/fluid-container/FluidContainer";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { IconName } from "../../../utils/iconList";
|
|
4
|
-
type TypeSSOButton = {
|
|
4
|
+
export type TypeSSOButton = {
|
|
5
5
|
icon: IconName;
|
|
6
6
|
label: string;
|
|
7
7
|
onClick?: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type TypeFilterValue = {
|
|
1
|
+
export type TypeFilterValue = {
|
|
2
2
|
type: string[];
|
|
3
3
|
fileSize: {
|
|
4
4
|
min: {
|
|
@@ -16,7 +16,7 @@ type TypeFilterValue = {
|
|
|
16
16
|
to: null | string;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
type TypeStorageFilter = {
|
|
19
|
+
export type TypeStorageFilter = {
|
|
20
20
|
onApply?: (filter: TypeFilterValue) => void;
|
|
21
21
|
onCancel?: () => void;
|
|
22
22
|
};
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import { ChartData } from "chart.js";
|
|
1
|
+
import { ChartData, ScaleOptionsByType, CartesianScaleTypeRegistry, PluginOptionsByType } from "chart.js";
|
|
2
2
|
import "chartjs-adapter-date-fns";
|
|
3
3
|
import { TypeFluidContainer } from "../../atoms/fluid-container/FluidContainer";
|
|
4
|
+
import { _DeepPartialObject } from "chart.js/dist/types/utils";
|
|
4
5
|
export type TypeBarChartData = ChartData<"bar", (number | [number, number] | null)[], unknown>;
|
|
5
|
-
type
|
|
6
|
+
export type TypeScales = _DeepPartialObject<{
|
|
7
|
+
[key: string]: ScaleOptionsByType<keyof CartesianScaleTypeRegistry>;
|
|
8
|
+
}> | undefined;
|
|
9
|
+
export type TypePlugins = _DeepPartialObject<PluginOptionsByType<"bar">> | undefined;
|
|
10
|
+
export type TypeBarPosition = {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
} | null;
|
|
14
|
+
export type TypeUnit = "millisecond" | "second" | "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
15
|
+
export type TypeTimeline = {
|
|
6
16
|
dateRange: {
|
|
7
17
|
from: Date;
|
|
8
18
|
to: Date;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { ChartData, ChartOptions, ChartType } from "chart.js";
|
|
3
3
|
import { TypeFluidContainer } from "../../../atoms/fluid-container/FluidContainer";
|
|
4
|
-
type TypeDashboardItem = {
|
|
4
|
+
export type TypeDashboardItem = {
|
|
5
5
|
ratio: string;
|
|
6
6
|
id: string;
|
|
7
7
|
headerProps?: TypeFluidContainer;
|
|
8
8
|
data?: ChartData<ChartType>;
|
|
9
9
|
options?: ChartOptions<ChartType>;
|
|
10
10
|
};
|
|
11
|
-
type TypeDashboardLayout = {
|
|
11
|
+
export type TypeDashboardLayout = {
|
|
12
12
|
dashboards?: TypeDashboardItem[] | undefined;
|
|
13
13
|
};
|
|
14
14
|
declare const DashboardLayout: FC<TypeDashboardLayout>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import FlexElement, { TypeFlexElement } from "../../atoms/flex-element/FlexElement";
|
|
3
|
-
type TypeSection = {
|
|
3
|
+
export type TypeSection = {
|
|
4
4
|
ref?: React.Ref<HTMLDivElement>;
|
|
5
5
|
} & TypeFlexElement;
|
|
6
|
-
type TypeSectionComponent = React.FC<TypeSection> & {
|
|
6
|
+
export type TypeSectionComponent = React.FC<TypeSection> & {
|
|
7
7
|
Header: typeof FlexElement;
|
|
8
8
|
Content: typeof FlexElement;
|
|
9
9
|
Footer: typeof FlexElement;
|