@fluentui-react-native/separator 0.11.2 → 0.11.6
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 +67 -1
- package/CHANGELOG.md +35 -2
- package/lib/Separator.d.ts +2 -2
- package/lib/Separator.d.ts.map +1 -1
- package/lib/Separator.types.js +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Separator.d.ts +2 -2
- package/lib-commonjs/Separator.d.ts.map +1 -1
- package/lib-commonjs/Separator.js +4 -3
- package/lib-commonjs/Separator.js.map +1 -1
- package/lib-commonjs/__tests__/Separator.test.js +14 -2
- package/lib-commonjs/__tests__/Separator.test.js.map +1 -1
- package/lib-commonjs/index.js +12 -4
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +7 -2
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,73 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/separator",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 20 Dec 2021 22:51:36 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/separator_v0.11.6",
|
|
7
|
+
"version": "0.11.6",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "ruaraki@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/separator",
|
|
13
|
+
"commit": "f4a5b4f5c9c190400e3e34c4a33b3ed30696d41e",
|
|
14
|
+
"comment": "Add repository property to all package.json files"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/separator",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.6",
|
|
20
|
+
"commit": "32b4aee7297f4dee329ceb27ccf92ae254b2561f"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Sat, 18 Dec 2021 04:15:05 GMT",
|
|
27
|
+
"tag": "@fluentui-react-native/separator_v0.11.5",
|
|
28
|
+
"version": "0.11.5",
|
|
29
|
+
"comments": {
|
|
30
|
+
"patch": [
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/separator",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.5",
|
|
35
|
+
"commit": "38fe241a385ecd1ce4e51b5bcba57a9dd0426789"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Fri, 17 Dec 2021 22:06:58 GMT",
|
|
42
|
+
"tag": "@fluentui-react-native/separator_v0.11.4",
|
|
43
|
+
"version": "0.11.4",
|
|
44
|
+
"comments": {
|
|
45
|
+
"patch": [
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@fluentui-react-native/separator",
|
|
49
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.4",
|
|
50
|
+
"commit": "9dc61df83605c035822518c18cc46fb5503dff70"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"date": "Fri, 17 Dec 2021 19:53:21 GMT",
|
|
57
|
+
"tag": "@fluentui-react-native/separator_v0.11.3",
|
|
58
|
+
"version": "0.11.3",
|
|
59
|
+
"comments": {
|
|
60
|
+
"patch": [
|
|
61
|
+
{
|
|
62
|
+
"author": "beachball",
|
|
63
|
+
"package": "@fluentui-react-native/separator",
|
|
64
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.3",
|
|
65
|
+
"commit": "3012e075ca89e36931357442679b73d20540af8b"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"date": "Fri, 17 Dec 2021 01:26:42 GMT",
|
|
6
72
|
"tag": "@fluentui-react-native/separator_v0.11.2",
|
|
7
73
|
"version": "0.11.2",
|
|
8
74
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,45 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/separator
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 20 Dec 2021 22:51:36 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.11.6
|
|
8
|
+
|
|
9
|
+
Mon, 20 Dec 2021 22:51:36 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Add repository property to all package.json files (ruaraki@microsoft.com)
|
|
14
|
+
- Bump @fluentui-react-native/framework to v0.7.6
|
|
15
|
+
|
|
16
|
+
## 0.11.5
|
|
17
|
+
|
|
18
|
+
Sat, 18 Dec 2021 04:15:05 GMT
|
|
19
|
+
|
|
20
|
+
### Patches
|
|
21
|
+
|
|
22
|
+
- Bump @fluentui-react-native/framework to v0.7.5
|
|
23
|
+
|
|
24
|
+
## 0.11.4
|
|
25
|
+
|
|
26
|
+
Fri, 17 Dec 2021 22:06:58 GMT
|
|
27
|
+
|
|
28
|
+
### Patches
|
|
29
|
+
|
|
30
|
+
- Bump @fluentui-react-native/framework to v0.7.4
|
|
31
|
+
|
|
32
|
+
## 0.11.3
|
|
33
|
+
|
|
34
|
+
Fri, 17 Dec 2021 19:53:21 GMT
|
|
35
|
+
|
|
36
|
+
### Patches
|
|
37
|
+
|
|
38
|
+
- Bump @fluentui-react-native/framework to v0.7.3
|
|
39
|
+
|
|
7
40
|
## 0.11.2
|
|
8
41
|
|
|
9
|
-
Fri, 17 Dec 2021 01:
|
|
42
|
+
Fri, 17 Dec 2021 01:26:42 GMT
|
|
10
43
|
|
|
11
44
|
### Patches
|
|
12
45
|
|
package/lib/Separator.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SeparatorProps, SeparatorTokens } from './Separator.types';
|
|
2
2
|
export declare const separatorName = "Separator";
|
|
3
|
-
export declare const Separator: import("@fluentui-react-native/
|
|
3
|
+
export declare const Separator: import("@fluentui-react-native/framework").ComposableComponent<SeparatorProps, {
|
|
4
4
|
root: import("react-native").ViewProps;
|
|
5
|
-
}, SeparatorTokens,
|
|
5
|
+
}, SeparatorTokens, object>;
|
|
6
6
|
export default Separator;
|
|
7
7
|
//# sourceMappingURL=Separator.d.ts.map
|
package/lib/Separator.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAiB,MAAM,mBAAmB,CAAC;AAGnF,eAAO,MAAM,aAAa,cAAc,CAAC;AAGzC,eAAO,MAAM,SAAS;;
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAiB,MAAM,mBAAmB,CAAC;AAGnF,eAAO,MAAM,aAAa,cAAc,CAAC;AAGzC,eAAO,MAAM,SAAS;;2BAoBpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
package/lib/Separator.types.js
CHANGED
package/lib/index.js
CHANGED
package/lib/index.js.map
CHANGED
|
@@ -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,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SeparatorProps, SeparatorTokens } from './Separator.types';
|
|
2
2
|
export declare const separatorName = "Separator";
|
|
3
|
-
export declare const Separator: import("@fluentui-react-native/
|
|
3
|
+
export declare const Separator: import("@fluentui-react-native/framework").ComposableComponent<SeparatorProps, {
|
|
4
4
|
root: import("react-native").ViewProps;
|
|
5
|
-
}, SeparatorTokens,
|
|
5
|
+
}, SeparatorTokens, object>;
|
|
6
6
|
export default Separator;
|
|
7
7
|
//# sourceMappingURL=Separator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAiB,MAAM,mBAAmB,CAAC;AAGnF,eAAO,MAAM,aAAa,cAAc,CAAC;AAGzC,eAAO,MAAM,SAAS;;
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAiB,MAAM,mBAAmB,CAAC;AAGnF,eAAO,MAAM,aAAa,cAAc,CAAC;AAGzC,eAAO,MAAM,SAAS;;2BAoBpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -11,24 +11,25 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Separator = exports.separatorName = void 0;
|
|
14
15
|
/** @jsx withSlots */
|
|
15
16
|
var react_native_1 = require("react-native");
|
|
16
17
|
var framework_1 = require("@fluentui-react-native/framework");
|
|
17
18
|
exports.separatorName = 'Separator';
|
|
18
19
|
var propMask = { vertical: undefined };
|
|
19
|
-
exports.Separator = framework_1.compose({
|
|
20
|
+
exports.Separator = (0, framework_1.compose)({
|
|
20
21
|
displayName: exports.separatorName,
|
|
21
22
|
tokens: [{ separatorWidth: 1 }, exports.separatorName],
|
|
22
23
|
tokensThatAreAlsoProps: ['vertical'],
|
|
23
24
|
slotProps: {
|
|
24
|
-
root: framework_1.buildProps(function (tokens) { return ({
|
|
25
|
+
root: (0, framework_1.buildProps)(function (tokens) { return ({
|
|
25
26
|
style: __assign(__assign({}, (tokens.vertical ? { borderLeftWidth: tokens.separatorWidth } : { borderTopWidth: tokens.separatorWidth })), (tokens.color && { borderColor: tokens.color })),
|
|
26
27
|
}); }, ['color', 'vertical', 'separatorWidth']),
|
|
27
28
|
},
|
|
28
29
|
slots: { root: react_native_1.View },
|
|
29
30
|
render: function (props, useSlots) {
|
|
30
31
|
var Root = useSlots(props).root;
|
|
31
|
-
return function (rest, children) { return framework_1.withSlots(Root, __assign({}, framework_1.mergeProps(props, rest, propMask)), children); };
|
|
32
|
+
return function (rest, children) { return (0, framework_1.withSlots)(Root, __assign({}, (0, framework_1.mergeProps)(props, rest, propMask)), children); };
|
|
32
33
|
},
|
|
33
34
|
});
|
|
34
35
|
exports.default = exports.Separator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.js","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Separator.js","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qBAAqB;AACrB,6CAAoC;AAEpC,8DAAwG;AAE3F,QAAA,aAAa,GAAG,WAAW,CAAC;AACzC,IAAM,QAAQ,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;AAE5B,QAAA,SAAS,GAAG,IAAA,mBAAO,EAAgB;IAC9C,WAAW,EAAE,qBAAa;IAC1B,MAAM,EAAE,CAAC,EAAE,cAAc,EAAE,CAAC,EAAE,EAAE,qBAAa,CAAC;IAC9C,sBAAsB,EAAE,CAAC,UAAU,CAAC;IACpC,SAAS,EAAE;QACT,IAAI,EAAE,IAAA,sBAAU,EACd,UAAC,MAAuB,IAAK,OAAA,CAAC;YAC5B,KAAK,wBACA,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,MAAM,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,MAAM,CAAC,cAAc,EAAE,CAAC,GAC1G,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,WAAW,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC,CACnD;SACF,CAAC,EAL2B,CAK3B,EACF,CAAC,OAAO,EAAE,UAAU,EAAE,gBAAgB,CAAC,CACxC;KACF;IACD,KAAK,EAAE,EAAE,IAAI,EAAE,mBAAI,EAAE;IACrB,MAAM,EAAE,UAAC,KAAqB,EAAE,QAAiC;QAC/D,IAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC;QAClC,OAAO,UAAC,IAAoB,EAAE,QAAyB,IAAK,OAAA,2BAAC,IAAI,eAAK,IAAA,sBAAU,EAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAQ,EAA9D,CAA8D,CAAC;IAC7H,CAAC;CACF,CAAC,CAAC;AAEH,kBAAe,iBAAS,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
2
14
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
3
15
|
if (mod && mod.__esModule) return mod;
|
|
4
16
|
var result = {};
|
|
5
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result
|
|
6
|
-
result
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
7
19
|
return result;
|
|
8
20
|
};
|
|
9
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.test.js","sourceRoot":"","sources":["../../src/__tests__/Separator.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Separator.test.js","sourceRoot":"","sources":["../../src/__tests__/Separator.test.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAC/B,wBAA+B;AAC/B,4DAAgD;AAEhD,EAAE,CAAC,mBAAmB,EAAE;IACtB,IAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,oBAAC,aAAS,OAAG,CAAC,CAAC,MAAM,EAAE,CAAC;IACrD,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,8BAA8B,EAAE;IACjC,IAAM,eAAe,GAAG,aAAS,CAAC,SAAS,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAClF,IAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,oBAAC,eAAe,IAAC,QAAQ,SAAG,CAAC,CAAC,MAAM,EAAE,CAAC;IACpE,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;AACjC,CAAC,CAAC,CAAC"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
}
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
5
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
|
|
13
|
+
__exportStar(require("./Separator.types"), exports);
|
|
14
|
+
__exportStar(require("./Separator"), exports);
|
|
7
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -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,oDAAkC;AAClC,8CAA4B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/separator",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.6",
|
|
4
4
|
"description": "A cross-platform Separator component using the Fluent Design System",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -16,8 +16,13 @@
|
|
|
16
16
|
"prettier": "fluentui-scripts prettier",
|
|
17
17
|
"prettier-fix": "fluentui-scripts prettier --fix true"
|
|
18
18
|
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
|
22
|
+
"directory": "packages/components/Separator"
|
|
23
|
+
},
|
|
19
24
|
"dependencies": {
|
|
20
|
-
"@fluentui-react-native/framework": ">=0.7.
|
|
25
|
+
"@fluentui-react-native/framework": ">=0.7.6 <1.0.0"
|
|
21
26
|
},
|
|
22
27
|
"devDependencies": {
|
|
23
28
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|