@cloudscape-design/components-themeable 3.0.270 → 3.0.272
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/button/styles.scss +2 -8
- package/lib/internal/scss/collection-preferences/content-display/sortable-item.scss +80 -0
- package/lib/internal/scss/collection-preferences/content-display/styles.scss +33 -0
- package/lib/internal/scss/collection-preferences/styles.scss +1 -0
- package/lib/internal/scss/collection-preferences/visible-content.scss +1 -0
- package/lib/internal/scss/expandable-section/styles.scss +16 -2
- package/lib/internal/scss/file-upload/file-input/styles.scss +8 -0
- package/lib/internal/scss/internal/components/token-list/styles.scss +3 -1
- package/lib/internal/scss/internal/drag-handle/styles.scss +18 -0
- package/lib/internal/scss/internal/handle/styles.scss +31 -0
- package/lib/internal/scss/table/body-cell/styles.scss +4 -4
- package/lib/internal/template/THIRD-PARTY-LICENSES +31 -0
- package/lib/internal/template/autosuggest/options-controller.d.ts +1 -1
- package/lib/internal/template/autosuggest/options-controller.d.ts.map +1 -1
- package/lib/internal/template/autosuggest/options-controller.js +22 -23
- package/lib/internal/template/autosuggest/options-controller.js.map +1 -1
- package/lib/internal/template/autosuggest/options-list.d.ts.map +1 -1
- package/lib/internal/template/autosuggest/options-list.js +1 -2
- package/lib/internal/template/autosuggest/options-list.js.map +1 -1
- package/lib/internal/template/button/internal.d.ts +0 -1
- package/lib/internal/template/button/internal.d.ts.map +1 -1
- package/lib/internal/template/button/internal.js +1 -3
- package/lib/internal/template/button/internal.js.map +1 -1
- package/lib/internal/template/button/styles.css.js +18 -20
- package/lib/internal/template/button/styles.scoped.css +136 -298
- package/lib/internal/template/button/styles.selectors.js +18 -20
- package/lib/internal/template/collection-preferences/content-display/index.d.ts +9 -0
- package/lib/internal/template/collection-preferences/content-display/index.d.ts.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/index.js +55 -0
- package/lib/internal/template/collection-preferences/content-display/index.js.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/defaults.d.ts +3 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/defaults.d.ts.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/defaults.js +9 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/defaults.js.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/index.d.ts +19 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/index.d.ts.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/index.js +126 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/index.js.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/events.d.ts +11 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/events.d.ts.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/events.js +14 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/events.js.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/listeners.d.ts +8 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/listeners.d.ts.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/listeners.js +17 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/listeners.js.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/scroll.d.ts +30 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/scroll.d.ts.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/scroll.js +95 -0
- package/lib/internal/template/collection-preferences/content-display/keyboard-sensor/utilities/scroll.js.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/sortable-item.d.ts +9 -0
- package/lib/internal/template/collection-preferences/content-display/sortable-item.d.ts.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/sortable-item.js +52 -0
- package/lib/internal/template/collection-preferences/content-display/sortable-item.js.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/styles.css.js +20 -0
- package/lib/internal/template/collection-preferences/content-display/styles.scoped.css +303 -0
- package/lib/internal/template/collection-preferences/content-display/styles.selectors.js +21 -0
- package/lib/internal/template/collection-preferences/content-display/use-drag-and-drop-reorder.d.ts +14 -0
- package/lib/internal/template/collection-preferences/content-display/use-drag-and-drop-reorder.d.ts.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/use-drag-and-drop-reorder.js +144 -0
- package/lib/internal/template/collection-preferences/content-display/use-drag-and-drop-reorder.js.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/use-live-announcements.d.ts +12 -0
- package/lib/internal/template/collection-preferences/content-display/use-live-announcements.d.ts.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/use-live-announcements.js +40 -0
- package/lib/internal/template/collection-preferences/content-display/use-live-announcements.js.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/utils.d.ts +9 -0
- package/lib/internal/template/collection-preferences/content-display/utils.d.ts.map +1 -0
- package/lib/internal/template/collection-preferences/content-display/utils.js +7 -0
- package/lib/internal/template/collection-preferences/content-display/utils.js.map +1 -0
- package/lib/internal/template/collection-preferences/index.d.ts +1 -1
- package/lib/internal/template/collection-preferences/index.d.ts.map +1 -1
- package/lib/internal/template/collection-preferences/index.js +15 -9
- package/lib/internal/template/collection-preferences/index.js.map +1 -1
- package/lib/internal/template/collection-preferences/interfaces.d.ts +47 -1
- package/lib/internal/template/collection-preferences/interfaces.d.ts.map +1 -1
- package/lib/internal/template/collection-preferences/interfaces.js.map +1 -1
- package/lib/internal/template/collection-preferences/styles.css.js +36 -21
- package/lib/internal/template/collection-preferences/styles.scoped.css +326 -22
- package/lib/internal/template/collection-preferences/styles.selectors.js +36 -21
- package/lib/internal/template/collection-preferences/utils.d.ts +1 -1
- package/lib/internal/template/collection-preferences/utils.d.ts.map +1 -1
- package/lib/internal/template/collection-preferences/utils.js +20 -9
- package/lib/internal/template/collection-preferences/utils.js.map +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.js +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
- package/lib/internal/template/expandable-section/styles.css.js +24 -23
- package/lib/internal/template/expandable-section/styles.scoped.css +66 -44
- package/lib/internal/template/expandable-section/styles.selectors.js +24 -23
- package/lib/internal/template/file-upload/file-input/index.d.ts.map +1 -1
- package/lib/internal/template/file-upload/file-input/index.js +2 -1
- package/lib/internal/template/file-upload/file-input/index.js.map +1 -1
- package/lib/internal/template/file-upload/file-input/styles.css.js +4 -3
- package/lib/internal/template/file-upload/file-input/styles.scoped.css +107 -4
- package/lib/internal/template/file-upload/file-input/styles.selectors.js +4 -3
- package/lib/internal/template/internal/components/autosuggest-input/index.js +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
- package/lib/internal/template/internal/components/options-list/utils/test-indexes.d.ts +1 -1
- package/lib/internal/template/internal/components/options-list/utils/test-indexes.d.ts.map +1 -1
- package/lib/internal/template/internal/components/options-list/utils/test-indexes.js.map +1 -1
- package/lib/internal/template/internal/components/token-list/styles.css.js +9 -9
- package/lib/internal/template/internal/components/token-list/styles.scoped.css +22 -21
- package/lib/internal/template/internal/components/token-list/styles.selectors.js +9 -9
- package/lib/internal/template/internal/drag-handle/index.d.ts +9 -0
- package/lib/internal/template/internal/drag-handle/index.d.ts.map +1 -0
- package/lib/internal/template/internal/drag-handle/index.js +13 -0
- package/lib/internal/template/internal/drag-handle/index.js.map +1 -0
- package/lib/internal/template/internal/drag-handle/styles.css.js +6 -0
- package/lib/internal/template/internal/drag-handle/styles.scoped.css +13 -0
- package/lib/internal/template/internal/drag-handle/styles.selectors.js +7 -0
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/handle/index.d.ts +3 -0
- package/lib/internal/template/internal/handle/index.d.ts.map +1 -0
- package/lib/internal/template/internal/handle/index.js +14 -0
- package/lib/internal/template/internal/handle/index.js.map +1 -0
- package/lib/internal/template/internal/handle/styles.css.js +7 -0
- package/lib/internal/template/internal/handle/styles.scoped.css +125 -0
- package/lib/internal/template/internal/handle/styles.selectors.js +8 -0
- package/lib/internal/template/package.json +3 -0
- package/lib/internal/template/table/body-cell/styles.css.js +23 -23
- package/lib/internal/template/table/body-cell/styles.scoped.css +59 -59
- package/lib/internal/template/table/body-cell/styles.selectors.js +23 -23
- package/lib/internal/template/table/interfaces.d.ts +16 -3
- package/lib/internal/template/table/interfaces.d.ts.map +1 -1
- package/lib/internal/template/table/interfaces.js.map +1 -1
- package/lib/internal/template/table/internal.d.ts.map +1 -1
- package/lib/internal/template/table/internal.js +7 -5
- package/lib/internal/template/table/internal.js.map +1 -1
- package/lib/internal/template/table/thead.d.ts.map +1 -1
- package/lib/internal/template/table/thead.js +3 -6
- package/lib/internal/template/table/thead.js.map +1 -1
- package/lib/internal/template/table/utils.d.ts +5 -0
- package/lib/internal/template/table/utils.d.ts.map +1 -1
- package/lib/internal/template/table/utils.js +23 -0
- package/lib/internal/template/table/utils.js.map +1 -1
- package/lib/internal/template/test-utils/dom/collection-preferences/content-display-preference.d.ts +37 -0
- package/lib/internal/template/test-utils/dom/collection-preferences/content-display-preference.js +62 -0
- package/lib/internal/template/test-utils/dom/collection-preferences/content-display-preference.js.map +1 -0
- package/lib/internal/template/test-utils/dom/collection-preferences/index.d.ts +2 -0
- package/lib/internal/template/test-utils/dom/collection-preferences/index.js +4 -0
- package/lib/internal/template/test-utils/dom/collection-preferences/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/collection-preferences/content-display-preference.d.ts +37 -0
- package/lib/internal/template/test-utils/selectors/collection-preferences/content-display-preference.js +62 -0
- package/lib/internal/template/test-utils/selectors/collection-preferences/content-display-preference.js.map +1 -0
- package/lib/internal/template/test-utils/selectors/collection-preferences/index.d.ts +2 -0
- package/lib/internal/template/test-utils/selectors/collection-preferences/index.js +4 -0
- package/lib/internal/template/test-utils/selectors/collection-preferences/index.js.map +1 -1
- package/lib/internal/template/test-utils/tsconfig.tsbuildinfo +1 -1
- package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.d.ts.map +1 -1
- package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.js +5 -4
- package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["internal/components/autosuggest-input/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,OAAO,KAAK,EAAE,EAAO,MAAM,EAAE,QAAQ,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErF,OAAO,QAAQ,MAAM,aAAa,CAAC;AAEnC,OAAO,EAAmC,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACxG,OAAO,EAAsB,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAiB,mBAAmB,EAAE,sBAAsB,EAA6B,MAAM,cAAc,CAAC;AACrH,OAAO,aAAa,MAAM,yBAAyB,CAAC;AAWpD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,IAAI,MAAM,MAAM,CAAC;AAqCxB,MAAM,gBAAgB,GAAG,KAAK,CAAC,UAAU,CACvC,CACE,EAiCwB,EACxB,GAA6B,EAC7B,EAAE;QAnCF,EACE,KAAK,EACL,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,EACT,IAAI,EACJ,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,SAAS,EACT,YAAY,EACZ,yBAAyB,GAAG,KAAK,EACjC,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,cAAc,EACd,gBAAgB,GAAG,IAAI,EACvB,kBAAkB,EAClB,wBAAwB,GAAG,KAAK,EACh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AAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,EAClB,OAAO,EACL,oBAAC,aAAa,kBACZ,IAAI,EAAC,cAAc,EACnB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EACnD,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EACjE,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,yBAAyB,EAAE,yBAAyB,EACpD,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,cAAc,EAC9B,GAAG,EAAE,QAAQ,EACb,YAAY,EAAE,KAAK,EACnB,kBAAkB,EAAE,gBAAgB,IAChC,gBAAgB,EACpB,EAEJ,WAAW,EAAE,uBAAuB,EACpC,IAAI,EAAE,IAAI,EACV,MAAM,EACJ,iBAAiB,IAAI,CACnB,6BAAK,GAAG,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC,IAC9D,cAAc,CACX,CACP,EAEH,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAE,SAAS,IAEnB,IAAI,IAAI,eAAe,CAAC,CAAC,CAAC,CACzB,6BAAK,GAAG,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC,IAChE,eAAe,CACZ,CACP,CAAC,CAAC,CAAC,IAAI,CACC,CACP,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,gBAAgB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { Ref, useRef, useState, useImperativeHandle, useEffect } from 'react';\n\nimport Dropdown from '../dropdown';\n\nimport { FormFieldValidationControlProps, useFormFieldContext } from '../../context/form-field-context';\nimport { BaseComponentProps, getBaseProps } from '../../base-component';\nimport { BaseKeyDetail, fireCancelableEvent, fireNonCancelableEvent, NonCancelableEventHandler } from '../../events';\nimport InternalInput from '../../../input/internal';\nimport {\n BaseChangeDetail,\n BaseInputProps,\n InputAutoCorrect,\n InputClearLabel,\n InputKeyEvents,\n} from '../../../input/interfaces';\nimport { AutosuggestProps } from '../../../autosuggest/interfaces';\nimport { ExpandToViewport } from '../dropdown/interfaces';\nimport { InternalBaseComponentProps } from '../../hooks/use-base-component';\nimport { KeyCode } from '../../keycode';\nimport styles from './styles.css.js';\nimport clsx from 'clsx';\n\nexport interface AutosuggestInputProps\n extends BaseComponentProps,\n BaseInputProps,\n InputAutoCorrect,\n InputKeyEvents,\n InputClearLabel,\n FormFieldValidationControlProps,\n ExpandToViewport,\n InternalBaseComponentProps {\n ariaControls?: string;\n ariaActivedescendant?: string;\n dropdownExpanded?: boolean;\n dropdownContentKey?: string;\n dropdownContentFocusable?: boolean;\n dropdownContent?: React.ReactNode;\n dropdownFooter?: React.ReactNode;\n dropdownWidth?: number;\n loopFocus?: boolean;\n onCloseDropdown?: NonCancelableEventHandler<null>;\n onDelayedInput?: NonCancelableEventHandler<BaseChangeDetail>;\n onPressArrowDown?: () => void;\n onPressArrowUp?: () => void;\n onPressEnter?: () => boolean;\n}\n\nexport interface AutosuggestInputFocusOptions {\n preventDropdown?: boolean;\n}\n\nexport interface AutosuggestInputRef extends AutosuggestProps.Ref {\n focus(options?: AutosuggestInputFocusOptions): void;\n open(): void;\n close(): void;\n}\n\nconst AutosuggestInput = React.forwardRef(\n (\n {\n value,\n onChange,\n onBlur,\n onFocus,\n onKeyUp,\n onKeyDown,\n name,\n placeholder,\n disabled,\n readOnly,\n autoFocus,\n ariaLabel,\n ariaRequired,\n disableBrowserAutocorrect = false,\n expandToViewport,\n ariaControls,\n ariaActivedescendant,\n clearAriaLabel,\n dropdownExpanded = true,\n dropdownContentKey,\n dropdownContentFocusable = false,\n dropdownContent = null,\n dropdownFooter = null,\n dropdownWidth,\n loopFocus,\n onCloseDropdown,\n onDelayedInput,\n onPressArrowDown,\n onPressArrowUp,\n onPressEnter,\n __internalRootRef,\n ...restProps\n }: AutosuggestInputProps,\n ref: Ref<AutosuggestInputRef>\n ) => {\n const baseProps = getBaseProps(restProps);\n const formFieldContext = useFormFieldContext(restProps);\n\n const inputRef = useRef<HTMLInputElement>(null);\n const dropdownContentRef = useRef<HTMLDivElement>(null);\n const dropdownFooterRef = useRef<HTMLDivElement>(null);\n const preventOpenOnFocusRef = useRef(false);\n const preventCloseOnBlurRef = useRef(false);\n\n const [open, setOpen] = useState(false);\n\n const openDropdown = () => !readOnly && setOpen(true);\n\n const closeDropdown = () => {\n setOpen(false);\n fireNonCancelableEvent(onCloseDropdown, null);\n };\n\n useImperativeHandle(ref, () => ({\n focus(options?: AutosuggestInputFocusOptions) {\n if (options?.preventDropdown) {\n preventOpenOnFocusRef.current = true;\n }\n inputRef.current?.focus();\n },\n select() {\n inputRef.current?.select();\n },\n open: openDropdown,\n close: closeDropdown,\n }));\n\n const handleBlur = () => {\n if (!preventCloseOnBlurRef.current) {\n closeDropdown();\n fireNonCancelableEvent(onBlur, null);\n }\n };\n\n const handleFocus = () => {\n if (!preventOpenOnFocusRef.current) {\n openDropdown();\n fireNonCancelableEvent(onFocus, null);\n }\n preventOpenOnFocusRef.current = false;\n };\n\n const handleKeyDown = (e: CustomEvent<BaseKeyDetail>) => {\n switch (e.detail.keyCode) {\n case KeyCode.down: {\n onPressArrowDown?.();\n openDropdown();\n e.preventDefault();\n break;\n }\n case KeyCode.up: {\n onPressArrowUp?.();\n openDropdown();\n e.preventDefault();\n break;\n }\n case KeyCode.enter: {\n if (open) {\n if (!onPressEnter?.()) {\n closeDropdown();\n }\n e.preventDefault();\n }\n fireCancelableEvent(onKeyDown, e.detail);\n break;\n }\n case KeyCode.escape: {\n if (open) {\n closeDropdown();\n } else if (value) {\n fireNonCancelableEvent(onChange, { value: '' });\n }\n e.preventDefault();\n fireCancelableEvent(onKeyDown, e.detail);\n break;\n }\n default: {\n fireCancelableEvent(onKeyDown, e.detail);\n }\n }\n };\n\n const handleChange = (value: string) => {\n openDropdown();\n fireNonCancelableEvent(onChange, { value });\n };\n\n const handleDelayedInput = (value: string) => {\n fireNonCancelableEvent(onDelayedInput, { value });\n };\n\n const handleDropdownMouseDown: React.MouseEventHandler = event => {\n // Prevent currently focused element from losing focus.\n if (!dropdownContentFocusable) {\n event.preventDefault();\n }\n // Prevent closing dropdown on click inside.\n else {\n preventCloseOnBlurRef.current = true;\n requestAnimationFrame(() => {\n preventCloseOnBlurRef.current = false;\n });\n }\n };\n\n const expanded = open && dropdownExpanded;\n const nativeAttributes = {\n name,\n placeholder,\n autoFocus,\n onClick: openDropdown,\n role: 'combobox',\n 'aria-autocomplete': 'list',\n 'aria-expanded': expanded,\n 'aria-controls': open ? ariaControls : undefined,\n // 'aria-owns' needed for safari+vo to announce activedescendant content\n 'aria-owns': open ? ariaControls : undefined,\n 'aria-label': ariaLabel,\n 'aria-activedescendant': ariaActivedescendant,\n };\n\n // Closes dropdown when outside click is detected.\n // Similar to the internal dropdown implementation but includes the target as well.\n useEffect(() => {\n if (!open) {\n return;\n }\n\n const clickListener = (event: MouseEvent) => {\n if (\n !inputRef.current?.contains(event.target as Node) &&\n !dropdownContentRef.current?.contains(event.target as Node) &&\n !dropdownFooterRef.current?.contains(event.target as Node)\n ) {\n closeDropdown();\n }\n };\n\n window.addEventListener('mousedown', clickListener);\n\n return () => {\n window.removeEventListener('mousedown', clickListener);\n };\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [open]);\n\n return (\n <div {...baseProps} className={clsx(baseProps.className, styles.root)} ref={__internalRootRef}>\n <Dropdown\n minWidth={dropdownWidth}\n stretchWidth={!dropdownWidth}\n contentKey={dropdownContentKey}\n onFocus={handleFocus}\n onBlur={handleBlur}\n trigger={\n <InternalInput\n type=\"visualSearch\"\n value={value}\n onChange={event => handleChange(event.detail.value)}\n __onDelayedInput={event => handleDelayedInput(event.detail.value)}\n onKeyDown={handleKeyDown}\n onKeyUp={onKeyUp}\n disabled={disabled}\n disableBrowserAutocorrect={disableBrowserAutocorrect}\n readOnly={readOnly}\n ariaRequired={ariaRequired}\n clearAriaLabel={clearAriaLabel}\n ref={inputRef}\n autoComplete={false}\n __nativeAttributes={nativeAttributes}\n {...formFieldContext}\n />\n }\n onMouseDown={handleDropdownMouseDown}\n open={open}\n footer={\n dropdownFooterRef && (\n <div ref={dropdownFooterRef} className={styles['dropdown-footer']}>\n {dropdownFooter}\n </div>\n )\n }\n expandToViewport={expandToViewport}\n loopFocus={loopFocus}\n >\n {open && dropdownContent ? (\n <div ref={dropdownContentRef} className={styles['dropdown-content']}>\n {dropdownContent}\n </div>\n ) : null}\n </Dropdown>\n </div>\n );\n }\n);\n\nexport default AutosuggestInput;\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["internal/components/autosuggest-input/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,OAAO,KAAK,EAAE,EAAO,MAAM,EAAE,QAAQ,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErF,OAAO,QAAQ,MAAM,aAAa,CAAC;AAEnC,OAAO,EAAmC,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACxG,OAAO,EAAsB,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAiB,mBAAmB,EAAE,sBAAsB,EAA6B,MAAM,cAAc,CAAC;AACrH,OAAO,aAAa,MAAM,yBAAyB,CAAC;AAWpD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,IAAI,MAAM,MAAM,CAAC;AAqCxB,MAAM,gBAAgB,GAAG,KAAK,CAAC,UAAU,CACvC,CACE,EAiCwB,EACxB,GAA6B,EAC7B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B,EAAE,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC,IAChE,eAAe,CACZ,CACP,CAAC,CAAC,CAAC,IAAI,CACC,CACP,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,gBAAgB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { Ref, useRef, useState, useImperativeHandle, useEffect } from 'react';\n\nimport Dropdown from '../dropdown';\n\nimport { FormFieldValidationControlProps, useFormFieldContext } from '../../context/form-field-context';\nimport { BaseComponentProps, getBaseProps } from '../../base-component';\nimport { BaseKeyDetail, fireCancelableEvent, fireNonCancelableEvent, NonCancelableEventHandler } from '../../events';\nimport InternalInput from '../../../input/internal';\nimport {\n BaseChangeDetail,\n BaseInputProps,\n InputAutoCorrect,\n InputClearLabel,\n InputKeyEvents,\n} from '../../../input/interfaces';\nimport { AutosuggestProps } from '../../../autosuggest/interfaces';\nimport { ExpandToViewport } from '../dropdown/interfaces';\nimport { InternalBaseComponentProps } from '../../hooks/use-base-component';\nimport { KeyCode } from '../../keycode';\nimport styles from './styles.css.js';\nimport clsx from 'clsx';\n\nexport interface AutosuggestInputProps\n extends BaseComponentProps,\n BaseInputProps,\n InputAutoCorrect,\n InputKeyEvents,\n InputClearLabel,\n FormFieldValidationControlProps,\n ExpandToViewport,\n InternalBaseComponentProps {\n ariaControls?: string;\n ariaActivedescendant?: string;\n dropdownExpanded?: boolean;\n dropdownContentKey?: string;\n dropdownContentFocusable?: boolean;\n dropdownContent?: React.ReactNode;\n dropdownFooter?: React.ReactNode;\n dropdownWidth?: number;\n loopFocus?: boolean;\n onCloseDropdown?: NonCancelableEventHandler<null>;\n onDelayedInput?: NonCancelableEventHandler<BaseChangeDetail>;\n onPressArrowDown?: () => void;\n onPressArrowUp?: () => void;\n onPressEnter?: () => boolean;\n}\n\nexport interface AutosuggestInputFocusOptions {\n preventDropdown?: boolean;\n}\n\nexport interface AutosuggestInputRef extends AutosuggestProps.Ref {\n focus(options?: AutosuggestInputFocusOptions): void;\n open(): void;\n close(): void;\n}\n\nconst AutosuggestInput = React.forwardRef(\n (\n {\n value,\n onChange,\n onBlur,\n onFocus,\n onKeyUp,\n onKeyDown,\n name,\n placeholder,\n disabled,\n readOnly,\n autoFocus,\n ariaLabel,\n ariaRequired,\n disableBrowserAutocorrect = false,\n expandToViewport,\n ariaControls,\n ariaActivedescendant,\n clearAriaLabel,\n dropdownExpanded = true,\n dropdownContentKey,\n dropdownContentFocusable = false,\n dropdownContent = null,\n dropdownFooter = null,\n dropdownWidth,\n loopFocus,\n onCloseDropdown,\n onDelayedInput,\n onPressArrowDown,\n onPressArrowUp,\n onPressEnter,\n __internalRootRef,\n ...restProps\n }: AutosuggestInputProps,\n ref: Ref<AutosuggestInputRef>\n ) => {\n const baseProps = getBaseProps(restProps);\n const formFieldContext = useFormFieldContext(restProps);\n\n const inputRef = useRef<HTMLInputElement>(null);\n const dropdownContentRef = useRef<HTMLDivElement>(null);\n const dropdownFooterRef = useRef<HTMLDivElement>(null);\n const preventOpenOnFocusRef = useRef(false);\n const preventCloseOnBlurRef = useRef(false);\n\n const [open, setOpen] = useState(false);\n\n const openDropdown = () => !readOnly && setOpen(true);\n\n const closeDropdown = () => {\n setOpen(false);\n fireNonCancelableEvent(onCloseDropdown, null);\n };\n\n useImperativeHandle(ref, () => ({\n focus(options?: AutosuggestInputFocusOptions) {\n if (options?.preventDropdown) {\n preventOpenOnFocusRef.current = true;\n }\n inputRef.current?.focus();\n },\n select() {\n inputRef.current?.select();\n },\n open: openDropdown,\n close: closeDropdown,\n }));\n\n const handleBlur = () => {\n if (!preventCloseOnBlurRef.current) {\n closeDropdown();\n fireNonCancelableEvent(onBlur, null);\n }\n };\n\n const handleFocus = () => {\n if (!preventOpenOnFocusRef.current) {\n openDropdown();\n fireNonCancelableEvent(onFocus, null);\n }\n preventOpenOnFocusRef.current = false;\n };\n\n const handleKeyDown = (e: CustomEvent<BaseKeyDetail>) => {\n switch (e.detail.keyCode) {\n case KeyCode.down: {\n onPressArrowDown?.();\n openDropdown();\n e.preventDefault();\n break;\n }\n case KeyCode.up: {\n onPressArrowUp?.();\n openDropdown();\n e.preventDefault();\n break;\n }\n case KeyCode.enter: {\n if (open) {\n if (!onPressEnter?.()) {\n closeDropdown();\n }\n e.preventDefault();\n }\n fireCancelableEvent(onKeyDown, e.detail);\n break;\n }\n case KeyCode.escape: {\n if (open) {\n closeDropdown();\n } else if (value) {\n fireNonCancelableEvent(onChange, { value: '' });\n }\n e.preventDefault();\n fireCancelableEvent(onKeyDown, e.detail);\n break;\n }\n default: {\n fireCancelableEvent(onKeyDown, e.detail);\n }\n }\n };\n\n const handleChange = (value: string) => {\n openDropdown();\n fireNonCancelableEvent(onChange, { value });\n };\n\n const handleDelayedInput = (value: string) => {\n fireNonCancelableEvent(onDelayedInput, { value });\n };\n\n const handleDropdownMouseDown: React.MouseEventHandler = event => {\n // Prevent currently focused element from losing focus.\n if (!dropdownContentFocusable) {\n event.preventDefault();\n }\n // Prevent closing dropdown on click inside.\n else {\n preventCloseOnBlurRef.current = true;\n requestAnimationFrame(() => {\n preventCloseOnBlurRef.current = false;\n });\n }\n };\n\n const expanded = open && dropdownExpanded;\n const nativeAttributes = {\n name,\n placeholder,\n autoFocus,\n onClick: openDropdown,\n role: 'combobox',\n 'aria-autocomplete': 'list',\n 'aria-expanded': expanded,\n 'aria-controls': open ? ariaControls : undefined,\n // 'aria-owns' needed for safari+vo to announce activedescendant content\n 'aria-owns': open ? ariaControls : undefined,\n 'aria-label': ariaLabel,\n 'aria-activedescendant': ariaActivedescendant,\n };\n\n // Closes dropdown when outside click is detected.\n // Similar to the internal dropdown implementation but includes the target as well.\n useEffect(() => {\n if (!open) {\n return;\n }\n\n const clickListener = (event: MouseEvent) => {\n if (\n !inputRef.current?.contains(event.target as Node) &&\n !dropdownContentRef.current?.contains(event.target as Node) &&\n !dropdownFooterRef.current?.contains(event.target as Node)\n ) {\n closeDropdown();\n }\n };\n\n window.addEventListener('mousedown', clickListener);\n\n return () => {\n window.removeEventListener('mousedown', clickListener);\n };\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [open]);\n\n return (\n <div {...baseProps} className={clsx(baseProps.className, styles.root)} ref={__internalRootRef}>\n <Dropdown\n minWidth={dropdownWidth}\n stretchWidth={!dropdownWidth}\n contentKey={dropdownContentKey}\n onFocus={handleFocus}\n onBlur={handleBlur}\n trigger={\n <InternalInput\n type=\"visualSearch\"\n value={value}\n onChange={event => handleChange(event.detail.value)}\n __onDelayedInput={event => handleDelayedInput(event.detail.value)}\n onKeyDown={handleKeyDown}\n onKeyUp={onKeyUp}\n disabled={disabled}\n disableBrowserAutocorrect={disableBrowserAutocorrect}\n readOnly={readOnly}\n ariaRequired={ariaRequired}\n clearAriaLabel={clearAriaLabel}\n ref={inputRef}\n autoComplete={false}\n __nativeAttributes={nativeAttributes}\n {...formFieldContext}\n />\n }\n onMouseDown={handleDropdownMouseDown}\n open={open && !!dropdownContent}\n footer={\n dropdownFooterRef && (\n <div ref={dropdownFooterRef} className={styles['dropdown-footer']}>\n {dropdownFooter}\n </div>\n )\n }\n expandToViewport={expandToViewport}\n loopFocus={loopFocus}\n >\n {open && dropdownContent ? (\n <div ref={dropdownContentRef} className={styles['dropdown-content']}>\n {dropdownContent}\n </div>\n ) : null}\n </Dropdown>\n </div>\n );\n }\n);\n\nexport default AutosuggestInput;\n"]}
|
|
@@ -7,6 +7,6 @@ interface TestIndexes {
|
|
|
7
7
|
inGroupIndex?: number;
|
|
8
8
|
}
|
|
9
9
|
export declare const getTestOptionIndexes: <T extends ListItem>(item: T) => TestIndexes | undefined;
|
|
10
|
-
export declare const generateTestIndexes: <T extends ListItem>(filteredItems: readonly T[], getParentGroup: (item: T) =>
|
|
10
|
+
export declare const generateTestIndexes: <T extends ListItem, Group extends object>(filteredItems: readonly T[], getParentGroup: (item: T) => Group | undefined) => void;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=test-indexes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-indexes.d.ts","sourceRoot":"lib/default/","sources":["internal/components/options-list/utils/test-indexes.ts"],"names":[],"mappings":"AAEA,UAAU,QAAQ;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,UAAU,WAAW;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAGD,eAAO,MAAM,oBAAoB,0DAA0D,CAAC;AAC5F,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"test-indexes.d.ts","sourceRoot":"lib/default/","sources":["internal/components/options-list/utils/test-indexes.ts"],"names":[],"mappings":"AAEA,UAAU,QAAQ;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,UAAU,WAAW;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAGD,eAAO,MAAM,oBAAoB,0DAA0D,CAAC;AAC5F,eAAO,MAAM,mBAAmB,iIA0B/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-indexes.js","sourceRoot":"lib/default/","sources":["internal/components/options-list/utils/test-indexes.ts"],"names":[],"mappings":"AAUA,MAAM,YAAY,GAAG,IAAI,OAAO,EAAyB,CAAC;AAC1D,8FAA8F;AAC9F,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAqB,IAAO,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAC5F,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,aAA+B,EAC/B,
|
|
1
|
+
{"version":3,"file":"test-indexes.js","sourceRoot":"lib/default/","sources":["internal/components/options-list/utils/test-indexes.ts"],"names":[],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// SPDX-License-Identifier: Apache-2.0\ninterface ListItem {\n type?: string;\n}\ninterface TestIndexes {\n throughIndex?: number;\n groupIndex?: number;\n inGroupIndex?: number;\n}\nconst testIndexMap = new WeakMap<ListItem, TestIndexes>();\n//retrieves the test indexes of the option for the findOption and findOptionInGroup test-utils\nexport const getTestOptionIndexes = <T extends ListItem>(item: T) => testIndexMap.get(item);\nexport const generateTestIndexes = <T extends ListItem, Group extends object>(\n filteredItems: ReadonlyArray<T>,\n getParentGroup: (item: T) => Group | undefined\n) => {\n let throughIndex = 1;\n let groupIndex = 0;\n let inGroupIndex = 1;\n let currentGroup: Group | null = null;\n filteredItems.forEach(item => {\n if (!('type' in item)) {\n testIndexMap.set(item, { throughIndex: throughIndex++ });\n } else if (item.type === 'child') {\n const parentGroup = getParentGroup(item);\n if (parentGroup && parentGroup !== currentGroup) {\n currentGroup = parentGroup;\n inGroupIndex = 1;\n testIndexMap.set(item, {\n throughIndex: throughIndex++,\n groupIndex: ++groupIndex,\n inGroupIndex: inGroupIndex++,\n });\n } else {\n testIndexMap.set(item, { throughIndex: throughIndex++, groupIndex, inGroupIndex: inGroupIndex++ });\n }\n }\n });\n};\n"]}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"horizontal": "
|
|
6
|
-
"vertical": "
|
|
7
|
-
"list": "
|
|
8
|
-
"list-item": "awsui_list-
|
|
9
|
-
"toggle-container-inline": "awsui_toggle-container-
|
|
10
|
-
"toggle": "
|
|
11
|
-
"description": "
|
|
12
|
-
"separator": "
|
|
4
|
+
"root": "awsui_root_gfwv3_66zu1_93",
|
|
5
|
+
"horizontal": "awsui_horizontal_gfwv3_66zu1_98",
|
|
6
|
+
"vertical": "awsui_vertical_gfwv3_66zu1_102",
|
|
7
|
+
"list": "awsui_list_gfwv3_66zu1_106",
|
|
8
|
+
"list-item": "awsui_list-item_gfwv3_66zu1_124",
|
|
9
|
+
"toggle-container-inline": "awsui_toggle-container-inline_gfwv3_66zu1_129",
|
|
10
|
+
"toggle": "awsui_toggle_gfwv3_66zu1_129",
|
|
11
|
+
"description": "awsui_description_gfwv3_66zu1_197",
|
|
12
|
+
"separator": "awsui_separator_gfwv3_66zu1_201"
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -90,48 +90,49 @@ 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_root_gfwv3_66zu1_93:not(#\9) {
|
|
94
94
|
display: flex;
|
|
95
95
|
flex-wrap: wrap;
|
|
96
96
|
gap: var(--space-scaled-xs-6859qs, 8px);
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.awsui_root_gfwv3_66zu1_93.awsui_horizontal_gfwv3_66zu1_98:not(#\9) {
|
|
99
99
|
gap: var(--space-xs-rsr2qu, 8px);
|
|
100
100
|
flex-direction: row;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
.awsui_root_gfwv3_66zu1_93.awsui_vertical_gfwv3_66zu1_102:not(#\9) {
|
|
103
103
|
flex-direction: column;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.
|
|
106
|
+
.awsui_list_gfwv3_66zu1_106:not(#\9) {
|
|
107
107
|
display: contents;
|
|
108
108
|
list-style: none;
|
|
109
109
|
padding: 0;
|
|
110
110
|
margin: 0;
|
|
111
111
|
}
|
|
112
|
-
.
|
|
112
|
+
.awsui_list_gfwv3_66zu1_106.awsui_horizontal_gfwv3_66zu1_98:not(#\9), .awsui_list_gfwv3_66zu1_106.awsui_vertical_gfwv3_66zu1_102:not(#\9) {
|
|
113
113
|
display: flex;
|
|
114
114
|
flex-wrap: wrap;
|
|
115
115
|
gap: var(--space-xs-rsr2qu, 8px);
|
|
116
116
|
}
|
|
117
|
-
.
|
|
117
|
+
.awsui_list_gfwv3_66zu1_106.awsui_horizontal_gfwv3_66zu1_98:not(#\9) {
|
|
118
118
|
flex-direction: row;
|
|
119
119
|
}
|
|
120
|
-
.
|
|
120
|
+
.awsui_list_gfwv3_66zu1_106.awsui_vertical_gfwv3_66zu1_102:not(#\9) {
|
|
121
121
|
flex-direction: column;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.awsui_list-
|
|
125
|
-
|
|
124
|
+
.awsui_list-item_gfwv3_66zu1_124:not(#\9) {
|
|
125
|
+
padding: 0;
|
|
126
|
+
margin: 0;
|
|
126
127
|
}
|
|
127
128
|
|
|
128
|
-
.awsui_toggle-container-
|
|
129
|
+
.awsui_toggle-container-inline_gfwv3_66zu1_129:not(#\9) {
|
|
129
130
|
padding-left: var(--space-xs-rsr2qu, 8px);
|
|
130
131
|
display: flex;
|
|
131
132
|
align-items: center;
|
|
132
133
|
}
|
|
133
134
|
|
|
134
|
-
.
|
|
135
|
+
.awsui_toggle_gfwv3_66zu1_129:not(#\9) {
|
|
135
136
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
136
137
|
border-collapse: separate;
|
|
137
138
|
border-spacing: 0;
|
|
@@ -186,46 +187,46 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
186
187
|
margin-left: -1px;
|
|
187
188
|
}
|
|
188
189
|
@media (prefers-reduced-motion: reduce) {
|
|
189
|
-
.
|
|
190
|
+
.awsui_toggle_gfwv3_66zu1_129:not(#\9) {
|
|
190
191
|
animation: none;
|
|
191
192
|
transition: none;
|
|
192
193
|
}
|
|
193
194
|
}
|
|
194
|
-
.awsui-motion-disabled .
|
|
195
|
+
.awsui-motion-disabled .awsui_toggle_gfwv3_66zu1_129:not(#\9), .awsui-mode-entering .awsui_toggle_gfwv3_66zu1_129:not(#\9) {
|
|
195
196
|
animation: none;
|
|
196
197
|
transition: none;
|
|
197
198
|
}
|
|
198
|
-
.
|
|
199
|
+
.awsui_toggle_gfwv3_66zu1_129:not(#\9):hover {
|
|
199
200
|
cursor: pointer;
|
|
200
201
|
color: var(--color-text-link-hover-ok01xk, #0073bb);
|
|
201
202
|
}
|
|
202
|
-
.
|
|
203
|
+
.awsui_toggle_gfwv3_66zu1_129:not(#\9):focus {
|
|
203
204
|
outline: none;
|
|
204
205
|
}
|
|
205
|
-
.
|
|
206
|
+
.awsui_toggle_gfwv3_66zu1_129:not(#\9):active {
|
|
206
207
|
color: var(--color-text-link-hover-ok01xk, #0073bb);
|
|
207
208
|
}
|
|
208
|
-
.
|
|
209
|
+
.awsui_toggle_gfwv3_66zu1_129:not(#\9):active, .awsui_toggle_gfwv3_66zu1_129:not(#\9):focus, .awsui_toggle_gfwv3_66zu1_129:not(#\9):hover {
|
|
209
210
|
text-decoration: underline;
|
|
210
211
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
211
212
|
text-decoration-color: currentColor;
|
|
212
213
|
}
|
|
213
|
-
.
|
|
214
|
+
.awsui_toggle_gfwv3_66zu1_129:not(#\9):active, .awsui_toggle_gfwv3_66zu1_129:not(#\9):focus, .awsui_toggle_gfwv3_66zu1_129:not(#\9):hover {
|
|
214
215
|
text-decoration: none;
|
|
215
216
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
216
217
|
text-decoration-color: transparent;
|
|
217
218
|
}
|
|
218
|
-
body[data-awsui-focus-visible=true] .
|
|
219
|
+
body[data-awsui-focus-visible=true] .awsui_toggle_gfwv3_66zu1_129:not(#\9):focus {
|
|
219
220
|
outline: 2px dotted transparent;
|
|
220
221
|
border: var(--border-field-width-y6x4sn, 1px) solid var(--color-border-item-focused-n5kd8g, #0073bb);
|
|
221
222
|
border-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
|
|
222
223
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-glnuoy, 1px) var(--color-border-item-focused-n5kd8g, #0073bb);
|
|
223
224
|
}
|
|
224
|
-
.
|
|
225
|
+
.awsui_toggle_gfwv3_66zu1_129 > .awsui_description_gfwv3_66zu1_197:not(#\9) {
|
|
225
226
|
margin-left: var(--space-xxs-ynfts5, 4px);
|
|
226
227
|
}
|
|
227
228
|
|
|
228
|
-
.
|
|
229
|
+
.awsui_separator_gfwv3_66zu1_201:not(#\9) {
|
|
229
230
|
margin: 0px var(--space-scaled-m-pv0fmt, 16px);
|
|
230
231
|
width: var(--border-divider-section-width-5a4cv1, 1px);
|
|
231
232
|
background-color: var(--color-border-divider-default-k96bks, #eaeded);
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"horizontal": "
|
|
7
|
-
"vertical": "
|
|
8
|
-
"list": "
|
|
9
|
-
"list-item": "awsui_list-
|
|
10
|
-
"toggle-container-inline": "awsui_toggle-container-
|
|
11
|
-
"toggle": "
|
|
12
|
-
"description": "
|
|
13
|
-
"separator": "
|
|
5
|
+
"root": "awsui_root_gfwv3_66zu1_93",
|
|
6
|
+
"horizontal": "awsui_horizontal_gfwv3_66zu1_98",
|
|
7
|
+
"vertical": "awsui_vertical_gfwv3_66zu1_102",
|
|
8
|
+
"list": "awsui_list_gfwv3_66zu1_106",
|
|
9
|
+
"list-item": "awsui_list-item_gfwv3_66zu1_124",
|
|
10
|
+
"toggle-container-inline": "awsui_toggle-container-inline_gfwv3_66zu1_129",
|
|
11
|
+
"toggle": "awsui_toggle_gfwv3_66zu1_129",
|
|
12
|
+
"description": "awsui_description_gfwv3_66zu1_197",
|
|
13
|
+
"separator": "awsui_separator_gfwv3_66zu1_201"
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities';
|
|
3
|
+
export interface DragHandleProps {
|
|
4
|
+
attributes: ButtonHTMLAttributes<HTMLDivElement>;
|
|
5
|
+
hideFocus?: boolean;
|
|
6
|
+
listeners?: SyntheticListenerMap;
|
|
7
|
+
}
|
|
8
|
+
export default function DragHandle({ attributes, hideFocus, listeners }: DragHandleProps): JSX.Element;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["internal/drag-handle/index.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAMpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAG1E,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,oBAAoB,CAAC;CAClC;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,eAAe,eAMvF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import Handle from '../handle';
|
|
5
|
+
import InternalIcon from '../../icon/internal';
|
|
6
|
+
import styles from './styles.css.js';
|
|
7
|
+
import handleStyles from '../handle/styles.css.js';
|
|
8
|
+
import clsx from 'clsx';
|
|
9
|
+
export default function DragHandle({ attributes, hideFocus, listeners }) {
|
|
10
|
+
return (React.createElement(Handle, Object.assign({ className: clsx(styles.handle, hideFocus && handleStyles['hide-focus']) }, attributes, listeners),
|
|
11
|
+
React.createElement(InternalIcon, { name: "drag-indicator" })));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["internal/drag-handle/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAC/C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,OAAO,IAAI,MAAM,MAAM,CAAC;AAQxB,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAmB;IACtF,OAAO,CACL,oBAAC,MAAM,kBAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,IAAI,YAAY,CAAC,YAAY,CAAC,CAAC,IAAM,UAAU,EAAM,SAAS;QAC5G,oBAAC,YAAY,IAAC,IAAI,EAAC,gBAAgB,GAAG,CAC/B,CACV,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { ButtonHTMLAttributes } from 'react';\n\nimport Handle from '../handle';\nimport InternalIcon from '../../icon/internal';\nimport styles from './styles.css.js';\nimport handleStyles from '../handle/styles.css.js';\nimport { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities';\nimport clsx from 'clsx';\n\nexport interface DragHandleProps {\n attributes: ButtonHTMLAttributes<HTMLDivElement>;\n hideFocus?: boolean;\n listeners?: SyntheticListenerMap;\n}\n\nexport default function DragHandle({ attributes, hideFocus, listeners }: DragHandleProps) {\n return (\n <Handle className={clsx(styles.handle, hideFocus && handleStyles['hide-focus'])} {...attributes} {...listeners}>\n <InternalIcon name=\"drag-indicator\" />\n </Handle>\n );\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
.awsui_handle_umbhe_1v8zk_5:not(#\9) {
|
|
6
|
+
cursor: grab;
|
|
7
|
+
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
8
|
+
touch-action: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.awsui_handle_umbhe_1v8zk_5:not(#\9):active {
|
|
12
|
+
cursor: grabbing;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["internal/handle/index.tsx"],"names":[],"mappings":"AAGA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG9C,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,cAAc,CAAC,cAAc,CAAC,eAgBnE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import styles from './styles.css.js';
|
|
6
|
+
export default function Handle(props) {
|
|
7
|
+
// We need to use a div with button role instead of a button
|
|
8
|
+
// so that Safari will focus on it when clicking it.
|
|
9
|
+
// (See https://bugs.webkit.org/show_bug.cgi?id=22261)
|
|
10
|
+
// Otherwise, we can't reliably catch keyboard events coming from the handle
|
|
11
|
+
// when it is being dragged.
|
|
12
|
+
return (React.createElement("div", Object.assign({ role: "button", tabIndex: 0 }, props, { onPointerDown: props.onPointerDown, className: clsx(styles.handle, props.className) })));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["internal/handle/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAyB,MAAM,OAAO,CAAC;AAC9C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAqC;IAClE,4DAA4D;IAC5D,oDAAoD;IACpD,sDAAsD;IACtD,4EAA4E;IAC5E,4BAA4B;IAE5B,OAAO,CACL,2CACE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,IACP,KAAK,IACT,aAAa,EAAE,KAAK,CAAC,aAAa,EAClC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,IAC/C,CACH,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React, { HTMLAttributes } from 'react';\nimport styles from './styles.css.js';\n\nexport default function Handle(props: HTMLAttributes<HTMLDivElement>) {\n // We need to use a div with button role instead of a button\n // so that Safari will focus on it when clicking it.\n // (See https://bugs.webkit.org/show_bug.cgi?id=22261)\n // Otherwise, we can't reliably catch keyboard events coming from the handle\n // when it is being dragged.\n\n return (\n <div\n role=\"button\"\n tabIndex={0}\n {...props}\n onPointerDown={props.onPointerDown}\n className={clsx(styles.handle, props.className)}\n />\n );\n}\n"]}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
/*
|
|
6
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
7
|
+
SPDX-License-Identifier: Apache-2.0
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
11
|
+
SPDX-License-Identifier: Apache-2.0
|
|
12
|
+
*/
|
|
13
|
+
/*
|
|
14
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
15
|
+
SPDX-License-Identifier: Apache-2.0
|
|
16
|
+
*/
|
|
17
|
+
/*
|
|
18
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
19
|
+
SPDX-License-Identifier: Apache-2.0
|
|
20
|
+
*/
|
|
21
|
+
/*
|
|
22
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
23
|
+
SPDX-License-Identifier: Apache-2.0
|
|
24
|
+
*/
|
|
25
|
+
/*
|
|
26
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
27
|
+
SPDX-License-Identifier: Apache-2.0
|
|
28
|
+
*/
|
|
29
|
+
/*
|
|
30
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
31
|
+
SPDX-License-Identifier: Apache-2.0
|
|
32
|
+
*/
|
|
33
|
+
/*
|
|
34
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
35
|
+
SPDX-License-Identifier: Apache-2.0
|
|
36
|
+
*/
|
|
37
|
+
/*
|
|
38
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
39
|
+
SPDX-License-Identifier: Apache-2.0
|
|
40
|
+
*/
|
|
41
|
+
/*
|
|
42
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
43
|
+
SPDX-License-Identifier: Apache-2.0
|
|
44
|
+
*/
|
|
45
|
+
/*
|
|
46
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
47
|
+
SPDX-License-Identifier: Apache-2.0
|
|
48
|
+
*/
|
|
49
|
+
/*
|
|
50
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
51
|
+
SPDX-License-Identifier: Apache-2.0
|
|
52
|
+
*/
|
|
53
|
+
/*
|
|
54
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
55
|
+
SPDX-License-Identifier: Apache-2.0
|
|
56
|
+
*/
|
|
57
|
+
/*
|
|
58
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
59
|
+
SPDX-License-Identifier: Apache-2.0
|
|
60
|
+
*/
|
|
61
|
+
/*
|
|
62
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
63
|
+
SPDX-License-Identifier: Apache-2.0
|
|
64
|
+
*/
|
|
65
|
+
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
66
|
+
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
67
|
+
/*
|
|
68
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
69
|
+
SPDX-License-Identifier: Apache-2.0
|
|
70
|
+
*/
|
|
71
|
+
/*
|
|
72
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
73
|
+
SPDX-License-Identifier: Apache-2.0
|
|
74
|
+
*/
|
|
75
|
+
/*
|
|
76
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
77
|
+
SPDX-License-Identifier: Apache-2.0
|
|
78
|
+
*/
|
|
79
|
+
/*
|
|
80
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
81
|
+
SPDX-License-Identifier: Apache-2.0
|
|
82
|
+
*/
|
|
83
|
+
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
84
|
+
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
85
|
+
/*
|
|
86
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
87
|
+
SPDX-License-Identifier: Apache-2.0
|
|
88
|
+
*/
|
|
89
|
+
/*
|
|
90
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
|
+
SPDX-License-Identifier: Apache-2.0
|
|
92
|
+
*/
|
|
93
|
+
.awsui_handle_cc1pu_ype5d_93:not(#\9) {
|
|
94
|
+
-webkit-appearance: none;
|
|
95
|
+
appearance: none;
|
|
96
|
+
background: transparent;
|
|
97
|
+
border: none;
|
|
98
|
+
padding: 0 var(--space-scaled-xxxs-lo883m, 2px);
|
|
99
|
+
margin: 0 var(--space-scaled-xxs-95dhkm, 4px);
|
|
100
|
+
color: var(--color-text-interactive-default-9me1cm, #545b64);
|
|
101
|
+
}
|
|
102
|
+
.awsui_handle_cc1pu_ype5d_93:not(#\9):hover {
|
|
103
|
+
color: var(--color-text-interactive-hover-79wpl9, #16191f);
|
|
104
|
+
}
|
|
105
|
+
body[data-awsui-focus-visible=true] .awsui_handle_cc1pu_ype5d_93:not(#\9):focus:not(.awsui_hide-focus_cc1pu_ype5d_104) {
|
|
106
|
+
position: relative;
|
|
107
|
+
}
|
|
108
|
+
body[data-awsui-focus-visible=true] .awsui_handle_cc1pu_ype5d_93:not(#\9):focus:not(.awsui_hide-focus_cc1pu_ype5d_104) {
|
|
109
|
+
outline: 2px dotted transparent;
|
|
110
|
+
outline-offset: calc(0px - 1px);
|
|
111
|
+
}
|
|
112
|
+
body[data-awsui-focus-visible=true] .awsui_handle_cc1pu_ype5d_93:not(#\9):focus:not(.awsui_hide-focus_cc1pu_ype5d_104)::before {
|
|
113
|
+
content: " ";
|
|
114
|
+
display: block;
|
|
115
|
+
position: absolute;
|
|
116
|
+
left: calc(-1 * 0px);
|
|
117
|
+
top: calc(-1 * 0px);
|
|
118
|
+
width: calc(100% + 2 * 0px);
|
|
119
|
+
height: calc(100% + 2 * 0px);
|
|
120
|
+
border-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
|
|
121
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-n5kd8g, #0073bb);
|
|
122
|
+
}
|
|
123
|
+
body[data-awsui-focus-visible=true] .awsui_handle_cc1pu_ype5d_93:not(#\9):focus.awsui_hide-focus_cc1pu_ype5d_104 {
|
|
124
|
+
outline: none;
|
|
125
|
+
}
|
|
@@ -123,6 +123,9 @@
|
|
|
123
123
|
"@cloudscape-design/component-toolkit": "^1.0.0-beta",
|
|
124
124
|
"@cloudscape-design/test-utils-core": "^1.0.0",
|
|
125
125
|
"@cloudscape-design/theming-runtime": "^1.0.0",
|
|
126
|
+
"@dnd-kit/core": "^6.0.8",
|
|
127
|
+
"@dnd-kit/sortable": "^7.0.2",
|
|
128
|
+
"@dnd-kit/utilities": "^3.2.1",
|
|
126
129
|
"@juggle/resize-observer": "^3.3.1",
|
|
127
130
|
"ace-builds": "^1.4.13",
|
|
128
131
|
"balanced-match": "^1.0.2",
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"body-cell": "awsui_body-
|
|
5
|
-
"body-cell-wrap": "awsui_body-cell-
|
|
6
|
-
"is-visual-refresh": "awsui_is-visual-
|
|
7
|
-
"has-striped-rows": "awsui_has-striped-
|
|
8
|
-
"body-cell-edit-active": "awsui_body-cell-edit-
|
|
9
|
-
"body-cell-editable": "awsui_body-cell-
|
|
10
|
-
"has-selection": "awsui_has-
|
|
11
|
-
"body-cell-first-row": "awsui_body-cell-first-
|
|
12
|
-
"body-cell-last-row": "awsui_body-cell-last-
|
|
13
|
-
"body-cell-selected": "awsui_body-cell-
|
|
14
|
-
"has-footer": "awsui_has-
|
|
15
|
-
"body-cell-shaded": "awsui_body-cell-
|
|
16
|
-
"body-cell-next-selected": "awsui_body-cell-next-
|
|
17
|
-
"body-cell-prev-selected": "awsui_body-cell-prev-
|
|
18
|
-
"body-cell-success": "awsui_body-cell-
|
|
19
|
-
"body-cell-editor": "awsui_body-cell-
|
|
20
|
-
"body-cell-success-form": "awsui_body-cell-success-
|
|
21
|
-
"body-cell-editor-form": "awsui_body-cell-editor-
|
|
22
|
-
"body-cell-success-row": "awsui_body-cell-success-
|
|
23
|
-
"body-cell-editor-row": "awsui_body-cell-editor-
|
|
24
|
-
"body-cell-success-controls": "awsui_body-cell-success-
|
|
25
|
-
"body-cell-editor-controls": "awsui_body-cell-editor-
|
|
26
|
-
"body-cell-has-success": "awsui_body-cell-has-
|
|
4
|
+
"body-cell": "awsui_body-cell_c6tup_1n1j7_93",
|
|
5
|
+
"body-cell-wrap": "awsui_body-cell-wrap_c6tup_1n1j7_102",
|
|
6
|
+
"is-visual-refresh": "awsui_is-visual-refresh_c6tup_1n1j7_114",
|
|
7
|
+
"has-striped-rows": "awsui_has-striped-rows_c6tup_1n1j7_126",
|
|
8
|
+
"body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_1n1j7_129",
|
|
9
|
+
"body-cell-editable": "awsui_body-cell-editable_c6tup_1n1j7_129",
|
|
10
|
+
"has-selection": "awsui_has-selection_c6tup_1n1j7_135",
|
|
11
|
+
"body-cell-first-row": "awsui_body-cell-first-row_c6tup_1n1j7_141",
|
|
12
|
+
"body-cell-last-row": "awsui_body-cell-last-row_c6tup_1n1j7_144",
|
|
13
|
+
"body-cell-selected": "awsui_body-cell-selected_c6tup_1n1j7_144",
|
|
14
|
+
"has-footer": "awsui_has-footer_c6tup_1n1j7_144",
|
|
15
|
+
"body-cell-shaded": "awsui_body-cell-shaded_c6tup_1n1j7_154",
|
|
16
|
+
"body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_1n1j7_176",
|
|
17
|
+
"body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_1n1j7_180",
|
|
18
|
+
"body-cell-success": "awsui_body-cell-success_c6tup_1n1j7_204",
|
|
19
|
+
"body-cell-editor": "awsui_body-cell-editor_c6tup_1n1j7_204",
|
|
20
|
+
"body-cell-success-form": "awsui_body-cell-success-form_c6tup_1n1j7_226",
|
|
21
|
+
"body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_1n1j7_226",
|
|
22
|
+
"body-cell-success-row": "awsui_body-cell-success-row_c6tup_1n1j7_235",
|
|
23
|
+
"body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_1n1j7_235",
|
|
24
|
+
"body-cell-success-controls": "awsui_body-cell-success-controls_c6tup_1n1j7_245",
|
|
25
|
+
"body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_1n1j7_245",
|
|
26
|
+
"body-cell-has-success": "awsui_body-cell-has-success_c6tup_1n1j7_258"
|
|
27
27
|
};
|
|
28
28
|
|