@cloudscape-design/components-themeable 3.0.624 → 3.0.626
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.
- package/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/annotation-context/annotation/arrow.scss +7 -0
- package/lib/internal/scss/button-dropdown/category-elements/styles.scss +5 -0
- package/lib/internal/scss/popover/arrow.scss +7 -0
- package/lib/internal/scss/popover/container.scss +10 -0
- package/lib/internal/template/alert/index.d.ts.map +1 -1
- package/lib/internal/template/alert/index.js +5 -1
- package/lib/internal/template/alert/index.js.map +1 -1
- package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +33 -29
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
- package/lib/internal/template/app-layout/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/index.js +16 -12
- package/lib/internal/template/app-layout/index.js.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/styles.css.js +14 -14
- package/lib/internal/template/button-dropdown/category-elements/styles.scoped.css +25 -22
- package/lib/internal/template/button-dropdown/category-elements/styles.selectors.js +14 -14
- package/lib/internal/template/container/index.d.ts.map +1 -1
- package/lib/internal/template/container/index.js +1 -1
- package/lib/internal/template/container/index.js.map +1 -1
- package/lib/internal/template/flashbar/flash.d.ts.map +1 -1
- package/lib/internal/template/flashbar/flash.js +8 -2
- package/lib/internal/template/flashbar/flash.js.map +1 -1
- package/lib/internal/template/form/index.js +2 -2
- package/lib/internal/template/form/index.js.map +1 -1
- package/lib/internal/template/internal/analytics/components/analytics-funnel.d.ts +4 -4
- package/lib/internal/template/internal/analytics/components/analytics-funnel.d.ts.map +1 -1
- package/lib/internal/template/internal/analytics/components/analytics-funnel.js +9 -9
- package/lib/internal/template/internal/analytics/components/analytics-funnel.js.map +1 -1
- package/lib/internal/template/internal/analytics/context/analytics-context.d.ts +2 -2
- package/lib/internal/template/internal/analytics/context/analytics-context.d.ts.map +1 -1
- package/lib/internal/template/internal/analytics/context/analytics-context.js.map +1 -1
- package/lib/internal/template/internal/analytics/hooks/use-funnel.d.ts +1 -1
- package/lib/internal/template/internal/analytics/hooks/use-funnel.js +3 -3
- package/lib/internal/template/internal/analytics/hooks/use-funnel.js.map +1 -1
- package/lib/internal/template/internal/analytics/interfaces.d.ts +13 -7
- package/lib/internal/template/internal/analytics/interfaces.d.ts.map +1 -1
- package/lib/internal/template/internal/analytics/interfaces.js.map +1 -1
- package/lib/internal/template/internal/components/chart-popover/index.d.ts +1 -1
- package/lib/internal/template/internal/components/chart-popover/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/chart-popover/index.js.map +1 -1
- package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.d.ts +12 -12
- package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.d.ts.map +1 -1
- package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.js +103 -83
- package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.js.map +1 -1
- package/lib/internal/template/internal/components/dropdown/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/dropdown/index.js +30 -29
- package/lib/internal/template/internal/components/dropdown/index.js.map +1 -1
- package/lib/internal/template/internal/components/tooltip/index.d.ts +1 -1
- package/lib/internal/template/internal/components/tooltip/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/tooltip/index.js.map +1 -1
- package/lib/internal/template/internal/direction.d.ts +14 -0
- package/lib/internal/template/internal/direction.d.ts.map +1 -1
- package/lib/internal/template/internal/direction.js +25 -0
- package/lib/internal/template/internal/direction.js.map +1 -1
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/environment.json +1 -1
- package/lib/internal/template/internal/generated/theming/index.cjs +14 -14
- package/lib/internal/template/internal/generated/theming/index.js +14 -14
- package/lib/internal/template/internal/hooks/use-performance-marks.js +2 -2
- package/lib/internal/template/internal/hooks/use-performance-marks.js.map +1 -1
- package/lib/internal/template/internal/utils/scrollable-containers.d.ts +5 -5
- package/lib/internal/template/internal/utils/scrollable-containers.d.ts.map +1 -1
- package/lib/internal/template/internal/utils/scrollable-containers.js +19 -19
- package/lib/internal/template/internal/utils/scrollable-containers.js.map +1 -1
- package/lib/internal/template/popover/container.d.ts +1 -1
- package/lib/internal/template/popover/container.d.ts.map +1 -1
- package/lib/internal/template/popover/container.js.map +1 -1
- package/lib/internal/template/popover/interfaces.d.ts +4 -4
- package/lib/internal/template/popover/interfaces.d.ts.map +1 -1
- package/lib/internal/template/popover/interfaces.js.map +1 -1
- package/lib/internal/template/popover/styles.css.js +50 -50
- package/lib/internal/template/popover/styles.scoped.css +76 -64
- package/lib/internal/template/popover/styles.selectors.js +50 -50
- package/lib/internal/template/popover/use-popover-position.d.ts +1 -1
- package/lib/internal/template/popover/use-popover-position.d.ts.map +1 -1
- package/lib/internal/template/popover/use-popover-position.js +32 -29
- package/lib/internal/template/popover/use-popover-position.js.map +1 -1
- package/lib/internal/template/popover/utils/positions.d.ts +2 -2
- package/lib/internal/template/popover/utils/positions.d.ts.map +1 -1
- package/lib/internal/template/popover/utils/positions.js +74 -74
- package/lib/internal/template/popover/utils/positions.js.map +1 -1
- package/lib/internal/template/wizard/index.js +1 -1
- package/lib/internal/template/wizard/index.js.map +1 -1
- package/lib/internal/template/wizard/wizard-form.js +1 -1
- package/lib/internal/template/wizard/wizard-form.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../../src/popover/container.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAGlF,OAAO,MAAM,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AE,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,4BAA4B,gBAAgB,EAAE,CAAC,CAAC,iBACrF,IAAI,IAEhB,KAAK,CAAC,gBAAgB,CAAC,CACpB;QAEN,6BACE,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,uBAAuB,IAAI,EAAE,CAAC,EAAE;gBAC/E,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,EAAE,UAAU;gBACnC,CAAC,MAAM,CAAC,0BAA0B,OAAO,EAAE,CAAC,CAAC,EAAE,OAAO;aACvD,CAAC;YAEF,6BAAK,GAAG,EAAE,UAAU,IAAG,QAAQ,CAAO,CAClC,CACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useLayoutEffect, useRef } from 'react';\nimport clsx from 'clsx';\nimport { nodeContains } from '@cloudscape-design/component-toolkit/dom';\nimport { useResizeObserver } from '@cloudscape-design/component-toolkit/internal';\n\nimport { InternalPosition, PopoverProps } from './interfaces';\nimport styles from './styles.css.js';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport usePopoverPosition from './use-popover-position.js';\n\nexport interface PopoverContainerProps {\n /** References the element the container is positioned against. */\n trackRef: React.RefObject<
|
|
1
|
+
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../../src/popover/container.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAGlF,OAAO,MAAM,MAAM,iBAA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AAC,MAAM,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,4BAA4B,gBAAgB,EAAE,CAAC,CAAC,iBACrF,IAAI,IAEhB,KAAK,CAAC,gBAAgB,CAAC,CACpB;QAEN,6BACE,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,uBAAuB,IAAI,EAAE,CAAC,EAAE;gBAC/E,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,EAAE,UAAU;gBACnC,CAAC,MAAM,CAAC,0BAA0B,OAAO,EAAE,CAAC,CAAC,EAAE,OAAO;aACvD,CAAC;YAEF,6BAAK,GAAG,EAAE,UAAU,IAAG,QAAQ,CAAO,CAClC,CACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useLayoutEffect, useRef } from 'react';\nimport clsx from 'clsx';\nimport { nodeContains } from '@cloudscape-design/component-toolkit/dom';\nimport { useResizeObserver } from '@cloudscape-design/component-toolkit/internal';\n\nimport { InternalPosition, PopoverProps } from './interfaces';\nimport styles from './styles.css.js';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport usePopoverPosition from './use-popover-position.js';\n\nexport interface PopoverContainerProps {\n /** References the element the container is positioned against. */\n trackRef: React.RefObject<HTMLElement | SVGElement>;\n /**\n Used to update the container position in case track or track position changes:\n \n const trackRef = useRef<Element>(null)\n return (<>\n <Track style={getPosition(selectedItemId)} ref={trackRef} />\n <PopoverContainer trackRef={trackRef} trackKey={selectedItemId} .../>\n </>)\n */\n trackKey?: string | number;\n position: PopoverProps.Position;\n zIndex?: React.CSSProperties['zIndex'];\n arrow: (position: InternalPosition | null) => React.ReactNode;\n children: React.ReactNode;\n renderWithPortal?: boolean;\n size: PopoverProps.Size;\n fixedWidth: boolean;\n variant?: 'annotation';\n // When keepPosition is true, the popover will not recalculate its position when it resizes nor when it receives clicks.\n keepPosition?: boolean;\n // When allowScrollToFit is true, we will scroll to the the popover if it overflows the viewport even when choosing the best possible position for it.\n // Do not use this if the popover is open on hover, in order to avoid unexpected movement.\n allowScrollToFit?: boolean;\n allowVerticalOverflow?: boolean;\n}\n\nexport default function PopoverContainer({\n position,\n trackRef,\n trackKey,\n arrow,\n children,\n zIndex,\n renderWithPortal,\n size,\n fixedWidth,\n variant,\n keepPosition,\n allowScrollToFit,\n allowVerticalOverflow,\n}: PopoverContainerProps) {\n const bodyRef = useRef<HTMLDivElement | null>(null);\n const contentRef = useRef<HTMLDivElement | null>(null);\n const popoverRef = useRef<HTMLDivElement | null>(null);\n const arrowRef = useRef<HTMLDivElement | null>(null);\n\n const isRefresh = useVisualRefresh();\n\n // Updates the position handler.\n const { updatePositionHandler, popoverStyle, internalPosition, positionHandlerRef } = usePopoverPosition({\n popoverRef,\n bodyRef,\n arrowRef,\n trackRef,\n contentRef,\n allowScrollToFit,\n allowVerticalOverflow,\n preferredPosition: position,\n renderWithPortal,\n keepPosition,\n });\n\n // Recalculate position when properties change.\n useLayoutEffect(() => {\n updatePositionHandler();\n }, [updatePositionHandler, trackKey]);\n\n // Recalculate position when content size changes.\n useResizeObserver(contentRef, () => {\n updatePositionHandler(true);\n });\n\n // Recalculate position on DOM events.\n useLayoutEffect(() => {\n /*\n This is a heuristic. Some layout changes are caused by user clicks (e.g. toggling the tools panel, submitting a form),\n and by tracking the click event we can adapt the popover's position to the new layout.\n\n TODO: extend this to Enter and Spacebar?\n */\n\n const onClick = (event: UIEvent | KeyboardEvent) => {\n if (\n // Do not update position if keepPosition is true.\n keepPosition ||\n // If the click was on the trigger, this will make the popover appear or disappear,\n // so no need to update its position either in this case.\n nodeContains(trackRef.current, event.target)\n ) {\n return;\n }\n\n requestAnimationFrame(() => {\n updatePositionHandler();\n });\n };\n\n const updatePositionOnResize = () => requestAnimationFrame(() => updatePositionHandler());\n const refreshPosition = () => requestAnimationFrame(() => positionHandlerRef.current());\n\n window.addEventListener('click', onClick);\n window.addEventListener('resize', updatePositionOnResize);\n window.addEventListener('scroll', refreshPosition, true);\n\n return () => {\n window.removeEventListener('click', onClick);\n window.removeEventListener('resize', updatePositionOnResize);\n window.removeEventListener('scroll', refreshPosition, true);\n };\n }, [keepPosition, positionHandlerRef, trackRef, updatePositionHandler]);\n\n return (\n <div\n ref={popoverRef}\n style={{ ...popoverStyle, zIndex }}\n className={clsx(styles.container, isRefresh && styles.refresh)}\n >\n <div\n ref={arrowRef}\n className={clsx(styles[`container-arrow`], styles[`container-arrow-position-${internalPosition}`])}\n aria-hidden={true}\n >\n {arrow(internalPosition)}\n </div>\n\n <div\n ref={bodyRef}\n className={clsx(styles['container-body'], styles[`container-body-size-${size}`], {\n [styles['fixed-width']]: fixedWidth,\n [styles[`container-body-variant-${variant}`]]: variant,\n })}\n >\n <div ref={contentRef}>{children}</div>\n </div>\n </div>\n );\n}\n"]}
|
|
@@ -65,12 +65,12 @@ export interface PopoverProps extends BaseComponentProps {
|
|
|
65
65
|
*/
|
|
66
66
|
export type InternalPosition = 'right-top' | 'right-bottom' | 'left-top' | 'left-bottom' | 'top-center' | 'top-right' | 'top-left' | 'bottom-center' | 'bottom-right' | 'bottom-left';
|
|
67
67
|
export interface Offset {
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
insetInlineStart: number;
|
|
69
|
+
insetBlockStart: number;
|
|
70
70
|
}
|
|
71
71
|
export interface Dimensions {
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
inlineSize: number;
|
|
73
|
+
blockSize: number;
|
|
74
74
|
}
|
|
75
75
|
export type BoundingBox = Dimensions & Offset;
|
|
76
76
|
export declare namespace PopoverProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/popover/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,WAAW,Y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E,YAAY,CAAC,WAAW,CAAC;IAEvC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,WAAW,GACX,cAAc,GACd,UAAU,GACV,aAAa,GACb,YAAY,GACZ,WAAW,GACX,UAAU,GACV,eAAe,GACf,cAAc,GACd,aAAa,CAAC;AAElB,MAAM,WAAW,MAAM;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;AAE9C,yBAAiB,YAAY,CAAC;IAC5B,KAAY,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3D,KAAY,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAChD,KAAY,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/popover/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport interface PopoverProps extends BaseComponentProps {\n /**\n * Determines where the popover is displayed when opened, relative to the trigger.\n * If the popover doesn't have enough space to open in this direction, it\n * automatically chooses a better direction based on available space.\n */\n position?: PopoverProps.Position;\n\n /**\n * Determines the maximum width for the popover.\n */\n size?: PopoverProps.Size;\n\n /**\n * Expands the popover body to its maximum width regardless of content.\n * For example, use it when you need to place a column layout in the popover content.\n */\n fixedWidth?: boolean;\n\n /**\n * Specifies the type of content inside the trigger region. The following types are available:\n * - `text` - Use for inline text triggers.\n * - `custom` - Use for the [button](/components/button/) component.\n */\n triggerType?: PopoverProps.TriggerType;\n\n /**\n * Adds `aria-label` to the text trigger button. Use this to provide an accessible name for triggers\n * that don't have visible text, and to distinguish between multiple triggers with identical visible text.\n */\n triggerAriaLabel?: string;\n\n /**\n * Element that triggers the popover when selected by the user.\n * @displayname trigger\n */\n children?: React.ReactNode;\n\n /**\n * Specifies optional header text for the popover.\n */\n header?: string;\n\n /**\n * Content of the popover.\n */\n content?: React.ReactNode;\n\n /**\n * Determines whether the dismiss button is shown in the popover body.\n */\n dismissButton?: boolean;\n\n /**\n * Adds an `aria-label` to the dismiss button for accessibility.\n * @i18n\n */\n dismissAriaLabel?: string;\n\n /**\n * By default, the popover is constrained to fit inside its parent\n * [stacking context](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context).\n * Enabling this property will allow the popover to be rendered in the root stack context using\n * [React Portals](https://reactjs.org/docs/portals.html).\n * Enable this setting if you need the popover to ignore its parent stacking context, such as in side navigation.\n *\n * Note: Using popover rendered with portal within a Modal is not supported.\n */\n renderWithPortal?: boolean;\n}\n\n/**\n * The position the popover is actually in, given space constraints.\n */\nexport type InternalPosition =\n | 'right-top'\n | 'right-bottom'\n | 'left-top'\n | 'left-bottom'\n | 'top-center'\n | 'top-right'\n | 'top-left'\n | 'bottom-center'\n | 'bottom-right'\n | 'bottom-left';\n\nexport interface Offset {\n
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/popover/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport interface PopoverProps extends BaseComponentProps {\n /**\n * Determines where the popover is displayed when opened, relative to the trigger.\n * If the popover doesn't have enough space to open in this direction, it\n * automatically chooses a better direction based on available space.\n */\n position?: PopoverProps.Position;\n\n /**\n * Determines the maximum width for the popover.\n */\n size?: PopoverProps.Size;\n\n /**\n * Expands the popover body to its maximum width regardless of content.\n * For example, use it when you need to place a column layout in the popover content.\n */\n fixedWidth?: boolean;\n\n /**\n * Specifies the type of content inside the trigger region. The following types are available:\n * - `text` - Use for inline text triggers.\n * - `custom` - Use for the [button](/components/button/) component.\n */\n triggerType?: PopoverProps.TriggerType;\n\n /**\n * Adds `aria-label` to the text trigger button. Use this to provide an accessible name for triggers\n * that don't have visible text, and to distinguish between multiple triggers with identical visible text.\n */\n triggerAriaLabel?: string;\n\n /**\n * Element that triggers the popover when selected by the user.\n * @displayname trigger\n */\n children?: React.ReactNode;\n\n /**\n * Specifies optional header text for the popover.\n */\n header?: string;\n\n /**\n * Content of the popover.\n */\n content?: React.ReactNode;\n\n /**\n * Determines whether the dismiss button is shown in the popover body.\n */\n dismissButton?: boolean;\n\n /**\n * Adds an `aria-label` to the dismiss button for accessibility.\n * @i18n\n */\n dismissAriaLabel?: string;\n\n /**\n * By default, the popover is constrained to fit inside its parent\n * [stacking context](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context).\n * Enabling this property will allow the popover to be rendered in the root stack context using\n * [React Portals](https://reactjs.org/docs/portals.html).\n * Enable this setting if you need the popover to ignore its parent stacking context, such as in side navigation.\n *\n * Note: Using popover rendered with portal within a Modal is not supported.\n */\n renderWithPortal?: boolean;\n}\n\n/**\n * The position the popover is actually in, given space constraints.\n */\nexport type InternalPosition =\n | 'right-top'\n | 'right-bottom'\n | 'left-top'\n | 'left-bottom'\n | 'top-center'\n | 'top-right'\n | 'top-left'\n | 'bottom-center'\n | 'bottom-right'\n | 'bottom-left';\n\nexport interface Offset {\n insetInlineStart: number;\n insetBlockStart: number;\n}\n\nexport interface Dimensions {\n inlineSize: number;\n blockSize: number;\n}\n\nexport type BoundingBox = Dimensions & Offset;\n\nexport namespace PopoverProps {\n export type Position = 'top' | 'right' | 'bottom' | 'left';\n export type Size = 'small' | 'medium' | 'large';\n export type TriggerType = 'text' | 'custom';\n}\n"]}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"arrow": "
|
|
5
|
-
"arrow-outer": "awsui_arrow-
|
|
6
|
-
"arrow-inner": "awsui_arrow-
|
|
7
|
-
"refresh": "
|
|
8
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
10
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
12
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-top-right": "awsui_arrow-position-top-
|
|
14
|
-
"arrow-position-top-left": "awsui_arrow-position-top-
|
|
15
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
16
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
17
|
-
"arrow-position-bottom-right": "awsui_arrow-position-bottom-
|
|
18
|
-
"arrow-position-bottom-left": "awsui_arrow-position-bottom-
|
|
19
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
20
|
-
"body": "
|
|
21
|
-
"body-overflow-visible": "awsui_body-overflow-
|
|
22
|
-
"has-dismiss": "awsui_has-
|
|
23
|
-
"dismiss": "
|
|
24
|
-
"dismiss-control": "awsui_dismiss-
|
|
25
|
-
"header-row": "awsui_header-
|
|
26
|
-
"header": "
|
|
27
|
-
"content": "
|
|
28
|
-
"content-overflow-visible": "awsui_content-overflow-
|
|
29
|
-
"container": "
|
|
30
|
-
"container-body": "awsui_container-
|
|
31
|
-
"container-body-variant-annotation": "awsui_container-body-variant-
|
|
32
|
-
"container-body-size-small": "awsui_container-body-size-
|
|
33
|
-
"fixed-width": "awsui_fixed-
|
|
34
|
-
"container-body-size-medium": "awsui_container-body-size-
|
|
35
|
-
"container-body-size-large": "awsui_container-body-size-
|
|
36
|
-
"container-arrow": "awsui_container-
|
|
37
|
-
"container-arrow-position-right-top": "awsui_container-arrow-position-right-
|
|
38
|
-
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-
|
|
39
|
-
"container-arrow-position-left-top": "awsui_container-arrow-position-left-
|
|
40
|
-
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-
|
|
41
|
-
"container-arrow-position-top-center": "awsui_container-arrow-position-top-
|
|
42
|
-
"container-arrow-position-top-right": "awsui_container-arrow-position-top-
|
|
43
|
-
"container-arrow-position-top-left": "awsui_container-arrow-position-top-
|
|
44
|
-
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-
|
|
45
|
-
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-
|
|
46
|
-
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-
|
|
47
|
-
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-
|
|
48
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
49
|
-
"root": "
|
|
50
|
-
"trigger": "
|
|
51
|
-
"trigger-type-text": "awsui_trigger-type-
|
|
52
|
-
"trigger-inner-text": "awsui_trigger-inner-
|
|
53
|
-
"popover-inline-content": "awsui_popover-inline-
|
|
4
|
+
"arrow": "awsui_arrow_xjuzf_2nwcz_197",
|
|
5
|
+
"arrow-outer": "awsui_arrow-outer_xjuzf_2nwcz_201",
|
|
6
|
+
"arrow-inner": "awsui_arrow-inner_xjuzf_2nwcz_201",
|
|
7
|
+
"refresh": "awsui_refresh_xjuzf_2nwcz_235",
|
|
8
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_xjuzf_2nwcz_245",
|
|
9
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_xjuzf_2nwcz_245",
|
|
10
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_xjuzf_2nwcz_248",
|
|
11
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_xjuzf_2nwcz_248",
|
|
12
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_xjuzf_2nwcz_251",
|
|
13
|
+
"arrow-position-top-right": "awsui_arrow-position-top-right_xjuzf_2nwcz_251",
|
|
14
|
+
"arrow-position-top-left": "awsui_arrow-position-top-left_xjuzf_2nwcz_251",
|
|
15
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_xjuzf_2nwcz_251",
|
|
16
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_xjuzf_2nwcz_254",
|
|
17
|
+
"arrow-position-bottom-right": "awsui_arrow-position-bottom-right_xjuzf_2nwcz_254",
|
|
18
|
+
"arrow-position-bottom-left": "awsui_arrow-position-bottom-left_xjuzf_2nwcz_254",
|
|
19
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_xjuzf_2nwcz_254",
|
|
20
|
+
"body": "awsui_body_xjuzf_2nwcz_356",
|
|
21
|
+
"body-overflow-visible": "awsui_body-overflow-visible_xjuzf_2nwcz_395",
|
|
22
|
+
"has-dismiss": "awsui_has-dismiss_xjuzf_2nwcz_399",
|
|
23
|
+
"dismiss": "awsui_dismiss_xjuzf_2nwcz_404",
|
|
24
|
+
"dismiss-control": "awsui_dismiss-control_xjuzf_2nwcz_412",
|
|
25
|
+
"header-row": "awsui_header-row_xjuzf_2nwcz_416",
|
|
26
|
+
"header": "awsui_header_xjuzf_2nwcz_416",
|
|
27
|
+
"content": "awsui_content_xjuzf_2nwcz_442",
|
|
28
|
+
"content-overflow-visible": "awsui_content-overflow-visible_xjuzf_2nwcz_450",
|
|
29
|
+
"container": "awsui_container_xjuzf_2nwcz_552",
|
|
30
|
+
"container-body": "awsui_container-body_xjuzf_2nwcz_560",
|
|
31
|
+
"container-body-variant-annotation": "awsui_container-body-variant-annotation_xjuzf_2nwcz_603",
|
|
32
|
+
"container-body-size-small": "awsui_container-body-size-small_xjuzf_2nwcz_608",
|
|
33
|
+
"fixed-width": "awsui_fixed-width_xjuzf_2nwcz_611",
|
|
34
|
+
"container-body-size-medium": "awsui_container-body-size-medium_xjuzf_2nwcz_615",
|
|
35
|
+
"container-body-size-large": "awsui_container-body-size-large_xjuzf_2nwcz_622",
|
|
36
|
+
"container-arrow": "awsui_container-arrow_xjuzf_2nwcz_634",
|
|
37
|
+
"container-arrow-position-right-top": "awsui_container-arrow-position-right-top_xjuzf_2nwcz_638",
|
|
38
|
+
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-bottom_xjuzf_2nwcz_638",
|
|
39
|
+
"container-arrow-position-left-top": "awsui_container-arrow-position-left-top_xjuzf_2nwcz_654",
|
|
40
|
+
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-bottom_xjuzf_2nwcz_654",
|
|
41
|
+
"container-arrow-position-top-center": "awsui_container-arrow-position-top-center_xjuzf_2nwcz_670",
|
|
42
|
+
"container-arrow-position-top-right": "awsui_container-arrow-position-top-right_xjuzf_2nwcz_670",
|
|
43
|
+
"container-arrow-position-top-left": "awsui_container-arrow-position-top-left_xjuzf_2nwcz_670",
|
|
44
|
+
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-responsive_xjuzf_2nwcz_670",
|
|
45
|
+
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-center_xjuzf_2nwcz_686",
|
|
46
|
+
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-right_xjuzf_2nwcz_690",
|
|
47
|
+
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-left_xjuzf_2nwcz_694",
|
|
48
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_xjuzf_2nwcz_1",
|
|
49
|
+
"root": "awsui_root_xjuzf_2nwcz_840",
|
|
50
|
+
"trigger": "awsui_trigger_xjuzf_2nwcz_876",
|
|
51
|
+
"trigger-type-text": "awsui_trigger-type-text_xjuzf_2nwcz_883",
|
|
52
|
+
"trigger-inner-text": "awsui_trigger-inner-text_xjuzf_2nwcz_918",
|
|
53
|
+
"popover-inline-content": "awsui_popover-inline-content_xjuzf_2nwcz_922"
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -194,11 +194,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
194
194
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
195
195
|
SPDX-License-Identifier: Apache-2.0
|
|
196
196
|
*/
|
|
197
|
-
.
|
|
197
|
+
.awsui_arrow_xjuzf_2nwcz_197:not(#\9) {
|
|
198
198
|
inline-size: 20px;
|
|
199
199
|
block-size: 10px;
|
|
200
200
|
}
|
|
201
|
-
.awsui_arrow-
|
|
201
|
+
.awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9), .awsui_arrow-inner_xjuzf_2nwcz_201:not(#\9) {
|
|
202
202
|
position: absolute;
|
|
203
203
|
overflow: hidden;
|
|
204
204
|
inline-size: 20px;
|
|
@@ -206,7 +206,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
206
206
|
inset-block-start: 0;
|
|
207
207
|
inset-inline-start: 0;
|
|
208
208
|
}
|
|
209
|
-
.awsui_arrow-
|
|
209
|
+
.awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after, .awsui_arrow-inner_xjuzf_2nwcz_201:not(#\9)::after {
|
|
210
210
|
content: "";
|
|
211
211
|
box-sizing: border-box;
|
|
212
212
|
display: inline-block;
|
|
@@ -222,32 +222,36 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
222
222
|
transform: rotate(45deg);
|
|
223
223
|
transform-origin: 0 100%;
|
|
224
224
|
}
|
|
225
|
-
.awsui_arrow-
|
|
225
|
+
.awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9):dir(rtl)::after, .awsui_arrow-inner_xjuzf_2nwcz_201:not(#\9):dir(rtl)::after {
|
|
226
|
+
transform: rotate(-45deg);
|
|
227
|
+
transform-origin: 100% 100%;
|
|
228
|
+
}
|
|
229
|
+
.awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after {
|
|
226
230
|
background-color: var(--color-border-popover-sxojn8, #d5dbdb);
|
|
227
231
|
}
|
|
228
|
-
.awsui_arrow-
|
|
232
|
+
.awsui_arrow-inner_xjuzf_2nwcz_201:not(#\9) {
|
|
229
233
|
inset-block-start: 2px;
|
|
230
234
|
}
|
|
231
|
-
.awsui_arrow-
|
|
235
|
+
.awsui_arrow-inner_xjuzf_2nwcz_201.awsui_refresh_xjuzf_2nwcz_235:not(#\9) {
|
|
232
236
|
inset-block-start: 3px;
|
|
233
237
|
}
|
|
234
|
-
.awsui_arrow-
|
|
238
|
+
.awsui_arrow-inner_xjuzf_2nwcz_201:not(#\9)::after {
|
|
235
239
|
border-start-start-radius: 1px;
|
|
236
240
|
border-start-end-radius: 0;
|
|
237
241
|
border-end-start-radius: 0;
|
|
238
242
|
border-end-end-radius: 0;
|
|
239
243
|
background-color: var(--color-background-popover-7gvi00, #ffffff);
|
|
240
244
|
}
|
|
241
|
-
.awsui_arrow-position-right-
|
|
245
|
+
.awsui_arrow-position-right-top_xjuzf_2nwcz_245 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after, .awsui_arrow-position-right-bottom_xjuzf_2nwcz_245 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after {
|
|
242
246
|
box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-9hs6xx, rgba(0, 28, 36, 0.5));
|
|
243
247
|
}
|
|
244
|
-
.awsui_arrow-position-left-
|
|
248
|
+
.awsui_arrow-position-left-top_xjuzf_2nwcz_248 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after, .awsui_arrow-position-left-bottom_xjuzf_2nwcz_248 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after {
|
|
245
249
|
box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-9hs6xx, rgba(0, 28, 36, 0.5));
|
|
246
250
|
}
|
|
247
|
-
.awsui_arrow-position-top-
|
|
251
|
+
.awsui_arrow-position-top-center_xjuzf_2nwcz_251 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after, .awsui_arrow-position-top-right_xjuzf_2nwcz_251 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after, .awsui_arrow-position-top-left_xjuzf_2nwcz_251 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after, .awsui_arrow-position-top-responsive_xjuzf_2nwcz_251 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after {
|
|
248
252
|
box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-9hs6xx, rgba(0, 28, 36, 0.5));
|
|
249
253
|
}
|
|
250
|
-
.awsui_arrow-position-bottom-
|
|
254
|
+
.awsui_arrow-position-bottom-center_xjuzf_2nwcz_254 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after, .awsui_arrow-position-bottom-right_xjuzf_2nwcz_254 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after, .awsui_arrow-position-bottom-left_xjuzf_2nwcz_254 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after, .awsui_arrow-position-bottom-responsive_xjuzf_2nwcz_254 > .awsui_arrow-outer_xjuzf_2nwcz_201:not(#\9)::after {
|
|
251
255
|
box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-9hs6xx, rgba(0, 28, 36, 0.5));
|
|
252
256
|
}
|
|
253
257
|
|
|
@@ -349,7 +353,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
349
353
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
350
354
|
SPDX-License-Identifier: Apache-2.0
|
|
351
355
|
*/
|
|
352
|
-
.
|
|
356
|
+
.awsui_body_xjuzf_2nwcz_356:not(#\9) {
|
|
353
357
|
border-collapse: separate;
|
|
354
358
|
border-spacing: 0;
|
|
355
359
|
box-sizing: border-box;
|
|
@@ -389,16 +393,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
389
393
|
padding-block: var(--space-s-2025hl, 12px);
|
|
390
394
|
padding-inline: var(--space-m-kpg8id, 16px);
|
|
391
395
|
}
|
|
392
|
-
.awsui_body-overflow-
|
|
396
|
+
.awsui_body-overflow-visible_xjuzf_2nwcz_395:not(#\9) {
|
|
393
397
|
overflow: visible;
|
|
394
398
|
}
|
|
395
399
|
|
|
396
|
-
.awsui_has-
|
|
400
|
+
.awsui_has-dismiss_xjuzf_2nwcz_399:not(#\9) {
|
|
397
401
|
display: flex;
|
|
398
402
|
align-items: baseline;
|
|
399
403
|
}
|
|
400
404
|
|
|
401
|
-
.
|
|
405
|
+
.awsui_dismiss_xjuzf_2nwcz_404:not(#\9) {
|
|
402
406
|
margin-block: calc(-1 * var(--space-xs-xf5ch3, 8px));
|
|
403
407
|
margin-inline-start: 0;
|
|
404
408
|
margin-inline-end: calc(-1 * (var(--space-xxs-9rrxti, 4px) + var(--border-field-width-yoy972, 1px)));
|
|
@@ -406,15 +410,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
406
410
|
order: 1;
|
|
407
411
|
}
|
|
408
412
|
|
|
409
|
-
.awsui_dismiss-
|
|
413
|
+
.awsui_dismiss-control_xjuzf_2nwcz_412:not(#\9) {
|
|
410
414
|
/* used in test-utils */
|
|
411
415
|
}
|
|
412
416
|
|
|
413
|
-
.awsui_header-
|
|
417
|
+
.awsui_header-row_xjuzf_2nwcz_416:not(#\9) {
|
|
414
418
|
margin-block-end: var(--space-xs-xf5ch3, 8px);
|
|
415
419
|
}
|
|
416
420
|
|
|
417
|
-
.
|
|
421
|
+
.awsui_header_xjuzf_2nwcz_416:not(#\9) {
|
|
418
422
|
word-wrap: break-word;
|
|
419
423
|
max-inline-size: 100%;
|
|
420
424
|
overflow: hidden;
|
|
@@ -427,7 +431,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
427
431
|
/* stylelint-disable selector-max-type */
|
|
428
432
|
/* stylelint-enable selector-max-type */
|
|
429
433
|
}
|
|
430
|
-
.
|
|
434
|
+
.awsui_header_xjuzf_2nwcz_416 > h2:not(#\9) {
|
|
431
435
|
font-size: var(--font-size-heading-xs-pz04z3, 16px);
|
|
432
436
|
line-height: var(--line-height-heading-xs-jsenn1, 20px);
|
|
433
437
|
font-weight: var(--font-weight-heading-xs-lfmr92, 400);
|
|
@@ -436,7 +440,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
436
440
|
display: inline;
|
|
437
441
|
}
|
|
438
442
|
|
|
439
|
-
.
|
|
443
|
+
.awsui_content_xjuzf_2nwcz_442:not(#\9) {
|
|
440
444
|
word-wrap: break-word;
|
|
441
445
|
max-inline-size: 100%;
|
|
442
446
|
overflow: hidden;
|
|
@@ -444,7 +448,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
444
448
|
flex: 1 1 auto;
|
|
445
449
|
min-inline-size: 0;
|
|
446
450
|
}
|
|
447
|
-
.awsui_content-overflow-
|
|
451
|
+
.awsui_content-overflow-visible_xjuzf_2nwcz_450:not(#\9) {
|
|
448
452
|
overflow: visible;
|
|
449
453
|
}
|
|
450
454
|
|
|
@@ -546,7 +550,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
546
550
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
547
551
|
SPDX-License-Identifier: Apache-2.0
|
|
548
552
|
*/
|
|
549
|
-
.
|
|
553
|
+
.awsui_container_xjuzf_2nwcz_552:not(#\9) {
|
|
550
554
|
display: inline-block;
|
|
551
555
|
position: fixed;
|
|
552
556
|
inset-block-start: -9999px;
|
|
@@ -554,7 +558,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
554
558
|
z-index: 2000;
|
|
555
559
|
}
|
|
556
560
|
|
|
557
|
-
.awsui_container-
|
|
561
|
+
.awsui_container-body_xjuzf_2nwcz_560:not(#\9) {
|
|
558
562
|
border-collapse: separate;
|
|
559
563
|
border-spacing: 0;
|
|
560
564
|
box-sizing: border-box;
|
|
@@ -598,90 +602,98 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
598
602
|
border-inline: var(--border-field-width-yoy972, 1px) solid var(--color-border-popover-sxojn8, #d5dbdb);
|
|
599
603
|
}
|
|
600
604
|
|
|
601
|
-
.awsui_container-body-variant-
|
|
605
|
+
.awsui_container-body-variant-annotation_xjuzf_2nwcz_603:not(#\9) {
|
|
602
606
|
background-color: var(--color-background-status-info-pgxhez, #f1faff);
|
|
603
607
|
border-color: var(--color-border-status-info-q9np44, #0073bb);
|
|
604
608
|
}
|
|
605
609
|
|
|
606
|
-
.awsui_container-body-size-
|
|
610
|
+
.awsui_container-body-size-small_xjuzf_2nwcz_608:not(#\9) {
|
|
607
611
|
max-inline-size: 210px;
|
|
608
612
|
}
|
|
609
|
-
.awsui_container-body-size-
|
|
613
|
+
.awsui_container-body-size-small_xjuzf_2nwcz_608.awsui_fixed-width_xjuzf_2nwcz_611:not(#\9) {
|
|
610
614
|
inline-size: 210px;
|
|
611
615
|
}
|
|
612
616
|
|
|
613
|
-
.awsui_container-body-size-
|
|
617
|
+
.awsui_container-body-size-medium_xjuzf_2nwcz_615:not(#\9) {
|
|
614
618
|
max-inline-size: 310px;
|
|
615
619
|
}
|
|
616
|
-
.awsui_container-body-size-
|
|
620
|
+
.awsui_container-body-size-medium_xjuzf_2nwcz_615.awsui_fixed-width_xjuzf_2nwcz_611:not(#\9) {
|
|
617
621
|
inline-size: 310px;
|
|
618
622
|
}
|
|
619
623
|
|
|
620
|
-
.awsui_container-body-size-
|
|
624
|
+
.awsui_container-body-size-large_xjuzf_2nwcz_622:not(#\9) {
|
|
621
625
|
max-inline-size: 480px;
|
|
622
626
|
}
|
|
623
627
|
@media (max-width: 480px) {
|
|
624
|
-
.awsui_container-body-size-
|
|
628
|
+
.awsui_container-body-size-large_xjuzf_2nwcz_622:not(#\9) {
|
|
625
629
|
max-inline-size: 310px;
|
|
626
630
|
}
|
|
627
631
|
}
|
|
628
|
-
.awsui_container-body-size-
|
|
632
|
+
.awsui_container-body-size-large_xjuzf_2nwcz_622.awsui_fixed-width_xjuzf_2nwcz_611:not(#\9) {
|
|
629
633
|
inline-size: 480px;
|
|
630
634
|
}
|
|
631
635
|
|
|
632
|
-
.awsui_container-
|
|
636
|
+
.awsui_container-arrow_xjuzf_2nwcz_634:not(#\9) {
|
|
633
637
|
position: absolute;
|
|
634
638
|
display: inline-block;
|
|
635
639
|
}
|
|
636
|
-
.awsui_container-arrow-position-right-
|
|
640
|
+
.awsui_container-arrow-position-right-top_xjuzf_2nwcz_638:not(#\9), .awsui_container-arrow-position-right-bottom_xjuzf_2nwcz_638:not(#\9) {
|
|
637
641
|
transform: rotate(-90deg);
|
|
638
642
|
transform-origin: 0 100%;
|
|
639
643
|
}
|
|
640
|
-
.awsui_container-arrow-position-right-
|
|
644
|
+
.awsui_container-arrow-position-right-top_xjuzf_2nwcz_638:not(#\9):dir(rtl), .awsui_container-arrow-position-right-bottom_xjuzf_2nwcz_638:not(#\9):dir(rtl) {
|
|
645
|
+
transform: rotate(90deg);
|
|
646
|
+
transform-origin: 100% 100%;
|
|
647
|
+
}
|
|
648
|
+
.awsui_container-arrow-position-right-top_xjuzf_2nwcz_638:not(#\9) {
|
|
641
649
|
inset-block-start: calc(12px + 10px);
|
|
642
650
|
inset-inline-start: 0;
|
|
643
651
|
}
|
|
644
|
-
.awsui_container-arrow-position-right-
|
|
652
|
+
.awsui_container-arrow-position-right-bottom_xjuzf_2nwcz_638:not(#\9) {
|
|
645
653
|
inset-block-end: 12px;
|
|
646
654
|
inset-inline-start: 0;
|
|
647
655
|
}
|
|
648
|
-
.awsui_container-arrow-position-left-
|
|
656
|
+
.awsui_container-arrow-position-left-top_xjuzf_2nwcz_654:not(#\9), .awsui_container-arrow-position-left-bottom_xjuzf_2nwcz_654:not(#\9) {
|
|
649
657
|
transform: rotate(90deg);
|
|
650
658
|
transform-origin: 100% 100%;
|
|
651
659
|
}
|
|
652
|
-
.awsui_container-arrow-position-left-
|
|
660
|
+
.awsui_container-arrow-position-left-top_xjuzf_2nwcz_654:not(#\9):dir(rtl), .awsui_container-arrow-position-left-bottom_xjuzf_2nwcz_654:not(#\9):dir(rtl) {
|
|
661
|
+
transform: rotate(-90deg);
|
|
662
|
+
transform-origin: 0% 100%;
|
|
663
|
+
}
|
|
664
|
+
.awsui_container-arrow-position-left-top_xjuzf_2nwcz_654:not(#\9) {
|
|
653
665
|
inset-block-start: calc(12px + 10px);
|
|
654
666
|
inset-inline-end: 0;
|
|
655
667
|
}
|
|
656
|
-
.awsui_container-arrow-position-left-
|
|
668
|
+
.awsui_container-arrow-position-left-bottom_xjuzf_2nwcz_654:not(#\9) {
|
|
657
669
|
inset-block-end: 12px;
|
|
658
670
|
inset-inline-end: 0;
|
|
659
671
|
}
|
|
660
|
-
.awsui_container-arrow-position-top-
|
|
672
|
+
.awsui_container-arrow-position-top-center_xjuzf_2nwcz_670:not(#\9), .awsui_container-arrow-position-top-right_xjuzf_2nwcz_670:not(#\9), .awsui_container-arrow-position-top-left_xjuzf_2nwcz_670:not(#\9), .awsui_container-arrow-position-top-responsive_xjuzf_2nwcz_670:not(#\9) {
|
|
661
673
|
transform: rotate(180deg);
|
|
662
674
|
transform-origin: 50% 50%;
|
|
663
675
|
}
|
|
664
|
-
.awsui_container-arrow-position-top-
|
|
676
|
+
.awsui_container-arrow-position-top-center_xjuzf_2nwcz_670:not(#\9) {
|
|
665
677
|
inset-block-end: -10px;
|
|
666
678
|
inset-inline-start: calc(50% - 10px);
|
|
667
679
|
}
|
|
668
|
-
.awsui_container-arrow-position-top-
|
|
680
|
+
.awsui_container-arrow-position-top-right_xjuzf_2nwcz_670:not(#\9) {
|
|
669
681
|
inset-block-end: -10px;
|
|
670
682
|
inset-inline-start: 12px;
|
|
671
683
|
}
|
|
672
|
-
.awsui_container-arrow-position-top-
|
|
684
|
+
.awsui_container-arrow-position-top-left_xjuzf_2nwcz_670:not(#\9) {
|
|
673
685
|
inset-block-end: -10px;
|
|
674
686
|
inset-inline-start: calc(100% - 20px - 12px);
|
|
675
687
|
}
|
|
676
|
-
.awsui_container-arrow-position-bottom-
|
|
688
|
+
.awsui_container-arrow-position-bottom-center_xjuzf_2nwcz_686:not(#\9) {
|
|
677
689
|
inset-block-start: -10px;
|
|
678
690
|
inset-inline-start: calc(50% - 10px);
|
|
679
691
|
}
|
|
680
|
-
.awsui_container-arrow-position-bottom-
|
|
692
|
+
.awsui_container-arrow-position-bottom-right_xjuzf_2nwcz_690:not(#\9) {
|
|
681
693
|
inset-block-start: -10px;
|
|
682
694
|
inset-inline-start: 12px;
|
|
683
695
|
}
|
|
684
|
-
.awsui_container-arrow-position-bottom-
|
|
696
|
+
.awsui_container-arrow-position-bottom-left_xjuzf_2nwcz_694:not(#\9) {
|
|
685
697
|
inset-block-start: -10px;
|
|
686
698
|
inset-inline-start: calc(100% - 20px - 12px);
|
|
687
699
|
}
|
|
@@ -784,10 +796,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
784
796
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
785
797
|
SPDX-License-Identifier: Apache-2.0
|
|
786
798
|
*/
|
|
787
|
-
.
|
|
788
|
-
animation: awsui_awsui-motion-fade-
|
|
799
|
+
.awsui_container_xjuzf_2nwcz_552:not(#\9) {
|
|
800
|
+
animation: awsui_awsui-motion-fade-in_xjuzf_2nwcz_1 var(--motion-duration-show-paced-wu1v6q, 180ms) var(--motion-easing-show-paced-72rrqw, ease-out);
|
|
789
801
|
}
|
|
790
|
-
@keyframes awsui_awsui-motion-fade-
|
|
802
|
+
@keyframes awsui_awsui-motion-fade-in_xjuzf_2nwcz_1 {
|
|
791
803
|
from {
|
|
792
804
|
opacity: 0.2;
|
|
793
805
|
}
|
|
@@ -796,19 +808,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
796
808
|
}
|
|
797
809
|
}
|
|
798
810
|
@media (prefers-reduced-motion: reduce) {
|
|
799
|
-
.
|
|
811
|
+
.awsui_container_xjuzf_2nwcz_552:not(#\9) {
|
|
800
812
|
animation: none;
|
|
801
813
|
transition: none;
|
|
802
814
|
}
|
|
803
815
|
}
|
|
804
|
-
.awsui-motion-disabled .
|
|
816
|
+
.awsui-motion-disabled .awsui_container_xjuzf_2nwcz_552:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_2nwcz_552:not(#\9) {
|
|
805
817
|
animation: none;
|
|
806
818
|
transition: none;
|
|
807
819
|
}
|
|
808
|
-
.
|
|
809
|
-
animation: awsui_awsui-motion-fade-
|
|
820
|
+
.awsui_container_xjuzf_2nwcz_552.awsui_refresh_xjuzf_2nwcz_235:not(#\9) {
|
|
821
|
+
animation: awsui_awsui-motion-fade-in_xjuzf_2nwcz_1 var(--motion-duration-refresh-only-fast-y7h37k, 115ms) var(--motion-easing-refresh-only-a-liv5su, cubic-bezier(0, 0, 0, 1));
|
|
810
822
|
}
|
|
811
|
-
@keyframes awsui_awsui-motion-fade-
|
|
823
|
+
@keyframes awsui_awsui-motion-fade-in_xjuzf_2nwcz_1 {
|
|
812
824
|
from {
|
|
813
825
|
opacity: 0.2;
|
|
814
826
|
}
|
|
@@ -817,17 +829,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
817
829
|
}
|
|
818
830
|
}
|
|
819
831
|
@media (prefers-reduced-motion: reduce) {
|
|
820
|
-
.
|
|
832
|
+
.awsui_container_xjuzf_2nwcz_552.awsui_refresh_xjuzf_2nwcz_235:not(#\9) {
|
|
821
833
|
animation: none;
|
|
822
834
|
transition: none;
|
|
823
835
|
}
|
|
824
836
|
}
|
|
825
|
-
.awsui-motion-disabled .
|
|
837
|
+
.awsui-motion-disabled .awsui_container_xjuzf_2nwcz_552.awsui_refresh_xjuzf_2nwcz_235:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_2nwcz_552.awsui_refresh_xjuzf_2nwcz_235:not(#\9) {
|
|
826
838
|
animation: none;
|
|
827
839
|
transition: none;
|
|
828
840
|
}
|
|
829
841
|
|
|
830
|
-
.
|
|
842
|
+
.awsui_root_xjuzf_2nwcz_840:not(#\9) {
|
|
831
843
|
border-collapse: separate;
|
|
832
844
|
border-spacing: 0;
|
|
833
845
|
box-sizing: border-box;
|
|
@@ -864,14 +876,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
864
876
|
color: inherit;
|
|
865
877
|
}
|
|
866
878
|
|
|
867
|
-
.
|
|
879
|
+
.awsui_trigger_xjuzf_2nwcz_876:not(#\9) {
|
|
868
880
|
display: inline-block;
|
|
869
881
|
max-inline-size: 100%;
|
|
870
882
|
color: inherit;
|
|
871
883
|
text-align: inherit;
|
|
872
884
|
}
|
|
873
885
|
|
|
874
|
-
.awsui_trigger-type-
|
|
886
|
+
.awsui_trigger-type-text_xjuzf_2nwcz_883:not(#\9) {
|
|
875
887
|
border-block: 0;
|
|
876
888
|
border-inline: 0;
|
|
877
889
|
margin-block: 0;
|
|
@@ -882,17 +894,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
882
894
|
cursor: pointer;
|
|
883
895
|
border-block-end: var(--border-divider-list-width-471u6a, 1px) dashed currentColor;
|
|
884
896
|
}
|
|
885
|
-
.awsui_trigger-type-
|
|
897
|
+
.awsui_trigger-type-text_xjuzf_2nwcz_883:not(#\9):focus {
|
|
886
898
|
outline: none;
|
|
887
899
|
}
|
|
888
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
900
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_2nwcz_883:not(#\9):focus {
|
|
889
901
|
position: relative;
|
|
890
902
|
}
|
|
891
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
903
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_2nwcz_883:not(#\9):focus {
|
|
892
904
|
outline: 2px dotted transparent;
|
|
893
905
|
outline-offset: calc(1px - 1px);
|
|
894
906
|
}
|
|
895
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
907
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_2nwcz_883:not(#\9):focus::before {
|
|
896
908
|
content: " ";
|
|
897
909
|
display: block;
|
|
898
910
|
position: absolute;
|
|
@@ -906,10 +918,10 @@ body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_1wdzy_871:not
|
|
|
906
918
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-a78bgq, 2px);
|
|
907
919
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-v8nq2m, #0073bb);
|
|
908
920
|
}
|
|
909
|
-
.awsui_trigger-type-
|
|
921
|
+
.awsui_trigger-type-text_xjuzf_2nwcz_883 > .awsui_trigger-inner-text_xjuzf_2nwcz_918:not(#\9) {
|
|
910
922
|
position: relative;
|
|
911
923
|
}
|
|
912
924
|
|
|
913
|
-
.awsui_popover-inline-
|
|
925
|
+
.awsui_popover-inline-content_xjuzf_2nwcz_922:not(#\9) {
|
|
914
926
|
display: inline;
|
|
915
927
|
}
|