{"version":3,"file":"Button.cjs","names":["_react","require","_BaseButton","_jsxRuntime","Button","props","jsx","BaseButton","MemoizedButton","exports","memo","displayName"],"sources":["../../../src/Buttons/Button.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 {\n  AdditionalBaseButtonProps,\n  BaseButton,\n  BaseButtonProps,\n} from \"./BaseButton.js\";\n\nexport type ButtonProps = Omit<BaseButtonProps, \"children\"> &\n  AdditionalBaseButtonProps;\n\n/**\n * A clickable button used to trigger actions or submit forms. Supports multiple visual variants, sizes, icons, and an optional tooltip for icon-only usage.\n */\nconst Button = (props: ButtonProps) => {\n  return <BaseButton {...props} />;\n};\n\nconst MemoizedButton = memo(Button);\nMemoizedButton.displayName = \"Button\";\n\nexport { MemoizedButton as Button };\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAD,OAAA;AAIyB,IAAAE,WAAA,GAAAF,OAAA;AAlBzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAgBA,MAAMG,MAAM,GAAIC,KAAkB,IAAK;EACrC,OAAO,IAAAF,WAAA,CAAAG,GAAA,EAACJ,WAAA,CAAAK,UAAU;IAAA,GAAKF;EAAK,CAAG,CAAC;AAClC,CAAC;AAED,MAAMG,cAAc,GAAAC,OAAA,CAAAL,MAAA,GAAG,IAAAM,WAAI,EAACN,MAAM,CAAC;AACnCI,cAAc,CAACG,WAAW,wCAAW","ignoreList":[]}