@cloudscape-design/components-themeable 3.0.76 → 3.0.77
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/scss/date-range-picker/styles.scss +7 -8
- package/lib/internal/scss/popover/styles.scss +5 -0
- package/lib/internal/scss/table/header-cell/styles.scss +4 -0
- package/lib/internal/template/app-layout/drawer.d.ts +2 -1
- package/lib/internal/template/app-layout/drawer.d.ts.map +1 -1
- package/lib/internal/template/app-layout/drawer.js +8 -2
- package/lib/internal/template/app-layout/drawer.js.map +1 -1
- package/lib/internal/template/app-layout/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/index.js +6 -5
- package/lib/internal/template/app-layout/index.js.map +1 -1
- package/lib/internal/template/app-layout/interfaces.d.ts +6 -0
- package/lib/internal/template/app-layout/interfaces.d.ts.map +1 -1
- package/lib/internal/template/app-layout/interfaces.js.map +1 -1
- package/lib/internal/template/app-layout/notifications/index.js +1 -1
- package/lib/internal/template/app-layout/notifications/index.js.map +1 -1
- package/lib/internal/template/app-layout/tools-and-split-panel.d.ts +2 -1
- package/lib/internal/template/app-layout/tools-and-split-panel.d.ts.map +1 -1
- package/lib/internal/template/app-layout/tools-and-split-panel.js +2 -2
- package/lib/internal/template/app-layout/tools-and-split-panel.js.map +1 -1
- package/lib/internal/template/app-layout/utils/use-focus-control.d.ts +10 -4
- package/lib/internal/template/app-layout/utils/use-focus-control.d.ts.map +1 -1
- package/lib/internal/template/app-layout/utils/use-focus-control.js +30 -9
- package/lib/internal/template/app-layout/utils/use-focus-control.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/app-bar.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh/app-bar.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/context.d.ts +3 -1
- package/lib/internal/template/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/context.js +8 -4
- package/lib/internal/template/app-layout/visual-refresh/context.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/navigation.js +1 -1
- package/lib/internal/template/app-layout/visual-refresh/navigation.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/notifications.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh/notifications.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/tools.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/tools.js +7 -4
- package/lib/internal/template/app-layout/visual-refresh/tools.js.map +1 -1
- package/lib/internal/template/date-range-picker/calendar/index.d.ts.map +1 -1
- package/lib/internal/template/date-range-picker/calendar/index.js +22 -26
- package/lib/internal/template/date-range-picker/calendar/index.js.map +1 -1
- package/lib/internal/template/date-range-picker/index.js +1 -1
- package/lib/internal/template/date-range-picker/index.js.map +1 -1
- package/lib/internal/template/date-range-picker/styles.css.js +36 -37
- package/lib/internal/template/date-range-picker/styles.scoped.css +50 -54
- package/lib/internal/template/date-range-picker/styles.selectors.js +36 -37
- package/lib/internal/template/input/internal.d.ts.map +1 -1
- package/lib/internal/template/input/internal.js +2 -3
- package/lib/internal/template/input/internal.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +9 -2
- package/lib/internal/template/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.js +4 -5
- package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
- package/lib/internal/template/internal/components/button-trigger/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/button-trigger/index.js +2 -3
- package/lib/internal/template/internal/components/button-trigger/index.js.map +1 -1
- package/lib/internal/template/internal/components/chart-popover/index.js +1 -1
- package/lib/internal/template/internal/components/chart-popover/index.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 +1 -1
- package/lib/internal/template/internal/components/dropdown/index.js.map +1 -1
- package/lib/internal/template/internal/components/dropdown-status/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/dropdown-status/index.js +2 -4
- package/lib/internal/template/internal/components/dropdown-status/index.js.map +1 -1
- package/lib/internal/template/internal/components/options-list/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/options-list/index.js +2 -2
- package/lib/internal/template/internal/components/options-list/index.js.map +1 -1
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/events/index.d.ts +0 -9
- package/lib/internal/template/internal/events/index.d.ts.map +1 -1
- package/lib/internal/template/internal/events/index.js +0 -11
- package/lib/internal/template/internal/events/index.js.map +1 -1
- package/lib/internal/template/internal/generated/theming/index.cjs +23 -0
- package/lib/internal/template/internal/generated/theming/index.js +23 -0
- package/lib/internal/template/popover/internal.js +2 -2
- package/lib/internal/template/popover/internal.js.map +1 -1
- package/lib/internal/template/popover/styles.css.js +50 -49
- package/lib/internal/template/popover/styles.scoped.css +67 -62
- package/lib/internal/template/popover/styles.selectors.js +50 -49
- package/lib/internal/template/table/header-cell/index.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/index.js +1 -0
- package/lib/internal/template/table/header-cell/index.js.map +1 -1
- package/lib/internal/template/table/header-cell/styles.css.js +15 -14
- package/lib/internal/template/table/header-cell/styles.scoped.css +27 -24
- package/lib/internal/template/table/header-cell/styles.selectors.js +15 -14
- package/lib/internal/template/table/resizer/styles.css.js +4 -4
- package/lib/internal/template/table/resizer/styles.scoped.css +9 -9
- package/lib/internal/template/table/resizer/styles.selectors.js +4 -4
- package/package.json +1 -1
|
@@ -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("
|
|
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("
|
|
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
|
clickFrameId.current = null;
|
|
@@ -1 +1 @@
|
|
|
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,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,eAAe,MAAM,iCAAiC,CAAC;AAE9D,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,MAAM,MAAM,+BAA+B,CAAC;AAEnD,OAAO,gBAAgB,MAAM,aAAa,CAAC;AAC3C,OAAO,WAAW,MAAM,QAAQ,CAAC;AAEjC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAA6B,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAE7F,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,oBAAo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qB,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": "
|
|
5
|
-
"arrow-outer": "awsui_arrow-
|
|
6
|
-
"arrow-inner": "awsui_arrow-
|
|
7
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
8
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
10
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
12
|
-
"arrow-position-top-right": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-top-left": "awsui_arrow-position-top-
|
|
14
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
15
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
16
|
-
"arrow-position-bottom-right": "awsui_arrow-position-bottom-
|
|
17
|
-
"arrow-position-bottom-left": "awsui_arrow-position-bottom-
|
|
18
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
19
|
-
"body": "
|
|
20
|
-
"body-overflow-visible": "awsui_body-overflow-
|
|
21
|
-
"has-dismiss": "awsui_has-
|
|
22
|
-
"dismiss": "
|
|
23
|
-
"dismiss-control": "awsui_dismiss-
|
|
24
|
-
"header-row": "awsui_header-
|
|
25
|
-
"header": "
|
|
26
|
-
"content": "
|
|
27
|
-
"content-overflow-visible": "awsui_content-overflow-
|
|
28
|
-
"container": "
|
|
29
|
-
"container-body": "awsui_container-
|
|
30
|
-
"container-body-variant-annotation": "awsui_container-body-variant-
|
|
31
|
-
"container-body-size-small": "awsui_container-body-size-
|
|
32
|
-
"fixed-width": "awsui_fixed-
|
|
33
|
-
"container-body-size-medium": "awsui_container-body-size-
|
|
34
|
-
"container-body-size-large": "awsui_container-body-size-
|
|
35
|
-
"container-arrow": "awsui_container-
|
|
36
|
-
"container-arrow-position-right-top": "awsui_container-arrow-position-right-
|
|
37
|
-
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-
|
|
38
|
-
"container-arrow-position-left-top": "awsui_container-arrow-position-left-
|
|
39
|
-
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-
|
|
40
|
-
"container-arrow-position-top-center": "awsui_container-arrow-position-top-
|
|
41
|
-
"container-arrow-position-top-right": "awsui_container-arrow-position-top-
|
|
42
|
-
"container-arrow-position-top-left": "awsui_container-arrow-position-top-
|
|
43
|
-
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-
|
|
44
|
-
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-
|
|
45
|
-
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-
|
|
46
|
-
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-
|
|
47
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
48
|
-
"refresh": "
|
|
49
|
-
"root": "
|
|
50
|
-
"trigger": "
|
|
51
|
-
"trigger-type-text": "awsui_trigger-type-
|
|
52
|
-
"trigger-inner-text": "awsui_trigger-inner-
|
|
4
|
+
"arrow": "awsui_arrow_xjuzf_1g2lt_185",
|
|
5
|
+
"arrow-outer": "awsui_arrow-outer_xjuzf_1g2lt_189",
|
|
6
|
+
"arrow-inner": "awsui_arrow-inner_xjuzf_1g2lt_189",
|
|
7
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_xjuzf_1g2lt_220",
|
|
8
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_xjuzf_1g2lt_220",
|
|
9
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_xjuzf_1g2lt_223",
|
|
10
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_xjuzf_1g2lt_223",
|
|
11
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_xjuzf_1g2lt_226",
|
|
12
|
+
"arrow-position-top-right": "awsui_arrow-position-top-right_xjuzf_1g2lt_226",
|
|
13
|
+
"arrow-position-top-left": "awsui_arrow-position-top-left_xjuzf_1g2lt_226",
|
|
14
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_xjuzf_1g2lt_226",
|
|
15
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_xjuzf_1g2lt_229",
|
|
16
|
+
"arrow-position-bottom-right": "awsui_arrow-position-bottom-right_xjuzf_1g2lt_229",
|
|
17
|
+
"arrow-position-bottom-left": "awsui_arrow-position-bottom-left_xjuzf_1g2lt_229",
|
|
18
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_xjuzf_1g2lt_229",
|
|
19
|
+
"body": "awsui_body_xjuzf_1g2lt_325",
|
|
20
|
+
"body-overflow-visible": "awsui_body-overflow-visible_xjuzf_1g2lt_339",
|
|
21
|
+
"has-dismiss": "awsui_has-dismiss_xjuzf_1g2lt_343",
|
|
22
|
+
"dismiss": "awsui_dismiss_xjuzf_1g2lt_348",
|
|
23
|
+
"dismiss-control": "awsui_dismiss-control_xjuzf_1g2lt_355",
|
|
24
|
+
"header-row": "awsui_header-row_xjuzf_1g2lt_359",
|
|
25
|
+
"header": "awsui_header_xjuzf_1g2lt_359",
|
|
26
|
+
"content": "awsui_content_xjuzf_1g2lt_381",
|
|
27
|
+
"content-overflow-visible": "awsui_content-overflow-visible_xjuzf_1g2lt_388",
|
|
28
|
+
"container": "awsui_container_xjuzf_1g2lt_484",
|
|
29
|
+
"container-body": "awsui_container-body_xjuzf_1g2lt_492",
|
|
30
|
+
"container-body-variant-annotation": "awsui_container-body-variant-annotation_xjuzf_1g2lt_507",
|
|
31
|
+
"container-body-size-small": "awsui_container-body-size-small_xjuzf_1g2lt_512",
|
|
32
|
+
"fixed-width": "awsui_fixed-width_xjuzf_1g2lt_515",
|
|
33
|
+
"container-body-size-medium": "awsui_container-body-size-medium_xjuzf_1g2lt_519",
|
|
34
|
+
"container-body-size-large": "awsui_container-body-size-large_xjuzf_1g2lt_526",
|
|
35
|
+
"container-arrow": "awsui_container-arrow_xjuzf_1g2lt_538",
|
|
36
|
+
"container-arrow-position-right-top": "awsui_container-arrow-position-right-top_xjuzf_1g2lt_542",
|
|
37
|
+
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-bottom_xjuzf_1g2lt_542",
|
|
38
|
+
"container-arrow-position-left-top": "awsui_container-arrow-position-left-top_xjuzf_1g2lt_554",
|
|
39
|
+
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-bottom_xjuzf_1g2lt_554",
|
|
40
|
+
"container-arrow-position-top-center": "awsui_container-arrow-position-top-center_xjuzf_1g2lt_566",
|
|
41
|
+
"container-arrow-position-top-right": "awsui_container-arrow-position-top-right_xjuzf_1g2lt_566",
|
|
42
|
+
"container-arrow-position-top-left": "awsui_container-arrow-position-top-left_xjuzf_1g2lt_566",
|
|
43
|
+
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-responsive_xjuzf_1g2lt_566",
|
|
44
|
+
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-center_xjuzf_1g2lt_582",
|
|
45
|
+
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-right_xjuzf_1g2lt_586",
|
|
46
|
+
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-left_xjuzf_1g2lt_590",
|
|
47
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_xjuzf_1g2lt_1",
|
|
48
|
+
"refresh": "awsui_refresh_xjuzf_1g2lt_708",
|
|
49
|
+
"root": "awsui_root_xjuzf_1g2lt_730",
|
|
50
|
+
"trigger": "awsui_trigger_xjuzf_1g2lt_743",
|
|
51
|
+
"trigger-type-text": "awsui_trigger-type-text_xjuzf_1g2lt_750",
|
|
52
|
+
"trigger-inner-text": "awsui_trigger-inner-text_xjuzf_1g2lt_779",
|
|
53
|
+
"popover-content": "awsui_popover-content_xjuzf_1g2lt_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
|
-
.
|
|
185
|
+
.awsui_arrow_xjuzf_1g2lt_185:not(#\9) {
|
|
186
186
|
width: 20px;
|
|
187
187
|
height: 10px;
|
|
188
188
|
}
|
|
189
|
-
.awsui_arrow-
|
|
189
|
+
.awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9), .awsui_arrow-inner_xjuzf_1g2lt_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-
|
|
197
|
+
.awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after, .awsui_arrow-inner_xjuzf_1g2lt_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-
|
|
210
|
+
.awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after {
|
|
211
211
|
background-color: var(--color-border-popover-jq2u63, #d5dbdb);
|
|
212
212
|
}
|
|
213
|
-
.awsui_arrow-
|
|
213
|
+
.awsui_arrow-inner_xjuzf_1g2lt_189:not(#\9) {
|
|
214
214
|
top: 2px;
|
|
215
215
|
}
|
|
216
|
-
.awsui_arrow-
|
|
216
|
+
.awsui_arrow-inner_xjuzf_1g2lt_189:not(#\9)::after {
|
|
217
217
|
border-radius: 1px 0 0 0;
|
|
218
218
|
background-color: var(--color-background-popover-g6qj89, #ffffff);
|
|
219
219
|
}
|
|
220
|
-
.awsui_arrow-position-right-
|
|
220
|
+
.awsui_arrow-position-right-top_xjuzf_1g2lt_220 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after, .awsui_arrow-position-right-bottom_xjuzf_1g2lt_220 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after {
|
|
221
221
|
box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
|
|
222
222
|
}
|
|
223
|
-
.awsui_arrow-position-left-
|
|
223
|
+
.awsui_arrow-position-left-top_xjuzf_1g2lt_223 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after, .awsui_arrow-position-left-bottom_xjuzf_1g2lt_223 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after {
|
|
224
224
|
box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
|
|
225
225
|
}
|
|
226
|
-
.awsui_arrow-position-top-
|
|
226
|
+
.awsui_arrow-position-top-center_xjuzf_1g2lt_226 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after, .awsui_arrow-position-top-right_xjuzf_1g2lt_226 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after, .awsui_arrow-position-top-left_xjuzf_1g2lt_226 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after, .awsui_arrow-position-top-responsive_xjuzf_1g2lt_226 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after {
|
|
227
227
|
box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
|
|
228
228
|
}
|
|
229
|
-
.awsui_arrow-position-bottom-
|
|
229
|
+
.awsui_arrow-position-bottom-center_xjuzf_1g2lt_229 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after, .awsui_arrow-position-bottom-right_xjuzf_1g2lt_229 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after, .awsui_arrow-position-bottom-left_xjuzf_1g2lt_229 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after, .awsui_arrow-position-bottom-responsive_xjuzf_1g2lt_229 > .awsui_arrow-outer_xjuzf_1g2lt_189:not(#\9)::after {
|
|
230
230
|
box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
|
|
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
|
-
.
|
|
325
|
+
.awsui_body_xjuzf_1g2lt_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-
|
|
365
|
+
.awsui_body-overflow-visible_xjuzf_1g2lt_339:not(#\9) {
|
|
366
366
|
overflow: visible;
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
.awsui_has-
|
|
369
|
+
.awsui_has-dismiss_xjuzf_1g2lt_343:not(#\9) {
|
|
370
370
|
display: flex;
|
|
371
371
|
align-items: baseline;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
-
.
|
|
374
|
+
.awsui_dismiss_xjuzf_1g2lt_348:not(#\9) {
|
|
375
375
|
margin: calc(-1 * (var(--space-scaled-xxs-95dhkm, 4px) + var(--border-field-width-y6x4sn, 1px))) calc(-1 * (var(--space-xxs-ynfts5, 4px) + var(--border-field-width-y6x4sn, 1px)));
|
|
376
376
|
margin-left: 0;
|
|
377
377
|
flex: 0 0 auto;
|
|
378
378
|
order: 1;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
.awsui_dismiss-
|
|
381
|
+
.awsui_dismiss-control_xjuzf_1g2lt_355:not(#\9) {
|
|
382
382
|
/* used in test-utils */
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
.awsui_header-
|
|
385
|
+
.awsui_header-row_xjuzf_1g2lt_359:not(#\9) {
|
|
386
386
|
margin-bottom: var(--space-xs-rsr2qu, 8px);
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
-
.
|
|
389
|
+
.awsui_header_xjuzf_1g2lt_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
|
-
.
|
|
400
|
+
.awsui_header_xjuzf_1g2lt_359 > h2:not(#\9) {
|
|
401
401
|
font-size: var(--font-heading-xs-size-j82aha, 16px);
|
|
402
402
|
line-height: var(--font-heading-xs-line-height-tf278d, 20px);
|
|
403
403
|
font-weight: var(--font-heading-xs-weight-5hfvig, 400);
|
|
404
404
|
display: inline;
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
.
|
|
407
|
+
.awsui_content_xjuzf_1g2lt_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-u912t7, #545b64);
|
|
412
412
|
flex: 1 1 auto;
|
|
413
413
|
}
|
|
414
|
-
.awsui_content-overflow-
|
|
414
|
+
.awsui_content-overflow-visible_xjuzf_1g2lt_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
|
-
.
|
|
510
|
+
.awsui_container_xjuzf_1g2lt_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-
|
|
518
|
+
.awsui_container-body_xjuzf_1g2lt_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-y6x4sn, 1px) solid var(--color-border-popover-jq2u63, #d5dbdb);
|
|
557
557
|
}
|
|
558
558
|
|
|
559
|
-
.awsui_container-body-variant-
|
|
559
|
+
.awsui_container-body-variant-annotation_xjuzf_1g2lt_507:not(#\9) {
|
|
560
560
|
background-color: var(--color-background-status-info-yq3r41, #f1faff);
|
|
561
561
|
border-color: var(--color-border-status-info-0iedcr, #0073bb);
|
|
562
562
|
}
|
|
563
563
|
|
|
564
|
-
.awsui_container-body-size-
|
|
564
|
+
.awsui_container-body-size-small_xjuzf_1g2lt_512:not(#\9) {
|
|
565
565
|
max-width: 210px;
|
|
566
566
|
}
|
|
567
|
-
.awsui_container-body-size-
|
|
567
|
+
.awsui_container-body-size-small_xjuzf_1g2lt_512.awsui_fixed-width_xjuzf_1g2lt_515:not(#\9) {
|
|
568
568
|
width: 210px;
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
.awsui_container-body-size-
|
|
571
|
+
.awsui_container-body-size-medium_xjuzf_1g2lt_519:not(#\9) {
|
|
572
572
|
max-width: 310px;
|
|
573
573
|
}
|
|
574
|
-
.awsui_container-body-size-
|
|
574
|
+
.awsui_container-body-size-medium_xjuzf_1g2lt_519.awsui_fixed-width_xjuzf_1g2lt_515:not(#\9) {
|
|
575
575
|
width: 310px;
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
.awsui_container-body-size-
|
|
578
|
+
.awsui_container-body-size-large_xjuzf_1g2lt_526:not(#\9) {
|
|
579
579
|
max-width: 480px;
|
|
580
580
|
}
|
|
581
581
|
@media (max-width: 480px) {
|
|
582
|
-
.awsui_container-body-size-
|
|
582
|
+
.awsui_container-body-size-large_xjuzf_1g2lt_526:not(#\9) {
|
|
583
583
|
max-width: 310px;
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
|
-
.awsui_container-body-size-
|
|
586
|
+
.awsui_container-body-size-large_xjuzf_1g2lt_526.awsui_fixed-width_xjuzf_1g2lt_515:not(#\9) {
|
|
587
587
|
width: 480px;
|
|
588
588
|
}
|
|
589
589
|
|
|
590
|
-
.awsui_container-
|
|
590
|
+
.awsui_container-arrow_xjuzf_1g2lt_538:not(#\9) {
|
|
591
591
|
position: absolute;
|
|
592
592
|
display: inline-block;
|
|
593
593
|
}
|
|
594
|
-
.awsui_container-arrow-position-right-
|
|
594
|
+
.awsui_container-arrow-position-right-top_xjuzf_1g2lt_542:not(#\9), .awsui_container-arrow-position-right-bottom_xjuzf_1g2lt_542:not(#\9) {
|
|
595
595
|
transform: rotate(-90deg);
|
|
596
596
|
transform-origin: 0 100%;
|
|
597
597
|
}
|
|
598
|
-
.awsui_container-arrow-position-right-
|
|
598
|
+
.awsui_container-arrow-position-right-top_xjuzf_1g2lt_542:not(#\9) {
|
|
599
599
|
top: calc(12px + 10px);
|
|
600
600
|
left: 0;
|
|
601
601
|
}
|
|
602
|
-
.awsui_container-arrow-position-right-
|
|
602
|
+
.awsui_container-arrow-position-right-bottom_xjuzf_1g2lt_542:not(#\9) {
|
|
603
603
|
bottom: 12px;
|
|
604
604
|
left: 0;
|
|
605
605
|
}
|
|
606
|
-
.awsui_container-arrow-position-left-
|
|
606
|
+
.awsui_container-arrow-position-left-top_xjuzf_1g2lt_554:not(#\9), .awsui_container-arrow-position-left-bottom_xjuzf_1g2lt_554:not(#\9) {
|
|
607
607
|
transform: rotate(90deg);
|
|
608
608
|
transform-origin: 100% 100%;
|
|
609
609
|
}
|
|
610
|
-
.awsui_container-arrow-position-left-
|
|
610
|
+
.awsui_container-arrow-position-left-top_xjuzf_1g2lt_554:not(#\9) {
|
|
611
611
|
top: calc(12px + 10px);
|
|
612
612
|
right: 0;
|
|
613
613
|
}
|
|
614
|
-
.awsui_container-arrow-position-left-
|
|
614
|
+
.awsui_container-arrow-position-left-bottom_xjuzf_1g2lt_554:not(#\9) {
|
|
615
615
|
bottom: 12px;
|
|
616
616
|
right: 0;
|
|
617
617
|
}
|
|
618
|
-
.awsui_container-arrow-position-top-
|
|
618
|
+
.awsui_container-arrow-position-top-center_xjuzf_1g2lt_566:not(#\9), .awsui_container-arrow-position-top-right_xjuzf_1g2lt_566:not(#\9), .awsui_container-arrow-position-top-left_xjuzf_1g2lt_566:not(#\9), .awsui_container-arrow-position-top-responsive_xjuzf_1g2lt_566:not(#\9) {
|
|
619
619
|
transform: rotate(180deg);
|
|
620
620
|
transform-origin: 50% 50%;
|
|
621
621
|
}
|
|
622
|
-
.awsui_container-arrow-position-top-
|
|
622
|
+
.awsui_container-arrow-position-top-center_xjuzf_1g2lt_566:not(#\9) {
|
|
623
623
|
bottom: -10px;
|
|
624
624
|
left: calc(50% - 10px);
|
|
625
625
|
}
|
|
626
|
-
.awsui_container-arrow-position-top-
|
|
626
|
+
.awsui_container-arrow-position-top-right_xjuzf_1g2lt_566:not(#\9) {
|
|
627
627
|
bottom: -10px;
|
|
628
628
|
left: 12px;
|
|
629
629
|
}
|
|
630
|
-
.awsui_container-arrow-position-top-
|
|
630
|
+
.awsui_container-arrow-position-top-left_xjuzf_1g2lt_566:not(#\9) {
|
|
631
631
|
bottom: -10px;
|
|
632
632
|
left: calc(100% - 20px - 12px);
|
|
633
633
|
}
|
|
634
|
-
.awsui_container-arrow-position-bottom-
|
|
634
|
+
.awsui_container-arrow-position-bottom-center_xjuzf_1g2lt_582:not(#\9) {
|
|
635
635
|
top: -10px;
|
|
636
636
|
left: calc(50% - 10px);
|
|
637
637
|
}
|
|
638
|
-
.awsui_container-arrow-position-bottom-
|
|
638
|
+
.awsui_container-arrow-position-bottom-right_xjuzf_1g2lt_586:not(#\9) {
|
|
639
639
|
top: -10px;
|
|
640
640
|
left: 12px;
|
|
641
641
|
}
|
|
642
|
-
.awsui_container-arrow-position-bottom-
|
|
642
|
+
.awsui_container-arrow-position-bottom-left_xjuzf_1g2lt_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
|
-
.
|
|
740
|
-
animation: awsui_awsui-motion-fade-
|
|
739
|
+
.awsui_container_xjuzf_1g2lt_484:not(#\9) {
|
|
740
|
+
animation: awsui_awsui-motion-fade-in_xjuzf_1g2lt_1 var(--motion-duration-show-paced-7wspqf, 180ms) var(--motion-easing-show-paced-wj4ybn, ease-out);
|
|
741
741
|
}
|
|
742
|
-
@keyframes awsui_awsui-motion-fade-
|
|
742
|
+
@keyframes awsui_awsui-motion-fade-in_xjuzf_1g2lt_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
|
-
.
|
|
751
|
+
.awsui_container_xjuzf_1g2lt_484:not(#\9) {
|
|
752
752
|
animation: none;
|
|
753
753
|
transition: none;
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
|
-
.awsui-motion-disabled .
|
|
756
|
+
.awsui-motion-disabled .awsui_container_xjuzf_1g2lt_484:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_1g2lt_484:not(#\9) {
|
|
757
757
|
animation: none;
|
|
758
758
|
transition: none;
|
|
759
759
|
}
|
|
760
|
-
.
|
|
761
|
-
animation: awsui_awsui-motion-fade-
|
|
760
|
+
.awsui_container_xjuzf_1g2lt_484.awsui_refresh_xjuzf_1g2lt_708:not(#\9) {
|
|
761
|
+
animation: awsui_awsui-motion-fade-in_xjuzf_1g2lt_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-
|
|
763
|
+
@keyframes awsui_awsui-motion-fade-in_xjuzf_1g2lt_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
|
-
.
|
|
772
|
+
.awsui_container_xjuzf_1g2lt_484.awsui_refresh_xjuzf_1g2lt_708:not(#\9) {
|
|
773
773
|
animation: none;
|
|
774
774
|
transition: none;
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
|
-
.awsui-motion-disabled .
|
|
777
|
+
.awsui-motion-disabled .awsui_container_xjuzf_1g2lt_484.awsui_refresh_xjuzf_1g2lt_708:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_1g2lt_484.awsui_refresh_xjuzf_1g2lt_708:not(#\9) {
|
|
778
778
|
animation: none;
|
|
779
779
|
transition: none;
|
|
780
780
|
}
|
|
781
781
|
|
|
782
|
-
.
|
|
782
|
+
.awsui_root_xjuzf_1g2lt_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-mylvzb, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
817
817
|
color: inherit;
|
|
818
|
+
display: inline;
|
|
818
819
|
}
|
|
819
820
|
|
|
820
|
-
.
|
|
821
|
+
.awsui_trigger_xjuzf_1g2lt_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-
|
|
828
|
+
.awsui_trigger-type-text_xjuzf_1g2lt_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-
|
|
836
|
+
.awsui_trigger-type-text_xjuzf_1g2lt_750:not(#\9):focus {
|
|
836
837
|
outline: none;
|
|
837
838
|
}
|
|
838
|
-
.awsui_trigger-type-
|
|
839
|
+
.awsui_trigger-type-text_xjuzf_1g2lt_750[data-awsui-focus-visible=true]:not(#\9):focus {
|
|
839
840
|
position: relative;
|
|
840
841
|
}
|
|
841
|
-
.awsui_trigger-type-
|
|
842
|
+
.awsui_trigger-type-text_xjuzf_1g2lt_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-
|
|
846
|
+
.awsui_trigger-type-text_xjuzf_1g2lt_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-hekmgc, 2px);
|
|
854
855
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-n5kd8g, #0073bb);
|
|
855
856
|
}
|
|
856
|
-
.awsui_trigger-type-
|
|
857
|
+
.awsui_trigger-type-text_xjuzf_1g2lt_750 > .awsui_trigger-inner-text_xjuzf_1g2lt_779:not(#\9) {
|
|
857
858
|
position: relative;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
.awsui_popover-content_xjuzf_1g2lt_783:not(#\9) {
|
|
862
|
+
display: inline;
|
|
858
863
|
}
|