dt-shared-front 2.2.26 → 2.2.28

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.
@@ -14,7 +14,8 @@ export declare enum EIconVariant {
14
14
  warning = "warning",
15
15
  initial = "initial",
16
16
  light = "light",
17
- inherit = "inherit"
17
+ inherit = "inherit",
18
+ green = "green"
18
19
  }
19
20
  interface IIconProps {
20
21
  size?: keyof typeof EIconSize;
@@ -62,4 +62,4 @@ export declare const Input: React.ForwardRefExoticComponent<{
62
62
  onPointerUp?: (e: any) => void;
63
63
  onChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;
64
64
  onSearch?: ((val: string) => void) | ((val: string) => Promise<void>);
65
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "variant" | "size"> & React.RefAttributes<HTMLInputElement>>;
65
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "variant" | "size" | "onChange"> & React.RefAttributes<HTMLInputElement>>;
@@ -26,4 +26,4 @@ export declare const TextArea: React.ForwardRefExoticComponent<{
26
26
  onClear?: () => void;
27
27
  onSearch?: (e: any) => void;
28
28
  onChange?: (value: string, event?: ChangeEvent<HTMLTextAreaElement>) => void;
29
- } & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "variant" | "size"> & React.RefAttributes<HTMLTextAreaElement>>;
29
+ } & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "variant" | "size" | "onChange"> & React.RefAttributes<HTMLTextAreaElement>>;
@@ -0,0 +1 @@
1
+ export { WarningBlock } from './warning-block';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IWarningBlockProps {
3
+ title?: string;
4
+ description: string;
5
+ }
6
+ export declare const WarningBlock: ({ title, description }: IWarningBlockProps) => React.JSX.Element;
7
+ export {};
package/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ export type { IMediaMatches } from './components/media';
21
21
  export { Menu } from './components/menu';
22
22
  export { Modal, ModalProvider, useModal } from './components/modal';
23
23
  export type { PropsWithModal } from './components/modal';
24
+ export { Gallery } from './components/gallery';
24
25
  export { Radio } from './components/radio';
25
26
  export { RangePicker } from './components/range-picker';
26
27
  export { Select } from './components/select';
@@ -45,3 +46,4 @@ export { Rating } from './components/rating';
45
46
  export { SelectorRange } from './components/selector';
46
47
  export { ViewsCount } from './components/views-count';
47
48
  export { Message } from './components/message';
49
+ export { WarningBlock } from './components/warning-block';