@fluentui-react-native/pressable 0.9.58 → 0.9.59
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 +40 -1
- package/CHANGELOG.md +14 -2
- package/lib/Pressable.d.ts.map +1 -1
- package/lib/Pressable.js +2 -2
- package/lib/Pressable.js.map +1 -1
- package/lib/Pressable.props.d.ts.map +1 -1
- package/lib-commonjs/Pressable.d.ts.map +1 -1
- package/lib-commonjs/Pressable.js +2 -2
- package/lib-commonjs/Pressable.js.map +1 -1
- package/lib-commonjs/Pressable.props.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/Pressable.props.ts +1 -0
- package/src/Pressable.tsx +5 -3
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,46 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/pressable",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Fri, 24 Feb 2023
|
|
5
|
+
"date": "Fri, 24 Feb 2023 20:36:24 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/pressable_v0.9.59",
|
|
7
|
+
"version": "0.9.59",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "78454019+lyzhan7@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui-react-native/pressable",
|
|
13
|
+
"commit": "743bd1507af336a62946361f3fe3c800ae5bd4c2",
|
|
14
|
+
"comment": "Order imports"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/pressable",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/adapters to v0.10.2",
|
|
20
|
+
"commit": "743bd1507af336a62946361f3fe3c800ae5bd4c2"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/pressable",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.22.20",
|
|
26
|
+
"commit": "743bd1507af336a62946361f3fe3c800ae5bd4c2"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui-react-native/pressable",
|
|
31
|
+
"comment": "Bump @uifabricshared/foundation-composable to v0.11.3",
|
|
32
|
+
"commit": "743bd1507af336a62946361f3fe3c800ae5bd4c2"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui-react-native/pressable",
|
|
37
|
+
"comment": "Bump @uifabricshared/foundation-settings to v0.12.3",
|
|
38
|
+
"commit": "743bd1507af336a62946361f3fe3c800ae5bd4c2"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"date": "Fri, 24 Feb 2023 02:22:40 GMT",
|
|
6
45
|
"tag": "@fluentui-react-native/pressable_v0.9.58",
|
|
7
46
|
"version": "0.9.58",
|
|
8
47
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/pressable
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri, 24 Feb 2023
|
|
3
|
+
This log was last generated on Fri, 24 Feb 2023 20:36:24 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.9.59
|
|
8
|
+
|
|
9
|
+
Fri, 24 Feb 2023 20:36:24 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Order imports (78454019+lyzhan7@users.noreply.github.com)
|
|
14
|
+
- Bump @fluentui-react-native/adapters to v0.10.2
|
|
15
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.22.20
|
|
16
|
+
- Bump @uifabricshared/foundation-composable to v0.11.3
|
|
17
|
+
- Bump @uifabricshared/foundation-settings to v0.12.3
|
|
18
|
+
|
|
7
19
|
## 0.9.58
|
|
8
20
|
|
|
9
|
-
Fri, 24 Feb 2023 02:
|
|
21
|
+
Fri, 24 Feb 2023 02:22:40 GMT
|
|
10
22
|
|
|
11
23
|
### Patches
|
|
12
24
|
|
package/lib/Pressable.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../src/Pressable.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../src/Pressable.tsx"],"names":[],"mappings":";AAmBA,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,mBAAmB,CAAC;AAEzE,eAAO,MAAM,SAAS;;WAYpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
package/lib/Pressable.js
CHANGED
|
@@ -20,10 +20,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import { composable } from '@uifabricshared/foundation-composable';
|
|
24
23
|
import { View } from 'react-native';
|
|
25
|
-
import { mergeSettings } from '@uifabricshared/foundation-settings';
|
|
26
24
|
import { useAsPressable } from '@fluentui-react-native/interactive-hooks';
|
|
25
|
+
import { composable } from '@uifabricshared/foundation-composable';
|
|
26
|
+
import { mergeSettings } from '@uifabricshared/foundation-settings';
|
|
27
27
|
export var Pressable = composable({
|
|
28
28
|
slots: { root: View },
|
|
29
29
|
usePrepareProps: function (userProps, useStyling) {
|
package/lib/Pressable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.js","sourceRoot":"","sources":["../src/Pressable.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,YAAY,CAAC;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Pressable.js","sourceRoot":"","sources":["../src/Pressable.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,YAAY,CAAC;;;;;;;;;;;;AAEb,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAE1E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAIpE,MAAM,CAAC,IAAM,SAAS,GAAG,UAAU,CAAiB;IAClD,KAAK,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;IACrB,eAAe,EAAE,UAAC,SAA0B,EAAE,UAAuC;QAC3E,IAAA,WAAW,GAAc,SAAS,YAAvB,EAAK,IAAI,UAAK,SAAS,EAApC,eAAwB,CAAF,CAAe;QACrC,IAAA,KAAmB,cAAc,CAAC,IAAI,CAAC,EAArC,KAAK,WAAA,EAAE,KAAK,WAAyB,CAAC;QAC9C,IAAM,UAAU,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;QACrC,WAAW,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;QAClD,OAAO;YACL,SAAS,EAAE,aAAa,CAA8B,UAAU,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;YAClF,KAAK,EAAE,EAAE,KAAK,OAAA,EAAE;SACjB,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.props.d.ts","sourceRoot":"","sources":["../src/Pressable.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Pressable.props.d.ts","sourceRoot":"","sources":["../src/Pressable.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAGvG,MAAM,MAAM,eAAe,CAAC,KAAK,SAAS,MAAM,GAAG,UAAU,IAAI,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAC9F,QAAQ,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;IAQzC,WAAW,CAAC,EAAE,YAAY,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;CACxD,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;AAEhE;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC;AAG5D,MAAM,MAAM,cAAc,CAAC,KAAK,SAAS,MAAM,GAAG,UAAU,IAAI;IAC9D,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;IAC9B,SAAS,EAAE;QACT,IAAI,EAAE,KAAK,CAAC;KACb,CAAC;CACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../src/Pressable.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../src/Pressable.tsx"],"names":[],"mappings":";AAmBA,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,mBAAmB,CAAC;AAEzE,eAAO,MAAM,SAAS;;WAYpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -22,10 +22,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
24
|
exports.Pressable = void 0;
|
|
25
|
-
var foundation_composable_1 = require("@uifabricshared/foundation-composable");
|
|
26
25
|
var react_native_1 = require("react-native");
|
|
27
|
-
var foundation_settings_1 = require("@uifabricshared/foundation-settings");
|
|
28
26
|
var interactive_hooks_1 = require("@fluentui-react-native/interactive-hooks");
|
|
27
|
+
var foundation_composable_1 = require("@uifabricshared/foundation-composable");
|
|
28
|
+
var foundation_settings_1 = require("@uifabricshared/foundation-settings");
|
|
29
29
|
exports.Pressable = (0, foundation_composable_1.composable)({
|
|
30
30
|
slots: { root: react_native_1.View },
|
|
31
31
|
usePrepareProps: function (userProps, useStyling) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.js","sourceRoot":"","sources":["../src/Pressable.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,YAAY,CAAC;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Pressable.js","sourceRoot":"","sources":["../src/Pressable.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,YAAY,CAAC;;;;;;;;;;;;;;AAEb,6CAAoC;AAEpC,8EAA0E;AAE1E,+EAAmE;AACnE,2EAAoE;AAIvD,QAAA,SAAS,GAAG,IAAA,kCAAU,EAAiB;IAClD,KAAK,EAAE,EAAE,IAAI,EAAE,mBAAI,EAAE;IACrB,eAAe,EAAE,UAAC,SAA0B,EAAE,UAAuC;QAC3E,IAAA,WAAW,GAAc,SAAS,YAAvB,EAAK,IAAI,UAAK,SAAS,EAApC,eAAwB,CAAF,CAAe;QACrC,IAAA,KAAmB,IAAA,kCAAc,EAAC,IAAI,CAAC,EAArC,KAAK,WAAA,EAAE,KAAK,WAAyB,CAAC;QAC9C,IAAM,UAAU,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;QACrC,WAAW,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;QAClD,OAAO;YACL,SAAS,EAAE,IAAA,mCAAa,EAA8B,UAAU,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;YAClF,KAAK,EAAE,EAAE,KAAK,OAAA,EAAE;SACjB,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,kBAAe,iBAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.props.d.ts","sourceRoot":"","sources":["../src/Pressable.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Pressable.props.d.ts","sourceRoot":"","sources":["../src/Pressable.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAGvG,MAAM,MAAM,eAAe,CAAC,KAAK,SAAS,MAAM,GAAG,UAAU,IAAI,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAC9F,QAAQ,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;IAQzC,WAAW,CAAC,EAAE,YAAY,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;CACxD,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;AAEhE;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC;AAG5D,MAAM,MAAM,cAAc,CAAC,KAAK,SAAS,MAAM,GAAG,UAAU,IAAI;IAC9D,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;IAC9B,SAAS,EAAE;QACT,IAAI,EAAE,KAAK,CAAC;KACb,CAAC;CACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/pressable",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.59",
|
|
4
4
|
"description": "A cross-platform Pressable component",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"directory": "packages/components/Pressable"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@fluentui-react-native/adapters": ">=0.10.
|
|
26
|
-
"@fluentui-react-native/interactive-hooks": ">=0.22.
|
|
27
|
-
"@uifabricshared/foundation-composable": ">=0.11.
|
|
28
|
-
"@uifabricshared/foundation-settings": ">=0.12.
|
|
25
|
+
"@fluentui-react-native/adapters": ">=0.10.2 <1.0.0",
|
|
26
|
+
"@fluentui-react-native/interactive-hooks": ">=0.22.20 <1.0.0",
|
|
27
|
+
"@uifabricshared/foundation-composable": ">=0.11.3 <1.0.0",
|
|
28
|
+
"@uifabricshared/foundation-settings": ">=0.12.3 <1.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
package/src/Pressable.props.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
import type { ViewStyle, StyleProp } from 'react-native';
|
|
3
|
+
|
|
3
4
|
import type { IViewProps } from '@fluentui-react-native/adapters';
|
|
4
5
|
import type { IWithPressableOptions, IPressableState } from '@fluentui-react-native/interactive-hooks';
|
|
5
6
|
|
package/src/Pressable.tsx
CHANGED
|
@@ -10,12 +10,14 @@
|
|
|
10
10
|
*/
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
+
import { View } from 'react-native';
|
|
14
|
+
|
|
15
|
+
import { useAsPressable } from '@fluentui-react-native/interactive-hooks';
|
|
13
16
|
import type { IUseStyling } from '@uifabricshared/foundation-composable';
|
|
14
17
|
import { composable } from '@uifabricshared/foundation-composable';
|
|
15
|
-
import { View } from 'react-native';
|
|
16
|
-
import type { IPressableProps, IPressableType } from './Pressable.props';
|
|
17
18
|
import { mergeSettings } from '@uifabricshared/foundation-settings';
|
|
18
|
-
|
|
19
|
+
|
|
20
|
+
import type { IPressableProps, IPressableType } from './Pressable.props';
|
|
19
21
|
|
|
20
22
|
export const Pressable = composable<IPressableType>({
|
|
21
23
|
slots: { root: View },
|