ados-rcm 1.1.226 → 1.1.228

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ados-rcm",
3
- "version": "1.1.226",
3
+ "version": "1.1.228",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,78 +0,0 @@
1
- import React from 'react';
2
- import { TUseValues } from '../../AHooks/useValues';
3
- import { TCanCallback } from '../../AUtils/cbF';
4
- import { IABaseProps } from '../ABase/ABase';
5
- import { TIcons } from '../AIcon/AIcon';
6
- export interface IAChipsProps<T> extends IAChipInheritProps<T>, IABaseProps {
7
- /**
8
- * useValue? : TUseValues<T[]>
9
- *
10
- * Description : useValue of AChips
11
- */
12
- useLabel?: TUseValues<T[]>;
13
- /**
14
- * alignItems? : React.CSSProperties['alignItems'] = 'flex-start'
15
- *
16
- * Description : alignItems of AChips
17
- */
18
- alignItems?: React.CSSProperties['alignItems'];
19
- }
20
- export interface IAChipInheritProps<T> {
21
- /**
22
- * ChipStyle? : React.CSSProperties
23
- *
24
- * Description : style of AChip
25
- */
26
- ChipStyle?: TCanCallback<IAChipProps<T>, React.CSSProperties>;
27
- /**
28
- * ChipClassName? : string
29
- *
30
- * Description : className of AChip
31
- */
32
- ChipClassName?: TCanCallback<IAChipProps<T>, string>;
33
- /**
34
- * ChipOnDelete?: (props: IAChipProps<T>) => void
35
- *
36
- * Description : onDelete of AChip
37
- */
38
- ChipOnDelete?: (props: IAChipProps<T>) => void;
39
- /**
40
- * ChipOnClick? : (props: IAChipProps<T>) => void
41
- *
42
- * Description : onClick of AChip
43
- */
44
- ChipOnClick?: (props: IAChipProps<T>) => void;
45
- /**
46
- * ChipIcon? : TIcons | Exclude<React.ReactNode, string>
47
- *
48
- * Description : icon of AChip
49
- */
50
- ChipIcon?: TCanCallback<IAChipProps<T>, TIcons | Exclude<React.ReactNode, string>>;
51
- }
52
- export declare const AChips: <T>(props: IAChipsProps<T>) => React.ReactNode;
53
- interface IAChipBaseProps<T> {
54
- /**
55
- * label : T
56
- *
57
- * Description : label of AChip
58
- */
59
- label: T;
60
- /**
61
- *
62
- * key?: number
63
- *
64
- * Description : key of AChip, key is index of AChip
65
- */
66
- key?: number;
67
- }
68
- export interface IAChipProps<T> extends IAChipBaseProps<T>, IABaseProps {
69
- onDelete?: (label: T) => void;
70
- /**
71
- * icon? : TIcons | Exclude<React.ReactNode, string> = 'Close'
72
- *
73
- * Description : icon of the AChip
74
- */
75
- icon?: TIcons | Exclude<React.ReactNode, string>;
76
- }
77
- export declare const AChip: <T>(props: IAChipProps<T>) => React.ReactElement;
78
- export {};