import{_ as __rest,a as __assign}from"./tslib.es6-bjGg6Bxl.js";import React__default from"react";var labelstyles="\n  jn-text-theme-high\n  jn-text-base\n  jn-transform \n  jn-origin-top-left \n  jn-transition-all \n  jn-duration-100 \n  jn-ease-in-out\n",floatingStyles="\n  jn-absolute\n",minimizedStyles="\n  jn-scale-75\n  -jn-translate-y-[0.4375rem]\n",requiredstyles="\n  jn-inline-block\n  jn-w-1\n  jn-h-1\n  jn-rounded-full\n  jn-align-top\n  jn-ml-1\n  jn-mt-2\n  jn-bg-theme-required\n",disabledstyles="\n  jn-opacity-50\n  jn-cursor-not-allowed\n",Label=React__default.forwardRef(function(a,b){var c=a.text,d=void 0===c?"":c,e=a.htmlFor,f=void 0===e?void 0:e,g=a.required,h=a.className,i=void 0===h?"":h,j=a.disabled,k=a.floating,l=a.minimized,m=__rest(a,["text","htmlFor","required","className","disabled","floating","minimized"]);return React__default.createElement("label",__assign({className:"\n        juno-label \n        ".concat(labelstyles," \n        ").concat(void 0!==k&&k?"juno-label-floating "+floatingStyles:"","\n        ").concat(void 0!==l&&l?"juno-label-minimized "+minimizedStyles:"","\n        ").concat(void 0!==j&&j?"juno-label-disabled "+disabledstyles:""," \n        ").concat(i,"\n      "),htmlFor:f,ref:b},m),d,void 0!==g&&g?(React__default.createElement("span",{className:"\n          juno-required \n          ".concat(requiredstyles,"\n          ")})):"")});Label.displayName="Label";export{Label as L};