@fluentui-react-native/separator 0.14.21 → 0.14.22
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 +22 -1
- package/CHANGELOG.md +11 -2
- package/lib/Separator.d.ts +4 -0
- package/lib/Separator.d.ts.map +1 -0
- package/lib/Separator.js +23 -0
- package/lib/Separator.js.map +1 -0
- package/lib/Separator.styling.d.ts +4 -0
- package/lib/Separator.styling.d.ts.map +1 -0
- package/lib/Separator.styling.js +29 -0
- package/lib/Separator.styling.js.map +1 -0
- package/lib/Separator.types.d.ts +42 -0
- package/lib/Separator.types.d.ts.map +1 -0
- package/lib/Separator.types.js +3 -0
- package/lib/Separator.types.js.map +1 -0
- package/lib/SeparatorTokens.android.d.ts +5 -0
- package/lib/SeparatorTokens.android.d.ts.map +1 -0
- package/lib/SeparatorTokens.android.js +9 -0
- package/lib/SeparatorTokens.android.js.map +1 -0
- package/lib/SeparatorTokens.d.ts +5 -0
- package/lib/SeparatorTokens.d.ts.map +1 -0
- package/lib/SeparatorTokens.js +7 -0
- package/lib/SeparatorTokens.js.map +1 -0
- package/lib/__tests__/Separator.test.d.ts +2 -0
- package/lib/__tests__/Separator.test.d.ts.map +1 -0
- package/lib/__tests__/Separator.test.js +13 -0
- package/lib/__tests__/Separator.test.js.map +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/package.json +2 -2
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,28 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/separator",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 21 Mar 2023 21:51:15 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/separator_v0.14.22",
|
|
7
|
+
"version": "0.14.22",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "krsiler@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/separator",
|
|
13
|
+
"commit": "e706a7afbd63d528878eadd179d5a91210ed62f6",
|
|
14
|
+
"comment": "Trigger manual bump (no changes)"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/separator",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/framework to v0.9.8",
|
|
20
|
+
"commit": "e706a7afbd63d528878eadd179d5a91210ed62f6"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Sat, 18 Mar 2023 17:22:31 GMT",
|
|
6
27
|
"tag": "@fluentui-react-native/separator_v0.14.21",
|
|
7
28
|
"version": "0.14.21",
|
|
8
29
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/separator
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 21 Mar 2023 21:51:15 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.14.22
|
|
8
|
+
|
|
9
|
+
Tue, 21 Mar 2023 21:51:15 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Trigger manual bump (no changes) (krsiler@microsoft.com)
|
|
14
|
+
- Bump @fluentui-react-native/framework to v0.9.8
|
|
15
|
+
|
|
7
16
|
## 0.14.21
|
|
8
17
|
|
|
9
|
-
Sat, 18 Mar 2023 17:
|
|
18
|
+
Sat, 18 Mar 2023 17:22:31 GMT
|
|
10
19
|
|
|
11
20
|
### Patches
|
|
12
21
|
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SeparatorProps } from './Separator.types';
|
|
2
|
+
export declare const Separator: import("@fluentui-react-native/framework").ComposableComponent<SeparatorProps, import("./Separator.types").SeperatorSlotProps, import("./Separator.types").SeparatorTokens, object>;
|
|
3
|
+
export default Separator;
|
|
4
|
+
//# sourceMappingURL=Separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,mBAAmB,CAAC;AAKvE,eAAO,MAAM,SAAS,qLAQpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
package/lib/Separator.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
/** @jsx withSlots */
|
|
13
|
+
import { View } from 'react-native';
|
|
14
|
+
import { compose, withSlots, mergeProps } from '@fluentui-react-native/framework';
|
|
15
|
+
import { stylingSettings } from './Separator.styling';
|
|
16
|
+
import { separatorName } from './Separator.types';
|
|
17
|
+
var propMask = { vertical: undefined };
|
|
18
|
+
export var Separator = compose(__assign(__assign({ displayName: separatorName }, stylingSettings), { slots: { root: View }, useRender: function (props, useSlots) {
|
|
19
|
+
var Root = useSlots(props).root;
|
|
20
|
+
return function (rest, children) { return withSlots(Root, __assign({}, mergeProps(props, rest, propMask)), children); };
|
|
21
|
+
} }));
|
|
22
|
+
export default Separator;
|
|
23
|
+
//# sourceMappingURL=Separator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.js","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,qBAAqB;AACrB,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAElF,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,IAAM,QAAQ,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;AAEzC,MAAM,CAAC,IAAM,SAAS,GAAG,OAAO,qBAC9B,WAAW,EAAE,aAAa,IACvB,eAAe,KAClB,KAAK,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EACrB,SAAS,EAAE,UAAC,KAAqB,EAAE,QAAiC;QAClE,IAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC;QAClC,OAAO,UAAC,IAAoB,EAAE,QAAyB,IAAK,OAAA,UAAC,IAAI,eAAK,UAAU,CAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAQ,EAA9D,CAA8D,CAAC;IAC7H,CAAC,IACD,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { UseStylingOptions } from '@fluentui-react-native/framework';
|
|
2
|
+
import type { SeparatorProps, SeparatorTokens, SeperatorSlotProps } from './Separator.types';
|
|
3
|
+
export declare const stylingSettings: UseStylingOptions<SeparatorProps, SeperatorSlotProps, SeparatorTokens>;
|
|
4
|
+
//# sourceMappingURL=Separator.styling.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.styling.d.ts","sourceRoot":"","sources":["../src/Separator.styling.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAG1E,OAAO,KAAK,EAAE,cAAc,EAAuB,eAAe,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAMlH,eAAO,MAAM,eAAe,EAAE,iBAAiB,CAAC,cAAc,EAAE,kBAAkB,EAAE,eAAe,CAiBlG,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { Platform } from 'react-native';
|
|
13
|
+
import { buildProps } from '@fluentui-react-native/framework';
|
|
14
|
+
import { separatorName } from './Separator.types';
|
|
15
|
+
import { defaultSeparatorTokens } from './SeparatorTokens';
|
|
16
|
+
var isMobile = Platform.OS === 'android' || Platform.OS === 'ios';
|
|
17
|
+
var tokensThatAreAlsoProps = ['vertical', 'insetSpacing'];
|
|
18
|
+
export var stylingSettings = {
|
|
19
|
+
tokens: [defaultSeparatorTokens, separatorName],
|
|
20
|
+
tokensThatAreAlsoProps: tokensThatAreAlsoProps,
|
|
21
|
+
slotProps: {
|
|
22
|
+
root: buildProps(function (tokens) {
|
|
23
|
+
return {
|
|
24
|
+
style: __assign(__assign(__assign({}, (tokens.vertical ? { borderLeftWidth: tokens.separatorWidth } : { borderTopWidth: tokens.separatorWidth })), (tokens.color && { borderColor: tokens.color })), (isMobile && { marginStart: tokens.insetSpacing })),
|
|
25
|
+
};
|
|
26
|
+
}, ['color', 'vertical', 'separatorWidth', 'insetSpacing']),
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=Separator.styling.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.styling.js","sourceRoot":"","sources":["../src/Separator.styling.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAG9D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,IAAM,QAAQ,GAAG,QAAQ,CAAC,EAAE,KAAK,SAAS,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,CAAC;AACpE,IAAM,sBAAsB,GAAkC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;AAC3F,MAAM,CAAC,IAAM,eAAe,GAA2E;IACrG,MAAM,EAAE,CAAC,sBAAsB,EAAE,aAAa,CAAC;IAC/C,sBAAsB,wBAAA;IACtB,SAAS,EAAE;QACT,IAAI,EAAE,UAAU,CACd,UAAC,MAAuB;YACtB,OAAO;gBACL,KAAK,iCACA,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,GAC/C,CAAC,QAAQ,IAAI,EAAE,WAAW,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CACtD;aACF,CAAC;QACJ,CAAC,EACD,CAAC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,cAAc,CAAC,CACxD;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { ViewProps, ColorValue } from 'react-native';
|
|
2
|
+
export declare const separatorName = "Separator";
|
|
3
|
+
export declare const SeparatorInsetSpacings: readonly [0, 16, 56, 68, 72, 108];
|
|
4
|
+
export type SeparatorInsetSpacing = (typeof SeparatorInsetSpacings)[number];
|
|
5
|
+
export interface SeparatorPropTokens {
|
|
6
|
+
/**
|
|
7
|
+
* Specifies whether the separator is vertical or horizontal. If true, then it's vertical.
|
|
8
|
+
* @defaultValue 'false'
|
|
9
|
+
*/
|
|
10
|
+
vertical?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Inset Spacing in 'dp' (density-independent pixels) on Android and 'points' on iOS.
|
|
13
|
+
*
|
|
14
|
+
* Inset Spacing is restricted to a limited set of supported values recommended for most uses (see `SeparatorInsetSpacing`) and
|
|
15
|
+
* based on design guidelines for the Separator control.
|
|
16
|
+
* @platform Android iOS
|
|
17
|
+
* @defaultvalue 0
|
|
18
|
+
*/
|
|
19
|
+
insetSpacing?: SeparatorInsetSpacing;
|
|
20
|
+
}
|
|
21
|
+
export interface SeparatorTokens extends SeparatorPropTokens {
|
|
22
|
+
/**
|
|
23
|
+
* Specifies the width of the separator. This will be interpreted as DIPs on Windows and Android, but as points on Mac and iOS.
|
|
24
|
+
* @defaultValue 1
|
|
25
|
+
*/
|
|
26
|
+
separatorWidth?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Specifies the color of the separator
|
|
29
|
+
*/
|
|
30
|
+
color?: ColorValue;
|
|
31
|
+
}
|
|
32
|
+
export interface SeparatorProps extends ViewProps, SeparatorPropTokens {
|
|
33
|
+
}
|
|
34
|
+
export interface SeperatorSlotProps {
|
|
35
|
+
root: ViewProps;
|
|
36
|
+
}
|
|
37
|
+
export interface SeparatorType {
|
|
38
|
+
props: SeparatorProps;
|
|
39
|
+
slotProps: SeperatorSlotProps;
|
|
40
|
+
tokens: SeparatorTokens;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=Separator.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.types.d.ts","sourceRoot":"","sources":["../src/Separator.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1D,eAAO,MAAM,aAAa,cAAc,CAAC;AAEzC,eAAO,MAAM,sBAAsB,mCAAoC,CAAC;AAExE,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5E,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC;CACtC;AAED,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;IAC1D;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;CACpB;AAED,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,mBAAmB;CAOrE;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,MAAM,EAAE,eAAe,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.types.js","sourceRoot":"","sources":["../src/Separator.types.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,IAAM,aAAa,GAAG,WAAW,CAAC;AAEzC,MAAM,CAAC,IAAM,sBAAsB,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,CAAU,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Theme } from '@fluentui-react-native/framework';
|
|
2
|
+
import type { TokenSettings } from '@fluentui-react-native/use-styling';
|
|
3
|
+
import type { SeparatorTokens } from './Separator.types';
|
|
4
|
+
export declare const defaultSeparatorTokens: TokenSettings<SeparatorTokens, Theme>;
|
|
5
|
+
//# sourceMappingURL=SeparatorTokens.android.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeparatorTokens.android.d.ts","sourceRoot":"","sources":["../src/SeparatorTokens.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAE9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,eAAO,MAAM,sBAAsB,EAAE,aAAa,CAAC,eAAe,EAAE,KAAK,CAKlD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { globalTokens } from '@fluentui-react-native/theme-tokens';
|
|
2
|
+
export var defaultSeparatorTokens = function (t) {
|
|
3
|
+
return ({
|
|
4
|
+
color: t.colors.neutralStroke2,
|
|
5
|
+
separatorWidth: globalTokens.stroke.width10,
|
|
6
|
+
insetSpacing: 0,
|
|
7
|
+
});
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=SeparatorTokens.android.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeparatorTokens.android.js","sourceRoot":"","sources":["../src/SeparatorTokens.android.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAKnE,MAAM,CAAC,IAAM,sBAAsB,GAA0C,UAAC,CAAQ;IACpF,OAAA,CAAC;QACC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,cAAc;QAC9B,cAAc,EAAE,YAAY,CAAC,MAAM,CAAC,OAAO;QAC3C,YAAY,EAAE,CAAC;KACI,CAAA;AAJrB,CAIqB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Theme } from '@fluentui-react-native/framework';
|
|
2
|
+
import type { TokenSettings } from '@fluentui-react-native/use-styling';
|
|
3
|
+
import type { SeparatorTokens } from './Separator.types';
|
|
4
|
+
export declare const defaultSeparatorTokens: TokenSettings<SeparatorTokens, Theme>;
|
|
5
|
+
//# sourceMappingURL=SeparatorTokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeparatorTokens.d.ts","sourceRoot":"","sources":["../src/SeparatorTokens.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAE9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,eAAO,MAAM,sBAAsB,EAAE,aAAa,CAAC,eAAe,EAAE,KAAK,CAGlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeparatorTokens.js","sourceRoot":"","sources":["../src/SeparatorTokens.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAKnE,MAAM,CAAC,IAAM,sBAAsB,GAA0C;IAC3E,OAAA,CAAC;QACC,cAAc,EAAE,YAAY,CAAC,MAAM,CAAC,OAAO;KACxB,CAAA;AAFrB,CAEqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/Separator.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as renderer from 'react-test-renderer';
|
|
3
|
+
import { Separator } from '..';
|
|
4
|
+
it('Separator default', function () {
|
|
5
|
+
var tree = renderer.create(React.createElement(Separator, null)).toJSON();
|
|
6
|
+
expect(tree).toMatchSnapshot();
|
|
7
|
+
});
|
|
8
|
+
it('Separator all props & tokens', function () {
|
|
9
|
+
var CustomSeparator = Separator.customize({ separatorWidth: 15, color: 'red' });
|
|
10
|
+
var tree = renderer.create(React.createElement(CustomSeparator, { vertical: true })).toJSON();
|
|
11
|
+
expect(tree).toMatchSnapshot();
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=Separator.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.test.js","sourceRoot":"","sources":["../../src/__tests__/Separator.test.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAE/B,EAAE,CAAC,mBAAmB,EAAE;IACtB,IAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,oBAAC,SAAS,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,SAAS,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/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvG,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
package/lib/index.js
ADDED
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/separator",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.22",
|
|
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",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"directory": "packages/components/Separator"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@fluentui-react-native/framework": ">=0.9.
|
|
25
|
+
"@fluentui-react-native/framework": ">=0.9.8 <1.0.0",
|
|
26
26
|
"@fluentui-react-native/theme-tokens": "^0.24.5",
|
|
27
27
|
"@fluentui-react-native/use-styling": "^0.9.4"
|
|
28
28
|
},
|