{"version":3,"file":"HintLink.cjs","names":["_react","require","_Link","_jsxRuntime","HintLink","props","jsx","Link","variant","MemoizedHintLink","exports","memo","displayName"],"sources":["../../src/HintLink.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-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 { memo } from \"react\";\n\nimport { Link, LinkProps } from \"./Link.js\";\n\n/**\n * A monochrome link intended for use inside hint/helper text beneath form fields.\n */\nconst HintLink = (\n  props: Pick<\n    LinkProps,\n    \"children\" | \"href\" | \"onClick\" | \"rel\" | \"target\" | \"testId\"\n  >,\n) => <Link {...props} variant=\"monochrome\" />;\n\nconst MemoizedHintLink = memo(HintLink);\n\nMemoizedHintLink.displayName = \"HintLink\";\n\nexport { MemoizedHintLink as HintLink };\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AAA4C,IAAAE,WAAA,GAAAF,OAAA;AAd5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GASA,MAAMG,QAAQ,GACZC,KAGC,IACE,IAAAF,WAAA,CAAAG,GAAA,EAACJ,KAAA,CAAAK,IAAI;EAAA,GAAKF,KAAK;EAAEG,OAAO,EAAC;AAAY,CAAE,CAAC;AAE7C,MAAMC,gBAAgB,GAAAC,OAAA,CAAAN,QAAA,GAAG,IAAAO,WAAI,EAACP,QAAQ,CAAC;AAEvCK,gBAAgB,CAACG,WAAW,0CAAa","ignoreList":[]}