@cloudscape-design/components 3.0.254 → 3.0.256
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/cards/index.js +4 -4
- package/cards/index.js.map +1 -1
- package/cards/interfaces.d.ts +3 -0
- package/cards/interfaces.d.ts.map +1 -1
- package/cards/interfaces.js.map +1 -1
- package/code-editor/index.d.ts.map +1 -1
- package/code-editor/index.js +3 -0
- package/code-editor/index.js.map +1 -1
- package/code-editor/interfaces.d.ts +3 -0
- package/code-editor/interfaces.d.ts.map +1 -1
- package/code-editor/interfaces.js.map +1 -1
- package/code-editor/preferences-modal.d.ts +3 -0
- package/code-editor/preferences-modal.d.ts.map +1 -1
- package/code-editor/preferences-modal.js +1 -1
- package/code-editor/preferences-modal.js.map +1 -1
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +1 -1
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/popover/internal.js +1 -1
- package/popover/internal.js.map +1 -1
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +63 -64
- package/popover/styles.selectors.js +50 -50
package/popover/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"lib/default/","sources":["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,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,KAAK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,CAAC,cAAc,CACjE,CACmB,CAC7B,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 { FormFieldContext } from '../internal/context/form-field-context';\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';\nimport { useInternalI18n } from '../internal/i18n/context';\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\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 triggerRef = useRef<HTMLElement | null>(null);\n const popoverRef = useRef<HTMLDivElement | null>(null);\n const clickFrameId = useRef<number | null>(null);\n\n const i18n = useInternalI18n('popover');\n const dismissAriaLabel = i18n('dismissAriaLabel', restProps.dismissAriaLabel);\n\n const [visible, setVisible] = useState(false);\n\n const focusTrigger = useCallback(() => {\n triggerRef.current?.focus();\n }, []);\n\n const onTriggerClick = useCallback(() => {\n fireNonCancelableEvent(__onOpen);\n setVisible(true);\n }, [__onOpen]);\n\n const onDismiss = useCallback(() => {\n setVisible(false);\n focusTrigger();\n }, [focusTrigger]);\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 <FormFieldContext.Provider value={{}}>\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\">\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 </FormFieldContext.Provider>\n );\n}\n"]}
|
package/popover/styles.css.js
CHANGED
|
@@ -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
|
-
"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-
|
|
53
|
-
"popover-content": "awsui_popover-
|
|
4
|
+
"arrow": "awsui_arrow_xjuzf_16j87_185",
|
|
5
|
+
"arrow-outer": "awsui_arrow-outer_xjuzf_16j87_189",
|
|
6
|
+
"arrow-inner": "awsui_arrow-inner_xjuzf_16j87_189",
|
|
7
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_xjuzf_16j87_220",
|
|
8
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_xjuzf_16j87_220",
|
|
9
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_xjuzf_16j87_223",
|
|
10
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_xjuzf_16j87_223",
|
|
11
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_xjuzf_16j87_226",
|
|
12
|
+
"arrow-position-top-right": "awsui_arrow-position-top-right_xjuzf_16j87_226",
|
|
13
|
+
"arrow-position-top-left": "awsui_arrow-position-top-left_xjuzf_16j87_226",
|
|
14
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_xjuzf_16j87_226",
|
|
15
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_xjuzf_16j87_229",
|
|
16
|
+
"arrow-position-bottom-right": "awsui_arrow-position-bottom-right_xjuzf_16j87_229",
|
|
17
|
+
"arrow-position-bottom-left": "awsui_arrow-position-bottom-left_xjuzf_16j87_229",
|
|
18
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_xjuzf_16j87_229",
|
|
19
|
+
"body": "awsui_body_xjuzf_16j87_325",
|
|
20
|
+
"body-overflow-visible": "awsui_body-overflow-visible_xjuzf_16j87_341",
|
|
21
|
+
"has-dismiss": "awsui_has-dismiss_xjuzf_16j87_345",
|
|
22
|
+
"dismiss": "awsui_dismiss_xjuzf_16j87_350",
|
|
23
|
+
"dismiss-control": "awsui_dismiss-control_xjuzf_16j87_357",
|
|
24
|
+
"header-row": "awsui_header-row_xjuzf_16j87_361",
|
|
25
|
+
"header": "awsui_header_xjuzf_16j87_361",
|
|
26
|
+
"content": "awsui_content_xjuzf_16j87_387",
|
|
27
|
+
"content-overflow-visible": "awsui_content-overflow-visible_xjuzf_16j87_395",
|
|
28
|
+
"container": "awsui_container_xjuzf_16j87_491",
|
|
29
|
+
"container-body": "awsui_container-body_xjuzf_16j87_499",
|
|
30
|
+
"container-body-variant-annotation": "awsui_container-body-variant-annotation_xjuzf_16j87_516",
|
|
31
|
+
"container-body-size-small": "awsui_container-body-size-small_xjuzf_16j87_521",
|
|
32
|
+
"fixed-width": "awsui_fixed-width_xjuzf_16j87_524",
|
|
33
|
+
"container-body-size-medium": "awsui_container-body-size-medium_xjuzf_16j87_528",
|
|
34
|
+
"container-body-size-large": "awsui_container-body-size-large_xjuzf_16j87_535",
|
|
35
|
+
"container-arrow": "awsui_container-arrow_xjuzf_16j87_547",
|
|
36
|
+
"container-arrow-position-right-top": "awsui_container-arrow-position-right-top_xjuzf_16j87_551",
|
|
37
|
+
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-bottom_xjuzf_16j87_551",
|
|
38
|
+
"container-arrow-position-left-top": "awsui_container-arrow-position-left-top_xjuzf_16j87_563",
|
|
39
|
+
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-bottom_xjuzf_16j87_563",
|
|
40
|
+
"container-arrow-position-top-center": "awsui_container-arrow-position-top-center_xjuzf_16j87_575",
|
|
41
|
+
"container-arrow-position-top-right": "awsui_container-arrow-position-top-right_xjuzf_16j87_575",
|
|
42
|
+
"container-arrow-position-top-left": "awsui_container-arrow-position-top-left_xjuzf_16j87_575",
|
|
43
|
+
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-responsive_xjuzf_16j87_575",
|
|
44
|
+
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-center_xjuzf_16j87_591",
|
|
45
|
+
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-right_xjuzf_16j87_595",
|
|
46
|
+
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-left_xjuzf_16j87_599",
|
|
47
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_xjuzf_16j87_1",
|
|
48
|
+
"refresh": "awsui_refresh_xjuzf_16j87_717",
|
|
49
|
+
"root": "awsui_root_xjuzf_16j87_739",
|
|
50
|
+
"trigger": "awsui_trigger_xjuzf_16j87_753",
|
|
51
|
+
"trigger-type-text": "awsui_trigger-type-text_xjuzf_16j87_760",
|
|
52
|
+
"trigger-inner-text": "awsui_trigger-inner-text_xjuzf_16j87_789",
|
|
53
|
+
"popover-content": "awsui_popover-content_xjuzf_16j87_793"
|
|
54
54
|
};
|
|
55
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_16j87_185:not(#\9) {
|
|
186
186
|
width: 20px;
|
|
187
187
|
height: 10px;
|
|
188
188
|
}
|
|
189
|
-
.awsui_arrow-
|
|
189
|
+
.awsui_arrow-outer_xjuzf_16j87_189:not(#\9), .awsui_arrow-inner_xjuzf_16j87_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_16j87_189:not(#\9)::after, .awsui_arrow-inner_xjuzf_16j87_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_16j87_189:not(#\9)::after {
|
|
211
211
|
background-color: var(--color-border-popover-5pygk7, #9ba7b6);
|
|
212
212
|
}
|
|
213
|
-
.awsui_arrow-
|
|
213
|
+
.awsui_arrow-inner_xjuzf_16j87_189:not(#\9) {
|
|
214
214
|
top: 2px;
|
|
215
215
|
}
|
|
216
|
-
.awsui_arrow-
|
|
216
|
+
.awsui_arrow-inner_xjuzf_16j87_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-
|
|
220
|
+
.awsui_arrow-position-right-top_xjuzf_16j87_220 > .awsui_arrow-outer_xjuzf_16j87_189:not(#\9)::after, .awsui_arrow-position-right-bottom_xjuzf_16j87_220 > .awsui_arrow-outer_xjuzf_16j87_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-
|
|
223
|
+
.awsui_arrow-position-left-top_xjuzf_16j87_223 > .awsui_arrow-outer_xjuzf_16j87_189:not(#\9)::after, .awsui_arrow-position-left-bottom_xjuzf_16j87_223 > .awsui_arrow-outer_xjuzf_16j87_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-
|
|
226
|
+
.awsui_arrow-position-top-center_xjuzf_16j87_226 > .awsui_arrow-outer_xjuzf_16j87_189:not(#\9)::after, .awsui_arrow-position-top-right_xjuzf_16j87_226 > .awsui_arrow-outer_xjuzf_16j87_189:not(#\9)::after, .awsui_arrow-position-top-left_xjuzf_16j87_226 > .awsui_arrow-outer_xjuzf_16j87_189:not(#\9)::after, .awsui_arrow-position-top-responsive_xjuzf_16j87_226 > .awsui_arrow-outer_xjuzf_16j87_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-
|
|
229
|
+
.awsui_arrow-position-bottom-center_xjuzf_16j87_229 > .awsui_arrow-outer_xjuzf_16j87_189:not(#\9)::after, .awsui_arrow-position-bottom-right_xjuzf_16j87_229 > .awsui_arrow-outer_xjuzf_16j87_189:not(#\9)::after, .awsui_arrow-position-bottom-left_xjuzf_16j87_229 > .awsui_arrow-outer_xjuzf_16j87_189:not(#\9)::after, .awsui_arrow-position-bottom-responsive_xjuzf_16j87_229 > .awsui_arrow-outer_xjuzf_16j87_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
|
-
.
|
|
325
|
+
.awsui_body_xjuzf_16j87_325:not(#\9) {
|
|
326
326
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
327
327
|
border-collapse: separate;
|
|
328
328
|
border-spacing: 0;
|
|
@@ -364,31 +364,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
364
364
|
overflow: hidden;
|
|
365
365
|
padding: var(--space-s-hv8c1d, 12px) var(--space-m-17eucw, 16px);
|
|
366
366
|
}
|
|
367
|
-
.awsui_body-overflow-
|
|
367
|
+
.awsui_body-overflow-visible_xjuzf_16j87_341:not(#\9) {
|
|
368
368
|
overflow: visible;
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
.awsui_has-
|
|
371
|
+
.awsui_has-dismiss_xjuzf_16j87_345:not(#\9) {
|
|
372
372
|
display: flex;
|
|
373
373
|
align-items: baseline;
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
.
|
|
376
|
+
.awsui_dismiss_xjuzf_16j87_350:not(#\9) {
|
|
377
377
|
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)));
|
|
378
378
|
margin-left: 0;
|
|
379
379
|
flex: 0 0 auto;
|
|
380
380
|
order: 1;
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
-
.awsui_dismiss-
|
|
383
|
+
.awsui_dismiss-control_xjuzf_16j87_357:not(#\9) {
|
|
384
384
|
/* used in test-utils */
|
|
385
385
|
}
|
|
386
386
|
|
|
387
|
-
.awsui_header-
|
|
387
|
+
.awsui_header-row_xjuzf_16j87_361:not(#\9) {
|
|
388
388
|
margin-bottom: var(--space-xs-rsr2qu, 8px);
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
.
|
|
391
|
+
.awsui_header_xjuzf_16j87_361:not(#\9) {
|
|
392
392
|
word-wrap: break-word;
|
|
393
393
|
max-width: 100%;
|
|
394
394
|
overflow: hidden;
|
|
@@ -401,7 +401,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
401
401
|
/* stylelint-disable selector-max-type */
|
|
402
402
|
/* stylelint-enable selector-max-type */
|
|
403
403
|
}
|
|
404
|
-
.
|
|
404
|
+
.awsui_header_xjuzf_16j87_361 > h2:not(#\9) {
|
|
405
405
|
font-size: var(--font-heading-xs-size-fryxro, 14px);
|
|
406
406
|
line-height: var(--font-heading-xs-line-height-5x131j, 18px);
|
|
407
407
|
font-weight: var(--font-heading-xs-weight-wwznty, 800);
|
|
@@ -410,7 +410,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
410
410
|
display: inline;
|
|
411
411
|
}
|
|
412
412
|
|
|
413
|
-
.
|
|
413
|
+
.awsui_content_xjuzf_16j87_387:not(#\9) {
|
|
414
414
|
word-wrap: break-word;
|
|
415
415
|
max-width: 100%;
|
|
416
416
|
overflow: hidden;
|
|
@@ -418,7 +418,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
418
418
|
flex: 1 1 auto;
|
|
419
419
|
min-width: 0;
|
|
420
420
|
}
|
|
421
|
-
.awsui_content-overflow-
|
|
421
|
+
.awsui_content-overflow-visible_xjuzf_16j87_395:not(#\9) {
|
|
422
422
|
overflow: visible;
|
|
423
423
|
}
|
|
424
424
|
|
|
@@ -514,7 +514,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
514
514
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
515
515
|
SPDX-License-Identifier: Apache-2.0
|
|
516
516
|
*/
|
|
517
|
-
.
|
|
517
|
+
.awsui_container_xjuzf_16j87_491:not(#\9) {
|
|
518
518
|
display: inline-block;
|
|
519
519
|
position: fixed;
|
|
520
520
|
top: -9999px;
|
|
@@ -522,7 +522,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
522
522
|
z-index: 2000;
|
|
523
523
|
}
|
|
524
524
|
|
|
525
|
-
.awsui_container-
|
|
525
|
+
.awsui_container-body_xjuzf_16j87_499:not(#\9) {
|
|
526
526
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
527
527
|
border-collapse: separate;
|
|
528
528
|
border-spacing: 0;
|
|
@@ -565,90 +565,90 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
565
565
|
border: var(--border-field-width-idlekx, 2px) solid var(--color-border-popover-5pygk7, #9ba7b6);
|
|
566
566
|
}
|
|
567
567
|
|
|
568
|
-
.awsui_container-body-variant-
|
|
568
|
+
.awsui_container-body-variant-annotation_xjuzf_16j87_516:not(#\9) {
|
|
569
569
|
background-color: var(--color-background-status-info-usb30e, #f2f8fd);
|
|
570
570
|
border-color: var(--color-border-status-info-546i7i, #0972d3);
|
|
571
571
|
}
|
|
572
572
|
|
|
573
|
-
.awsui_container-body-size-
|
|
573
|
+
.awsui_container-body-size-small_xjuzf_16j87_521:not(#\9) {
|
|
574
574
|
max-width: 210px;
|
|
575
575
|
}
|
|
576
|
-
.awsui_container-body-size-
|
|
576
|
+
.awsui_container-body-size-small_xjuzf_16j87_521.awsui_fixed-width_xjuzf_16j87_524:not(#\9) {
|
|
577
577
|
width: 210px;
|
|
578
578
|
}
|
|
579
579
|
|
|
580
|
-
.awsui_container-body-size-
|
|
580
|
+
.awsui_container-body-size-medium_xjuzf_16j87_528:not(#\9) {
|
|
581
581
|
max-width: 310px;
|
|
582
582
|
}
|
|
583
|
-
.awsui_container-body-size-
|
|
583
|
+
.awsui_container-body-size-medium_xjuzf_16j87_528.awsui_fixed-width_xjuzf_16j87_524:not(#\9) {
|
|
584
584
|
width: 310px;
|
|
585
585
|
}
|
|
586
586
|
|
|
587
|
-
.awsui_container-body-size-
|
|
587
|
+
.awsui_container-body-size-large_xjuzf_16j87_535:not(#\9) {
|
|
588
588
|
max-width: 480px;
|
|
589
589
|
}
|
|
590
590
|
@media (max-width: 480px) {
|
|
591
|
-
.awsui_container-body-size-
|
|
591
|
+
.awsui_container-body-size-large_xjuzf_16j87_535:not(#\9) {
|
|
592
592
|
max-width: 310px;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
.awsui_container-body-size-
|
|
595
|
+
.awsui_container-body-size-large_xjuzf_16j87_535.awsui_fixed-width_xjuzf_16j87_524:not(#\9) {
|
|
596
596
|
width: 480px;
|
|
597
597
|
}
|
|
598
598
|
|
|
599
|
-
.awsui_container-
|
|
599
|
+
.awsui_container-arrow_xjuzf_16j87_547:not(#\9) {
|
|
600
600
|
position: absolute;
|
|
601
601
|
display: inline-block;
|
|
602
602
|
}
|
|
603
|
-
.awsui_container-arrow-position-right-
|
|
603
|
+
.awsui_container-arrow-position-right-top_xjuzf_16j87_551:not(#\9), .awsui_container-arrow-position-right-bottom_xjuzf_16j87_551:not(#\9) {
|
|
604
604
|
transform: rotate(-90deg);
|
|
605
605
|
transform-origin: 0 100%;
|
|
606
606
|
}
|
|
607
|
-
.awsui_container-arrow-position-right-
|
|
607
|
+
.awsui_container-arrow-position-right-top_xjuzf_16j87_551:not(#\9) {
|
|
608
608
|
top: calc(12px + 10px);
|
|
609
609
|
left: 0;
|
|
610
610
|
}
|
|
611
|
-
.awsui_container-arrow-position-right-
|
|
611
|
+
.awsui_container-arrow-position-right-bottom_xjuzf_16j87_551:not(#\9) {
|
|
612
612
|
bottom: 12px;
|
|
613
613
|
left: 0;
|
|
614
614
|
}
|
|
615
|
-
.awsui_container-arrow-position-left-
|
|
615
|
+
.awsui_container-arrow-position-left-top_xjuzf_16j87_563:not(#\9), .awsui_container-arrow-position-left-bottom_xjuzf_16j87_563:not(#\9) {
|
|
616
616
|
transform: rotate(90deg);
|
|
617
617
|
transform-origin: 100% 100%;
|
|
618
618
|
}
|
|
619
|
-
.awsui_container-arrow-position-left-
|
|
619
|
+
.awsui_container-arrow-position-left-top_xjuzf_16j87_563:not(#\9) {
|
|
620
620
|
top: calc(12px + 10px);
|
|
621
621
|
right: 0;
|
|
622
622
|
}
|
|
623
|
-
.awsui_container-arrow-position-left-
|
|
623
|
+
.awsui_container-arrow-position-left-bottom_xjuzf_16j87_563:not(#\9) {
|
|
624
624
|
bottom: 12px;
|
|
625
625
|
right: 0;
|
|
626
626
|
}
|
|
627
|
-
.awsui_container-arrow-position-top-
|
|
627
|
+
.awsui_container-arrow-position-top-center_xjuzf_16j87_575:not(#\9), .awsui_container-arrow-position-top-right_xjuzf_16j87_575:not(#\9), .awsui_container-arrow-position-top-left_xjuzf_16j87_575:not(#\9), .awsui_container-arrow-position-top-responsive_xjuzf_16j87_575:not(#\9) {
|
|
628
628
|
transform: rotate(180deg);
|
|
629
629
|
transform-origin: 50% 50%;
|
|
630
630
|
}
|
|
631
|
-
.awsui_container-arrow-position-top-
|
|
631
|
+
.awsui_container-arrow-position-top-center_xjuzf_16j87_575:not(#\9) {
|
|
632
632
|
bottom: -10px;
|
|
633
633
|
left: calc(50% - 10px);
|
|
634
634
|
}
|
|
635
|
-
.awsui_container-arrow-position-top-
|
|
635
|
+
.awsui_container-arrow-position-top-right_xjuzf_16j87_575:not(#\9) {
|
|
636
636
|
bottom: -10px;
|
|
637
637
|
left: 12px;
|
|
638
638
|
}
|
|
639
|
-
.awsui_container-arrow-position-top-
|
|
639
|
+
.awsui_container-arrow-position-top-left_xjuzf_16j87_575:not(#\9) {
|
|
640
640
|
bottom: -10px;
|
|
641
641
|
left: calc(100% - 20px - 12px);
|
|
642
642
|
}
|
|
643
|
-
.awsui_container-arrow-position-bottom-
|
|
643
|
+
.awsui_container-arrow-position-bottom-center_xjuzf_16j87_591:not(#\9) {
|
|
644
644
|
top: -10px;
|
|
645
645
|
left: calc(50% - 10px);
|
|
646
646
|
}
|
|
647
|
-
.awsui_container-arrow-position-bottom-
|
|
647
|
+
.awsui_container-arrow-position-bottom-right_xjuzf_16j87_595:not(#\9) {
|
|
648
648
|
top: -10px;
|
|
649
649
|
left: 12px;
|
|
650
650
|
}
|
|
651
|
-
.awsui_container-arrow-position-bottom-
|
|
651
|
+
.awsui_container-arrow-position-bottom-left_xjuzf_16j87_599:not(#\9) {
|
|
652
652
|
top: -10px;
|
|
653
653
|
left: calc(100% - 20px - 12px);
|
|
654
654
|
}
|
|
@@ -745,10 +745,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
745
745
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
746
746
|
SPDX-License-Identifier: Apache-2.0
|
|
747
747
|
*/
|
|
748
|
-
.
|
|
749
|
-
animation: awsui_awsui-motion-fade-
|
|
748
|
+
.awsui_container_xjuzf_16j87_491:not(#\9) {
|
|
749
|
+
animation: awsui_awsui-motion-fade-in_xjuzf_16j87_1 var(--motion-duration-show-paced-7wspqf, 180ms) var(--motion-easing-show-paced-wj4ybn, ease-out);
|
|
750
750
|
}
|
|
751
|
-
@keyframes awsui_awsui-motion-fade-
|
|
751
|
+
@keyframes awsui_awsui-motion-fade-in_xjuzf_16j87_1 {
|
|
752
752
|
from {
|
|
753
753
|
opacity: 0.2;
|
|
754
754
|
}
|
|
@@ -757,19 +757,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
759
|
@media (prefers-reduced-motion: reduce) {
|
|
760
|
-
.
|
|
760
|
+
.awsui_container_xjuzf_16j87_491:not(#\9) {
|
|
761
761
|
animation: none;
|
|
762
762
|
transition: none;
|
|
763
763
|
}
|
|
764
764
|
}
|
|
765
|
-
.awsui-motion-disabled .
|
|
765
|
+
.awsui-motion-disabled .awsui_container_xjuzf_16j87_491:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_16j87_491:not(#\9) {
|
|
766
766
|
animation: none;
|
|
767
767
|
transition: none;
|
|
768
768
|
}
|
|
769
|
-
.
|
|
770
|
-
animation: awsui_awsui-motion-fade-
|
|
769
|
+
.awsui_container_xjuzf_16j87_491.awsui_refresh_xjuzf_16j87_717:not(#\9) {
|
|
770
|
+
animation: awsui_awsui-motion-fade-in_xjuzf_16j87_1 var(--motion-duration-refresh-only-fast-addxjd, 115ms) var(--motion-easing-refresh-only-a-sy0g8m, cubic-bezier(0, 0, 0, 1));
|
|
771
771
|
}
|
|
772
|
-
@keyframes awsui_awsui-motion-fade-
|
|
772
|
+
@keyframes awsui_awsui-motion-fade-in_xjuzf_16j87_1 {
|
|
773
773
|
from {
|
|
774
774
|
opacity: 0.2;
|
|
775
775
|
}
|
|
@@ -778,17 +778,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
780
|
@media (prefers-reduced-motion: reduce) {
|
|
781
|
-
.
|
|
781
|
+
.awsui_container_xjuzf_16j87_491.awsui_refresh_xjuzf_16j87_717:not(#\9) {
|
|
782
782
|
animation: none;
|
|
783
783
|
transition: none;
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
|
-
.awsui-motion-disabled .
|
|
786
|
+
.awsui-motion-disabled .awsui_container_xjuzf_16j87_491.awsui_refresh_xjuzf_16j87_717:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_16j87_491.awsui_refresh_xjuzf_16j87_717:not(#\9) {
|
|
787
787
|
animation: none;
|
|
788
788
|
transition: none;
|
|
789
789
|
}
|
|
790
790
|
|
|
791
|
-
.
|
|
791
|
+
.awsui_root_xjuzf_16j87_739:not(#\9) {
|
|
792
792
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
793
793
|
border-collapse: separate;
|
|
794
794
|
border-spacing: 0;
|
|
@@ -826,17 +826,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
826
826
|
-webkit-font-smoothing: auto;
|
|
827
827
|
-moz-osx-font-smoothing: auto;
|
|
828
828
|
color: inherit;
|
|
829
|
-
display: inline;
|
|
830
829
|
}
|
|
831
830
|
|
|
832
|
-
.
|
|
831
|
+
.awsui_trigger_xjuzf_16j87_753:not(#\9) {
|
|
833
832
|
display: inline-block;
|
|
834
833
|
max-width: 100%;
|
|
835
834
|
color: inherit;
|
|
836
835
|
text-align: inherit;
|
|
837
836
|
}
|
|
838
837
|
|
|
839
|
-
.awsui_trigger-type-
|
|
838
|
+
.awsui_trigger-type-text_xjuzf_16j87_760:not(#\9) {
|
|
840
839
|
border: 0;
|
|
841
840
|
margin: 0;
|
|
842
841
|
padding: 0;
|
|
@@ -844,17 +843,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
844
843
|
cursor: pointer;
|
|
845
844
|
border-bottom: var(--border-divider-list-width-hacikr, 1px) dashed currentColor;
|
|
846
845
|
}
|
|
847
|
-
.awsui_trigger-type-
|
|
846
|
+
.awsui_trigger-type-text_xjuzf_16j87_760:not(#\9):focus {
|
|
848
847
|
outline: none;
|
|
849
848
|
}
|
|
850
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
849
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_16j87_760:not(#\9):focus {
|
|
851
850
|
position: relative;
|
|
852
851
|
}
|
|
853
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
852
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_16j87_760:not(#\9):focus {
|
|
854
853
|
outline: 2px dotted transparent;
|
|
855
854
|
outline-offset: calc(1px - 1px);
|
|
856
855
|
}
|
|
857
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
856
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_16j87_760:not(#\9):focus::before {
|
|
858
857
|
content: " ";
|
|
859
858
|
display: block;
|
|
860
859
|
position: absolute;
|
|
@@ -865,10 +864,10 @@ body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_17eka_761:not
|
|
|
865
864
|
border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
866
865
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
867
866
|
}
|
|
868
|
-
.awsui_trigger-type-
|
|
867
|
+
.awsui_trigger-type-text_xjuzf_16j87_760 > .awsui_trigger-inner-text_xjuzf_16j87_789:not(#\9) {
|
|
869
868
|
position: relative;
|
|
870
869
|
}
|
|
871
870
|
|
|
872
|
-
.awsui_popover-
|
|
871
|
+
.awsui_popover-content_xjuzf_16j87_793:not(#\9) {
|
|
873
872
|
display: inline;
|
|
874
873
|
}
|