@cloudscape-design/components 3.0.256 → 3.0.258
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/app-layout/visual-refresh/styles.css.js +71 -71
- package/app-layout/visual-refresh/styles.scoped.css +183 -182
- package/app-layout/visual-refresh/styles.selectors.js +71 -71
- package/internal/environment.js +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/table/body-cell/index.js +1 -1
- package/table/body-cell/index.js.map +1 -1
- package/table/body-cell/inline-editor.js +1 -1
- package/table/body-cell/inline-editor.js.map +1 -1
- package/table/body-cell/styles.css.js +18 -18
- package/table/body-cell/styles.scoped.css +70 -70
- package/table/body-cell/styles.selectors.js +18 -18
- package/table/interfaces.d.ts +2 -2
- package/table/interfaces.d.ts.map +1 -1
- package/table/interfaces.js.map +1 -1
|
@@ -2,76 +2,76 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"appbar": "
|
|
6
|
-
"appbar-nav": "awsui_appbar-
|
|
7
|
-
"breadcrumbs": "
|
|
8
|
-
"appbar-tools": "awsui_appbar-
|
|
9
|
-
"drawers-mobile-triggers-container": "awsui_drawers-mobile-triggers-
|
|
10
|
-
"has-breadcrumbs": "awsui_has-
|
|
11
|
-
"has-notifications-content": "awsui_has-notifications-
|
|
12
|
-
"has-header": "awsui_has-
|
|
13
|
-
"has-dynamic-overlap-height": "awsui_has-dynamic-overlap-
|
|
14
|
-
"content-type-wizard": "awsui_content-type-
|
|
15
|
-
"content-type-cards": "awsui_content-type-
|
|
16
|
-
"content-type-table": "awsui_content-type-
|
|
17
|
-
"has-sticky-background": "awsui_has-sticky-
|
|
18
|
-
"background": "
|
|
19
|
-
"notifications-appbar-header": "awsui_notifications-appbar-
|
|
20
|
-
"sticky-notifications": "awsui_sticky-
|
|
21
|
-
"overlap": "
|
|
22
|
-
"drawers-container": "awsui_drawers-
|
|
23
|
-
"has-open-drawer": "awsui_has-open-
|
|
24
|
-
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-
|
|
25
|
-
"has-multiple-triggers": "awsui_has-multiple-
|
|
26
|
-
"drawers-trigger-content": "awsui_drawers-trigger-
|
|
27
|
-
"drawer": "
|
|
28
|
-
"drawer-close-button": "awsui_drawer-close-
|
|
29
|
-
"drawer-content": "awsui_drawer-
|
|
30
|
-
"is-drawer-open": "awsui_is-drawer-
|
|
31
|
-
"content": "
|
|
32
|
-
"layout": "
|
|
33
|
-
"has-max-content-width": "awsui_has-max-content-
|
|
34
|
-
"content-type-dashboard": "awsui_content-type-
|
|
35
|
-
"is-overlap-disabled": "awsui_is-overlap-
|
|
36
|
-
"disable-body-scroll": "awsui_disable-body-
|
|
37
|
-
"has-sticky-notifications": "awsui_has-sticky-
|
|
38
|
-
"has-split-panel": "awsui_has-split-
|
|
39
|
-
"split-panel-position-bottom": "awsui_split-panel-position-
|
|
40
|
-
"has-content-gap-left": "awsui_has-content-gap-
|
|
41
|
-
"has-content-gap-right": "awsui_has-content-gap-
|
|
42
|
-
"block-body-scroll": "awsui_block-body-
|
|
43
|
-
"container": "
|
|
44
|
-
"disable-content-paddings": "awsui_disable-content-
|
|
45
|
-
"is-navigation-open": "awsui_is-navigation-
|
|
46
|
-
"is-tools-open": "awsui_is-tools-
|
|
47
|
-
"is-split-panel-open": "awsui_is-split-panel-
|
|
48
|
-
"split-panel-position-side": "awsui_split-panel-position-
|
|
49
|
-
"content-type-default": "awsui_content-type-
|
|
50
|
-
"content-type-form": "awsui_content-type-
|
|
51
|
-
"unfocusable": "
|
|
52
|
-
"navigation-container": "awsui_navigation-
|
|
53
|
-
"show-navigation": "awsui_show-
|
|
54
|
-
"animating": "
|
|
55
|
-
"showButtons": "
|
|
56
|
-
"navigation": "
|
|
57
|
-
"openNavigation": "
|
|
58
|
-
"animated-content": "awsui_animated-
|
|
59
|
-
"hide-navigation": "awsui_hide-
|
|
60
|
-
"notifications": "
|
|
61
|
-
"split-panel-bottom": "awsui_split-panel-
|
|
62
|
-
"position-bottom": "awsui_position-
|
|
63
|
-
"openSplitPanelBottom": "
|
|
64
|
-
"split-panel-side": "awsui_split-panel-
|
|
65
|
-
"position-side": "awsui_position-
|
|
66
|
-
"openSplitPanelSide": "
|
|
67
|
-
"tools-container": "awsui_tools-
|
|
68
|
-
"tools": "
|
|
69
|
-
"openTools": "
|
|
70
|
-
"has-tools-form-persistence": "awsui_has-tools-form-
|
|
71
|
-
"hide-tools": "awsui_hide-
|
|
72
|
-
"show-tools": "awsui_show-
|
|
73
|
-
"has-tools-form": "awsui_has-tools-
|
|
74
|
-
"trigger": "
|
|
75
|
-
"selected": "
|
|
5
|
+
"appbar": "awsui_appbar_hyvsj_1xn3c_93",
|
|
6
|
+
"appbar-nav": "awsui_appbar-nav_hyvsj_1xn3c_117",
|
|
7
|
+
"breadcrumbs": "awsui_breadcrumbs_hyvsj_1xn3c_121",
|
|
8
|
+
"appbar-tools": "awsui_appbar-tools_hyvsj_1xn3c_125",
|
|
9
|
+
"drawers-mobile-triggers-container": "awsui_drawers-mobile-triggers-container_hyvsj_1xn3c_126",
|
|
10
|
+
"has-breadcrumbs": "awsui_has-breadcrumbs_hyvsj_1xn3c_167",
|
|
11
|
+
"has-notifications-content": "awsui_has-notifications-content_hyvsj_1xn3c_175",
|
|
12
|
+
"has-header": "awsui_has-header_hyvsj_1xn3c_181",
|
|
13
|
+
"has-dynamic-overlap-height": "awsui_has-dynamic-overlap-height_hyvsj_1xn3c_181",
|
|
14
|
+
"content-type-wizard": "awsui_content-type-wizard_hyvsj_1xn3c_182",
|
|
15
|
+
"content-type-cards": "awsui_content-type-cards_hyvsj_1xn3c_185",
|
|
16
|
+
"content-type-table": "awsui_content-type-table_hyvsj_1xn3c_186",
|
|
17
|
+
"has-sticky-background": "awsui_has-sticky-background_hyvsj_1xn3c_189",
|
|
18
|
+
"background": "awsui_background_hyvsj_1xn3c_224",
|
|
19
|
+
"notifications-appbar-header": "awsui_notifications-appbar-header_hyvsj_1xn3c_227",
|
|
20
|
+
"sticky-notifications": "awsui_sticky-notifications_hyvsj_1xn3c_240",
|
|
21
|
+
"overlap": "awsui_overlap_hyvsj_1xn3c_246",
|
|
22
|
+
"drawers-container": "awsui_drawers-container_hyvsj_1xn3c_270",
|
|
23
|
+
"has-open-drawer": "awsui_has-open-drawer_hyvsj_1xn3c_282",
|
|
24
|
+
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-container_hyvsj_1xn3c_312",
|
|
25
|
+
"has-multiple-triggers": "awsui_has-multiple-triggers_hyvsj_1xn3c_330",
|
|
26
|
+
"drawers-trigger-content": "awsui_drawers-trigger-content_hyvsj_1xn3c_362",
|
|
27
|
+
"drawer": "awsui_drawer_hyvsj_1xn3c_126",
|
|
28
|
+
"drawer-close-button": "awsui_drawer-close-button_hyvsj_1xn3c_406",
|
|
29
|
+
"drawer-content": "awsui_drawer-content_hyvsj_1xn3c_411",
|
|
30
|
+
"is-drawer-open": "awsui_is-drawer-open_hyvsj_1xn3c_416",
|
|
31
|
+
"content": "awsui_content_hyvsj_1xn3c_182",
|
|
32
|
+
"layout": "awsui_layout_hyvsj_1xn3c_518",
|
|
33
|
+
"has-max-content-width": "awsui_has-max-content-width_hyvsj_1xn3c_601",
|
|
34
|
+
"content-type-dashboard": "awsui_content-type-dashboard_hyvsj_1xn3c_616",
|
|
35
|
+
"is-overlap-disabled": "awsui_is-overlap-disabled_hyvsj_1xn3c_643",
|
|
36
|
+
"disable-body-scroll": "awsui_disable-body-scroll_hyvsj_1xn3c_646",
|
|
37
|
+
"has-sticky-notifications": "awsui_has-sticky-notifications_hyvsj_1xn3c_650",
|
|
38
|
+
"has-split-panel": "awsui_has-split-panel_hyvsj_1xn3c_664",
|
|
39
|
+
"split-panel-position-bottom": "awsui_split-panel-position-bottom_hyvsj_1xn3c_664",
|
|
40
|
+
"has-content-gap-left": "awsui_has-content-gap-left_hyvsj_1xn3c_676",
|
|
41
|
+
"has-content-gap-right": "awsui_has-content-gap-right_hyvsj_1xn3c_679",
|
|
42
|
+
"block-body-scroll": "awsui_block-body-scroll_hyvsj_1xn3c_694",
|
|
43
|
+
"container": "awsui_container_hyvsj_1xn3c_702",
|
|
44
|
+
"disable-content-paddings": "awsui_disable-content-paddings_hyvsj_1xn3c_728",
|
|
45
|
+
"is-navigation-open": "awsui_is-navigation-open_hyvsj_1xn3c_733",
|
|
46
|
+
"is-tools-open": "awsui_is-tools-open_hyvsj_1xn3c_736",
|
|
47
|
+
"is-split-panel-open": "awsui_is-split-panel-open_hyvsj_1xn3c_736",
|
|
48
|
+
"split-panel-position-side": "awsui_split-panel-position-side_hyvsj_1xn3c_736",
|
|
49
|
+
"content-type-default": "awsui_content-type-default_hyvsj_1xn3c_756",
|
|
50
|
+
"content-type-form": "awsui_content-type-form_hyvsj_1xn3c_756",
|
|
51
|
+
"unfocusable": "awsui_unfocusable_hyvsj_1xn3c_797",
|
|
52
|
+
"navigation-container": "awsui_navigation-container_hyvsj_1xn3c_807",
|
|
53
|
+
"show-navigation": "awsui_show-navigation_hyvsj_1xn3c_842",
|
|
54
|
+
"animating": "awsui_animating_hyvsj_1xn3c_864",
|
|
55
|
+
"showButtons": "awsui_showButtons_hyvsj_1xn3c_1",
|
|
56
|
+
"navigation": "awsui_navigation_hyvsj_1xn3c_807",
|
|
57
|
+
"openNavigation": "awsui_openNavigation_hyvsj_1xn3c_1",
|
|
58
|
+
"animated-content": "awsui_animated-content_hyvsj_1xn3c_925",
|
|
59
|
+
"hide-navigation": "awsui_hide-navigation_hyvsj_1xn3c_934",
|
|
60
|
+
"notifications": "awsui_notifications_hyvsj_1xn3c_227",
|
|
61
|
+
"split-panel-bottom": "awsui_split-panel-bottom_hyvsj_1xn3c_1001",
|
|
62
|
+
"position-bottom": "awsui_position-bottom_hyvsj_1xn3c_1047",
|
|
63
|
+
"openSplitPanelBottom": "awsui_openSplitPanelBottom_hyvsj_1xn3c_1",
|
|
64
|
+
"split-panel-side": "awsui_split-panel-side_hyvsj_1xn3c_1076",
|
|
65
|
+
"position-side": "awsui_position-side_hyvsj_1xn3c_1104",
|
|
66
|
+
"openSplitPanelSide": "awsui_openSplitPanelSide_hyvsj_1xn3c_1",
|
|
67
|
+
"tools-container": "awsui_tools-container_hyvsj_1xn3c_1141",
|
|
68
|
+
"tools": "awsui_tools_hyvsj_1xn3c_1141",
|
|
69
|
+
"openTools": "awsui_openTools_hyvsj_1xn3c_1",
|
|
70
|
+
"has-tools-form-persistence": "awsui_has-tools-form-persistence_hyvsj_1xn3c_1226",
|
|
71
|
+
"hide-tools": "awsui_hide-tools_hyvsj_1xn3c_1236",
|
|
72
|
+
"show-tools": "awsui_show-tools_hyvsj_1xn3c_1248",
|
|
73
|
+
"has-tools-form": "awsui_has-tools-form_hyvsj_1xn3c_1226",
|
|
74
|
+
"trigger": "awsui_trigger_hyvsj_1xn3c_1315",
|
|
75
|
+
"selected": "awsui_selected_hyvsj_1xn3c_1354"
|
|
76
76
|
};
|
|
77
77
|
|
package/internal/environment.js
CHANGED
package/internal/manifest.json
CHANGED
package/package.json
CHANGED
package/table/body-cell/index.js
CHANGED
|
@@ -29,7 +29,7 @@ function TableCellEditable(_a) {
|
|
|
29
29
|
const showIcon = hasHover || hasFocus;
|
|
30
30
|
return (React.createElement(TableTdElement, Object.assign({}, rest, { nativeAttributes: tdNativeAttributes, className: clsx(className, styles['body-cell-editable'], isEditing && styles['body-cell-edit-active'], isVisualRefresh && styles['is-visual-refresh']), onClick: !isEditing ? onEditStart : undefined, onMouseEnter: () => setHasHover(true), onMouseLeave: () => setHasHover(false) }), isEditing ? (React.createElement(InlineEditor, { ariaLabels: ariaLabels, column: column, item: item, onEditEnd: onEditEnd, submitEdit: submitEdit !== null && submitEdit !== void 0 ? submitEdit : submitHandlerFallback })) : (React.createElement(React.Fragment, null,
|
|
31
31
|
column.cell(item),
|
|
32
|
-
React.createElement("button", { className: styles['body-cell-editor'], "aria-label": (_b = ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.activateEditLabel) === null || _b === void 0 ? void 0 : _b.call(ariaLabels, column), ref: editActivateRef, onFocus: () => setHasFocus(true), onBlur: () => setHasFocus(false) }, showIcon && React.createElement(Icon, { name: "edit" }))))));
|
|
32
|
+
React.createElement("button", { className: styles['body-cell-editor'], "aria-label": (_b = ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.activateEditLabel) === null || _b === void 0 ? void 0 : _b.call(ariaLabels, column, item), ref: editActivateRef, onFocus: () => setHasFocus(true), onBlur: () => setHasFocus(false) }, showIcon && React.createElement(Icon, { name: "edit" }))))));
|
|
33
33
|
}
|
|
34
34
|
export function TableBodyCell(_a) {
|
|
35
35
|
var { isEditable } = _a, rest = __rest(_a, ["isEditable"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["table/body-cell/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,IAAI,MAAM,qBAAqB,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAuB,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACjC,MAAM,IAAI,KAAK,CAAC,8DAA8D,CAAC,CAAC;AAClF,CAAC,CAAC;AAYF,SAAS,iBAAiB,CAAW,EAWN;;QAXM,EACnC,SAAS,EACT,IAAI,EACJ,MAAM,EACN,SAAS,EACT,WAAW,EACX,SAAS,EACT,UAAU,EACV,UAAU,EACV,eAAe,OAEc,EAD1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E,CAAC,WAAW,CAAC,KAAK,CAAC,IAE/B,QAAQ,IAAI,oBAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG,CAC1B,CACR,CACJ,CACc,CAClB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,aAAa,CAAW,EAGiB;QAHjB,EACtC,UAAU,OAE6C,EADpD,IAAI,cAF+B,cAGvC,CADQ;IAEP,IAAI,UAAU,IAAI,IAAI,CAAC,SAAS,EAAE;QAChC,OAAO,oBAAC,iBAAiB,oBAAK,IAAI,EAAI,CAAC;KACxC;IACD,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAC9B,OAAO,oBAAC,cAAc,oBAAK,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAkB,CAAC;AACxE,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport React, { useRef, useState } from 'react';\nimport { useEffectOnUpdate } from '../../internal/hooks/use-effect-on-update';\nimport Icon from '../../icon/internal';\nimport { TableProps } from '../interfaces';\nimport { TableTdElement, TableTdElementProps } from './td-element';\nimport { InlineEditor } from './inline-editor';\n\nconst submitHandlerFallback = () => {\n throw new Error('The function `handleSubmit` is required for editable columns');\n};\n\ninterface TableBodyCellProps<ItemType> extends TableTdElementProps {\n column: TableProps.ColumnDefinition<ItemType>;\n item: ItemType;\n isEditing: boolean;\n onEditStart: () => void;\n onEditEnd: () => void;\n submitEdit?: TableProps.SubmitEditFunction<ItemType>;\n ariaLabels: TableProps['ariaLabels'];\n}\n\nfunction TableCellEditable<ItemType>({\n className,\n item,\n column,\n isEditing,\n onEditStart,\n onEditEnd,\n submitEdit,\n ariaLabels,\n isVisualRefresh,\n ...rest\n}: TableBodyCellProps<ItemType>) {\n const editActivateRef = useRef<HTMLButtonElement>(null);\n const tdNativeAttributes = {\n 'data-inline-editing-active': isEditing.toString(),\n };\n\n useEffectOnUpdate(() => {\n if (!isEditing && editActivateRef.current) {\n editActivateRef.current.focus();\n }\n }, [isEditing]);\n\n // To improve the initial page render performance we only show the edit icon when necessary.\n const [hasHover, setHasHover] = useState(false);\n const [hasFocus, setHasFocus] = useState(false);\n const showIcon = hasHover || hasFocus;\n\n return (\n <TableTdElement\n {...rest}\n nativeAttributes={tdNativeAttributes as TableTdElementProps['nativeAttributes']}\n className={clsx(\n className,\n styles['body-cell-editable'],\n isEditing && styles['body-cell-edit-active'],\n isVisualRefresh && styles['is-visual-refresh']\n )}\n onClick={!isEditing ? onEditStart : undefined}\n onMouseEnter={() => setHasHover(true)}\n onMouseLeave={() => setHasHover(false)}\n >\n {isEditing ? (\n <InlineEditor\n ariaLabels={ariaLabels}\n column={column}\n item={item}\n onEditEnd={onEditEnd}\n submitEdit={submitEdit ?? submitHandlerFallback}\n />\n ) : (\n <>\n {column.cell(item)}\n <button\n className={styles['body-cell-editor']}\n aria-label={ariaLabels?.activateEditLabel?.(column, item)}\n ref={editActivateRef}\n onFocus={() => setHasFocus(true)}\n onBlur={() => setHasFocus(false)}\n >\n {showIcon && <Icon name=\"edit\" />}\n </button>\n </>\n )}\n </TableTdElement>\n );\n}\n\nexport function TableBodyCell<ItemType>({\n isEditable,\n ...rest\n}: TableBodyCellProps<ItemType> & { isEditable: boolean }) {\n if (isEditable || rest.isEditing) {\n return <TableCellEditable {...rest} />;\n }\n const { column, item } = rest;\n return <TableTdElement {...rest}>{column.cell(item)}</TableTdElement>;\n}\n"]}
|
|
@@ -66,7 +66,7 @@ export function InlineEditor({ ariaLabels, item, column, onEditEnd, submitEdit,
|
|
|
66
66
|
// asserting non-undefined editConfig here because this component is unreachable otherwise
|
|
67
67
|
const { ariaLabel = undefined, validation = noop, errorIconAriaLabel, constraintText, editingCell, } = column.editConfig;
|
|
68
68
|
return (React.createElement(FocusLock, { restoreFocus: true, ref: focusLockRef },
|
|
69
|
-
React.createElement("div", { role: "dialog", ref: clickAwayRef, "aria-label": (_a = ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.activateEditLabel) === null || _a === void 0 ? void 0 : _a.call(ariaLabels, column), onKeyDown: handleEscape },
|
|
69
|
+
React.createElement("div", { role: "dialog", ref: clickAwayRef, "aria-label": (_a = ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.activateEditLabel) === null || _a === void 0 ? void 0 : _a.call(ariaLabels, column, item), onKeyDown: handleEscape },
|
|
70
70
|
React.createElement("form", { onSubmit: onSubmitClick, className: styles['body-cell-editor-form'] },
|
|
71
71
|
React.createElement(FormField, { stretch: true, label: ariaLabel, constraintText: constraintText, __hideLabel: true, __disableGutters: true, i18nStrings: { errorIconAriaLabel }, errorText: validation(item, currentEditValue) },
|
|
72
72
|
React.createElement("div", { className: styles['body-cell-editor-row'] },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-editor.js","sourceRoot":"lib/default/","sources":["table/body-cell/inline-editor.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,YAAY,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,SAA2B,MAAM,sCAAsC,CAAC;AAE/E,+BAA+B;AAC/B,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC;AAW7B,MAAM,UAAU,YAAY,CAAW,EACrC,UAAU,EACV,IAAI,EACJ,MAAM,EACN,SAAS,EACT,UAAU,EACV,UAAU,GACkB;;IAC5B,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,QAAQ,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EACjB,QAAQ,EAAC,OAAO,EAChB,OAAO,EAAC,aAAa,EACrB,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC,CAAC,CAAC,IAAI;gCACR,oBAAC,MAAM,IACL,SAAS,EAAE,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,eAAe,2DAAG,MAAM,CAAC,EAChD,UAAU,EAAC,QAAQ,EACnB,QAAQ,EAAC,OAAO,EAChB,OAAO,EAAC,aAAa,EACrB,OAAO,EAAE,kBAAkB,GAC3B,CACW,CACV,CACH,CACI,CACP,CACH,CACI,CACb,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef, useState } from 'react';\nimport Button from '../../button/internal';\nimport FormField from '../../form-field/internal';\nimport SpaceBetween from '../../space-between/internal';\nimport { useClickAway } from './click-away';\nimport { TableProps } from '../interfaces';\nimport styles from './styles.css.js';\nimport { Optional } from '../../internal/types';\nimport FocusLock, { FocusLockRef } from '../../internal/components/focus-lock';\n\n// A function that does nothing\nconst noop = () => undefined;\n\ninterface InlineEditorProps<ItemType> {\n ariaLabels: TableProps['ariaLabels'];\n column: TableProps.ColumnDefinition<ItemType>;\n item: ItemType;\n onEditEnd: () => void;\n submitEdit: TableProps.SubmitEditFunction<ItemType>;\n __onRender?: () => void;\n}\n\nexport function InlineEditor<ItemType>({\n ariaLabels,\n item,\n column,\n onEditEnd,\n submitEdit,\n __onRender,\n}: InlineEditorProps<ItemType>) {\n const [currentEditLoading, setCurrentEditLoading] = useState(false);\n const [currentEditValue, setCurrentEditValue] = useState<Optional<any>>();\n\n const focusLockRef = useRef<FocusLockRef>(null);\n\n const cellContext = {\n currentValue: currentEditValue,\n setValue: setCurrentEditValue,\n };\n\n function finishEdit(cancel = false) {\n if (!cancel) {\n setCurrentEditValue(undefined);\n }\n onEditEnd();\n }\n\n async function onSubmitClick(evt: React.FormEvent) {\n evt.preventDefault();\n if (currentEditValue === undefined) {\n finishEdit();\n return;\n }\n\n setCurrentEditLoading(true);\n try {\n await submitEdit(item, column, currentEditValue);\n setCurrentEditLoading(false);\n finishEdit();\n } catch (e) {\n setCurrentEditLoading(false);\n focusLockRef.current?.focusFirst();\n }\n }\n\n function onCancel() {\n if (currentEditLoading) {\n return;\n }\n finishEdit(true);\n }\n\n function handleEscape(event: React.KeyboardEvent): void {\n if (event.key === 'Escape') {\n onCancel();\n }\n }\n\n const clickAwayRef = useClickAway(onCancel);\n\n useEffect(() => {\n if (__onRender) {\n const timer = setTimeout(__onRender, 1);\n return () => clearTimeout(timer);\n }\n }, [__onRender]);\n\n // asserting non-undefined editConfig here because this component is unreachable otherwise\n const {\n ariaLabel = undefined,\n validation = noop,\n errorIconAriaLabel,\n constraintText,\n editingCell,\n } = column.editConfig!;\n\n return (\n <FocusLock restoreFocus={true} ref={focusLockRef}>\n <div\n role=\"dialog\"\n ref={clickAwayRef}\n aria-label={ariaLabels?.activateEditLabel?.(column, item)}\n onKeyDown={handleEscape}\n >\n <form onSubmit={onSubmitClick} className={styles['body-cell-editor-form']}>\n <FormField\n stretch={true}\n label={ariaLabel}\n constraintText={constraintText}\n __hideLabel={true}\n __disableGutters={true}\n i18nStrings={{ errorIconAriaLabel }}\n errorText={validation(item, currentEditValue)}\n >\n <div className={styles['body-cell-editor-row']}>\n {editingCell(item, cellContext)}\n <span className={styles['body-cell-editor-controls']}>\n <SpaceBetween direction=\"horizontal\" size=\"xxs\">\n {!currentEditLoading ? (\n <Button\n ariaLabel={ariaLabels?.cancelEditLabel?.(column)}\n formAction=\"none\"\n iconName=\"close\"\n variant=\"inline-icon\"\n onClick={onCancel}\n />\n ) : null}\n <Button\n ariaLabel={ariaLabels?.submitEditLabel?.(column)}\n formAction=\"submit\"\n iconName=\"check\"\n variant=\"inline-icon\"\n loading={currentEditLoading}\n />\n </SpaceBetween>\n </span>\n </div>\n </FormField>\n </form>\n </div>\n </FocusLock>\n );\n}\n"]}
|
|
@@ -1,23 +1,23 @@
|
|
|
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-editor": "awsui_body-cell-
|
|
19
|
-
"body-cell-editor-form": "awsui_body-cell-editor-
|
|
20
|
-
"body-cell-editor-row": "awsui_body-cell-editor-
|
|
21
|
-
"body-cell-editor-controls": "awsui_body-cell-editor-
|
|
4
|
+
"body-cell": "awsui_body-cell_c6tup_8svdc_93",
|
|
5
|
+
"body-cell-wrap": "awsui_body-cell-wrap_c6tup_8svdc_102",
|
|
6
|
+
"is-visual-refresh": "awsui_is-visual-refresh_c6tup_8svdc_114",
|
|
7
|
+
"has-striped-rows": "awsui_has-striped-rows_c6tup_8svdc_126",
|
|
8
|
+
"body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_8svdc_129",
|
|
9
|
+
"body-cell-editable": "awsui_body-cell-editable_c6tup_8svdc_129",
|
|
10
|
+
"has-selection": "awsui_has-selection_c6tup_8svdc_135",
|
|
11
|
+
"body-cell-first-row": "awsui_body-cell-first-row_c6tup_8svdc_141",
|
|
12
|
+
"body-cell-last-row": "awsui_body-cell-last-row_c6tup_8svdc_144",
|
|
13
|
+
"body-cell-selected": "awsui_body-cell-selected_c6tup_8svdc_144",
|
|
14
|
+
"has-footer": "awsui_has-footer_c6tup_8svdc_144",
|
|
15
|
+
"body-cell-shaded": "awsui_body-cell-shaded_c6tup_8svdc_154",
|
|
16
|
+
"body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_8svdc_176",
|
|
17
|
+
"body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_8svdc_180",
|
|
18
|
+
"body-cell-editor": "awsui_body-cell-editor_c6tup_8svdc_204",
|
|
19
|
+
"body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_8svdc_226",
|
|
20
|
+
"body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_8svdc_235",
|
|
21
|
+
"body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_8svdc_245"
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -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
|
-
.awsui_body-
|
|
93
|
+
.awsui_body-cell_c6tup_8svdc_93:not(#\9) {
|
|
94
94
|
box-sizing: border-box;
|
|
95
95
|
padding: var(--space-scaled-xs-6859qs, 8px) var(--space-scaled-l-t03y3z, 20px) calc(
|
|
96
96
|
var(--space-scaled-xs-6859qs, 8px) + (var(--border-item-width-qbbbsa, 2px) - var(--border-divider-list-width-hacikr, 1px))
|
|
@@ -99,19 +99,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
99
99
|
word-wrap: break-word;
|
|
100
100
|
border-bottom: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
101
101
|
}
|
|
102
|
-
.awsui_body-
|
|
102
|
+
.awsui_body-cell_c6tup_8svdc_93:not(#\9):not(.awsui_body-cell-wrap_c6tup_8svdc_102) {
|
|
103
103
|
white-space: nowrap;
|
|
104
104
|
overflow: hidden;
|
|
105
105
|
text-overflow: ellipsis;
|
|
106
106
|
}
|
|
107
|
-
.awsui_body-
|
|
107
|
+
.awsui_body-cell_c6tup_8svdc_93:not(#\9):first-child {
|
|
108
108
|
border-left: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
109
109
|
}
|
|
110
|
-
.awsui_body-
|
|
110
|
+
.awsui_body-cell_c6tup_8svdc_93:not(#\9):last-child {
|
|
111
111
|
border-right: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
112
112
|
padding-right: calc(var(--space-l-4vl6xu, 20px) - var(--border-item-width-qbbbsa, 2px));
|
|
113
113
|
}
|
|
114
|
-
.awsui_body-
|
|
114
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_is-visual-refresh_c6tup_8svdc_114:not(#\9):first-child {
|
|
115
115
|
/*
|
|
116
116
|
Striped rows requires additional left padding because the
|
|
117
117
|
shaded background makes the child content appear too close
|
|
@@ -123,85 +123,85 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
123
123
|
that the placeholder border would consume.
|
|
124
124
|
*/
|
|
125
125
|
}
|
|
126
|
-
.awsui_body-
|
|
126
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_is-visual-refresh_c6tup_8svdc_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_8svdc_126) {
|
|
127
127
|
padding-left: var(--space-xxxs-k2w98v, 2px);
|
|
128
128
|
}
|
|
129
|
-
.awsui_body-
|
|
129
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_is-visual-refresh_c6tup_8svdc_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_8svdc_126):not(.awsui_body-cell-edit-active_c6tup_8svdc_129).awsui_body-cell-editable_c6tup_8svdc_129:hover {
|
|
130
130
|
padding-left: calc(var(--space-xxxs-k2w98v, 2px) + var(--border-divider-list-width-hacikr, 1px));
|
|
131
131
|
}
|
|
132
|
-
.awsui_body-
|
|
132
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_is-visual-refresh_c6tup_8svdc_114:not(#\9):first-child:first-child.awsui_has-striped-rows_c6tup_8svdc_126 {
|
|
133
133
|
padding-left: var(--space-xxs-ynfts5, 4px);
|
|
134
134
|
}
|
|
135
|
-
.awsui_body-
|
|
135
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_is-visual-refresh_c6tup_8svdc_114:not(#\9):first-child:not(.awsui_has-selection_c6tup_8svdc_135):not(.awsui_body-cell-editable_c6tup_8svdc_129) {
|
|
136
136
|
border-left: none;
|
|
137
137
|
}
|
|
138
|
-
.awsui_body-
|
|
138
|
+
.awsui_body-cell_c6tup_8svdc_93:not(#\9):first-child:not(.awsui_is-visual-refresh_c6tup_8svdc_114) {
|
|
139
139
|
padding-left: calc(var(--space-l-4vl6xu, 20px) - var(--border-item-width-qbbbsa, 2px));
|
|
140
140
|
}
|
|
141
|
-
.awsui_body-cell-first-
|
|
141
|
+
.awsui_body-cell-first-row_c6tup_8svdc_141:not(#\9) {
|
|
142
142
|
border-top: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
143
143
|
}
|
|
144
|
-
.awsui_body-cell-last-
|
|
144
|
+
.awsui_body-cell-last-row_c6tup_8svdc_144:not(#\9):not(.awsui_body-cell-selected_c6tup_8svdc_144):not(.awsui_has-footer_c6tup_8svdc_144) {
|
|
145
145
|
border-bottom: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
146
146
|
}
|
|
147
|
-
.awsui_body-cell-last-
|
|
147
|
+
.awsui_body-cell-last-row_c6tup_8svdc_144:not(#\9):not(.awsui_body-cell-selected_c6tup_8svdc_144).awsui_has-footer_c6tup_8svdc_144 {
|
|
148
148
|
/*
|
|
149
149
|
Add a bottom border to the body cells of the last row as a separator between the
|
|
150
150
|
table and the footer
|
|
151
151
|
*/
|
|
152
152
|
border-bottom: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
153
153
|
}
|
|
154
|
-
.awsui_body-cell-
|
|
154
|
+
.awsui_body-cell-shaded_c6tup_8svdc_154:not(#\9) {
|
|
155
155
|
background: var(--color-background-cell-shaded-26ubfj, #f8f8f8);
|
|
156
156
|
}
|
|
157
|
-
.awsui_body-cell-
|
|
157
|
+
.awsui_body-cell-selected_c6tup_8svdc_144:not(#\9) {
|
|
158
158
|
background-color: var(--color-background-item-selected-ebt4bi, #f2f8fd);
|
|
159
159
|
border-top: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
160
160
|
border-bottom: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
161
161
|
padding-bottom: var(--space-scaled-xs-6859qs, 8px);
|
|
162
162
|
}
|
|
163
|
-
.awsui_body-cell-
|
|
163
|
+
.awsui_body-cell-selected_c6tup_8svdc_144:not(#\9):first-child {
|
|
164
164
|
border-left: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
165
165
|
border-radius: var(--border-radius-item-u2ibpi, 8px) 0 0 var(--border-radius-item-u2ibpi, 8px);
|
|
166
166
|
}
|
|
167
|
-
.awsui_body-cell-
|
|
167
|
+
.awsui_body-cell-selected_c6tup_8svdc_144:not(#\9):last-child {
|
|
168
168
|
border-right: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
169
169
|
border-radius: 0 var(--border-radius-item-u2ibpi, 8px) var(--border-radius-item-u2ibpi, 8px) 0;
|
|
170
170
|
}
|
|
171
|
-
.awsui_body-cell-
|
|
171
|
+
.awsui_body-cell-selected_c6tup_8svdc_144:not(#\9):not(:first-child) {
|
|
172
172
|
padding-top: calc(
|
|
173
173
|
var(--space-scaled-xs-6859qs, 8px) + (var(--border-item-width-qbbbsa, 2px) - var(--border-divider-list-width-hacikr, 1px))
|
|
174
174
|
);
|
|
175
175
|
}
|
|
176
|
-
.awsui_body-
|
|
176
|
+
.awsui_body-cell_c6tup_8svdc_93:not(#\9):not(.awsui_body-cell-selected_c6tup_8svdc_144).awsui_body-cell-next-selected_c6tup_8svdc_176 {
|
|
177
177
|
border-bottom: 0;
|
|
178
178
|
padding-bottom: calc(var(--space-scaled-xs-6859qs, 8px) + var(--border-divider-list-width-hacikr, 1px));
|
|
179
179
|
}
|
|
180
|
-
.awsui_body-cell-
|
|
180
|
+
.awsui_body-cell-selected_c6tup_8svdc_144.awsui_body-cell-prev-selected_c6tup_8svdc_180:not(#\9) {
|
|
181
181
|
padding-top: calc(
|
|
182
182
|
var(--space-scaled-xs-6859qs, 8px) + (var(--border-item-width-qbbbsa, 2px) - var(--border-divider-list-width-hacikr, 1px))
|
|
183
183
|
);
|
|
184
184
|
border-top: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-item-placeholder-jgzhnb, #0972d3);
|
|
185
185
|
}
|
|
186
|
-
.awsui_body-cell-
|
|
186
|
+
.awsui_body-cell-selected_c6tup_8svdc_144.awsui_body-cell-next-selected_c6tup_8svdc_176:not(#\9) {
|
|
187
187
|
border-bottom-width: var(--border-divider-list-width-hacikr, 1px);
|
|
188
188
|
}
|
|
189
|
-
.awsui_body-cell-
|
|
189
|
+
.awsui_body-cell-selected_c6tup_8svdc_144.awsui_body-cell-next-selected_c6tup_8svdc_176:not(#\9):first-child {
|
|
190
190
|
border-bottom-left-radius: 0;
|
|
191
191
|
}
|
|
192
|
-
.awsui_body-cell-
|
|
192
|
+
.awsui_body-cell-selected_c6tup_8svdc_144.awsui_body-cell-next-selected_c6tup_8svdc_176:not(#\9):last-child {
|
|
193
193
|
border-bottom-right-radius: 0;
|
|
194
194
|
}
|
|
195
|
-
.awsui_body-cell-
|
|
195
|
+
.awsui_body-cell-selected_c6tup_8svdc_144.awsui_body-cell-prev-selected_c6tup_8svdc_180:not(#\9):first-child {
|
|
196
196
|
border-top-left-radius: 0;
|
|
197
197
|
}
|
|
198
|
-
.awsui_body-cell-
|
|
198
|
+
.awsui_body-cell-selected_c6tup_8svdc_144.awsui_body-cell-prev-selected_c6tup_8svdc_180:not(#\9):last-child {
|
|
199
199
|
border-top-right-radius: 0;
|
|
200
200
|
}
|
|
201
|
-
.awsui_body-cell-
|
|
201
|
+
.awsui_body-cell-selected_c6tup_8svdc_144:not(#\9):not(.awsui_body-cell-prev-selected_c6tup_8svdc_180) {
|
|
202
202
|
padding-top: var(--space-scaled-xs-6859qs, 8px);
|
|
203
203
|
}
|
|
204
|
-
.awsui_body-cell-
|
|
204
|
+
.awsui_body-cell-editor_c6tup_8svdc_204:not(#\9) {
|
|
205
205
|
top: 0;
|
|
206
206
|
right: 0;
|
|
207
207
|
bottom: 0;
|
|
@@ -217,45 +217,67 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
217
217
|
padding-right: calc(var(--space-xs-rsr2qu, 8px) + var(--space-xxs-ynfts5, 4px));
|
|
218
218
|
color: var(--color-text-button-normal-default-u8647m, #0972d3);
|
|
219
219
|
}
|
|
220
|
-
.awsui_body-cell-
|
|
220
|
+
.awsui_body-cell-editor_c6tup_8svdc_204:not(#\9):hover {
|
|
221
221
|
color: var(--color-text-button-normal-hover-kxmvcc, #033160);
|
|
222
222
|
}
|
|
223
|
-
.awsui_body-cell-
|
|
223
|
+
.awsui_body-cell-editor_c6tup_8svdc_204:not(#\9):active {
|
|
224
224
|
color: var(--color-text-button-normal-active-6obrzh, #033160);
|
|
225
225
|
}
|
|
226
|
-
.awsui_body-cell-editor-
|
|
226
|
+
.awsui_body-cell-editor-form_c6tup_8svdc_226:not(#\9) {
|
|
227
227
|
margin: calc(-1 * var(--space-xs-rsr2qu, 8px)) calc(-1.5 * var(--space-xs-rsr2qu, 8px));
|
|
228
228
|
}
|
|
229
|
-
.awsui_is-visual-
|
|
229
|
+
.awsui_is-visual-refresh_c6tup_8svdc_114.awsui_body-cell_c6tup_8svdc_93:not(#\9):first-child.awsui_has-striped-rows_c6tup_8svdc_126 > .awsui_body-cell-editor-form_c6tup_8svdc_226 {
|
|
230
230
|
margin-left: calc(-1 * var(--space-xxs-ynfts5, 4px));
|
|
231
231
|
}
|
|
232
|
-
.awsui_is-visual-
|
|
232
|
+
.awsui_is-visual-refresh_c6tup_8svdc_114.awsui_body-cell_c6tup_8svdc_93:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_8svdc_126) > .awsui_body-cell-editor-form_c6tup_8svdc_226 {
|
|
233
233
|
margin-left: calc(-1 * var(--space-xxxs-k2w98v, 2px));
|
|
234
234
|
}
|
|
235
|
-
.awsui_body-cell-editor-
|
|
235
|
+
.awsui_body-cell-editor-row_c6tup_8svdc_235:not(#\9) {
|
|
236
236
|
display: flex;
|
|
237
237
|
flex-flow: row nowrap;
|
|
238
238
|
align-items: center;
|
|
239
239
|
justify-content: space-between;
|
|
240
240
|
column-gap: var(--space-xxs-ynfts5, 4px);
|
|
241
241
|
}
|
|
242
|
-
.awsui_body-cell-editor-
|
|
242
|
+
.awsui_body-cell-editor-row_c6tup_8svdc_235 > :not(#\9):not(:last-child) {
|
|
243
243
|
flex-grow: 1;
|
|
244
244
|
}
|
|
245
|
-
.awsui_body-cell-editor-
|
|
245
|
+
.awsui_body-cell-editor-controls_c6tup_8svdc_245:not(#\9) {
|
|
246
246
|
flex-shrink: 0;
|
|
247
247
|
}
|
|
248
|
-
.awsui_body-
|
|
248
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9) {
|
|
249
249
|
position: relative;
|
|
250
250
|
cursor: pointer;
|
|
251
251
|
}
|
|
252
|
-
.awsui_body-
|
|
252
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129.awsui_body-cell-edit-active_c6tup_8svdc_129:not(#\9) {
|
|
253
253
|
overflow: visible;
|
|
254
254
|
}
|
|
255
|
-
.awsui_body-
|
|
255
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129) > .awsui_body-cell-editor_c6tup_8svdc_204 {
|
|
256
256
|
opacity: 0;
|
|
257
257
|
}
|
|
258
|
-
.awsui_body-
|
|
258
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):focus-within {
|
|
259
|
+
padding-right: calc(var(--space-scaled-l-t03y3z, 20px) + var(--space-l-4vl6xu, 20px));
|
|
260
|
+
position: relative;
|
|
261
|
+
}
|
|
262
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):focus-within > .awsui_body-cell-editor_c6tup_8svdc_204 {
|
|
263
|
+
opacity: 1;
|
|
264
|
+
}
|
|
265
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):focus-within {
|
|
266
|
+
outline: 2px dotted transparent;
|
|
267
|
+
outline-offset: calc(calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)) - 1px);
|
|
268
|
+
}
|
|
269
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):focus-within::before {
|
|
270
|
+
content: " ";
|
|
271
|
+
display: block;
|
|
272
|
+
position: absolute;
|
|
273
|
+
left: calc(-1 * calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)));
|
|
274
|
+
top: calc(-1 * calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)));
|
|
275
|
+
width: calc(100% + 2 * calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)));
|
|
276
|
+
height: calc(100% + 2 * calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)));
|
|
277
|
+
border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
278
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
279
|
+
}
|
|
280
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):hover {
|
|
259
281
|
position: relative;
|
|
260
282
|
background-color: var(--color-background-dropdown-item-hover-mqsxkv, #f4f4f4);
|
|
261
283
|
border: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-control-default-m3lmsh, #7d8998);
|
|
@@ -263,57 +285,35 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
263
285
|
right: calc(-1 * var(--border-divider-list-width-hacikr, 1px));
|
|
264
286
|
padding-right: calc(var(--space-scaled-l-t03y3z, 20px) + var(--space-l-4vl6xu, 20px));
|
|
265
287
|
}
|
|
266
|
-
.awsui_body-
|
|
288
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):hover > .awsui_body-cell-editor_c6tup_8svdc_204 {
|
|
267
289
|
opacity: 1;
|
|
268
290
|
}
|
|
269
|
-
.awsui_body-
|
|
291
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):hover:first-child {
|
|
270
292
|
left: 0;
|
|
271
293
|
right: 0;
|
|
272
294
|
}
|
|
273
|
-
.awsui_body-
|
|
295
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):hover > .awsui_body-cell-editor_c6tup_8svdc_204 {
|
|
274
296
|
padding-right: calc(var(--space-xs-rsr2qu, 8px) + var(--space-xxs-ynfts5, 4px) - (2 * var(--border-divider-list-width-hacikr, 1px)));
|
|
275
297
|
}
|
|
276
|
-
.awsui_body-
|
|
298
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):hover.awsui_body-cell-last-row_c6tup_8svdc_144.awsui_body-cell-selected_c6tup_8svdc_144, .awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):hover.awsui_body-cell-next-selected_c6tup_8svdc_176 {
|
|
277
299
|
padding-top: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px) / 2));
|
|
278
300
|
padding-bottom: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px) / 2));
|
|
279
301
|
}
|
|
280
|
-
.awsui_body-
|
|
302
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):hover.awsui_body-cell-last-row_c6tup_8svdc_144:not(.awsui_body-cell-selected_c6tup_8svdc_144) {
|
|
281
303
|
padding-top: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px)));
|
|
282
304
|
}
|
|
283
|
-
.awsui_body-
|
|
305
|
+
.awsui_body-cell_c6tup_8svdc_93.awsui_body-cell-editable_c6tup_8svdc_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):hover.awsui_body-cell-first-row_c6tup_8svdc_141:not(.awsui_body-cell-selected_c6tup_8svdc_144) {
|
|
284
306
|
padding-top: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px)));
|
|
285
307
|
padding-bottom: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px)));
|
|
286
308
|
}
|
|
287
|
-
|
|
288
|
-
padding-right: calc(var(--space-scaled-l-t03y3z, 20px) + var(--space-l-4vl6xu, 20px));
|
|
289
|
-
position: relative;
|
|
290
|
-
}
|
|
291
|
-
body[data-awsui-focus-visible=true] .awsui_body-cell_c6tup_1tfsn_93.awsui_body-cell-editable_c6tup_1tfsn_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1tfsn_129):focus-within > .awsui_body-cell-editor_c6tup_1tfsn_204 {
|
|
292
|
-
opacity: 1;
|
|
293
|
-
}
|
|
294
|
-
body[data-awsui-focus-visible=true] .awsui_body-cell_c6tup_1tfsn_93.awsui_body-cell-editable_c6tup_1tfsn_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1tfsn_129):focus-within {
|
|
295
|
-
outline: 2px dotted transparent;
|
|
296
|
-
outline-offset: calc(calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)) - 1px);
|
|
297
|
-
}
|
|
298
|
-
body[data-awsui-focus-visible=true] .awsui_body-cell_c6tup_1tfsn_93.awsui_body-cell-editable_c6tup_1tfsn_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1tfsn_129):focus-within::before {
|
|
299
|
-
content: " ";
|
|
300
|
-
display: block;
|
|
301
|
-
position: absolute;
|
|
302
|
-
left: calc(-1 * calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)));
|
|
303
|
-
top: calc(-1 * calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)));
|
|
304
|
-
width: calc(100% + 2 * calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)));
|
|
305
|
-
height: calc(100% + 2 * calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)));
|
|
306
|
-
border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
307
|
-
box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
308
|
-
}
|
|
309
|
-
.awsui_body-cell-editable_c6tup_1tfsn_129.awsui_is-visual-refresh_c6tup_1tfsn_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1tfsn_129):hover:first-child {
|
|
309
|
+
.awsui_body-cell-editable_c6tup_8svdc_129.awsui_is-visual-refresh_c6tup_8svdc_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):hover:first-child {
|
|
310
310
|
border-top-left-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
311
311
|
border-bottom-left-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
312
312
|
}
|
|
313
|
-
.awsui_body-cell-
|
|
313
|
+
.awsui_body-cell-editable_c6tup_8svdc_129.awsui_is-visual-refresh_c6tup_8svdc_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):hover:last-child {
|
|
314
314
|
border-top-right-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
315
315
|
border-bottom-right-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
316
316
|
}
|
|
317
|
-
.awsui_body-cell-
|
|
317
|
+
.awsui_body-cell-editable_c6tup_8svdc_129.awsui_is-visual-refresh_c6tup_8svdc_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_8svdc_129):hover.awsui_body-cell-first-row_c6tup_8svdc_141 > .awsui_body-cell-editor_c6tup_8svdc_204 {
|
|
318
318
|
padding-top: var(--border-divider-list-width-hacikr, 1px);
|
|
319
319
|
}
|