@okam/stack-ui 1.21.2 → 1.23.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.
@@ -0,0 +1,3 @@
1
+ import type TSearchProps from './interface';
2
+ declare const SearchField: (props: TSearchProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default SearchField;
@@ -0,0 +1,9 @@
1
+ import type React from 'react';
2
+ import type { AriaSearchFieldProps } from 'react-aria';
3
+ import type { TDefaultComponent } from '../../../types/components';
4
+ export default interface TSearchProps extends AriaSearchFieldProps, TDefaultComponent {
5
+ disabled?: boolean;
6
+ placeholder?: string;
7
+ ariaLabel?: string;
8
+ errorMessage?: React.ReactNode;
9
+ }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Search: React.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
3
+ export default Search;
package/index.d.ts CHANGED
@@ -12,6 +12,7 @@ export { default as Icon } from './components/Icon';
12
12
  export { default as Date } from './components/Date';
13
13
  export { default as Select, ReactHookFormSelect } from './components/fields/Select/Select';
14
14
  export { default as Checkbox } from './components/fields/Checkbox';
15
+ export { default as SearchField } from './components/fields/SearchField';
15
16
  export { default as CheckboxGroup } from './components/fields/CheckboxGroup';
16
17
  export { default as CheckboxGroupItem } from './components/fields/CheckboxGroup/components/CheckboxGroupItem';
17
18
  export { default as TextArea, ReactHookFormTextArea } from './components/fields/TextArea';