oziko-ui-kit 0.0.2 → 0.0.3
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/README.md +3 -0
- package/package.json +3 -2
- package/dist/App.d.ts +0 -2
- package/dist/assets/Inter-VariableFont_opsz,wght.ttf +0 -0
- package/dist/assets/fonts/inter/Inter-VariableFont_opsz,wght.ttf +0 -0
- package/dist/assets/images/location.png +0 -0
- package/dist/assets/images/logo.png +0 -0
- package/dist/assets/inter/Inter-VariableFont_opsz,wght.ttf +0 -0
- package/dist/assets/location.png +0 -0
- package/dist/assets/logo.png +0 -0
- package/dist/components/atoms/autocomplete/Autocomplete.d.ts +0 -13
- package/dist/components/atoms/backdrop/Backdrop.d.ts +0 -8
- package/dist/components/atoms/base-input/BaseInput.d.ts +0 -28
- package/dist/components/atoms/base-input/InputGroup.d.ts +0 -13
- package/dist/components/atoms/base-input/InputLabel.d.ts +0 -9
- package/dist/components/atoms/bucket-field-popup/BucketFieldPopup.d.ts +0 -4
- package/dist/components/atoms/button/Button.d.ts +0 -16
- package/dist/components/atoms/chart/Chart.d.ts +0 -11
- package/dist/components/atoms/checkbox/Checkbox.d.ts +0 -19
- package/dist/components/atoms/chip/Chip.d.ts +0 -13
- package/dist/components/atoms/color/Color.d.ts +0 -16
- package/dist/components/atoms/dashboard-item/DashboardItem.d.ts +0 -12
- package/dist/components/atoms/date-picker/DatePicker.d.ts +0 -7
- package/dist/components/atoms/directory/Directory.d.ts +0 -6
- package/dist/components/atoms/draggable-bar/DraggableBar.d.ts +0 -19
- package/dist/components/atoms/drawer/Drawer.d.ts +0 -18
- package/dist/components/atoms/drop-list/DropList.d.ts +0 -9
- package/dist/components/atoms/flex-element/FlexElement.d.ts +0 -7
- package/dist/components/atoms/fluid-container/FluidContainer.d.ts +0 -9
- package/dist/components/atoms/icon/Icon.d.ts +0 -9
- package/dist/components/atoms/input/Input.d.ts +0 -8
- package/dist/components/atoms/input-header/InputHeader.d.ts +0 -7
- package/dist/components/atoms/input-with-icon/InputWithIcon.d.ts +0 -7
- package/dist/components/atoms/inputs/minimized/array/Array.d.ts +0 -12
- package/dist/components/atoms/inputs/minimized/boolean/Boolean.d.ts +0 -9
- package/dist/components/atoms/inputs/minimized/color/ColorMinimized.d.ts +0 -9
- package/dist/components/atoms/inputs/minimized/date/Date.d.ts +0 -10
- package/dist/components/atoms/inputs/minimized/location/Location.d.ts +0 -10
- package/dist/components/atoms/inputs/minimized/multi-selection/MultiSelection.d.ts +0 -11
- package/dist/components/atoms/inputs/minimized/number/NumberMinimized.d.ts +0 -11
- package/dist/components/atoms/inputs/minimized/object/Object.d.ts +0 -12
- package/dist/components/atoms/inputs/minimized/rich-text/RichText.d.ts +0 -8
- package/dist/components/atoms/inputs/minimized/storage/StorageMinimized.d.ts +0 -12
- package/dist/components/atoms/inputs/minimized/string/StringMinimized.d.ts +0 -14
- package/dist/components/atoms/inputs/minimized/text-area/TextArea.d.ts +0 -13
- package/dist/components/atoms/inputs/normal/array/ArrayInput.d.ts +0 -18
- package/dist/components/atoms/inputs/normal/boolean/Boolean.d.ts +0 -17
- package/dist/components/atoms/inputs/normal/chip/ChipInput.d.ts +0 -8
- package/dist/components/atoms/inputs/normal/color/Color.d.ts +0 -14
- package/dist/components/atoms/inputs/normal/date/Date.d.ts +0 -11
- package/dist/components/atoms/inputs/normal/enum/Enum.d.ts +0 -15
- package/dist/components/atoms/inputs/normal/location/Location.d.ts +0 -13
- package/dist/components/atoms/inputs/normal/multiple-selection/MultipleSelection.d.ts +0 -14
- package/dist/components/atoms/inputs/normal/number/Number.d.ts +0 -16
- package/dist/components/atoms/inputs/normal/object/ObjectInput.d.ts +0 -15
- package/dist/components/atoms/inputs/normal/rich-text/LexicalContent.d.ts +0 -8
- package/dist/components/atoms/inputs/normal/rich-text/RichText.d.ts +0 -19
- package/dist/components/atoms/inputs/normal/rich-text/plugins/ExtendedTextNode.d.ts +0 -12
- package/dist/components/atoms/inputs/normal/rich-text/plugins/OnChangePlugin.d.ts +0 -6
- package/dist/components/atoms/inputs/normal/rich-text/plugins/ToolbarPlugin.d.ts +0 -8
- package/dist/components/atoms/inputs/normal/rich-text/ui/ColorPicker.d.ts +0 -13
- package/dist/components/atoms/inputs/normal/rich-text/ui/Dialog.d.ts +0 -16
- package/dist/components/atoms/inputs/normal/rich-text/ui/Dropdown.d.ts +0 -24
- package/dist/components/atoms/inputs/normal/rich-text/ui/DropdownColorPicker.d.ts +0 -13
- package/dist/components/atoms/inputs/normal/rich-text/ui/FontSize.d.ts +0 -6
- package/dist/components/atoms/inputs/normal/rich-text/ui/TextInput.d.ts +0 -12
- package/dist/components/atoms/inputs/normal/rich-text/utils/getSelectedNode.d.ts +0 -2
- package/dist/components/atoms/inputs/normal/storage/Storage.d.ts +0 -39
- package/dist/components/atoms/inputs/normal/string/String.d.ts +0 -17
- package/dist/components/atoms/inputs/normal/text-area/TextArea.d.ts +0 -24
- package/dist/components/atoms/json/Json.d.ts +0 -6
- package/dist/components/atoms/list-item/ListItem.d.ts +0 -8
- package/dist/components/atoms/list-row/ListRow.d.ts +0 -10
- package/dist/components/atoms/map/Map.d.ts +0 -22
- package/dist/components/atoms/modal/Modal.d.ts +0 -25
- package/dist/components/atoms/modal/body/ModalBody.d.ts +0 -7
- package/dist/components/atoms/modal/footer/ModalFooter.d.ts +0 -7
- package/dist/components/atoms/modal/header/ModalHeader.d.ts +0 -7
- package/dist/components/atoms/popover/Popover.d.ts +0 -16
- package/dist/components/atoms/portal/Portal.d.ts +0 -6
- package/dist/components/atoms/select-option/SelectOption.d.ts +0 -19
- package/dist/components/atoms/spinner/Spinner.d.ts +0 -15
- package/dist/components/atoms/storage-file-card/StorageFileCard.d.ts +0 -12
- package/dist/components/atoms/switch/Switch.d.ts +0 -9
- package/dist/components/atoms/tab/Tab.d.ts +0 -9
- package/dist/components/atoms/text/Text.d.ts +0 -9
- package/dist/components/atoms/title/Title.d.ts +0 -9
- package/dist/components/molecules/accordion/Accordion.d.ts +0 -24
- package/dist/components/molecules/accordion/AccordionElement.d.ts +0 -17
- package/dist/components/molecules/navigator-item/NavigatorItem.d.ts +0 -14
- package/dist/components/molecules/select/Select.d.ts +0 -31
- package/dist/components/molecules/sso-button/SSOButton.d.ts +0 -10
- package/dist/components/molecules/storage-filter/StorageFilter.d.ts +0 -24
- package/dist/components/molecules/timeline/Timeline.d.ts +0 -24
- package/dist/components/organisms/dashboard/layout/DashboardLayout.d.ts +0 -15
- package/dist/components/organisms/menu-group/MenuGroup.d.ts +0 -12
- package/dist/components/organisms/section/Section.d.ts +0 -12
- 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
- package/dist/components/organisms/table/Table.d.ts +0 -13
- package/dist/custom-hooks/useAdaptivePosition.d.ts +0 -18
- package/dist/custom-hooks/useDebounce.d.ts +0 -6
- package/dist/custom-hooks/useFileView.d.ts +0 -12
- package/dist/custom-hooks/useFlexStyles.d.ts +0 -9
- package/dist/custom-hooks/useInputRepresenter.d.ts +0 -83
- package/dist/custom-hooks/useKeyDown.d.ts +0 -12
- package/dist/custom-hooks/useOnClickOutside.d.ts +0 -7
- package/dist/images/layers-2x.png +0 -0
- package/dist/images/layers.png +0 -0
- package/dist/images/marker-icon-2x.png +0 -0
- package/dist/images/marker-icon.png +0 -0
- package/dist/images/marker-shadow.png +0 -0
- package/dist/index.css +0 -3140
- package/dist/index.export.d.ts +0 -68
- package/dist/index.mjs +0 -100
- package/dist/index.mjs.map +0 -1
- package/dist/theme/ThemeContext.d.ts +0 -7
- package/dist/theme/createTheme.d.ts +0 -3
- package/dist/theme/defaultPalette.d.ts +0 -5
- package/dist/theme/index.d.ts +0 -5
- package/dist/theme/loadTheme.d.ts +0 -1
- package/dist/theme/saveTheme.d.ts +0 -1
- package/dist/theme/types.d.ts +0 -51
- package/dist/utils/api.d.ts +0 -7
- package/dist/utils/color.d.ts +0 -8
- package/dist/utils/helperUtils.d.ts +0 -5
- package/dist/utils/iconList.d.ts +0 -9
- package/dist/utils/index.d.ts +0 -25
- package/dist/utils/interface.d.ts +0 -23
- package/dist/utils/time.d.ts +0 -8
package/README.md
ADDED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oziko-ui-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
7
|
+
"types": "dist/index.export.d.ts",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist",
|
|
10
10
|
"dist/index.css"
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"format": "prettier --write \"src/**/*.{ts,js,tsx,jsx,json,css,scss,html}\"",
|
|
47
47
|
"rollup-clean-css": "sed -i '' '/@charset/d' build/dist/index.css",
|
|
48
48
|
"rollup": "rollup -c && yarn run rollup-clean-css",
|
|
49
|
+
"prepublishOnly": "yarn run rollup",
|
|
49
50
|
"publish": "npm publish"
|
|
50
51
|
},
|
|
51
52
|
"eslintConfig": {
|
package/dist/App.d.ts
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/assets/location.png
DELETED
|
Binary file
|
package/dist/assets/logo.png
DELETED
|
Binary file
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
3
|
-
import { TypeInput } from "../input/Input";
|
|
4
|
-
type TypeAutocomplete = {
|
|
5
|
-
options: string[];
|
|
6
|
-
placement?: "bottom" | "top";
|
|
7
|
-
popupClassName?: string;
|
|
8
|
-
inputProps?: Omit<TypeInput, "value"> & {
|
|
9
|
-
value?: string;
|
|
10
|
-
};
|
|
11
|
-
} & TypeFluidContainer;
|
|
12
|
-
declare const _default: React.NamedExoticComponent<TypeAutocomplete>;
|
|
13
|
-
export default _default;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
3
|
-
import { TypeText } from "../text/Text";
|
|
4
|
-
import { TypeFlexElement } from "../flex-element/FlexElement";
|
|
5
|
-
type TypeBaseInputProps = {
|
|
6
|
-
errorMessage?: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
inputContainerProps?: TypeFlexElement;
|
|
10
|
-
helperTextContainerProps?: TypeFlexElement;
|
|
11
|
-
helperTextProps?: TypeText;
|
|
12
|
-
labelProps?: TypeFluidContainer & {
|
|
13
|
-
focusedClassName?: string;
|
|
14
|
-
dividerClassName?: string;
|
|
15
|
-
divider?: boolean;
|
|
16
|
-
};
|
|
17
|
-
children: React.ReactElement<{
|
|
18
|
-
ref?: React.RefObject<unknown>;
|
|
19
|
-
onChange?: React.ChangeEventHandler<unknown>;
|
|
20
|
-
value?: string | number | readonly string[] | undefined;
|
|
21
|
-
}>;
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
readonly?: boolean;
|
|
24
|
-
forceFocus?: boolean;
|
|
25
|
-
onFocusChange?: (isFocused: boolean) => void;
|
|
26
|
-
} & TypeFlexElement;
|
|
27
|
-
declare const BaseInput: ({ errorMessage, description, labelProps, onFocusChange, disabled, readonly, inputContainerProps, helperTextProps, helperTextContainerProps, children, forceFocus, ...props }: TypeBaseInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export default BaseInput;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import InputLabel from "./InputLabel";
|
|
3
|
-
import FlexElement, { TypeFlexElement } from "../flex-element/FlexElement";
|
|
4
|
-
type TypeBaseInputProps = {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
7
|
-
} & TypeFlexElement;
|
|
8
|
-
type TypeBaseInputComponent = React.FC<TypeBaseInputProps> & {
|
|
9
|
-
Label: typeof InputLabel;
|
|
10
|
-
HelperText: typeof FlexElement;
|
|
11
|
-
};
|
|
12
|
-
declare const InputGroup: TypeBaseInputComponent;
|
|
13
|
-
export default InputGroup;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
2
|
-
type TypeInputLabel = {
|
|
3
|
-
reverse?: boolean;
|
|
4
|
-
divider?: boolean;
|
|
5
|
-
dividerClassName?: string;
|
|
6
|
-
isFocused?: boolean;
|
|
7
|
-
} & TypeFluidContainer;
|
|
8
|
-
declare const InputLabel: ({ dividerClassName, reverse, divider, isFocused, ...props }: TypeInputLabel) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default InputLabel;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes } from "react";
|
|
2
|
-
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
3
|
-
import { TypeSpinner } from "../spinner/Spinner";
|
|
4
|
-
import { TypeFlexDimension } from "../../../utils/interface";
|
|
5
|
-
type TypeButton = {
|
|
6
|
-
fullWidth?: boolean;
|
|
7
|
-
containerProps?: TypeFluidContainer;
|
|
8
|
-
shape?: "default" | "circle" | "round";
|
|
9
|
-
variant?: "solid" | "outlined" | "dashed" | "filled" | "text" | "link" | "icon";
|
|
10
|
-
color?: "primary" | "default" | "success" | "danger" | "soft" | "transparent";
|
|
11
|
-
loading?: boolean;
|
|
12
|
-
spinnerProps?: TypeSpinner;
|
|
13
|
-
keepWidth?: boolean;
|
|
14
|
-
} & ButtonHTMLAttributes<HTMLButtonElement> & TypeFlexDimension;
|
|
15
|
-
declare const _default: import("react").NamedExoticComponent<TypeButton>;
|
|
16
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ChartType, ChartData, ChartOptions, Plugin } from "chart.js/auto";
|
|
2
|
-
export type TypeChartComponentProps<T extends ChartType> = {
|
|
3
|
-
type: T;
|
|
4
|
-
data: ChartData<T>;
|
|
5
|
-
options?: ChartOptions<T>;
|
|
6
|
-
className?: string;
|
|
7
|
-
style?: React.CSSProperties;
|
|
8
|
-
plugins?: Plugin<T>[];
|
|
9
|
-
};
|
|
10
|
-
declare const ChartComponent: <T extends ChartType>({ type, data, options, className, style, plugins, }: TypeChartComponentProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default ChartComponent;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { TypeText } from "../text/Text";
|
|
3
|
-
type TypeCheckbox = {
|
|
4
|
-
checked?: boolean;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
label?: ReactNode;
|
|
7
|
-
indeterminate?: boolean;
|
|
8
|
-
labelProps?: TypeText;
|
|
9
|
-
onChange?: (checked: boolean) => void;
|
|
10
|
-
};
|
|
11
|
-
declare const _default: React.NamedExoticComponent<TypeCheckbox & {
|
|
12
|
-
prefix?: import("../flex-element/FlexElement").TypeFlexElement;
|
|
13
|
-
root?: import("../flex-element/FlexElement").TypeFlexElement;
|
|
14
|
-
suffix?: import("../flex-element/FlexElement").TypeFlexElement;
|
|
15
|
-
mode?: "hug" | "fill" | "middle";
|
|
16
|
-
} & {
|
|
17
|
-
ref?: React.RefObject<HTMLDivElement | null>;
|
|
18
|
-
} & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<React.HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
|
|
19
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
3
|
-
import { IconName } from "../../../utils/iconList";
|
|
4
|
-
type TypeChip = {
|
|
5
|
-
label?: string;
|
|
6
|
-
variant?: "outlined" | "filled";
|
|
7
|
-
icon?: IconName;
|
|
8
|
-
onDelete?: () => void;
|
|
9
|
-
suffixIcon?: IconName;
|
|
10
|
-
suffixOnClick?: () => void;
|
|
11
|
-
} & TypeFluidContainer;
|
|
12
|
-
declare const _default: React.NamedExoticComponent<TypeChip>;
|
|
13
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TypeFlexElement } from "../../../components/atoms/flex-element/FlexElement";
|
|
2
|
-
type TypeColor = {
|
|
3
|
-
value: string;
|
|
4
|
-
prefixProps?: TypeFlexElement;
|
|
5
|
-
rootProps?: TypeFlexElement;
|
|
6
|
-
onChange?: (value: string) => void;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: import("react").NamedExoticComponent<TypeColor & {
|
|
9
|
-
prefix?: TypeFlexElement;
|
|
10
|
-
root?: TypeFlexElement;
|
|
11
|
-
suffix?: TypeFlexElement;
|
|
12
|
-
mode?: "hug" | "fill" | "middle";
|
|
13
|
-
} & {
|
|
14
|
-
ref?: import("react").RefObject<HTMLDivElement | null>;
|
|
15
|
-
} & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
|
|
16
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { ChartType } from "chart.js";
|
|
3
|
-
import { TypeChartComponentProps } from "../chart/Chart";
|
|
4
|
-
type TypeDashboardItem = {
|
|
5
|
-
headerProps?: {
|
|
6
|
-
content?: ReactNode;
|
|
7
|
-
suffix?: ReactNode;
|
|
8
|
-
};
|
|
9
|
-
chartProps?: TypeChartComponentProps<ChartType>;
|
|
10
|
-
};
|
|
11
|
-
declare const DashboardItem: ({ headerProps, chartProps }: TypeDashboardItem) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default DashboardItem;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { DatePickerProps as AntDatePickerProps } from "antd";
|
|
2
|
-
type DatePickerProps = {
|
|
3
|
-
onChange?: (value: string | string[]) => void;
|
|
4
|
-
value: Date | string | null | undefined;
|
|
5
|
-
} & Omit<AntDatePickerProps, "value" | "onChange">;
|
|
6
|
-
declare const DatePicker: ({ value, onChange, ...props }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default DatePicker;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC, CSSProperties } from "react";
|
|
2
|
-
type TypeDraggableBar = {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
maxX?: number;
|
|
6
|
-
minX?: number;
|
|
7
|
-
maxY?: number;
|
|
8
|
-
minY?: number;
|
|
9
|
-
height?: number;
|
|
10
|
-
style?: CSSProperties;
|
|
11
|
-
onChange?: (position: {
|
|
12
|
-
x: number;
|
|
13
|
-
y: number;
|
|
14
|
-
}) => void;
|
|
15
|
-
onUp?: () => void;
|
|
16
|
-
onDown?: () => void;
|
|
17
|
-
};
|
|
18
|
-
declare const DraggableBar: FC<TypeDraggableBar>;
|
|
19
|
-
export default DraggableBar;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { FC } from "react";
|
|
2
|
-
import { TypeFlexElement } from "../flex-element/FlexElement";
|
|
3
|
-
declare const drawerSizes: string[];
|
|
4
|
-
type TypeDrawer = {
|
|
5
|
-
placement: "top" | "right" | "bottom" | "left";
|
|
6
|
-
size?: (typeof drawerSizes)[number] | number | string;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
showBackdrop?: boolean;
|
|
10
|
-
backdropType?: "static" | "default";
|
|
11
|
-
backdropClassName?: string;
|
|
12
|
-
backdropProps?: React.HTMLProps<HTMLDivElement>;
|
|
13
|
-
showCloseButton?: boolean;
|
|
14
|
-
isOpen?: boolean;
|
|
15
|
-
onClose?: () => void;
|
|
16
|
-
} & TypeFlexElement;
|
|
17
|
-
declare const Drawer: FC<TypeDrawer>;
|
|
18
|
-
export default Drawer;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React, { RefObject } from "react";
|
|
2
|
-
import { TypeFlexContainer, TypeFlexDimension } from "../../../utils/interface";
|
|
3
|
-
export type TypeFlexElement = {
|
|
4
|
-
ref?: RefObject<HTMLDivElement | null>;
|
|
5
|
-
} & TypeFlexContainer & TypeFlexDimension & Omit<React.HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">;
|
|
6
|
-
declare const _default: React.NamedExoticComponent<TypeFlexElement>;
|
|
7
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TypeFlexElement } from "../flex-element/FlexElement";
|
|
2
|
-
export type TypeFluidContainer = {
|
|
3
|
-
prefix?: TypeFlexElement;
|
|
4
|
-
root?: TypeFlexElement;
|
|
5
|
-
suffix?: TypeFlexElement;
|
|
6
|
-
mode?: "hug" | "fill" | "middle";
|
|
7
|
-
} & TypeFlexElement;
|
|
8
|
-
declare const _default: import("react").NamedExoticComponent<TypeFluidContainer>;
|
|
9
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IconName, IconSize } from "../../../utils/iconList";
|
|
3
|
-
export type TypeIcon = {
|
|
4
|
-
name: IconName;
|
|
5
|
-
className?: string;
|
|
6
|
-
size?: IconSize;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: React.NamedExoticComponent<TypeIcon>;
|
|
9
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { RefObject, InputHTMLAttributes } from "react";
|
|
2
|
-
import { TypeFlexDimension } from "../../../utils/interface";
|
|
3
|
-
export type TypeInput = {
|
|
4
|
-
debounceDelay?: number;
|
|
5
|
-
ref?: RefObject<HTMLInputElement | null>;
|
|
6
|
-
} & InputHTMLAttributes<HTMLInputElement> & TypeFlexDimension;
|
|
7
|
-
declare const _default: import("react").NamedExoticComponent<TypeInput>;
|
|
8
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TypeFluidContainer } from "../fluid-container/FluidContainer";
|
|
2
|
-
import { TypeInput } from "../input/Input";
|
|
3
|
-
type TypeInputWithIcon = {
|
|
4
|
-
inputProps?: TypeInput;
|
|
5
|
-
} & TypeFluidContainer;
|
|
6
|
-
declare const _default: import("react").NamedExoticComponent<TypeInputWithIcon>;
|
|
7
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
|
|
3
|
-
import { TypeArrayItems, TypeValueType } from "../../../../../custom-hooks/useInputRepresenter";
|
|
4
|
-
type TypeMinimizedArrayInput = {
|
|
5
|
-
propertyKey: string;
|
|
6
|
-
value?: TypeValueType[];
|
|
7
|
-
items?: TypeArrayItems;
|
|
8
|
-
popoverProps?: TypeFlexElement;
|
|
9
|
-
contentProps?: TypeFlexElement;
|
|
10
|
-
} & TypeFlexElement;
|
|
11
|
-
declare const MinimizedArrayInput: FC<TypeMinimizedArrayInput>;
|
|
12
|
-
export default MinimizedArrayInput;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
|
|
2
|
-
export type TypeInputBooleanMinimized = {
|
|
3
|
-
checked: boolean;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
containerProps?: TypeFlexElement;
|
|
6
|
-
onChange?: (checked: boolean) => void;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: import("react").NamedExoticComponent<TypeInputBooleanMinimized>;
|
|
9
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TypeFluidContainer } from "components/atoms/fluid-container/FluidContainer";
|
|
2
|
-
import { FC } from "react";
|
|
3
|
-
type TypeColorMinimized = {
|
|
4
|
-
value?: string;
|
|
5
|
-
onClear?: () => void;
|
|
6
|
-
onChange?: (value: string) => void;
|
|
7
|
-
} & TypeFluidContainer;
|
|
8
|
-
declare const ColorMinimized: FC<TypeColorMinimized>;
|
|
9
|
-
export default ColorMinimized;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
|
|
2
|
-
type DateInputProps = {
|
|
3
|
-
onChange?: (value: Date) => void;
|
|
4
|
-
value?: Date | string | null;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
onClear?: () => void;
|
|
7
|
-
datePickerClassName?: string;
|
|
8
|
-
} & TypeFluidContainer;
|
|
9
|
-
declare const DateMinimizedInput: ({ onChange, value, placeholder, onClear, datePickerClassName, ...props }: DateInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default DateMinimizedInput;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
|
|
3
|
-
import { TypeMapProps } from "../../../../../components/atoms/map/Map";
|
|
4
|
-
type TypeMinimizedLocationInput = TypeFlexElement & {
|
|
5
|
-
contentProps?: TypeFlexElement;
|
|
6
|
-
mapProps?: TypeMapProps;
|
|
7
|
-
icon?: ReactNode;
|
|
8
|
-
};
|
|
9
|
-
declare const MinimizedLocationInput: ({ contentProps, mapProps, icon, ...props }: TypeMinimizedLocationInput) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default MinimizedLocationInput;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
|
|
2
|
-
import { TypeSelect, TypeValue } from "../../../../../components/molecules/select/Select";
|
|
3
|
-
import { TypeLabeledValue } from "../../../../../components/atoms/select-option/SelectOption";
|
|
4
|
-
type TypeMultiSelectionInput = {
|
|
5
|
-
options?: (string | number | TypeLabeledValue)[];
|
|
6
|
-
onChange?: (value: TypeValue) => void;
|
|
7
|
-
value?: TypeValue;
|
|
8
|
-
selectProps?: TypeSelect;
|
|
9
|
-
} & TypeFluidContainer;
|
|
10
|
-
declare const MultipleSelectionMinimizedInput: ({ options, value, onChange, selectProps, ...props }: TypeMultiSelectionInput) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default MultipleSelectionMinimizedInput;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
|
|
2
|
-
import React from "react";
|
|
3
|
-
type TypeStringMinimized = {
|
|
4
|
-
onClear?: () => void;
|
|
5
|
-
value?: number;
|
|
6
|
-
options?: number[];
|
|
7
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
8
|
-
onChange?: (value: number) => void;
|
|
9
|
-
} & TypeFluidContainer;
|
|
10
|
-
declare const _default: React.NamedExoticComponent<TypeStringMinimized>;
|
|
11
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
|
|
3
|
-
import { TypeProperties, TypeRepresenterValue } from "../../../../../custom-hooks/useInputRepresenter";
|
|
4
|
-
type TypeMinimizedObjectInput = {
|
|
5
|
-
value?: TypeRepresenterValue;
|
|
6
|
-
properties: TypeProperties;
|
|
7
|
-
popoverProps?: TypeFlexElement;
|
|
8
|
-
contentProps?: TypeFlexElement;
|
|
9
|
-
onChange?: (value: any) => void;
|
|
10
|
-
} & TypeFlexElement;
|
|
11
|
-
declare const MinimizedObjectInput: FC<TypeMinimizedObjectInput>;
|
|
12
|
-
export default MinimizedObjectInput;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
|
|
3
|
-
type TypeRichTextMinimized = {
|
|
4
|
-
value?: string;
|
|
5
|
-
richTextProps?: TypeFlexElement;
|
|
6
|
-
} & TypeFlexElement;
|
|
7
|
-
declare const MinimizedRichTextInput: FC<TypeRichTextMinimized>;
|
|
8
|
-
export default MinimizedRichTextInput;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TypeFluidContainer } from "components/atoms/fluid-container/FluidContainer";
|
|
2
|
-
import { FC } from "react";
|
|
3
|
-
import { TypeFile } from "utils/interface";
|
|
4
|
-
type TypeStorageMinimized = {
|
|
5
|
-
file?: TypeFile;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
onUpload?: (file: File) => void;
|
|
8
|
-
onClickShowFileSelect?: () => void;
|
|
9
|
-
onDelete?: () => void;
|
|
10
|
-
} & TypeFluidContainer;
|
|
11
|
-
declare const StorageMinimized: FC<TypeStorageMinimized>;
|
|
12
|
-
export default StorageMinimized;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
|
|
3
|
-
type TypeStringMinimized = {
|
|
4
|
-
onClear?: () => void;
|
|
5
|
-
value?: string;
|
|
6
|
-
options?: {
|
|
7
|
-
label: string;
|
|
8
|
-
value: string;
|
|
9
|
-
}[];
|
|
10
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
11
|
-
enumOnChange?: (value: string) => void;
|
|
12
|
-
} & TypeFluidContainer;
|
|
13
|
-
declare const _default: React.NamedExoticComponent<TypeStringMinimized>;
|
|
14
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
|
|
2
|
-
type MinimizedTextAreaProps = {
|
|
3
|
-
value?: string;
|
|
4
|
-
onClear?: () => void;
|
|
5
|
-
onChange?: (value: string) => void;
|
|
6
|
-
onFocus?: (isFocused: boolean) => void;
|
|
7
|
-
onBlur?: (isFocused: boolean) => void;
|
|
8
|
-
focusedRows?: number;
|
|
9
|
-
rows?: number;
|
|
10
|
-
cols?: number;
|
|
11
|
-
} & TypeFluidContainer;
|
|
12
|
-
declare const MinimizedTextArea: ({ value, onClear, onChange, focusedRows, onFocus, onBlur, rows, cols, ...props }: MinimizedTextAreaProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default MinimizedTextArea;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TypeText } from "../../../../../components/atoms/text/Text";
|
|
2
|
-
import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
|
|
3
|
-
import { TypeArrayItems, TypeValueType } from "../../../../../custom-hooks/useInputRepresenter";
|
|
4
|
-
type TypeArrayInput = {
|
|
5
|
-
value?: TypeValueType[];
|
|
6
|
-
title?: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
errorMessage?: string;
|
|
9
|
-
helperTextContainerProps?: TypeFlexElement;
|
|
10
|
-
helperTextProps?: TypeText;
|
|
11
|
-
minItems?: number;
|
|
12
|
-
maxItems?: number;
|
|
13
|
-
propertyKey: string;
|
|
14
|
-
items?: TypeArrayItems;
|
|
15
|
-
onChange?: (value: any) => void;
|
|
16
|
-
} & TypeFlexElement;
|
|
17
|
-
declare const _default: import("react").NamedExoticComponent<TypeArrayInput>;
|
|
18
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { TypeText } from "../../../../../components/atoms/text/Text";
|
|
2
|
-
import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
|
|
3
|
-
import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
|
|
4
|
-
export type TypeBooleanInput = {
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
label?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
containerProps?: TypeFluidContainer;
|
|
9
|
-
switchContainerProps?: TypeFlexElement;
|
|
10
|
-
suffixProps?: TypeFlexElement;
|
|
11
|
-
rootProps?: TypeFlexElement;
|
|
12
|
-
labelProps?: TypeText;
|
|
13
|
-
description?: string;
|
|
14
|
-
onChange?: (checked: boolean) => void;
|
|
15
|
-
};
|
|
16
|
-
declare const _default: import("react").NamedExoticComponent<TypeBooleanInput>;
|
|
17
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
|
|
3
|
-
type TypeChipInput = {
|
|
4
|
-
label?: string[];
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
} & TypeFlexElement;
|
|
7
|
-
declare const _default: React.NamedExoticComponent<TypeChipInput>;
|
|
8
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
|
|
2
|
-
type TypeColorInput = {
|
|
3
|
-
label: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
labelProps?: TypeFluidContainer;
|
|
7
|
-
colorContainerProps?: TypeFluidContainer;
|
|
8
|
-
inputContainerClassName?: string;
|
|
9
|
-
onChange?: (value: string) => void;
|
|
10
|
-
};
|
|
11
|
-
declare const _default: import("react").NamedExoticComponent<TypeColorInput & {
|
|
12
|
-
ref?: import("react").RefObject<HTMLDivElement | null>;
|
|
13
|
-
} & import("../../../../../utils/interface").TypeFlexContainer & import("../../../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
|
|
14
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type DateRangePickerProps = {
|
|
3
|
-
label?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
onChange?: (value: Date) => void;
|
|
6
|
-
value?: Date | string | null;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
inputContainerClassName?: string;
|
|
9
|
-
};
|
|
10
|
-
declare const _default: React.NamedExoticComponent<DateRangePickerProps>;
|
|
11
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
|
|
2
|
-
import { TypeValue } from "../../../../../components/molecules/select/Select";
|
|
3
|
-
import React from "react";
|
|
4
|
-
type TypeEnum = {
|
|
5
|
-
selectClassName?: string;
|
|
6
|
-
label: string;
|
|
7
|
-
options: {
|
|
8
|
-
label: string;
|
|
9
|
-
value: string;
|
|
10
|
-
}[];
|
|
11
|
-
onChange?: (value: TypeValue) => void;
|
|
12
|
-
value?: TypeValue;
|
|
13
|
-
} & TypeFlexElement;
|
|
14
|
-
declare const _default: React.NamedExoticComponent<TypeEnum>;
|
|
15
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "../../../../../../node_modules/leaflet/dist/leaflet.css";
|
|
3
|
-
import { TypeCoordinates } from "../../../../../components/atoms/map/Map";
|
|
4
|
-
type TypeLocationInput = {
|
|
5
|
-
coordinates?: TypeCoordinates;
|
|
6
|
-
title?: string;
|
|
7
|
-
onChange?: (coordinates: TypeCoordinates) => void;
|
|
8
|
-
description?: string;
|
|
9
|
-
};
|
|
10
|
-
declare const _default: React.NamedExoticComponent<TypeLocationInput & {
|
|
11
|
-
ref?: React.RefObject<HTMLDivElement | null>;
|
|
12
|
-
} & import("../../../../../utils/interface").TypeFlexContainer & import("../../../../../utils/interface").TypeFlexDimension & Omit<React.HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
|
|
13
|
-
export default _default;
|