"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.ButtonSizeTest = void 0;
const React = __importStar(require("react"));
const react_native_1 = require("react-native");
const react_native_2 = require("@fluentui/react-native");
const iconExamples_1 = require("../Common/iconExamples");
const styles_1 = require("../Common/styles");
const isMobile = react_native_1.Platform.OS === 'android' || react_native_1.Platform.OS === 'ios';
const ButtonSizeTest = () => {
    const svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(react_native_1.Platform.OS);
    return (React.createElement(react_native_1.View, { style: styles_1.testContentRootViewStyle },
        svgIconsEnabled && (React.createElement(React.Fragment, null,
            React.createElement(react_native_2.ButtonV1, { iconOnly: true, size: "small", icon: iconExamples_1.iconProps, accessibilityLabel: "Small size button with accessibility icon", style: styles_1.commonTestStyles.vmargin, tooltip: "button tooltip" }),
            React.createElement(react_native_2.ButtonV1, { iconOnly: true, size: "small", appearance: "primary", icon: iconExamples_1.iconProps, accessibilityLabel: "Small size button with accessibility icon", style: styles_1.commonTestStyles.vmargin, tooltip: "button tooltip" }),
            React.createElement(react_native_2.ButtonV1, { iconOnly: true, size: "medium", icon: iconExamples_1.iconProps, accessibilityLabel: "Medium size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
            React.createElement(react_native_2.ButtonV1, { iconOnly: true, size: "medium", appearance: "primary", icon: iconExamples_1.iconProps, accessibilityLabel: "Medium size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
            React.createElement(react_native_2.ButtonV1, { iconOnly: true, size: "large", icon: iconExamples_1.iconProps, accessibilityLabel: "Large size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
            React.createElement(react_native_2.ButtonV1, { iconOnly: true, size: "large", appearance: "primary", icon: iconExamples_1.iconProps, accessibilityLabel: "Large size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
            React.createElement(react_native_2.ButtonV1, { size: "small", icon: iconExamples_1.iconProps, style: styles_1.commonTestStyles.vmargin }, "Small Button with icon"),
            React.createElement(react_native_2.ButtonV1, { size: "small", appearance: "primary", icon: iconExamples_1.iconProps, style: styles_1.commonTestStyles.vmargin }, "Small Button with icon"),
            React.createElement(react_native_2.ButtonV1, { size: "medium", icon: iconExamples_1.iconProps, style: styles_1.commonTestStyles.vmargin }, "Medium Button with icon"),
            React.createElement(react_native_2.ButtonV1, { size: "medium", appearance: "primary", icon: iconExamples_1.iconProps, style: styles_1.commonTestStyles.vmargin }, "Medium Button with icon"),
            React.createElement(react_native_2.ButtonV1, { size: "large", icon: iconExamples_1.iconProps, style: styles_1.commonTestStyles.vmargin }, "Large Button with icon"),
            React.createElement(react_native_2.ButtonV1, { size: "large", appearance: "primary", icon: iconExamples_1.iconProps, style: styles_1.commonTestStyles.vmargin }, "Large Button with icon"),
            React.createElement(react_native_2.FAB, { size: "small", icon: iconExamples_1.iconProps, style: styles_1.commonTestStyles.vmargin }, "Small FAB"),
            React.createElement(react_native_2.FAB, { size: "large", icon: iconExamples_1.iconProps, style: styles_1.commonTestStyles.vmargin }, "Large FAB"))),
        React.createElement(react_native_2.ButtonV1, { size: "small", style: styles_1.commonTestStyles.vmargin }, "Small"),
        React.createElement(react_native_2.ButtonV1, { size: "medium", style: styles_1.commonTestStyles.vmargin }, "Medium"),
        React.createElement(react_native_2.ButtonV1, { size: "large", style: styles_1.commonTestStyles.vmargin }, "Large"),
        !isMobile && (React.createElement(React.Fragment, null,
            React.createElement(react_native_2.ButtonV1, { loading: true, size: "small", style: styles_1.commonTestStyles.vmargin }, "Loading Button Small"),
            React.createElement(react_native_2.ButtonV1, { loading: true, size: "medium", style: styles_1.commonTestStyles.vmargin }, "Loading Button Medium"),
            React.createElement(react_native_2.ButtonV1, { loading: true, size: "large", style: styles_1.commonTestStyles.vmargin }, "Loading Button Large"),
            React.createElement(react_native_2.CompoundButton, { secondaryContent: "Small compound button", size: "small", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
            React.createElement(react_native_2.CompoundButton, { appearance: "primary", secondaryContent: "Small compound button", size: "small", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
            React.createElement(react_native_2.CompoundButton, { secondaryContent: "Medium compound button", size: "medium", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
            React.createElement(react_native_2.CompoundButton, { appearance: "primary", secondaryContent: "Medium compound button", size: "medium", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
            React.createElement(react_native_2.CompoundButton, { secondaryContent: "Large compound button", size: "large", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
            React.createElement(react_native_2.CompoundButton, { appearance: "primary", secondaryContent: "Large compound button", size: "large", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
            svgIconsEnabled && (React.createElement(React.Fragment, null,
                React.createElement(react_native_2.CompoundButton, { icon: iconExamples_1.iconProps, secondaryContent: "SecondaryContent", size: "small", style: styles_1.commonTestStyles.vmargin }, "Content"),
                React.createElement(react_native_2.CompoundButton, { icon: iconExamples_1.iconProps, secondaryContent: "SecondaryContent", size: "medium", style: styles_1.commonTestStyles.vmargin }, "Content"),
                React.createElement(react_native_2.CompoundButton, { icon: iconExamples_1.iconProps, secondaryContent: "SecondaryContent", size: "large", style: styles_1.commonTestStyles.vmargin }, "Content")))))));
};
exports.ButtonSizeTest = ButtonSizeTest;
//# sourceMappingURL=ButtonSizeTestSection.js.map