/*! ratio-ui · design system for knowledge sharing · https://github.com/losol/ratio-ui · (c) 2026 Losol AS · MPL-2.0 */
import "react";
import { jsx, jsxs } from "react/jsx-runtime";
//#region src/forms/common/Fieldset.tsx
var styles = {
	fieldsetClassName: "text-lg pt-3 pb-6",
	legendClassName: "text-lg border-b-2 pt-4 pb-2"
};
var Fieldset = (props) => /* @__PURE__ */ jsxs("fieldset", {
	disabled: props.disabled,
	className: props.className ?? styles.fieldsetClassName,
	children: [props.label && /* @__PURE__ */ jsx("legend", {
		className: props.legendClassName ?? styles.legendClassName,
		children: props.label
	}), props.children]
});
//#endregion
export { Fieldset, styles };

//# sourceMappingURL=Fieldset.js.map