diff --git a/package-lock.json b/package-lock.json index 6ac849263..ba115d601 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9701,9 +9701,9 @@ "dev": true }, "node_modules/@types/aws-lambda": { - "version": "8.10.137", - "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.137.tgz", - "integrity": "sha512-YNFwzVarXAOXkjuFxONyDw1vgRNzyH8AuyN19s0bM+ChSu/bzxb5XPxYFLXoqoM+tvgzwR3k7fXcEOW125yJxg==", + "version": "8.10.138", + "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.138.tgz", + "integrity": "sha512-71EHMl70TPWIAsFuHd85NHq6S6T2OOjiisPTrH7RgcjzpJpPh4RQJv7PvVvIxc6PIp8CLV7F9B+TdjcAES5vcA==", "dev": true }, "node_modules/@types/babel__core": { @@ -10281,9 +10281,9 @@ } }, "node_modules/@types/lodash": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.1.tgz", - "integrity": "sha512-X+2qazGS3jxLAIz5JDXDzglAF3KpijdhFxlf/V1+hEsOUc+HnWi81L/uv/EvGuV90WY+7mPGFCUDGfQC3Gj95Q==", + "version": "4.17.4", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.4.tgz", + "integrity": "sha512-wYCP26ZLxaT3R39kiN2+HcJ4kTd3U1waI/cY7ivWYqFP6pW3ZNpvi6Wd6PHZx7T/t8z0vlkXMg3QYLa7DZ/IJQ==", "dev": true }, "node_modules/@types/lodash.flattendeep": { @@ -12831,9 +12831,9 @@ "optional": true }, "node_modules/aws-sdk": { - "version": "2.1621.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1621.0.tgz", - "integrity": "sha512-v6rxF1u0GpQG1Y9Wul9iaqulSV2uEnp0kHKd6/lZcvEgTYhtJ8N0hOLfqRSWHjH5PaIa46hR9zSAp51r8DJ/OA==", + "version": "2.1623.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1623.0.tgz", + "integrity": "sha512-SFPc+QJqoghsE0nn6YSmrDDDPpWc3m4rcDQYg6W3GQek+f1v6kycxM5+N58pMZ2iWhRSOTf9NQRcZj0ZU3PklQ==", "dev": true, "hasInstallScript": true, "optional": true, @@ -14367,9 +14367,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001618", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001618.tgz", - "integrity": "sha512-p407+D1tIkDvsEAPS22lJxLQQaG8OTBEqo0KhzfABGk0TU4juBNDSfH0hyAp/HRyx+M8L17z/ltyhxh27FTfQg==", + "version": "1.0.30001620", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001620.tgz", + "integrity": "sha512-WJvYsOjd1/BYUY6SNGUosK9DUidBPDTnOARHp3fSmFO1ekdxaY6nKRttEVrfMmYi80ctS0kz1wiWmm14fVc3ew==", "funding": [ { "type": "opencollective", @@ -16893,9 +16893,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.770", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.770.tgz", - "integrity": "sha512-ONwOsDiVvV07CMsyH4+dEaZ9L79HMH/ODHnDS3GkIhgNqdDHJN2C18kFb0fBj0RXpQywsPJl6k2Pqg1IY4r1ig==" + "version": "1.4.774", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.774.tgz", + "integrity": "sha512-132O1XCd7zcTkzS3FgkAzKmnBuNJjK8WjcTtNuoylj7MYbqw5eXehjQ5OK91g0zm7OTKIPeaAG4CPoRfD9M1Mg==" }, "node_modules/email-addresses": { "version": "5.0.0", @@ -17282,9 +17282,9 @@ } }, "node_modules/es-module-lexer": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.2.tgz", - "integrity": "sha512-l60ETUTmLqbVbVHv1J4/qj+M8nq7AwMzEcg3kmJDt9dCNrTk+yHcYFf/Kw75pMDwd9mPcIGCG5LcS20SxYRzFA==" + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.3.tgz", + "integrity": "sha512-i1gCgmR9dCl6Vil6UKPI/trA69s08g/syhiDK9TG0Nf1RJjjFI+AzoWW7sPufzkgYAn861skuCwJa0pIIHYxvg==" }, "node_modules/es-object-atoms": { "version": "1.0.0", @@ -35570,9 +35570,9 @@ "dev": true }, "node_modules/sass": { - "version": "1.77.1", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.77.1.tgz", - "integrity": "sha512-OMEyfirt9XEfyvocduUIOlUSkWOXS/LAt6oblR/ISXCTukyavjex+zQNm51pPCOiFKY1QpWvEH1EeCkgyV3I6w==", + "version": "1.77.2", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.77.2.tgz", + "integrity": "sha512-eb4GZt1C3avsX3heBNlrc7I09nyT00IUuo4eFhAbeXWU2fvA7oXI53SxODVAA+zgZCk9aunAZgO+losjR3fAwA==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", @@ -41476,7 +41476,7 @@ }, "packages/terra-application-docs": { "name": "@cerner/terra-application-docs", - "version": "3.2.0", + "version": "3.3.0", "license": "Apache-2.0", "dependencies": { "@cerner/terra-dev-site": "^8.2.0", diff --git a/packages/terra-application-docs/CHANGELOG.md b/packages/terra-application-docs/CHANGELOG.md index c437e9d32..1cef8485d 100644 --- a/packages/terra-application-docs/CHANGELOG.md +++ b/packages/terra-application-docs/CHANGELOG.md @@ -2,6 +2,11 @@ ## Unreleased +## 3.3.0 - (May 20, 2024) + +* Added + * Added upgrade guide for terra-application v2. + * Changed * Moved docs from the `terra-application` package. diff --git a/packages/terra-application-docs/package.json b/packages/terra-application-docs/package.json index e7b14fed9..845731ffa 100644 --- a/packages/terra-application-docs/package.json +++ b/packages/terra-application-docs/package.json @@ -1,6 +1,6 @@ { "name": "@cerner/terra-application-docs", - "version": "3.2.0", + "version": "3.3.0", "description": "Contains documentation for packages in the terra-application monorepo", "author": "Cerner Corporation", "repository": { diff --git a/packages/terra-application-docs/src/terra-dev-site/app/Application.1.app.mdx b/packages/terra-application-docs/src/terra-dev-site/app/Application.1.app.mdx index fbc5bf1fe..511b55104 100644 --- a/packages/terra-application-docs/src/terra-dev-site/app/Application.1.app.mdx +++ b/packages/terra-application-docs/src/terra-dev-site/app/Application.1.app.mdx @@ -37,64 +37,124 @@ Terra Application contains many components designed to help solve common web app The ApplicationBase component is the entrypoint into the Terra application framework. Applications must render ApplicationBase around their content to provide the content with ApplicationBase's features. -- [Application Base API](/application/terra-application/components/application-base) +```js +import ApplicationBase from 'terra-application/application-base'; +``` + +- [Application Base API](./components/application-base) ### Application Navigation Consistent navigation throughout Cerner applications helps provide a positive user experience by teaching users what to expect when interacting with applications. The ApplicationNavigation component provides a styled layout and controls used for navigating within an application. -- [Application Navigation API](/application/terra-application/components/application-navigation) +```js +import ApplicationNavigation, { + ApplicationNavigationActionsContext, + extensionItemsPropType, + navigationItemsPropType, + titleConfigPropType, + userConfigPropType, + utilityItemsPropType, +} from 'terra-application/application-navigation'; +``` + +- [Application Navigation API](./components/application-navigation) ### JS Error Handling Typically when a javascript error occurs in a web application, the entire page will be broken. Using [react error boundaries](https://reactjs.org/docs/error-boundaries.html), Terra provides a way to isolate the error to prevent the entire application from being taken down. -- [Application Error Boundary API](/application/terra-application/components/application-error-boundary) +```js +import ApplicationErrorBoundary from 'terra-application/application-error-bounary'; +``` + +- [Application Error Boundary API](./components/application-error-boundary) ### Overlays Presenting overlays over content being loaded or saved to a server is a common application pattern. Terra provides an application overlay to overlay loading content, as well as an application overlay provider to redefine what portion of the page should be overlaid. -- [Application Overlay API](/application/terra-application/components/application-loading-overlay) -- [Application Overlay Provider API](/application/terra-application/components/application-loading-overlay-provider) +```js +import ApplicationLoadingOverlay, { ApplicationLoadingOverlayContext, ApplicationLoadingOverlayProvider } from 'terra-application/application-loading-overlay'; +``` + +- [Application Overlay API](./components/application-loading-overlay) +- [Application Overlay Provider API](./components/application-loading-overlay-provider) ### Status Views Presenting status views to show the current state of the page is a common application pattern. Terra provides an application status view to present a status view over the content, as well as an application status view provider to redefine what portion of the page should be overlaid. -- [Application Status View API](/application/terra-application/components/application-status-overlay) -- [Application Status View Provider API](/application/terra-application/components/application-status-overlay-provider) +```js +import ApplicationStatusOverlay, { ApplicationStatusOverlayContext, ApplicationStatusOverlayProvider } from 'terra-application/application-status-overlay'; +``` + +- [Application Status View API](./components/application-status-overlay) +- [Application Status View Provider API](./components/application-status-overlay-provider) ### Notification Banners Notification Banners are used to bring the user's attention to important displayed information. This common interface pattern requires strategic placement and ordering on the application screen to be effective. Terra Application provides banner management to align with these needs. -- [Notification Banners API](/application/terra-application/components/notification-banner) +```js +import NotificationBanner from 'terra-application/notification-banner'; +``` + +- [Notification Banners API](./components/notification-banner) ### Modal disclosure Presenting content within a modal is a common, yet tricky pattern. To help reduce this complexity Terra provides API's, through the disclosure manager, to present modal content. -- [Disclosure Manager API](/application/terra-application/contexts/disclosure-manager-context) +```js +import DisclosureManager,{ + DisclosureManagerContext, + DisclosureManagerDelegate, + DisclosureManagerHeaderAdapter, + DisclosureManagerHeaderAdapterContext, + availableDisclosureHeights, + availableDisclosureSizes, + availableDisclosureWidths, + closeMostRecentDisclosure, + disclosureManagerShape, + getActiveDisclosureCount + withDisclosureManager, +} from 'terra-application/disclosure-manager'; +``` + +- [Disclosure Manager API](./contexts/disclosure-manager-context) ### Unsaved Changes Unsaved form data is another common pattern. Terra provides the Navigation prompt to prevent navigating away from unsaved changes. -- [Navigation Prompt API](/application/terra-application/components/navigation-prompt) +```js +import NavigationPrompt,{ +NavigationPromptCheckpoint, +PromptRegistrationContext, +getUnsavedChangesPromptOptions, +navigationPromptResolutionOptionsShape, +} from 'terra-application/navigation-prompt'; +``` + +- [Navigation Prompt API](./components/navigation-prompt) ### Slide panel disclosure Presenting content to a slide panel is less common, yet still tricky. Similar to modal manager we provide the disclosure manager api to disclose content to slide panels, as well as a slide panel manager to define the slide panel in the application. -- [Slide Panel Manager](/application/terra-application/components/slide-panel-manager) -- [Disclosure Manager API](/application/terra-application/contexts/disclosure-manager-context) +```js +import SlidePanelManager from 'terra-application/slide-panel-manager'; +``` + +- [Slide Panel Manager](./components/slide-panel-manager) +- [Disclosure Manager API](./contexts/disclosure-manager-context) ### Active Breakpoints Many applications respond to the current active breakpoint to adjust for screen size. We provide the active breakpoint as a context to limit the number of component that listen to the browser resize event. -- [Active Breakpoint Context API](/application/terra-application/contexts/active-breakpoint-context) +- [Active Breakpoint Context API](./contexts/active-breakpoint-context) ### Internationalization @@ -106,7 +166,11 @@ Terra applications must work for many locales, `react-intl` should be utilized f Applications commonly switch between light and dark modes. Terra provides theme APIs to allow theming of custom components within a terra application. -- [Theme Context API](/application/terra-application/contexts/theme-context) +```js +import { ThemeContext } from 'terra-application/theme'; +``` + +- [Theme Context API](./contexts/theme-context) ### Component Composition diff --git a/packages/terra-application-docs/src/terra-dev-site/app/Demo.5.app.jsx b/packages/terra-application-docs/src/terra-dev-site/app/Demo.6.app.jsx similarity index 100% rename from packages/terra-application-docs/src/terra-dev-site/app/Demo.5.app.jsx rename to packages/terra-application-docs/src/terra-dev-site/app/Demo.6.app.jsx diff --git a/packages/terra-application-docs/src/terra-dev-site/app/FAQ.4.app.mdx b/packages/terra-application-docs/src/terra-dev-site/app/FAQ.5.app.mdx similarity index 100% rename from packages/terra-application-docs/src/terra-dev-site/app/FAQ.4.app.mdx rename to packages/terra-application-docs/src/terra-dev-site/app/FAQ.5.app.mdx diff --git a/packages/terra-application-docs/src/terra-dev-site/app/UpgradeGuide.4.app.mdx b/packages/terra-application-docs/src/terra-dev-site/app/UpgradeGuide.4.app.mdx new file mode 100644 index 000000000..0bbfd4c96 --- /dev/null +++ b/packages/terra-application-docs/src/terra-dev-site/app/UpgradeGuide.4.app.mdx @@ -0,0 +1,116 @@ +# Upgrade Guide + +## Upgrading from terra-application v1 to terra-application v2 + +### Unsupported functionality from V1 + +The following features are no longer supported with terra-application-v2 + +- **Custom locales**: +Custom locales are no longer are supported due to react-intl v5 & webpack limitations. +Terra currently supports the following locales: + + * en + * en-AU + * en-CA + * en-US + * en-GB + * es + * es-US + * es-ES + * de + * fr + * fr-FR + * nl + * nl-BE + * pt + * pt-BR + * sv + * sv-SE + +- **Custom terra-base implementation**: + `terra-base` and `terra-i18n` are deprecated and not supported alongside terra-application v2. + If these dependencies are installed, then they must be removed. + If there are custom implementations utilizing these dependencies then they must be rewritten to utilize `terra-application/application-base`. + +### Prerequisites +Upgrading to terra-application v2 has the following requirements: + +- Upgrading the project to Node 14. Terra-application v2 requires a minimum of Node 14, therefore the project must be up +- Upgrading the project to Jest 29. If `jest-config-terra` is used, then it should be upgraded to v3. + Refer to the upgrade guide for `jest-config-terra` on how to upgrade to v3. + +It is recommended to complete these prerequisites before upgrading to terra-application v2 to make the upgrade easier. + +### Code changes + +#### Dependency updates + +Once the prerequisites listed above are complete, the project can be upgraded to terra-application v2. +terra-application v2 requires the following dependences versions to be updated as part of the upgrade process: +* terra-aggregate-translations must be updated to v3. +* webpack-config-terra must be updated to v4. +* terra-dev-site must be updated to v8. +* rect-intl must be updated to v5 as the above dependences and terra-application v2 all require v5 as a peerDependency. + +```diff +"peerDependencies": { +- "react-intl": "2", ++ "react-intl": "5", +- "terra-application": "1", ++ "terra-application": "2", +}, +"devDependencies": { +- "@cerner/terra-aggregate-translations": "2", +- "@cerner/terra-dev-site": "7", +- "@cerner/webpack-config-terra": "3", ++ "@cerner/terra-aggregate-translations": "3", ++ "@cerner/terra-dev-site": "8", ++ "@cerner/webpack-config-terra": "4", +} +``` + +#### Import updates + +Terra-application now uses proper submodule export partterns. +The table below maps the old imports to the new imports. + +| old imports | new imports | +| ---------------------------------------------------------------------- | ------------------------------------------------------------------ | +| `import ApplicationBase from 'terra-application'` | `import ApplicationBase from 'terra-application/application-base'` | +| `import ApplicationBase from 'terra-application/lib/application-base'` | `import ApplicationBase from 'terra-application/application-base'` | +| `import * from 'terra-application/lib/action-menu'` | `import * from 'terra-application/action-menu'` | +| `import * from 'terra-application/lib/application-container'` | `import * from 'terra-application/application-container'` | +| `import * from 'terra-application/lib/application-error-boundary'` | `import * from 'terra-application/application-error-boundary'` | +| `import * from 'terra-application/lib/application-intl'` | `import * from 'terra-application/application-intl'` | +| `import * from 'terra-application/lib/application-loading-overlay'` | `import * from 'terra-application/application-loading-overlay'` | +| `import * from 'terra-application/lib/application-navigation'` | `import * from 'terra-application/application-navigation'` | +| `import * from 'terra-application/lib/application-status-overlay'` | `import * from 'terra-application/application-status-overlay'` | +| `import * from 'terra-application/lib/breakpoints'` | `import * from 'terra-application/breakpoints'` | +| `import * from 'terra-application/lib/disclosure-manager'` | `import * from 'terra-application/disclosure-manager'` | +| `import * from 'terra-application/lib/modal-manager'` | `import * from 'terra-application/modal-manager'` | +| `import * from 'terra-application/lib/navigation-prompt'` | `import * from 'terra-application/navigation-prompt'` | +| `import * from 'terra-application/lib/notification-banner'` | `import * from 'terra-application/notification-banner'` | +| `import * from 'terra-application/lib/slide-panel-manager'` | `import * from 'terra-application/slide-panel-manager'` | +| `import * from 'terra-application/lib/theme'` | `import * from 'terra-application/theme'` | +| `import Logger from 'terra-application/lib/utils/logger'` | `import { Logger } from 'terra-application/utils'` | +| `import EventEmitter from 'terra-application/lib/utils/event-emitter'` | `import { EventEmitter } from 'terra-application/utils'` | +| `import * from 'terra-application/lib/workspace'` | `import * from 'terra-application/workspace'` | + + +#### `react-intl` updates + +react-intl v5 no longer exports `intlShape`. All usage of `intlShape` would need to be updated as follows: + +```diff +- intl: intlShape.isRequired, ++ intl: PropTypes.shape({ formatMessage: PropTypes.func }).isRequired, +``` + +For more information, refer to the react-intl upgrade guides. You may need to refer to the v3 & v4 upgrade guides in addition to v5. + +https://formatjs.io/docs/react-intl/upgrade-guide-5x + +https://formatjs.io/docs/react-intl/upgrade-guide-4x + +https://formatjs.io/docs/react-intl/upgrade-guide-3x diff --git a/packages/terra-application-docs/src/terra-dev-site/tool/terra-dev-site/UpgradeGuides.f/v8.0.0.r.tool.mdx b/packages/terra-application-docs/src/terra-dev-site/tool/terra-dev-site/UpgradeGuides.f/v8.0.0.r.tool.mdx new file mode 100644 index 000000000..f1522bcd0 --- /dev/null +++ b/packages/terra-application-docs/src/terra-dev-site/tool/terra-dev-site/UpgradeGuides.f/v8.0.0.r.tool.mdx @@ -0,0 +1,4 @@ +# v8 Upgrade Guide + +`terra-dev-site v8` requires `react-intl v5` and `terra-application v2` as peerDependencies. +For more information, refer to the [terra-application v2 upgrade guide](../../app/upgrade-guide). diff --git a/packages/terra-application/CHANGELOG.md b/packages/terra-application/CHANGELOG.md index dc531f786..4d269ee5c 100644 --- a/packages/terra-application/CHANGELOG.md +++ b/packages/terra-application/CHANGELOG.md @@ -2,6 +2,11 @@ ## Unreleased +## 2.2.1 - (May 20, 2024) + +* Fixed + * Fixed import error. + ## 2.2.0 - (May 8, 2024) * Breaking Changes: diff --git a/packages/terra-application/package.json b/packages/terra-application/package.json index ef72f28f6..80ab3ddd0 100644 --- a/packages/terra-application/package.json +++ b/packages/terra-application/package.json @@ -37,14 +37,9 @@ "./navigation-prompt": "./lib/navigation-prompt/index.js", "./notification-banner": "./lib/notification-banner/index.js", "./slide-panel-manager": "./lib/slide-panel-manager/index.js", - "./terra-dev-site": "./lib/terra-dev-site/index.js", "./theme": "./lib/theme/index.js", "./utils": "./lib/utils/index.js", "./workspace": "./lib/workspace/index.js", - "./utils/event-emitter": "./lib/utils/event-emitter/index.js", - "./utils/logger": "./lib/utils/logger/index.js", - "./package.json": "./package.json", - "./*": "./*", "./application-base/*": "./lib/application-base/*", "./application-error-boundary/*": "./lib/application-error-boundary/*", "./application-loading-overlay/*": "./lib/application-loading-overlay/*", @@ -53,7 +48,8 @@ "./breakpoints/*": "./lib/breakpoints/*", "./modal-manager/*": "./lib/modal-manager/*", "./slide-panel-manager/*": "./lib/slide-panel-manager/*", - "./workspace/*": "./lib/workspace/*" + "./workspace/*": "./lib/workspace/*", + "./*": "./*" }, "files": [ "lib", diff --git a/packages/terra-application/src/action-menu/_ActionMenuHeader.jsx b/packages/terra-application/src/action-menu/_ActionMenuHeader.jsx index d8302b446..22cf6c185 100644 --- a/packages/terra-application/src/action-menu/_ActionMenuHeader.jsx +++ b/packages/terra-application/src/action-menu/_ActionMenuHeader.jsx @@ -1,10 +1,10 @@ import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames/bind'; -import { injectIntl, intlShape } from 'react-intl'; +import { injectIntl } from 'react-intl'; import ThemeContext from 'terra-theme-context'; import Button from 'terra-button'; -import IconClose from 'terra-icon/lib/icon/IconClose'; +import { IconClose } from 'terra-icon'; import styles from './ActionMenuHeader.module.scss'; @@ -23,7 +23,7 @@ const propTypes = { /** * @private */ - intl: intlShape, + intl: PropTypes.shape({ formatMessage: PropTypes.func }), }; const ActionMenuHeader = ({ diff --git a/packages/terra-application/src/application-navigation/index.js b/packages/terra-application/src/application-navigation/index.js index 96ef56d0e..f10efaa25 100644 --- a/packages/terra-application/src/application-navigation/index.js +++ b/packages/terra-application/src/application-navigation/index.js @@ -1,19 +1,19 @@ import { - titleConfigPropType, - navigationItemsPropType, extensionItemsPropType, - utilityItemsPropType, + navigationItemsPropType, + titleConfigPropType, userConfigPropType, + utilityItemsPropType, } from './private/utils/propTypes'; import ApplicationNavigationActionsContext from './ApplicationNavigationActionsContext'; import ApplicationNavigation from './ApplicationNavigation'; export default ApplicationNavigation; export { - titleConfigPropType, - navigationItemsPropType, + ApplicationNavigationActionsContext, extensionItemsPropType, - utilityItemsPropType, + navigationItemsPropType, + titleConfigPropType, userConfigPropType, - ApplicationNavigationActionsContext, + utilityItemsPropType, }; diff --git a/packages/terra-application/src/disclosure-manager/index.js b/packages/terra-application/src/disclosure-manager/index.js index 850bb8f23..eb6ad85b5 100644 --- a/packages/terra-application/src/disclosure-manager/index.js +++ b/packages/terra-application/src/disclosure-manager/index.js @@ -1,6 +1,17 @@ export { default } from 'terra-disclosure-manager'; export { - withDisclosureManager, disclosureManagerShape, DisclosureManagerContext, DisclosureManagerDelegate, DisclosureManagerHeaderAdapterContext, DisclosureManagerHeaderAdapter, availableDisclosureSizes, availableDisclosureHeights, availableDisclosureWidths, + DisclosureManagerContext, + DisclosureManagerDelegate, + DisclosureManagerHeaderAdapterContext, + DisclosureManagerHeaderAdapter, + availableDisclosureSizes, + availableDisclosureHeights, + availableDisclosureWidths, + disclosureManagerShape, + withDisclosureManager, } from 'terra-disclosure-manager'; -export { closeMostRecentDisclosure, getActiveDisclosureCount } from './_disclosureCallbacks'; +export { + closeMostRecentDisclosure, + getActiveDisclosureCount, +} from './_disclosureCallbacks';