import * as React from 'react';
import { SEPARATOR_TESTPAGE } from '@fluentui-react-native/e2e-testing';
import { Separator } from '@fluentui-react-native/separator';
import { Stack } from '@fluentui-react-native/stack';
import { TextV1 as Text } from '@fluentui-react-native/text';
import { commonTestStyles, mobileStyles } from '../Common/styles';
import { Test } from '../Test';
const CustomisedText = Text.customize({
    textAlign: 'right',
    fontSize: 'caption',
});
const SeparatorBasicUsage = () => {
    return (React.createElement(Stack, { style: commonTestStyles.section, gap: 5 },
        React.createElement(Separator, { insetSpacing: 0 }),
        React.createElement(CustomisedText, null, "Inset : 0"),
        React.createElement(Separator, { insetSpacing: 16 }),
        React.createElement(CustomisedText, null, "Inset : 16"),
        React.createElement(Separator, { insetSpacing: 56 }),
        React.createElement(CustomisedText, null, "Inset : 56"),
        React.createElement(Separator, { insetSpacing: 68 }),
        React.createElement(CustomisedText, null, "Inset : 68"),
        React.createElement(Separator, { insetSpacing: 72 }),
        React.createElement(CustomisedText, null, "Inset : 72"),
        React.createElement(Separator, { insetSpacing: 108 }),
        React.createElement(CustomisedText, null, "Inset : 108")));
};
const RedSeparator = Separator.customize({ color: 'red' });
const BlueSeparatorWithCustomWidth = Separator.customize({ color: 'blue', separatorWidth: 10 });
const SeparatorCustomisedUsage = () => {
    return (React.createElement(Stack, { style: 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")));
};
const separatorSections = [
    {
        name: 'Basic Mobile Seperator',
        testID: SEPARATOR_TESTPAGE,
        component: SeparatorBasicUsage,
    },
    {
        name: 'Customised Mobile Seperator',
        testID: SEPARATOR_TESTPAGE,
        component: SeparatorCustomisedUsage,
    },
];
export const SeparatorTest = () => {
    const status = {
        win32Status: 'Beta',
        uwpStatus: 'Experimental',
        iosStatus: 'Experimental',
        macosStatus: 'Beta',
        androidStatus: 'Experimental',
    };
    const 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, { name: "Separator Test", description: description, sections: separatorSections, status: status });
};
//# sourceMappingURL=SeparatorTest.mobile.js.map