@semcore/pills 4.0.2 → 4.1.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.
- package/CHANGELOG.md +18 -0
- package/lib/cjs/index.d.ts +3 -3
- package/lib/es6/index.d.ts +3 -3
- package/lib/types/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/index.d.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [4.1.0] - 2022-06-01
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Changed type names from 'IPopperHandlers' to 'IPillsHandlers' so that there are no intersections with other components.
|
|
10
|
+
|
|
11
|
+
## [4.0.4] - 2022-05-31
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.32.1 ~> 3.32.2], `@semcore/flex-box` [4.5.3 ~> 4.5.4], `@semcore/neighbor-location` [2.3.6 ~> 2.3.7], `@semcore/icon` [2.26.0 ~> 2.26.1], `@semcore/badge` [3.0.1 ~> 3.0.2]).
|
|
16
|
+
|
|
17
|
+
## [4.0.3] - 2022-05-23
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Version patch update due to children dependencies update (`@semcore/icon` [2.25.1 ~> 2.26.0]).
|
|
22
|
+
|
|
5
23
|
## [4.0.2] - 2022-05-19
|
|
6
24
|
|
|
7
25
|
### Changed
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -36,14 +36,14 @@ export interface IPillsContext {
|
|
|
36
36
|
getItemProps: PropGetterFn;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export interface
|
|
39
|
+
export interface IPillsHandlers {
|
|
40
40
|
value: (value: PillsValue) => void;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
declare const Pills: (<T, V extends PillsValue = PillsValue>(
|
|
44
|
-
props: CProps<IPillsProps<V> & T, IPillsContext,
|
|
44
|
+
props: CProps<IPillsProps<V> & T, IPillsContext, IPillsHandlers>,
|
|
45
45
|
) => ReturnEl) & {
|
|
46
|
-
Item: (<T>(props: CProps<IPillProps & T, {},
|
|
46
|
+
Item: (<T>(props: CProps<IPillProps & T, {}, IPillsHandlers>) => ReturnEl) & {
|
|
47
47
|
Text: typeof Box;
|
|
48
48
|
Addon: typeof Box;
|
|
49
49
|
};
|
package/lib/es6/index.d.ts
CHANGED
|
@@ -36,14 +36,14 @@ export interface IPillsContext {
|
|
|
36
36
|
getItemProps: PropGetterFn;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export interface
|
|
39
|
+
export interface IPillsHandlers {
|
|
40
40
|
value: (value: PillsValue) => void;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
declare const Pills: (<T, V extends PillsValue = PillsValue>(
|
|
44
|
-
props: CProps<IPillsProps<V> & T, IPillsContext,
|
|
44
|
+
props: CProps<IPillsProps<V> & T, IPillsContext, IPillsHandlers>,
|
|
45
45
|
) => ReturnEl) & {
|
|
46
|
-
Item: (<T>(props: CProps<IPillProps & T, {},
|
|
46
|
+
Item: (<T>(props: CProps<IPillProps & T, {}, IPillsHandlers>) => ReturnEl) & {
|
|
47
47
|
Text: typeof Box;
|
|
48
48
|
Addon: typeof Box;
|
|
49
49
|
};
|
package/lib/types/index.d.ts
CHANGED
|
@@ -36,14 +36,14 @@ export interface IPillsContext {
|
|
|
36
36
|
getItemProps: PropGetterFn;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export interface
|
|
39
|
+
export interface IPillsHandlers {
|
|
40
40
|
value: (value: PillsValue) => void;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
declare const Pills: (<T, V extends PillsValue = PillsValue>(
|
|
44
|
-
props: CProps<IPillsProps<V> & T, IPillsContext,
|
|
44
|
+
props: CProps<IPillsProps<V> & T, IPillsContext, IPillsHandlers>,
|
|
45
45
|
) => ReturnEl) & {
|
|
46
|
-
Item: (<T>(props: CProps<IPillProps & T, {},
|
|
46
|
+
Item: (<T>(props: CProps<IPillProps & T, {}, IPillsHandlers>) => ReturnEl) & {
|
|
47
47
|
Text: typeof Box;
|
|
48
48
|
Addon: typeof Box;
|
|
49
49
|
};
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -36,14 +36,14 @@ export interface IPillsContext {
|
|
|
36
36
|
getItemProps: PropGetterFn;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export interface
|
|
39
|
+
export interface IPillsHandlers {
|
|
40
40
|
value: (value: PillsValue) => void;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
declare const Pills: (<T, V extends PillsValue = PillsValue>(
|
|
44
|
-
props: CProps<IPillsProps<V> & T, IPillsContext,
|
|
44
|
+
props: CProps<IPillsProps<V> & T, IPillsContext, IPillsHandlers>,
|
|
45
45
|
) => ReturnEl) & {
|
|
46
|
-
Item: (<T>(props: CProps<IPillProps & T, {},
|
|
46
|
+
Item: (<T>(props: CProps<IPillProps & T, {}, IPillsHandlers>) => ReturnEl) & {
|
|
47
47
|
Text: typeof Box;
|
|
48
48
|
Addon: typeof Box;
|
|
49
49
|
};
|