@cloudscape-design/components 3.0.388 → 3.0.390
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/anchor-navigation/index.d.ts +5 -0
- package/anchor-navigation/index.d.ts.map +1 -0
- package/anchor-navigation/index.js +14 -0
- package/anchor-navigation/index.js.map +1 -0
- package/anchor-navigation/interfaces.d.ts +67 -0
- package/anchor-navigation/interfaces.d.ts.map +1 -0
- package/anchor-navigation/interfaces.js +4 -0
- package/anchor-navigation/interfaces.js.map +1 -0
- package/anchor-navigation/internal.d.ts +5 -0
- package/anchor-navigation/internal.d.ts.map +1 -0
- package/anchor-navigation/internal.js +48 -0
- package/anchor-navigation/internal.js.map +1 -0
- package/anchor-navigation/styles.css.js +13 -0
- package/anchor-navigation/styles.scoped.css +243 -0
- package/anchor-navigation/styles.selectors.js +14 -0
- package/anchor-navigation/test-classes/styles.css.js +11 -0
- package/anchor-navigation/test-classes/styles.scoped.css +27 -0
- package/anchor-navigation/test-classes/styles.selectors.js +12 -0
- package/anchor-navigation/use-scroll-spy.d.ts +18 -0
- package/anchor-navigation/use-scroll-spy.d.ts.map +1 -0
- package/anchor-navigation/use-scroll-spy.js +74 -0
- package/anchor-navigation/use-scroll-spy.js.map +1 -0
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +30 -30
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/visual-refresh/styles.css.js +75 -75
- package/app-layout/visual-refresh/styles.scoped.css +295 -295
- package/app-layout/visual-refresh/styles.selectors.js +75 -75
- package/button/styles.css.js +20 -20
- package/button/styles.scoped.css +151 -152
- package/button/styles.selectors.js +20 -20
- package/button-dropdown/item-element/styles.css.js +15 -15
- package/button-dropdown/item-element/styles.scoped.css +18 -19
- package/button-dropdown/item-element/styles.selectors.js +15 -15
- package/cards/index.js +2 -2
- package/cards/index.js.map +1 -1
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +129 -131
- package/code-editor/styles.selectors.js +32 -32
- package/collection-preferences/content-display/styles.css.js +11 -11
- package/collection-preferences/content-display/styles.scoped.css +17 -18
- package/collection-preferences/content-display/styles.selectors.js +11 -11
- package/collection-preferences/styles.css.js +37 -37
- package/collection-preferences/styles.scoped.css +44 -45
- package/collection-preferences/styles.selectors.js +37 -37
- package/container/index.d.ts.map +1 -1
- package/container/index.js +2 -2
- package/container/index.js.map +1 -1
- package/container/internal.d.ts +5 -1
- package/container/internal.d.ts.map +1 -1
- package/container/internal.js +7 -4
- package/container/internal.js.map +1 -1
- package/content-layout/styles.css.js +7 -7
- package/content-layout/styles.scoped.css +13 -13
- package/content-layout/styles.selectors.js +7 -7
- package/expandable-section/expandable-section-container.d.ts +5 -3
- package/expandable-section/expandable-section-container.d.ts.map +1 -1
- package/expandable-section/expandable-section-container.js +2 -2
- package/expandable-section/expandable-section-container.js.map +1 -1
- package/expandable-section/index.d.ts.map +1 -1
- package/expandable-section/index.js +8 -3
- package/expandable-section/index.js.map +1 -1
- package/expandable-section/internal.d.ts +3 -3
- package/expandable-section/internal.d.ts.map +1 -1
- package/expandable-section/internal.js +2 -2
- package/expandable-section/internal.js.map +1 -1
- package/expandable-section/styles.css.js +29 -29
- package/expandable-section/styles.scoped.css +58 -59
- package/expandable-section/styles.selectors.js +29 -29
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +171 -172
- package/flashbar/styles.selectors.js +47 -47
- package/form-field/styles.css.js +19 -19
- package/form-field/styles.scoped.css +29 -30
- package/form-field/styles.selectors.js +19 -19
- package/header/styles.css.js +32 -32
- package/header/styles.scoped.css +48 -49
- package/header/styles.selectors.js +32 -32
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/internal/analytics/components/analytics-funnel.d.ts +2 -2
- package/internal/analytics/components/analytics-funnel.d.ts.map +1 -1
- package/internal/analytics/components/analytics-funnel.js +8 -2
- package/internal/analytics/components/analytics-funnel.js.map +1 -1
- package/internal/analytics/hooks/use-funnel.d.ts.map +1 -1
- package/internal/analytics/hooks/use-funnel.js +2 -1
- package/internal/analytics/hooks/use-funnel.js.map +1 -1
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +19 -21
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/dropdown/dropdown-fit-handler.d.ts +31 -2
- package/internal/components/dropdown/dropdown-fit-handler.d.ts.map +1 -1
- package/internal/components/dropdown/dropdown-fit-handler.js +49 -7
- package/internal/components/dropdown/dropdown-fit-handler.js.map +1 -1
- package/internal/components/dropdown/index.d.ts.map +1 -1
- package/internal/components/dropdown/index.js +20 -2
- package/internal/components/dropdown/index.js.map +1 -1
- package/internal/components/dropdown/styles.css.js +21 -21
- package/internal/components/dropdown/styles.scoped.css +37 -36
- package/internal/components/dropdown/styles.selectors.js +21 -21
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +13 -14
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/option/styles.css.js +17 -17
- package/internal/components/option/styles.scoped.css +29 -30
- package/internal/components/option/styles.selectors.js +17 -17
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +40 -39
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/internal/utils/scrollable-containers.d.ts +6 -1
- package/internal/utils/scrollable-containers.d.ts.map +1 -1
- package/internal/utils/scrollable-containers.js +1 -1
- package/internal/utils/scrollable-containers.js.map +1 -1
- package/modal/internal.d.ts.map +1 -1
- package/modal/internal.js +6 -4
- package/modal/internal.js.map +1 -1
- package/package.json +2 -1
- package/progress-bar/styles.css.js +18 -18
- package/progress-bar/styles.scoped.css +32 -33
- package/progress-bar/styles.selectors.js +18 -18
- package/property-filter/styles.css.js +30 -30
- package/property-filter/styles.scoped.css +32 -33
- package/property-filter/styles.selectors.js +30 -30
- package/side-navigation/styles.css.js +28 -28
- package/side-navigation/styles.scoped.css +38 -39
- package/side-navigation/styles.selectors.js +28 -28
- package/split-panel/styles.css.js +56 -56
- package/split-panel/styles.scoped.css +77 -78
- package/split-panel/styles.selectors.js +56 -56
- package/status-indicator/internal.d.ts.map +1 -1
- package/status-indicator/internal.js +3 -1
- package/status-indicator/internal.js.map +1 -1
- package/status-indicator/styles.css.js +22 -22
- package/status-indicator/styles.scoped.css +36 -34
- package/status-indicator/styles.selectors.js +22 -22
- package/table/header-cell/index.d.ts +0 -2
- package/table/header-cell/index.d.ts.map +1 -1
- package/table/header-cell/index.js +1 -1
- package/table/header-cell/index.js.map +1 -1
- package/table/index.d.ts.map +1 -1
- package/table/index.js +8 -4
- package/table/index.js.map +1 -1
- package/table/internal.d.ts +1 -0
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +8 -2
- package/table/internal.js.map +1 -1
- package/table/resizer/index.d.ts +3 -5
- package/table/resizer/index.d.ts.map +1 -1
- package/table/resizer/index.js +44 -66
- package/table/resizer/index.js.map +1 -1
- package/table/resizer/resizer-lookup.d.ts +8 -0
- package/table/resizer/resizer-lookup.d.ts.map +1 -0
- package/table/resizer/resizer-lookup.js +39 -0
- package/table/resizer/resizer-lookup.js.map +1 -0
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +39 -40
- package/tabs/styles.selectors.js +21 -21
- package/test-utils/dom/anchor-navigation/index.d.ts +16 -0
- package/test-utils/dom/anchor-navigation/index.js +58 -0
- package/test-utils/dom/anchor-navigation/index.js.map +1 -0
- package/test-utils/dom/index.d.ts +3 -0
- package/test-utils/dom/index.js +10 -2
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/selectors/anchor-navigation/index.d.ts +15 -0
- package/test-utils/selectors/anchor-navigation/index.js +45 -0
- package/test-utils/selectors/anchor-navigation/index.js.map +1 -0
- package/test-utils/selectors/index.d.ts +3 -0
- package/test-utils/selectors/index.js +10 -2
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/tiles/styles.css.js +29 -29
- package/tiles/styles.scoped.css +70 -71
- package/tiles/styles.selectors.js +29 -29
- package/wizard/styles.css.js +31 -31
- package/wizard/styles.scoped.css +64 -68
- package/wizard/styles.selectors.js +31 -31
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["internal/components/dropdown/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,EAGL,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAoB,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAgC,MAAM,WAAW,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;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,iBAAiB,IAChB,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,GAAG,EAClB,eAAe,EAAE,eAAe,EAChC,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,gBAAgB,EAClC,yBAAyB,EAAE,yBAAyB,EACpD,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,WAAW,EACxB,oBAAoB,EAAE,oBAAoB,EAC1C,QAAQ,EAAE,QAAQ,EAClB,EAAE,EAAE,iBAAiB,EACrB,IAAI,EAAE,mBAAmB,EACzB,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,eAAe,IAE/B,QAAQ,CACS;gBAEpB,oBAAC,OAAO,IACN,iBAAiB,EAAE,GAAG,EAAE,WAAC,OAAA,UAAU,CAAC,OAAO,KAAI,MAAA,iBAAiB,CAAC,UAAU,CAAC,OAAO,CAAC,0CAAE,KAAK,EAAE,CAAA,CAAA,EAAA,EAC7F,QAAQ,EAAE,CAAC,IAAI,IAAI,CAAC,SAAS,GAC7B,CACE,CACP,CACU,CACK,CAChB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,CACzB,QAAqD,EACf,EAAE,CAAE,QAAqC,CAAC,MAAM,KAAK,SAAS,CAAC;AAEvG,eAAe,QAAQ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport styles from './styles.css.js';\nimport clsx from 'clsx';\nimport { useMergeRefs } from '../../hooks/use-merge-refs';\nimport React, { useEffect, useLayoutEffect, useRef, useState } from 'react';\nimport { createPortal } from 'react-dom';\nimport { fireNonCancelableEvent } from '../../events';\nimport { DropdownProps } from './interfaces';\nimport {\n DropdownPosition,\n InteriorDropdownPosition,\n calculatePosition,\n defaultMaxDropdownWidth,\n} from './dropdown-fit-handler';\nimport { Transition, TransitionStatus } from '../transition';\nimport { useVisualRefresh } from '../../hooks/use-visual-mode';\nimport { usePortalModeClasses } from '../../hooks/use-portal-mode-classes';\nimport { DropdownContextProvider, DropdownContextProviderProps } from './context';\nimport { useMobile } from '../../hooks/use-mobile';\nimport TabTrap from '../tab-trap/index.js';\nimport { getFirstFocusable, getLastFocusable } from '../focus-lock/utils.js';\nimport { useUniqueId } from '../../hooks/use-unique-id/index.js';\n\ninterface DropdownContainerProps {\n children?: React.ReactNode;\n renderWithPortal?: boolean;\n id?: string;\n referrerId?: string;\n open?: boolean;\n}\n\nconst DropdownContainer = ({ children, renderWithPortal = false, id, referrerId, open }: DropdownContainerProps) => {\n if (renderWithPortal) {\n if (open) {\n return createPortal(\n <div id={id} data-awsui-referrer-id={referrerId}>\n {children}\n </div>,\n document.body\n );\n } else {\n return null;\n }\n } else {\n return <>{children}</>;\n }\n};\n\ninterface TransitionContentProps {\n state: TransitionStatus;\n transitionRef: React.MutableRefObject<any>;\n dropdownClasses: string;\n stretchWidth: boolean;\n interior: boolean;\n isRefresh: boolean;\n dropdownRef: React.RefObject<HTMLDivElement>;\n verticalContainerRef: React.RefObject<HTMLDivElement>;\n expandToViewport?: boolean;\n stretchBeyondTriggerWidth?: boolean;\n header?: React.ReactNode;\n children?: React.ReactNode;\n footer?: React.ReactNode;\n position?: DropdownContextProviderProps['position'];\n open?: boolean;\n onMouseDown?: React.MouseEventHandler<Element>;\n id?: string;\n role?: string;\n ariaLabelledby?: string;\n ariaDescribedby?: string;\n}\n\nconst TransitionContent = ({\n state,\n transitionRef,\n dropdownClasses,\n stretchWidth,\n interior,\n isRefresh,\n dropdownRef,\n verticalContainerRef,\n expandToViewport,\n stretchBeyondTriggerWidth,\n header,\n children,\n footer,\n position,\n open,\n onMouseDown,\n id,\n role,\n ariaLabelledby,\n ariaDescribedby,\n}: TransitionContentProps) => {\n const contentRef = useMergeRefs(dropdownRef, transitionRef);\n return (\n <div\n className={clsx(styles.dropdown, dropdownClasses, {\n [styles.open]: open,\n [styles['with-limited-width']]: !stretchWidth,\n [styles['hide-upper-border']]: stretchWidth,\n [styles.interior]: interior,\n [styles['is-empty']]: !header && !children,\n [styles.refresh]: isRefresh,\n [styles['use-portal']]: expandToViewport && !interior,\n [styles['stretch-beyond-trigger-width']]: stretchBeyondTriggerWidth,\n })}\n ref={contentRef}\n id={id}\n role={role}\n aria-labelledby={ariaLabelledby}\n aria-describedby={ariaDescribedby}\n data-open={open}\n data-animating={state !== 'exited'}\n aria-hidden={!open}\n style={stretchBeyondTriggerWidth ? { maxWidth: defaultMaxDropdownWidth } : {}}\n onMouseDown={onMouseDown}\n >\n <div className={clsx(styles['dropdown-content-wrapper'], isRefresh && styles.refresh)}>\n <div className={styles['ie11-wrapper']}>\n <div ref={verticalContainerRef} className={styles['dropdown-content']}>\n <DropdownContextProvider position={position}>\n {header}\n {children}\n {footer}\n </DropdownContextProvider>\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nconst Dropdown = ({\n children,\n trigger,\n open,\n onDropdownClose,\n onMouseDown,\n header,\n footer,\n dropdownId,\n stretchTriggerHeight = false,\n stretchWidth = true,\n stretchHeight = false,\n stretchToTriggerWidth = true,\n stretchBeyondTriggerWidth = false,\n expandToViewport = false,\n preferCenter = false,\n interior = false,\n minWidth,\n scrollable = true,\n loopFocus = expandToViewport,\n onFocus,\n onBlur,\n contentKey,\n dropdownContentId,\n dropdownContentRole,\n ariaLabelledby,\n ariaDescribedby,\n}: DropdownProps) => {\n const wrapperRef = useRef<HTMLDivElement | null>(null);\n const triggerRef = useRef<HTMLDivElement | null>(null);\n const dropdownRef = useRef<HTMLDivElement | null>(null);\n const dropdownContainerRef = useRef<HTMLDivElement | null>(null);\n // This container is only needed to apply max-height to. We can't move max-height to it's parent\n // because of an IE11 issue with flexbox. https://github.com/philipwalton/flexbugs/issues/216\n const verticalContainerRef = useRef<HTMLDivElement>(null);\n // To keep track of the initial position (drop up/down) which is kept the same during fixed repositioning\n const fixedPosition = useRef<DropdownPosition | null>(null);\n\n const isRefresh = useVisualRefresh();\n\n const dropdownClasses = usePortalModeClasses(triggerRef);\n const [position, setPosition] = useState<DropdownContextProviderProps['position']>('bottom-right');\n\n const isMobile = useMobile();\n\n const setDropdownPosition = (\n position: DropdownPosition | InteriorDropdownPosition,\n triggerBox: DOMRect,\n target: HTMLDivElement,\n verticalContainer: HTMLDivElement\n ) => {\n const entireWidth = !interior && stretchWidth;\n if (!stretchWidth) {\n // 1px offset for dropdowns where the dropdown itself needs a border, rather than on the items\n verticalContainer.style.maxHeight = `${parseInt(position.height) + 1}px`;\n } else {\n verticalContainer.style.maxHeight = position.height;\n }\n\n if (entireWidth && !expandToViewport) {\n if (stretchToTriggerWidth) {\n target.classList.add(styles['occupy-entire-width']);\n }\n } else {\n target.style.width = position.width;\n }\n // Using styles for main dropdown to adjust its position as preferred alternative\n if (position.dropUp && !interior) {\n target.classList.add(styles['dropdown-drop-up']);\n if (!expandToViewport) {\n target.style.bottom = '100%';\n }\n } else {\n target.classList.remove(styles['dropdown-drop-up']);\n }\n target.classList.add(position.dropLeft ? styles['dropdown-drop-left'] : styles['dropdown-drop-right']);\n\n if (position.left && position.left !== 'auto') {\n target.style.left = position.left;\n }\n\n // Position normal overflow dropdowns with fixed positioning relative to viewport\n if (expandToViewport && !interior) {\n target.style.position = 'fixed';\n if (position.dropUp) {\n target.style.bottom = `calc(100% - ${triggerBox.top}px)`;\n } else {\n target.style.top = `${triggerBox.bottom}px`;\n }\n if (position.dropLeft) {\n target.style.left = `calc(${triggerBox.right}px - ${position.width})`;\n } else {\n target.style.left = `${triggerBox.left}px`;\n }\n // Keep track of the initial dropdown position and direction.\n // Dropdown direction doesn't need to change as the user scrolls, just needs to stay attached to the trigger.\n fixedPosition.current = position;\n return;\n }\n\n // For an interior dropdown (the fly out) we need exact values for positioning\n // and classes are not enough\n // usage of relative position is impossible due to overwrite of overflow-x\n if (interior && isInteriorPosition(position)) {\n if (position.dropUp) {\n target.style.bottom = position.bottom;\n } else {\n target.style.top = position.top;\n }\n target.style.left = position.left;\n }\n\n if (position.dropUp && position.dropLeft) {\n setPosition('top-left');\n } else if (position.dropUp) {\n setPosition('top-right');\n } else if (position.dropLeft) {\n setPosition('bottom-left');\n } else {\n setPosition('bottom-right');\n }\n };\n\n const isOutsideDropdown = (element: Element) =>\n (!wrapperRef.current || !wrapperRef.current.contains(element)) &&\n (!dropdownContainerRef.current || !dropdownContainerRef.current.contains(element));\n\n const focusHandler = (event: React.FocusEvent) => {\n if (!event.relatedTarget || isOutsideDropdown(event.relatedTarget)) {\n fireNonCancelableEvent(onFocus, event);\n }\n };\n\n const blurHandler = (event: React.FocusEvent) => {\n if (!event.relatedTarget || isOutsideDropdown(event.relatedTarget)) {\n fireNonCancelableEvent(onBlur, event);\n }\n };\n\n useLayoutEffect(() => {\n const onDropdownOpen = () => {\n if (open && dropdownRef.current && triggerRef.current && verticalContainerRef.current) {\n // calculate scroll width only for dropdowns that has a scrollbar and ignore it for date picker components\n if (scrollable) {\n dropdownRef.current.classList.add(styles.nowrap);\n }\n setDropdownPosition(\n ...calculatePosition(\n dropdownRef.current,\n triggerRef.current,\n verticalContainerRef.current,\n interior,\n expandToViewport,\n preferCenter,\n stretchWidth,\n stretchHeight,\n isMobile,\n minWidth,\n stretchBeyondTriggerWidth\n ),\n dropdownRef.current,\n verticalContainerRef.current\n );\n if (scrollable) {\n dropdownRef.current.classList.remove(styles.nowrap);\n }\n }\n };\n onDropdownOpen();\n\n if (open) {\n // window may scroll when dropdown opens, for example when soft keyboard shows up\n window.addEventListener('scroll', onDropdownOpen);\n // only listen to window scroll within very short time after the dropdown opens\n // do not want to interfere dropdown position on scroll afterwards\n const timeoutId = setTimeout(() => {\n window.removeEventListener('scroll', onDropdownOpen);\n }, 500);\n\n return () => {\n clearTimeout(timeoutId);\n window.removeEventListener('scroll', onDropdownOpen);\n };\n }\n // See AWSUI-13040\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [open, dropdownRef, triggerRef, verticalContainerRef, interior, stretchWidth, isMobile, contentKey]);\n\n // subscribe to outside click\n useEffect(() => {\n if (!open) {\n return;\n }\n const clickListener = (e: MouseEvent) => {\n if (!dropdownRef.current?.contains(e.target as Node) && !triggerRef.current?.contains(e.target as Node)) {\n fireNonCancelableEvent(onDropdownClose);\n }\n };\n window.addEventListener('click', clickListener, true);\n\n return () => {\n window.removeEventListener('click', clickListener, true);\n };\n }, [open, onDropdownClose]);\n\n // sync dropdown position on scroll and resize\n useLayoutEffect(() => {\n if (!expandToViewport || !open) {\n return;\n }\n const updateDropdownPosition = () => {\n if (triggerRef.current && dropdownRef.current && verticalContainerRef.current) {\n const triggerRect = triggerRef.current.getBoundingClientRect();\n const target = dropdownRef.current;\n if (fixedPosition.current) {\n if (fixedPosition.current.dropUp) {\n dropdownRef.current.style.bottom = `calc(100% - ${triggerRect.top}px)`;\n } else {\n target.style.top = `${triggerRect.bottom}px`;\n }\n if (fixedPosition.current.dropLeft) {\n target.style.left = `calc(${triggerRect.right}px - ${fixedPosition.current.width})`;\n } else {\n target.style.left = `${triggerRect.left}px`;\n }\n }\n }\n };\n\n updateDropdownPosition();\n\n window.addEventListener('scroll', updateDropdownPosition, true);\n window.addEventListener('resize', updateDropdownPosition, true);\n return () => {\n window.removeEventListener('scroll', updateDropdownPosition, true);\n window.removeEventListener('resize', updateDropdownPosition, true);\n };\n }, [open, expandToViewport]);\n\n const referrerId = useUniqueId();\n\n return (\n <div\n className={clsx(\n styles.root,\n interior && styles.interior,\n stretchTriggerHeight && styles['stretch-trigger-height']\n )}\n ref={wrapperRef}\n onFocus={focusHandler}\n onBlur={blurHandler}\n >\n <div id={referrerId} className={clsx(stretchTriggerHeight && styles['stretch-trigger-height'])} ref={triggerRef}>\n {trigger}\n </div>\n\n <TabTrap\n focusNextCallback={() => dropdownRef.current && getFirstFocusable(dropdownRef.current)?.focus()}\n disabled={!open || !loopFocus}\n />\n\n <DropdownContainer\n renderWithPortal={expandToViewport && !interior}\n id={dropdownId}\n referrerId={referrerId}\n open={open}\n >\n <Transition in={open ?? false} exit={false}>\n {(state, ref) => (\n <div ref={dropdownContainerRef}>\n <TabTrap\n focusNextCallback={() => triggerRef.current && getLastFocusable(triggerRef.current)?.focus()}\n disabled={!open || !loopFocus}\n />\n\n <TransitionContent\n state={state}\n transitionRef={ref}\n dropdownClasses={dropdownClasses}\n open={open}\n stretchWidth={stretchWidth}\n interior={interior}\n header={header}\n expandToViewport={expandToViewport}\n stretchBeyondTriggerWidth={stretchBeyondTriggerWidth}\n footer={footer}\n onMouseDown={onMouseDown}\n isRefresh={isRefresh}\n dropdownRef={dropdownRef}\n verticalContainerRef={verticalContainerRef}\n position={position}\n id={dropdownContentId}\n role={dropdownContentRole}\n ariaLabelledby={ariaLabelledby}\n ariaDescribedby={ariaDescribedby}\n >\n {children}\n </TransitionContent>\n\n <TabTrap\n focusNextCallback={() => triggerRef.current && getFirstFocusable(triggerRef.current)?.focus()}\n disabled={!open || !loopFocus}\n />\n </div>\n )}\n </Transition>\n </DropdownContainer>\n </div>\n );\n};\n\nconst isInteriorPosition = (\n position: DropdownPosition | InteriorDropdownPosition\n): position is InteriorDropdownPosition => (position as InteriorDropdownPosition).bottom !== undefined;\n\nexport default Dropdown;\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["internal/components/dropdown/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC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ClC,yBAAyB,EAAE,yBAAyB,EACpD,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,WAAW,EACxB,oBAAoB,EAAE,oBAAoB,EAC1C,QAAQ,EAAE,QAAQ,EAClB,EAAE,EAAE,iBAAiB,EACrB,IAAI,EAAE,mBAAmB,EACzB,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,eAAe,IAE/B,QAAQ,CACS;gBAEpB,oBAAC,OAAO,IACN,iBAAiB,EAAE,GAAG,EAAE,WAAC,OAAA,UAAU,CAAC,OAAO,KAAI,MAAA,iBAAiB,CAAC,UAAU,CAAC,OAAO,CAAC,0CAAE,KAAK,EAAE,CAAA,CAAA,EAAA,EAC7F,QAAQ,EAAE,CAAC,IAAI,IAAI,CAAC,SAAS,GAC7B,CACE,CACP,CACU,CACK,CAChB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,CACzB,QAAqD,EACf,EAAE,CAAE,QAAqC,CAAC,MAAM,KAAK,SAAS,CAAC;AAEvG,eAAe,QAAQ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport styles from './styles.css.js';\nimport clsx from 'clsx';\nimport { useMergeRefs } from '../../hooks/use-merge-refs';\nimport React, { useEffect, useLayoutEffect, useRef, useState } from 'react';\nimport { createPortal } from 'react-dom';\nimport { fireNonCancelableEvent } from '../../events';\nimport { DropdownProps } from './interfaces';\nimport {\n DropdownPosition,\n InteriorDropdownPosition,\n calculatePosition,\n defaultMaxDropdownWidth,\n hasEnoughSpaceToStretchBeyondTriggerWidth,\n} from './dropdown-fit-handler';\nimport { Transition, TransitionStatus } from '../transition';\nimport { useVisualRefresh } from '../../hooks/use-visual-mode';\nimport { usePortalModeClasses } from '../../hooks/use-portal-mode-classes';\nimport { DropdownContextProvider, DropdownContextProviderProps } from './context';\nimport { useMobile } from '../../hooks/use-mobile';\nimport TabTrap from '../tab-trap/index.js';\nimport { getFirstFocusable, getLastFocusable } from '../focus-lock/utils.js';\nimport { useUniqueId } from '../../hooks/use-unique-id/index.js';\nimport customCssProps from '../../generated/custom-css-properties';\n\ninterface DropdownContainerProps {\n children?: React.ReactNode;\n renderWithPortal?: boolean;\n id?: string;\n referrerId?: string;\n open?: boolean;\n}\n\nconst DropdownContainer = ({ children, renderWithPortal = false, id, referrerId, open }: DropdownContainerProps) => {\n if (renderWithPortal) {\n if (open) {\n return createPortal(\n <div id={id} data-awsui-referrer-id={referrerId}>\n {children}\n </div>,\n document.body\n );\n } else {\n return null;\n }\n } else {\n return <>{children}</>;\n }\n};\n\ninterface TransitionContentProps {\n state: TransitionStatus;\n transitionRef: React.MutableRefObject<any>;\n dropdownClasses: string;\n stretchWidth: boolean;\n interior: boolean;\n isRefresh: boolean;\n dropdownRef: React.RefObject<HTMLDivElement>;\n verticalContainerRef: React.RefObject<HTMLDivElement>;\n expandToViewport?: boolean;\n stretchBeyondTriggerWidth?: boolean;\n header?: React.ReactNode;\n children?: React.ReactNode;\n footer?: React.ReactNode;\n position?: DropdownContextProviderProps['position'];\n open?: boolean;\n onMouseDown?: React.MouseEventHandler<Element>;\n id?: string;\n role?: string;\n ariaLabelledby?: string;\n ariaDescribedby?: string;\n}\n\nconst TransitionContent = ({\n state,\n transitionRef,\n dropdownClasses,\n stretchWidth,\n interior,\n isRefresh,\n dropdownRef,\n verticalContainerRef,\n expandToViewport,\n stretchBeyondTriggerWidth,\n header,\n children,\n footer,\n position,\n open,\n onMouseDown,\n id,\n role,\n ariaLabelledby,\n ariaDescribedby,\n}: TransitionContentProps) => {\n const contentRef = useMergeRefs(dropdownRef, transitionRef);\n return (\n <div\n className={clsx(styles.dropdown, dropdownClasses, {\n [styles.open]: open,\n [styles['with-limited-width']]: !stretchWidth,\n [styles['hide-upper-border']]: stretchWidth,\n [styles.interior]: interior,\n [styles['is-empty']]: !header && !children,\n [styles.refresh]: isRefresh,\n [styles['use-portal']]: expandToViewport && !interior,\n [styles['stretch-beyond-trigger-width']]: stretchBeyondTriggerWidth,\n })}\n ref={contentRef}\n id={id}\n role={role}\n aria-labelledby={ariaLabelledby}\n aria-describedby={ariaDescribedby}\n data-open={open}\n data-animating={state !== 'exited'}\n aria-hidden={!open}\n style={\n stretchBeyondTriggerWidth ? { [customCssProps.dropdownDefaultMaxWidth]: `${defaultMaxDropdownWidth}px` } : {}\n }\n onMouseDown={onMouseDown}\n >\n <div className={clsx(styles['dropdown-content-wrapper'], isRefresh && styles.refresh)}>\n <div className={styles['ie11-wrapper']}>\n <div ref={verticalContainerRef} className={styles['dropdown-content']}>\n <DropdownContextProvider position={position}>\n {header}\n {children}\n {footer}\n </DropdownContextProvider>\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nconst Dropdown = ({\n children,\n trigger,\n open,\n onDropdownClose,\n onMouseDown,\n header,\n footer,\n dropdownId,\n stretchTriggerHeight = false,\n stretchWidth = true,\n stretchHeight = false,\n stretchToTriggerWidth = true,\n stretchBeyondTriggerWidth = false,\n expandToViewport = false,\n preferCenter = false,\n interior = false,\n minWidth,\n scrollable = true,\n loopFocus = expandToViewport,\n onFocus,\n onBlur,\n contentKey,\n dropdownContentId,\n dropdownContentRole,\n ariaLabelledby,\n ariaDescribedby,\n}: DropdownProps) => {\n const wrapperRef = useRef<HTMLDivElement | null>(null);\n const triggerRef = useRef<HTMLDivElement | null>(null);\n const dropdownRef = useRef<HTMLDivElement | null>(null);\n const dropdownContainerRef = useRef<HTMLDivElement | null>(null);\n // This container is only needed to apply max-height to. We can't move max-height to it's parent\n // because of an IE11 issue with flexbox. https://github.com/philipwalton/flexbugs/issues/216\n const verticalContainerRef = useRef<HTMLDivElement>(null);\n // To keep track of the initial position (drop up/down) which is kept the same during fixed repositioning\n const fixedPosition = useRef<DropdownPosition | null>(null);\n\n const isRefresh = useVisualRefresh();\n\n const dropdownClasses = usePortalModeClasses(triggerRef);\n const [position, setPosition] = useState<DropdownContextProviderProps['position']>('bottom-right');\n\n const isMobile = useMobile();\n\n const setDropdownPosition = (\n position: DropdownPosition | InteriorDropdownPosition,\n triggerBox: DOMRect,\n target: HTMLDivElement,\n verticalContainer: HTMLDivElement\n ) => {\n const entireWidth = !interior && stretchWidth;\n if (!stretchWidth) {\n // 1px offset for dropdowns where the dropdown itself needs a border, rather than on the items\n verticalContainer.style.maxHeight = `${parseInt(position.height) + 1}px`;\n } else {\n verticalContainer.style.maxHeight = position.height;\n }\n\n if (entireWidth && !expandToViewport) {\n if (stretchToTriggerWidth) {\n target.classList.add(styles['occupy-entire-width']);\n }\n } else {\n target.style.width = position.width;\n }\n\n // Using styles for main dropdown to adjust its position as preferred alternative\n if (position.dropUp && !interior) {\n target.classList.add(styles['dropdown-drop-up']);\n if (!expandToViewport) {\n target.style.bottom = '100%';\n }\n } else {\n target.classList.remove(styles['dropdown-drop-up']);\n }\n target.classList.add(position.dropLeft ? styles['dropdown-drop-left'] : styles['dropdown-drop-right']);\n\n if (position.left && position.left !== 'auto') {\n target.style.left = position.left;\n }\n\n // Position normal overflow dropdowns with fixed positioning relative to viewport\n if (expandToViewport && !interior) {\n target.style.position = 'fixed';\n if (position.dropUp) {\n target.style.bottom = `calc(100% - ${triggerBox.top}px)`;\n } else {\n target.style.top = `${triggerBox.bottom}px`;\n }\n if (position.dropLeft) {\n target.style.left = `calc(${triggerBox.right}px - ${position.width})`;\n } else {\n target.style.left = `${triggerBox.left}px`;\n }\n // Keep track of the initial dropdown position and direction.\n // Dropdown direction doesn't need to change as the user scrolls, just needs to stay attached to the trigger.\n fixedPosition.current = position;\n return;\n }\n\n // For an interior dropdown (the fly out) we need exact values for positioning\n // and classes are not enough\n // usage of relative position is impossible due to overwrite of overflow-x\n if (interior && isInteriorPosition(position)) {\n if (position.dropUp) {\n target.style.bottom = position.bottom;\n } else {\n target.style.top = position.top;\n }\n target.style.left = position.left;\n }\n\n if (position.dropUp && position.dropLeft) {\n setPosition('top-left');\n } else if (position.dropUp) {\n setPosition('top-right');\n } else if (position.dropLeft) {\n setPosition('bottom-left');\n } else {\n setPosition('bottom-right');\n }\n };\n\n const isOutsideDropdown = (element: Element) =>\n (!wrapperRef.current || !wrapperRef.current.contains(element)) &&\n (!dropdownContainerRef.current || !dropdownContainerRef.current.contains(element));\n\n const focusHandler = (event: React.FocusEvent) => {\n if (!event.relatedTarget || isOutsideDropdown(event.relatedTarget)) {\n fireNonCancelableEvent(onFocus, event);\n }\n };\n\n const blurHandler = (event: React.FocusEvent) => {\n if (!event.relatedTarget || isOutsideDropdown(event.relatedTarget)) {\n fireNonCancelableEvent(onBlur, event);\n }\n };\n\n useLayoutEffect(() => {\n const onDropdownOpen = () => {\n if (open && dropdownRef.current && triggerRef.current && verticalContainerRef.current) {\n // calculate scroll width only for dropdowns that has a scrollbar and ignore it for date picker components\n if (scrollable) {\n dropdownRef.current.classList.add(styles.nowrap);\n }\n setDropdownPosition(\n ...calculatePosition(\n dropdownRef.current,\n triggerRef.current,\n verticalContainerRef.current,\n interior,\n expandToViewport,\n preferCenter,\n stretchWidth,\n stretchHeight,\n isMobile,\n minWidth,\n stretchBeyondTriggerWidth\n ),\n dropdownRef.current,\n verticalContainerRef.current\n );\n if (scrollable) {\n dropdownRef.current.classList.remove(styles.nowrap);\n }\n }\n };\n onDropdownOpen();\n\n if (open) {\n // window may scroll when dropdown opens, for example when soft keyboard shows up\n window.addEventListener('scroll', onDropdownOpen);\n // only listen to window scroll within very short time after the dropdown opens\n // do not want to interfere dropdown position on scroll afterwards\n const timeoutId = setTimeout(() => {\n window.removeEventListener('scroll', onDropdownOpen);\n }, 500);\n\n return () => {\n clearTimeout(timeoutId);\n window.removeEventListener('scroll', onDropdownOpen);\n };\n }\n // See AWSUI-13040\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [open, dropdownRef, triggerRef, verticalContainerRef, interior, stretchWidth, isMobile, contentKey]);\n\n // Prevent the dropdown width from stretching beyond the trigger width\n // if that is going to cause the dropdown to be cropped because of overflow\n useLayoutEffect(() => {\n if (stretchBeyondTriggerWidth && dropdownRef.current && triggerRef.current && verticalContainerRef.current) {\n if (\n !hasEnoughSpaceToStretchBeyondTriggerWidth({\n triggerElement: triggerRef.current,\n dropdownElement: dropdownRef.current,\n desiredMinWidth: minWidth,\n expandToViewport,\n stretchWidth,\n stretchHeight,\n isMobile,\n })\n ) {\n dropdownRef.current.classList.remove(styles['stretch-beyond-trigger-width']);\n }\n }\n });\n\n // subscribe to outside click\n useEffect(() => {\n if (!open) {\n return;\n }\n const clickListener = (e: MouseEvent) => {\n if (!dropdownRef.current?.contains(e.target as Node) && !triggerRef.current?.contains(e.target as Node)) {\n fireNonCancelableEvent(onDropdownClose);\n }\n };\n window.addEventListener('click', clickListener, true);\n\n return () => {\n window.removeEventListener('click', clickListener, true);\n };\n }, [open, onDropdownClose]);\n\n // sync dropdown position on scroll and resize\n useLayoutEffect(() => {\n if (!expandToViewport || !open) {\n return;\n }\n const updateDropdownPosition = () => {\n if (triggerRef.current && dropdownRef.current && verticalContainerRef.current) {\n const triggerRect = triggerRef.current.getBoundingClientRect();\n const target = dropdownRef.current;\n if (fixedPosition.current) {\n if (fixedPosition.current.dropUp) {\n dropdownRef.current.style.bottom = `calc(100% - ${triggerRect.top}px)`;\n } else {\n target.style.top = `${triggerRect.bottom}px`;\n }\n if (fixedPosition.current.dropLeft) {\n target.style.left = `calc(${triggerRect.right}px - ${fixedPosition.current.width})`;\n } else {\n target.style.left = `${triggerRect.left}px`;\n }\n }\n }\n };\n\n updateDropdownPosition();\n\n window.addEventListener('scroll', updateDropdownPosition, true);\n window.addEventListener('resize', updateDropdownPosition, true);\n return () => {\n window.removeEventListener('scroll', updateDropdownPosition, true);\n window.removeEventListener('resize', updateDropdownPosition, true);\n };\n }, [open, expandToViewport]);\n\n const referrerId = useUniqueId();\n\n return (\n <div\n className={clsx(\n styles.root,\n interior && styles.interior,\n stretchTriggerHeight && styles['stretch-trigger-height']\n )}\n ref={wrapperRef}\n onFocus={focusHandler}\n onBlur={blurHandler}\n >\n <div id={referrerId} className={clsx(stretchTriggerHeight && styles['stretch-trigger-height'])} ref={triggerRef}>\n {trigger}\n </div>\n\n <TabTrap\n focusNextCallback={() => dropdownRef.current && getFirstFocusable(dropdownRef.current)?.focus()}\n disabled={!open || !loopFocus}\n />\n\n <DropdownContainer\n renderWithPortal={expandToViewport && !interior}\n id={dropdownId}\n referrerId={referrerId}\n open={open}\n >\n <Transition in={open ?? false} exit={false}>\n {(state, ref) => (\n <div ref={dropdownContainerRef}>\n <TabTrap\n focusNextCallback={() => triggerRef.current && getLastFocusable(triggerRef.current)?.focus()}\n disabled={!open || !loopFocus}\n />\n\n <TransitionContent\n state={state}\n transitionRef={ref}\n dropdownClasses={dropdownClasses}\n open={open}\n stretchWidth={stretchWidth}\n interior={interior}\n header={header}\n expandToViewport={expandToViewport}\n stretchBeyondTriggerWidth={stretchBeyondTriggerWidth}\n footer={footer}\n onMouseDown={onMouseDown}\n isRefresh={isRefresh}\n dropdownRef={dropdownRef}\n verticalContainerRef={verticalContainerRef}\n position={position}\n id={dropdownContentId}\n role={dropdownContentRole}\n ariaLabelledby={ariaLabelledby}\n ariaDescribedby={ariaDescribedby}\n >\n {children}\n </TransitionContent>\n\n <TabTrap\n focusNextCallback={() => triggerRef.current && getFirstFocusable(triggerRef.current)?.focus()}\n disabled={!open || !loopFocus}\n />\n </div>\n )}\n </Transition>\n </DropdownContainer>\n </div>\n );\n};\n\nconst isInteriorPosition = (\n position: DropdownPosition | InteriorDropdownPosition\n): position is InteriorDropdownPosition => (position as InteriorDropdownPosition).bottom !== undefined;\n\nexport default Dropdown;\n"]}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"dropdown-content-wrapper": "awsui_dropdown-content-
|
|
5
|
-
"awsui-motion-fade-in-dropdown": "awsui_awsui-motion-fade-in-
|
|
6
|
-
"refresh": "
|
|
7
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
8
|
-
"root": "
|
|
9
|
-
"interior": "
|
|
10
|
-
"dropdown": "
|
|
11
|
-
"use-portal": "awsui_use-
|
|
12
|
-
"dropdown-drop-up": "awsui_dropdown-drop-
|
|
13
|
-
"with-limited-width": "awsui_with-limited-
|
|
14
|
-
"dropdown-drop-left": "awsui_dropdown-drop-
|
|
15
|
-
"dropdown-drop-right": "awsui_dropdown-drop-
|
|
16
|
-
"occupy-entire-width": "awsui_occupy-entire-
|
|
17
|
-
"stretch-beyond-trigger-width": "awsui_stretch-beyond-trigger-
|
|
18
|
-
"hide-upper-border": "awsui_hide-upper-
|
|
19
|
-
"open": "
|
|
20
|
-
"nowrap": "
|
|
21
|
-
"is-empty": "awsui_is-
|
|
22
|
-
"dropdown-content": "awsui_dropdown-
|
|
23
|
-
"ie11-wrapper": "awsui_ie11-
|
|
24
|
-
"stretch-trigger-height": "awsui_stretch-trigger-
|
|
4
|
+
"dropdown-content-wrapper": "awsui_dropdown-content-wrapper_qwoo0_ai07r_93",
|
|
5
|
+
"awsui-motion-fade-in-dropdown": "awsui_awsui-motion-fade-in-dropdown_qwoo0_ai07r_1",
|
|
6
|
+
"refresh": "awsui_refresh_qwoo0_ai07r_114",
|
|
7
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_qwoo0_ai07r_1",
|
|
8
|
+
"root": "awsui_root_qwoo0_ai07r_143",
|
|
9
|
+
"interior": "awsui_interior_qwoo0_ai07r_157",
|
|
10
|
+
"dropdown": "awsui_dropdown_qwoo0_ai07r_93",
|
|
11
|
+
"use-portal": "awsui_use-portal_qwoo0_ai07r_168",
|
|
12
|
+
"dropdown-drop-up": "awsui_dropdown-drop-up_qwoo0_ai07r_213",
|
|
13
|
+
"with-limited-width": "awsui_with-limited-width_qwoo0_ai07r_217",
|
|
14
|
+
"dropdown-drop-left": "awsui_dropdown-drop-left_qwoo0_ai07r_220",
|
|
15
|
+
"dropdown-drop-right": "awsui_dropdown-drop-right_qwoo0_ai07r_223",
|
|
16
|
+
"occupy-entire-width": "awsui_occupy-entire-width_qwoo0_ai07r_226",
|
|
17
|
+
"stretch-beyond-trigger-width": "awsui_stretch-beyond-trigger-width_qwoo0_ai07r_229",
|
|
18
|
+
"hide-upper-border": "awsui_hide-upper-border_qwoo0_ai07r_233",
|
|
19
|
+
"open": "awsui_open_qwoo0_ai07r_240",
|
|
20
|
+
"nowrap": "awsui_nowrap_qwoo0_ai07r_249",
|
|
21
|
+
"is-empty": "awsui_is-empty_qwoo0_ai07r_253",
|
|
22
|
+
"dropdown-content": "awsui_dropdown-content_qwoo0_ai07r_93",
|
|
23
|
+
"ie11-wrapper": "awsui_ie11-wrapper_qwoo0_ai07r_263",
|
|
24
|
+
"stretch-trigger-height": "awsui_stretch-trigger-height_qwoo0_ai07r_267"
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -90,10 +90,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
90
90
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
91
|
SPDX-License-Identifier: Apache-2.0
|
|
92
92
|
*/
|
|
93
|
-
.awsui_dropdown-content-
|
|
94
|
-
animation: awsui_awsui-motion-fade-in-
|
|
93
|
+
.awsui_dropdown-content-wrapper_qwoo0_ai07r_93:not(#\9) {
|
|
94
|
+
animation: awsui_awsui-motion-fade-in-dropdown_qwoo0_ai07r_1 var(--motion-duration-show-quick-aq3ump, 135ms) var(--motion-easing-show-quick-vc5zgd, ease-out);
|
|
95
95
|
}
|
|
96
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
96
|
+
@keyframes awsui_awsui-motion-fade-in-dropdown_qwoo0_ai07r_1 {
|
|
97
97
|
from {
|
|
98
98
|
opacity: 0.4;
|
|
99
99
|
}
|
|
@@ -102,22 +102,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
@media (prefers-reduced-motion: reduce) {
|
|
105
|
-
.awsui_dropdown-content-
|
|
105
|
+
.awsui_dropdown-content-wrapper_qwoo0_ai07r_93:not(#\9) {
|
|
106
106
|
animation: none;
|
|
107
107
|
transition: none;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
.awsui-motion-disabled .awsui_dropdown-content-
|
|
110
|
+
.awsui-motion-disabled .awsui_dropdown-content-wrapper_qwoo0_ai07r_93:not(#\9), .awsui-mode-entering .awsui_dropdown-content-wrapper_qwoo0_ai07r_93:not(#\9) {
|
|
111
111
|
animation: none;
|
|
112
112
|
transition: none;
|
|
113
113
|
}
|
|
114
|
-
.awsui_dropdown-content-
|
|
114
|
+
.awsui_dropdown-content-wrapper_qwoo0_ai07r_93.awsui_refresh_qwoo0_ai07r_114:not(#\9) {
|
|
115
115
|
transform-origin: top;
|
|
116
|
-
animation-name: awsui_awsui-motion-fade-in-
|
|
116
|
+
animation-name: awsui_awsui-motion-fade-in-0_qwoo0_ai07r_1;
|
|
117
117
|
animation-duration: var(--motion-duration-show-quick-aq3ump, 135ms);
|
|
118
118
|
animation-timing-function: var(--motion-easing-show-quick-vc5zgd, ease-out);
|
|
119
119
|
}
|
|
120
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
120
|
+
@keyframes awsui_awsui-motion-fade-in-0_qwoo0_ai07r_1 {
|
|
121
121
|
from {
|
|
122
122
|
opacity: 0;
|
|
123
123
|
}
|
|
@@ -126,12 +126,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
@media (prefers-reduced-motion: reduce) {
|
|
129
|
-
.awsui_dropdown-content-
|
|
129
|
+
.awsui_dropdown-content-wrapper_qwoo0_ai07r_93.awsui_refresh_qwoo0_ai07r_114:not(#\9) {
|
|
130
130
|
animation: none;
|
|
131
131
|
transition: none;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
.awsui-motion-disabled .awsui_dropdown-content-
|
|
134
|
+
.awsui-motion-disabled .awsui_dropdown-content-wrapper_qwoo0_ai07r_93.awsui_refresh_qwoo0_ai07r_114:not(#\9), .awsui-mode-entering .awsui_dropdown-content-wrapper_qwoo0_ai07r_93.awsui_refresh_qwoo0_ai07r_114:not(#\9) {
|
|
135
135
|
animation: none;
|
|
136
136
|
transition: none;
|
|
137
137
|
}
|
|
@@ -140,7 +140,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
140
140
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
141
141
|
SPDX-License-Identifier: Apache-2.0
|
|
142
142
|
*/
|
|
143
|
-
.
|
|
143
|
+
.awsui_root_qwoo0_ai07r_143:not(#\9) {
|
|
144
144
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
145
145
|
border-collapse: separate;
|
|
146
146
|
border-spacing: 0;
|
|
@@ -180,11 +180,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
180
180
|
position: relative;
|
|
181
181
|
white-space: inherit;
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.awsui_root_qwoo0_ai07r_143.awsui_interior_qwoo0_ai07r_157:not(#\9) {
|
|
184
184
|
position: static;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
.
|
|
187
|
+
.awsui_dropdown_qwoo0_ai07r_93:not(#\9) {
|
|
188
188
|
position: absolute;
|
|
189
189
|
display: none;
|
|
190
190
|
z-index: 2000;
|
|
@@ -192,24 +192,24 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
192
192
|
user-select: none;
|
|
193
193
|
transform-origin: top;
|
|
194
194
|
}
|
|
195
|
-
.
|
|
195
|
+
.awsui_dropdown_qwoo0_ai07r_93.awsui_use-portal_qwoo0_ai07r_168:not(#\9) {
|
|
196
196
|
z-index: 7000;
|
|
197
197
|
}
|
|
198
|
-
.
|
|
198
|
+
.awsui_dropdown_qwoo0_ai07r_93:not(#\9):not(.awsui_interior_qwoo0_ai07r_157) {
|
|
199
199
|
transform: translateY(0px);
|
|
200
200
|
transition: transform var(--motion-duration-show-quick-aq3ump, 135ms);
|
|
201
201
|
}
|
|
202
202
|
@media (prefers-reduced-motion: reduce) {
|
|
203
|
-
.
|
|
203
|
+
.awsui_dropdown_qwoo0_ai07r_93:not(#\9):not(.awsui_interior_qwoo0_ai07r_157) {
|
|
204
204
|
animation: none;
|
|
205
205
|
transition: none;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
.awsui-motion-disabled .
|
|
208
|
+
.awsui-motion-disabled .awsui_dropdown_qwoo0_ai07r_93:not(#\9):not(.awsui_interior_qwoo0_ai07r_157), .awsui-mode-entering .awsui_dropdown_qwoo0_ai07r_93:not(#\9):not(.awsui_interior_qwoo0_ai07r_157) {
|
|
209
209
|
animation: none;
|
|
210
210
|
transition: none;
|
|
211
211
|
}
|
|
212
|
-
.awsui_dropdown-content-
|
|
212
|
+
.awsui_dropdown-content-wrapper_qwoo0_ai07r_93:not(#\9) {
|
|
213
213
|
position: relative;
|
|
214
214
|
background-color: var(--color-background-dropdown-item-default-be16w5, #ffffff);
|
|
215
215
|
outline: none;
|
|
@@ -219,7 +219,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
219
219
|
box-sizing: border-box;
|
|
220
220
|
border-bottom: none;
|
|
221
221
|
}
|
|
222
|
-
.awsui_dropdown-content-
|
|
222
|
+
.awsui_dropdown-content-wrapper_qwoo0_ai07r_93:not(#\9)::after {
|
|
223
223
|
content: "";
|
|
224
224
|
position: absolute;
|
|
225
225
|
z-index: 1;
|
|
@@ -233,63 +233,64 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
233
233
|
pointer-events: none;
|
|
234
234
|
}
|
|
235
235
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
236
|
-
.awsui_dropdown-content-
|
|
236
|
+
.awsui_dropdown-content-wrapper_qwoo0_ai07r_93:not(#\9) {
|
|
237
237
|
border: var(--border-field-width-09w7vk, 2px) solid var(--color-border-container-top-736buh, transparent);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
.awsui_dropdown-drop-
|
|
240
|
+
.awsui_dropdown-drop-up_qwoo0_ai07r_213 > .awsui_dropdown-content-wrapper_qwoo0_ai07r_93:not(#\9) {
|
|
241
241
|
transform-origin: bottom;
|
|
242
242
|
box-shadow: var(--shadow-dropup-7m0sn5, 0px 4px 20px 1px rgba(0, 7, 22, 0.1));
|
|
243
243
|
}
|
|
244
|
-
.awsui_dropdown-drop-
|
|
244
|
+
.awsui_dropdown-drop-up_qwoo0_ai07r_213.awsui_with-limited-width_qwoo0_ai07r_217 > .awsui_dropdown-content-wrapper_qwoo0_ai07r_93:not(#\9) {
|
|
245
245
|
border-top: none;
|
|
246
246
|
}
|
|
247
|
-
.awsui_dropdown-drop-
|
|
247
|
+
.awsui_dropdown-drop-left_qwoo0_ai07r_220:not(#\9) {
|
|
248
248
|
right: 0;
|
|
249
249
|
}
|
|
250
|
-
.awsui_dropdown-drop-
|
|
250
|
+
.awsui_dropdown-drop-right_qwoo0_ai07r_223:not(#\9) {
|
|
251
251
|
left: 0;
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
.awsui_dropdown_qwoo0_ai07r_93.awsui_occupy-entire-width_qwoo0_ai07r_226:not(#\9) {
|
|
254
254
|
min-width: 100%;
|
|
255
255
|
}
|
|
256
|
-
.
|
|
256
|
+
.awsui_dropdown_qwoo0_ai07r_93.awsui_stretch-beyond-trigger-width_qwoo0_ai07r_229:not(#\9) {
|
|
257
257
|
width: max-content;
|
|
258
|
+
max-width: var(--awsui-dropdown-default-max-width-y98gph, 100%);
|
|
258
259
|
}
|
|
259
|
-
.
|
|
260
|
+
.awsui_dropdown_qwoo0_ai07r_93.awsui_hide-upper-border_qwoo0_ai07r_233 > .awsui_dropdown-content-wrapper_qwoo0_ai07r_93:not(#\9) {
|
|
260
261
|
border-top: none;
|
|
261
262
|
}
|
|
262
|
-
.
|
|
263
|
+
.awsui_dropdown_qwoo0_ai07r_93.awsui_interior_qwoo0_ai07r_157 > .awsui_dropdown-content-wrapper_qwoo0_ai07r_93:not(#\9) {
|
|
263
264
|
margin-top: -1px;
|
|
264
265
|
border-top: var(--border-divider-list-width-27y3k5, 1px) solid var(--color-border-container-top-736buh, transparent);
|
|
265
266
|
}
|
|
266
|
-
.
|
|
267
|
+
.awsui_dropdown_qwoo0_ai07r_93.awsui_open_qwoo0_ai07r_240:not(#\9) {
|
|
267
268
|
display: block;
|
|
268
269
|
}
|
|
269
|
-
.
|
|
270
|
+
.awsui_dropdown_qwoo0_ai07r_93.awsui_open_qwoo0_ai07r_240:not(#\9):not(.awsui_interior_qwoo0_ai07r_157).awsui_refresh_qwoo0_ai07r_114[data-animating=true] {
|
|
270
271
|
transform: translateY(4px);
|
|
271
272
|
}
|
|
272
|
-
.
|
|
273
|
+
.awsui_dropdown_qwoo0_ai07r_93.awsui_open_qwoo0_ai07r_240:not(#\9):not(.awsui_interior_qwoo0_ai07r_157).awsui_refresh_qwoo0_ai07r_114[data-animating=true].awsui_dropdown-drop-up_qwoo0_ai07r_213 {
|
|
273
274
|
transform: translateY(-4px);
|
|
274
275
|
}
|
|
275
|
-
.
|
|
276
|
+
.awsui_dropdown_qwoo0_ai07r_93.awsui_open_qwoo0_ai07r_240.awsui_nowrap_qwoo0_ai07r_249:not(#\9) {
|
|
276
277
|
white-space: nowrap;
|
|
277
278
|
overflow: scroll;
|
|
278
279
|
}
|
|
279
|
-
.
|
|
280
|
+
.awsui_dropdown_qwoo0_ai07r_93.awsui_is-empty_qwoo0_ai07r_253:not(#\9)::after {
|
|
280
281
|
display: none;
|
|
281
282
|
}
|
|
282
283
|
|
|
283
|
-
.awsui_dropdown-
|
|
284
|
+
.awsui_dropdown-content_qwoo0_ai07r_93:not(#\9) {
|
|
284
285
|
display: flex;
|
|
285
286
|
flex-direction: column;
|
|
286
287
|
width: 100%;
|
|
287
288
|
}
|
|
288
289
|
|
|
289
|
-
.awsui_ie11-
|
|
290
|
+
.awsui_ie11-wrapper_qwoo0_ai07r_263:not(#\9) {
|
|
290
291
|
display: flex;
|
|
291
292
|
}
|
|
292
293
|
|
|
293
|
-
.awsui_stretch-trigger-
|
|
294
|
+
.awsui_stretch-trigger-height_qwoo0_ai07r_267:not(#\9) {
|
|
294
295
|
height: 100%;
|
|
295
296
|
}
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"dropdown-content-wrapper": "awsui_dropdown-content-
|
|
6
|
-
"awsui-motion-fade-in-dropdown": "awsui_awsui-motion-fade-in-
|
|
7
|
-
"refresh": "
|
|
8
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
9
|
-
"root": "
|
|
10
|
-
"interior": "
|
|
11
|
-
"dropdown": "
|
|
12
|
-
"use-portal": "awsui_use-
|
|
13
|
-
"dropdown-drop-up": "awsui_dropdown-drop-
|
|
14
|
-
"with-limited-width": "awsui_with-limited-
|
|
15
|
-
"dropdown-drop-left": "awsui_dropdown-drop-
|
|
16
|
-
"dropdown-drop-right": "awsui_dropdown-drop-
|
|
17
|
-
"occupy-entire-width": "awsui_occupy-entire-
|
|
18
|
-
"stretch-beyond-trigger-width": "awsui_stretch-beyond-trigger-
|
|
19
|
-
"hide-upper-border": "awsui_hide-upper-
|
|
20
|
-
"open": "
|
|
21
|
-
"nowrap": "
|
|
22
|
-
"is-empty": "awsui_is-
|
|
23
|
-
"dropdown-content": "awsui_dropdown-
|
|
24
|
-
"ie11-wrapper": "awsui_ie11-
|
|
25
|
-
"stretch-trigger-height": "awsui_stretch-trigger-
|
|
5
|
+
"dropdown-content-wrapper": "awsui_dropdown-content-wrapper_qwoo0_ai07r_93",
|
|
6
|
+
"awsui-motion-fade-in-dropdown": "awsui_awsui-motion-fade-in-dropdown_qwoo0_ai07r_1",
|
|
7
|
+
"refresh": "awsui_refresh_qwoo0_ai07r_114",
|
|
8
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_qwoo0_ai07r_1",
|
|
9
|
+
"root": "awsui_root_qwoo0_ai07r_143",
|
|
10
|
+
"interior": "awsui_interior_qwoo0_ai07r_157",
|
|
11
|
+
"dropdown": "awsui_dropdown_qwoo0_ai07r_93",
|
|
12
|
+
"use-portal": "awsui_use-portal_qwoo0_ai07r_168",
|
|
13
|
+
"dropdown-drop-up": "awsui_dropdown-drop-up_qwoo0_ai07r_213",
|
|
14
|
+
"with-limited-width": "awsui_with-limited-width_qwoo0_ai07r_217",
|
|
15
|
+
"dropdown-drop-left": "awsui_dropdown-drop-left_qwoo0_ai07r_220",
|
|
16
|
+
"dropdown-drop-right": "awsui_dropdown-drop-right_qwoo0_ai07r_223",
|
|
17
|
+
"occupy-entire-width": "awsui_occupy-entire-width_qwoo0_ai07r_226",
|
|
18
|
+
"stretch-beyond-trigger-width": "awsui_stretch-beyond-trigger-width_qwoo0_ai07r_229",
|
|
19
|
+
"hide-upper-border": "awsui_hide-upper-border_qwoo0_ai07r_233",
|
|
20
|
+
"open": "awsui_open_qwoo0_ai07r_240",
|
|
21
|
+
"nowrap": "awsui_nowrap_qwoo0_ai07r_249",
|
|
22
|
+
"is-empty": "awsui_is-empty_qwoo0_ai07r_253",
|
|
23
|
+
"dropdown-content": "awsui_dropdown-content_qwoo0_ai07r_93",
|
|
24
|
+
"ie11-wrapper": "awsui_ie11-wrapper_qwoo0_ai07r_263",
|
|
25
|
+
"stretch-trigger-height": "awsui_stretch-trigger-height_qwoo0_ai07r_267"
|
|
26
26
|
};
|
|
27
27
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"button": "
|
|
5
|
-
"expanded": "
|
|
6
|
-
"offset-right-none": "awsui_offset-right-
|
|
7
|
-
"offset-right-l": "awsui_offset-right-
|
|
8
|
-
"offset-right-xxl": "awsui_offset-right-
|
|
9
|
-
"text": "
|
|
10
|
-
"icon": "
|
|
4
|
+
"button": "awsui_button_m5h9f_1kye8_93",
|
|
5
|
+
"expanded": "awsui_expanded_m5h9f_1kye8_126",
|
|
6
|
+
"offset-right-none": "awsui_offset-right-none_m5h9f_1kye8_137",
|
|
7
|
+
"offset-right-l": "awsui_offset-right-l_m5h9f_1kye8_140",
|
|
8
|
+
"offset-right-xxl": "awsui_offset-right-xxl_m5h9f_1kye8_143",
|
|
9
|
+
"text": "awsui_text_m5h9f_1kye8_165",
|
|
10
|
+
"icon": "awsui_icon_m5h9f_1kye8_169"
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -90,7 +90,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
90
90
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
91
|
SPDX-License-Identifier: Apache-2.0
|
|
92
92
|
*/
|
|
93
|
-
.
|
|
93
|
+
.awsui_button_m5h9f_1kye8_93:not(#\9) {
|
|
94
94
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
95
95
|
border-collapse: separate;
|
|
96
96
|
border-spacing: 0;
|
|
@@ -128,7 +128,6 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
128
128
|
-webkit-font-smoothing: auto;
|
|
129
129
|
-moz-osx-font-smoothing: auto;
|
|
130
130
|
min-width: 0;
|
|
131
|
-
-ms-word-break: break-all;
|
|
132
131
|
word-break: break-word;
|
|
133
132
|
font-weight: var(--font-button-weight-hv56tz, 700);
|
|
134
133
|
-webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
|
|
@@ -146,38 +145,38 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
146
145
|
background: transparent;
|
|
147
146
|
color: var(--color-text-interactive-default-lnx6lk, #414d5c);
|
|
148
147
|
}
|
|
149
|
-
.
|
|
148
|
+
.awsui_button_m5h9f_1kye8_93:not(#\9):hover {
|
|
150
149
|
color: var(--color-text-interactive-hover-mj8add, #000716);
|
|
151
150
|
text-decoration: none;
|
|
152
151
|
}
|
|
153
|
-
.
|
|
152
|
+
.awsui_button_m5h9f_1kye8_93:not(#\9):active, .awsui_button_m5h9f_1kye8_93.awsui_expanded_m5h9f_1kye8_126:not(#\9) {
|
|
154
153
|
background: transparent;
|
|
155
154
|
color: var(--color-text-interactive-active-ox3ozh, #000716);
|
|
156
155
|
}
|
|
157
|
-
.
|
|
156
|
+
.awsui_button_m5h9f_1kye8_93.awsui_expanded_m5h9f_1kye8_126:not(#\9) {
|
|
158
157
|
color: var(--color-text-accent-n2acxv, #0972d3);
|
|
159
158
|
}
|
|
160
|
-
.
|
|
159
|
+
.awsui_button_m5h9f_1kye8_93:not(#\9):focus {
|
|
161
160
|
outline: none;
|
|
162
161
|
text-decoration: none;
|
|
163
162
|
}
|
|
164
|
-
.
|
|
163
|
+
.awsui_button_m5h9f_1kye8_93.awsui_offset-right-none_m5h9f_1kye8_137:not(#\9) {
|
|
165
164
|
margin-right: 0;
|
|
166
165
|
}
|
|
167
|
-
.
|
|
166
|
+
.awsui_button_m5h9f_1kye8_93.awsui_offset-right-l_m5h9f_1kye8_140:not(#\9) {
|
|
168
167
|
margin-right: var(--space-s-34lx8l, 12px);
|
|
169
168
|
}
|
|
170
|
-
.
|
|
169
|
+
.awsui_button_m5h9f_1kye8_93.awsui_offset-right-xxl_m5h9f_1kye8_143:not(#\9) {
|
|
171
170
|
margin-right: var(--space-xl-lmui9r, 24px);
|
|
172
171
|
}
|
|
173
|
-
body[data-awsui-focus-visible=true] .
|
|
172
|
+
body[data-awsui-focus-visible=true] .awsui_button_m5h9f_1kye8_93:not(#\9):focus {
|
|
174
173
|
position: relative;
|
|
175
174
|
}
|
|
176
|
-
body[data-awsui-focus-visible=true] .
|
|
175
|
+
body[data-awsui-focus-visible=true] .awsui_button_m5h9f_1kye8_93:not(#\9):focus {
|
|
177
176
|
outline: 2px dotted transparent;
|
|
178
177
|
outline-offset: calc(-1px - 1px);
|
|
179
178
|
}
|
|
180
|
-
body[data-awsui-focus-visible=true] .
|
|
179
|
+
body[data-awsui-focus-visible=true] .awsui_button_m5h9f_1kye8_93:not(#\9):focus::before {
|
|
181
180
|
content: " ";
|
|
182
181
|
display: block;
|
|
183
182
|
position: absolute;
|
|
@@ -189,10 +188,10 @@ body[data-awsui-focus-visible=true] .awsui_button_m5h9f_1lqb8_93:not(#\9):focus:
|
|
|
189
188
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
190
189
|
}
|
|
191
190
|
|
|
192
|
-
.
|
|
191
|
+
.awsui_text_m5h9f_1kye8_165:not(#\9) {
|
|
193
192
|
margin-right: var(--space-xs-zb16t3, 8px);
|
|
194
193
|
}
|
|
195
194
|
|
|
196
|
-
.
|
|
195
|
+
.awsui_icon_m5h9f_1kye8_169 + .awsui_text_m5h9f_1kye8_165:not(#\9) {
|
|
197
196
|
margin-left: var(--space-xs-zb16t3, 8px);
|
|
198
197
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"button": "
|
|
6
|
-
"expanded": "
|
|
7
|
-
"offset-right-none": "awsui_offset-right-
|
|
8
|
-
"offset-right-l": "awsui_offset-right-
|
|
9
|
-
"offset-right-xxl": "awsui_offset-right-
|
|
10
|
-
"text": "
|
|
11
|
-
"icon": "
|
|
5
|
+
"button": "awsui_button_m5h9f_1kye8_93",
|
|
6
|
+
"expanded": "awsui_expanded_m5h9f_1kye8_126",
|
|
7
|
+
"offset-right-none": "awsui_offset-right-none_m5h9f_1kye8_137",
|
|
8
|
+
"offset-right-l": "awsui_offset-right-l_m5h9f_1kye8_140",
|
|
9
|
+
"offset-right-xxl": "awsui_offset-right-xxl_m5h9f_1kye8_143",
|
|
10
|
+
"text": "awsui_text_m5h9f_1kye8_165",
|
|
11
|
+
"icon": "awsui_icon_m5h9f_1kye8_169"
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"option": "
|
|
5
|
-
"disabled": "
|
|
6
|
-
"parent": "
|
|
7
|
-
"highlighted": "
|
|
8
|
-
"content": "
|
|
9
|
-
"label-content": "awsui_label-
|
|
10
|
-
"label": "
|
|
11
|
-
"tag": "
|
|
12
|
-
"label-tag": "awsui_label-
|
|
13
|
-
"label-prefix": "awsui_label-
|
|
14
|
-
"tags": "
|
|
15
|
-
"description": "
|
|
16
|
-
"selected": "
|
|
17
|
-
"icon": "
|
|
18
|
-
"icon-size-big": "awsui_icon-size-
|
|
19
|
-
"filtering-match-highlight": "awsui_filtering-match-
|
|
20
|
-
"trigger-variant": "awsui_trigger-
|
|
4
|
+
"option": "awsui_option_1p2cx_1c2xj_97",
|
|
5
|
+
"disabled": "awsui_disabled_1p2cx_1c2xj_115",
|
|
6
|
+
"parent": "awsui_parent_1p2cx_1c2xj_118",
|
|
7
|
+
"highlighted": "awsui_highlighted_1p2cx_1c2xj_121",
|
|
8
|
+
"content": "awsui_content_1p2cx_1c2xj_125",
|
|
9
|
+
"label-content": "awsui_label-content_1p2cx_1c2xj_132",
|
|
10
|
+
"label": "awsui_label_1p2cx_1c2xj_132",
|
|
11
|
+
"tag": "awsui_tag_1p2cx_1c2xj_139",
|
|
12
|
+
"label-tag": "awsui_label-tag_1p2cx_1c2xj_140",
|
|
13
|
+
"label-prefix": "awsui_label-prefix_1p2cx_1c2xj_150",
|
|
14
|
+
"tags": "awsui_tags_1p2cx_1c2xj_163",
|
|
15
|
+
"description": "awsui_description_1p2cx_1c2xj_164",
|
|
16
|
+
"selected": "awsui_selected_1p2cx_1c2xj_175",
|
|
17
|
+
"icon": "awsui_icon_1p2cx_1c2xj_189",
|
|
18
|
+
"icon-size-big": "awsui_icon-size-big_1p2cx_1c2xj_196",
|
|
19
|
+
"filtering-match-highlight": "awsui_filtering-match-highlight_1p2cx_1c2xj_200",
|
|
20
|
+
"trigger-variant": "awsui_trigger-variant_1p2cx_1c2xj_215"
|
|
21
21
|
};
|
|
22
22
|
|