oziko-ui-kit 0.0.7 → 0.0.9

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.
Files changed (56) hide show
  1. package/dist/components/atoms/bucket-schema-item/BucketSchemaItem.d.ts +17 -0
  2. package/dist/components/atoms/bucket-schema-list/BucketSchemaList.d.ts +19 -0
  3. package/dist/components/atoms/checkbox/Checkbox.d.ts +1 -1
  4. package/dist/components/atoms/color/Color.d.ts +2 -2
  5. package/dist/components/atoms/inputs/minimized/array/Array.d.ts +1 -1
  6. package/dist/components/atoms/inputs/minimized/boolean/Boolean.d.ts +1 -1
  7. package/dist/components/atoms/inputs/minimized/color/ColorMinimized.d.ts +1 -1
  8. package/dist/components/atoms/inputs/minimized/date/Date.d.ts +1 -1
  9. package/dist/components/atoms/inputs/minimized/location/Location.d.ts +2 -2
  10. package/dist/components/atoms/inputs/minimized/multi-selection/MultiSelection.d.ts +3 -3
  11. package/dist/components/atoms/inputs/minimized/number/NumberMinimized.d.ts +1 -1
  12. package/dist/components/atoms/inputs/minimized/object/Object.d.ts +1 -1
  13. package/dist/components/atoms/inputs/minimized/rich-text/RichText.d.ts +1 -1
  14. package/dist/components/atoms/inputs/minimized/storage/StorageMinimized.d.ts +2 -2
  15. package/dist/components/atoms/inputs/minimized/string/StringMinimized.d.ts +1 -1
  16. package/dist/components/atoms/inputs/minimized/text-area/TextArea.d.ts +1 -1
  17. package/dist/components/atoms/inputs/normal/array/ArrayInput.d.ts +2 -2
  18. package/dist/components/atoms/inputs/normal/boolean/Boolean.d.ts +3 -3
  19. package/dist/components/atoms/inputs/normal/chip/ChipInput.d.ts +2 -1
  20. package/dist/components/atoms/inputs/normal/color/Color.d.ts +2 -2
  21. package/dist/components/atoms/inputs/normal/enum/Enum.d.ts +2 -2
  22. package/dist/components/atoms/inputs/normal/location/Location.d.ts +2 -2
  23. package/dist/components/atoms/inputs/normal/multiple-selection/MultipleSelection.d.ts +2 -2
  24. package/dist/components/atoms/inputs/normal/number/Number.d.ts +3 -3
  25. package/dist/components/atoms/inputs/normal/object/ObjectInput.d.ts +2 -2
  26. package/dist/components/atoms/inputs/normal/rich-text/LexicalContent.d.ts +1 -1
  27. package/dist/components/atoms/inputs/normal/rich-text/RichText.d.ts +2 -2
  28. package/dist/components/atoms/inputs/normal/storage/Storage.d.ts +3 -3
  29. package/dist/components/atoms/inputs/normal/string/String.d.ts +3 -3
  30. package/dist/components/atoms/inputs/normal/text-area/TextArea.d.ts +1 -1
  31. package/dist/components/atoms/modal/Modal.d.ts +2 -3
  32. package/dist/components/atoms/modal/body/ModalBody.d.ts +1 -1
  33. package/dist/components/atoms/modal/footer/ModalFooter.d.ts +1 -1
  34. package/dist/components/atoms/modal/header/ModalHeader.d.ts +1 -1
  35. package/dist/components/atoms/select-option/SelectOption.d.ts +1 -1
  36. package/dist/components/atoms/spinner/Spinner.d.ts +1 -1
  37. package/dist/components/atoms/storage-file-card/StorageFileCard.d.ts +1 -1
  38. package/dist/components/molecules/accordion/Accordion.d.ts +2 -2
  39. package/dist/components/molecules/navigator-item/NavigatorItem.d.ts +1 -1
  40. package/dist/components/molecules/select/Select.d.ts +6 -6
  41. package/dist/components/molecules/sso-button/SSOButton.d.ts +1 -1
  42. package/dist/components/molecules/timeline/Timeline.d.ts +1 -1
  43. package/dist/components/organisms/bucket-add-field/BucketAddField.d.ts +11 -0
  44. package/dist/components/organisms/bucket-add-field/BucketAddFieldSchema.d.ts +1 -0
  45. package/dist/components/organisms/dashboard/layout/DashboardLayout.d.ts +1 -1
  46. package/dist/components/organisms/menu-group/MenuGroup.d.ts +1 -1
  47. package/dist/components/organisms/section/Section.d.ts +1 -1
  48. package/dist/custom-hooks/useInputRepresenter.d.ts +4 -3
  49. package/dist/index.css +28 -13
  50. package/dist/index.mjs +4 -4
  51. package/dist/index.mjs.map +1 -1
  52. package/dist/theme/index.d.ts +2 -2
  53. package/dist/utils/iconList.d.ts +1 -1
  54. package/dist/utils/index.d.ts +1 -0
  55. package/dist/utils/interface.d.ts +13 -0
  56. package/package.json +8 -6
@@ -0,0 +1,17 @@
1
+ import { TypeInputType } from "../../../custom-hooks/useInputRepresenter";
2
+ import React from "react";
3
+ import { TypeFluidContainer } from "../fluid-container/FluidContainer";
4
+ type TypeBucketSchemaItem = {
5
+ label?: string;
6
+ type?: TypeInputType | "id";
7
+ addIcon?: boolean;
8
+ addOnClick?: () => void;
9
+ editIcon?: boolean;
10
+ editOnClick?: () => void;
11
+ deleteIcon?: boolean;
12
+ deleteOnClick?: () => void;
13
+ itemDepth?: number;
14
+ options?: Record<string, any>;
15
+ } & TypeFluidContainer;
16
+ declare const _default: React.NamedExoticComponent<TypeBucketSchemaItem>;
17
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { TypeInputType } from "../../../custom-hooks/useInputRepresenter";
2
+ import React from "react";
3
+ type TypeSchema = {
4
+ type: TypeInputType;
5
+ title: string;
6
+ properties?: Record<string, TypeSchema>;
7
+ description?: string;
8
+ minimum?: number;
9
+ maximum?: number;
10
+ items?: TypeSchema;
11
+ default?: any;
12
+ options?: Record<string, any>;
13
+ };
14
+ type TypeBucketSchemaList = {
15
+ schema?: Record<string, TypeSchema>;
16
+ itemDepth?: number;
17
+ };
18
+ declare const _default: React.NamedExoticComponent<TypeBucketSchemaList>;
19
+ export default _default;
@@ -15,5 +15,5 @@ declare const _default: React.NamedExoticComponent<TypeCheckbox & {
15
15
  mode?: "hug" | "fill" | "middle";
16
16
  } & {
17
17
  ref?: React.RefObject<HTMLDivElement | null>;
18
- } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<React.HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
18
+ } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "prefix">>;
19
19
  export default _default;
@@ -1,4 +1,4 @@
1
- import { TypeFlexElement } from "../../../components/atoms/flex-element/FlexElement";
1
+ import { TypeFlexElement } from "../flex-element/FlexElement";
2
2
  type TypeColor = {
3
3
  value: string;
4
4
  prefixProps?: TypeFlexElement;
@@ -12,5 +12,5 @@ declare const _default: import("react").NamedExoticComponent<TypeColor & {
12
12
  mode?: "hug" | "fill" | "middle";
13
13
  } & {
14
14
  ref?: import("react").RefObject<HTMLDivElement | null>;
15
- } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
15
+ } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "prefix">>;
16
16
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
2
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
3
3
  import { TypeArrayItems, TypeValueType } from "../../../../../custom-hooks/useInputRepresenter";
4
4
  type TypeMinimizedArrayInput = {
5
5
  propertyKey: string;
@@ -1,4 +1,4 @@
1
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
1
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
2
2
  export type TypeInputBooleanMinimized = {
3
3
  checked: boolean;
4
4
  disabled?: boolean;
@@ -1,4 +1,4 @@
1
- import { TypeFluidContainer } from "components/atoms/fluid-container/FluidContainer";
1
+ import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
2
2
  import { FC } from "react";
3
3
  type TypeColorMinimized = {
4
4
  value?: string;
@@ -1,4 +1,4 @@
1
- import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
1
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
2
2
  type DateInputProps = {
3
3
  onChange?: (value: Date) => void;
4
4
  value?: Date | string | null;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from "react";
2
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
3
- import { TypeMapProps } from "../../../../../components/atoms/map/Map";
2
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
3
+ import { TypeMapProps } from "../../../map/Map";
4
4
  type TypeMinimizedLocationInput = TypeFlexElement & {
5
5
  contentProps?: TypeFlexElement;
6
6
  mapProps?: TypeMapProps;
@@ -1,6 +1,6 @@
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";
1
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
2
+ import { TypeSelect, TypeValue } from "../../../../molecules/select/Select";
3
+ import { TypeLabeledValue } from "../../../select-option/SelectOption";
4
4
  type TypeMultiSelectionInput = {
5
5
  options?: (string | number | TypeLabeledValue)[];
6
6
  onChange?: (value: TypeValue) => void;
@@ -1,4 +1,4 @@
1
- import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
1
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
2
2
  import React from "react";
3
3
  type TypeStringMinimized = {
4
4
  onClear?: () => void;
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
2
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
3
3
  import { TypeProperties, TypeRepresenterValue } from "../../../../../custom-hooks/useInputRepresenter";
4
4
  type TypeMinimizedObjectInput = {
5
5
  value?: TypeRepresenterValue;
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
2
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
3
3
  type TypeRichTextMinimized = {
4
4
  value?: string;
5
5
  richTextProps?: TypeFlexElement;
@@ -1,6 +1,6 @@
1
- import { TypeFluidContainer } from "components/atoms/fluid-container/FluidContainer";
1
+ import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
2
2
  import { FC } from "react";
3
- import { TypeFile } from "utils/interface";
3
+ import { TypeFile } from "../../../../../utils/interface";
4
4
  type TypeStorageMinimized = {
5
5
  file?: TypeFile;
6
6
  placeholder?: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
2
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
3
3
  type TypeStringMinimized = {
4
4
  onClear?: () => void;
5
5
  value?: string;
@@ -1,4 +1,4 @@
1
- import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
1
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
2
2
  type MinimizedTextAreaProps = {
3
3
  value?: string;
4
4
  onClear?: () => void;
@@ -1,5 +1,5 @@
1
- import { TypeText } from "../../../../../components/atoms/text/Text";
2
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
1
+ import { TypeText } from "../../../text/Text";
2
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
3
3
  import { TypeArrayItems, TypeValueType } from "../../../../../custom-hooks/useInputRepresenter";
4
4
  type TypeArrayInput = {
5
5
  value?: TypeValueType[];
@@ -1,6 +1,6 @@
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";
1
+ import { TypeText } from "../../../text/Text";
2
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
3
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
4
4
  export type TypeBooleanInput = {
5
5
  checked?: boolean;
6
6
  label?: string;
@@ -1,8 +1,9 @@
1
1
  import React from "react";
2
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
2
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
3
3
  type TypeChipInput = {
4
4
  label?: string[];
5
5
  placeholder?: string;
6
+ onChange?: (value: string[]) => void;
6
7
  } & TypeFlexElement;
7
8
  declare const _default: React.NamedExoticComponent<TypeChipInput>;
8
9
  export default _default;
@@ -1,4 +1,4 @@
1
- import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
1
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
2
2
  type TypeColorInput = {
3
3
  label: string;
4
4
  description?: string;
@@ -10,5 +10,5 @@ type TypeColorInput = {
10
10
  };
11
11
  declare const _default: import("react").NamedExoticComponent<TypeColorInput & {
12
12
  ref?: import("react").RefObject<HTMLDivElement | null>;
13
- } & import("../../../../../utils/interface").TypeFlexContainer & import("../../../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
13
+ } & import("../../../../../utils/interface").TypeFlexContainer & import("../../../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "prefix">>;
14
14
  export default _default;
@@ -1,5 +1,5 @@
1
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
2
- import { TypeValue } from "../../../../../components/molecules/select/Select";
1
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
2
+ import { TypeValue } from "../../../../molecules/select/Select";
3
3
  import React from "react";
4
4
  type TypeEnum = {
5
5
  selectClassName?: string;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import "../../../../../../node_modules/leaflet/dist/leaflet.css";
3
- import { TypeCoordinates } from "../../../../../components/atoms/map/Map";
3
+ import { TypeCoordinates } from "../../../map/Map";
4
4
  type TypeLocationInput = {
5
5
  coordinates?: TypeCoordinates;
6
6
  title?: string;
@@ -9,5 +9,5 @@ type TypeLocationInput = {
9
9
  };
10
10
  declare const _default: React.NamedExoticComponent<TypeLocationInput & {
11
11
  ref?: React.RefObject<HTMLDivElement | null>;
12
- } & import("../../../../../utils/interface").TypeFlexContainer & import("../../../../../utils/interface").TypeFlexDimension & Omit<React.HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
12
+ } & import("../../../../../utils/interface").TypeFlexContainer & import("../../../../../utils/interface").TypeFlexDimension & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "prefix">>;
13
13
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
3
- import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
2
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
3
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
4
4
  type TypeMultipleSelectionInput<T = string | number> = {
5
5
  label: string;
6
6
  description?: string;
@@ -1,5 +1,5 @@
1
- import { TypeInput } from "../../../../../components/atoms/input/Input";
2
- import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
1
+ import { TypeInput } from "../../../input/Input";
2
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
3
3
  type TypeNumberInput = {
4
4
  label: string;
5
5
  description?: string;
@@ -12,5 +12,5 @@ type TypeNumberInput = {
12
12
  };
13
13
  declare const _default: import("react").NamedExoticComponent<TypeNumberInput & {
14
14
  ref?: import("react").RefObject<HTMLDivElement | null>;
15
- } & import("../../../../../utils/interface").TypeFlexContainer & import("../../../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
15
+ } & import("../../../../../utils/interface").TypeFlexContainer & import("../../../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "prefix">>;
16
16
  export default _default;
@@ -1,5 +1,5 @@
1
- import { TypeText } from "../../../../../components/atoms/text/Text";
2
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
1
+ import { TypeText } from "../../../text/Text";
2
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
3
3
  import { TypeProperties, TypeRepresenterValue } from "../../../../../custom-hooks/useInputRepresenter";
4
4
  type TypeObjectInput = {
5
5
  value?: TypeRepresenterValue;
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
2
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
3
3
  import { EditorState, LexicalEditor } from "lexical";
4
4
  type TypeLexicalContent = {
5
5
  onChange: (state: EditorState, editor: LexicalEditor) => void;
@@ -1,6 +1,6 @@
1
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
1
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
2
2
  import { IconName } from "../../../../../utils/iconList";
3
- import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
3
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
4
4
  export type TypeRichTextInput = {
5
5
  headerProps?: {
6
6
  icon?: IconName;
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from "react";
2
- import { TypeFlexElement } from "../../../../../components/atoms/flex-element/FlexElement";
3
- import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
4
- import { TypeText } from "../../../../../components/atoms/text/Text";
2
+ import { TypeFlexElement } from "../../../flex-element/FlexElement";
3
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
4
+ import { TypeText } from "../../../text/Text";
5
5
  import { IconName } from "../../../../../utils/iconList";
6
6
  import { TypeFile } from "../../../../../utils/interface";
7
7
  export type TypeStorageInput = {
@@ -1,6 +1,6 @@
1
- import { TypeInput } from "components/atoms/input/Input";
1
+ import { TypeInput } from "../../../../../components/atoms/input/Input";
2
2
  import React from "react";
3
- import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
3
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
4
4
  type TypeStringInput = {
5
5
  label?: string;
6
6
  description?: string;
@@ -13,5 +13,5 @@ type TypeStringInput = {
13
13
  };
14
14
  declare const _default: React.NamedExoticComponent<TypeStringInput & {
15
15
  ref?: React.RefObject<HTMLDivElement | null>;
16
- } & import("../../../../../utils/interface").TypeFlexContainer & import("../../../../../utils/interface").TypeFlexDimension & Omit<React.HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
16
+ } & import("../../../../../utils/interface").TypeFlexContainer & import("../../../../../utils/interface").TypeFlexDimension & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "prefix">>;
17
17
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { ChangeEventHandler } from "react";
2
2
  import { TypeFlexElement } from "../../../flex-element/FlexElement";
3
- import { TypeFluidContainer } from "../../../../../components/atoms/fluid-container/FluidContainer";
3
+ import { TypeFluidContainer } from "../../../fluid-container/FluidContainer";
4
4
  import { IconName } from "../../../../../utils/iconList";
5
5
  type TypeTextArea = {
6
6
  value?: string;
@@ -1,10 +1,9 @@
1
- import { TypeFluidContainer } from "../../../components/atoms/fluid-container/FluidContainer";
2
1
  import React, { FC } from "react";
2
+ 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
6
  type TypeModal = {
7
- className?: string;
8
7
  animation?: "growFromCenter" | "zoomIn";
9
8
  showCloseButton?: boolean;
10
9
  disableClose?: boolean;
@@ -16,7 +15,7 @@ type TypeModal = {
16
15
  backdropClassName?: string;
17
16
  backdropProps?: React.HTMLAttributes<HTMLDivElement>;
18
17
  isOpen?: boolean;
19
- } & TypeFluidContainer;
18
+ } & TypeFlexElement;
20
19
  declare const Modal: FC<TypeModal> & {
21
20
  Header: typeof ModalHeader;
22
21
  Body: typeof ModalBody;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { TypeFlexElement } from "../../../../components/atoms/flex-element/FlexElement";
2
+ import { TypeFlexElement } from "../../flex-element/FlexElement";
3
3
  type TypeModalBody = {
4
4
  className?: string;
5
5
  } & TypeFlexElement;
@@ -1,4 +1,4 @@
1
- import { TypeFluidContainer } from "../../../../components/atoms/fluid-container/FluidContainer";
1
+ import { TypeFluidContainer } from "../../fluid-container/FluidContainer";
2
2
  import React from "react";
3
3
  type TypeModalFooter = {
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { TypeFluidContainer } from "../../../../components/atoms/fluid-container/FluidContainer";
1
+ import { TypeFluidContainer } from "../../fluid-container/FluidContainer";
2
2
  import React from "react";
3
3
  type TypeModalHeader = {
4
4
  className?: string;
@@ -15,5 +15,5 @@ declare const _default: import("react").NamedExoticComponent<TypeSelectOption &
15
15
  mode?: "hug" | "fill" | "middle";
16
16
  } & {
17
17
  ref?: import("react").RefObject<HTMLDivElement | null>;
18
- } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
18
+ } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "prefix">>;
19
19
  export default _default;
@@ -11,5 +11,5 @@ export type TypeSpinner = {
11
11
  };
12
12
  declare const _default: React.NamedExoticComponent<TypeSpinner & {
13
13
  ref?: React.RefObject<HTMLDivElement | null>;
14
- } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<React.HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
14
+ } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "prefix">>;
15
15
  export default _default;
@@ -8,5 +8,5 @@ export type TypeStorageFileCard = {
8
8
  };
9
9
  declare const _default: import("react").NamedExoticComponent<TypeStorageFileCard & {
10
10
  ref?: import("react").RefObject<HTMLDivElement | null>;
11
- } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
11
+ } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "prefix">>;
12
12
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { TypeFluidContainer } from "../../../components/atoms/fluid-container/FluidContainer";
3
- import { TypeFlexElement } from "../../../components/atoms/flex-element/FlexElement";
2
+ import { TypeFluidContainer } from "../../atoms/fluid-container/FluidContainer";
3
+ import { TypeFlexElement } from "../../atoms/flex-element/FlexElement";
4
4
  export type TypeAccordionItem = {
5
5
  title: string;
6
6
  content: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { TypeFluidContainer } from "../../../components/atoms/fluid-container/FluidContainer";
1
+ import { TypeFluidContainer } from "../../atoms/fluid-container/FluidContainer";
2
2
  import React from "react";
3
3
  import { IconName } from "../../../utils/iconList";
4
4
  type SuffixIcon = {
@@ -1,6 +1,6 @@
1
1
  import { Ref } from "react";
2
- import { TypeFluidContainer } from "../../../components/atoms/fluid-container/FluidContainer";
3
- import { TypeLabeledValue } from "../../../components/atoms/select-option/SelectOption";
2
+ import { TypeFluidContainer } from "../../atoms/fluid-container/FluidContainer";
3
+ import { TypeLabeledValue } from "../../atoms/select-option/SelectOption";
4
4
  export type TypeValue = string | number | (string | number)[];
5
5
  export type TypeSelectRef = {
6
6
  toggleDropdown: (toggleValue?: boolean) => void;
@@ -21,11 +21,11 @@ export type TypeSelect = {
21
21
  onChange?: (value: TypeValue) => void;
22
22
  };
23
23
  declare const _default: import("react").NamedExoticComponent<TypeSelect & {
24
- prefix?: import("../../../components/atoms/flex-element/FlexElement").TypeFlexElement;
25
- root?: import("../../../components/atoms/flex-element/FlexElement").TypeFlexElement;
26
- suffix?: import("../../../components/atoms/flex-element/FlexElement").TypeFlexElement;
24
+ prefix?: import("../../atoms/flex-element/FlexElement").TypeFlexElement;
25
+ root?: import("../../atoms/flex-element/FlexElement").TypeFlexElement;
26
+ suffix?: import("../../atoms/flex-element/FlexElement").TypeFlexElement;
27
27
  mode?: "hug" | "fill" | "middle";
28
28
  } & {
29
29
  ref?: import("react").RefObject<HTMLDivElement | null>;
30
- } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "prefix" | "onChange">>;
30
+ } & import("../../../utils/interface").TypeFlexContainer & import("../../../utils/interface").TypeFlexDimension & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "prefix">>;
31
31
  export default _default;
@@ -1,4 +1,4 @@
1
- import { TypeFluidContainer } from "../../../components/atoms/fluid-container/FluidContainer";
1
+ import { TypeFluidContainer } from "../../atoms/fluid-container/FluidContainer";
2
2
  import React from "react";
3
3
  import { IconName } from "../../../utils/iconList";
4
4
  type TypeSSOButton = {
@@ -1,6 +1,6 @@
1
1
  import { ChartData } from "chart.js";
2
2
  import "chartjs-adapter-date-fns";
3
- import { TypeFluidContainer } from "../../../components/atoms/fluid-container/FluidContainer";
3
+ import { TypeFluidContainer } from "../../atoms/fluid-container/FluidContainer";
4
4
  export type TypeBarChartData = ChartData<"bar", (number | [number, number] | null)[], unknown>;
5
5
  type TypeTimeline = {
6
6
  dateRange: {
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { TypeInputType } from "../../../custom-hooks/useInputRepresenter";
3
+ import { TypeModal } from "../../../utils/interface";
4
+ type TypeBucketAddField = {
5
+ name: string;
6
+ type: TypeInputType;
7
+ isOpen?: boolean;
8
+ modalProps?: TypeModal;
9
+ };
10
+ declare const _default: React.NamedExoticComponent<TypeBucketAddField>;
11
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const createShema: any;
@@ -1,6 +1,6 @@
1
1
  import { FC } from "react";
2
2
  import { ChartData, ChartOptions, ChartType } from "chart.js";
3
- import { TypeFluidContainer } from "../../../../components/atoms/fluid-container/FluidContainer";
3
+ import { TypeFluidContainer } from "../../../atoms/fluid-container/FluidContainer";
4
4
  type TypeDashboardItem = {
5
5
  ratio: string;
6
6
  id: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { TypeFlexElement } from "../../../components/atoms/flex-element/FlexElement";
2
+ import { TypeFlexElement } from "../../atoms/flex-element/FlexElement";
3
3
  type TypeMenuGroup = {
4
4
  options?: Record<string, {
5
5
  label: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import FlexElement, { TypeFlexElement } from "../../../components/atoms/flex-element/FlexElement";
2
+ import FlexElement, { TypeFlexElement } from "../../atoms/flex-element/FlexElement";
3
3
  type TypeSection = {
4
4
  ref?: React.Ref<HTMLDivElement>;
5
5
  } & TypeFlexElement;
@@ -1,11 +1,11 @@
1
- import { TypeCoordinates } from "components/atoms/map/Map";
1
+ import { TypeCoordinates } from "../components/atoms/map/Map";
2
2
  import { ReactNode } from "react";
3
- import { utils } from "utils";
3
+ import { utils } from "../utils";
4
4
  export type TypeProperties = {
5
5
  [key: string]: {
6
6
  type: keyof typeof types;
7
7
  title: string;
8
- description: string;
8
+ description?: string;
9
9
  options?: TypeOptions;
10
10
  enum?: (string | number)[];
11
11
  default?: TypeValueType;
@@ -72,6 +72,7 @@ export type TypeInputTypeMap = {
72
72
  richtext: (props: TypeInputProps<string>) => ReactNode;
73
73
  object: (props: TypeObjectInputProps<TypeRepresenterValue>) => ReactNode;
74
74
  array: (props: TypeArrayInputProps<TypeValueType>) => ReactNode;
75
+ chip: (props: TypeInputProps<string>) => ReactNode;
75
76
  };
76
77
  declare const types: TypeInputTypeMap;
77
78
  type TypeUseInputRepresenter = {
package/dist/index.css CHANGED
@@ -72,33 +72,48 @@
72
72
  --font-family-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
73
73
  "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
74
74
  --color-primary: #1c1c50;
75
+ --color-primary-rgb: 28, 28, 80;
75
76
  --color-primary-light: #36369c;
77
+ --color-primary-light-rgb: 54, 54, 156;
76
78
  --color-primary-dark: #020204;
77
- --color-primary-rgb: 28, 28, 80;
79
+ --color-primary-dark-rgb: 2, 2, 4;
78
80
  --color-danger: #f41212;
81
+ --color-danger-rgb: 244, 18, 18;
79
82
  --color-danger-light: #f97373;
83
+ --color-danger-light-rgb: 249, 115, 115;
80
84
  --color-danger-dark: #990707;
81
- --color-danger-rgb: 244, 18, 18;
85
+ --color-danger-dark-rgb: 153, 7, 7;
82
86
  --color-success: #21f412;
87
+ --color-success-rgb: 33, 244, 18;
83
88
  --color-success-light: #7cf973;
89
+ --color-success-light-rgb: 124, 249, 115;
84
90
  --color-success-dark: #119907;
85
- --color-success-rgb: 33, 244, 18;
91
+ --color-success-dark-rgb: 17, 153, 7;
86
92
  --color-soft: #f5f5f5;
93
+ --color-soft-rgb: 245, 245, 245;
87
94
  --color-soft-light: #ffffff;
95
+ --color-soft-light-rgb: 255, 255, 255;
88
96
  --color-soft-dark: #c2c2c2;
89
- --color-soft-rgb: 245, 245, 245;
97
+ --color-soft-dark-rgb: 194, 194, 194;
90
98
  --color-default: #ffffff;
91
99
  --color-default-rgb: 255, 255, 255;
92
100
  --color-transparent: transparent;
93
101
  --color-input-background: #fafafa;
102
+ --color-input-background-rgb: 250, 250, 250;
94
103
  --color-input-placeholder: #9b9b9b;
104
+ --color-input-placeholder-rgb: 155, 155, 155;
95
105
  --color-font-primary: #525252;
106
+ --color-font-primary-rgb: 82, 82, 82;
96
107
  --color-font-secondary: #ffffff;
108
+ --color-font-secondary-rgb: 255, 255, 255;
97
109
  --color-border: #d4d0d0;
98
110
  --color-border-rgb: 212, 208, 208;
99
111
  --color-zebra: #f6f6f9;
112
+ --color-zebra-rgb: 246, 246, 249;
100
113
  --color-background: #f5f5f5;
114
+ --color-background-rgb: 245, 245, 245;
101
115
  --color-menu-background: #ffffff;
116
+ --color-menu-background-rgb: 255, 255, 255;
102
117
  --color-box-shadow: #0000000d;
103
118
  --box-shadow: 0px 0px 10px 5px var(--color-box-shadow);
104
119
  --border-radius-sm: 3px;
@@ -2979,6 +2994,15 @@ button.font-increment {
2979
2994
  .ObjectInput-module_container__JtW64 input {
2980
2995
  padding: 0;
2981
2996
  }
2997
+ .ChipInput-module_chipInputContainer__qkZtV {
2998
+ background-color: var(--color-input-background);
2999
+ border-radius: var(--border-radius-md);
3000
+ color: var(--color-input-placeholder);
3001
+ padding: var(--padding-md) var(--padding-lg);
3002
+ }
3003
+ .ChipInput-module_chipInputContainer__qkZtV input {
3004
+ padding: 0;
3005
+ }
2982
3006
  .ColorMinimized-module_colorMinimized__CnRpu {
2983
3007
  background-color: var(--color-input-background);
2984
3008
  border-radius: var(--border-radius-md);
@@ -3128,13 +3152,4 @@ button.font-increment {
3128
3152
  outline: none;
3129
3153
  width: 100%;
3130
3154
  padding: 0;
3131
- }
3132
- .ChipInput-module_chipInputContainer__qkZtV {
3133
- background-color: var(--color-input-background);
3134
- border-radius: var(--border-radius-md);
3135
- color: var(--color-input-placeholder);
3136
- padding: var(--padding-md) var(--padding-lg);
3137
- }
3138
- .ChipInput-module_chipInputContainer__qkZtV input {
3139
- padding: 0;
3140
3155
  }