@fluentui-react-native/separator 0.11.1 → 0.11.5
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 +77 -2
- package/CHANGELOG.md +34 -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 +2 -2
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,82 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/separator",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Sat, 18 Dec 2021 04:11:32 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/separator_v0.11.5",
|
|
7
|
+
"version": "0.11.5",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui-react-native/separator",
|
|
13
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.5",
|
|
14
|
+
"commit": "38fe241a385ecd1ce4e51b5bcba57a9dd0426789"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Fri, 17 Dec 2021 22:06:58 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/separator_v0.11.4",
|
|
22
|
+
"version": "0.11.4",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "beachball",
|
|
27
|
+
"package": "@fluentui-react-native/separator",
|
|
28
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.4",
|
|
29
|
+
"commit": "9dc61df83605c035822518c18cc46fb5503dff70"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Fri, 17 Dec 2021 19:53:21 GMT",
|
|
36
|
+
"tag": "@fluentui-react-native/separator_v0.11.3",
|
|
37
|
+
"version": "0.11.3",
|
|
38
|
+
"comments": {
|
|
39
|
+
"patch": [
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui-react-native/separator",
|
|
43
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.3",
|
|
44
|
+
"commit": "3012e075ca89e36931357442679b73d20540af8b"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Fri, 17 Dec 2021 01:26:42 GMT",
|
|
51
|
+
"tag": "@fluentui-react-native/separator_v0.11.2",
|
|
52
|
+
"version": "0.11.2",
|
|
53
|
+
"comments": {
|
|
54
|
+
"patch": [
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "@fluentui-react-native/separator",
|
|
58
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.2",
|
|
59
|
+
"commit": "511aeb31982a5fb9dd2f7196c0c7217cc4a3dbc6"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"date": "Thu, 16 Dec 2021 23:00:57 GMT",
|
|
66
|
+
"tag": "@fluentui-react-native/separator_v0.11.1",
|
|
67
|
+
"version": "0.11.1",
|
|
68
|
+
"comments": {
|
|
69
|
+
"none": [
|
|
70
|
+
{
|
|
71
|
+
"author": "dannyvv@microsoft.com",
|
|
72
|
+
"package": "@fluentui-react-native/separator",
|
|
73
|
+
"commit": "25b3989739737bc598a5d699a941af4c0b4a421f",
|
|
74
|
+
"comment": "📦 applying package updates ***NO_CI***"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"date": "Thu, 16 Dec 2021 19:10:26 GMT",
|
|
6
81
|
"tag": "@fluentui-react-native/separator_v0.11.1",
|
|
7
82
|
"version": "0.11.1",
|
|
8
83
|
"comments": {
|
|
@@ -17,7 +92,7 @@
|
|
|
17
92
|
"author": "beachball",
|
|
18
93
|
"package": "@fluentui-react-native/separator",
|
|
19
94
|
"comment": "Bump @fluentui-react-native/framework to v0.7.1",
|
|
20
|
-
"commit": "
|
|
95
|
+
"commit": "6a9f067ae2510481b6ff3512c10c08e7de84f86e"
|
|
21
96
|
}
|
|
22
97
|
]
|
|
23
98
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,44 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/separator
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Sat, 18 Dec 2021 04:11:32 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.11.5
|
|
8
|
+
|
|
9
|
+
Sat, 18 Dec 2021 04:11:32 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @fluentui-react-native/framework to v0.7.5
|
|
14
|
+
|
|
15
|
+
## 0.11.4
|
|
16
|
+
|
|
17
|
+
Fri, 17 Dec 2021 22:06:58 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Bump @fluentui-react-native/framework to v0.7.4
|
|
22
|
+
|
|
23
|
+
## 0.11.3
|
|
24
|
+
|
|
25
|
+
Fri, 17 Dec 2021 19:53:21 GMT
|
|
26
|
+
|
|
27
|
+
### Patches
|
|
28
|
+
|
|
29
|
+
- Bump @fluentui-react-native/framework to v0.7.3
|
|
30
|
+
|
|
31
|
+
## 0.11.2
|
|
32
|
+
|
|
33
|
+
Fri, 17 Dec 2021 01:26:42 GMT
|
|
34
|
+
|
|
35
|
+
### Patches
|
|
36
|
+
|
|
37
|
+
- Bump @fluentui-react-native/framework to v0.7.2
|
|
38
|
+
|
|
7
39
|
## 0.11.1
|
|
8
40
|
|
|
9
|
-
Thu, 16 Dec 2021
|
|
41
|
+
Thu, 16 Dec 2021 19:10:26 GMT
|
|
10
42
|
|
|
11
43
|
### Patches
|
|
12
44
|
|
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,CAA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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.5",
|
|
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",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"prettier-fix": "fluentui-scripts prettier --fix true"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@fluentui-react-native/framework": ">=0.7.
|
|
20
|
+
"@fluentui-react-native/framework": ">=0.7.5 <1.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|