Expandable Section - container variant
- -Expandable Section - focus tests
+ + + +Mixed chart fit height
+ +Pie chart fit height
+ ++ {' '} +
+ This instance contains insufficient memory. Stop the instance, choose a different instance type with more + memory, and restart it. +
+ + > + } + dismissAriaLabel="Close" + id="focus-trap-button" + renderWithPortal={renderWithPortal} + triggerType="custom" + > + +- Popover without dismiss button should not trap focus when opened
- Popover without dismiss button should close when focus leaves the trigger diff --git a/pages/status-indicator/permutations.page.tsx b/pages/status-indicator/permutations.page.tsx index 010ee7c9a5..870ecf6c40 100644 --- a/pages/status-indicator/permutations.page.tsx +++ b/pages/status-indicator/permutations.page.tsx @@ -1,12 +1,12 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import React from 'react'; -import StatusIndicator, { StatusIndicatorProps } from '~components/status-indicator'; +import StatusIndicator, { InternalStatusIndicatorProps } from '~components/status-indicator/internal'; import createPermutations from '../utils/permutations'; import PermutationsView from '../utils/permutations-view'; import ScreenshotArea from '../utils/screenshot-area'; -const permutations = createPermutations