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C","sources":["webpack://@cmsgov/cms-design-system-docs/../design-system/dist/react-components/esm/CloseButton/CloseButton.js","webpack://@cmsgov/cms-design-system-docs/../design-system/dist/react-components/esm/NativeDialog/shim.js","webpack://@cmsgov/cms-design-system-docs/../design-system/dist/react-components/esm/NativeDialog/NativeDialog.js","webpack://@cmsgov/cms-design-system-docs/../design-system/dist/react-components/esm/utilities/usePrevious.js","webpack://@cmsgov/cms-design-system-docs/../design-system/dist/react-components/esm/Dialog/useDialogAnalytics.js","webpack://@cmsgov/cms-design-system-docs/../design-system/dist/react-components/esm/NativeDialog/useNativeDialogAnalytics.js","webpack://@cmsgov/cms-design-system-docs/../design-system/dist/react-components/esm/Dialog/useBodyScrollPrevention.js","webpack://@cmsgov/cms-design-system-docs/../design-system/dist/react-components/esm/Dialog/Dialog.js","webpack://@cmsgov/cms-design-system-docs/../design-system/dist/react-components/esm/Icons/ExternalLinkIcon.js","webpack://@cmsgov/cms-design-system-docs/../design-system/dist/react-components/esm/ThirdPartyExternalLink/useThirdPartyExternalLinkAnalytics.js","webpack://@cmsgov/cms-design-system-docs/../design-system/dist/react-components/esm/ThirdPartyExternalLink/ThirdPartyExternalLink.js","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ThemeContent.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ButtonMigrationTable.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ButtonVariationsTable.tsx","webpack://@cmsgov/cms-design-system-docs/./src/helpers/clientOnly.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ColorExampleList.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ColorRamps.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ColorTable/ColorCard.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ColorTable/ColorTable.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ColorSwatch.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ComponentThemeOptions.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ExampleFooter.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/EmbeddedExample.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/MaturityChecklist/Status.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/MaturityChecklist/MaturityChecklistItem.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/MaturityChecklist/MaturityChecklist.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/StorybookExampleFooter.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ResponsiveExample.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/SeeStorybookForGuidance.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/SpacingUtilityExampleList.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/StorybookExample.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/TextColorList.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/StorybookDocLinks.tsx","webpack://@cmsgov/cms-design-system-docs/./src/helpers/humanizeList.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/StorybookDocLink.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/TypographyUsageTable.tsx","webpack://@cmsgov/cms-design-system-docs/./src/components/content/ContentRenderer.tsx","webpack://@cmsgov/cms-design-system-docs/../../node_modules/gatsby-plugin-mdx/index.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/gatsby-plugin-mdx/mdx-renderer.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/lodash/_asciiToArray.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/lodash/_baseSlice.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/lodash/_castSlice.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/lodash/_createCaseFirst.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/lodash/_hasUnicode.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/lodash/_stringToArray.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/lodash/_unicodeToArray.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/lodash/capitalize.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/lodash/upperFirst.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/prismjs/prism.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/construct.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/defineProperty.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/iterableToArray.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/nonIterableSpread.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/toConsumableArray.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/toPrimitive.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/typeof.js","webpack://@cmsgov/cms-design-system-docs/../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"],"sourcesContent":["import classNames from 'classnames';\nimport useId from '../utilities/useId';\nimport { CloseIconThin } from '../Icons';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n *\n */\nexport const CloseButton = _ref => {\n let {\n className,\n id: idProp,\n ariaHidden = false,\n ...buttonAttributes\n } = _ref;\n const id = useId('close-button--', idProp);\n return /*#__PURE__*/_jsx(\"button\", {\n type: \"button\",\n ...buttonAttributes,\n className: classNames('ds-c-close-button', className),\n id: id,\n children: /*#__PURE__*/_jsx(CloseIconThin, {\n ariaHidden: ariaHidden,\n id: `${id}__icon`\n })\n });\n};\nexport default CloseButton;","/**\n * This polyfill originally came from https://github.com/GoogleChrome/dialog-polyfill/,\n * but we've stripped it down to only what we need to not crash node environments that\n * do not yet support the dialog element.\n */\n\n/**\n * Add shims for dialog functions and properties to the provided element object.\n */\nfunction addDialogProperties(dialog) {\n function handleKey(event) {\n if (event.keyCode === 27) {\n event.preventDefault();\n event.stopPropagation();\n dialog.close();\n }\n }\n function setOpen(open) {\n if (open) {\n dialog.hasAttribute('open') || dialog.setAttribute('open', '');\n document.addEventListener('keydown', handleKey);\n } else {\n dialog.removeAttribute('open');\n document.removeEventListener('keydown', handleKey);\n }\n }\n dialog.show = () => setOpen(true);\n dialog.showModal = () => setOpen(true);\n dialog.close = () => {\n setOpen(false);\n const cancelEvent = new CustomEvent('close', {\n bubbles: false,\n cancelable: true\n });\n dialog.dispatchEvent(cancelEvent);\n };\n\n // Set a11y role. Browsers that support dialog implicitly know this already.\n if (!dialog.hasAttribute('role')) {\n dialog.setAttribute('role', 'dialog');\n }\n if (!('returnValue' in dialog)) {\n dialog.returnValue = '';\n }\n Object.defineProperty(dialog, 'open', {\n set: setOpen,\n get: dialog.hasAttribute.bind(dialog, 'open')\n });\n}\nexport function shimDialogElement(element) {\n if (!element.showModal) {\n if (element.localName !== 'dialog') {\n throw new Error('Failed to polyfill dialog: The element is not a dialog.');\n }\n addDialogProperties(element);\n }\n}","import { useRef, useEffect, useLayoutEffect } from 'react';\nimport { shimDialogElement } from './shim';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * This is an internal component and may change without warning. Use at your own risk!\n */\nexport const NativeDialog = _ref => {\n let {\n children,\n exit,\n isOpen,\n showModal,\n backdropClickExits,\n boundingBoxRef,\n ...dialogProps\n } = _ref;\n const dialogRef = useRef(null);\n if (isOpen === undefined) {\n const missingPropMessage = \"The 'isOpen' prop is now used to control the state of Dialogs and Drawers. Please do not conditionally render these components to control their state. All Dialogs and Drawers will become invisible without this prop in the next major release. Using this prop will fix a focus-management issue that affects accessibility.\";\n if (process.env.NODE_ENV !== 'production') {\n throw new Error(missingPropMessage);\n } else {\n console.error(missingPropMessage);\n isOpen = true;\n }\n }\n\n // Register dialog with the polyfill if necessary\n useLayoutEffect(() => {\n shimDialogElement(dialogRef.current);\n });\n\n // Call imperative show and close functions on mount/unmount\n useEffect(() => {\n const dialogNode = dialogRef.current;\n\n // Show or hide the dialog based on `isOpen` value. The `dialogNode.open` property is\n // a read-only value that will tell us if our dialog DOM element is actually in the\n // open state.\n let closingBecauseOfProp = false;\n if (isOpen) {\n if (!dialogNode.open) {\n showModal ? dialogNode.showModal() : dialogNode.show();\n // For a11y reasons, focus needs to be specified:\n // 1. `` receives focus first\n // 2. `` close button receives focus next\n // 3. If `` has some sorta sticky positioning requiring keyboard navigation, that wrapping element should receive focus next.\n dialogNode.focus();\n }\n } else {\n if (dialogNode.open) {\n dialogNode.close();\n closingBecauseOfProp = true;\n }\n }\n\n // Bind close event listener for ESC press\n const handleClose = event => {\n event.preventDefault();\n // Only call the exit handler if the parent didn't close it by setting isOpen to false\n if (!closingBecauseOfProp) {\n exit(event);\n }\n };\n dialogNode.addEventListener('close', handleClose);\n return () => {\n dialogNode.removeEventListener('close', handleClose);\n };\n }, [isOpen, showModal, exit]);\n\n // Bind and unbind backdrop click event listeners on mount and unmount\n useEffect(() => {\n if (!backdropClickExits) {\n return;\n }\n const dialogNode = dialogRef.current;\n const handleClick = event => {\n // In Chrome and Firefox Pointer Events triggered by a key press receive a clientX & clientY value of 0 each.\n // This puts the pointer outside of our dialog element, and so we trigger the exit() event.\n // This causes the exit event to fire twice on keyboard presses if the button you are focusing has an event\n // handler/listener attached to it.\n // Note Safari is smart and actually assigns a value to the clientX and clientY values for button presses, so we\n // don't see this error in Safari.\n // event.detail counts the number of clicks. There are no clicks on a keyboard press, so if this function is called\n // and the event.detail value is zero, we exit without firing the exit() event.\n if (event.detail === 0) {\n return;\n }\n const boundingNode = boundingBoxRef?.current ?? dialogRef.current;\n const rect = boundingNode.getBoundingClientRect();\n const isInDialog = rect.top <= event.clientY && event.clientY <= rect.top + rect.height && rect.left <= event.clientX && event.clientX <= rect.left + rect.width;\n if (!isInDialog) {\n exit(event);\n }\n };\n dialogNode.addEventListener('click', handleClick);\n return () => {\n dialogNode.removeEventListener('click', handleClick);\n };\n }, [exit, backdropClickExits]);\n return /*#__PURE__*/_jsx(\"dialog\", {\n ref: dialogRef,\n ...dialogProps,\n tabIndex: -1,\n children: children\n });\n};\nexport default NativeDialog;","import { useEffect, useRef } from 'react';\n\n// storing a previous version of a prop for comparison\n// similar to the old previousProps param from `componentDidUpdate`\nconst usePrevious = value => {\n const ref = useRef();\n useEffect(() => {\n ref.current = value;\n });\n return ref.current;\n};\nexport default usePrevious;","import { eventExtensionText } from '../analytics';\nimport { config } from '../config';\nimport { useNativeDialogAnalytics } from '../NativeDialog/useNativeDialogAnalytics';\nexport function useDialogAnalytics(_ref) {\n let {\n analytics,\n analyticsLabelOverride,\n onAnalyticsEvent = config().defaultAnalyticsFunction,\n isOpen\n } = _ref;\n function sendDialogEvent(content, eventAttributes) {\n if (analytics !== true && (!config().dialogSendsAnalytics || analytics === false)) {\n return;\n }\n const eventHeadingText = analyticsLabelOverride ?? content;\n if (!eventHeadingText) {\n console.error('No content found for Dialog analytics event');\n return;\n }\n onAnalyticsEvent({\n event_extension: eventExtensionText,\n heading: eventHeadingText,\n ...eventAttributes\n });\n }\n\n // We need to send modal_impression when it's open once and only once.\n // We need to send modal_closed only when it was open and then closed.\n const headingRef = useNativeDialogAnalytics({\n isOpen,\n onOpen: content => {\n sendDialogEvent(content, {\n event_name: 'modal_impression'\n });\n },\n onClose: content => {\n sendDialogEvent(content, {\n event_name: 'modal_closed'\n });\n }\n });\n return headingRef;\n}\nexport default useDialogAnalytics;","import { useRef, useEffect } from 'react';\nimport getAnalyticsContentFromRefs from '../analytics/getAnalyticsContentFromRefs';\nimport usePrevious from '../utilities/usePrevious';\n/**\n * This hook is for any component based on `NativeDialog` that needs analytics that fire\n * upon opening and closing. You provide it the `isOpen` prop being passed to the\n * `NativeDialog` and handlers for `onOpen` and `onClose`, which will be called with the\n * rendered heading content based on where you apply the ref this hook returns. Example:\n *\n * const headingRef = useNativeDialogAnalytics({\n * isOpen: props.isOpen,\n * onOpen: (content) => {\n * // Send an event\n * },\n * onClose: (content) => {\n * // Send an event\n * }\n * })\n *\n * return (\n * \n *

Hello World

\n *
\n * )\n */\nexport function useNativeDialogAnalytics(_ref) {\n let {\n isOpen,\n onOpen,\n onClose\n } = _ref;\n const headingRef = useRef();\n const prevIsOpen = usePrevious(isOpen);\n useEffect(() => {\n const headingContent = getAnalyticsContentFromRefs([headingRef]);\n // We want to call onOpen when it's open once and only once.\n // We want to call onClose only when it was open and then closed.\n if (isOpen && isOpen !== prevIsOpen) {\n // It either started open or was closed and now is open\n onOpen(headingContent);\n } else if (!isOpen && prevIsOpen === true) {\n // Only trigger if it was previously open\n onClose(headingContent);\n }\n }, [isOpen, prevIsOpen]);\n return headingRef;\n}","import { useLayoutEffect } from 'react';\nexport const CLASS_NAME = 'ds--dialog-open';\nexport const PROPERTY_NAME = '--body_top--dialog-open';\nfunction freezeScroll() {\n if (document.body.classList.contains(CLASS_NAME)) {\n return;\n }\n const y = window.scrollY ?? 0;\n document.body.classList.add(CLASS_NAME);\n document.body.style.setProperty(PROPERTY_NAME, `-${y}px`);\n document.documentElement.style.setProperty('scroll-behavior', 'auto');\n}\nfunction unfreezeScroll() {\n if (!document.body.classList.contains(CLASS_NAME)) {\n return;\n }\n document.body.classList.remove(CLASS_NAME);\n const top = -parseInt(document.body.style.getPropertyValue(PROPERTY_NAME));\n document.body.style.removeProperty(PROPERTY_NAME);\n if (!isNaN(top)) {\n window.scrollTo({\n top,\n behavior: 'auto'\n });\n }\n document.documentElement.style.removeProperty('scroll-behavior');\n}\n\n/**\n * Prevents scrolling the page behind the dialog\n */\nexport function useBodyScrollPrevention(isOpen) {\n // Needs to use useLayoutEffect because we need to grab the window scroll position\n // before the dialog renders and messes it up.\n useLayoutEffect(() => {\n if (isOpen) {\n freezeScroll();\n } else {\n unfreezeScroll();\n }\n return () => {\n unfreezeScroll();\n };\n }, [isOpen]);\n}","import { useEffect, useRef } from 'react';\nimport CloseButton from '../CloseButton/CloseButton';\nimport NativeDialog from '../NativeDialog/NativeDialog';\nimport classNames from 'classnames';\nimport useDialogAnalytics from './useDialogAnalytics';\nimport useId from '../utilities/useId';\nimport { t } from '../i18n';\nimport { useBodyScrollPrevention } from './useBodyScrollPrevention';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const availableSizes = ['narrow', 'wide', 'full'];\n/**\n * For information about how and when to use this component,\n * [refer to its full documentation page](https://design.cms.gov/components/modal-dialog/).\n */\nexport const Dialog = props => {\n const {\n actions,\n actionsClassName,\n alert,\n analytics,\n analyticsLabelOverride,\n onAnalyticsEvent,\n ariaCloseLabel,\n children,\n className,\n headerClassName,\n heading,\n id,\n onExit,\n size,\n ...modalProps\n } = props;\n const rootId = useId('dialog--', id);\n const headingRef = useDialogAnalytics(props);\n const headingId = `${rootId}__heading`;\n const contentId = `${rootId}__content`;\n const dialogClassNames = classNames('ds-c-dialog', className, size && `ds-c-dialog--${size}`);\n const headerClassNames = classNames('ds-c-dialog__header', headerClassName);\n const actionsClassNames = classNames('ds-c-dialog__actions', actionsClassName);\n const containerRef = useRef();\n\n // Set initial focus\n useEffect(() => {\n containerRef.current?.focus();\n }, [containerRef]);\n useBodyScrollPrevention(modalProps.isOpen ?? true);\n return /*#__PURE__*/_jsx(NativeDialog, {\n className: dialogClassNames,\n showModal: true,\n exit: onExit,\n ...modalProps,\n id: rootId,\n boundingBoxRef: containerRef,\n \"aria-labelledby\": headingId,\n children: /*#__PURE__*/_jsxs(\"div\", {\n className: \"ds-c-dialog__window\",\n ref: containerRef,\n children: [/*#__PURE__*/_jsxs(\"div\", {\n className: headerClassNames,\n children: [heading && /*#__PURE__*/_jsx(\"h2\", {\n className: \"ds-c-dialog__heading\",\n id: headingId,\n ref: headingRef,\n children: heading\n }), /*#__PURE__*/_jsx(CloseButton, {\n \"aria-label\": ariaCloseLabel ?? t('dialog.ariaCloseLabel'),\n ariaHidden: true,\n className: \"ds-c-dialog__close\",\n id: `${rootId}__close`,\n onClick: onExit\n })]\n }), /*#__PURE__*/_jsxs(\"div\", {\n className: \"ds-c-dialog__body\",\n children: [/*#__PURE__*/_jsx(\"div\", {\n id: contentId,\n children: children\n }), actions && /*#__PURE__*/_jsx(\"div\", {\n className: actionsClassNames,\n children: actions\n })]\n })]\n })\n });\n};\nexport default Dialog;","import { t } from '../i18n';\nimport { SvgIcon } from './SvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst defaultProps = {\n className: '',\n viewBox: '0 0 512 512',\n ariaHidden: false\n};\nexport function ExternalLinkIcon(props) {\n const iconCssClasses = `ds-c-icon--external-link ${props.className || ''}`;\n return /*#__PURE__*/_jsx(SvgIcon, {\n title: t('icons.externalLink'),\n ...defaultProps,\n ...props,\n className: iconCssClasses,\n children: /*#__PURE__*/_jsx(\"path\", {\n d: \"M497.6,0,334.4.17A14.4,14.4,0,0,0,320,14.57V47.88a14.4,14.4,0,0,0,14.69,14.4l73.63-2.72,2.06,2.06L131.52,340.49a12,12,0,0,0,0,17l23,23a12,12,0,0,0,17,0L450.38,101.62l2.06,2.06-2.72,73.63A14.4,14.4,0,0,0,464.12,192h33.31a14.4,14.4,0,0,0,14.4-14.4L512,14.4A14.4,14.4,0,0,0,497.6,0ZM432,288H416a16,16,0,0,0-16,16V458a6,6,0,0,1-6,6H54a6,6,0,0,1-6-6V118a6,6,0,0,1,6-6H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V304A16,16,0,0,0,432,288Z\"\n })\n });\n}","import { eventExtensionText, getAnalyticsContentFromRefs } from '../analytics';\nimport { config } from '../config';\nimport { useRef } from 'react';\nexport function useThirdPartyExternalLinkAnalytics(_ref) {\n let {\n analytics,\n analyticsLabelOverride,\n analyticsParentHeading,\n analyticsParentType,\n onAnalyticsEvent = config().defaultAnalyticsFunction,\n href\n } = _ref;\n const contentRef = useRef();\n function buttonAnalyticsHandler() {\n if (analytics !== true && (!config().thirdPartyExternalLinkSendsAnalytics || analytics === false)) {\n return;\n }\n const linkContent = analyticsLabelOverride ?? getAnalyticsContentFromRefs([contentRef]);\n if (!linkContent) {\n console.error('No content found for Dialog analytics event');\n return;\n }\n const linkParentHeading = analyticsParentHeading ?? ' ';\n const linkParentType = analyticsParentType ?? ' ';\n onAnalyticsEvent({\n event_name: 'external_link_click',\n event_extension: eventExtensionText,\n text: linkContent,\n link_type: 'link_external',\n link_url: href,\n parent_component_heading: linkParentHeading,\n parent_component_type: linkParentType\n });\n }\n return {\n contentRef,\n buttonAnalyticsHandler\n };\n}\nexport default useThirdPartyExternalLinkAnalytics;","import { useState } from 'react';\nimport { Button } from '../Button';\nimport { Dialog } from '../Dialog';\nimport { ExternalLinkIcon } from '../Icons';\nimport { t } from '../i18n';\nimport classNames from 'classnames';\nimport useThirdPartyExternalLinkAnalytics from './useThirdPartyExternalLinkAnalytics';\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\n/**\n * For information about how and when to use this component,\n * [refer to its full documentation page](https://design.cms.gov/components/third-party-external-link/).\n */\nconst ThirdPartyExternalLink = props => {\n const {\n contentRef,\n buttonAnalyticsHandler\n } = useThirdPartyExternalLinkAnalytics(props);\n const {\n href,\n children,\n className,\n learnMoreUrl,\n origin\n } = props;\n const [showDialog, setShowDialog] = useState(false);\n function open(event) {\n event.preventDefault();\n setShowDialog(true);\n }\n function close() {\n setShowDialog(false);\n }\n return /*#__PURE__*/_jsxs(_Fragment, {\n children: [/*#__PURE__*/_jsxs(\"a\", {\n className: classNames('ds-c-external-link', className),\n onClick: open,\n href: href,\n ref: contentRef,\n children: [children, /*#__PURE__*/_jsx(ExternalLinkIcon, {\n className: \"ds-c-external-link__icon\"\n })]\n }), /*#__PURE__*/_jsxs(Dialog, {\n onExit: close,\n heading: t('thirdPartyExternalLink.dialogHeading', {\n origin\n }),\n actions: [/*#__PURE__*/_jsx(Button, {\n variation: \"solid\",\n href: href,\n analytics: true,\n onAnalyticsEvent: buttonAnalyticsHandler,\n children: t('thirdPartyExternalLink.confirmationButtonText')\n }, \"external-link__confirm\"), /*#__PURE__*/_jsx(Button, {\n variation: \"ghost\",\n onClick: close,\n children: t('thirdPartyExternalLink.cancelButtonText')\n }, \"external-link__cancel\")],\n isOpen: showDialog,\n children: [/*#__PURE__*/_jsx(\"p\", {\n children: t('thirdPartyExternalLink.dialogBody')\n }), /*#__PURE__*/_jsxs(\"p\", {\n children: [/*#__PURE__*/_jsx(\"a\", {\n href: learnMoreUrl,\n children: t('thirdPartyExternalLink.learnMoreText')\n }), \".\"]\n })]\n })]\n });\n};\nThirdPartyExternalLink.defaultProps = {};\nexport default ThirdPartyExternalLink;","import type * as React from 'react';\nimport themes from '../../../../../themes.json';\ntype ThemeName = keyof typeof themes;\n\nexport interface ThemeContentProps {\n children: React.ReactElement;\n /**\n * One of the available theme names in lowercase as presented in ThemeNames\n */\n theme: string;\n /**\n * Only show content if the current theme is in this list\n */\n onlyThemes?: ThemeName[];\n /**\n * Never show content if the current theme is in this list\n */\n neverThemes?: ThemeName[];\n}\n\n/**\n * Conditionally renders content based on the current theme.\n *\n * Note that in order for markdown to be correctly rendered in the children of this component,\n * you need to have an empty line after the start tag and before the end tag for this component.\n */\nconst ThemeContent = (props: ThemeContentProps) => {\n const { children, theme, onlyThemes, neverThemes } = props;\n if (\n (onlyThemes && onlyThemes.includes(theme as ThemeName)) ||\n (neverThemes && !neverThemes.includes(theme as ThemeName))\n ) {\n return children;\n } else {\n return null;\n }\n};\n\nexport default ThemeContent;\n","import {\n Badge,\n Button,\n Table,\n TableCaption,\n TableHead,\n TableRow,\n TableBody,\n TableCell,\n} from '@cmsgov/design-system';\nimport ThemeContent from './ThemeContent';\n\nexport interface ButtonMigrationTableProps {\n /**\n * Name of currently selected theme\n */\n theme: string;\n}\n\nconst ButtonMigrationTable = ({ theme }: ButtonMigrationTableProps) => {\n const deprecated = Deprecated;\n const noChange = No change;\n\n return (\n <>\n \n Mapping old button React code to new\n \n \n \n Looked like\n \n \n Old React\n \n \n New React\n \n \n \n \n \n \n \n \n \n {'\n \n \n {noChange}\n \n \n \n \n \n \n \n {'\n \n \n {'\n \n \n {'\n \n \n {'\n \n \n {'\n \n \n {'\n \n \n {'
\n\n \n Mapping old button HTML to new\n \n \n \n Looked like\n \n \n Old HTML\n \n \n New HTML\n \n \n \n \n \n \n \n \n \n {'\n \n \n {'\n \n \n {'\n \n \n {'\n \n \n {'\n \n \n \n {'\n \n \n \n {'\n \n \n \n {'
\n \n );\n};\n\nexport default ButtonMigrationTable;\n","import { ReactElement } from 'react';\nimport {\n Button,\n Table,\n TableCaption,\n TableHead,\n TableRow,\n TableBody,\n TableCell,\n} from '@cmsgov/design-system';\n\ninterface VariationButtonUsage {\n main?: {\n onLight?: boolean;\n onDark?: boolean;\n };\n alternate?: {\n onLight?: boolean;\n onDark?: boolean;\n };\n}\n\ninterface ThemeButtonUsage {\n outline?: VariationButtonUsage;\n solid?: VariationButtonUsage;\n ghost?: VariationButtonUsage;\n}\n\nconst themeButtonUsage: { [theme: string]: ThemeButtonUsage } = {\n healthcare: {\n outline: {\n main: {\n onDark: false,\n },\n alternate: {\n onLight: false,\n onDark: false,\n },\n },\n solid: {\n main: {\n onDark: false,\n },\n alternate: {\n onLight: false,\n onDark: false,\n },\n },\n ghost: {\n main: {\n onDark: false,\n },\n alternate: {\n onLight: false,\n onDark: false,\n },\n },\n },\n medicare: {\n outline: {\n main: {\n onDark: false,\n },\n alternate: {\n onLight: false,\n onDark: false,\n },\n },\n ghost: {\n alternate: {\n onLight: false,\n onDark: false,\n },\n },\n },\n};\n\nexport interface ButtonVariationsTableProps {\n /**\n * Name of currently selected theme\n */\n theme: string;\n}\n\nconst ButtonVariationsTable = ({ theme }: ButtonVariationsTableProps) => {\n const uses = themeButtonUsage[theme] ?? {};\n const unused = '(Unused)';\n\n function b(buttonInstance: ReactElement, isUsed?: boolean) {\n return isUsed === false ? unused : buttonInstance;\n }\n\n return (\n <>\n \n Button variations on light background\n \n \n \n Variation\n \n \n Main (Default)\n \n \n Alternate\n \n \n \n \n \n \n Outline (Default)\n \n \n {b(, uses?.outline?.main?.onLight)}\n \n \n {b(, uses?.outline?.alternate?.onLight)}\n \n \n \n \n Solid\n \n \n {b(, uses?.solid?.main?.onLight)}\n \n \n {b(\n ,\n uses?.solid?.alternate?.onLight\n )}\n \n \n \n \n Ghost\n \n \n {b(, uses?.ghost?.main?.onLight)}\n \n \n {b(\n ,\n uses?.ghost?.alternate?.onLight\n )}\n \n \n \n
\n \n Button variations on dark background\n \n \n \n Variation\n \n \n Main (Default)\n \n \n Alternate\n \n \n \n \n \n \n Outline (Default)\n \n \n {b(\n ,\n uses?.outline?.main?.onDark\n )}\n \n \n {b(\n ,\n uses?.outline?.alternate?.onDark\n )}\n \n \n \n \n Solid\n \n \n {b(\n ,\n uses?.solid?.main?.onDark\n )}\n \n \n {b(\n ,\n uses?.solid?.alternate?.onDark\n )}\n \n \n \n \n Ghost\n \n \n {b(\n ,\n uses?.ghost?.main?.onDark\n )}\n \n \n {b(\n ,\n uses?.ghost?.alternate?.onDark\n )}\n \n \n \n
\n \n );\n};\n\nexport default ButtonVariationsTable;\n","import { FC } from 'react';\n\n/**\n * Turns a component function into a client-side-only component by always returning null\n * if `window` isn't defined.\n */\nexport function clientOnly

(Component: FC

): FC

{\n return (props: P) => {\n // If we're in a non-browser environment, assume it's an SSR build and return nothing.\n // Based on workaround from: https://www.gatsbyjs.com/docs/using-client-side-only-packages/\n if (typeof window === 'undefined') {\n return null;\n }\n return ;\n };\n}\n","import ColorExampleRow from './ColorExampleRow';\nimport { getThemeColorValue, ThemeName } from '../../helpers/themeTokens';\nimport { clientOnly } from '../../helpers/clientOnly';\n\ninterface ColorExampleListProps {\n /**\n * list of variable color names\n */\n colorNames: string[];\n /**\n * the start of the color name. Sometimes it is the variable preface (`--color`) or sometimes it is the css class name (`ds-u`)\n */\n preface: string;\n /**\n * Name of currently selected theme\n */\n theme: string;\n}\n\n/**\n * Used to show a set of related colors. It's a collection of `ColorExampleRow`\n * items. Note that this does not show a special transparency background to\n * support semi-transparent colors like the `ColorRamps` component does.\n */\nconst ColorExampleList = clientOnly(({ colorNames, preface, theme }: ColorExampleListProps) => (\n

\n {colorNames.map((name) => (\n \n ))}\n
\n));\n\nexport default ColorExampleList;\n","import systemTokens from 'design-system-tokens/src/tokens/System.Value.json';\nimport ColorExampleRow from './ColorExampleRow';\n\nconst swatches = Object.keys(systemTokens.color).map((swatchName) => {\n const color = systemTokens.color[swatchName];\n return {\n swatchName,\n swatchColors: color.$value\n ? [{ name: swatchName, value: color.$value }]\n : Object.keys(color).map((name) => ({ name, value: color[name].$value })),\n };\n});\n\nconst renderTransparencyPattern = (id: string) => (\n \n \n \n \n \n \n);\n\n/**\n * Component for showing named colors in all their shades\n */\nconst ColorRamps = () => (\n
\n {swatches.map(({ swatchName, swatchColors }, i) => {\n const patternId = `pattern-checkers-${i}`;\n return (\n
\n

\n {swatchName}\n

\n
\n \n {renderTransparencyPattern(patternId)}\n \n \n {swatchColors.map(({ name, value }) => (\n \n ))}\n
\n
\n );\n })}\n
\n);\n\nexport default ColorRamps;\n","type Attribute = {\n key: string;\n label: string;\n value: string;\n};\n\ntype ColorCardProps = {\n attributes: Attribute[];\n};\n\nexport const ColorCard = ({ attributes }: ColorCardProps) => {\n const hexCode = attributes.find(({ key }) => key === 'hex').value;\n const hasCssVariable = attributes.find(({ key }) => key === 'css').value.startsWith('--');\n\n return (\n
\n
\n
\n {attributes.map(({ key, label, value }) => (\n
\n
{label}
\n
\n {key === 'css' && hasCssVariable ? (\n {value}\n ) : (\n value\n )}\n
\n
\n ))}\n
\n
\n );\n};\n","import { Accordion, AccordionItem } from '@cmsgov/design-system';\nimport { FC, PropsWithChildren } from 'react';\nimport { ThemeName, determineColorCategoryUsageByTheme } from '../../../helpers/themeTokens';\nimport { ColorCard } from './ColorCard';\n\ninterface ColorProps extends PropsWithChildren {\n /**\n * color categories such as \"primary\", \"secondary, \"accent\"\n */\n colorCategory: string | string[];\n /**\n * Name of currently selected theme\n */\n theme: ThemeName;\n /**\n * Whether to match the color category exactly or not\n */\n exactMatch?: boolean;\n}\n\nconst ColorTable: FC = ({ colorCategory, theme, exactMatch }) => {\n const { activeColors, availableColors } = determineColorCategoryUsageByTheme({\n colorCategory,\n themeName: theme,\n exactMatch,\n });\n\n return (\n <>\n {Boolean(activeColors.length) && (\n \n \n

\n These colors are currently found in components throughout the design system, but don’t\n represent the entire available palette.\n

\n {activeColors.map(({ name, attributes }) => (\n \n ))}\n
\n
\n )}\n {Boolean(availableColors.length) && (\n \n \n

\n These colors are available as part of the system palette, but are not currently used\n in existing components. Using these colors?{' '}\n Let the DS team know.\n

\n {availableColors.map(({ name, attributes }) => (\n \n ))}\n
\n
\n )}\n \n );\n};\n\nexport default ColorTable;\n","import type * as React from 'react';\n\ninterface ColorSwatchProps extends React.ComponentPropsWithRef<'svg'> {\n fill: string;\n title?: string;\n}\n\nconst ColorSwatch = ({ fill, title }: ColorSwatchProps) => (\n \n {title && {title}}\n \n \n);\n\nexport default ColorSwatch;\n","import capitalize from 'lodash/capitalize';\nimport uniqueId from 'lodash/uniqueId';\nimport {\n Table,\n TableHead,\n TableRow,\n TableBody,\n TableCell,\n TableCaption,\n} from '@cmsgov/design-system';\nimport ColorSwatch from './ColorSwatch';\nimport { getComponentVariables, ThemeName } from '../../helpers/themeTokens';\n\ninterface ComponentThemeOptionsProps {\n /**\n * Current theme name\n */\n theme: string;\n /**\n * The name of the component to render the customization table for\n */\n componentname: string;\n}\n\n/**\n * Takes a js object with name-value pairs and creates a list of configuration configuration\n * options with values from the token component theme loaded.\n */\nconst ComponentThemeOptions = ({ theme, componentname }: ComponentThemeOptionsProps) => {\n componentname = componentname.toLowerCase();\n const componentVariables = getComponentVariables(theme as ThemeName, componentname);\n\n const componentOptions = (\n \n \n CSS variables for {componentname}{' '}\n \n \n \n \n Variable\n \n \n Default {capitalize(theme)} Theme Value\n \n \n \n \n {componentVariables.map((variableInfo) => (\n \n \n {variableInfo.variableName}\n \n \n \n {variableInfo.resolvedToken.$type === 'color' && (\n \n )}\n {variableInfo.value}\n \n \n \n ))}\n \n
\n );\n\n return (\n
{componentOptions}
\n );\n};\n\nexport default ComponentThemeOptions;\n","import type * as React from 'react';\n\ninterface ExampleFooterProps {\n /**\n * A link or something to render to the right of the code button(s)\n */\n sourceLink?: React.ReactElement;\n}\n\n/**\n * HTML code snippet. This component will prettify an html string and do syntax highlighting\n */\nconst ExampleFooter = ({ sourceLink }: ExampleFooterProps) => {\n return
{sourceLink}
;\n};\n\nexport default ExampleFooter;\n","import type * as React from 'react';\nimport ExampleFooter from './ExampleFooter';\n\ninterface EmbeddedExampleProps {\n children: React.ReactElement;\n}\n\n/**\n * Shows a code example\n */\nconst EmbeddedExample = ({ children }: EmbeddedExampleProps) => (\n
\n
{children}
\n \n
\n);\n\nexport default EmbeddedExample;\n","import { SvgIcon } from '@cmsgov/design-system';\nimport { CheckStatus } from './MaturityChecklistItem';\n\ninterface StatusProps {\n status: CheckStatus;\n}\n\n/**\n * SVG for Email logo\n */\nconst Status = ({ status }: StatusProps) => {\n if (status === true) {\n return (\n <>\n \n \n \n Complete\n \n );\n } else if (status === null) {\n return (\n <>\n \n \n \n \n \n \n \n Not applicable\n \n );\n } else {\n return (\n <>\n \n \n \n Incomplete\n \n );\n }\n};\n\nexport default Status;\n","import type * as React from 'react';\nimport Status from './Status';\nimport classNames from 'classnames';\n\nexport type CheckStatus = boolean | null;\n\ninterface MaturityChecklistItemProps {\n status: CheckStatus;\n title: string;\n children: React.ReactNode;\n}\n\n/**\n *\n */\nconst MaturityChecklistItem = ({ status, title, children }: MaturityChecklistItemProps) => (\n \n
\n

{title}

\n
{children}
\n
\n
\n \n
\n \n);\n\nexport default MaturityChecklistItem;\n","import MaturityChecklistItem, { CheckStatus } from './MaturityChecklistItem';\nimport { linkAnalytics } from '../../../helpers/analytics';\n\ninterface MaturityChecklistProps {\n // Accessibility\n a11yStandards: CheckStatus;\n color: CheckStatus;\n forcedColors: CheckStatus;\n screenReaders: CheckStatus;\n keyboardNavigable: CheckStatus;\n\n // Code\n storybook: CheckStatus;\n responsive: CheckStatus;\n spanish: CheckStatus;\n\n // Design\n completeUiKit: CheckStatus;\n responsiveUiKit: CheckStatus;\n\n // Tokens\n tokensInCode: CheckStatus;\n tokensInFigma: CheckStatus;\n}\n\n/**\n *\n */\nconst MaturityChecklist = (props: MaturityChecklistProps) => (\n
\n

\n For more information about how we tested and validated our work for each checklist item,{' '}\n \n read our component maturity documentation\n \n .\n

\n\n

Accessibility

\n
    \n \n Meets AA color contrast standards for accessibility and color blindness.\n \n \n While using FCM the components text is legible and improves readability.\n \n \n All Axe checks for WCAG AA compliance have passed.\n \n \n VoiceOver, NVDA, and JAWS screen readers provide concise communication and interaction.\n \n \n Component is fully navigable with a keyboard.\n \n
\n\n

Code

\n
    \n \n Component has stories to cover all defined props.\n \n \n Component designed to work in all responsive breakpoints.\n \n \n Includes Spanish translations for default text content.\n \n
\n\n {/*

Design

\n
    \n \n Includes all Sketch symbols for defined options.\n \n \n All Sketch symbols designed for small and large breakpoints.\n \n
*/}\n\n

Tokens

\n
    \n \n Tokens implemented in code.\n \n \n Tokens implemented in Figma.\n \n
\n
\n);\n\nexport default MaturityChecklist;\n","import { Button } from '@cmsgov/design-system';\nimport { makeStorybookUrl } from '../../helpers/urlUtils';\nimport ExampleFooter from './ExampleFooter';\n\ninterface StorybookExampleFooterProps {\n /**\n * story id from storybook url\n * example: `components-[COMPONENT_NAME]--default`\n */\n storyId: string;\n /**\n * Current theme\n */\n theme: string;\n}\n\n/**\n * Goes below storybook-based examples and allows people to click a link to go directly\n * to the story within Storybook.\n */\nconst StorybookExampleFooter = ({ theme, storyId }: StorybookExampleFooterProps) => {\n return (\n
\n \n View interactive React examples in Storybook\n \n }\n />\n
\n );\n};\n\nexport default StorybookExampleFooter;\n","import { useState, useRef, useEffect } from 'react';\nimport { withPrefix } from 'gatsby';\nimport classnames from 'classnames';\nimport StorybookExampleFooter from './StorybookExampleFooter';\n\n// @TODO: grab these from tokens\nconst breakpoints = {\n xs: 360,\n sm: 544,\n md: 768,\n lg: 1024,\n xl: 1280,\n} as const;\n\nconst examplePadding = 16;\n\ninterface ResponsiveExample {\n /**\n * id for storybook story to display\n */\n storyId: string;\n /**\n * Accessible text to describe iframe content\n */\n title: string;\n /**\n * Current theme\n */\n theme: string;\n}\n\n/**\n * An example that includes breakpoints to mimic different screen sizes\n *\n * This uses a storybook story to display inner content and displays the html for the example\n *\n * To use this example, you must have a corresponding storybook story to reference\n */\nconst ResponsiveExample = ({ storyId, title, theme }: ResponsiveExample) => {\n const rootRef = useRef();\n const exampleWrapperRef = useRef();\n const [exampleWrapperWidth, setExampleWrapperWidth] = useState(200);\n const [iframeBreakpoint, setIframeBreakpoint] = useState('md');\n const [iframeHeight, setIFrameHeight] = useState(200);\n const iframeRef = useRef();\n const iframeUrl = withPrefix(\n `/storybook/iframe.html?id=${storyId}&viewMode=story&globals=theme:${theme}`\n );\n\n const availableWidth = exampleWrapperWidth - 2 * examplePadding;\n const iframeWidth = breakpoints[iframeBreakpoint];\n const iframeScale = Math.min(1, availableWidth / iframeWidth);\n const exampleWrapperHeight = iframeHeight * iframeScale + 2 * examplePadding;\n\n function calcExampleWidth() {\n setTimeout(() => {\n if (rootRef.current) {\n setExampleWrapperWidth(rootRef.current.offsetWidth);\n }\n }, 50);\n }\n\n useEffect(calcExampleWidth, [rootRef.current]);\n\n useEffect(() => {\n if (window) {\n window.addEventListener('resize', calcExampleWidth);\n }\n\n return () => {\n window.removeEventListener('resize', calcExampleWidth);\n // Remove resize listener set in the onIFrameLoad handler\n if (iframeRef.current?.contentWindow) {\n iframeRef.current.contentWindow.removeEventListener('resize', handleIframeResize);\n }\n };\n }, []);\n\n // when the iframe content resizes, recalculate the height at which it should be shown\n const handleIframeResize = () => {\n if (iframeRef.current) {\n const height = iframeRef.current.contentDocument.body.offsetHeight;\n setIFrameHeight(height);\n }\n };\n\n // when the iframe's content loads, set up listener and calculate height of iframe\n const onIFrameLoad = () => {\n if (iframeRef.current) {\n iframeRef.current.contentWindow.addEventListener('resize', handleIframeResize);\n iframeRef.current.contentDocument.documentElement.classList.add('ds-u-overflow--hidden');\n handleIframeResize();\n }\n };\n\n return (\n <>\n
\n
    \n {Object.keys(breakpoints).map((breakpointName: keyof typeof breakpoints) => (\n \n setIframeBreakpoint(breakpointName)}\n >\n {breakpointName}\n
    Width: {breakpoints[breakpointName]}
    \n \n \n ))}\n
\n \n \n {iframeScale < 1 && (\n
Scale: {iframeScale.toFixed(2)}
\n )}\n
\n \n \n \n );\n};\n\nexport default ResponsiveExample;\n","import { makeStorybookUrl } from '../../helpers/urlUtils';\nimport { linkAnalytics } from '../../helpers/analytics';\n\n// Create a link component that uses urlUtils to create the link\n// to the storybook page for the component\n\ninterface StorybookExampleFooterProps {\n /**\n * ID of the component's doc page in Storybook.\n */\n storyId: string;\n /**\n * Do you want to visit React documentation or Web Component documentation?\n */\n tech?: 'react' | 'wc';\n /**\n * Current theme name.\n */\n theme: string;\n}\n\nconst SeeStorybookForGuidance = ({\n theme,\n storyId,\n tech = 'react',\n}: StorybookExampleFooterProps) => {\n return (\n

\n \n {tech === 'react' ? 'Review' : 'Go to'} Storybook for{' '}\n {tech === 'react' ? 'React' : 'Web Component'} guidance of this component.\n \n

\n );\n};\n\nexport default SeeStorybookForGuidance;\n","const spacingTokens = [\n { name: '0', value: '0px' },\n { name: '05', value: '4px' },\n { name: '1', value: '8px' },\n { name: '2', value: '16px' },\n { name: '3', value: '24px' },\n { name: '4', value: '32px' },\n { name: '5', value: '40px' },\n { name: '6', value: '48px' },\n { name: '7', value: '56px' },\n];\n\ninterface SpacingUtilityExampleListProps {\n /**\n * Name of the utility that is based off of spacer tokens\n */\n baseUtilityName: string;\n /**\n * The utility-class qualifier, like `-x` or `-bottom`\n */\n qualifier?: string;\n /**\n * Not used right now, but could trigger a re-render in the future if spacing\n * values become different between design system themes.\n */\n theme: string;\n}\n\n/**\n * Displays a list of spacing utility class examples with their pixel values\n */\nconst SpacingUtilityExampleList = ({\n baseUtilityName,\n qualifier = '',\n}: SpacingUtilityExampleListProps) => (\n \n {spacingTokens.map(({ name, value }) => (\n
\n
\n
\n \n \n .ds-u-{baseUtilityName}\n {qualifier}--{name}\n \n {value}\n
\n ))}\n \n);\n\nexport default SpacingUtilityExampleList;\n","import { useEffect, useRef, useState } from 'react';\nimport classnames from 'classnames';\nimport StorybookExampleFooter from './StorybookExampleFooter';\nimport { Spinner } from '@cmsgov/design-system';\nimport { withPrefix } from 'gatsby';\nimport { clientOnly } from '../../helpers/clientOnly';\n\ninterface StorybookExampleProps {\n /**\n * name of component. Never displayed, but used for accessible labelling. Make sure this is unique on the page\n */\n componentName: string;\n /**\n * optional values supplied to alter controls on the story.\n */\n controls?: string;\n /**\n * min height of example container. Use for examples that have elements appear on interactivity that need more room\n */\n minHeight?: number;\n /**\n * story id from storybook url\n * example: `components-[COMPONENT_NAME]--default`\n */\n storyId: string;\n /**\n * Current theme\n */\n theme: string;\n}\n\n/**\n * An example to display storybook stories with markup that the story generates\n * This is mainly used on component pages\n *\n * If you need to show responsiveness, use the `ResponsiveExample`.\n * If you don't need a story, but can use regular HTML or React components, use an Embedded example.\n */\nconst StorybookExample = ({\n theme,\n componentName,\n minHeight,\n storyId,\n controls,\n}: StorybookExampleProps) => {\n const [iframeHeight, setiFrameHeight] = useState(200);\n const [isLoading, setIsLoading] = useState(true);\n const iframeRef = useRef();\n const controlArgs = controls ? `&args=${controls}` : '';\n const iframeUrl = withPrefix(\n `/storybook/iframe.html?id=${storyId}${controlArgs}&viewMode=story&globals=theme:${theme}`\n );\n\n useEffect(() => {\n if (window) {\n // when window resizes, recalculate the height of the iframe\n window.addEventListener('resize', updateIframeHeight);\n\n return () => {\n window.removeEventListener('resize', updateIframeHeight);\n };\n }\n }, []);\n\n /**\n * Calculate the new height of the iframe based on the content resizes.\n * Returns true if it detects height and resizes.\n */\n const updateIframeHeight = () => {\n const height = iframeRef?.current.contentDocument.body.offsetHeight;\n if (height > 0) {\n setiFrameHeight(height);\n return true;\n }\n return false;\n };\n\n // when the iframe's content loads, calculate height of iframe & set html\n const onIframeLoad = () => {\n const attemptToUpdateHeight = (millisecondsWaited = 0) => {\n if (updateIframeHeight()) {\n // Job well done\n return;\n }\n\n if (millisecondsWaited > 2000) {\n console.error(`Timed out waiting for content from ${iframeUrl} to have readable height`);\n } else {\n setTimeout(() => attemptToUpdateHeight(millisecondsWaited + 200), 200);\n }\n };\n\n attemptToUpdateHeight();\n setIsLoading(false);\n };\n\n return (\n <>\n
\n \n {isLoading && }\n \n \n
\n \n \n );\n};\n\nexport default clientOnly(StorybookExample);\n","import classNames from 'classnames';\nimport ColorSwatch from './ColorSwatch';\nimport { getThemeColorValue, ThemeName } from '../../helpers/themeTokens';\n\ninterface TextColorListProps {\n /**\n * a fill class for the background of the name text\n */\n backgroundClass: string;\n /**\n * list of variable color names\n */\n colorNames: string[];\n /**\n * the start of the color name. Sometimes it is the variable preface (`--color`) or sometimes it is the css class name (`ds-u`)\n */\n preface: string;\n /**\n * Name of currently selected theme\n */\n theme: string;\n}\n\n/**\n * Displays a list of text colors with example code and the hex value\n */\nconst TextColorList = ({ backgroundClass, colorNames, preface, theme }: TextColorListProps) => (\n \n {colorNames.map((name) => {\n const nameId = `color-name-${name}`;\n const valueId = `color-value-${name}`;\n return (\n
\n
\n \n \n {preface}\n {name}\n \n
\n
\n \n {getThemeColorValue(theme as ThemeName, name)}\n \n
\n
\n );\n })}\n \n);\n\nexport default TextColorList;\n","import { Children } from 'react';\nimport type * as React from 'react';\nimport { humanizeList } from '../../helpers/humanizeList';\n\ninterface StorybookDocLinksProps {\n children: React.ReactElement;\n theme: string;\n tech?: 'react' | 'wc';\n}\n\nconst StorybookDocLinks = ({ children, tech = 'react' }: StorybookDocLinksProps) => {\n const links = Children.toArray(children);\n const formattedLinks = humanizeList(links, { conjunction: 'and' });\n\n return (\n

\n See {formattedLinks} for {tech === 'react' ? 'React' : 'Web Component'} documentation.\n

\n );\n};\n\nexport default StorybookDocLinks;\n","import type * as React from 'react';\nimport { Fragment } from 'react';\n\ninterface HumanizeListOptions {\n conjunction?: string;\n oxfordComma?: boolean;\n}\n\n/**\n * Humanizes a list of React nodes by joining them with a conjunction. Originally from\n * https://github.com/chadly/humanize-react/, but the package is no longer maintained.\n */\nexport function humanizeList(list: React.ReactNode[], options: HumanizeListOptions = {}) {\n if (!Array.isArray(list)) {\n throw new TypeError('humanizeReactList expected an array');\n }\n\n const { conjunction = 'and', oxfordComma = true } = options;\n\n const listLength = list.length;\n if (listLength === 1) {\n return list[0];\n }\n\n const humanizedList = [];\n for (let i = 0; i < listLength; i++) {\n if (i === listLength - 1) {\n if (listLength > 2 && oxfordComma) {\n humanizedList.push(,);\n }\n\n humanizedList.push( {conjunction} );\n } else if (i !== 0) {\n humanizedList.push(, );\n }\n\n humanizedList.push({list[i]});\n }\n\n return <>{humanizedList};\n}\n","import { makeStorybookUrl } from '../../helpers/urlUtils';\nimport { linkAnalytics } from '../../helpers/analytics';\ninterface StorybookDocLinkProps {\n /**\n * Name of component\n */\n children: string;\n /**\n * ID of the component's doc page in Storybook.\n */\n storyId: string;\n theme: string;\n /**\n * Type of documentation, React or Web Component.\n */\n tech?: 'react' | 'wc';\n}\n\nconst StorybookDocLink = ({ storyId, theme, children, tech = 'react' }: StorybookDocLinkProps) => (\n \n Storybook "{children}" page\n \n);\n\nexport default StorybookDocLink;\n","import {\n Badge,\n CloseIconThin,\n Table,\n TableBody,\n TableCaption,\n TableCell,\n TableHead,\n TableRow,\n} from '@cmsgov/design-system';\nimport themes from '../../../../../themes.json';\nimport { capitalize } from '../../helpers/capitalize';\ntype ThemeName = keyof typeof themes;\n\ntype DataItem = {\n cssClass: string;\n figmaToken: string;\n example?: string | { [key in ThemeName]: string | null };\n usage?: string | { [key in ThemeName]: string | null };\n};\n\ntype Header = {\n dataKey: keyof DataItem;\n label: string;\n};\n\nexport interface TypographyProps {\n /**\n * The table caption contents.\n */\n caption: React.ReactNode;\n /**\n * An array of objects containing a \"dataKey\" used to relate cells (rendered as `)` to a specific header (``) and a \"label\" which is the display name of the header.\n */\n headers: Header[];\n /**\n * An array of objects to be displayed as rows. The available keys are `cssClass`, `figmaToken`, `example`, and `usage`. The `example` and `usage` keys can be a string or an object with keys that match a DS theme that pertain a string specific to that theme. If the `example` value for a theme is `null`, it will render a badge indicating that the class is not used by that theme. If the `example` value is `example-link`, it will render a link.\n */\n data: DataItem[];\n /**\n * One of the available design system themes (e.g. healthcare).\n */\n theme: ThemeName;\n}\n\nconst DEFAULT_EXAMPLE_TEXT = 'Tuscaloosa';\n\nconst UnusedBadge = ({ theme }: { theme: ThemeName }) => {\n const displayName = capitalize(theme);\n\n return (\n \n Unused by {displayName}.\n \n );\n};\n\nconst DynamicTableCell = ({\n dataItem,\n header,\n theme,\n}: {\n dataItem: DataItem;\n header: Header;\n theme: ThemeName;\n}) => {\n const { dataKey, label } = header;\n const value = dataItem[dataKey];\n const data = typeof value === 'object' ? value[theme] : value;\n let content: React.ReactNode = data;\n\n const isCSSClass = dataKey === 'cssClass';\n const isExample = dataKey === 'example';\n const isNotUsedByTheme = isExample && data === null;\n const isExampleLink = isExample && data === 'example-link';\n\n if (isNotUsedByTheme) {\n content = ;\n } else if (isExampleLink) {\n content = (\n \n {DEFAULT_EXAMPLE_TEXT}\n \n );\n } else if (isExample) {\n content = {data ?? DEFAULT_EXAMPLE_TEXT};\n } else if (isCSSClass) {\n content = {data};\n }\n\n return (\n \n {content}\n \n );\n};\n\nconst TypographyUsageTable = ({ caption, data, headers, theme }: TypographyProps) => {\n // core should not display 'usage' column\n const filteredHeaders =\n theme === 'core' ? headers.filter(({ dataKey }) => dataKey !== 'usage') : headers;\n\n return (\n \n {caption}\n \n \n {filteredHeaders.map(({ dataKey, label }) => (\n \n {label}\n \n ))}\n \n \n \n {data.map((dataItem) => (\n \n {filteredHeaders.map((header) => (\n \n ))}\n \n ))}\n \n \n );\n};\n\nexport default TypographyUsageTable;\n","import Prism from 'prismjs';\nimport { ThirdPartyExternalLink } from '@cmsgov/design-system';\n\nimport { MDXRenderer } from 'gatsby-plugin-mdx';\nimport { MDXProvider } from '@mdx-js/react';\nimport { Link, withPrefix } from 'gatsby';\n\nimport ButtonMigrationTable from './ButtonMigrationTable';\nimport ButtonVariationsTable from './ButtonVariationsTable';\nimport ColorExampleList from './ColorExampleList';\nimport ColorRamps from './ColorRamps';\nimport ColorTable from './ColorTable';\nimport ComponentThemeOptions from './ComponentThemeOptions';\nimport EmbeddedExample from './EmbeddedExample';\nimport MaturityChecklist from './MaturityChecklist';\nimport ResponsiveExample from './ResponsiveExample';\nimport SeeStorybookForGuidance from './SeeStorybookForGuidance';\nimport SpacingUtilityExampleList from './SpacingUtilityExampleList';\nimport StorybookExample from './StorybookExample';\nimport TextColorList from './TextColorList';\nimport ThemeContent from './ThemeContent';\nimport StorybookDocLinks from './StorybookDocLinks';\nimport StorybookDocLink from './StorybookDocLink';\nimport { linkAnalytics } from '../../helpers/analytics';\nimport TypographyUsageTable from './TypographyUsageTable';\n\n// adds DS styling to tables from markdown\nconst TableWithClassnames = (props) => {\n return (\n
\n
\n
\n );\n};\n\n// using prismjs to do syntax highlighting in code blocks\nconst CodeWithSyntaxHighlighting = ({\n children,\n className,\n}: {\n children: string;\n className: string;\n}) => {\n let language = className?.replace('language-', '');\n // catch all in case the language defined isn't supported by Prismjs\n if (!Prism.languages[language]) {\n language = 'text';\n }\n\n const highlightedContent = Prism.highlight(children, Prism.languages[language]);\n // eslint-disable-next-line react/no-danger\n return ;\n};\n\n// for preformatted text that has code as it's child, set language class on
 too\n// this allows scrolling in code block on small screens\nconst PreformattedWithLanguageClass = (props: any) => {\n  if (props.children?.props?.mdxType === 'code' && props.children?.props?.className) {\n    return 
;\n  }\n  return 
;\n};\n\nconst TextWithMaxWidth = (props: any, Component) => {\n  const className = props.className ? `${props.className}` : null;\n  return ;\n};\n\n/**\n * Hack to fix missing path prefixes on static images imported from src\n */\nconst PrefixedImg = (props) => {\n  // When navigating from another page, the Gatsby client dynamically pulls the new page\n  // information and renders with the prefix correctly, so we only want to apply the\n  // path prefix manually if it isn't already there. When we load fresh with a new HTTP\n  // request to a static HTML file, it'll use what's in the HTML, so we add the prefix\n  // when statically rendering, which seems to be where Gatsby fails to use it normally.\n  const pathPrefix = withPrefix('/');\n  const src = props.src.includes(pathPrefix) ? props.src : withPrefix(props.src);\n  return ;\n};\n\n/**\n * Regular expression that matches valid URLs with .gov domains or ones for our repo\n */\nconst RE_INTERNAL_URL =\n  /^(?:https?:\\/\\/)?(?:[a-zA-Z\\-]+\\.)?(?:[a-zA-Z\\-]+\\.(?:gov)|github\\.com\\/CMSgov\\/design-system)(?:\\/|:|\\?|\\&|\\s|$)\\/?/;\n/**\n * A mapping of custom components for mdx syntax\n * Each mapping has a key with the element name and a value of a functional component to be used for that element\n */\nconst customComponents = (theme) => ({\n  a: (props) => {\n    const { href, ...restProps } = props;\n    if (href.startsWith('http') && !RE_INTERNAL_URL.test(href)) {\n      return ;\n    }\n    if (href.includes('github.com/CMSgov/design-system') || href.startsWith('https:')) {\n      return ;\n    } else {\n      return ;\n    }\n  },\n  ButtonMigrationTable: (props) => ,\n  ButtonVariationsTable: (props) => ,\n  code: CodeWithSyntaxHighlighting,\n  ColorExampleList: (props) => ,\n  ColorRamps,\n  ColorTable: (props) => ,\n  ComponentThemeOptions: (props) => ,\n  EmbeddedExample,\n  img: PrefixedImg,\n  MaturityChecklist,\n  ol: (props) => TextWithMaxWidth(props, 'ol'),\n  p: (props) => TextWithMaxWidth(props, 'p'),\n  pre: PreformattedWithLanguageClass,\n  StorybookDocLinks,\n  StorybookDocLink: (props) => ,\n  ResponsiveExample: (props) => ,\n  SeeStorybookForGuidance: (props) => ,\n  SpacingUtilityExampleList: (props) => ,\n  StorybookExample: (props) => ,\n  table: TableWithClassnames,\n  TextColorList: (props) => ,\n  ThemeContent: (props) => ,\n  TypographyUsageTable: (props) => ,\n  ul: (props) => TextWithMaxWidth(props, 'ul'),\n});\n\ninterface ContentRendererProps {\n  /**\n   * A string of mdx data returned from graphQL\n   * Usually the `data.body.mdx` property from a `mdx` graphQL query\n   */\n  data: string;\n  /**\n   * Current theme\n   */\n  theme: string;\n}\n\n/**\n * ContentRenderer - a component to standardize the steps needed to display MDX content as page content\n * @see https://www.gatsbyjs.com/plugins/gatsby-plugin-mdx/#components for details\n */\nconst ContentRenderer = ({ data, theme }: ContentRendererProps) => {\n  return (\n    \n      {data}\n    \n  );\n};\n\nexport default ContentRenderer;\n","/**\n * Welcome to gatsby-plugin-mdx!\n *\n * Start reading in gatsby-node.js\n */\n\nconst MDXRenderer = require(`./mdx-renderer`)\n\nmodule.exports = {\n  MDXRenderer: MDXRenderer,\n}\n","const React = require(`react`)\nconst { mdx } = require(`@mdx-js/react`)\nconst { useMDXScope } = require(`./context`)\n\nmodule.exports = function MDXRenderer({\n  scope,\n  children,\n  ...props\n}) {\n  const mdxScope = useMDXScope(scope)\n\n  // Memoize the compiled component\n  const End = React.useMemo(() => {\n    if (!children) {\n      return null\n    }\n\n    const fullScope = {\n      // React is here just in case the user doesn't pass them in\n      // in a manual usage of the renderer\n      React,\n      mdx,\n      ...mdxScope,\n    }\n\n    const keys = Object.keys(fullScope)\n    const values = keys.map(key => fullScope[key])\n    const fn = new Function(`_fn`, ...keys, `${children}`)\n\n    return fn({}, ...values)\n  }, [children, scope])\n\n  return React.createElement(End, {...props })\n}\n","/**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction asciiToArray(string) {\n  return string.split('');\n}\n\nmodule.exports = asciiToArray;\n","/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n  var index = -1,\n      length = array.length;\n\n  if (start < 0) {\n    start = -start > length ? 0 : (length + start);\n  }\n  end = end > length ? length : end;\n  if (end < 0) {\n    end += length;\n  }\n  length = start > end ? 0 : ((end - start) >>> 0);\n  start >>>= 0;\n\n  var result = Array(length);\n  while (++index < length) {\n    result[index] = array[index + start];\n  }\n  return result;\n}\n\nmodule.exports = baseSlice;\n","var baseSlice = require('./_baseSlice');\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n  var length = array.length;\n  end = end === undefined ? length : end;\n  return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nmodule.exports = castSlice;\n","var castSlice = require('./_castSlice'),\n    hasUnicode = require('./_hasUnicode'),\n    stringToArray = require('./_stringToArray'),\n    toString = require('./toString');\n\n/**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\nfunction createCaseFirst(methodName) {\n  return function(string) {\n    string = toString(string);\n\n    var strSymbols = hasUnicode(string)\n      ? stringToArray(string)\n      : undefined;\n\n    var chr = strSymbols\n      ? strSymbols[0]\n      : string.charAt(0);\n\n    var trailing = strSymbols\n      ? castSlice(strSymbols, 1).join('')\n      : string.slice(1);\n\n    return chr[methodName]() + trailing;\n  };\n}\n\nmodule.exports = createCaseFirst;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n    rsComboMarksRange = '\\\\u0300-\\\\u036f',\n    reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n    rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n    rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n    rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange  + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n  return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n","var asciiToArray = require('./_asciiToArray'),\n    hasUnicode = require('./_hasUnicode'),\n    unicodeToArray = require('./_unicodeToArray');\n\n/**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction stringToArray(string) {\n  return hasUnicode(string)\n    ? unicodeToArray(string)\n    : asciiToArray(string);\n}\n\nmodule.exports = stringToArray;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n    rsComboMarksRange = '\\\\u0300-\\\\u036f',\n    reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n    rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n    rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n    rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n    rsCombo = '[' + rsComboRange + ']',\n    rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n    rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n    rsNonAstral = '[^' + rsAstralRange + ']',\n    rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n    rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n    rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n    rsOptVar = '[' + rsVarRange + ']?',\n    rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n    rsSeq = rsOptVar + reOptMod + rsOptJoin,\n    rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction unicodeToArray(string) {\n  return string.match(reUnicode) || [];\n}\n\nmodule.exports = unicodeToArray;\n","var toString = require('./toString'),\n    upperFirst = require('./upperFirst');\n\n/**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\nfunction capitalize(string) {\n  return upperFirst(toString(string).toLowerCase());\n}\n\nmodule.exports = capitalize;\n","var createCaseFirst = require('./_createCaseFirst');\n\n/**\n * Converts the first character of `string` to upper case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.upperFirst('fred');\n * // => 'Fred'\n *\n * _.upperFirst('FRED');\n * // => 'FRED'\n */\nvar upperFirst = createCaseFirst('toUpperCase');\n\nmodule.exports = upperFirst;\n","\n/* **********************************************\n     Begin prism-core.js\n********************************************** */\n\n/// \n\nvar _self = (typeof window !== 'undefined')\n\t? window   // if in browser\n\t: (\n\t\t(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope)\n\t\t\t? self // if in worker\n\t\t\t: {}   // if in node js\n\t);\n\n/**\n * Prism: Lightweight, robust, elegant syntax highlighting\n *\n * @license MIT \n * @author Lea Verou \n * @namespace\n * @public\n */\nvar Prism = (function (_self) {\n\n\t// Private helper vars\n\tvar lang = /(?:^|\\s)lang(?:uage)?-([\\w-]+)(?=\\s|$)/i;\n\tvar uniqueId = 0;\n\n\t// The grammar object for plaintext\n\tvar plainTextGrammar = {};\n\n\n\tvar _ = {\n\t\t/**\n\t\t * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the\n\t\t * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load\n\t\t * additional languages or plugins yourself.\n\t\t *\n\t\t * By setting this value to `true`, Prism will not automatically highlight all code elements on the page.\n\t\t *\n\t\t * You obviously have to change this value before the automatic highlighting started. To do this, you can add an\n\t\t * empty Prism object into the global scope before loading the Prism script like this:\n\t\t *\n\t\t * ```js\n\t\t * window.Prism = window.Prism || {};\n\t\t * Prism.manual = true;\n\t\t * // add a new