@cloudscape-design/components 3.0.76 → 3.0.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/app-layout/drawer.d.ts +2 -1
  2. package/app-layout/drawer.d.ts.map +1 -1
  3. package/app-layout/drawer.js +8 -2
  4. package/app-layout/drawer.js.map +1 -1
  5. package/app-layout/index.d.ts.map +1 -1
  6. package/app-layout/index.js +6 -5
  7. package/app-layout/index.js.map +1 -1
  8. package/app-layout/interfaces.d.ts +6 -0
  9. package/app-layout/interfaces.d.ts.map +1 -1
  10. package/app-layout/interfaces.js.map +1 -1
  11. package/app-layout/notifications/index.js +1 -1
  12. package/app-layout/notifications/index.js.map +1 -1
  13. package/app-layout/tools-and-split-panel.d.ts +2 -1
  14. package/app-layout/tools-and-split-panel.d.ts.map +1 -1
  15. package/app-layout/tools-and-split-panel.js +2 -2
  16. package/app-layout/tools-and-split-panel.js.map +1 -1
  17. package/app-layout/utils/use-focus-control.d.ts +10 -4
  18. package/app-layout/utils/use-focus-control.d.ts.map +1 -1
  19. package/app-layout/utils/use-focus-control.js +30 -9
  20. package/app-layout/utils/use-focus-control.js.map +1 -1
  21. package/app-layout/visual-refresh/app-bar.js +2 -2
  22. package/app-layout/visual-refresh/app-bar.js.map +1 -1
  23. package/app-layout/visual-refresh/context.d.ts +3 -1
  24. package/app-layout/visual-refresh/context.d.ts.map +1 -1
  25. package/app-layout/visual-refresh/context.js +8 -4
  26. package/app-layout/visual-refresh/context.js.map +1 -1
  27. package/app-layout/visual-refresh/navigation.js +1 -1
  28. package/app-layout/visual-refresh/navigation.js.map +1 -1
  29. package/app-layout/visual-refresh/notifications.js +2 -2
  30. package/app-layout/visual-refresh/notifications.js.map +1 -1
  31. package/app-layout/visual-refresh/tools.d.ts.map +1 -1
  32. package/app-layout/visual-refresh/tools.js +7 -4
  33. package/app-layout/visual-refresh/tools.js.map +1 -1
  34. package/date-range-picker/calendar/index.d.ts.map +1 -1
  35. package/date-range-picker/calendar/index.js +22 -26
  36. package/date-range-picker/calendar/index.js.map +1 -1
  37. package/date-range-picker/index.js +1 -1
  38. package/date-range-picker/index.js.map +1 -1
  39. package/date-range-picker/styles.css.js +36 -37
  40. package/date-range-picker/styles.scoped.css +50 -54
  41. package/date-range-picker/styles.selectors.js +36 -37
  42. package/input/internal.d.ts.map +1 -1
  43. package/input/internal.js +2 -3
  44. package/input/internal.js.map +1 -1
  45. package/internal/base-component/styles.scoped.css +4 -0
  46. package/internal/components/autosuggest-input/index.d.ts.map +1 -1
  47. package/internal/components/autosuggest-input/index.js +4 -5
  48. package/internal/components/autosuggest-input/index.js.map +1 -1
  49. package/internal/components/button-trigger/index.d.ts.map +1 -1
  50. package/internal/components/button-trigger/index.js +2 -3
  51. package/internal/components/button-trigger/index.js.map +1 -1
  52. package/internal/components/chart-popover/index.js +1 -1
  53. package/internal/components/chart-popover/index.js.map +1 -1
  54. package/internal/components/dropdown/index.d.ts.map +1 -1
  55. package/internal/components/dropdown/index.js +1 -1
  56. package/internal/components/dropdown/index.js.map +1 -1
  57. package/internal/components/dropdown-status/index.d.ts.map +1 -1
  58. package/internal/components/dropdown-status/index.js +2 -4
  59. package/internal/components/dropdown-status/index.js.map +1 -1
  60. package/internal/components/options-list/index.d.ts.map +1 -1
  61. package/internal/components/options-list/index.js +2 -2
  62. package/internal/components/options-list/index.js.map +1 -1
  63. package/internal/environment.js +1 -1
  64. package/internal/events/index.d.ts +0 -9
  65. package/internal/events/index.d.ts.map +1 -1
  66. package/internal/events/index.js +0 -11
  67. package/internal/events/index.js.map +1 -1
  68. package/internal/generated/theming/index.cjs +23 -0
  69. package/internal/generated/theming/index.js +23 -0
  70. package/package.json +1 -1
  71. package/pagination/internal.d.ts.map +1 -1
  72. package/pagination/internal.js +1 -1
  73. package/pagination/internal.js.map +1 -1
  74. package/popover/internal.js +2 -2
  75. package/popover/internal.js.map +1 -1
  76. package/popover/styles.css.js +50 -49
  77. package/popover/styles.scoped.css +67 -62
  78. package/popover/styles.selectors.js +50 -49
  79. package/table/header-cell/index.d.ts.map +1 -1
  80. package/table/header-cell/index.js +1 -0
  81. package/table/header-cell/index.js.map +1 -1
  82. package/table/header-cell/styles.css.js +15 -14
  83. package/table/header-cell/styles.scoped.css +27 -24
  84. package/table/header-cell/styles.selectors.js +15 -14
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/pagination/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,eAAe,MAAM,iCAAiC,CAAC;AAC9D,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAIpD,IAAM,iBAAiB,GAAqC;IAC1D,aAAa,EAAE,EAAE;IACjB,iBAAiB,EAAE,EAAE;IACrB,SAAS,EAAE,UAAA,UAAU,IAAI,OAAA,UAAG,UAAU,CAAE,EAAf,CAAe;CACzC,CAAC;AAYF,SAAS,UAAU,CAAC,EAQF;QAPhB,SAAS,eAAA,EACT,SAAS,eAAA,EACT,QAAQ,cAAA,EACR,SAAS,eAAA,EACT,iBAAiB,EAAjB,SAAS,mBAAG,KAAK,KAAA,EACjB,QAAQ,cAAA,EACR,OAAO,aAAA;IAEP,IAAM,YAAY,GAAG,eAAe,EAAE,CAAC;IACvC,SAAS,WAAW,CAAC,KAAuB;QAC1C,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,OAAO,CAAC,SAAS,CAAC,CAAC;IACrB,CAAC;IACD,OAAO,CACL,4BAAI,SAAS,EAAE,M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ACN,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React from 'react';\nimport InternalIcon from '../icon/internal';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { getBaseProps } from '../internal/base-component';\nimport useFocusVisible from '../internal/hooks/focus-visible';\nimport styles from './styles.css.js';\nimport { getPaginationState, range } from './utils';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { PaginationProps } from './interfaces';\n\nconst defaultAriaLabels: Required<PaginationProps.Labels> = {\n nextPageLabel: '',\n previousPageLabel: '',\n pageLabel: pageNumber => `${pageNumber}`,\n};\n\ninterface PageButtonProps {\n className?: string;\n ariaLabel: string;\n disabled?: boolean;\n pageIndex: number;\n isCurrent?: boolean;\n children?: React.ReactNode;\n onClick: (requestedIndex: number) => void;\n}\n\nfunction PageButton({\n className,\n ariaLabel,\n disabled,\n pageIndex,\n isCurrent = false,\n children,\n onClick,\n}: PageButtonProps) {\n const focusVisible = useFocusVisible();\n function handleClick(event: React.MouseEvent) {\n event.preventDefault();\n onClick(pageIndex);\n }\n return (\n <li className={styles['page-item']}>\n <button\n {...focusVisible}\n className={clsx(\n className,\n styles.button,\n disabled && styles['button-disabled'],\n isCurrent && styles['button-current']\n )}\n type=\"button\"\n aria-label={ariaLabel}\n tabIndex={disabled ? -1 : 0}\n disabled={disabled}\n onClick={handleClick}\n aria-current={isCurrent}\n >\n {children}\n </button>\n </li>\n );\n}\n\nfunction PageNumber({ pageIndex, ...rest }: PageButtonProps) {\n return (\n <PageButton className={styles['page-number']} pageIndex={pageIndex} {...rest}>\n {pageIndex}\n </PageButton>\n );\n}\n\ntype InternalPaginationProps = PaginationProps & InternalBaseComponentProps;\n\nexport default function InternalPagination({\n openEnd,\n currentPageIndex,\n ariaLabels,\n pagesCount,\n disabled,\n onChange,\n onNextPageClick,\n onPreviousPageClick,\n __internalRootRef = null,\n ...rest\n}: InternalPaginationProps) {\n const baseProps = getBaseProps(rest);\n const pageNumberLabelFn = ariaLabels?.pageLabel ?? defaultAriaLabels.pageLabel;\n const { leftDots, leftIndex, rightIndex, rightDots } = getPaginationState(currentPageIndex, pagesCount, openEnd);\n\n function handlePrevPageClick(requestedPageIndex: number) {\n handlePageClick(requestedPageIndex);\n fireNonCancelableEvent(onPreviousPageClick, {\n requestedPageAvailable: true,\n requestedPageIndex: requestedPageIndex,\n });\n }\n\n function handleNextPageClick(requestedPageIndex: number) {\n handlePageClick(requestedPageIndex);\n fireNonCancelableEvent(onNextPageClick, {\n requestedPageAvailable: currentPageIndex < pagesCount,\n requestedPageIndex: requestedPageIndex,\n });\n }\n\n function handlePageClick(requestedPageIndex: number) {\n fireNonCancelableEvent(onChange, { currentPageIndex: requestedPageIndex });\n }\n\n return (\n <ul\n {...baseProps}\n className={clsx(baseProps.className, styles.root, disabled && styles['root-disabled'])}\n ref={__internalRootRef}\n >\n <PageButton\n className={styles.arrow}\n pageIndex={currentPageIndex - 1}\n ariaLabel={ariaLabels?.previousPageLabel ?? defaultAriaLabels.nextPageLabel}\n disabled={disabled || currentPageIndex === 1}\n onClick={handlePrevPageClick}\n >\n <InternalIcon name=\"angle-left\" variant={disabled ? 'disabled' : 'normal'} />\n </PageButton>\n <PageNumber\n pageIndex={1}\n isCurrent={currentPageIndex === 1}\n disabled={disabled}\n ariaLabel={pageNumberLabelFn(1)}\n onClick={handlePageClick}\n />\n {leftDots && <li className={styles.dots}>...</li>}\n {range(leftIndex, rightIndex).map(pageIndex => (\n <PageNumber\n key={pageIndex}\n isCurrent={currentPageIndex === pageIndex}\n pageIndex={pageIndex}\n disabled={disabled}\n ariaLabel={pageNumberLabelFn(pageIndex)}\n onClick={handlePageClick}\n />\n ))}\n {rightDots && <li className={styles.dots}>...</li>}\n {!openEnd && pagesCount > 1 && (\n <PageNumber\n isCurrent={currentPageIndex === pagesCount}\n pageIndex={pagesCount}\n disabled={disabled}\n ariaLabel={pageNumberLabelFn(pagesCount)}\n onClick={handlePageClick}\n />\n )}\n <PageButton\n className={styles.arrow}\n pageIndex={currentPageIndex + 1}\n ariaLabel={ariaLabels?.nextPageLabel ?? defaultAriaLabels.nextPageLabel}\n disabled={disabled || (!openEnd && (pagesCount === 0 || currentPageIndex === pagesCount))}\n onClick={handleNextPageClick}\n >\n <InternalIcon name=\"angle-right\" variant={disabled ? 'disabled' : 'normal'} />\n </PageButton>\n </ul>\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/pagination/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,eAAe,MAAM,iCAAiC,CAAC;AAC9D,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAIpD,IAAM,iBAAiB,GAAqC;IAC1D,aAAa,EAAE,EAAE;IACjB,iBAAiB,EAAE,EAAE;IACrB,SAAS,EAAE,UAAA,UAAU,IAAI,OAAA,UAAG,UAAU,CAAE,EAAf,CAAe;CACzC,CAAC;AAYF,SAAS,UAAU,CAAC,EAQF;QAPhB,SAAS,eAAA,EACT,SAAS,eAAA,EACT,QAAQ,cAAA,EACR,SAAS,eAAA,EACT,iBAAiB,EAAjB,SAAS,mBAAG,KAAK,KAAA,EACjB,QAAQ,cAAA,EACR,OAAO,aAAA;IAEP,IAAM,YAAY,GAAG,eAAe,EAAE,CAAC;IACvC,SAAS,WAAW,CAAC,KAAuB;QAC1C,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,OAAO,CAAC,S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AAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React from 'react';\nimport InternalIcon from '../icon/internal';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { getBaseProps } from '../internal/base-component';\nimport useFocusVisible from '../internal/hooks/focus-visible';\nimport styles from './styles.css.js';\nimport { getPaginationState, range } from './utils';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { PaginationProps } from './interfaces';\n\nconst defaultAriaLabels: Required<PaginationProps.Labels> = {\n nextPageLabel: '',\n previousPageLabel: '',\n pageLabel: pageNumber => `${pageNumber}`,\n};\n\ninterface PageButtonProps {\n className?: string;\n ariaLabel: string;\n disabled?: boolean;\n pageIndex: number;\n isCurrent?: boolean;\n children?: React.ReactNode;\n onClick: (requestedIndex: number) => void;\n}\n\nfunction PageButton({\n className,\n ariaLabel,\n disabled,\n pageIndex,\n isCurrent = false,\n children,\n onClick,\n}: PageButtonProps) {\n const focusVisible = useFocusVisible();\n function handleClick(event: React.MouseEvent) {\n event.preventDefault();\n onClick(pageIndex);\n }\n return (\n <li className={styles['page-item']}>\n <button\n {...focusVisible}\n className={clsx(\n className,\n styles.button,\n disabled && styles['button-disabled'],\n isCurrent && styles['button-current']\n )}\n type=\"button\"\n aria-label={ariaLabel}\n disabled={disabled}\n onClick={handleClick}\n aria-current={isCurrent}\n >\n {children}\n </button>\n </li>\n );\n}\n\nfunction PageNumber({ pageIndex, ...rest }: PageButtonProps) {\n return (\n <PageButton className={styles['page-number']} pageIndex={pageIndex} {...rest}>\n {pageIndex}\n </PageButton>\n );\n}\n\ntype InternalPaginationProps = PaginationProps & InternalBaseComponentProps;\n\nexport default function InternalPagination({\n openEnd,\n currentPageIndex,\n ariaLabels,\n pagesCount,\n disabled,\n onChange,\n onNextPageClick,\n onPreviousPageClick,\n __internalRootRef = null,\n ...rest\n}: InternalPaginationProps) {\n const baseProps = getBaseProps(rest);\n const pageNumberLabelFn = ariaLabels?.pageLabel ?? defaultAriaLabels.pageLabel;\n const { leftDots, leftIndex, rightIndex, rightDots } = getPaginationState(currentPageIndex, pagesCount, openEnd);\n\n function handlePrevPageClick(requestedPageIndex: number) {\n handlePageClick(requestedPageIndex);\n fireNonCancelableEvent(onPreviousPageClick, {\n requestedPageAvailable: true,\n requestedPageIndex: requestedPageIndex,\n });\n }\n\n function handleNextPageClick(requestedPageIndex: number) {\n handlePageClick(requestedPageIndex);\n fireNonCancelableEvent(onNextPageClick, {\n requestedPageAvailable: currentPageIndex < pagesCount,\n requestedPageIndex: requestedPageIndex,\n });\n }\n\n function handlePageClick(requestedPageIndex: number) {\n fireNonCancelableEvent(onChange, { currentPageIndex: requestedPageIndex });\n }\n\n return (\n <ul\n {...baseProps}\n className={clsx(baseProps.className, styles.root, disabled && styles['root-disabled'])}\n ref={__internalRootRef}\n >\n <PageButton\n className={styles.arrow}\n pageIndex={currentPageIndex - 1}\n ariaLabel={ariaLabels?.previousPageLabel ?? defaultAriaLabels.nextPageLabel}\n disabled={disabled || currentPageIndex === 1}\n onClick={handlePrevPageClick}\n >\n <InternalIcon name=\"angle-left\" variant={disabled ? 'disabled' : 'normal'} />\n </PageButton>\n <PageNumber\n pageIndex={1}\n isCurrent={currentPageIndex === 1}\n disabled={disabled}\n ariaLabel={pageNumberLabelFn(1)}\n onClick={handlePageClick}\n />\n {leftDots && <li className={styles.dots}>...</li>}\n {range(leftIndex, rightIndex).map(pageIndex => (\n <PageNumber\n key={pageIndex}\n isCurrent={currentPageIndex === pageIndex}\n pageIndex={pageIndex}\n disabled={disabled}\n ariaLabel={pageNumberLabelFn(pageIndex)}\n onClick={handlePageClick}\n />\n ))}\n {rightDots && <li className={styles.dots}>...</li>}\n {!openEnd && pagesCount > 1 && (\n <PageNumber\n isCurrent={currentPageIndex === pagesCount}\n pageIndex={pagesCount}\n disabled={disabled}\n ariaLabel={pageNumberLabelFn(pagesCount)}\n onClick={handlePageClick}\n />\n )}\n <PageButton\n className={styles.arrow}\n pageIndex={currentPageIndex + 1}\n ariaLabel={ariaLabels?.nextPageLabel ?? defaultAriaLabels.nextPageLabel}\n disabled={disabled || (!openEnd && (pagesCount === 0 || currentPageIndex === pagesCount))}\n onClick={handleNextPageClick}\n >\n <InternalIcon name=\"angle-right\" variant={disabled ? 'disabled' : 'normal'} />\n </PageButton>\n </ul>\n );\n}\n"]}
@@ -65,10 +65,10 @@ function InternalPopover(_a, ref) {
65
65
  onKeyDown: onTriggerKeyDown,
66
66
  className: clsx(styles.trigger, styles["trigger-type-".concat(triggerType)])
67
67
  };
68
- var popoverContent = (React.createElement("span", { "aria-live": dismissButton ? undefined : 'polite', "aria-atomic": dismissButton ? undefined : true, className: popoverClasses }, visible && (React.createElement(PopoverContainer, { size: size, fixedWidth: fixedWidth, position: position, trackRef: triggerRef, arrow: function (position) { return React.createElement(Arrow, { position: position }); }, renderWithPortal: renderWithPortal, zIndex: renderWithPortal ? 7000 : undefined },
68
+ var popoverContent = (React.createElement("div", { "aria-live": dismissButton ? undefined : 'polite', "aria-atomic": dismissButton ? undefined : true, className: clsx(popoverClasses, styles['popover-content']) }, visible && (React.createElement(PopoverContainer, { size: size, fixedWidth: fixedWidth, position: position, trackRef: triggerRef, arrow: function (position) { return React.createElement(Arrow, { position: position }); }, renderWithPortal: renderWithPortal, zIndex: renderWithPortal ? 7000 : undefined },
69
69
  React.createElement(PopoverBody, { dismissButton: dismissButton, dismissAriaLabel: dismissAriaLabel, header: header, onDismiss: onDismiss, overflowVisible: "both" }, content)))));
70
70
  var mergedRef = useMergeRefs(popoverRef, __internalRootRef);
71
- return (React.createElement("span", __assign({}, baseProps, { className: clsx(styles.root, baseProps.className), ref: mergedRef, onMouseDown: function () {
71
+ return (React.createElement("div", __assign({}, baseProps, { className: clsx(styles.root, baseProps.className), ref: mergedRef, onMouseDown: function () {
72
72
  // Indicate there was a click inside popover recently, including nested portals.
73
73
  clickFrameId.current = requestAnimationFrame(function () {
74
74
  clickF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AAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,eAAe,EAAC,MAAM,IAErB,OAAO,CACI,CACG,CACpB,CACI,CACR,CAAC;IAEF,IAAM,SAAS,GAAG,YAAY,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC;IAE9D,OAAO,CACL,yCACM,SAAS,IACb,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,EACjD,GAAG,EAAE,SAAS,EACd,WAAW,EAAE;YACX,gFAAgF;YAChF,YAAY,CAAC,OAAO,GAAG,qBAAqB,CAAC;gBAC3C,YAAY,CAAC,OAAO,GAAG,IAAI,CAAC;YAC9B,CAAC,CAAC,CAAC;QACL,CAAC;QAEA,WAAW,KAAK,MAAM,CAAC,CAAC,CAAC,CACxB,2CAAY,YAAY,IAAE,IAAI,EAAC,QAAQ,mBAAe,QAAQ,IAAK,YAAY;YAC7E,8BAAM,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC,IAAG,QAAQ,CAAQ,CACzD,CACV,CAAC,CAAC,CAAC,CACF,yCAAU,YAAY,GAAG,QAAQ,CAAQ,CAC1C;QACA,gBAAgB,CAAC,CAAC,CAAC,oBAAC,MAAM,QAAE,cAAc,CAAU,CAAC,CAAC,CAAC,cAAc,CACjE,CACR,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useCallback, useEffect, useRef, useState, useImperativeHandle } from 'react';\nimport clsx from 'clsx';\n\nimport { KeyCode } from '../internal/keycode';\nimport { getBaseProps } from '../internal/base-component';\nimport useFocusVisible from '../internal/hooks/focus-visible';\n\nimport Arrow from './arrow';\nimport Portal from '../internal/components/portal';\nimport { PopoverProps } from './interfaces';\nimport PopoverContainer from './container';\nimport PopoverBody from './body';\n\nimport styles from './styles.css.js';\nimport { NonCancelableEventHandler, fireNonCancelableEvent } from '../internal/events/index';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { usePortalModeClasses } from '../internal/hooks/use-portal-mode-classes';\n\nexport interface InternalPopoverProps extends PopoverProps, InternalBaseComponentProps {\n __onOpen?: NonCancelableEventHandler<null>;\n}\n\nexport interface InternalPopoverRef {\n dismissPopover: () => void;\n}\n\nexport default React.forwardRef(InternalPopover);\n\nfunction InternalPopover(\n {\n position = 'right',\n size = 'medium',\n fixedWidth = false,\n triggerType = 'text',\n dismissButton = true,\n dismissAriaLabel,\n\n children,\n header,\n content,\n\n renderWithPortal = false,\n\n __onOpen,\n __internalRootRef = null,\n ...restProps\n }: InternalPopoverProps,\n ref: React.Ref<InternalPopoverRef>\n) {\n const baseProps = getBaseProps(restProps);\n const focusVisible = useFocusVisible();\n const triggerRef = useRef<HTMLElement | null>(null);\n const popoverRef = useRef<HTMLSpanElement | null>(null);\n const clickFrameId = useRef<number | null>(null);\n\n const [visible, setVisible] = useState(false);\n\n const onTriggerClick = useCallback(() => {\n fireNonCancelableEvent(__onOpen);\n setVisible(true);\n }, [__onOpen]);\n\n const onDismiss = useCallback(() => {\n setVisible(false);\n }, []);\n\n const onTriggerKeyDown = useCallback((event: React.KeyboardEvent) => {\n if (event.keyCode === KeyCode.tab || event.keyCode === KeyCode.escape) {\n setVisible(false);\n }\n }, []);\n\n useImperativeHandle(ref, () => ({\n dismissPopover: onDismiss,\n }));\n\n useEffect(() => {\n if (!triggerRef.current) {\n return;\n }\n const document = triggerRef.current.ownerDocument;\n\n const onDocumentClick = () => {\n // Dismiss popover unless there was a click inside within the last animation frame.\n if (clickFrameId.current === null) {\n setVisible(false);\n }\n };\n\n // useCapture=false makes sure this listener is called after the one attached to the element.\n // the options.capture notation is unsupported by IE.\n document.addEventListener('mousedown', onDocumentClick, false);\n\n return () => {\n document.removeEventListener('mousedown', onDocumentClick, false);\n };\n }, []);\n\n const popoverClasses = usePortalModeClasses(triggerRef);\n\n const triggerProps = {\n // https://github.com/microsoft/TypeScript/issues/36659\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ref: triggerRef as any,\n onClick: onTriggerClick,\n onKeyDown: onTriggerKeyDown,\n className: clsx(styles.trigger, styles[`trigger-type-${triggerType}`]),\n };\n\n const popoverContent = (\n <span\n aria-live={dismissButton ? undefined : 'polite'}\n aria-atomic={dismissButton ? undefined : true}\n className={popoverClasses}\n >\n {visible && (\n <PopoverContainer\n size={size}\n fixedWidth={fixedWidth}\n position={position}\n trackRef={triggerRef}\n arrow={position => <Arrow position={position} />}\n renderWithPortal={renderWithPortal}\n zIndex={renderWithPortal ? 7000 : undefined}\n >\n <PopoverBody\n dismissButton={dismissButton}\n dismissAriaLabel={dismissAriaLabel}\n header={header}\n onDismiss={onDismiss}\n overflowVisible=\"both\"\n >\n {content}\n </PopoverBody>\n </PopoverContainer>\n )}\n </span>\n );\n\n const mergedRef = useMergeRefs(popoverRef, __internalRootRef);\n\n return (\n <span\n {...baseProps}\n className={clsx(styles.root, baseProps.className)}\n ref={mergedRef}\n onMouseDown={() => {\n // Indicate there was a click inside popover recently, including nested portals.\n clickFrameId.current = requestAnimationFrame(() => {\n clickFrameId.current = null;\n });\n }}\n >\n {triggerType === 'text' ? (\n <button {...triggerProps} type=\"button\" aria-haspopup=\"dialog\" {...focusVisible}>\n <span className={styles['trigger-inner-text']}>{children}</span>\n </button>\n ) : (\n <span {...triggerProps}>{children}</span>\n )}\n {renderWithPortal ? <Portal>{popoverContent}</Portal> : popoverContent}\n </span>\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/popover/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC7F,O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AAU,EAAE,iBAAiB,CAAC,CAAC;IAE9D,OAAO,CACL,wCACM,SAAS,IACb,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,EACjD,GAAG,EAAE,SAAS,EACd,WAAW,EAAE;YACX,gFAAgF;YAChF,YAAY,CAAC,OAAO,GAAG,qBAAqB,CAAC;gBAC3C,YAAY,CAAC,OAAO,GAAG,IAAI,CAAC;YAC9B,CAAC,CAAC,CAAC;QACL,CAAC;QAEA,WAAW,KAAK,MAAM,CAAC,CAAC,CAAC,CACxB,2CAAY,YAAY,IAAE,IAAI,EAAC,QAAQ,mBAAe,QAAQ,IAAK,YAAY;YAC7E,8BAAM,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC,IAAG,QAAQ,CAAQ,CACzD,CACV,CAAC,CAAC,CAAC,CACF,yCAAU,YAAY,GAAG,QAAQ,CAAQ,CAC1C;QACA,gBAAgB,CAAC,CAAC,CAAC,oBAAC,MAAM,QAAE,cAAc,CAAU,CAAC,CAAC,CAAC,cAAc,CAClE,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useCallback, useEffect, useRef, useState, useImperativeHandle } from 'react';\nimport clsx from 'clsx';\n\nimport { KeyCode } from '../internal/keycode';\nimport { getBaseProps } from '../internal/base-component';\nimport useFocusVisible from '../internal/hooks/focus-visible';\n\nimport Arrow from './arrow';\nimport Portal from '../internal/components/portal';\nimport { PopoverProps } from './interfaces';\nimport PopoverContainer from './container';\nimport PopoverBody from './body';\n\nimport styles from './styles.css.js';\nimport { NonCancelableEventHandler, fireNonCancelableEvent } from '../internal/events/index';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { usePortalModeClasses } from '../internal/hooks/use-portal-mode-classes';\n\nexport interface InternalPopoverProps extends PopoverProps, InternalBaseComponentProps {\n __onOpen?: NonCancelableEventHandler<null>;\n}\n\nexport interface InternalPopoverRef {\n dismissPopover: () => void;\n}\n\nexport default React.forwardRef(InternalPopover);\n\nfunction InternalPopover(\n {\n position = 'right',\n size = 'medium',\n fixedWidth = false,\n triggerType = 'text',\n dismissButton = true,\n dismissAriaLabel,\n\n children,\n header,\n content,\n\n renderWithPortal = false,\n\n __onOpen,\n __internalRootRef = null,\n ...restProps\n }: InternalPopoverProps,\n ref: React.Ref<InternalPopoverRef>\n) {\n const baseProps = getBaseProps(restProps);\n const focusVisible = useFocusVisible();\n const triggerRef = useRef<HTMLElement | null>(null);\n const popoverRef = useRef<HTMLDivElement | null>(null);\n const clickFrameId = useRef<number | null>(null);\n\n const [visible, setVisible] = useState(false);\n\n const onTriggerClick = useCallback(() => {\n fireNonCancelableEvent(__onOpen);\n setVisible(true);\n }, [__onOpen]);\n\n const onDismiss = useCallback(() => {\n setVisible(false);\n }, []);\n\n const onTriggerKeyDown = useCallback((event: React.KeyboardEvent) => {\n if (event.keyCode === KeyCode.tab || event.keyCode === KeyCode.escape) {\n setVisible(false);\n }\n }, []);\n\n useImperativeHandle(ref, () => ({\n dismissPopover: onDismiss,\n }));\n\n useEffect(() => {\n if (!triggerRef.current) {\n return;\n }\n const document = triggerRef.current.ownerDocument;\n\n const onDocumentClick = () => {\n // Dismiss popover unless there was a click inside within the last animation frame.\n if (clickFrameId.current === null) {\n setVisible(false);\n }\n };\n\n // useCapture=false makes sure this listener is called after the one attached to the element.\n // the options.capture notation is unsupported by IE.\n document.addEventListener('mousedown', onDocumentClick, false);\n\n return () => {\n document.removeEventListener('mousedown', onDocumentClick, false);\n };\n }, []);\n\n const popoverClasses = usePortalModeClasses(triggerRef);\n\n const triggerProps = {\n // https://github.com/microsoft/TypeScript/issues/36659\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ref: triggerRef as any,\n onClick: onTriggerClick,\n onKeyDown: onTriggerKeyDown,\n className: clsx(styles.trigger, styles[`trigger-type-${triggerType}`]),\n };\n\n const popoverContent = (\n <div\n aria-live={dismissButton ? undefined : 'polite'}\n aria-atomic={dismissButton ? undefined : true}\n className={clsx(popoverClasses, styles['popover-content'])}\n >\n {visible && (\n <PopoverContainer\n size={size}\n fixedWidth={fixedWidth}\n position={position}\n trackRef={triggerRef}\n arrow={position => <Arrow position={position} />}\n renderWithPortal={renderWithPortal}\n zIndex={renderWithPortal ? 7000 : undefined}\n >\n <PopoverBody\n dismissButton={dismissButton}\n dismissAriaLabel={dismissAriaLabel}\n header={header}\n onDismiss={onDismiss}\n overflowVisible=\"both\"\n >\n {content}\n </PopoverBody>\n </PopoverContainer>\n )}\n </div>\n );\n\n const mergedRef = useMergeRefs(popoverRef, __internalRootRef);\n\n return (\n <div\n {...baseProps}\n className={clsx(styles.root, baseProps.className)}\n ref={mergedRef}\n onMouseDown={() => {\n // Indicate there was a click inside popover recently, including nested portals.\n clickFrameId.current = requestAnimationFrame(() => {\n clickFrameId.current = null;\n });\n }}\n >\n {triggerType === 'text' ? (\n <button {...triggerProps} type=\"button\" aria-haspopup=\"dialog\" {...focusVisible}>\n <span className={styles['trigger-inner-text']}>{children}</span>\n </button>\n ) : (\n <span {...triggerProps}>{children}</span>\n )}\n {renderWithPortal ? <Portal>{popoverContent}</Portal> : popoverContent}\n </div>\n );\n}\n"]}
@@ -1,54 +1,55 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "arrow": "awsui_arrow_xjuzf_1aa2b_185",
5
- "arrow-outer": "awsui_arrow-outer_xjuzf_1aa2b_189",
6
- "arrow-inner": "awsui_arrow-inner_xjuzf_1aa2b_189",
7
- "arrow-position-right-top": "awsui_arrow-position-right-top_xjuzf_1aa2b_220",
8
- "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_xjuzf_1aa2b_220",
9
- "arrow-position-left-top": "awsui_arrow-position-left-top_xjuzf_1aa2b_223",
10
- "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_xjuzf_1aa2b_223",
11
- "arrow-position-top-center": "awsui_arrow-position-top-center_xjuzf_1aa2b_226",
12
- "arrow-position-top-right": "awsui_arrow-position-top-right_xjuzf_1aa2b_226",
13
- "arrow-position-top-left": "awsui_arrow-position-top-left_xjuzf_1aa2b_226",
14
- "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_xjuzf_1aa2b_226",
15
- "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_xjuzf_1aa2b_229",
16
- "arrow-position-bottom-right": "awsui_arrow-position-bottom-right_xjuzf_1aa2b_229",
17
- "arrow-position-bottom-left": "awsui_arrow-position-bottom-left_xjuzf_1aa2b_229",
18
- "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_xjuzf_1aa2b_229",
19
- "body": "awsui_body_xjuzf_1aa2b_325",
20
- "body-overflow-visible": "awsui_body-overflow-visible_xjuzf_1aa2b_339",
21
- "has-dismiss": "awsui_has-dismiss_xjuzf_1aa2b_343",
22
- "dismiss": "awsui_dismiss_xjuzf_1aa2b_348",
23
- "dismiss-control": "awsui_dismiss-control_xjuzf_1aa2b_355",
24
- "header-row": "awsui_header-row_xjuzf_1aa2b_359",
25
- "header": "awsui_header_xjuzf_1aa2b_359",
26
- "content": "awsui_content_xjuzf_1aa2b_381",
27
- "content-overflow-visible": "awsui_content-overflow-visible_xjuzf_1aa2b_388",
28
- "container": "awsui_container_xjuzf_1aa2b_484",
29
- "container-body": "awsui_container-body_xjuzf_1aa2b_492",
30
- "container-body-variant-annotation": "awsui_container-body-variant-annotation_xjuzf_1aa2b_507",
31
- "container-body-size-small": "awsui_container-body-size-small_xjuzf_1aa2b_512",
32
- "fixed-width": "awsui_fixed-width_xjuzf_1aa2b_515",
33
- "container-body-size-medium": "awsui_container-body-size-medium_xjuzf_1aa2b_519",
34
- "container-body-size-large": "awsui_container-body-size-large_xjuzf_1aa2b_526",
35
- "container-arrow": "awsui_container-arrow_xjuzf_1aa2b_538",
36
- "container-arrow-position-right-top": "awsui_container-arrow-position-right-top_xjuzf_1aa2b_542",
37
- "container-arrow-position-right-bottom": "awsui_container-arrow-position-right-bottom_xjuzf_1aa2b_542",
38
- "container-arrow-position-left-top": "awsui_container-arrow-position-left-top_xjuzf_1aa2b_554",
39
- "container-arrow-position-left-bottom": "awsui_container-arrow-position-left-bottom_xjuzf_1aa2b_554",
40
- "container-arrow-position-top-center": "awsui_container-arrow-position-top-center_xjuzf_1aa2b_566",
41
- "container-arrow-position-top-right": "awsui_container-arrow-position-top-right_xjuzf_1aa2b_566",
42
- "container-arrow-position-top-left": "awsui_container-arrow-position-top-left_xjuzf_1aa2b_566",
43
- "container-arrow-position-top-responsive": "awsui_container-arrow-position-top-responsive_xjuzf_1aa2b_566",
44
- "container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-center_xjuzf_1aa2b_582",
45
- "container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-right_xjuzf_1aa2b_586",
46
- "container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-left_xjuzf_1aa2b_590",
47
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_xjuzf_1aa2b_1",
48
- "refresh": "awsui_refresh_xjuzf_1aa2b_708",
49
- "root": "awsui_root_xjuzf_1aa2b_730",
50
- "trigger": "awsui_trigger_xjuzf_1aa2b_742",
51
- "trigger-type-text": "awsui_trigger-type-text_xjuzf_1aa2b_749",
52
- "trigger-inner-text": "awsui_trigger-inner-text_xjuzf_1aa2b_778"
4
+ "arrow": "awsui_arrow_xjuzf_10pru_185",
5
+ "arrow-outer": "awsui_arrow-outer_xjuzf_10pru_189",
6
+ "arrow-inner": "awsui_arrow-inner_xjuzf_10pru_189",
7
+ "arrow-position-right-top": "awsui_arrow-position-right-top_xjuzf_10pru_220",
8
+ "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_xjuzf_10pru_220",
9
+ "arrow-position-left-top": "awsui_arrow-position-left-top_xjuzf_10pru_223",
10
+ "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_xjuzf_10pru_223",
11
+ "arrow-position-top-center": "awsui_arrow-position-top-center_xjuzf_10pru_226",
12
+ "arrow-position-top-right": "awsui_arrow-position-top-right_xjuzf_10pru_226",
13
+ "arrow-position-top-left": "awsui_arrow-position-top-left_xjuzf_10pru_226",
14
+ "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_xjuzf_10pru_226",
15
+ "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_xjuzf_10pru_229",
16
+ "arrow-position-bottom-right": "awsui_arrow-position-bottom-right_xjuzf_10pru_229",
17
+ "arrow-position-bottom-left": "awsui_arrow-position-bottom-left_xjuzf_10pru_229",
18
+ "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_xjuzf_10pru_229",
19
+ "body": "awsui_body_xjuzf_10pru_325",
20
+ "body-overflow-visible": "awsui_body-overflow-visible_xjuzf_10pru_339",
21
+ "has-dismiss": "awsui_has-dismiss_xjuzf_10pru_343",
22
+ "dismiss": "awsui_dismiss_xjuzf_10pru_348",
23
+ "dismiss-control": "awsui_dismiss-control_xjuzf_10pru_355",
24
+ "header-row": "awsui_header-row_xjuzf_10pru_359",
25
+ "header": "awsui_header_xjuzf_10pru_359",
26
+ "content": "awsui_content_xjuzf_10pru_381",
27
+ "content-overflow-visible": "awsui_content-overflow-visible_xjuzf_10pru_388",
28
+ "container": "awsui_container_xjuzf_10pru_484",
29
+ "container-body": "awsui_container-body_xjuzf_10pru_492",
30
+ "container-body-variant-annotation": "awsui_container-body-variant-annotation_xjuzf_10pru_507",
31
+ "container-body-size-small": "awsui_container-body-size-small_xjuzf_10pru_512",
32
+ "fixed-width": "awsui_fixed-width_xjuzf_10pru_515",
33
+ "container-body-size-medium": "awsui_container-body-size-medium_xjuzf_10pru_519",
34
+ "container-body-size-large": "awsui_container-body-size-large_xjuzf_10pru_526",
35
+ "container-arrow": "awsui_container-arrow_xjuzf_10pru_538",
36
+ "container-arrow-position-right-top": "awsui_container-arrow-position-right-top_xjuzf_10pru_542",
37
+ "container-arrow-position-right-bottom": "awsui_container-arrow-position-right-bottom_xjuzf_10pru_542",
38
+ "container-arrow-position-left-top": "awsui_container-arrow-position-left-top_xjuzf_10pru_554",
39
+ "container-arrow-position-left-bottom": "awsui_container-arrow-position-left-bottom_xjuzf_10pru_554",
40
+ "container-arrow-position-top-center": "awsui_container-arrow-position-top-center_xjuzf_10pru_566",
41
+ "container-arrow-position-top-right": "awsui_container-arrow-position-top-right_xjuzf_10pru_566",
42
+ "container-arrow-position-top-left": "awsui_container-arrow-position-top-left_xjuzf_10pru_566",
43
+ "container-arrow-position-top-responsive": "awsui_container-arrow-position-top-responsive_xjuzf_10pru_566",
44
+ "container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-center_xjuzf_10pru_582",
45
+ "container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-right_xjuzf_10pru_586",
46
+ "container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-left_xjuzf_10pru_590",
47
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_xjuzf_10pru_1",
48
+ "refresh": "awsui_refresh_xjuzf_10pru_708",
49
+ "root": "awsui_root_xjuzf_10pru_730",
50
+ "trigger": "awsui_trigger_xjuzf_10pru_743",
51
+ "trigger-type-text": "awsui_trigger-type-text_xjuzf_10pru_750",
52
+ "trigger-inner-text": "awsui_trigger-inner-text_xjuzf_10pru_779",
53
+ "popover-content": "awsui_popover-content_xjuzf_10pru_783"
53
54
  };
54
55
 
@@ -182,11 +182,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
182
182
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
183
183
  SPDX-License-Identifier: Apache-2.0
184
184
  */
185
- .awsui_arrow_xjuzf_1aa2b_185:not(#\9) {
185
+ .awsui_arrow_xjuzf_10pru_185:not(#\9) {
186
186
  width: 20px;
187
187
  height: 10px;
188
188
  }
189
- .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9), .awsui_arrow-inner_xjuzf_1aa2b_189:not(#\9) {
189
+ .awsui_arrow-outer_xjuzf_10pru_189:not(#\9), .awsui_arrow-inner_xjuzf_10pru_189:not(#\9) {
190
190
  position: absolute;
191
191
  overflow: hidden;
192
192
  width: 20px;
@@ -194,7 +194,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
194
194
  top: 0;
195
195
  left: 0;
196
196
  }
197
- .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after, .awsui_arrow-inner_xjuzf_1aa2b_189:not(#\9)::after {
197
+ .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after, .awsui_arrow-inner_xjuzf_10pru_189:not(#\9)::after {
198
198
  content: "";
199
199
  box-sizing: border-box;
200
200
  display: inline-block;
@@ -207,26 +207,26 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
207
207
  transform: rotate(45deg);
208
208
  transform-origin: 0 100%;
209
209
  }
210
- .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after {
210
+ .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after {
211
211
  background-color: var(--color-border-popover-5pygk7, #9ba7b6);
212
212
  }
213
- .awsui_arrow-inner_xjuzf_1aa2b_189:not(#\9) {
213
+ .awsui_arrow-inner_xjuzf_10pru_189:not(#\9) {
214
214
  top: 2px;
215
215
  }
216
- .awsui_arrow-inner_xjuzf_1aa2b_189:not(#\9)::after {
216
+ .awsui_arrow-inner_xjuzf_10pru_189:not(#\9)::after {
217
217
  border-radius: 1px 0 0 0;
218
218
  background-color: var(--color-background-popover-mn5o9k, #ffffff);
219
219
  }
220
- .awsui_arrow-position-right-top_xjuzf_1aa2b_220 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after, .awsui_arrow-position-right-bottom_xjuzf_1aa2b_220 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after {
220
+ .awsui_arrow-position-right-top_xjuzf_10pru_220 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after, .awsui_arrow-position-right-bottom_xjuzf_10pru_220 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after {
221
221
  box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-3se70f, rgba(0, 7, 22, 0.12));
222
222
  }
223
- .awsui_arrow-position-left-top_xjuzf_1aa2b_223 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after, .awsui_arrow-position-left-bottom_xjuzf_1aa2b_223 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after {
223
+ .awsui_arrow-position-left-top_xjuzf_10pru_223 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after, .awsui_arrow-position-left-bottom_xjuzf_10pru_223 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after {
224
224
  box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-3se70f, rgba(0, 7, 22, 0.12));
225
225
  }
226
- .awsui_arrow-position-top-center_xjuzf_1aa2b_226 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after, .awsui_arrow-position-top-right_xjuzf_1aa2b_226 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after, .awsui_arrow-position-top-left_xjuzf_1aa2b_226 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after, .awsui_arrow-position-top-responsive_xjuzf_1aa2b_226 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after {
226
+ .awsui_arrow-position-top-center_xjuzf_10pru_226 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after, .awsui_arrow-position-top-right_xjuzf_10pru_226 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after, .awsui_arrow-position-top-left_xjuzf_10pru_226 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after, .awsui_arrow-position-top-responsive_xjuzf_10pru_226 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after {
227
227
  box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-3se70f, rgba(0, 7, 22, 0.12));
228
228
  }
229
- .awsui_arrow-position-bottom-center_xjuzf_1aa2b_229 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after, .awsui_arrow-position-bottom-right_xjuzf_1aa2b_229 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after, .awsui_arrow-position-bottom-left_xjuzf_1aa2b_229 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after, .awsui_arrow-position-bottom-responsive_xjuzf_1aa2b_229 > .awsui_arrow-outer_xjuzf_1aa2b_189:not(#\9)::after {
229
+ .awsui_arrow-position-bottom-center_xjuzf_10pru_229 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after, .awsui_arrow-position-bottom-right_xjuzf_10pru_229 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after, .awsui_arrow-position-bottom-left_xjuzf_10pru_229 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after, .awsui_arrow-position-bottom-responsive_xjuzf_10pru_229 > .awsui_arrow-outer_xjuzf_10pru_189:not(#\9)::after {
230
230
  box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-3se70f, rgba(0, 7, 22, 0.12));
231
231
  }
232
232
 
@@ -322,7 +322,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
322
322
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
323
323
  SPDX-License-Identifier: Apache-2.0
324
324
  */
325
- .awsui_body_xjuzf_1aa2b_325:not(#\9) {
325
+ .awsui_body_xjuzf_10pru_325:not(#\9) {
326
326
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
327
327
  border-collapse: separate;
328
328
  border-spacing: 0;
@@ -362,31 +362,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
362
362
  overflow: hidden;
363
363
  padding: var(--space-s-hv8c1d, 12px) var(--space-m-17eucw, 16px);
364
364
  }
365
- .awsui_body-overflow-visible_xjuzf_1aa2b_339:not(#\9) {
365
+ .awsui_body-overflow-visible_xjuzf_10pru_339:not(#\9) {
366
366
  overflow: visible;
367
367
  }
368
368
 
369
- .awsui_has-dismiss_xjuzf_1aa2b_343:not(#\9) {
369
+ .awsui_has-dismiss_xjuzf_10pru_343:not(#\9) {
370
370
  display: flex;
371
371
  align-items: baseline;
372
372
  }
373
373
 
374
- .awsui_dismiss_xjuzf_1aa2b_348:not(#\9) {
374
+ .awsui_dismiss_xjuzf_10pru_348:not(#\9) {
375
375
  margin: calc(-1 * (var(--space-scaled-xxs-95dhkm, 4px) + var(--border-field-width-idlekx, 2px))) calc(-1 * (var(--space-xxs-ynfts5, 4px) + var(--border-field-width-idlekx, 2px)));
376
376
  margin-left: 0;
377
377
  flex: 0 0 auto;
378
378
  order: 1;
379
379
  }
380
380
 
381
- .awsui_dismiss-control_xjuzf_1aa2b_355:not(#\9) {
381
+ .awsui_dismiss-control_xjuzf_10pru_355:not(#\9) {
382
382
  /* used in test-utils */
383
383
  }
384
384
 
385
- .awsui_header-row_xjuzf_1aa2b_359:not(#\9) {
385
+ .awsui_header-row_xjuzf_10pru_359:not(#\9) {
386
386
  margin-bottom: var(--space-xs-rsr2qu, 8px);
387
387
  }
388
388
 
389
- .awsui_header_xjuzf_1aa2b_359:not(#\9) {
389
+ .awsui_header_xjuzf_10pru_359:not(#\9) {
390
390
  word-wrap: break-word;
391
391
  max-width: 100%;
392
392
  overflow: hidden;
@@ -397,21 +397,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
397
397
  /* stylelint-disable selector-max-type */
398
398
  /* stylelint-enable selector-max-type */
399
399
  }
400
- .awsui_header_xjuzf_1aa2b_359 > h2:not(#\9) {
400
+ .awsui_header_xjuzf_10pru_359 > h2:not(#\9) {
401
401
  font-size: var(--font-heading-xs-size-fryxro, 14px);
402
402
  line-height: var(--font-heading-xs-line-height-5x131j, 18px);
403
403
  font-weight: var(--font-heading-xs-weight-wwznty, 800);
404
404
  display: inline;
405
405
  }
406
406
 
407
- .awsui_content_xjuzf_1aa2b_381:not(#\9) {
407
+ .awsui_content_xjuzf_10pru_381:not(#\9) {
408
408
  word-wrap: break-word;
409
409
  max-width: 100%;
410
410
  overflow: hidden;
411
411
  color: var(--color-text-body-secondary-fdstdf, #414d5c);
412
412
  flex: 1 1 auto;
413
413
  }
414
- .awsui_content-overflow-visible_xjuzf_1aa2b_388:not(#\9) {
414
+ .awsui_content-overflow-visible_xjuzf_10pru_388:not(#\9) {
415
415
  overflow: visible;
416
416
  }
417
417
 
@@ -507,7 +507,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
507
507
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
508
508
  SPDX-License-Identifier: Apache-2.0
509
509
  */
510
- .awsui_container_xjuzf_1aa2b_484:not(#\9) {
510
+ .awsui_container_xjuzf_10pru_484:not(#\9) {
511
511
  display: inline-block;
512
512
  position: fixed;
513
513
  top: -9999px;
@@ -515,7 +515,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
515
515
  z-index: 2000;
516
516
  }
517
517
 
518
- .awsui_container-body_xjuzf_1aa2b_492:not(#\9) {
518
+ .awsui_container-body_xjuzf_10pru_492:not(#\9) {
519
519
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
520
520
  border-collapse: separate;
521
521
  border-spacing: 0;
@@ -556,90 +556,90 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
556
556
  border: var(--border-field-width-idlekx, 2px) solid var(--color-border-popover-5pygk7, #9ba7b6);
557
557
  }
558
558
 
559
- .awsui_container-body-variant-annotation_xjuzf_1aa2b_507:not(#\9) {
559
+ .awsui_container-body-variant-annotation_xjuzf_10pru_507:not(#\9) {
560
560
  background-color: var(--color-background-status-info-usb30e, #f2f8fd);
561
561
  border-color: var(--color-border-status-info-546i7i, #0972d3);
562
562
  }
563
563
 
564
- .awsui_container-body-size-small_xjuzf_1aa2b_512:not(#\9) {
564
+ .awsui_container-body-size-small_xjuzf_10pru_512:not(#\9) {
565
565
  max-width: 210px;
566
566
  }
567
- .awsui_container-body-size-small_xjuzf_1aa2b_512.awsui_fixed-width_xjuzf_1aa2b_515:not(#\9) {
567
+ .awsui_container-body-size-small_xjuzf_10pru_512.awsui_fixed-width_xjuzf_10pru_515:not(#\9) {
568
568
  width: 210px;
569
569
  }
570
570
 
571
- .awsui_container-body-size-medium_xjuzf_1aa2b_519:not(#\9) {
571
+ .awsui_container-body-size-medium_xjuzf_10pru_519:not(#\9) {
572
572
  max-width: 310px;
573
573
  }
574
- .awsui_container-body-size-medium_xjuzf_1aa2b_519.awsui_fixed-width_xjuzf_1aa2b_515:not(#\9) {
574
+ .awsui_container-body-size-medium_xjuzf_10pru_519.awsui_fixed-width_xjuzf_10pru_515:not(#\9) {
575
575
  width: 310px;
576
576
  }
577
577
 
578
- .awsui_container-body-size-large_xjuzf_1aa2b_526:not(#\9) {
578
+ .awsui_container-body-size-large_xjuzf_10pru_526:not(#\9) {
579
579
  max-width: 480px;
580
580
  }
581
581
  @media (max-width: 480px) {
582
- .awsui_container-body-size-large_xjuzf_1aa2b_526:not(#\9) {
582
+ .awsui_container-body-size-large_xjuzf_10pru_526:not(#\9) {
583
583
  max-width: 310px;
584
584
  }
585
585
  }
586
- .awsui_container-body-size-large_xjuzf_1aa2b_526.awsui_fixed-width_xjuzf_1aa2b_515:not(#\9) {
586
+ .awsui_container-body-size-large_xjuzf_10pru_526.awsui_fixed-width_xjuzf_10pru_515:not(#\9) {
587
587
  width: 480px;
588
588
  }
589
589
 
590
- .awsui_container-arrow_xjuzf_1aa2b_538:not(#\9) {
590
+ .awsui_container-arrow_xjuzf_10pru_538:not(#\9) {
591
591
  position: absolute;
592
592
  display: inline-block;
593
593
  }
594
- .awsui_container-arrow-position-right-top_xjuzf_1aa2b_542:not(#\9), .awsui_container-arrow-position-right-bottom_xjuzf_1aa2b_542:not(#\9) {
594
+ .awsui_container-arrow-position-right-top_xjuzf_10pru_542:not(#\9), .awsui_container-arrow-position-right-bottom_xjuzf_10pru_542:not(#\9) {
595
595
  transform: rotate(-90deg);
596
596
  transform-origin: 0 100%;
597
597
  }
598
- .awsui_container-arrow-position-right-top_xjuzf_1aa2b_542:not(#\9) {
598
+ .awsui_container-arrow-position-right-top_xjuzf_10pru_542:not(#\9) {
599
599
  top: calc(12px + 10px);
600
600
  left: 0;
601
601
  }
602
- .awsui_container-arrow-position-right-bottom_xjuzf_1aa2b_542:not(#\9) {
602
+ .awsui_container-arrow-position-right-bottom_xjuzf_10pru_542:not(#\9) {
603
603
  bottom: 12px;
604
604
  left: 0;
605
605
  }
606
- .awsui_container-arrow-position-left-top_xjuzf_1aa2b_554:not(#\9), .awsui_container-arrow-position-left-bottom_xjuzf_1aa2b_554:not(#\9) {
606
+ .awsui_container-arrow-position-left-top_xjuzf_10pru_554:not(#\9), .awsui_container-arrow-position-left-bottom_xjuzf_10pru_554:not(#\9) {
607
607
  transform: rotate(90deg);
608
608
  transform-origin: 100% 100%;
609
609
  }
610
- .awsui_container-arrow-position-left-top_xjuzf_1aa2b_554:not(#\9) {
610
+ .awsui_container-arrow-position-left-top_xjuzf_10pru_554:not(#\9) {
611
611
  top: calc(12px + 10px);
612
612
  right: 0;
613
613
  }
614
- .awsui_container-arrow-position-left-bottom_xjuzf_1aa2b_554:not(#\9) {
614
+ .awsui_container-arrow-position-left-bottom_xjuzf_10pru_554:not(#\9) {
615
615
  bottom: 12px;
616
616
  right: 0;
617
617
  }
618
- .awsui_container-arrow-position-top-center_xjuzf_1aa2b_566:not(#\9), .awsui_container-arrow-position-top-right_xjuzf_1aa2b_566:not(#\9), .awsui_container-arrow-position-top-left_xjuzf_1aa2b_566:not(#\9), .awsui_container-arrow-position-top-responsive_xjuzf_1aa2b_566:not(#\9) {
618
+ .awsui_container-arrow-position-top-center_xjuzf_10pru_566:not(#\9), .awsui_container-arrow-position-top-right_xjuzf_10pru_566:not(#\9), .awsui_container-arrow-position-top-left_xjuzf_10pru_566:not(#\9), .awsui_container-arrow-position-top-responsive_xjuzf_10pru_566:not(#\9) {
619
619
  transform: rotate(180deg);
620
620
  transform-origin: 50% 50%;
621
621
  }
622
- .awsui_container-arrow-position-top-center_xjuzf_1aa2b_566:not(#\9) {
622
+ .awsui_container-arrow-position-top-center_xjuzf_10pru_566:not(#\9) {
623
623
  bottom: -10px;
624
624
  left: calc(50% - 10px);
625
625
  }
626
- .awsui_container-arrow-position-top-right_xjuzf_1aa2b_566:not(#\9) {
626
+ .awsui_container-arrow-position-top-right_xjuzf_10pru_566:not(#\9) {
627
627
  bottom: -10px;
628
628
  left: 12px;
629
629
  }
630
- .awsui_container-arrow-position-top-left_xjuzf_1aa2b_566:not(#\9) {
630
+ .awsui_container-arrow-position-top-left_xjuzf_10pru_566:not(#\9) {
631
631
  bottom: -10px;
632
632
  left: calc(100% - 20px - 12px);
633
633
  }
634
- .awsui_container-arrow-position-bottom-center_xjuzf_1aa2b_582:not(#\9) {
634
+ .awsui_container-arrow-position-bottom-center_xjuzf_10pru_582:not(#\9) {
635
635
  top: -10px;
636
636
  left: calc(50% - 10px);
637
637
  }
638
- .awsui_container-arrow-position-bottom-right_xjuzf_1aa2b_586:not(#\9) {
638
+ .awsui_container-arrow-position-bottom-right_xjuzf_10pru_586:not(#\9) {
639
639
  top: -10px;
640
640
  left: 12px;
641
641
  }
642
- .awsui_container-arrow-position-bottom-left_xjuzf_1aa2b_590:not(#\9) {
642
+ .awsui_container-arrow-position-bottom-left_xjuzf_10pru_590:not(#\9) {
643
643
  top: -10px;
644
644
  left: calc(100% - 20px - 12px);
645
645
  }
@@ -736,10 +736,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
736
736
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
737
737
  SPDX-License-Identifier: Apache-2.0
738
738
  */
739
- .awsui_container_xjuzf_1aa2b_484:not(#\9) {
740
- animation: awsui_awsui-motion-fade-in_xjuzf_1aa2b_1 var(--motion-duration-show-paced-7wspqf, 180ms) var(--motion-easing-show-paced-wj4ybn, ease-out);
739
+ .awsui_container_xjuzf_10pru_484:not(#\9) {
740
+ animation: awsui_awsui-motion-fade-in_xjuzf_10pru_1 var(--motion-duration-show-paced-7wspqf, 180ms) var(--motion-easing-show-paced-wj4ybn, ease-out);
741
741
  }
742
- @keyframes awsui_awsui-motion-fade-in_xjuzf_1aa2b_1 {
742
+ @keyframes awsui_awsui-motion-fade-in_xjuzf_10pru_1 {
743
743
  from {
744
744
  opacity: 0.2;
745
745
  }
@@ -748,19 +748,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
748
748
  }
749
749
  }
750
750
  @media (prefers-reduced-motion: reduce) {
751
- .awsui_container_xjuzf_1aa2b_484:not(#\9) {
751
+ .awsui_container_xjuzf_10pru_484:not(#\9) {
752
752
  animation: none;
753
753
  transition: none;
754
754
  }
755
755
  }
756
- .awsui-motion-disabled .awsui_container_xjuzf_1aa2b_484:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_1aa2b_484:not(#\9) {
756
+ .awsui-motion-disabled .awsui_container_xjuzf_10pru_484:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_10pru_484:not(#\9) {
757
757
  animation: none;
758
758
  transition: none;
759
759
  }
760
- .awsui_container_xjuzf_1aa2b_484.awsui_refresh_xjuzf_1aa2b_708:not(#\9) {
761
- animation: awsui_awsui-motion-fade-in_xjuzf_1aa2b_1 var(--motion-duration-refresh-only-fast-addxjd, 115ms) var(--motion-easing-refresh-only-a-sy0g8m, cubic-bezier(0, 0, 0, 1));
760
+ .awsui_container_xjuzf_10pru_484.awsui_refresh_xjuzf_10pru_708:not(#\9) {
761
+ animation: awsui_awsui-motion-fade-in_xjuzf_10pru_1 var(--motion-duration-refresh-only-fast-addxjd, 115ms) var(--motion-easing-refresh-only-a-sy0g8m, cubic-bezier(0, 0, 0, 1));
762
762
  }
763
- @keyframes awsui_awsui-motion-fade-in_xjuzf_1aa2b_1 {
763
+ @keyframes awsui_awsui-motion-fade-in_xjuzf_10pru_1 {
764
764
  from {
765
765
  opacity: 0.2;
766
766
  }
@@ -769,17 +769,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
769
769
  }
770
770
  }
771
771
  @media (prefers-reduced-motion: reduce) {
772
- .awsui_container_xjuzf_1aa2b_484.awsui_refresh_xjuzf_1aa2b_708:not(#\9) {
772
+ .awsui_container_xjuzf_10pru_484.awsui_refresh_xjuzf_10pru_708:not(#\9) {
773
773
  animation: none;
774
774
  transition: none;
775
775
  }
776
776
  }
777
- .awsui-motion-disabled .awsui_container_xjuzf_1aa2b_484.awsui_refresh_xjuzf_1aa2b_708:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_1aa2b_484.awsui_refresh_xjuzf_1aa2b_708:not(#\9) {
777
+ .awsui-motion-disabled .awsui_container_xjuzf_10pru_484.awsui_refresh_xjuzf_10pru_708:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_10pru_484.awsui_refresh_xjuzf_10pru_708:not(#\9) {
778
778
  animation: none;
779
779
  transition: none;
780
780
  }
781
781
 
782
- .awsui_root_xjuzf_1aa2b_730:not(#\9) {
782
+ .awsui_root_xjuzf_10pru_730:not(#\9) {
783
783
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
784
784
  border-collapse: separate;
785
785
  border-spacing: 0;
@@ -815,16 +815,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
815
815
  font-weight: 400;
816
816
  font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
817
817
  color: inherit;
818
+ display: inline;
818
819
  }
819
820
 
820
- .awsui_trigger_xjuzf_1aa2b_742:not(#\9) {
821
+ .awsui_trigger_xjuzf_10pru_743:not(#\9) {
821
822
  display: inline-block;
822
823
  max-width: 100%;
823
824
  color: inherit;
824
825
  text-align: inherit;
825
826
  }
826
827
 
827
- .awsui_trigger-type-text_xjuzf_1aa2b_749:not(#\9) {
828
+ .awsui_trigger-type-text_xjuzf_10pru_750:not(#\9) {
828
829
  border: 0;
829
830
  margin: 0;
830
831
  padding: 0;
@@ -832,17 +833,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
832
833
  cursor: pointer;
833
834
  border-bottom: var(--border-divider-list-width-hacikr, 1px) dashed currentColor;
834
835
  }
835
- .awsui_trigger-type-text_xjuzf_1aa2b_749:not(#\9):focus {
836
+ .awsui_trigger-type-text_xjuzf_10pru_750:not(#\9):focus {
836
837
  outline: none;
837
838
  }
838
- .awsui_trigger-type-text_xjuzf_1aa2b_749[data-awsui-focus-visible=true]:not(#\9):focus {
839
+ .awsui_trigger-type-text_xjuzf_10pru_750[data-awsui-focus-visible=true]:not(#\9):focus {
839
840
  position: relative;
840
841
  }
841
- .awsui_trigger-type-text_xjuzf_1aa2b_749[data-awsui-focus-visible=true]:not(#\9):focus {
842
+ .awsui_trigger-type-text_xjuzf_10pru_750[data-awsui-focus-visible=true]:not(#\9):focus {
842
843
  outline: 2px dotted transparent;
843
844
  outline-offset: calc(1px - 1px);
844
845
  }
845
- .awsui_trigger-type-text_xjuzf_1aa2b_749[data-awsui-focus-visible=true]:not(#\9):focus::before {
846
+ .awsui_trigger-type-text_xjuzf_10pru_750[data-awsui-focus-visible=true]:not(#\9):focus::before {
846
847
  content: " ";
847
848
  display: block;
848
849
  position: absolute;
@@ -853,6 +854,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
853
854
  border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
854
855
  box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
855
856
  }
856
- .awsui_trigger-type-text_xjuzf_1aa2b_749 > .awsui_trigger-inner-text_xjuzf_1aa2b_778:not(#\9) {
857
+ .awsui_trigger-type-text_xjuzf_10pru_750 > .awsui_trigger-inner-text_xjuzf_10pru_779:not(#\9) {
857
858
  position: relative;
859
+ }
860
+
861
+ .awsui_popover-content_xjuzf_10pru_783:not(#\9) {
862
+ display: inline;
858
863
  }