"use strict";
// The require scope
var __webpack_require__ = {};
/************************************************************************/ // webpack/runtime/define_property_getters
(()=>{
    __webpack_require__.d = function(exports1, definition) {
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
// webpack/runtime/has_own_property
(()=>{
    __webpack_require__.o = function(obj, prop) {
        return Object.prototype.hasOwnProperty.call(obj, prop);
    };
})();
// webpack/runtime/make_namespace_object
(()=>{
    // define __esModule on exports
    __webpack_require__.r = function(exports1) {
        if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
/************************************************************************/ var __webpack_exports__ = {};
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
    Variants: ()=>/* binding */ Variants,
    default: ()=>/* binding */ Text_stories_rslib_entry_,
    Default: ()=>/* binding */ Default
});
const react_namespaceObject = require("@chakra-ui/react");
const lorem = `
  Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
  labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
  laboris nisi ut aliquip ex ea commodo consequat.
`;
const LoremIpsum = ({ iterations = 1, ...rest })=>{
    const texts = [];
    for(let i = 0; i < iterations; i++)texts.push(/*#__PURE__*/ React.createElement(react_namespaceObject.Text, rest, lorem));
    return /*#__PURE__*/ React.createElement(React.Fragment, null, texts);
};
/* ESM default export */ const content_helper = LoremIpsum;
const meta = {
    title: 'Components/Text',
    component: react_namespaceObject.Text,
    parameters: {
        design: {
            type: 'figma',
            url: 'https://www.figma.com/file/bJcVrZNilxa06jYuVCGWYd/Redpanda-Design-System-2023?type=design&node-id=1%3A2031&mode=design'
        }
    },
    argTypes: {
        variant: {
            control: 'select',
            options: [
                'default',
                'sm',
                'lg',
                'xl',
                'label'
            ],
            mapping: {
                default: void 0
            }
        },
        noOfLines: {
            control: 'number'
        }
    },
    args: {
        variant: void 0,
        noOfLines: void 0
    }
};
/* ESM default export */ const Text_stories_rslib_entry_ = meta;
const Default = {
    render: (args)=>/*#__PURE__*/ React.createElement(react_namespaceObject.Box, null, /*#__PURE__*/ React.createElement(content_helper, {
            mb: "4",
            ...args,
            iterations: 2
        }))
};
const Variants = {
    render: (args)=>/*#__PURE__*/ React.createElement(react_namespaceObject.Box, null, /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            mb: "4",
            variant: "sm"
        }, "Small Variant (", /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            as: "code"
        }, 'variant="sm"'), ")"), /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            mb: "4"
        }, "Default Variant"), /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            mb: "4",
            variant: "lg"
        }, "Large Variant (", /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            as: "code"
        }, 'variant="lg"'), ")"), /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            mb: "4",
            variant: "xl"
        }, "Extra Large Variant (", /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            as: "code"
        }, 'variant="xl"'), ")"), /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            mb: "4",
            variant: "label"
        }, "Label Variant (", /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            as: "code"
        }, 'variant="label"'), ")"), /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            mb: "4"
        }, "Default", ' ', /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            variant: "sm",
            as: "mark"
        }, "variant"), ' ', "with", ' ', /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            as: "i",
            variant: "xl"
        }, "nested"), ' ', /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            as: "strong"
        }, "styles"), " and", ' ', /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            as: "span",
            variant: "lg"
        }, "nested", ' '), ' ', /*#__PURE__*/ React.createElement(react_namespaceObject.Text, {
            as: "span",
            variant: "label"
        }, "variants"), "."))
};
var __webpack_export_target__ = exports;
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
    value: true
});
