@choc-ui/chakra-autocomplete 5.6.2 → 5.6.4

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.
package/README.md CHANGED
@@ -1174,6 +1174,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
1174
1174
  <td align="center"><a href="https://github.com/chrisregner"><img src="https://avatars.githubusercontent.com/u/26005158?v=4" width="100px;" alt=""/><br /><sub><b>Christopher Regner</b></sub></a><br /><a href="https://github.com/anubra266/choc-autocomplete/commits?author=chrisregner" title="Code">📖🐛</a></td>
1175
1175
  <td align="center"><a href="https://github.com/EinarSnorrason"><img src="https://avatars.githubusercontent.com/u/31321506?v=4" width="100px;" alt=""/><br /><sub><b>EinarSnorrason</b></sub></a><br /><a href="https://github.com/anubra266/choc-autocomplete/commits?author=EinarSnorrason" title="Code">💻🐛🔧</a></td>
1176
1176
  <td align="center"><a href="https://github.com/gbermudez1992"><img src="https://avatars.githubusercontent.com/u/84212735?v=4" width="100px;" alt=""/><br /><sub><b>gbermudez1992</b></sub></a><br /><a href="https://github.com/anubra266/choc-autocomplete/commits?author=gbermudez1992" title="Code">💻🐛🔧</a></td>
1177
+ <td align="center"><a href="https://github.com/ido213"><img src="https://avatars.githubusercontent.com/u/163876909?v=4" width="100px;" alt=""/><br /><sub><b>ido213</b></sub></a><br /><a href="https://github.com/anubra266/choc-autocomplete/commits?author=ido213" title="Code">💻🐛🔧</a></td>
1177
1178
  </tr>
1178
1179
  </table>
1179
1180
 
@@ -1,4 +1,3 @@
1
1
  import { UseAutoCompleteReturn } from './types';
2
-
3
2
  export declare const AutoCompleteProvider: import('react').Provider<UseAutoCompleteReturn>, useAutoCompleteContext: () => UseAutoCompleteReturn;
4
3
  //# sourceMappingURL=autocomplete-context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"autocomplete-context.d.ts","sourceRoot":"","sources":["../src/autocomplete-context.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAO,oBAAoB,mDAAE,sBAAsB,6BAMxD,CAAC"}
1
+ {"version":3,"file":"autocomplete-context.d.ts","sourceRoot":"","sources":["../src/autocomplete-context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAO,oBAAoB,mDAAE,sBAAsB,6BAMxD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { FlexProps } from '@chakra-ui/react';
2
2
  import { MaybeRenderProp } from '@chakra-ui/react-utils';
3
-
4
3
  interface AutoCompleteCreatableProps extends Omit<FlexProps, "children"> {
5
4
  children?: MaybeRenderProp<{
6
5
  value: any;
@@ -1,6 +1,5 @@
1
1
  import { BoxProps, FlexProps } from '@chakra-ui/react';
2
2
  import { default as React } from 'react';
3
-
4
3
  export interface AutoCompleteGroupProps extends BoxProps {
5
4
  children?: React.ReactNode;
6
5
  showDivider?: boolean;
@@ -2,7 +2,6 @@ import { InputProps, SystemStyleObject } from '@chakra-ui/react';
2
2
  import { MaybeRenderProp } from '@chakra-ui/react-utils';
3
3
  import { default as React } from 'react';
4
4
  import { UseAutoCompleteReturn } from './types';
5
-
6
5
  export interface AutoCompleteInputProps extends Omit<InputProps, "children"> {
7
6
  children?: MaybeRenderProp<{
8
7
  tags: UseAutoCompleteReturn["tags"];
@@ -1,5 +1,4 @@
1
1
  import { SystemStyleObject, FlexProps } from '@chakra-ui/react';
2
-
3
2
  export interface AutoCompleteItemProps extends FlexProps {
4
3
  value: any;
5
4
  label?: string;
@@ -1,6 +1,5 @@
1
1
  import { PopoverContentProps } from '@chakra-ui/react';
2
2
  import { default as React } from 'react';
3
-
4
3
  export interface AutoCompleteListProps extends PopoverContentProps {
5
4
  loadingState?: React.ReactNode;
6
5
  }
@@ -1,6 +1,5 @@
1
1
  import { TagProps } from '@chakra-ui/tag';
2
2
  import { default as React } from 'react';
3
-
4
3
  type AutoCompleteTagProps = {
5
4
  disabled?: boolean;
6
5
  label: string;
@@ -1,7 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { MaybeRenderProp } from '@chakra-ui/react-utils';
3
3
  import { AutoCompleteRefMethods, UseAutoCompleteProps } from './types';
4
-
5
4
  export type AutoCompleteChildProps = {
6
5
  isOpen: boolean;
7
6
  onClose: () => void;
@@ -1,4 +1,3 @@
1
1
  import { BoxProps } from '@chakra-ui/layout';
2
-
3
2
  export declare const EmptyState: (props: BoxProps) => import("react/jsx-runtime").JSX.Element;
4
3
  //# sourceMappingURL=empty-state.d.ts.map
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export declare const hasFirstItem: (children: ReactNode, firstItem: any) => any;
4
3
  export declare const hasLastItem: (children: ReactNode, lastItem: any) => any;
5
4
  export declare const hasChildren: (children: any, filteredList: any[]) => boolean;
@@ -2,7 +2,6 @@ import { ReactNode } from 'react';
2
2
  import { FlexProps } from '@chakra-ui/react';
3
3
  import { Item } from '../types';
4
4
  import { AutoCompleteItemProps } from '../autocomplete-item';
5
-
6
5
  export declare const getDefItemValue: (item: AutoCompleteItemProps["value"]) => any;
7
6
  export declare const setEmphasis: (children: any, query: string) => any;
8
7
  export declare const getItemList: (children: ReactNode) => Item[];
@@ -1,4 +1,3 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare const siblingInfo: (children: React.ReactNode) => readonly [(string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[], (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[]];
4
3
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/helpers/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,WAAW,aAAc,MAAM,SAAS,kSA8BpD,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/helpers/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,WAAW,aAAc,KAAK,CAAC,SAAS,kSA8BpD,CAAC"}