"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SpacingTokensTest = void 0;
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var react_native_1 = require("react-native");
var stack_1 = require("@fluentui-react-native/stack");
var theme_tokens_1 = require("@fluentui-react-native/theme-tokens");
var consts_1 = require("../../../../E2E/src/Spacing/consts");
var styles_1 = require("../Common/styles");
var Test_1 = require("../Test");
var BasicUsage = function () {
    function spacingExample(tokenName, spacing) {
        return (React.createElement(react_native_1.View, null,
            React.createElement(react_native_1.Text, null,
                tokenName,
                " (",
                spacing,
                ")"),
            React.createElement(react_native_1.View, { style: { flexDirection: 'row', alignItems: 'baseline' } },
                React.createElement(react_native_1.Text, { style: { padding: spacing, backgroundColor: '#f80' } }, "First"),
                React.createElement(react_native_1.Text, { style: { padding: spacing, backgroundColor: '#0af' } }, "Second"))));
    }
    return (React.createElement(react_native_1.View, null,
        React.createElement(stack_1.Stack, { style: styles_1.stackStyle, gap: 5 },
            spacingExample('None', theme_tokens_1.globalTokens.sizeNone),
            spacingExample('size20', theme_tokens_1.globalTokens.size20),
            spacingExample('size40', theme_tokens_1.globalTokens.size40),
            spacingExample('size60', theme_tokens_1.globalTokens.size60),
            spacingExample('size80', theme_tokens_1.globalTokens.size80),
            spacingExample('size100', theme_tokens_1.globalTokens.size100),
            spacingExample('size120', theme_tokens_1.globalTokens.size120),
            spacingExample('size160', theme_tokens_1.globalTokens.size160),
            spacingExample('size200', theme_tokens_1.globalTokens.size200),
            spacingExample('size240', theme_tokens_1.globalTokens.size240),
            spacingExample('size280', theme_tokens_1.globalTokens.size280),
            spacingExample('size320', theme_tokens_1.globalTokens.size320),
            spacingExample('size360', theme_tokens_1.globalTokens.size360),
            spacingExample('size400', theme_tokens_1.globalTokens.size400),
            spacingExample('size480', theme_tokens_1.globalTokens.size480),
            spacingExample('size560', theme_tokens_1.globalTokens.size560))));
};
var SpacingTokensTest = function () {
    var status = {
        win32Status: 'Production',
        uwpStatus: 'Production',
        iosStatus: 'Production',
        macosStatus: 'Production',
        androidStatus: 'Production',
    };
    var description = 'This showcases the different spacing tokens available in Fluent UI.';
    var spacingSections = [
        {
            name: 'Basic Usage',
            testID: consts_1.SPACING_TESTPAGE,
            component: BasicUsage,
        },
    ];
    return React.createElement(Test_1.Test, { name: "Spacing Tokens Test", description: description, sections: spacingSections, status: status });
};
exports.SpacingTokensTest = SpacingTokensTest;
//# sourceMappingURL=SpacingTest.js.map