widenarrow-ui 1.0.42 → 1.0.44

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.
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ interface Props {
3
+ className?: string;
4
+ }
5
+ declare const Icon: FC<Props>;
6
+ export default Icon;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { TextAreaInputProps } from './TextAreaInput.types';
3
+ declare const TextAreaInput: FC<TextAreaInputProps>;
4
+ export { TextAreaInput };
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { TextAreaInput } from 'src/components/TextAreaInput';
3
+ declare const meta: Meta<typeof TextAreaInput>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof TextAreaInput>;
6
+ export declare const Default: Story;
@@ -0,0 +1,22 @@
1
+ import { RefObject, FocusEvent, ChangeEvent, KeyboardEvent, CSSProperties } from 'react';
2
+ export interface TextAreaInputProps {
3
+ name: string;
4
+ helperText?: string;
5
+ onChange: (event: ChangeEvent<HTMLTextAreaElement>) => void;
6
+ onFocus?: (event: FocusEvent<HTMLTextAreaElement>) => void;
7
+ onEnter?: (event: KeyboardEvent<HTMLTextAreaElement>) => void;
8
+ onKeyDown?: (event: KeyboardEvent<HTMLTextAreaElement>) => void;
9
+ rows?: number;
10
+ placeholder: string;
11
+ label: string;
12
+ value: string;
13
+ error?: string;
14
+ inputClassName?: string;
15
+ className?: string;
16
+ disabled?: boolean;
17
+ marginBottom?: boolean;
18
+ autoFocus?: boolean;
19
+ inputRef?: RefObject<HTMLTextAreaElement>;
20
+ style?: CSSProperties;
21
+ readonly?: boolean;
22
+ }
@@ -0,0 +1 @@
1
+ export * from './TextAreaInput';
@@ -13,6 +13,7 @@ export * from './IconButton';
13
13
  export * from './Input';
14
14
  export * from './Image';
15
15
  export * from './InlineButton';
16
+ export * from './TextAreaInput';
16
17
  export * from './ListItem';
17
18
  export * from './ListSkeleton';
18
19
  export * from './MultiActionButton';
@@ -157,6 +157,7 @@ export declare enum IconTypes {
157
157
  SORT = "iconSort",
158
158
  SSO = "iconSSO",
159
159
  SSO_CONFIG = "iconSSOConfig",
160
+ SPARKLE = "iconSparkle",
160
161
  STATISTICS = "iconStatistics",
161
162
  STRATEGY = "iconStrategy",
162
163
  SUBSCRIPTIONS = "iconSubscriptions",