ingred-ui 9.2.0 → 9.4.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.
Files changed (25) hide show
  1. package/dist/components/Icon/Icon.d.ts +1 -1
  2. package/dist/components/Icon/internal/BidStrapIcon/index.d.ts +4 -0
  3. package/dist/components/Icon/internal/DataStrapIcon/index.d.ts +4 -0
  4. package/dist/components/Icon/internal/FluctIcon/index.d.ts +4 -0
  5. package/dist/components/Toast/DefaultToast/DefaultToast.d.ts +1 -1
  6. package/dist/components/Toast/Toast.d.ts +9 -3
  7. package/dist/components/Toast/ToastProvider/ToastProvider.d.ts +1 -1
  8. package/dist/components/Toast/ToastProvider/internal/ToastContainer/ToastContainer.d.ts +1 -1
  9. package/dist/components/Toast/ToastProvider/internal/ToastContainer/styled.d.ts +1 -2
  10. package/dist/constants/locale.d.ts +7 -1
  11. package/dist/index.es.js +2463 -5079
  12. package/dist/index.es.js.map +1 -1
  13. package/dist/index.js +2460 -5076
  14. package/dist/index.js.map +1 -1
  15. package/dist/lib/react-toast-notification/src/ToastContainer.d.ts +8 -0
  16. package/dist/lib/react-toast-notification/src/ToastController.d.ts +31 -0
  17. package/dist/lib/react-toast-notification/src/ToastElement.d.ts +54 -0
  18. package/dist/lib/react-toast-notification/src/ToastProvider.d.ts +60 -0
  19. package/dist/lib/react-toast-notification/src/colors.d.ts +81 -0
  20. package/dist/lib/react-toast-notification/src/icons.d.ts +5 -0
  21. package/dist/lib/react-toast-notification/src/index.d.ts +6 -0
  22. package/dist/lib/react-toast-notification/src/styled.d.ts +34 -0
  23. package/dist/lib/react-toast-notification/src/types.d.ts +22 -0
  24. package/dist/lib/react-toast-notification/src/utils.d.ts +2 -0
  25. package/package.json +24 -25
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- export declare type IconName = "dashboard" | "bar_chart" | "bar_chart_framed" | "line_chart_framed" | "multi_line_chart_framed" | "logout" | "setting" | "arrow_bottom" | "arrow_left" | "arrow_right" | "pencil" | "delete_bin" | "close" | "forbid" | "check" | "eye" | "eye_off" | "exclamation" | "arrow_double_left" | "arrow_double_right" | "question" | "zoom_in" | "sort_up" | "sort_down" | "sort_inactive" | "folder" | "folder_open" | "return_line" | "link" | "unlink" | "no_link" | "search" | "import" | "export" | "add_line" | "more" | "more_vert" | "date_range" | "external_link" | "desktop" | "mobile" | "desktop_mobile" | "copy" | "truck" | "camera_movie" | "code_file" | "cart_secure" | "profile" | "auction" | "mail" | "mail_open" | "filter" | "notification" | "user_settings" | "company_settings" | "heart_pulse" | "checkbox_circle" | "alart" | "base_station" | "braille" | "label" | "download_cloud" | "save" | "close_circle";
2
+ export declare type IconName = "dashboard" | "bar_chart" | "bar_chart_framed" | "line_chart_framed" | "multi_line_chart_framed" | "logout" | "setting" | "arrow_bottom" | "arrow_left" | "arrow_right" | "pencil" | "delete_bin" | "close" | "forbid" | "check" | "eye" | "eye_off" | "exclamation" | "arrow_double_left" | "arrow_double_right" | "question" | "zoom_in" | "sort_up" | "sort_down" | "sort_inactive" | "folder" | "folder_open" | "return_line" | "link" | "unlink" | "no_link" | "search" | "import" | "export" | "add_line" | "more" | "more_vert" | "date_range" | "external_link" | "desktop" | "mobile" | "desktop_mobile" | "copy" | "truck" | "camera_movie" | "code_file" | "cart_secure" | "profile" | "auction" | "mail" | "mail_open" | "filter" | "notification" | "user_settings" | "company_settings" | "heart_pulse" | "checkbox_circle" | "alart" | "base_station" | "braille" | "label" | "download_cloud" | "save" | "close_circle" | "bid_strap" | "fluct" | "data_strap";
3
3
  declare type IconType = "fill" | "line";
4
4
  declare type IconColor = IconType | "active" | string;
5
5
  declare type IconSize = "sm" | "md" | "lg";
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ import { IconProps } from "../../Icon";
3
+ declare const BidStrapIcon: React.FunctionComponent<IconProps>;
4
+ export { BidStrapIcon };
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ import { IconProps } from "../../Icon";
3
+ declare const DataStrapIcon: React.FunctionComponent<IconProps>;
4
+ export { DataStrapIcon };
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ import { IconProps } from "../../Icon";
3
+ declare const FluctIcon: React.FunctionComponent<IconProps>;
4
+ export { FluctIcon };
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { ToastProps } from "react-toast-notifications";
2
+ import { ToastProps } from "../../../lib/react-toast-notification/src/ToastElement";
3
3
  declare type Props = {} & ToastProps;
4
4
  declare const DefaultToast: React.FunctionComponent<Props>;
5
5
  export default DefaultToast;
@@ -1,9 +1,15 @@
1
1
  import React from "react";
2
- import { useToasts, ToastProps as DefaultToastProps } from "react-toast-notifications";
2
+ import { ToastProps as DefaultToastProps } from "../../lib/react-toast-notification/src";
3
3
  export declare type ToastProps = DefaultToastProps;
4
4
  declare const Toast: {
5
5
  (props: Partial<ToastProps>): JSX.Element;
6
- Provider: React.FunctionComponent<import("react-toast-notifications").ToastProviderProps>;
7
- useToasts: typeof useToasts;
6
+ Provider: React.FunctionComponent<import("../../lib/react-toast-notification/src").ToastProviderProps>;
7
+ useToasts: () => {
8
+ addToast: import("../../lib/react-toast-notification/src/types").AddFn;
9
+ removeToast: import("../../lib/react-toast-notification/src/types").RemoveFn;
10
+ removeAllToasts: () => void;
11
+ updateToast: import("../../lib/react-toast-notification/src/types").UpdateFn;
12
+ toastStack: import("../../lib/react-toast-notification/src/types").ToastType[];
13
+ };
8
14
  };
9
15
  export default Toast;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { ToastProviderProps as DefaultToastProviderProps } from "react-toast-notifications";
2
+ import { ToastProviderProps as DefaultToastProviderProps } from "../../../lib/react-toast-notification/src";
3
3
  export declare type ToastProviderProps = DefaultToastProviderProps;
4
4
  declare const ToastProvider: React.FunctionComponent<ToastProviderProps>;
5
5
  export default ToastProvider;
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
- import { ToastContainerProps } from "react-toast-notifications";
2
+ import { ToastContainerProps } from "../../../../../lib/react-toast-notification/src";
3
3
  declare const ToastContainer: React.FunctionComponent<ToastContainerProps>;
4
4
  export default ToastContainer;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare const ToastContainer: import("styled-components").StyledComponent<import("react").ComponentType<import("react-toast-notifications").ToastContainerProps>, import("styled-components").DefaultTheme, {}, never>;
1
+ export declare const ToastContainer: import("styled-components").StyledComponent<({ hasToasts, placement, ...props }: import("../../../../../lib/react-toast-notification/src").ToastContainerProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,4 @@
1
- import { ConfirmModalProps, FileUploaderProps, ItemEmptyProps, MultipleFilterProps, ToggleButtonProps } from "..";
1
+ import { ConfirmModalProps, FileUploaderProps, ItemEmptyProps, MultipleFilterProps, ToggleButtonProps, DatePickerProps, DateRangePickerProps } from "..";
2
2
  import { SelectProps } from "../components";
3
3
  import { CreatableSelectProps } from "../components/CreatableSelect";
4
4
  import { EditFilterCardProps } from "../components/MultipleFilter/internal/EditFilterCard/EditFilterCard";
@@ -32,6 +32,12 @@ export interface Localization {
32
32
  EditFilterCard?: {
33
33
  defaultProps: Pick<EditFilterCardProps, "editButtonTitle" | "inputErrorText" | "formPlaceholder" | "sectionTitle" | "conditionTitle">;
34
34
  };
35
+ DatePicker?: {
36
+ defaultProps: Pick<DatePickerProps, "displayFormat" | "monthFormat">;
37
+ };
38
+ DateRangePicker?: {
39
+ defaultProps: Pick<DateRangePickerProps, "displayFormat" | "monthFormat">;
40
+ };
35
41
  };
36
42
  }
37
43
  export declare const jaJP: Localization;