@cloudscape-design/components 3.0.76 → 3.0.78
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/drawer.d.ts +2 -1
- package/app-layout/drawer.d.ts.map +1 -1
- package/app-layout/drawer.js +8 -2
- package/app-layout/drawer.js.map +1 -1
- package/app-layout/index.d.ts.map +1 -1
- package/app-layout/index.js +6 -5
- package/app-layout/index.js.map +1 -1
- package/app-layout/interfaces.d.ts +6 -0
- package/app-layout/interfaces.d.ts.map +1 -1
- package/app-layout/interfaces.js.map +1 -1
- package/app-layout/notifications/index.js +1 -1
- package/app-layout/notifications/index.js.map +1 -1
- package/app-layout/tools-and-split-panel.d.ts +2 -1
- package/app-layout/tools-and-split-panel.d.ts.map +1 -1
- package/app-layout/tools-and-split-panel.js +2 -2
- package/app-layout/tools-and-split-panel.js.map +1 -1
- package/app-layout/utils/use-focus-control.d.ts +10 -4
- package/app-layout/utils/use-focus-control.d.ts.map +1 -1
- package/app-layout/utils/use-focus-control.js +30 -9
- package/app-layout/utils/use-focus-control.js.map +1 -1
- package/app-layout/visual-refresh/app-bar.js +2 -2
- package/app-layout/visual-refresh/app-bar.js.map +1 -1
- package/app-layout/visual-refresh/context.d.ts +3 -1
- package/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/app-layout/visual-refresh/context.js +8 -4
- package/app-layout/visual-refresh/context.js.map +1 -1
- package/app-layout/visual-refresh/navigation.js +1 -1
- package/app-layout/visual-refresh/navigation.js.map +1 -1
- package/app-layout/visual-refresh/notifications.js +2 -2
- package/app-layout/visual-refresh/notifications.js.map +1 -1
- package/app-layout/visual-refresh/tools.d.ts.map +1 -1
- package/app-layout/visual-refresh/tools.js +7 -4
- package/app-layout/visual-refresh/tools.js.map +1 -1
- package/date-range-picker/calendar/index.d.ts.map +1 -1
- package/date-range-picker/calendar/index.js +22 -26
- package/date-range-picker/calendar/index.js.map +1 -1
- package/date-range-picker/index.js +1 -1
- package/date-range-picker/index.js.map +1 -1
- package/date-range-picker/styles.css.js +36 -37
- package/date-range-picker/styles.scoped.css +50 -54
- package/date-range-picker/styles.selectors.js +36 -37
- package/input/internal.d.ts.map +1 -1
- package/input/internal.js +2 -3
- package/input/internal.js.map +1 -1
- package/internal/base-component/styles.scoped.css +4 -0
- package/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/internal/components/autosuggest-input/index.js +4 -5
- package/internal/components/autosuggest-input/index.js.map +1 -1
- package/internal/components/button-trigger/index.d.ts.map +1 -1
- package/internal/components/button-trigger/index.js +2 -3
- package/internal/components/button-trigger/index.js.map +1 -1
- package/internal/components/chart-popover/index.js +1 -1
- package/internal/components/chart-popover/index.js.map +1 -1
- package/internal/components/dropdown/index.d.ts.map +1 -1
- package/internal/components/dropdown/index.js +1 -1
- package/internal/components/dropdown/index.js.map +1 -1
- package/internal/components/dropdown-status/index.d.ts.map +1 -1
- package/internal/components/dropdown-status/index.js +2 -4
- package/internal/components/dropdown-status/index.js.map +1 -1
- package/internal/components/options-list/index.d.ts.map +1 -1
- package/internal/components/options-list/index.js +2 -2
- package/internal/components/options-list/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/events/index.d.ts +0 -9
- package/internal/events/index.d.ts.map +1 -1
- package/internal/events/index.js +0 -11
- package/internal/events/index.js.map +1 -1
- package/internal/generated/theming/index.cjs +23 -0
- package/internal/generated/theming/index.js +23 -0
- package/package.json +1 -1
- package/pagination/internal.d.ts.map +1 -1
- package/pagination/internal.js +1 -1
- package/pagination/internal.js.map +1 -1
- package/popover/internal.js +2 -2
- package/popover/internal.js.map +1 -1
- package/popover/styles.css.js +50 -49
- package/popover/styles.scoped.css +67 -62
- package/popover/styles.selectors.js +50 -49
- package/table/header-cell/index.d.ts.map +1 -1
- package/table/header-cell/index.js +1 -0
- package/table/header-cell/index.js.map +1 -1
- package/table/header-cell/styles.css.js +15 -14
- package/table/header-cell/styles.scoped.css +27 -24
- package/table/header-cell/styles.selectors.js +15 -14
|
@@ -2,54 +2,55 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"arrow": "
|
|
6
|
-
"arrow-outer": "awsui_arrow-
|
|
7
|
-
"arrow-inner": "awsui_arrow-
|
|
8
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
10
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
12
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-top-right": "awsui_arrow-position-top-
|
|
14
|
-
"arrow-position-top-left": "awsui_arrow-position-top-
|
|
15
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
16
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
17
|
-
"arrow-position-bottom-right": "awsui_arrow-position-bottom-
|
|
18
|
-
"arrow-position-bottom-left": "awsui_arrow-position-bottom-
|
|
19
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
20
|
-
"body": "
|
|
21
|
-
"body-overflow-visible": "awsui_body-overflow-
|
|
22
|
-
"has-dismiss": "awsui_has-
|
|
23
|
-
"dismiss": "
|
|
24
|
-
"dismiss-control": "awsui_dismiss-
|
|
25
|
-
"header-row": "awsui_header-
|
|
26
|
-
"header": "
|
|
27
|
-
"content": "
|
|
28
|
-
"content-overflow-visible": "awsui_content-overflow-
|
|
29
|
-
"container": "
|
|
30
|
-
"container-body": "awsui_container-
|
|
31
|
-
"container-body-variant-annotation": "awsui_container-body-variant-
|
|
32
|
-
"container-body-size-small": "awsui_container-body-size-
|
|
33
|
-
"fixed-width": "awsui_fixed-
|
|
34
|
-
"container-body-size-medium": "awsui_container-body-size-
|
|
35
|
-
"container-body-size-large": "awsui_container-body-size-
|
|
36
|
-
"container-arrow": "awsui_container-
|
|
37
|
-
"container-arrow-position-right-top": "awsui_container-arrow-position-right-
|
|
38
|
-
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-
|
|
39
|
-
"container-arrow-position-left-top": "awsui_container-arrow-position-left-
|
|
40
|
-
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-
|
|
41
|
-
"container-arrow-position-top-center": "awsui_container-arrow-position-top-
|
|
42
|
-
"container-arrow-position-top-right": "awsui_container-arrow-position-top-
|
|
43
|
-
"container-arrow-position-top-left": "awsui_container-arrow-position-top-
|
|
44
|
-
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-
|
|
45
|
-
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-
|
|
46
|
-
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-
|
|
47
|
-
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-
|
|
48
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
49
|
-
"refresh": "
|
|
50
|
-
"root": "
|
|
51
|
-
"trigger": "
|
|
52
|
-
"trigger-type-text": "awsui_trigger-type-
|
|
53
|
-
"trigger-inner-text": "awsui_trigger-inner-
|
|
5
|
+
"arrow": "awsui_arrow_xjuzf_10pru_185",
|
|
6
|
+
"arrow-outer": "awsui_arrow-outer_xjuzf_10pru_189",
|
|
7
|
+
"arrow-inner": "awsui_arrow-inner_xjuzf_10pru_189",
|
|
8
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_xjuzf_10pru_220",
|
|
9
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_xjuzf_10pru_220",
|
|
10
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_xjuzf_10pru_223",
|
|
11
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_xjuzf_10pru_223",
|
|
12
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_xjuzf_10pru_226",
|
|
13
|
+
"arrow-position-top-right": "awsui_arrow-position-top-right_xjuzf_10pru_226",
|
|
14
|
+
"arrow-position-top-left": "awsui_arrow-position-top-left_xjuzf_10pru_226",
|
|
15
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_xjuzf_10pru_226",
|
|
16
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_xjuzf_10pru_229",
|
|
17
|
+
"arrow-position-bottom-right": "awsui_arrow-position-bottom-right_xjuzf_10pru_229",
|
|
18
|
+
"arrow-position-bottom-left": "awsui_arrow-position-bottom-left_xjuzf_10pru_229",
|
|
19
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_xjuzf_10pru_229",
|
|
20
|
+
"body": "awsui_body_xjuzf_10pru_325",
|
|
21
|
+
"body-overflow-visible": "awsui_body-overflow-visible_xjuzf_10pru_339",
|
|
22
|
+
"has-dismiss": "awsui_has-dismiss_xjuzf_10pru_343",
|
|
23
|
+
"dismiss": "awsui_dismiss_xjuzf_10pru_348",
|
|
24
|
+
"dismiss-control": "awsui_dismiss-control_xjuzf_10pru_355",
|
|
25
|
+
"header-row": "awsui_header-row_xjuzf_10pru_359",
|
|
26
|
+
"header": "awsui_header_xjuzf_10pru_359",
|
|
27
|
+
"content": "awsui_content_xjuzf_10pru_381",
|
|
28
|
+
"content-overflow-visible": "awsui_content-overflow-visible_xjuzf_10pru_388",
|
|
29
|
+
"container": "awsui_container_xjuzf_10pru_484",
|
|
30
|
+
"container-body": "awsui_container-body_xjuzf_10pru_492",
|
|
31
|
+
"container-body-variant-annotation": "awsui_container-body-variant-annotation_xjuzf_10pru_507",
|
|
32
|
+
"container-body-size-small": "awsui_container-body-size-small_xjuzf_10pru_512",
|
|
33
|
+
"fixed-width": "awsui_fixed-width_xjuzf_10pru_515",
|
|
34
|
+
"container-body-size-medium": "awsui_container-body-size-medium_xjuzf_10pru_519",
|
|
35
|
+
"container-body-size-large": "awsui_container-body-size-large_xjuzf_10pru_526",
|
|
36
|
+
"container-arrow": "awsui_container-arrow_xjuzf_10pru_538",
|
|
37
|
+
"container-arrow-position-right-top": "awsui_container-arrow-position-right-top_xjuzf_10pru_542",
|
|
38
|
+
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-bottom_xjuzf_10pru_542",
|
|
39
|
+
"container-arrow-position-left-top": "awsui_container-arrow-position-left-top_xjuzf_10pru_554",
|
|
40
|
+
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-bottom_xjuzf_10pru_554",
|
|
41
|
+
"container-arrow-position-top-center": "awsui_container-arrow-position-top-center_xjuzf_10pru_566",
|
|
42
|
+
"container-arrow-position-top-right": "awsui_container-arrow-position-top-right_xjuzf_10pru_566",
|
|
43
|
+
"container-arrow-position-top-left": "awsui_container-arrow-position-top-left_xjuzf_10pru_566",
|
|
44
|
+
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-responsive_xjuzf_10pru_566",
|
|
45
|
+
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-center_xjuzf_10pru_582",
|
|
46
|
+
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-right_xjuzf_10pru_586",
|
|
47
|
+
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-left_xjuzf_10pru_590",
|
|
48
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_xjuzf_10pru_1",
|
|
49
|
+
"refresh": "awsui_refresh_xjuzf_10pru_708",
|
|
50
|
+
"root": "awsui_root_xjuzf_10pru_730",
|
|
51
|
+
"trigger": "awsui_trigger_xjuzf_10pru_743",
|
|
52
|
+
"trigger-type-text": "awsui_trigger-type-text_xjuzf_10pru_750",
|
|
53
|
+
"trigger-inner-text": "awsui_trigger-inner-text_xjuzf_10pru_779",
|
|
54
|
+
"popover-content": "awsui_popover-content_xjuzf_10pru_783"
|
|
54
55
|
};
|
|
55
56
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/table/header-cell/index.tsx"],"names":[],"mappings":"AAGA,OAAO,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AC;IACjB,MAAM,EAAE,UAAU,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACzC,mBAAmB,EAAE,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAC/D,iBAAiB,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,eAAe,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,KAAK,EACL,QAAQ,EACR,MAAM,EACN,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,SAAS,EACT,OAAO,EACP,aAAa,EACb,OAAO,EACP,OAAO,EACP,MAAM,GACP,EAAE,oBAAoB,eAyEtB"}
|
|
@@ -33,6 +33,7 @@ export function TableHeaderCell(_a) {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
return (React.createElement("th", { className: clsx(className, (_b = {},
|
|
36
|
+
_b[styles['header-cell-resizable']] = !!resizer,
|
|
36
37
|
_b[styles['header-cell-sortable']] = sortingStatus,
|
|
37
38
|
_b[styles['header-cell-sorted']] = sortingStatus === 'ascending' || sortingStatus === 'descending',
|
|
38
39
|
_b[styles['header-cell-disabled']] = sortingDisabled,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/table/header-cell/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO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QAAA,GACP,CAAC;YAEN,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,SAAS,IAAI,MAAM,CAAC,uBAAuB,CAAC,CAAC,IAC3F,MAAM,CAAC,MAAM,CACV;YACL,aAAa,IAAI,CAChB,8BAAM,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC;gBACrC,oBAAC,YAAY,IAAC,IAAI,EAAE,kBAAkB,CAAC,aAAa,CAAC,GAAI,CACpD,CACR,CACG;QACL,OAAO,CACL,CACN,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 from 'react';\nimport InternalIcon from '../../icon/internal';\nimport useFocusVisible from '../../internal/hooks/focus-visible';\nimport { KeyCode } from '../../internal/keycode';\nimport { TableProps } from '../interfaces';\nimport { getAriaSort, getSortingIconName, getSortingStatus, isSorted } from './utils';\nimport styles from './styles.css.js';\n\ninterface TableHeaderCellProps {\n className?: string;\n style?: React.CSSProperties;\n tabIndex: number;\n column: TableProps.ColumnDefinition<any>;\n activeSortingColumn: TableProps.SortingColumn<any> | undefined;\n sortingDescending: boolean | undefined;\n sortingDisabled: boolean | undefined;\n wrapLines: boolean | undefined;\n resizer: React.ReactNode;\n showFocusRing: boolean;\n onClick(detail: TableProps.SortingState<any>): void;\n onFocus?: () => void;\n onBlur?: () => void;\n}\n\nexport function TableHeaderCell({\n className,\n style,\n tabIndex,\n column,\n activeSortingColumn,\n sortingDescending,\n sortingDisabled,\n wrapLines,\n resizer,\n showFocusRing,\n onClick,\n onFocus,\n onBlur,\n}: TableHeaderCellProps) {\n const focusVisible = useFocusVisible();\n const sortable = !!column.sortingComparator || !!column.sortingField;\n const sorted = !!activeSortingColumn && isSorted(column, activeSortingColumn);\n const sortingStatus = getSortingStatus(sortable, sorted, !!sortingDescending, !!sortingDisabled);\n const handleClick = () =>\n onClick({\n sortingColumn: column,\n isDescending: sorted ? !sortingDescending : false,\n });\n\n // Elements with role=\"button\" do not have the default behavior of <button>, where pressing\n // Enter or Space will trigger a click event. Therefore we need to add this ourselves.\n // The native <button> element cannot be used due to a misaligned implementation in Firefox:\n // https://bugzilla.mozilla.org/show_bug.cgi?id=843003\n const handleKeyPress = ({ nativeEvent: e }: React.KeyboardEvent) => {\n if (e.keyCode === KeyCode.enter || e.keyCode === KeyCode.space) {\n e.preventDefault();\n handleClick();\n }\n };\n\n return (\n <th\n className={clsx(className, {\n [styles['header-cell-sortable']]: sortingStatus,\n [styles['header-cell-sorted']]: sortingStatus === 'ascending' || sortingStatus === 'descending',\n [styles['header-cell-disabled']]: sortingDisabled,\n [styles['header-cell-ascending']]: sortingStatus === 'ascending',\n [styles['header-cell-descending']]: sortingStatus === 'descending',\n })}\n aria-sort={sortingStatus && getAriaSort(sortingStatus)}\n style={style}\n scope=\"col\"\n >\n <div\n className={clsx(styles['header-cell-content'], {\n [styles['header-cell-fake-focus']]: showFocusRing && focusVisible['data-awsui-focus-visible'],\n })}\n aria-label={\n column.ariaLabel\n ? column.ariaLabel({\n sorted: sorted,\n descending: sorted && !!sortingDescending,\n disabled: !!sortingDisabled,\n })\n : undefined\n }\n {...(sortingDisabled || !sortingStatus\n ? { ['aria-disabled']: 'true' }\n : {\n onKeyPress: handleKeyPress,\n tabIndex: tabIndex,\n role: 'button',\n ...focusVisible,\n onClick: handleClick,\n onFocus,\n onBlur,\n })}\n >\n <div className={clsx(styles['header-cell-text'], wrapLines && styles['header-cell-text-wrap'])}>\n {column.header}\n </div>\n {sortingStatus && (\n <span className={styles['sorting-icon']}>\n <InternalIcon name={getSortingIconName(sortingStatus)} />\n </span>\n )}\n </div>\n {resizer}\n </th>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/table/header-cell/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,C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E,QAAQ,EAClB,IAAI,EAAE,QAAQ,IACX,YAAY,KACf,OAAO,EAAE,WAAW,EACpB,OAAO,SAAA,EACP,MAAM,QAAA,GACP,CAAC;YAEN,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,SAAS,IAAI,MAAM,CAAC,uBAAuB,CAAC,CAAC,IAC3F,MAAM,CAAC,MAAM,CACV;YACL,aAAa,IAAI,CAChB,8BAAM,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC;gBACrC,oBAAC,YAAY,IAAC,IAAI,EAAE,kBAAkB,CAAC,aAAa,CAAC,GAAI,CACpD,CACR,CACG;QACL,OAAO,CACL,CACN,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 from 'react';\nimport InternalIcon from '../../icon/internal';\nimport useFocusVisible from '../../internal/hooks/focus-visible';\nimport { KeyCode } from '../../internal/keycode';\nimport { TableProps } from '../interfaces';\nimport { getAriaSort, getSortingIconName, getSortingStatus, isSorted } from './utils';\nimport styles from './styles.css.js';\n\ninterface TableHeaderCellProps {\n className?: string;\n style?: React.CSSProperties;\n tabIndex: number;\n column: TableProps.ColumnDefinition<any>;\n activeSortingColumn: TableProps.SortingColumn<any> | undefined;\n sortingDescending: boolean | undefined;\n sortingDisabled: boolean | undefined;\n wrapLines: boolean | undefined;\n resizer: React.ReactNode;\n showFocusRing: boolean;\n onClick(detail: TableProps.SortingState<any>): void;\n onFocus?: () => void;\n onBlur?: () => void;\n}\n\nexport function TableHeaderCell({\n className,\n style,\n tabIndex,\n column,\n activeSortingColumn,\n sortingDescending,\n sortingDisabled,\n wrapLines,\n resizer,\n showFocusRing,\n onClick,\n onFocus,\n onBlur,\n}: TableHeaderCellProps) {\n const focusVisible = useFocusVisible();\n const sortable = !!column.sortingComparator || !!column.sortingField;\n const sorted = !!activeSortingColumn && isSorted(column, activeSortingColumn);\n const sortingStatus = getSortingStatus(sortable, sorted, !!sortingDescending, !!sortingDisabled);\n const handleClick = () =>\n onClick({\n sortingColumn: column,\n isDescending: sorted ? !sortingDescending : false,\n });\n\n // Elements with role=\"button\" do not have the default behavior of <button>, where pressing\n // Enter or Space will trigger a click event. Therefore we need to add this ourselves.\n // The native <button> element cannot be used due to a misaligned implementation in Firefox:\n // https://bugzilla.mozilla.org/show_bug.cgi?id=843003\n const handleKeyPress = ({ nativeEvent: e }: React.KeyboardEvent) => {\n if (e.keyCode === KeyCode.enter || e.keyCode === KeyCode.space) {\n e.preventDefault();\n handleClick();\n }\n };\n\n return (\n <th\n className={clsx(className, {\n [styles['header-cell-resizable']]: !!resizer,\n [styles['header-cell-sortable']]: sortingStatus,\n [styles['header-cell-sorted']]: sortingStatus === 'ascending' || sortingStatus === 'descending',\n [styles['header-cell-disabled']]: sortingDisabled,\n [styles['header-cell-ascending']]: sortingStatus === 'ascending',\n [styles['header-cell-descending']]: sortingStatus === 'descending',\n })}\n aria-sort={sortingStatus && getAriaSort(sortingStatus)}\n style={style}\n scope=\"col\"\n >\n <div\n className={clsx(styles['header-cell-content'], {\n [styles['header-cell-fake-focus']]: showFocusRing && focusVisible['data-awsui-focus-visible'],\n })}\n aria-label={\n column.ariaLabel\n ? column.ariaLabel({\n sorted: sorted,\n descending: sorted && !!sortingDescending,\n disabled: !!sortingDisabled,\n })\n : undefined\n }\n {...(sortingDisabled || !sortingStatus\n ? { ['aria-disabled']: 'true' }\n : {\n onKeyPress: handleKeyPress,\n tabIndex: tabIndex,\n role: 'button',\n ...focusVisible,\n onClick: handleClick,\n onFocus,\n onBlur,\n })}\n >\n <div className={clsx(styles['header-cell-text'], wrapLines && styles['header-cell-text-wrap'])}>\n {column.header}\n </div>\n {sortingStatus && (\n <span className={styles['sorting-icon']}>\n <InternalIcon name={getSortingIconName(sortingStatus)} />\n </span>\n )}\n </div>\n {resizer}\n </th>\n );\n}\n"]}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"header-cell": "awsui_header-
|
|
5
|
-
"header-cell-sticky": "awsui_header-cell-
|
|
6
|
-
"header-cell-stuck": "awsui_header-cell-
|
|
7
|
-
"header-cell-variant-full-page": "awsui_header-cell-variant-full-
|
|
8
|
-
"header-cell-sortable": "awsui_header-cell-
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"header-cell-
|
|
12
|
-
"header-cell-
|
|
13
|
-
"header-cell-
|
|
14
|
-
"header-cell-
|
|
15
|
-
"header-cell-text
|
|
16
|
-
"header-cell-
|
|
17
|
-
"header-cell-
|
|
4
|
+
"header-cell": "awsui_header-cell_1spae_1kck5_93",
|
|
5
|
+
"header-cell-sticky": "awsui_header-cell-sticky_1spae_1kck5_103",
|
|
6
|
+
"header-cell-stuck": "awsui_header-cell-stuck_1spae_1kck5_106",
|
|
7
|
+
"header-cell-variant-full-page": "awsui_header-cell-variant-full-page_1spae_1kck5_109",
|
|
8
|
+
"header-cell-sortable": "awsui_header-cell-sortable_1spae_1kck5_115",
|
|
9
|
+
"header-cell-resizable": "awsui_header-cell-resizable_1spae_1kck5_127",
|
|
10
|
+
"sorting-icon": "awsui_sorting-icon_1spae_1kck5_131",
|
|
11
|
+
"header-cell-disabled": "awsui_header-cell-disabled_1spae_1kck5_138",
|
|
12
|
+
"header-cell-sorted": "awsui_header-cell-sorted_1spae_1kck5_138",
|
|
13
|
+
"header-cell-content": "awsui_header-cell-content_1spae_1kck5_138",
|
|
14
|
+
"header-cell-fake-focus": "awsui_header-cell-fake-focus_1spae_1kck5_171",
|
|
15
|
+
"header-cell-text": "awsui_header-cell-text_1spae_1kck5_200",
|
|
16
|
+
"header-cell-text-wrap": "awsui_header-cell-text-wrap_1spae_1kck5_200",
|
|
17
|
+
"header-cell-ascending": "awsui_header-cell-ascending_1spae_1kck5_206",
|
|
18
|
+
"header-cell-descending": "awsui_header-cell-descending_1spae_1kck5_207"
|
|
18
19
|
};
|
|
19
20
|
|
|
@@ -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_header-
|
|
93
|
+
.awsui_header-cell_1spae_1kck5_93:not(#\9) {
|
|
94
94
|
position: relative;
|
|
95
95
|
text-align: left;
|
|
96
96
|
box-sizing: border-box;
|
|
@@ -100,22 +100,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
100
100
|
font-weight: var(--font-heading-s-weight-k8ys41, 800);
|
|
101
101
|
padding: var(--space-scaled-xxs-95dhkm, 4px) var(--space-scaled-xs-6859qs, 8px);
|
|
102
102
|
}
|
|
103
|
-
.awsui_header-cell-
|
|
103
|
+
.awsui_header-cell-sticky_1spae_1kck5_103:not(#\9) {
|
|
104
104
|
border-bottom: var(--border-table-sticky-width-h1tlxy, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
105
105
|
}
|
|
106
|
-
.awsui_header-cell-
|
|
106
|
+
.awsui_header-cell-stuck_1spae_1kck5_106:not(#\9) {
|
|
107
107
|
border-bottom-color: transparent;
|
|
108
108
|
}
|
|
109
|
-
.awsui_header-cell-variant-full-
|
|
109
|
+
.awsui_header-cell-variant-full-page_1spae_1kck5_109:not(#\9) {
|
|
110
110
|
border-bottom: var(--space-scaled-xxs-95dhkm, 4px) solid transparent;
|
|
111
111
|
}
|
|
112
|
-
.awsui_header-
|
|
112
|
+
.awsui_header-cell_1spae_1kck5_93:not(#\9):first-child {
|
|
113
113
|
padding-left: var(--space-xs-rsr2qu, 8px);
|
|
114
114
|
}
|
|
115
|
-
.awsui_header-
|
|
115
|
+
.awsui_header-cell_1spae_1kck5_93:not(#\9):last-child, .awsui_header-cell_1spae_1kck5_93.awsui_header-cell-sortable_1spae_1kck5_115:not(#\9) {
|
|
116
116
|
padding-right: var(--space-xs-rsr2qu, 8px);
|
|
117
117
|
}
|
|
118
|
-
.awsui_header-
|
|
118
|
+
.awsui_header-cell_1spae_1kck5_93:not(#\9):not(:last-child):before {
|
|
119
119
|
content: "";
|
|
120
120
|
position: absolute;
|
|
121
121
|
right: 0;
|
|
@@ -124,37 +124,40 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
124
124
|
border-left: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
125
125
|
box-sizing: border-box;
|
|
126
126
|
}
|
|
127
|
+
.awsui_header-cell-resizable_1spae_1kck5_127:not(#\9):not(:last-child):before {
|
|
128
|
+
border-left-color: var(--color-border-divider-interactive-default-rcasvw, #e9ebed);
|
|
129
|
+
}
|
|
127
130
|
|
|
128
|
-
.awsui_sorting-
|
|
131
|
+
.awsui_sorting-icon_1spae_1kck5_131:not(#\9) {
|
|
129
132
|
position: absolute;
|
|
130
133
|
top: var(--space-scaled-xxs-95dhkm, 4px);
|
|
131
134
|
right: var(--space-xxs-ynfts5, 4px);
|
|
132
135
|
color: var(--color-text-column-sorting-icon-q5sr09, #414d5c);
|
|
133
136
|
}
|
|
134
137
|
|
|
135
|
-
.awsui_header-cell-
|
|
138
|
+
.awsui_header-cell-disabled_1spae_1kck5_138.awsui_header-cell-sorted_1spae_1kck5_138 > .awsui_header-cell-content_1spae_1kck5_138 > .awsui_sorting-icon_1spae_1kck5_131:not(#\9) {
|
|
136
139
|
color: var(--color-text-interactive-disabled-3pbb07, #9ba7b6);
|
|
137
140
|
}
|
|
138
141
|
|
|
139
|
-
.awsui_header-cell-
|
|
142
|
+
.awsui_header-cell-content_1spae_1kck5_138:not(#\9) {
|
|
140
143
|
position: relative;
|
|
141
144
|
padding: var(--space-scaled-xxs-95dhkm, 4px) var(--space-s-hv8c1d, 12px);
|
|
142
145
|
}
|
|
143
|
-
.awsui_header-cell-
|
|
146
|
+
.awsui_header-cell-sortable_1spae_1kck5_115 > .awsui_header-cell-content_1spae_1kck5_138:not(#\9) {
|
|
144
147
|
padding-right: calc(var(--space-xl-a39hup, 24px) + var(--space-xxs-ynfts5, 4px));
|
|
145
148
|
}
|
|
146
|
-
.awsui_header-cell-
|
|
149
|
+
.awsui_header-cell-content_1spae_1kck5_138:not(#\9):focus {
|
|
147
150
|
outline: none;
|
|
148
151
|
text-decoration: none;
|
|
149
152
|
}
|
|
150
|
-
.awsui_header-cell-
|
|
153
|
+
.awsui_header-cell-content_1spae_1kck5_138[data-awsui-focus-visible=true]:not(#\9):focus {
|
|
151
154
|
position: relative;
|
|
152
155
|
}
|
|
153
|
-
.awsui_header-cell-
|
|
156
|
+
.awsui_header-cell-content_1spae_1kck5_138[data-awsui-focus-visible=true]:not(#\9):focus {
|
|
154
157
|
outline: 2px dotted transparent;
|
|
155
158
|
outline-offset: calc(var(--space-table-header-focus-outline-gutter-rbx7m7, 0px) - 1px);
|
|
156
159
|
}
|
|
157
|
-
.awsui_header-cell-
|
|
160
|
+
.awsui_header-cell-content_1spae_1kck5_138[data-awsui-focus-visible=true]:not(#\9):focus::before {
|
|
158
161
|
content: " ";
|
|
159
162
|
display: block;
|
|
160
163
|
position: absolute;
|
|
@@ -165,14 +168,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
165
168
|
border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
166
169
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
167
170
|
}
|
|
168
|
-
.awsui_header-cell-
|
|
171
|
+
.awsui_header-cell-content_1spae_1kck5_138.awsui_header-cell-fake-focus_1spae_1kck5_171:not(#\9) {
|
|
169
172
|
position: relative;
|
|
170
173
|
}
|
|
171
|
-
.awsui_header-cell-
|
|
174
|
+
.awsui_header-cell-content_1spae_1kck5_138.awsui_header-cell-fake-focus_1spae_1kck5_171:not(#\9) {
|
|
172
175
|
outline: 2px dotted transparent;
|
|
173
176
|
outline-offset: calc(var(--space-table-header-focus-outline-gutter-rbx7m7, 0px) - 1px);
|
|
174
177
|
}
|
|
175
|
-
.awsui_header-cell-
|
|
178
|
+
.awsui_header-cell-content_1spae_1kck5_138.awsui_header-cell-fake-focus_1spae_1kck5_171:not(#\9)::before {
|
|
176
179
|
content: " ";
|
|
177
180
|
display: block;
|
|
178
181
|
position: absolute;
|
|
@@ -184,23 +187,23 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
184
187
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
185
188
|
}
|
|
186
189
|
|
|
187
|
-
.awsui_header-cell-
|
|
190
|
+
.awsui_header-cell-sortable_1spae_1kck5_115:not(#\9):not(.awsui_header-cell-disabled_1spae_1kck5_138) > .awsui_header-cell-content_1spae_1kck5_138 {
|
|
188
191
|
cursor: pointer;
|
|
189
192
|
}
|
|
190
|
-
.awsui_header-cell-
|
|
193
|
+
.awsui_header-cell-sortable_1spae_1kck5_115:not(#\9):not(.awsui_header-cell-disabled_1spae_1kck5_138) > .awsui_header-cell-content_1spae_1kck5_138:hover, .awsui_header-cell-sortable_1spae_1kck5_115:not(#\9):not(.awsui_header-cell-disabled_1spae_1kck5_138).awsui_header-cell-sorted_1spae_1kck5_138 > .awsui_header-cell-content_1spae_1kck5_138 {
|
|
191
194
|
color: var(--color-text-interactive-active-vol84d, #000716);
|
|
192
195
|
}
|
|
193
|
-
.awsui_header-cell-
|
|
196
|
+
.awsui_header-cell-sortable_1spae_1kck5_115:not(#\9):not(.awsui_header-cell-disabled_1spae_1kck5_138) > .awsui_header-cell-content_1spae_1kck5_138:hover > .awsui_sorting-icon_1spae_1kck5_131, .awsui_header-cell-sortable_1spae_1kck5_115:not(#\9):not(.awsui_header-cell-disabled_1spae_1kck5_138).awsui_header-cell-sorted_1spae_1kck5_138 > .awsui_header-cell-content_1spae_1kck5_138 > .awsui_sorting-icon_1spae_1kck5_131 {
|
|
194
197
|
color: var(--color-text-interactive-active-vol84d, #000716);
|
|
195
198
|
}
|
|
196
199
|
|
|
197
|
-
.awsui_header-cell-
|
|
200
|
+
.awsui_header-cell-text_1spae_1kck5_200:not(#\9):not(.awsui_header-cell-text-wrap_1spae_1kck5_200) {
|
|
198
201
|
white-space: nowrap;
|
|
199
202
|
overflow: hidden;
|
|
200
203
|
text-overflow: ellipsis;
|
|
201
204
|
}
|
|
202
205
|
|
|
203
|
-
.awsui_header-cell-
|
|
204
|
-
.awsui_header-cell-
|
|
206
|
+
.awsui_header-cell-ascending_1spae_1kck5_206:not(#\9),
|
|
207
|
+
.awsui_header-cell-descending_1spae_1kck5_207:not(#\9) {
|
|
205
208
|
/* used in test-utils */
|
|
206
209
|
}
|
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"header-cell": "awsui_header-
|
|
6
|
-
"header-cell-sticky": "awsui_header-cell-
|
|
7
|
-
"header-cell-stuck": "awsui_header-cell-
|
|
8
|
-
"header-cell-variant-full-page": "awsui_header-cell-variant-full-
|
|
9
|
-
"header-cell-sortable": "awsui_header-cell-
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"header-cell-
|
|
13
|
-
"header-cell-
|
|
14
|
-
"header-cell-
|
|
15
|
-
"header-cell-
|
|
16
|
-
"header-cell-text
|
|
17
|
-
"header-cell-
|
|
18
|
-
"header-cell-
|
|
5
|
+
"header-cell": "awsui_header-cell_1spae_1kck5_93",
|
|
6
|
+
"header-cell-sticky": "awsui_header-cell-sticky_1spae_1kck5_103",
|
|
7
|
+
"header-cell-stuck": "awsui_header-cell-stuck_1spae_1kck5_106",
|
|
8
|
+
"header-cell-variant-full-page": "awsui_header-cell-variant-full-page_1spae_1kck5_109",
|
|
9
|
+
"header-cell-sortable": "awsui_header-cell-sortable_1spae_1kck5_115",
|
|
10
|
+
"header-cell-resizable": "awsui_header-cell-resizable_1spae_1kck5_127",
|
|
11
|
+
"sorting-icon": "awsui_sorting-icon_1spae_1kck5_131",
|
|
12
|
+
"header-cell-disabled": "awsui_header-cell-disabled_1spae_1kck5_138",
|
|
13
|
+
"header-cell-sorted": "awsui_header-cell-sorted_1spae_1kck5_138",
|
|
14
|
+
"header-cell-content": "awsui_header-cell-content_1spae_1kck5_138",
|
|
15
|
+
"header-cell-fake-focus": "awsui_header-cell-fake-focus_1spae_1kck5_171",
|
|
16
|
+
"header-cell-text": "awsui_header-cell-text_1spae_1kck5_200",
|
|
17
|
+
"header-cell-text-wrap": "awsui_header-cell-text-wrap_1spae_1kck5_200",
|
|
18
|
+
"header-cell-ascending": "awsui_header-cell-ascending_1spae_1kck5_206",
|
|
19
|
+
"header-cell-descending": "awsui_header-cell-descending_1spae_1kck5_207"
|
|
19
20
|
};
|
|
20
21
|
|