"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SpacingTokensTest = void 0;
const React = __importStar(require("react"));
const react_native_1 = require("react-native");
const e2e_testing_1 = require("@fluentui-react-native/e2e-testing");
const stack_1 = require("@fluentui-react-native/stack");
const theme_tokens_1 = require("@fluentui-react-native/theme-tokens");
const styles_1 = require("../Common/styles");
const Test_1 = require("../Test");
const BasicUsage = () => {
    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))));
};
const SpacingTokensTest = () => {
    const status = {
        win32Status: 'Production',
        uwpStatus: 'Production',
        iosStatus: 'Production',
        macosStatus: 'Production',
        androidStatus: 'Production',
    };
    const description = 'This showcases the different spacing tokens available in Fluent UI.';
    const spacingSections = [
        {
            name: 'Basic Usage',
            testID: e2e_testing_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