@cloudscape-design/components 3.0.241 → 3.0.243

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.
Files changed (69) hide show
  1. package/app-layout/drawer/index.d.ts.map +1 -1
  2. package/app-layout/drawer/index.js +6 -3
  3. package/app-layout/drawer/index.js.map +1 -1
  4. package/attribute-editor/row.js +2 -2
  5. package/attribute-editor/row.js.map +1 -1
  6. package/autosuggest/internal.d.ts.map +1 -1
  7. package/autosuggest/internal.js +3 -2
  8. package/autosuggest/internal.js.map +1 -1
  9. package/box/styles.css.js +189 -189
  10. package/box/styles.scoped.css +251 -251
  11. package/box/styles.selectors.js +189 -189
  12. package/button/interfaces.d.ts +1 -1
  13. package/button/interfaces.js.map +1 -1
  14. package/button/internal.d.ts.map +1 -1
  15. package/button/internal.js +6 -6
  16. package/button/internal.js.map +1 -1
  17. package/code-editor/index.d.ts.map +1 -1
  18. package/code-editor/index.js +3 -2
  19. package/code-editor/index.js.map +1 -1
  20. package/code-editor/status-bar.d.ts +1 -1
  21. package/code-editor/status-bar.d.ts.map +1 -1
  22. package/code-editor/status-bar.js.map +1 -1
  23. package/code-editor/tab-button.d.ts +1 -1
  24. package/code-editor/tab-button.d.ts.map +1 -1
  25. package/code-editor/tab-button.js.map +1 -1
  26. package/expandable-section/expandable-section-header.d.ts +1 -0
  27. package/expandable-section/expandable-section-header.d.ts.map +1 -1
  28. package/expandable-section/expandable-section-header.js +15 -8
  29. package/expandable-section/expandable-section-header.js.map +1 -1
  30. package/expandable-section/interfaces.d.ts +3 -2
  31. package/expandable-section/interfaces.d.ts.map +1 -1
  32. package/expandable-section/interfaces.js.map +1 -1
  33. package/expandable-section/styles.css.js +23 -21
  34. package/expandable-section/styles.scoped.css +56 -47
  35. package/expandable-section/styles.selectors.js +23 -21
  36. package/header/styles.css.js +44 -44
  37. package/header/styles.scoped.css +50 -50
  38. package/header/styles.selectors.js +44 -44
  39. package/internal/base-component/styles.scoped.css +9 -9
  40. package/internal/environment.js +1 -1
  41. package/internal/generated/styles/tokens.js +1 -1
  42. package/internal/generated/theming/index.cjs +12 -12
  43. package/internal/generated/theming/index.js +12 -12
  44. package/internal/hooks/use-unique-id/index.d.ts +0 -1
  45. package/internal/hooks/use-unique-id/index.d.ts.map +1 -1
  46. package/internal/hooks/use-unique-id/index.js +8 -6
  47. package/internal/hooks/use-unique-id/index.js.map +1 -1
  48. package/internal/manifest.json +1 -1
  49. package/package.json +1 -1
  50. package/progress-bar/styles.css.js +18 -18
  51. package/progress-bar/styles.scoped.css +33 -33
  52. package/progress-bar/styles.selectors.js +18 -18
  53. package/property-filter/property-filter-autosuggest.d.ts.map +1 -1
  54. package/property-filter/property-filter-autosuggest.js +3 -2
  55. package/property-filter/property-filter-autosuggest.js.map +1 -1
  56. package/select/parts/trigger.d.ts.map +1 -1
  57. package/select/parts/trigger.js +5 -4
  58. package/select/parts/trigger.js.map +1 -1
  59. package/table/header-cell/styles.css.js +19 -19
  60. package/table/header-cell/styles.scoped.css +43 -34
  61. package/table/header-cell/styles.selectors.js +19 -19
  62. package/table/resizer/styles.css.js +6 -6
  63. package/table/resizer/styles.scoped.css +17 -14
  64. package/table/resizer/styles.selectors.js +6 -6
  65. package/tabs/styles.css.js +21 -21
  66. package/tabs/styles.scoped.css +39 -39
  67. package/tabs/styles.selectors.js +21 -21
  68. package/tutorial-panel/components/tutorial-detail-view/task.js +1 -1
  69. package/tutorial-panel/components/tutorial-detail-view/task.js.map +1 -1
@@ -2,23 +2,23 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "progress": "awsui_progress_11huc_15drg_185",
6
- "result-state": "awsui_result-state_11huc_15drg_199",
7
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_15drg_1",
8
- "root": "awsui_root_11huc_15drg_221",
9
- "with-result-button": "awsui_with-result-button_11huc_15drg_234",
10
- "result-text": "awsui_result-text_11huc_15drg_238",
11
- "result-container-error": "awsui_result-container-error_11huc_15drg_242",
12
- "result-container-success": "awsui_result-container-success_11huc_15drg_242",
13
- "result-button": "awsui_result-button_11huc_15drg_246",
14
- "word-wrap": "awsui_word-wrap_11huc_15drg_251",
15
- "label-flash": "awsui_label-flash_11huc_15drg_257",
16
- "label-key-value": "awsui_label-key-value_11huc_15drg_261",
17
- "flash": "awsui_flash_11huc_15drg_269",
18
- "progress-container": "awsui_progress-container_11huc_15drg_273",
19
- "percentage-container": "awsui_percentage-container_11huc_15drg_280",
20
- "percentage": "awsui_percentage_11huc_15drg_280",
21
- "complete": "awsui_complete_11huc_15drg_315",
22
- "progress-in-flash": "awsui_progress-in-flash_11huc_15drg_330"
5
+ "progress": "awsui_progress_11huc_1flst_185",
6
+ "result-state": "awsui_result-state_11huc_1flst_199",
7
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_1flst_1",
8
+ "root": "awsui_root_11huc_1flst_221",
9
+ "with-result-button": "awsui_with-result-button_11huc_1flst_234",
10
+ "result-text": "awsui_result-text_11huc_1flst_238",
11
+ "result-container-error": "awsui_result-container-error_11huc_1flst_242",
12
+ "result-container-success": "awsui_result-container-success_11huc_1flst_242",
13
+ "result-button": "awsui_result-button_11huc_1flst_246",
14
+ "word-wrap": "awsui_word-wrap_11huc_1flst_251",
15
+ "label-flash": "awsui_label-flash_11huc_1flst_257",
16
+ "label-key-value": "awsui_label-key-value_11huc_1flst_261",
17
+ "flash": "awsui_flash_11huc_1flst_269",
18
+ "progress-container": "awsui_progress-container_11huc_1flst_273",
19
+ "percentage-container": "awsui_percentage-container_11huc_1flst_280",
20
+ "percentage": "awsui_percentage_11huc_1flst_280",
21
+ "complete": "awsui_complete_11huc_1flst_315",
22
+ "progress-in-flash": "awsui_progress-in-flash_11huc_1flst_330"
23
23
  };
24
24
 
@@ -1 +1 @@
1
- {"version":3,"file":"property-filter-autosuggest.d.ts","sourceRoot":"lib/default/","sources":["property-filter/property-filter-autosuggest.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAmB,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAM9E,OAAO,EAEL,sBAAsB,EAGvB,MAAM,oBAAoB,CAAC;AAK5B,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAIlF,OAAyB,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AASjG,MAAM,WAAW,8BAA+B,SAAQ,gBAAgB,EAAE,0BAA0B;IAClG,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,sBAAsB,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAChE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,QAAA,MAAM,yBAAyB,4GA0K9B,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"property-filter-autosuggest.d.ts","sourceRoot":"lib/default/","sources":["property-filter/property-filter-autosuggest.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAmB,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAM9E,OAAO,EAEL,sBAAsB,EAGvB,MAAM,oBAAoB,CAAC;AAK5B,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAIlF,OAAyB,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AASjG,MAAM,WAAW,8BAA+B,SAAQ,gBAAgB,EAAE,0BAA0B;IAClG,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,sBAAsB,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAChE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,QAAA,MAAM,yBAAyB,4GA2K9B,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -5,7 +5,7 @@ import React, { useMemo, useRef } from 'react';
5
5
  import { useAutosuggestItems } from '../autosuggest/options-controller';
6
6
  import { useDropdownStatus } from '../internal/components/dropdown-status';
7
7
  import DropdownFooter from '../internal/components/dropdown-footer';
8
- import { generateUniqueId, useUniqueId } from '../internal/hooks/use-unique-id';
8
+ import { useUniqueId } from '../internal/hooks/use-unique-id';
9
9
  import { fireNonCancelableEvent, } from '../internal/events';
10
10
  import autosuggestStyles from '../autosuggest/styles.css.js';
11
11
  import styles from './styles.css.js';
@@ -92,7 +92,8 @@ const PropertyFilterAutosuggest = React.forwardRef((props, ref) => {
92
92
  const selfControlId = useUniqueId('input');
93
93
  const controlId = (_a = rest.controlId) !== null && _a !== void 0 ? _a : selfControlId;
94
94
  const listId = useUniqueId('list');
95
- const highlightedOptionId = autosuggestItemsState.highlightedOption ? generateUniqueId() : undefined;
95
+ const highlightedOptionIdSource = useUniqueId();
96
+ const highlightedOptionId = autosuggestItemsState.highlightedOption ? highlightedOptionIdSource : undefined;
96
97
  const isEmpty = !value && !autosuggestItemsState.items.length;
97
98
  const dropdownStatus = useDropdownStatus(Object.assign(Object.assign({}, props), { isEmpty, onRecoveryClick: handleRecoveryClick }));
98
99
  let content = null;
@@ -1 +1 @@
1
- {"version":3,"file":"property-filter-autosuggest.js","sourceRoot":"lib/default/","sources":["property-filter/property-filter-autosuggest.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,OAAO,KAAK,EAAE,EAAO,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAGxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,cAAc,MAA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esContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { Ref, useMemo, useRef } from 'react';\n\nimport { useAutosuggestItems } from '../autosuggest/options-controller';\nimport { AutosuggestItem, AutosuggestProps } from '../autosuggest/interfaces';\n\nimport { useDropdownStatus } from '../internal/components/dropdown-status';\nimport DropdownFooter from '../internal/components/dropdown-footer';\n\nimport { generateUniqueId, useUniqueId } from '../internal/hooks/use-unique-id';\nimport {\n fireNonCancelableEvent,\n CancelableEventHandler,\n NonCancelableCustomEvent,\n BaseKeyDetail,\n} from '../internal/events';\nimport { BaseChangeDetail } from '../input/interfaces';\nimport autosuggestStyles from '../autosuggest/styles.css.js';\nimport styles from './styles.css.js';\nimport { fireCancelableEvent } from '../internal/events/index';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport AutosuggestOptionsList from '../autosuggest/options-list';\nimport { useAutosuggestLoadMore } from '../autosuggest/load-more-controller';\nimport { OptionsLoadItemsDetail } from '../internal/components/dropdown/interfaces';\nimport AutosuggestInput, { AutosuggestInputRef } from '../internal/components/autosuggest-input';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport clsx from 'clsx';\nimport { getFirstFocusable } from '../internal/components/focus-lock/utils';\nimport { filterOptions } from './filter-options';\n\nconst DROPDOWN_WIDTH_OPTIONS_LIST = 300;\nconst DROPDOWN_WIDTH_CUSTOM_FORM = 200;\n\nexport interface PropertyFilterAutosuggestProps extends AutosuggestProps, InternalBaseComponentProps {\n customForm?: React.ReactNode;\n filterText?: string;\n onOptionClick?: CancelableEventHandler<AutosuggestProps.Option>;\n hideEnteredTextOption?: boolean;\n searchResultsId?: string;\n}\n\nconst PropertyFilterAutosuggest = React.forwardRef(\n (props: PropertyFilterAutosuggestProps, ref: Ref<AutosuggestInputRef>) => {\n const {\n value,\n onChange,\n onFocus,\n onBlur,\n onLoadItems,\n options,\n statusType = 'finished',\n placeholder,\n disabled,\n ariaLabel,\n enteredTextLabel,\n onKeyDown,\n virtualScroll,\n expandToViewport,\n customForm,\n filterText,\n onOptionClick,\n hideEnteredTextOption,\n searchResultsId,\n ...rest\n } = props;\n const highlightText = filterText === undefined ? value : filterText;\n\n const customFormRef = useRef<HTMLDivElement>(null);\n const autosuggestInputRef = useRef<AutosuggestInputRef>(null);\n const mergedRef = useMergeRefs(autosuggestInputRef, ref);\n\n const filteredOptions = useMemo(() => filterOptions(options || [], highlightText), [options, highlightText]);\n const [autosuggestItemsState, autosuggestItemsHandlers] = useAutosuggestItems({\n options: filteredOptions,\n filterValue: value,\n filterText: highlightText,\n filteringType: 'manual',\n hideEnteredTextLabel: hideEnteredTextOption,\n onSelectItem: (option: AutosuggestItem) => {\n const value = option.value || '';\n fireNonCancelableEvent(onChange, { value });\n const selectedCancelled = fireCancelableEvent(onOptionClick, option);\n if (!selectedCancelled) {\n autosuggestInputRef.current?.close();\n } else {\n autosuggestItemsHandlers.resetHighlightWithKeyboard();\n }\n },\n });\n\n const autosuggestLoadMoreHandlers = useAutosuggestLoadMore({\n options,\n statusType,\n onLoadItems: (detail: OptionsLoadItemsDetail) => fireNonCancelableEvent(onLoadItems, detail),\n });\n\n const handleChange = (event: NonCancelableCustomEvent<BaseChangeDetail>) => {\n autosuggestItemsHandlers.resetHighlightWithKeyboard();\n fireNonCancelableEvent(onChange, event.detail);\n };\n\n const handleDelayedInput = (event: NonCancelableCustomEvent<BaseChangeDetail>) => {\n autosuggestLoadMoreHandlers.fireLoadMoreOnInputChange(event.detail.value);\n };\n\n const handleFocus = () => {\n autosuggestLoadMoreHandlers.fireLoadMoreOnInputFocus();\n fireCancelableEvent(onFocus, null);\n };\n\n const handleBlur = () => {\n fireCancelableEvent(onBlur, null);\n };\n\n const handleKeyDown = (e: CustomEvent<BaseKeyDetail>) => {\n fireCancelableEvent(onKeyDown, e.detail);\n };\n\n const handlePressArrowDown = () => {\n autosuggestItemsHandlers.moveHighlightWithKeyboard(1);\n if (customFormRef.current) {\n getFirstFocusable(customFormRef.current)?.focus();\n }\n };\n\n const handlePressArrowUp = () => {\n autosuggestItemsHandlers.moveHighlightWithKeyboard(-1);\n };\n\n const handlePressEnter = () => {\n return autosuggestItemsHandlers.selectHighlightedOptionWithKeyboard();\n };\n\n const handleCloseDropdown = () => {\n autosuggestItemsHandlers.resetHighlightWithKeyboard();\n };\n\n const handleRecoveryClick = () => {\n autosuggestLoadMoreHandlers.fireLoadMoreOnRecoveryClick();\n autosuggestInputRef.current?.focus();\n };\n\n const selfControlId = useUniqueId('input');\n const controlId = rest.controlId ?? selfControlId;\n const listId = useUniqueId('list');\n const highlightedOptionId = autosuggestItemsState.highlightedOption ? generateUniqueId() : undefined;\n\n const isEmpty = !value && !autosuggestItemsState.items.length;\n const dropdownStatus = useDropdownStatus({ ...props, isEmpty, onRecoveryClick: handleRecoveryClick });\n\n let content = null;\n if (customForm) {\n content = (\n <div ref={customFormRef} className={styles['custom-content-wrapper']}>\n {customForm}\n </div>\n );\n } else if (autosuggestItemsState.items.length > 0) {\n content = (\n <AutosuggestOptionsList\n autosuggestItemsState={autosuggestItemsState}\n autosuggestItemsHandlers={autosuggestItemsHandlers}\n highlightedOptionId={highlightedOptionId}\n highlightText={highlightText}\n listId={listId}\n controlId={controlId}\n enteredTextLabel={enteredTextLabel}\n handleLoadMore={autosuggestLoadMoreHandlers.fireLoadMoreOnScroll}\n hasDropdownStatus={dropdownStatus.content !== null}\n virtualScroll={virtualScroll}\n listBottom={!dropdownStatus.isSticky ? <DropdownFooter content={dropdownStatus.content} /> : null}\n />\n );\n }\n\n return (\n <AutosuggestInput\n ref={mergedRef}\n {...rest}\n className={clsx(autosuggestStyles.root, styles.input)}\n value={value}\n onChange={handleChange}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onKeyDown={handleKeyDown}\n controlId={controlId}\n placeholder={placeholder}\n disabled={disabled}\n ariaLabel={ariaLabel}\n expandToViewport={expandToViewport}\n ariaControls={listId}\n ariaActivedescendant={highlightedOptionId}\n ariaDescribedby={searchResultsId}\n dropdownExpanded={autosuggestItemsState.items.length > 1 || dropdownStatus.content !== null || !!customForm}\n dropdownContentKey={customForm ? 'custom' : 'options'}\n dropdownContent={content}\n dropdownFooter={\n dropdownStatus.isSticky ? (\n <DropdownFooter content={dropdownStatus.content} hasItems={autosuggestItemsState.items.length >= 1} />\n ) : null\n }\n dropdownWidth={customForm ? DROPDOWN_WIDTH_CUSTOM_FORM : DROPDOWN_WIDTH_OPTIONS_LIST}\n dropdownContentFocusable={!!customForm}\n onCloseDropdown={handleCloseDropdown}\n onDelayedInput={handleDelayedInput}\n onPressArrowDown={handlePressArrowDown}\n onPressArrowUp={handlePressArrowUp}\n onPressEnter={handlePressEnter}\n />\n );\n }\n);\n\nexport default PropertyFilterAutosuggest;\n"]}
1
+ {"version":3,"file":"property-filter-autosuggest.js","sourceRoot":"lib/default/","sources":["property-filter/property-filter-autosuggest.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,OAAO,KAAK,EAAE,EAAO,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAGxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,cAAc,MAAM,wCAAwC,CAAC;AAEpE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EACL,sBAAsB,GAIvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,iBAAiB,MAAM,8BAA8B,CAAC;AAC7D,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,OAAO,sBAAsB,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,OAAO,gBAAyC,MAAM,0CAA0C,CAAC;AACjG,OAAO,EAAE,YAA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BAAgB,EAClC,YAAY,EAAE,MAAM,EACpB,oBAAoB,EAAE,mBAAmB,EACzC,eAAe,EAAE,eAAe,EAChC,gBAAgB,EAAE,qBAAqB,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,cAAc,CAAC,OAAO,KAAK,IAAI,IAAI,CAAC,CAAC,UAAU,EAC3G,kBAAkB,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EACrD,eAAe,EAAE,OAAO,EACxB,cAAc,EACZ,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CACxB,oBAAC,cAAc,IAAC,OAAO,EAAE,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE,qBAAqB,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,GAAI,CACvG,CAAC,CAAC,CAAC,IAAI,EAEV,aAAa,EAAE,UAAU,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,2BAA2B,EACpF,wBAAwB,EAAE,CAAC,CAAC,UAAU,EACtC,eAAe,EAAE,mBAAmB,EACpC,cAAc,EAAE,kBAAkB,EAClC,gBAAgB,EAAE,oBAAoB,EACtC,cAAc,EAAE,kBAAkB,EAClC,YAAY,EAAE,gBAAgB,IAC9B,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,yBAAyB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { Ref, useMemo, useRef } from 'react';\n\nimport { useAutosuggestItems } from '../autosuggest/options-controller';\nimport { AutosuggestItem, AutosuggestProps } from '../autosuggest/interfaces';\n\nimport { useDropdownStatus } from '../internal/components/dropdown-status';\nimport DropdownFooter from '../internal/components/dropdown-footer';\n\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport {\n fireNonCancelableEvent,\n CancelableEventHandler,\n NonCancelableCustomEvent,\n BaseKeyDetail,\n} from '../internal/events';\nimport { BaseChangeDetail } from '../input/interfaces';\nimport autosuggestStyles from '../autosuggest/styles.css.js';\nimport styles from './styles.css.js';\nimport { fireCancelableEvent } from '../internal/events/index';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport AutosuggestOptionsList from '../autosuggest/options-list';\nimport { useAutosuggestLoadMore } from '../autosuggest/load-more-controller';\nimport { OptionsLoadItemsDetail } from '../internal/components/dropdown/interfaces';\nimport AutosuggestInput, { AutosuggestInputRef } from '../internal/components/autosuggest-input';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport clsx from 'clsx';\nimport { getFirstFocusable } from '../internal/components/focus-lock/utils';\nimport { filterOptions } from './filter-options';\n\nconst DROPDOWN_WIDTH_OPTIONS_LIST = 300;\nconst DROPDOWN_WIDTH_CUSTOM_FORM = 200;\n\nexport interface PropertyFilterAutosuggestProps extends AutosuggestProps, InternalBaseComponentProps {\n customForm?: React.ReactNode;\n filterText?: string;\n onOptionClick?: CancelableEventHandler<AutosuggestProps.Option>;\n hideEnteredTextOption?: boolean;\n searchResultsId?: string;\n}\n\nconst PropertyFilterAutosuggest = React.forwardRef(\n (props: PropertyFilterAutosuggestProps, ref: Ref<AutosuggestInputRef>) => {\n const {\n value,\n onChange,\n onFocus,\n onBlur,\n onLoadItems,\n options,\n statusType = 'finished',\n placeholder,\n disabled,\n ariaLabel,\n enteredTextLabel,\n onKeyDown,\n virtualScroll,\n expandToViewport,\n customForm,\n filterText,\n onOptionClick,\n hideEnteredTextOption,\n searchResultsId,\n ...rest\n } = props;\n const highlightText = filterText === undefined ? value : filterText;\n\n const customFormRef = useRef<HTMLDivElement>(null);\n const autosuggestInputRef = useRef<AutosuggestInputRef>(null);\n const mergedRef = useMergeRefs(autosuggestInputRef, ref);\n\n const filteredOptions = useMemo(() => filterOptions(options || [], highlightText), [options, highlightText]);\n const [autosuggestItemsState, autosuggestItemsHandlers] = useAutosuggestItems({\n options: filteredOptions,\n filterValue: value,\n filterText: highlightText,\n filteringType: 'manual',\n hideEnteredTextLabel: hideEnteredTextOption,\n onSelectItem: (option: AutosuggestItem) => {\n const value = option.value || '';\n fireNonCancelableEvent(onChange, { value });\n const selectedCancelled = fireCancelableEvent(onOptionClick, option);\n if (!selectedCancelled) {\n autosuggestInputRef.current?.close();\n } else {\n autosuggestItemsHandlers.resetHighlightWithKeyboard();\n }\n },\n });\n\n const autosuggestLoadMoreHandlers = useAutosuggestLoadMore({\n options,\n statusType,\n onLoadItems: (detail: OptionsLoadItemsDetail) => fireNonCancelableEvent(onLoadItems, detail),\n });\n\n const handleChange = (event: NonCancelableCustomEvent<BaseChangeDetail>) => {\n autosuggestItemsHandlers.resetHighlightWithKeyboard();\n fireNonCancelableEvent(onChange, event.detail);\n };\n\n const handleDelayedInput = (event: NonCancelableCustomEvent<BaseChangeDetail>) => {\n autosuggestLoadMoreHandlers.fireLoadMoreOnInputChange(event.detail.value);\n };\n\n const handleFocus = () => {\n autosuggestLoadMoreHandlers.fireLoadMoreOnInputFocus();\n fireCancelableEvent(onFocus, null);\n };\n\n const handleBlur = () => {\n fireCancelableEvent(onBlur, null);\n };\n\n const handleKeyDown = (e: CustomEvent<BaseKeyDetail>) => {\n fireCancelableEvent(onKeyDown, e.detail);\n };\n\n const handlePressArrowDown = () => {\n autosuggestItemsHandlers.moveHighlightWithKeyboard(1);\n if (customFormRef.current) {\n getFirstFocusable(customFormRef.current)?.focus();\n }\n };\n\n const handlePressArrowUp = () => {\n autosuggestItemsHandlers.moveHighlightWithKeyboard(-1);\n };\n\n const handlePressEnter = () => {\n return autosuggestItemsHandlers.selectHighlightedOptionWithKeyboard();\n };\n\n const handleCloseDropdown = () => {\n autosuggestItemsHandlers.resetHighlightWithKeyboard();\n };\n\n const handleRecoveryClick = () => {\n autosuggestLoadMoreHandlers.fireLoadMoreOnRecoveryClick();\n autosuggestInputRef.current?.focus();\n };\n\n const selfControlId = useUniqueId('input');\n const controlId = rest.controlId ?? selfControlId;\n const listId = useUniqueId('list');\n const highlightedOptionIdSource = useUniqueId();\n const highlightedOptionId = autosuggestItemsState.highlightedOption ? highlightedOptionIdSource : undefined;\n\n const isEmpty = !value && !autosuggestItemsState.items.length;\n const dropdownStatus = useDropdownStatus({ ...props, isEmpty, onRecoveryClick: handleRecoveryClick });\n\n let content = null;\n if (customForm) {\n content = (\n <div ref={customFormRef} className={styles['custom-content-wrapper']}>\n {customForm}\n </div>\n );\n } else if (autosuggestItemsState.items.length > 0) {\n content = (\n <AutosuggestOptionsList\n autosuggestItemsState={autosuggestItemsState}\n autosuggestItemsHandlers={autosuggestItemsHandlers}\n highlightedOptionId={highlightedOptionId}\n highlightText={highlightText}\n listId={listId}\n controlId={controlId}\n enteredTextLabel={enteredTextLabel}\n handleLoadMore={autosuggestLoadMoreHandlers.fireLoadMoreOnScroll}\n hasDropdownStatus={dropdownStatus.content !== null}\n virtualScroll={virtualScroll}\n listBottom={!dropdownStatus.isSticky ? <DropdownFooter content={dropdownStatus.content} /> : null}\n />\n );\n }\n\n return (\n <AutosuggestInput\n ref={mergedRef}\n {...rest}\n className={clsx(autosuggestStyles.root, styles.input)}\n value={value}\n onChange={handleChange}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onKeyDown={handleKeyDown}\n controlId={controlId}\n placeholder={placeholder}\n disabled={disabled}\n ariaLabel={ariaLabel}\n expandToViewport={expandToViewport}\n ariaControls={listId}\n ariaActivedescendant={highlightedOptionId}\n ariaDescribedby={searchResultsId}\n dropdownExpanded={autosuggestItemsState.items.length > 1 || dropdownStatus.content !== null || !!customForm}\n dropdownContentKey={customForm ? 'custom' : 'options'}\n dropdownContent={content}\n dropdownFooter={\n dropdownStatus.isSticky ? (\n <DropdownFooter content={dropdownStatus.content} hasItems={autosuggestItemsState.items.length >= 1} />\n ) : null\n }\n dropdownWidth={customForm ? DROPDOWN_WIDTH_CUSTOM_FORM : DROPDOWN_WIDTH_OPTIONS_LIST}\n dropdownContentFocusable={!!customForm}\n onCloseDropdown={handleCloseDropdown}\n onDelayedInput={handleDelayedInput}\n onPressArrowDown={handlePressArrowDown}\n onPressArrowUp={handlePressArrowUp}\n onPressEnter={handlePressEnter}\n />\n );\n }\n);\n\nexport default PropertyFilterAutosuggest;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"trigger.d.ts","sourceRoot":"lib/default/","sources":["select/parts/trigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAG5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD,MAAM,WAAW,YAAa,SAAQ,+BAA+B;IACnE,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,YAAY,EAAE,kBAAkB,CAAC;IACjC,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC;IAC5C,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,OAAO,wFAuDZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"trigger.d.ts","sourceRoot":"lib/default/","sources":["select/parts/trigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAG5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD,MAAM,WAAW,YAAa,SAAQ,+BAA+B;IACnE,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,YAAY,EAAE,kBAAkB,CAAC;IACjC,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC;IAC5C,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,OAAO,wFAwDZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,16 +1,17 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import React, { useMemo } from 'react';
3
+ import React from 'react';
4
4
  import { useMergeRefs } from '../../internal/hooks/use-merge-refs';
5
5
  import clsx from 'clsx';
6
6
  import ButtonTrigger from '../../internal/components/button-trigger';
7
7
  import styles from './styles.css.js';
8
8
  import Option from '../../internal/components/option';
9
- import { generateUniqueId } from '../../internal/hooks/use-unique-id';
9
+ import { useUniqueId } from '../../internal/hooks/use-unique-id';
10
10
  import { joinStrings } from '../../internal/utils/strings';
11
11
  const Trigger = React.forwardRef(({ ariaLabelledby, ariaDescribedby, controlId, invalid, triggerProps, selectedOption, triggerVariant, inFilteringToken, isOpen, placeholder, disabled, }, ref) => {
12
- const id = useMemo(() => controlId !== null && controlId !== void 0 ? controlId : generateUniqueId(), [controlId]);
13
- const triggerContentId = generateUniqueId('trigger-content-');
12
+ const generatedId = useUniqueId();
13
+ const id = controlId !== null && controlId !== void 0 ? controlId : generatedId;
14
+ const triggerContentId = useUniqueId('trigger-content-');
14
15
  let triggerContent = null;
15
16
  if (!selectedOption) {
16
17
  triggerContent = (React.createElement("span", { "aria-disabled": "true", className: clsx(styles.placeholder, styles.trigger), id: triggerContentId }, placeholder));
@@ -1 +1 @@
1
- {"version":3,"file":"trigger.js","sourceRoot":"lib/default/","sources":["select/par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I,GAAI,CAAC;KAClH;SAAM;QACL,cAAc,GAAG,CACf,8BAAM,EAAE,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,CAAC,OAAO,IAClD,cAAc,CAAC,KAAK,IAAI,cAAc,CAAC,KAAK,CACxC,CACR,CAAC;KACH;IAED,MAAM,SAAS,GAAG,YAAY,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAEtD,OAAO,CACL,oBAAC,aAAa,oBACR,YAAY,IAChB,EAAE,EAAE,EAAE,EACN,GAAG,EAAE,SAAS,EACd,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,WAAW,CAAC,cAAc,EAAE,gBAAgB,CAAC,KAE5D,cAAc,CACD,CACjB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,OAAO,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useMemo } from 'react';\nimport { useMergeRefs } from '../../internal/hooks/use-merge-refs';\nimport clsx from 'clsx';\nimport ButtonTrigger from '../../internal/components/button-trigger';\nimport { SelectProps } from '../interfaces';\nimport styles from './styles.css.js';\nimport { OptionDefinition } from '../../internal/components/option/interfaces';\nimport { FormFieldValidationControlProps } from '../../internal/context/form-field-context';\nimport Option from '../../internal/components/option';\nimport { generateUniqueId } from '../../internal/hooks/use-unique-id';\nimport { SelectTriggerProps } from '../utils/use-select';\nimport { joinStrings } from '../../internal/utils/strings';\n\nexport interface TriggerProps extends FormFieldValidationControlProps {\n placeholder: string | undefined;\n disabled: boolean | undefined;\n triggerProps: SelectTriggerProps;\n selectedOption: OptionDefinition | null;\n isOpen?: boolean;\n triggerVariant?: SelectProps.TriggerVariant;\n inFilteringToken?: boolean;\n}\n\nconst Trigger = React.forwardRef(\n (\n {\n ariaLabelledby,\n ariaDescribedby,\n controlId,\n invalid,\n triggerProps,\n selectedOption,\n triggerVariant,\n inFilteringToken,\n isOpen,\n placeholder,\n disabled,\n }: TriggerProps,\n ref: React.Ref<HTMLButtonElement>\n ) => {\n const id = useMemo(() => controlId ?? generateUniqueId(), [controlId]);\n const triggerContentId = generateUniqueId('trigger-content-');\n\n let triggerContent = null;\n if (!selectedOption) {\n triggerContent = (\n <span aria-disabled=\"true\" className={clsx(styles.placeholder, styles.trigger)} id={triggerContentId}>\n {placeholder}\n </span>\n );\n } else if (triggerVariant === 'option') {\n triggerContent = <Option id={triggerContentId} option={{ ...selectedOption, disabled }} triggerVariant={true} />;\n } else {\n triggerContent = (\n <span id={triggerContentId} className={styles.trigger}>\n {selectedOption.label || selectedOption.value}\n </span>\n );\n }\n\n const mergedRef = useMergeRefs(triggerProps.ref, ref);\n\n return (\n <ButtonTrigger\n {...triggerProps}\n id={id}\n ref={mergedRef}\n pressed={isOpen}\n disabled={disabled}\n invalid={invalid}\n inFilteringToken={inFilteringToken}\n ariaDescribedby={ariaDescribedby}\n ariaLabelledby={joinStrings(ariaLabelledby, triggerContentId)}\n >\n {triggerContent}\n </ButtonTrigger>\n );\n }\n);\n\nexport default Trigger;\n"]}
1
+ {"version":3,"file":"trigger.js","sourceRoot":"lib/default/","sources":["select/parts/trigger.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,aAAa,MAAM,0CAA0C,CAAC;AAErE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,MAAM,MAAM,kCAAkC,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAY3D,MAAM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AE,eAAe,EAChC,cAAc,EAAE,WAAW,CAAC,cAAc,EAAE,gBAAgB,CAAC,KAE5D,cAAc,CACD,CACjB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,OAAO,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { useMergeRefs } from '../../internal/hooks/use-merge-refs';\nimport clsx from 'clsx';\nimport ButtonTrigger from '../../internal/components/button-trigger';\nimport { SelectProps } from '../interfaces';\nimport styles from './styles.css.js';\nimport { OptionDefinition } from '../../internal/components/option/interfaces';\nimport { FormFieldValidationControlProps } from '../../internal/context/form-field-context';\nimport Option from '../../internal/components/option';\nimport { useUniqueId } from '../../internal/hooks/use-unique-id';\nimport { SelectTriggerProps } from '../utils/use-select';\nimport { joinStrings } from '../../internal/utils/strings';\n\nexport interface TriggerProps extends FormFieldValidationControlProps {\n placeholder: string | undefined;\n disabled: boolean | undefined;\n triggerProps: SelectTriggerProps;\n selectedOption: OptionDefinition | null;\n isOpen?: boolean;\n triggerVariant?: SelectProps.TriggerVariant;\n inFilteringToken?: boolean;\n}\n\nconst Trigger = React.forwardRef(\n (\n {\n ariaLabelledby,\n ariaDescribedby,\n controlId,\n invalid,\n triggerProps,\n selectedOption,\n triggerVariant,\n inFilteringToken,\n isOpen,\n placeholder,\n disabled,\n }: TriggerProps,\n ref: React.Ref<HTMLButtonElement>\n ) => {\n const generatedId = useUniqueId();\n const id = controlId ?? generatedId;\n const triggerContentId = useUniqueId('trigger-content-');\n\n let triggerContent = null;\n if (!selectedOption) {\n triggerContent = (\n <span aria-disabled=\"true\" className={clsx(styles.placeholder, styles.trigger)} id={triggerContentId}>\n {placeholder}\n </span>\n );\n } else if (triggerVariant === 'option') {\n triggerContent = <Option id={triggerContentId} option={{ ...selectedOption, disabled }} triggerVariant={true} />;\n } else {\n triggerContent = (\n <span id={triggerContentId} className={styles.trigger}>\n {selectedOption.label || selectedOption.value}\n </span>\n );\n }\n\n const mergedRef = useMergeRefs(triggerProps.ref, ref);\n\n return (\n <ButtonTrigger\n {...triggerProps}\n id={id}\n ref={mergedRef}\n pressed={isOpen}\n disabled={disabled}\n invalid={invalid}\n inFilteringToken={inFilteringToken}\n ariaDescribedby={ariaDescribedby}\n ariaLabelledby={joinStrings(ariaLabelledby, triggerContentId)}\n >\n {triggerContent}\n </ButtonTrigger>\n );\n }\n);\n\nexport default Trigger;\n"]}
@@ -1,24 +1,24 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "header-cell": "awsui_header-cell_1spae_hh6b8_93",
5
- "header-cell-sticky": "awsui_header-cell-sticky_1spae_hh6b8_105",
6
- "header-cell-stuck": "awsui_header-cell-stuck_1spae_hh6b8_108",
7
- "header-cell-variant-full-page": "awsui_header-cell-variant-full-page_1spae_hh6b8_108",
8
- "header-cell-hidden": "awsui_header-cell-hidden_1spae_hh6b8_111",
9
- "header-cell-sortable": "awsui_header-cell-sortable_1spae_hh6b8_114",
10
- "header-cell-resizable": "awsui_header-cell-resizable_1spae_hh6b8_126",
11
- "sorting-icon": "awsui_sorting-icon_1spae_hh6b8_130",
12
- "edit-icon": "awsui_edit-icon_1spae_hh6b8_137",
13
- "header-cell-content": "awsui_header-cell-content_1spae_hh6b8_143",
14
- "header-cell-fake-focus": "awsui_header-cell-fake-focus_1spae_hh6b8_172",
15
- "header-cell-disabled": "awsui_header-cell-disabled_1spae_hh6b8_190",
16
- "header-cell-sorted": "awsui_header-cell-sorted_1spae_hh6b8_190",
17
- "header-cell-text": "awsui_header-cell-text_1spae_hh6b8_204",
18
- "header-cell-text-wrap": "awsui_header-cell-text-wrap_1spae_hh6b8_204",
19
- "header-cell-ascending": "awsui_header-cell-ascending_1spae_hh6b8_210",
20
- "header-cell-descending": "awsui_header-cell-descending_1spae_hh6b8_211",
21
- "is-visual-refresh": "awsui_is-visual-refresh_1spae_hh6b8_221",
22
- "has-striped-rows": "awsui_has-striped-rows_1spae_hh6b8_232"
4
+ "header-cell": "awsui_header-cell_1spae_5olvr_93",
5
+ "header-cell-sticky": "awsui_header-cell-sticky_1spae_5olvr_105",
6
+ "header-cell-stuck": "awsui_header-cell-stuck_1spae_5olvr_108",
7
+ "header-cell-variant-full-page": "awsui_header-cell-variant-full-page_1spae_5olvr_108",
8
+ "header-cell-hidden": "awsui_header-cell-hidden_1spae_5olvr_111",
9
+ "header-cell-sortable": "awsui_header-cell-sortable_1spae_5olvr_114",
10
+ "header-cell-resizable": "awsui_header-cell-resizable_1spae_5olvr_129",
11
+ "sorting-icon": "awsui_sorting-icon_1spae_5olvr_133",
12
+ "edit-icon": "awsui_edit-icon_1spae_5olvr_141",
13
+ "header-cell-content": "awsui_header-cell-content_1spae_5olvr_147",
14
+ "header-cell-fake-focus": "awsui_header-cell-fake-focus_1spae_5olvr_176",
15
+ "header-cell-disabled": "awsui_header-cell-disabled_1spae_5olvr_194",
16
+ "header-cell-sorted": "awsui_header-cell-sorted_1spae_5olvr_194",
17
+ "header-cell-text": "awsui_header-cell-text_1spae_5olvr_208",
18
+ "header-cell-text-wrap": "awsui_header-cell-text-wrap_1spae_5olvr_213",
19
+ "header-cell-ascending": "awsui_header-cell-ascending_1spae_5olvr_219",
20
+ "header-cell-descending": "awsui_header-cell-descending_1spae_5olvr_220",
21
+ "is-visual-refresh": "awsui_is-visual-refresh_1spae_5olvr_230",
22
+ "has-striped-rows": "awsui_has-striped-rows_1spae_5olvr_241"
23
23
  };
24
24
 
@@ -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-cell_1spae_hh6b8_93:not(#\9) {
93
+ .awsui_header-cell_1spae_5olvr_93:not(#\9) {
94
94
  position: relative;
95
95
  text-align: left;
96
96
  box-sizing: border-box;
@@ -102,63 +102,67 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
102
102
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-nkh1jb, grayscale);
103
103
  padding: var(--space-scaled-xxs-95dhkm, 4px) var(--space-scaled-xs-6859qs, 8px);
104
104
  }
105
- .awsui_header-cell-sticky_1spae_hh6b8_105:not(#\9) {
105
+ .awsui_header-cell-sticky_1spae_5olvr_105:not(#\9) {
106
106
  border-bottom: var(--border-table-sticky-width-h1tlxy, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
107
107
  }
108
- .awsui_header-cell-stuck_1spae_hh6b8_108:not(#\9):not(.awsui_header-cell-variant-full-page_1spae_hh6b8_108) {
108
+ .awsui_header-cell-stuck_1spae_5olvr_108:not(#\9):not(.awsui_header-cell-variant-full-page_1spae_5olvr_108) {
109
109
  border-bottom-color: transparent;
110
110
  }
111
- .awsui_header-cell-variant-full-page_1spae_hh6b8_108.awsui_header-cell-hidden_1spae_hh6b8_111:not(#\9) {
111
+ .awsui_header-cell-variant-full-page_1spae_5olvr_108.awsui_header-cell-hidden_1spae_5olvr_111:not(#\9) {
112
112
  border-bottom-color: transparent;
113
113
  }
114
- .awsui_header-cell_1spae_hh6b8_93:not(#\9):last-child, .awsui_header-cell_1spae_hh6b8_93.awsui_header-cell-sortable_1spae_hh6b8_114:not(#\9) {
114
+ .awsui_header-cell_1spae_5olvr_93:not(#\9):last-child, .awsui_header-cell_1spae_5olvr_93.awsui_header-cell-sortable_1spae_5olvr_114:not(#\9) {
115
115
  padding-right: var(--space-xs-rsr2qu, 8px);
116
116
  }
117
- .awsui_header-cell_1spae_hh6b8_93:not(#\9):not(:last-child):before {
117
+ .awsui_header-cell_1spae_5olvr_93:not(#\9):not(:last-child):before {
118
118
  content: "";
119
119
  position: absolute;
120
120
  right: 0;
121
- bottom: 25%;
122
- height: 50%;
121
+ bottom: 0;
122
+ top: 0;
123
+ min-height: var(--font-heading-xs-line-height-5x131j, 18px);
124
+ max-height: calc(100% - calc(2 * var(--space-xs-rsr2qu, 8px) + var(--space-xxxs-k2w98v, 2px)));
125
+ margin: auto;
123
126
  border-left: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
124
127
  box-sizing: border-box;
125
128
  }
126
- .awsui_header-cell-resizable_1spae_hh6b8_126:not(#\9):not(:last-child):before {
129
+ .awsui_header-cell-resizable_1spae_5olvr_129:not(#\9):not(:last-child):before {
127
130
  border-left-color: var(--color-border-divider-interactive-default-rcasvw, #e9ebed);
128
131
  }
129
132
 
130
- .awsui_sorting-icon_1spae_hh6b8_130:not(#\9) {
133
+ .awsui_sorting-icon_1spae_5olvr_133:not(#\9) {
131
134
  position: absolute;
132
- top: var(--space-scaled-xxs-95dhkm, 4px);
135
+ top: 50%;
136
+ transform: translateY(-50%);
133
137
  right: var(--space-xxs-ynfts5, 4px);
134
138
  color: var(--color-text-column-sorting-icon-q5sr09, #414d5c);
135
139
  }
136
140
 
137
- .awsui_edit-icon_1spae_hh6b8_137:not(#\9) {
141
+ .awsui_edit-icon_1spae_5olvr_141:not(#\9) {
138
142
  margin-left: var(--space-xxs-ynfts5, 4px);
139
143
  margin-top: var(--space-scaled-xxs-95dhkm, 4px);
140
144
  color: inherit;
141
145
  }
142
146
 
143
- .awsui_header-cell-content_1spae_hh6b8_143:not(#\9) {
147
+ .awsui_header-cell-content_1spae_5olvr_147:not(#\9) {
144
148
  position: relative;
145
149
  padding: var(--space-scaled-xxs-95dhkm, 4px) var(--space-s-hv8c1d, 12px);
146
150
  }
147
- .awsui_header-cell-sortable_1spae_hh6b8_114 > .awsui_header-cell-content_1spae_hh6b8_143:not(#\9) {
151
+ .awsui_header-cell-sortable_1spae_5olvr_114 > .awsui_header-cell-content_1spae_5olvr_147:not(#\9) {
148
152
  padding-right: calc(var(--space-xl-a39hup, 24px) + var(--space-xxs-ynfts5, 4px));
149
153
  }
150
- .awsui_header-cell-content_1spae_hh6b8_143:not(#\9):focus {
154
+ .awsui_header-cell-content_1spae_5olvr_147:not(#\9):focus {
151
155
  outline: none;
152
156
  text-decoration: none;
153
157
  }
154
- .awsui_header-cell-content_1spae_hh6b8_143[data-awsui-focus-visible=true]:not(#\9):focus {
158
+ .awsui_header-cell-content_1spae_5olvr_147[data-awsui-focus-visible=true]:not(#\9):focus {
155
159
  position: relative;
156
160
  }
157
- .awsui_header-cell-content_1spae_hh6b8_143[data-awsui-focus-visible=true]:not(#\9):focus {
161
+ .awsui_header-cell-content_1spae_5olvr_147[data-awsui-focus-visible=true]:not(#\9):focus {
158
162
  outline: 2px dotted transparent;
159
163
  outline-offset: calc(var(--space-table-header-focus-outline-gutter-rbx7m7, 0px) - 1px);
160
164
  }
161
- .awsui_header-cell-content_1spae_hh6b8_143[data-awsui-focus-visible=true]:not(#\9):focus::before {
165
+ .awsui_header-cell-content_1spae_5olvr_147[data-awsui-focus-visible=true]:not(#\9):focus::before {
162
166
  content: " ";
163
167
  display: block;
164
168
  position: absolute;
@@ -169,14 +173,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
169
173
  border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
170
174
  box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
171
175
  }
172
- .awsui_header-cell-content_1spae_hh6b8_143.awsui_header-cell-fake-focus_1spae_hh6b8_172:not(#\9) {
176
+ .awsui_header-cell-content_1spae_5olvr_147.awsui_header-cell-fake-focus_1spae_5olvr_176:not(#\9) {
173
177
  position: relative;
174
178
  }
175
- .awsui_header-cell-content_1spae_hh6b8_143.awsui_header-cell-fake-focus_1spae_hh6b8_172:not(#\9) {
179
+ .awsui_header-cell-content_1spae_5olvr_147.awsui_header-cell-fake-focus_1spae_5olvr_176:not(#\9) {
176
180
  outline: 2px dotted transparent;
177
181
  outline-offset: calc(var(--space-table-header-focus-outline-gutter-rbx7m7, 0px) - 1px);
178
182
  }
179
- .awsui_header-cell-content_1spae_hh6b8_143.awsui_header-cell-fake-focus_1spae_hh6b8_172:not(#\9)::before {
183
+ .awsui_header-cell-content_1spae_5olvr_147.awsui_header-cell-fake-focus_1spae_5olvr_176:not(#\9)::before {
180
184
  content: " ";
181
185
  display: block;
182
186
  position: absolute;
@@ -187,28 +191,33 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
187
191
  border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
188
192
  box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
189
193
  }
190
- .awsui_header-cell-disabled_1spae_hh6b8_190.awsui_header-cell-sorted_1spae_hh6b8_190 > .awsui_header-cell-content_1spae_hh6b8_143 > .awsui_sorting-icon_1spae_hh6b8_130:not(#\9) {
194
+ .awsui_header-cell-disabled_1spae_5olvr_194.awsui_header-cell-sorted_1spae_5olvr_194 > .awsui_header-cell-content_1spae_5olvr_147 > .awsui_sorting-icon_1spae_5olvr_133:not(#\9) {
191
195
  color: var(--color-text-interactive-disabled-3pbb07, #9ba7b6);
192
196
  }
193
197
 
194
- .awsui_header-cell-sortable_1spae_hh6b8_114:not(#\9):not(.awsui_header-cell-disabled_1spae_hh6b8_190) > .awsui_header-cell-content_1spae_hh6b8_143 {
198
+ .awsui_header-cell-sortable_1spae_5olvr_114:not(#\9):not(.awsui_header-cell-disabled_1spae_5olvr_194) > .awsui_header-cell-content_1spae_5olvr_147 {
195
199
  cursor: pointer;
196
200
  }
197
- .awsui_header-cell-sortable_1spae_hh6b8_114:not(#\9):not(.awsui_header-cell-disabled_1spae_hh6b8_190) > .awsui_header-cell-content_1spae_hh6b8_143:hover, .awsui_header-cell-sortable_1spae_hh6b8_114:not(#\9):not(.awsui_header-cell-disabled_1spae_hh6b8_190).awsui_header-cell-sorted_1spae_hh6b8_190 > .awsui_header-cell-content_1spae_hh6b8_143 {
201
+ .awsui_header-cell-sortable_1spae_5olvr_114:not(#\9):not(.awsui_header-cell-disabled_1spae_5olvr_194) > .awsui_header-cell-content_1spae_5olvr_147:hover, .awsui_header-cell-sortable_1spae_5olvr_114:not(#\9):not(.awsui_header-cell-disabled_1spae_5olvr_194).awsui_header-cell-sorted_1spae_5olvr_194 > .awsui_header-cell-content_1spae_5olvr_147 {
198
202
  color: var(--color-text-interactive-active-vol84d, #000716);
199
203
  }
200
- .awsui_header-cell-sortable_1spae_hh6b8_114:not(#\9):not(.awsui_header-cell-disabled_1spae_hh6b8_190) > .awsui_header-cell-content_1spae_hh6b8_143:hover > .awsui_sorting-icon_1spae_hh6b8_130, .awsui_header-cell-sortable_1spae_hh6b8_114:not(#\9):not(.awsui_header-cell-disabled_1spae_hh6b8_190).awsui_header-cell-sorted_1spae_hh6b8_190 > .awsui_header-cell-content_1spae_hh6b8_143 > .awsui_sorting-icon_1spae_hh6b8_130 {
204
+ .awsui_header-cell-sortable_1spae_5olvr_114:not(#\9):not(.awsui_header-cell-disabled_1spae_5olvr_194) > .awsui_header-cell-content_1spae_5olvr_147:hover > .awsui_sorting-icon_1spae_5olvr_133, .awsui_header-cell-sortable_1spae_5olvr_114:not(#\9):not(.awsui_header-cell-disabled_1spae_5olvr_194).awsui_header-cell-sorted_1spae_5olvr_194 > .awsui_header-cell-content_1spae_5olvr_147 > .awsui_sorting-icon_1spae_5olvr_133 {
201
205
  color: var(--color-text-interactive-active-vol84d, #000716);
202
206
  }
203
207
 
204
- .awsui_header-cell-text_1spae_hh6b8_204:not(#\9):not(.awsui_header-cell-text-wrap_1spae_hh6b8_204) {
208
+ .awsui_header-cell-text_1spae_5olvr_208:not(#\9) {
209
+ line-height: var(--font-heading-xs-line-height-5x131j, 18px);
210
+ padding-top: calc(var(--space-xxxs-k2w98v, 2px) / 2);
211
+ padding-bottom: calc(var(--space-xxxs-k2w98v, 2px) / 2);
212
+ }
213
+ .awsui_header-cell-text_1spae_5olvr_208:not(#\9):not(.awsui_header-cell-text-wrap_1spae_5olvr_213) {
205
214
  white-space: nowrap;
206
215
  overflow: hidden;
207
216
  text-overflow: ellipsis;
208
217
  }
209
218
 
210
- .awsui_header-cell-ascending_1spae_hh6b8_210:not(#\9),
211
- .awsui_header-cell-descending_1spae_hh6b8_211:not(#\9) {
219
+ .awsui_header-cell-ascending_1spae_5olvr_219:not(#\9),
220
+ .awsui_header-cell-descending_1spae_5olvr_220:not(#\9) {
212
221
  /* used in test-utils */
213
222
  }
214
223
 
@@ -218,26 +227,26 @@ with the left edge of the table as closely as possible. If the
218
227
  last header cell is sortable the sort icon should align with the
219
228
  settings icon in the pagination slot.
220
229
  */
221
- .awsui_header-cell_1spae_hh6b8_93:not(#\9):not(.awsui_is-visual-refresh_1spae_hh6b8_221):first-child {
230
+ .awsui_header-cell_1spae_5olvr_93:not(#\9):not(.awsui_is-visual-refresh_1spae_5olvr_230):first-child {
222
231
  padding-left: var(--space-xs-rsr2qu, 8px);
223
232
  }
224
233
 
225
- .awsui_header-cell_1spae_hh6b8_93.awsui_is-visual-refresh_1spae_hh6b8_221:not(#\9) {
234
+ .awsui_header-cell_1spae_5olvr_93.awsui_is-visual-refresh_1spae_5olvr_230:not(#\9) {
226
235
  /*
227
236
  Striped rows requires additional left padding because the
228
237
  shaded background makes the child content appear too close
229
238
  to the table edge.
230
239
  */
231
240
  }
232
- .awsui_header-cell_1spae_hh6b8_93.awsui_is-visual-refresh_1spae_hh6b8_221:not(#\9):first-child:not(.awsui_has-striped-rows_1spae_hh6b8_232) {
241
+ .awsui_header-cell_1spae_5olvr_93.awsui_is-visual-refresh_1spae_5olvr_230:not(#\9):first-child:not(.awsui_has-striped-rows_1spae_5olvr_241) {
233
242
  padding-left: var(--space-xxxs-k2w98v, 2px);
234
243
  }
235
- .awsui_header-cell_1spae_hh6b8_93.awsui_is-visual-refresh_1spae_hh6b8_221:not(#\9):first-child.awsui_has-striped-rows_1spae_hh6b8_232 {
244
+ .awsui_header-cell_1spae_5olvr_93.awsui_is-visual-refresh_1spae_5olvr_230:not(#\9):first-child.awsui_has-striped-rows_1spae_5olvr_241 {
236
245
  padding-left: var(--space-xxs-ynfts5, 4px);
237
246
  }
238
- .awsui_header-cell_1spae_hh6b8_93.awsui_is-visual-refresh_1spae_hh6b8_221:not(#\9):first-child > .awsui_header-cell-content_1spae_hh6b8_143 {
247
+ .awsui_header-cell_1spae_5olvr_93.awsui_is-visual-refresh_1spae_5olvr_230:not(#\9):first-child > .awsui_header-cell-content_1spae_5olvr_147 {
239
248
  padding-left: 0;
240
249
  }
241
- .awsui_header-cell_1spae_hh6b8_93.awsui_is-visual-refresh_1spae_hh6b8_221:not(#\9):last-child.awsui_header-cell-sortable_1spae_hh6b8_114 {
250
+ .awsui_header-cell_1spae_5olvr_93.awsui_is-visual-refresh_1spae_5olvr_230:not(#\9):last-child.awsui_header-cell-sortable_1spae_5olvr_114 {
242
251
  padding-right: var(--space-xxxs-k2w98v, 2px);
243
252
  }
@@ -2,24 +2,24 @@
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-cell_1spae_hh6b8_93",
6
- "header-cell-sticky": "awsui_header-cell-sticky_1spae_hh6b8_105",
7
- "header-cell-stuck": "awsui_header-cell-stuck_1spae_hh6b8_108",
8
- "header-cell-variant-full-page": "awsui_header-cell-variant-full-page_1spae_hh6b8_108",
9
- "header-cell-hidden": "awsui_header-cell-hidden_1spae_hh6b8_111",
10
- "header-cell-sortable": "awsui_header-cell-sortable_1spae_hh6b8_114",
11
- "header-cell-resizable": "awsui_header-cell-resizable_1spae_hh6b8_126",
12
- "sorting-icon": "awsui_sorting-icon_1spae_hh6b8_130",
13
- "edit-icon": "awsui_edit-icon_1spae_hh6b8_137",
14
- "header-cell-content": "awsui_header-cell-content_1spae_hh6b8_143",
15
- "header-cell-fake-focus": "awsui_header-cell-fake-focus_1spae_hh6b8_172",
16
- "header-cell-disabled": "awsui_header-cell-disabled_1spae_hh6b8_190",
17
- "header-cell-sorted": "awsui_header-cell-sorted_1spae_hh6b8_190",
18
- "header-cell-text": "awsui_header-cell-text_1spae_hh6b8_204",
19
- "header-cell-text-wrap": "awsui_header-cell-text-wrap_1spae_hh6b8_204",
20
- "header-cell-ascending": "awsui_header-cell-ascending_1spae_hh6b8_210",
21
- "header-cell-descending": "awsui_header-cell-descending_1spae_hh6b8_211",
22
- "is-visual-refresh": "awsui_is-visual-refresh_1spae_hh6b8_221",
23
- "has-striped-rows": "awsui_has-striped-rows_1spae_hh6b8_232"
5
+ "header-cell": "awsui_header-cell_1spae_5olvr_93",
6
+ "header-cell-sticky": "awsui_header-cell-sticky_1spae_5olvr_105",
7
+ "header-cell-stuck": "awsui_header-cell-stuck_1spae_5olvr_108",
8
+ "header-cell-variant-full-page": "awsui_header-cell-variant-full-page_1spae_5olvr_108",
9
+ "header-cell-hidden": "awsui_header-cell-hidden_1spae_5olvr_111",
10
+ "header-cell-sortable": "awsui_header-cell-sortable_1spae_5olvr_114",
11
+ "header-cell-resizable": "awsui_header-cell-resizable_1spae_5olvr_129",
12
+ "sorting-icon": "awsui_sorting-icon_1spae_5olvr_133",
13
+ "edit-icon": "awsui_edit-icon_1spae_5olvr_141",
14
+ "header-cell-content": "awsui_header-cell-content_1spae_5olvr_147",
15
+ "header-cell-fake-focus": "awsui_header-cell-fake-focus_1spae_5olvr_176",
16
+ "header-cell-disabled": "awsui_header-cell-disabled_1spae_5olvr_194",
17
+ "header-cell-sorted": "awsui_header-cell-sorted_1spae_5olvr_194",
18
+ "header-cell-text": "awsui_header-cell-text_1spae_5olvr_208",
19
+ "header-cell-text-wrap": "awsui_header-cell-text-wrap_1spae_5olvr_213",
20
+ "header-cell-ascending": "awsui_header-cell-ascending_1spae_5olvr_219",
21
+ "header-cell-descending": "awsui_header-cell-descending_1spae_5olvr_220",
22
+ "is-visual-refresh": "awsui_is-visual-refresh_1spae_5olvr_230",
23
+ "has-striped-rows": "awsui_has-striped-rows_1spae_5olvr_241"
24
24
  };
25
25
 
@@ -1,11 +1,11 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "resize-active": "awsui_resize-active_x7peu_174hd_93",
5
- "resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_174hd_93",
6
- "resizer": "awsui_resizer_x7peu_174hd_98",
7
- "resizer-active": "awsui_resizer-active_x7peu_174hd_114",
8
- "has-focus": "awsui_has-focus_x7peu_174hd_123",
9
- "tracker": "awsui_tracker_x7peu_174hd_146"
4
+ "resize-active": "awsui_resize-active_x7peu_1nqyy_93",
5
+ "resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_1nqyy_93",
6
+ "resizer": "awsui_resizer_x7peu_1nqyy_98",
7
+ "resizer-active": "awsui_resizer-active_x7peu_1nqyy_114",
8
+ "has-focus": "awsui_has-focus_x7peu_1nqyy_126",
9
+ "tracker": "awsui_tracker_x7peu_1nqyy_149"
10
10
  };
11
11
 
@@ -90,13 +90,13 @@ 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_resize-active_x7peu_174hd_93:not(#\9):not(.awsui_resize-active-with-focus_x7peu_174hd_93) * {
93
+ .awsui_resize-active_x7peu_1nqyy_93:not(#\9):not(.awsui_resize-active-with-focus_x7peu_1nqyy_93) * {
94
94
  cursor: col-resize;
95
95
  -webkit-user-select: none;
96
96
  user-select: none;
97
97
  }
98
98
 
99
- .awsui_resizer_x7peu_174hd_98:not(#\9) {
99
+ .awsui_resizer_x7peu_1nqyy_98:not(#\9) {
100
100
  bottom: 0;
101
101
  cursor: col-resize;
102
102
  position: absolute;
@@ -105,31 +105,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
105
105
  width: var(--space-l-4vl6xu, 20px);
106
106
  z-index: 10;
107
107
  }
108
- .awsui_resize-active_x7peu_174hd_93 .awsui_resizer_x7peu_174hd_98:not(#\9) {
108
+ .awsui_resize-active_x7peu_1nqyy_93 .awsui_resizer_x7peu_1nqyy_98:not(#\9) {
109
109
  pointer-events: none;
110
110
  }
111
- th:not(#\9):last-child > .awsui_resizer_x7peu_174hd_98 {
111
+ th:not(#\9):last-child > .awsui_resizer_x7peu_1nqyy_98 {
112
112
  width: calc(var(--space-l-4vl6xu, 20px) / 2);
113
113
  right: 0;
114
114
  }
115
- th:not(#\9):not(:last-child) > .awsui_resizer_x7peu_174hd_98:hover::before, th:not(#\9):not(:last-child) > .awsui_resizer-active_x7peu_174hd_114::before {
115
+ th:not(#\9):not(:last-child) > .awsui_resizer_x7peu_1nqyy_98:hover::before, th:not(#\9):not(:last-child) > .awsui_resizer-active_x7peu_1nqyy_114::before {
116
116
  content: "";
117
117
  position: absolute;
118
118
  left: calc(var(--space-l-4vl6xu, 20px) / 2 - 2px);
119
- bottom: 25%;
120
- height: 50%;
121
- box-sizing: border-box;
119
+ bottom: 0;
120
+ top: 0;
121
+ min-height: var(--font-heading-xs-line-height-5x131j, 18px);
122
+ max-height: calc(100% - calc(2 * var(--space-xs-rsr2qu, 8px) + var(--space-xxxs-k2w98v, 2px)));
123
+ margin: auto;
122
124
  border-left: 2px solid var(--color-border-divider-active-nnnfx9, #7d8998);
125
+ box-sizing: border-box;
123
126
  }
124
- .awsui_resizer_x7peu_174hd_98.awsui_has-focus_x7peu_174hd_123:not(#\9) {
127
+ .awsui_resizer_x7peu_1nqyy_98.awsui_has-focus_x7peu_1nqyy_126:not(#\9) {
125
128
  position: relative;
126
129
  position: absolute;
127
130
  }
128
- .awsui_resizer_x7peu_174hd_98.awsui_has-focus_x7peu_174hd_123:not(#\9) {
131
+ .awsui_resizer_x7peu_1nqyy_98.awsui_has-focus_x7peu_1nqyy_126:not(#\9) {
129
132
  outline: 2px dotted transparent;
130
133
  outline-offset: calc(var(--space-table-header-focus-outline-gutter-rbx7m7, 0px) - 1px);
131
134
  }
132
- .awsui_resizer_x7peu_174hd_98.awsui_has-focus_x7peu_174hd_123:not(#\9)::before {
135
+ .awsui_resizer_x7peu_1nqyy_98.awsui_has-focus_x7peu_1nqyy_126:not(#\9)::before {
133
136
  content: " ";
134
137
  display: block;
135
138
  position: absolute;
@@ -140,11 +143,11 @@ th:not(#\9):not(:last-child) > .awsui_resizer_x7peu_174hd_98:hover::before, th:n
140
143
  border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
141
144
  box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
142
145
  }
143
- .awsui_resizer_x7peu_174hd_98.awsui_has-focus_x7peu_174hd_123:not(#\9)::before {
146
+ .awsui_resizer_x7peu_1nqyy_98.awsui_has-focus_x7peu_1nqyy_126:not(#\9)::before {
144
147
  box-shadow: inset 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
145
148
  }
146
149
 
147
- .awsui_tracker_x7peu_174hd_146:not(#\9) {
150
+ .awsui_tracker_x7peu_1nqyy_149:not(#\9) {
148
151
  display: none;
149
152
  position: absolute;
150
153
  border-left: var(--border-divider-list-width-hacikr, 1px) dashed var(--color-border-divider-active-nnnfx9, #7d8998);
@@ -152,6 +155,6 @@ th:not(#\9):not(:last-child) > .awsui_resizer_x7peu_174hd_98:hover::before, th:n
152
155
  top: 0;
153
156
  bottom: 0;
154
157
  }
155
- .awsui_resize-active_x7peu_174hd_93 .awsui_tracker_x7peu_174hd_146:not(#\9) {
158
+ .awsui_resize-active_x7peu_1nqyy_93 .awsui_tracker_x7peu_1nqyy_149:not(#\9) {
156
159
  display: block;
157
160
  }
@@ -2,11 +2,11 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "resize-active": "awsui_resize-active_x7peu_174hd_93",
6
- "resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_174hd_93",
7
- "resizer": "awsui_resizer_x7peu_174hd_98",
8
- "resizer-active": "awsui_resizer-active_x7peu_174hd_114",
9
- "has-focus": "awsui_has-focus_x7peu_174hd_123",
10
- "tracker": "awsui_tracker_x7peu_174hd_146"
5
+ "resize-active": "awsui_resize-active_x7peu_1nqyy_93",
6
+ "resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_1nqyy_93",
7
+ "resizer": "awsui_resizer_x7peu_1nqyy_98",
8
+ "resizer-active": "awsui_resizer-active_x7peu_1nqyy_114",
9
+ "has-focus": "awsui_has-focus_x7peu_1nqyy_126",
10
+ "tracker": "awsui_tracker_x7peu_1nqyy_149"
11
11
  };
12
12