{"version":3,"file":"Hint.cjs","names":["_styled","_interopRequireDefault","require","_FormHelperText","e","__esModule","default","HintContainerWithInlineStartSpacing","exports","styled","div","odysseyDesignTokens","paddingInlineStart","TypographyLineHeightUi","Spacing2","marginBlockEnd","formHelperTextClasses","root","error","color","TypographyColorSubordinate"],"sources":["../../../src/Fields/Hint.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2025-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport styled from \"@emotion/styled\";\nimport { formHelperTextClasses } from \"@mui/material/FormHelperText\";\n\nimport { DesignTokens } from \"../index.js\";\n\nexport const HintContainerWithInlineStartSpacing = styled.div<{\n  odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n  paddingInlineStart: `calc(${odysseyDesignTokens.TypographyLineHeightUi}em + ${odysseyDesignTokens.Spacing2})`,\n  marginBlockEnd: odysseyDesignTokens.Spacing2,\n\n  // MUI applies the '.Mui-error' class to this hint text when the checkbox is invalid which turns the copy red. We want to keep the hint text gray in the error state\n  [`.${formHelperTextClasses.root}.${formHelperTextClasses.error}`]: {\n    color: odysseyDesignTokens.TypographyColorSubordinate,\n  },\n}));\n"],"mappings":";;;;;;AAYA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAAqE,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAbrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAOO,MAAMG,mCAAmC,GAAAC,OAAA,CAAAD,mCAAA,GAAGE,eAAM,CAACC,GAAG,CAE1D,CAAC;EAAEC;AAAoB,CAAC,MAAM;EAC/BC,kBAAkB,EAAE,QAAQD,mBAAmB,CAACE,sBAAsB,QAAQF,mBAAmB,CAACG,QAAQ,GAAG;EAC7GC,cAAc,EAAEJ,mBAAmB,CAACG,QAAQ;EAG5C,CAAC,IAAIE,qCAAqB,CAACC,IAAI,IAAID,qCAAqB,CAACE,KAAK,EAAE,GAAG;IACjEC,KAAK,EAAER,mBAAmB,CAACS;EAC7B;AACF,CAAC,CAAC,CAAC","ignoreList":[]}