"use strict";
const jsxRuntime = require("react/jsx-runtime");
const dynamic = require("@vanilla-extract/dynamic");
const styles_lib_components_Box_Box_cjs = require("../../Box/Box.cjs");
const styles_lib_components_private_MaxLines_MaxLines_css_cjs = require("./MaxLines.css.cjs");
const MaxLines = ({
  children,
  lines
}) => /* @__PURE__ */ jsxRuntime.jsx(
  styles_lib_components_Box_Box_cjs.Box,
  {
    component: "span",
    className: [styles_lib_components_private_MaxLines_MaxLines_css_cjs.base, lines > 1 ? styles_lib_components_private_MaxLines_MaxLines_css_cjs.multiLine : void 0],
    style: lines > 1 ? dynamic.assignInlineVars({ [styles_lib_components_private_MaxLines_MaxLines_css_cjs.lineLimit]: String(lines) }) : void 0,
    children
  }
);
exports.MaxLines = MaxLines;
