"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SeparatorTest = void 0;
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var separator_1 = require("@fluentui-react-native/separator");
var stack_1 = require("@fluentui-react-native/stack");
var text_1 = require("@fluentui-react-native/text");
var consts_1 = require("../../../../E2E/src/Separator/consts");
var styles_1 = require("../Common/styles");
var Test_1 = require("../Test");
var CustomisedText = text_1.TextV1.customize({
    textAlign: 'right',
    fontSize: 'caption',
});
var SeparatorBasicUsage = function () {
    return (React.createElement(stack_1.Stack, { style: styles_1.commonTestStyles.section, gap: 5 },
        React.createElement(separator_1.Separator, { insetSpacing: 0 }),
        React.createElement(CustomisedText, null, "Inset : 0"),
        React.createElement(separator_1.Separator, { insetSpacing: 16 }),
        React.createElement(CustomisedText, null, "Inset : 16"),
        React.createElement(separator_1.Separator, { insetSpacing: 56 }),
        React.createElement(CustomisedText, null, "Inset : 56"),
        React.createElement(separator_1.Separator, { insetSpacing: 68 }),
        React.createElement(CustomisedText, null, "Inset : 68"),
        React.createElement(separator_1.Separator, { insetSpacing: 72 }),
        React.createElement(CustomisedText, null, "Inset : 72"),
        React.createElement(separator_1.Separator, { insetSpacing: 108 }),
        React.createElement(CustomisedText, null, "Inset : 108")));
};
var RedSeparator = separator_1.Separator.customize({ color: 'red' });
var BlueSeparatorWithCustomWidth = separator_1.Separator.customize({ color: 'blue', separatorWidth: 10 });
var SeparatorCustomisedUsage = function () {
    return (React.createElement(stack_1.Stack, { style: styles_1.mobileStyles.testSection, gap: 5 },
        React.createElement(RedSeparator, null),
        React.createElement(CustomisedText, null, "Customised Color Seperator"),
        React.createElement(BlueSeparatorWithCustomWidth, { insetSpacing: 16 }),
        React.createElement(CustomisedText, null, "Customised Color and Width Seperator")));
};
var separatorSections = [
    {
        name: 'Basic Mobile Seperator',
        testID: consts_1.SEPARATOR_TESTPAGE,
        component: SeparatorBasicUsage,
    },
    {
        name: 'Customised Mobile Seperator',
        testID: consts_1.SEPARATOR_TESTPAGE,
        component: SeparatorCustomisedUsage,
    },
];
var SeparatorTest = function () {
    var status = {
        win32Status: 'Beta',
        uwpStatus: 'Experimental',
        iosStatus: 'Experimental',
        macosStatus: 'Beta',
        androidStatus: 'Experimental',
    };
    var description = "A separator visually separates content into groups.\n\nYou can render content in the separator by specifying the component's children. The component's children can be plain text or a component like Icon. The content is center-aligned by default.";
    return React.createElement(Test_1.Test, { name: "Separator Test", description: description, sections: separatorSections, status: status });
};
exports.SeparatorTest = SeparatorTest;
//# sourceMappingURL=SeparatorTest.mobile.js.map