@fluentui-react-native/use-slots 0.7.1 → 0.7.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.
- package/CHANGELOG.json +37 -1
- package/CHANGELOG.md +11 -2
- package/lib/buildUseSlots.d.ts +4 -4
- package/lib/buildUseSlots.d.ts.map +1 -1
- package/lib-commonjs/buildUseSlots.d.ts +4 -4
- package/lib-commonjs/buildUseSlots.d.ts.map +1 -1
- package/lib-commonjs/buildUseSlots.test.js +5 -1
- package/lib-commonjs/buildUseSlots.test.js.map +1 -1
- package/lib-commonjs/index.js +5 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +17 -11
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,43 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/use-slots",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 01 Feb 2023 22:30:12 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/use-slots_v0.7.2",
|
|
7
|
+
"version": "0.7.2",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui-react-native/use-slots",
|
|
13
|
+
"comment": "Bump @fluentui-react-native/use-slot to v0.3.2",
|
|
14
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/use-slots",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/merge-props to v0.5.2",
|
|
20
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Mon, 30 Jan 2023 15:17:32 GMT",
|
|
27
|
+
"tag": "@fluentui-react-native/use-slots_v0.7.1",
|
|
28
|
+
"version": "0.7.1",
|
|
29
|
+
"comments": {
|
|
30
|
+
"none": [
|
|
31
|
+
{
|
|
32
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
33
|
+
"package": "@fluentui-react-native/use-slots",
|
|
34
|
+
"commit": "4de4c2b37c835ebd9af015ff767f9dd68452f786",
|
|
35
|
+
"comment": "Migrate to align-deps"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Fri, 30 Sep 2022 00:54:37 GMT",
|
|
6
42
|
"tag": "@fluentui-react-native/use-slots_v0.7.1",
|
|
7
43
|
"version": "0.7.1",
|
|
8
44
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/use-slots
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 01 Feb 2023 22:30:12 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.7.2
|
|
8
|
+
|
|
9
|
+
Wed, 01 Feb 2023 22:30:12 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @fluentui-react-native/use-slot to v0.3.2
|
|
14
|
+
- Bump @fluentui-react-native/merge-props to v0.5.2
|
|
15
|
+
|
|
7
16
|
## 0.7.1
|
|
8
17
|
|
|
9
|
-
Fri, 30 Sep 2022 00:
|
|
18
|
+
Fri, 30 Sep 2022 00:54:37 GMT
|
|
10
19
|
|
|
11
20
|
### Patches
|
|
12
21
|
|
package/lib/buildUseSlots.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComposableFunction, SlotFn, NativeReactType } from '@fluentui-react-native/use-slot';
|
|
2
|
-
export
|
|
2
|
+
export type Slots<TSlotProps> = {
|
|
3
3
|
[K in keyof TSlotProps]: SlotFn<TSlotProps[K]>;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type UseSlotOptions<TSlotProps> = {
|
|
6
6
|
slots: {
|
|
7
7
|
[K in keyof TSlotProps]: NativeReactType | ComposableFunction<TSlotProps[K]>;
|
|
8
8
|
};
|
|
@@ -11,7 +11,7 @@ export declare type UseSlotOptions<TSlotProps> = {
|
|
|
11
11
|
};
|
|
12
12
|
useStyling?: TSlotProps | GetSlotProps<TSlotProps>;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
14
|
+
export type GetSlotProps<TSlotProps> = (...args: any[]) => TSlotProps;
|
|
15
|
+
export type UseSlotsBase<TSlotProps> = (...args: any[]) => Slots<TSlotProps>;
|
|
16
16
|
export declare function buildUseSlots<TSlotProps>(options: UseSlotOptions<TSlotProps>): UseSlotsBase<TSlotProps>;
|
|
17
17
|
//# sourceMappingURL=buildUseSlots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildUseSlots.d.ts","sourceRoot":"","sources":["../src/buildUseSlots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,kBAAkB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAIvG,
|
|
1
|
+
{"version":3,"file":"buildUseSlots.d.ts","sourceRoot":"","sources":["../src/buildUseSlots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,kBAAkB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAIvG,MAAM,MAAM,KAAK,CAAC,UAAU,IAAI;KAAG,CAAC,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;CAAE,CAAC;AAEnF,MAAM,MAAM,cAAc,CAAC,UAAU,IAAI;IACvC,KAAK,EAAE;SAAG,CAAC,IAAI,MAAM,UAAU,GAAG,eAAe,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;KAAE,CAAC;IACxF,OAAO,CAAC,EAAE;SAAG,CAAC,IAAI,MAAM,UAAU,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO;KAAE,CAAC;IACtE,UAAU,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,YAAY,CAAC,UAAU,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,UAAU,CAAC;AAEtE,MAAM,MAAM,YAAY,CAAC,UAAU,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,KAAK,CAAC,UAAU,CAAC,CAAC;AAE7E,wBAAgB,aAAa,CAAC,UAAU,EAAE,OAAO,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,YAAY,CAAC,UAAU,CAAC,CAiBvG"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComposableFunction, SlotFn, NativeReactType } from '@fluentui-react-native/use-slot';
|
|
2
|
-
export
|
|
2
|
+
export type Slots<TSlotProps> = {
|
|
3
3
|
[K in keyof TSlotProps]: SlotFn<TSlotProps[K]>;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type UseSlotOptions<TSlotProps> = {
|
|
6
6
|
slots: {
|
|
7
7
|
[K in keyof TSlotProps]: NativeReactType | ComposableFunction<TSlotProps[K]>;
|
|
8
8
|
};
|
|
@@ -11,7 +11,7 @@ export declare type UseSlotOptions<TSlotProps> = {
|
|
|
11
11
|
};
|
|
12
12
|
useStyling?: TSlotProps | GetSlotProps<TSlotProps>;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
14
|
+
export type GetSlotProps<TSlotProps> = (...args: any[]) => TSlotProps;
|
|
15
|
+
export type UseSlotsBase<TSlotProps> = (...args: any[]) => Slots<TSlotProps>;
|
|
16
16
|
export declare function buildUseSlots<TSlotProps>(options: UseSlotOptions<TSlotProps>): UseSlotsBase<TSlotProps>;
|
|
17
17
|
//# sourceMappingURL=buildUseSlots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildUseSlots.d.ts","sourceRoot":"","sources":["../src/buildUseSlots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,kBAAkB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAIvG,
|
|
1
|
+
{"version":3,"file":"buildUseSlots.d.ts","sourceRoot":"","sources":["../src/buildUseSlots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,kBAAkB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAIvG,MAAM,MAAM,KAAK,CAAC,UAAU,IAAI;KAAG,CAAC,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;CAAE,CAAC;AAEnF,MAAM,MAAM,cAAc,CAAC,UAAU,IAAI;IACvC,KAAK,EAAE;SAAG,CAAC,IAAI,MAAM,UAAU,GAAG,eAAe,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;KAAE,CAAC;IACxF,OAAO,CAAC,EAAE;SAAG,CAAC,IAAI,MAAM,UAAU,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO;KAAE,CAAC;IACtE,UAAU,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,YAAY,CAAC,UAAU,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,UAAU,CAAC;AAEtE,MAAM,MAAM,YAAY,CAAC,UAAU,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,KAAK,CAAC,UAAU,CAAC,CAAC;AAE7E,wBAAgB,aAAa,CAAC,UAAU,EAAE,OAAO,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,YAAY,CAAC,UAAU,CAAC,CAiBvG"}
|
|
@@ -12,7 +12,11 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
};
|
|
13
13
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
14
|
if (k2 === undefined) k2 = k;
|
|
15
|
-
Object.
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
16
20
|
}) : (function(o, m, k, k2) {
|
|
17
21
|
if (k2 === undefined) k2 = k;
|
|
18
22
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildUseSlots.test.js","sourceRoot":"","sources":["../src/buildUseSlots.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buildUseSlots.test.js","sourceRoot":"","sources":["../src/buildUseSlots.test.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qBAAqB;AACrB,4DAA6E;AAC7E,4DAAgD;AAChD,iDAAgD;AAChD,6CAAgE;AAQhE,IAAM,YAAY,GAAG,IAAA,6BAAa,EAAa;IAC7C,KAAK,EAAE;QACL,KAAK,EAAE,mBAAI;QACX,KAAK,EAAE,mBAAI;QACX,OAAO,EAAE,mBAAI;KACd;CACF,CAAC,CAAC;AAEH,IAAM,QAAQ,GAAG,IAAA,0BAAe,EAAC,UAAC,KAAgB;IAChD,IAAM,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IAClC,OAAO,UAAC,KAAgB;QACtB,IAAM,MAAM,yBAAQ,KAAK,GAAK,KAAK,CAAE,CAAC;QACtC,OAAO,CACL,0BAAC,KAAK,CAAC,KAAK,eAAK,MAAM;YACrB,0BAAC,KAAK,CAAC,KAAK,IAAC,KAAK,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;gBACpE,0BAAC,KAAK,CAAC,OAAO,gBAAsB,CACxB,CACF,CACf,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,0BAA0B,EAAE;IACnC,EAAE,CAAC,yBAAyB,EAAE;QAC5B,IAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,0BAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,EAAE,GAAI,CAAC,CAAC,MAAM,EAAE,CAAC;QAC5H,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/use-slots",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Hook function to return styled slots",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"author": "",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@fluentui-react-native/use-slot": ">=0.3.
|
|
30
|
+
"@fluentui-react-native/use-slot": ">=0.3.2 <1.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@fluentui-react-native/merge-props": ">=0.5.
|
|
33
|
+
"@fluentui-react-native/merge-props": ">=0.5.2 <1.0.0",
|
|
34
34
|
"@fluentui-react-native/scripts": "^0.1.1",
|
|
35
35
|
"react": "17.0.2",
|
|
36
36
|
"react-native": "^0.68.0"
|
|
@@ -40,14 +40,20 @@
|
|
|
40
40
|
"react-native": "^0.68.0"
|
|
41
41
|
},
|
|
42
42
|
"rnx-kit": {
|
|
43
|
-
"reactNativeVersion": "^0.68",
|
|
44
|
-
"reactNativeDevVersion": "^0.68",
|
|
45
43
|
"kitType": "library",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
44
|
+
"alignDeps": {
|
|
45
|
+
"presets": [
|
|
46
|
+
"microsoft/react-native"
|
|
47
|
+
],
|
|
48
|
+
"requirements": [
|
|
49
|
+
"react-native@0.68"
|
|
50
|
+
],
|
|
51
|
+
"capabilities": [
|
|
52
|
+
"core",
|
|
53
|
+
"core-android",
|
|
54
|
+
"core-ios",
|
|
55
|
+
"react"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
52
58
|
}
|
|
53
59
|
}
|