@blocklet/list 0.17.1 → 0.17.2

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 (2) hide show
  1. package/lib/index.d.ts +5 -5
  2. package/package.json +5 -5
package/lib/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { AutocompleteProps } from '@mui/material/Autocomplete';
2
2
  import { CardProps } from '@mui/material';
3
3
  import { ImgProps } from '@arcblock/ux/lib/Img';
4
- import { JSX as JSX_2 } from 'react/jsx-runtime';
4
+ import { JSX } from 'react/jsx-runtime';
5
5
 
6
6
  export declare function Autocomplete({ endpoint, t, locale, filters, handleKeyword, handleSearchSelect, ...rest }: {
7
7
  endpoint: string;
@@ -11,16 +11,16 @@ export declare function Autocomplete({ endpoint, t, locale, filters, handleKeywo
11
11
  filters: IFilters;
12
12
  handleKeyword: (keyword: string) => void;
13
13
  handleSearchSelect: (option: Partial<IBlockletMeta>) => void;
14
- } & Omit<AutocompleteProps<any, boolean, boolean, boolean>, 'renderInput' | 'renderOption' | 'onInputChange' | 'onChange' | 'value' | 'options' | 'inputValue' | 'getOptionLabel' | 'getOptionKey' | 'isOptionEqualToValue' | 'noOptionsText' | 'loading' | 'forcePopupIcon' | 'slotProps' | 'filterOptions'>): JSX_2.Element;
14
+ } & Omit<AutocompleteProps<any, boolean, boolean, boolean>, 'renderInput' | 'renderOption' | 'onInputChange' | 'onChange' | 'value' | 'options' | 'inputValue' | 'getOptionLabel' | 'getOptionKey' | 'isOptionEqualToValue' | 'noOptionsText' | 'loading' | 'forcePopupIcon' | 'slotProps' | 'filterOptions'>): JSX.Element;
15
15
 
16
- declare function BlockletList(props: IListProps): JSX_2.Element;
16
+ declare function BlockletList(props: IListProps): JSX.Element;
17
17
  export default BlockletList;
18
18
 
19
- export declare function CardSkeleton(props: CardProps): JSX_2.Element;
19
+ export declare function CardSkeleton(props: CardProps): JSX.Element;
20
20
 
21
21
  declare function Image_2({ showSkeleton, ...props }: ImgProps & {
22
22
  showSkeleton?: boolean;
23
- }): JSX_2.Element;
23
+ }): JSX.Element;
24
24
  export { Image_2 as Image }
25
25
 
26
26
  export declare function useSearch(filters: IFilters, options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/list",
3
- "version": "0.17.1",
3
+ "version": "0.17.2",
4
4
  "description": "Common ux components of blocklet",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -50,9 +50,9 @@
50
50
  "react-dom": ">=19.1.0"
51
51
  },
52
52
  "dependencies": {
53
- "@arcblock/react-hooks": "^3.0.8",
54
- "@blocklet/js-sdk": "^1.16.44",
55
- "@blocklet/util": "^0.17.1",
53
+ "@arcblock/react-hooks": "^3.0.19",
54
+ "@blocklet/js-sdk": "^1.16.45",
55
+ "@blocklet/util": "^0.17.2",
56
56
  "@emotion/react": "^11.14.0",
57
57
  "@emotion/styled": "^11.14.1",
58
58
  "@iconify-icons/tabler": "^1.2.95",
@@ -92,5 +92,5 @@
92
92
  "unplugin-dts": "1.0.0-beta.0",
93
93
  "vite": "^7.0.0"
94
94
  },
95
- "gitHead": "a9e630143e447893faf55b3f0c024bffe9b983e6"
95
+ "gitHead": "2ee181a09062b6ab894b5127aa086aacb0665ce0"
96
96
  }