@cloudscape-design/components 3.0.38 → 3.0.41

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 (54) hide show
  1. package/app-layout/navigation-panel.d.ts.map +1 -1
  2. package/app-layout/navigation-panel.js +1 -3
  3. package/app-layout/navigation-panel.js.map +1 -1
  4. package/app-layout/styles.css.js +38 -37
  5. package/app-layout/styles.scoped.css +54 -50
  6. package/app-layout/styles.selectors.js +38 -37
  7. package/autosuggest/autosuggest-option.js +1 -1
  8. package/autosuggest/autosuggest-option.js.map +1 -1
  9. package/autosuggest/input-controller.d.ts +12 -0
  10. package/autosuggest/input-controller.d.ts.map +1 -0
  11. package/autosuggest/input-controller.js +38 -0
  12. package/autosuggest/input-controller.js.map +1 -0
  13. package/autosuggest/internal.d.ts.map +1 -1
  14. package/autosuggest/internal.js +51 -38
  15. package/autosuggest/internal.js.map +1 -1
  16. package/autosuggest/load-more-controller.d.ts +16 -0
  17. package/autosuggest/load-more-controller.d.ts.map +1 -0
  18. package/autosuggest/load-more-controller.js +27 -0
  19. package/autosuggest/load-more-controller.js.map +1 -0
  20. package/autosuggest/options-controller.d.ts +3 -2
  21. package/autosuggest/options-controller.d.ts.map +1 -1
  22. package/autosuggest/options-controller.js +18 -22
  23. package/autosuggest/options-controller.js.map +1 -1
  24. package/autosuggest/options-list.d.ts +2 -3
  25. package/autosuggest/options-list.d.ts.map +1 -1
  26. package/autosuggest/options-list.js +3 -12
  27. package/autosuggest/options-list.js.map +1 -1
  28. package/date-picker/calendar/index.d.ts.map +1 -1
  29. package/date-picker/calendar/index.js +9 -4
  30. package/date-picker/calendar/index.js.map +1 -1
  31. package/date-picker/calendar/utils/move-focus-handler.d.ts.map +1 -1
  32. package/date-picker/calendar/utils/move-focus-handler.js +4 -2
  33. package/date-picker/calendar/utils/move-focus-handler.js.map +1 -1
  34. package/internal/components/selectable-item/index.d.ts +8 -4
  35. package/internal/components/selectable-item/index.d.ts.map +1 -1
  36. package/internal/components/selectable-item/index.js +2 -2
  37. package/internal/components/selectable-item/index.js.map +1 -1
  38. package/internal/environment.js +1 -1
  39. package/package.json +1 -1
  40. package/property-filter/property-filter-autosuggest.d.ts.map +1 -1
  41. package/property-filter/property-filter-autosuggest.js +52 -38
  42. package/property-filter/property-filter-autosuggest.js.map +1 -1
  43. package/select/parts/item.d.ts.map +1 -1
  44. package/select/parts/item.js +3 -2
  45. package/select/parts/item.js.map +1 -1
  46. package/select/parts/multiselect-item.js +1 -1
  47. package/select/parts/multiselect-item.js.map +1 -1
  48. package/select/parts/styles.css.js +9 -8
  49. package/select/parts/styles.scoped.css +12 -9
  50. package/select/parts/styles.selectors.js +9 -8
  51. package/autosuggest/controller.d.ts +0 -6
  52. package/autosuggest/controller.d.ts.map +0 -1
  53. package/autosuggest/controller.js +0 -52
  54. package/autosuggest/controller.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"navigation-panel.d.ts","sourceRoot":"","sources":["../../../src/app-layout/navigation-panel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAU,MAAM,UAAU,CAAC;AAGtD,OAAO,gBAAgB,MAAM,4BAA4B,CAAC;AAE1D,UAAU,oBAAoB;IAC5B,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAEzC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC9C,YAAY,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;IACjD,gBAAgB,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,kBAAkB,CAAC,CAAC;IAE1E,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;IAE5B,UA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e,EAAE,OAAO,CAAC;IAEzB,kBAAkB,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IACnD,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IAEvC,UAAU,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC;CAC9C;AAED,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,OAAO,EACP,kBAAkB,EAClB,gBAAgB,EAChB,UAAU,GACX,EAAE,oBAAoB,eAiCtB"}
@@ -9,9 +9,7 @@ import testutilStyles from './test-classes/styles.css.js';
9
9
  export function NavigationPanel(_a) {
10
10
  var _b;
11
11
  var ariaLabels = _a.ariaLabels, footerHeight = _a.footerHeight, headerHeight = _a.headerHeight, isHidden = _a.isHidden, isMobile = _a.isMobile, navigation = _a.navigation, navigationDrawerWidth = _a.navigationDrawerWidth, navigationWidth = _a.navigationWidth, navigationOpen = _a.navigationOpen, onClick = _a.onClick, onNavigationToggle = _a.onNavigationToggle, panelHeightStyle = _a.panelHeightStyle, toggleRefs = _a.toggleRefs;
12
- return (React.createElement("div", { style: {
13
- width: navigationDrawerWidth
14
- } },
12
+ return (React.createElement("div", { className: styles['navigation-panel'], style: { width: navigationDrawerWidth } },
15
13
  React.createElement("div", { className: clsx(styles['panel-wrapper-outer'], (_b = {},
16
14
  _b[styles.mobile] = isMobile,
17
15
  _b[styles.open] = navigationOpen,
@@ -1 +1 @@
1
- {"version":3,"file":"navigation-panel.js","sourceRoot":"","sources":["../../../src/app-layout/navigation-panel.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAsB,MAAM,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,MAAM,MAAM,iBAAiB,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,EAC1B,UAAU,EAAE,UAAU,IAErB,UAAU,CACJ,CACL,CACF,CACP,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 { AppLayoutProps } from './interfaces';\nimport { DesktopDrawerProps, Drawer } from './drawer';\nimport styles from './styles.css.js';\nimport testutilStyles from './test-classes/styles.css.js';\nimport useContentHeight from './utils/use-content-height';\n\ninterface NavigationPanelProps {\n navigationOpen: boolean;\n isHidden: DesktopDrawerProps['isHidden'];\n\n navigationDrawerWidth: number;\n navigationWidth: number;\n headerHeight: DesktopDrawerProps['topOffset'];\n footerHeight: DesktopDrawerProps['bottomOffset'];\n panelHeightStyle: ReturnType<typeof useContentHeight>['panelHeightStyle'];\n\n navigation: React.ReactNode;\n\n ariaLabels: AppLayoutProps['ariaLabels'];\n\n isMobile: boolean;\n isMotionEnabled: boolean;\n\n onNavigationToggle: DesktopDrawerProps['onToggle'];\n onClick: DesktopDrawerProps['onClick'];\n\n toggleRefs: DesktopDrawerProps['toggleRefs'];\n}\n\nexport function NavigationPanel({\n ariaLabels,\n footerHeight,\n headerHeight,\n isHidden,\n isMobile,\n navigation,\n navigationDrawerWidth,\n navigationWidth,\n navigationOpen,\n onClick,\n onNavigationToggle,\n panelHeightStyle,\n toggleRefs,\n}: NavigationPanelProps) {\n return (\n <div\n style={{\n width: navigationDrawerWidth,\n }}\n >\n <div\n className={clsx(styles['panel-wrapper-outer'], {\n [styles.mobile]: isMobile,\n [styles.open]: navigationOpen,\n })}\n style={{\n ...(isMobile ? { top: headerHeight, bottom: footerHeight } : panelHeightStyle),\n }}\n >\n <Drawer\n type=\"navigation\"\n isMobile={isMobile}\n width={navigationWidth}\n isOpen={navigationOpen}\n isHidden={isHidden}\n onToggle={onNavigationToggle}\n toggleRefs={toggleRefs}\n onClick={onClick}\n contentClassName={clsx(styles.navigation, testutilStyles.navigation)}\n closeClassName={clsx(styles['navigation-close'], testutilStyles['navigation-close'])}\n toggleClassName={clsx(styles['navigation-toggle'], testutilStyles['navigation-toggle'])}\n topOffset={headerHeight}\n bottomOffset={footerHeight}\n ariaLabels={ariaLabels}\n >\n {navigation}\n </Drawer>\n </div>\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"navigation-panel.js","sourceRoot":"","sources":["../../../src/app-layout/navigation-panel.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAsB,MAAM,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,cAAc,MAAM,8BAA8B,CAAC;AA0B1D,MAAM,UAAU,eAAe,CAAC,EAcT;;QAbrB,UAAU,gBAAA,EACV,YAAY,kBAAA,EACZ,YAAY,kBAAA,EACZ,QAAQ,cAAA,EACR,QAAQ,cAAA,EACR,UAAU,gBAAA,EACV,qBAAqB,2BAAA,EACrB,eAAe,qBAAA,EACf,cAAc,oBAAA,EACd,OAAO,aAAA,EACP,kBAAkB,wBAAA,EAClB,gBAAgB,sBAAA,EAChB,UAAU,gBAAA;IAEV,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE;QACjF,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,qBAAqB,CAAC;gBAC3C,GAAC,MAAM,CAAC,MAAM,IAAG,QAAQ;gBACzB,GAAC,MAAM,CAAC,IAAI,IAAG,cAAc;oBAC7B,EACF,KAAK,eACA,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC,gBAAgB,CAAC;YAGhF,oBAAC,MAAM,IACL,IAAI,EAAC,YAAY,EACjB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,eAAe,EACtB,MAAM,EAAE,cAAc,EACtB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,kBAAkB,EAC5B,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,UAAU,CAAC,EACpE,cAAc,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC,EACpF,eAAe,EAAE,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,cAAc,CAAC,mBAAmB,CAAC,CAAC,EACvF,SAAS,EAAE,YAAY,EACvB,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,IAErB,UAAU,CACJ,CACL,CACF,CACP,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 { AppLayoutProps } from './interfaces';\nimport { DesktopDrawerProps, Drawer } from './drawer';\nimport styles from './styles.css.js';\nimport testutilStyles from './test-classes/styles.css.js';\nimport useContentHeight from './utils/use-content-height';\n\ninterface NavigationPanelProps {\n navigationOpen: boolean;\n isHidden: DesktopDrawerProps['isHidden'];\n\n navigationDrawerWidth: number;\n navigationWidth: number;\n headerHeight: DesktopDrawerProps['topOffset'];\n footerHeight: DesktopDrawerProps['bottomOffset'];\n panelHeightStyle: ReturnType<typeof useContentHeight>['panelHeightStyle'];\n\n navigation: React.ReactNode;\n\n ariaLabels: AppLayoutProps['ariaLabels'];\n\n isMobile: boolean;\n isMotionEnabled: boolean;\n\n onNavigationToggle: DesktopDrawerProps['onToggle'];\n onClick: DesktopDrawerProps['onClick'];\n\n toggleRefs: DesktopDrawerProps['toggleRefs'];\n}\n\nexport function NavigationPanel({\n ariaLabels,\n footerHeight,\n headerHeight,\n isHidden,\n isMobile,\n navigation,\n navigationDrawerWidth,\n navigationWidth,\n navigationOpen,\n onClick,\n onNavigationToggle,\n panelHeightStyle,\n toggleRefs,\n}: NavigationPanelProps) {\n return (\n <div className={styles['navigation-panel']} style={{ width: navigationDrawerWidth }}>\n <div\n className={clsx(styles['panel-wrapper-outer'], {\n [styles.mobile]: isMobile,\n [styles.open]: navigationOpen,\n })}\n style={{\n ...(isMobile ? { top: headerHeight, bottom: footerHeight } : panelHeightStyle),\n }}\n >\n <Drawer\n type=\"navigation\"\n isMobile={isMobile}\n width={navigationWidth}\n isOpen={navigationOpen}\n isHidden={isHidden}\n onToggle={onNavigationToggle}\n toggleRefs={toggleRefs}\n onClick={onClick}\n contentClassName={clsx(styles.navigation, testutilStyles.navigation)}\n closeClassName={clsx(styles['navigation-close'], testutilStyles['navigation-close'])}\n toggleClassName={clsx(styles['navigation-toggle'], testutilStyles['navigation-toggle'])}\n topOffset={headerHeight}\n bottomOffset={footerHeight}\n ariaLabels={ariaLabels}\n >\n {navigation}\n </Drawer>\n </div>\n </div>\n );\n}\n"]}
@@ -1,42 +1,43 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_lm6vo_1reu0_97",
5
- "layout-wrapper": "awsui_layout-wrapper_lm6vo_1reu0_98",
6
- "root-no-scroll": "awsui_root-no-scroll_lm6vo_1reu0_104",
7
- "layout": "awsui_layout_lm6vo_1reu0_98",
8
- "layout-no-scroll": "awsui_layout-no-scroll_lm6vo_1reu0_115",
9
- "layout-main": "awsui_layout-main_lm6vo_1reu0_119",
10
- "layout-main-scrollable": "awsui_layout-main-scrollable_lm6vo_1reu0_125",
11
- "unfocusable": "awsui_unfocusable_lm6vo_1reu0_130",
12
- "drawer": "awsui_drawer_lm6vo_1reu0_134",
13
- "drawer-mobile": "awsui_drawer-mobile_lm6vo_1reu0_140",
14
- "drawer-closed": "awsui_drawer-closed_lm6vo_1reu0_143",
15
- "opaque-background": "awsui_opaque-background_lm6vo_1reu0_150",
16
- "drawer-content": "awsui_drawer-content_lm6vo_1reu0_154",
17
- "toggle": "awsui_toggle_lm6vo_1reu0_179",
18
- "visual-refresh-toggle": "awsui_visual-refresh-toggle_lm6vo_1reu0_184",
19
- "visual-refresh-toggle-type-tools": "awsui_visual-refresh-toggle-type-tools_lm6vo_1reu0_188",
20
- "visual-refresh-toggle-type-navigation": "awsui_visual-refresh-toggle-type-navigation_lm6vo_1reu0_191",
21
- "button-toggles-container": "awsui_button-toggles-container_lm6vo_1reu0_201",
22
- "button-toggles-container-is-hidden": "awsui_button-toggles-container-is-hidden_lm6vo_1reu0_206",
23
- "breadcrumbs-desktop": "awsui_breadcrumbs-desktop_lm6vo_1reu0_220",
24
- "content-header-wrapper": "awsui_content-header-wrapper_lm6vo_1reu0_225",
25
- "content-wrapper": "awsui_content-wrapper_lm6vo_1reu0_229",
26
- "content-overlapped": "awsui_content-overlapped_lm6vo_1reu0_233",
27
- "content-extra-top-padding": "awsui_content-extra-top-padding_lm6vo_1reu0_237",
28
- "navigation-toggle": "awsui_navigation-toggle_lm6vo_1reu0_242",
29
- "tools-toggle": "awsui_tools-toggle_lm6vo_1reu0_247",
30
- "navigation": "awsui_navigation_lm6vo_1reu0_242",
31
- "navigation-close": "awsui_navigation-close_lm6vo_1reu0_259",
32
- "tools": "awsui_tools_lm6vo_1reu0_247",
33
- "tools-close": "awsui_tools-close_lm6vo_1reu0_271",
34
- "notifications": "awsui_notifications_lm6vo_1reu0_275",
35
- "breadcrumbs": "awsui_breadcrumbs_lm6vo_1reu0_220",
36
- "content": "awsui_content_lm6vo_1reu0_225",
37
- "panel-wrapper-outer": "awsui_panel-wrapper-outer_lm6vo_1reu0_287",
38
- "panel-wrapper-inner": "awsui_panel-wrapper-inner_lm6vo_1reu0_288",
39
- "mobile": "awsui_mobile_lm6vo_1reu0_297",
40
- "open": "awsui_open_lm6vo_1reu0_303"
4
+ "root": "awsui_root_lm6vo_hzagk_97",
5
+ "layout-wrapper": "awsui_layout-wrapper_lm6vo_hzagk_98",
6
+ "root-no-scroll": "awsui_root-no-scroll_lm6vo_hzagk_104",
7
+ "layout": "awsui_layout_lm6vo_hzagk_98",
8
+ "layout-no-scroll": "awsui_layout-no-scroll_lm6vo_hzagk_115",
9
+ "layout-main": "awsui_layout-main_lm6vo_hzagk_119",
10
+ "layout-main-scrollable": "awsui_layout-main-scrollable_lm6vo_hzagk_125",
11
+ "unfocusable": "awsui_unfocusable_lm6vo_hzagk_130",
12
+ "navigation-panel": "awsui_navigation-panel_lm6vo_hzagk_134",
13
+ "drawer": "awsui_drawer_lm6vo_hzagk_138",
14
+ "drawer-mobile": "awsui_drawer-mobile_lm6vo_hzagk_144",
15
+ "drawer-closed": "awsui_drawer-closed_lm6vo_hzagk_147",
16
+ "opaque-background": "awsui_opaque-background_lm6vo_hzagk_154",
17
+ "drawer-content": "awsui_drawer-content_lm6vo_hzagk_158",
18
+ "toggle": "awsui_toggle_lm6vo_hzagk_183",
19
+ "visual-refresh-toggle": "awsui_visual-refresh-toggle_lm6vo_hzagk_188",
20
+ "visual-refresh-toggle-type-tools": "awsui_visual-refresh-toggle-type-tools_lm6vo_hzagk_192",
21
+ "visual-refresh-toggle-type-navigation": "awsui_visual-refresh-toggle-type-navigation_lm6vo_hzagk_195",
22
+ "button-toggles-container": "awsui_button-toggles-container_lm6vo_hzagk_205",
23
+ "button-toggles-container-is-hidden": "awsui_button-toggles-container-is-hidden_lm6vo_hzagk_210",
24
+ "breadcrumbs-desktop": "awsui_breadcrumbs-desktop_lm6vo_hzagk_224",
25
+ "content-header-wrapper": "awsui_content-header-wrapper_lm6vo_hzagk_229",
26
+ "content-wrapper": "awsui_content-wrapper_lm6vo_hzagk_233",
27
+ "content-overlapped": "awsui_content-overlapped_lm6vo_hzagk_237",
28
+ "content-extra-top-padding": "awsui_content-extra-top-padding_lm6vo_hzagk_241",
29
+ "navigation-toggle": "awsui_navigation-toggle_lm6vo_hzagk_246",
30
+ "tools-toggle": "awsui_tools-toggle_lm6vo_hzagk_251",
31
+ "navigation": "awsui_navigation_lm6vo_hzagk_134",
32
+ "navigation-close": "awsui_navigation-close_lm6vo_hzagk_263",
33
+ "tools": "awsui_tools_lm6vo_hzagk_251",
34
+ "tools-close": "awsui_tools-close_lm6vo_hzagk_275",
35
+ "notifications": "awsui_notifications_lm6vo_hzagk_279",
36
+ "breadcrumbs": "awsui_breadcrumbs_lm6vo_hzagk_224",
37
+ "content": "awsui_content_lm6vo_hzagk_229",
38
+ "panel-wrapper-outer": "awsui_panel-wrapper-outer_lm6vo_hzagk_291",
39
+ "panel-wrapper-inner": "awsui_panel-wrapper-inner_lm6vo_hzagk_292",
40
+ "mobile": "awsui_mobile_lm6vo_hzagk_301",
41
+ "open": "awsui_open_lm6vo_hzagk_307"
41
42
  };
42
43
 
@@ -94,119 +94,123 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
94
94
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
95
95
  SPDX-License-Identifier: Apache-2.0
96
96
  */
97
- .awsui_root_lm6vo_1reu0_97:not(#\9),
98
- .awsui_layout-wrapper_lm6vo_1reu0_98:not(#\9) {
97
+ .awsui_root_lm6vo_hzagk_97:not(#\9),
98
+ .awsui_layout-wrapper_lm6vo_hzagk_98:not(#\9) {
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  position: relative;
102
102
  }
103
103
 
104
- .awsui_root-no-scroll_lm6vo_1reu0_104:not(#\9) {
104
+ .awsui_root-no-scroll_lm6vo_hzagk_104:not(#\9) {
105
105
  position: relative;
106
106
  z-index: 1;
107
107
  }
108
108
 
109
- .awsui_layout_lm6vo_1reu0_98:not(#\9) {
109
+ .awsui_layout_lm6vo_hzagk_98:not(#\9) {
110
110
  flex: 1 1 auto;
111
111
  display: flex;
112
112
  align-items: stretch;
113
113
  background-color: var(--color-background-layout-main-sfhm4y, #ffffff);
114
114
  }
115
- .awsui_layout-no-scroll_lm6vo_1reu0_115:not(#\9) {
115
+ .awsui_layout-no-scroll_lm6vo_hzagk_115:not(#\9) {
116
116
  overflow: hidden;
117
117
  }
118
118
 
119
- .awsui_layout-main_lm6vo_1reu0_119:not(#\9) {
119
+ .awsui_layout-main_lm6vo_hzagk_119:not(#\9) {
120
120
  flex: 1;
121
121
  min-width: 0;
122
122
  background-color: var(--color-background-layout-main-sfhm4y, #ffffff);
123
123
  position: relative;
124
124
  }
125
- .awsui_layout-main-scrollable_lm6vo_1reu0_125:not(#\9) {
125
+ .awsui_layout-main-scrollable_lm6vo_hzagk_125:not(#\9) {
126
126
  overflow: auto;
127
127
  }
128
128
 
129
129
  /* stylelint-disable-next-line selector-combinator-disallowed-list, selector-max-universal */
130
- .awsui_unfocusable_lm6vo_1reu0_130 *:not(#\9) {
130
+ .awsui_unfocusable_lm6vo_hzagk_130 *:not(#\9) {
131
131
  visibility: hidden;
132
132
  }
133
133
 
134
- .awsui_drawer_lm6vo_1reu0_134:not(#\9) {
134
+ .awsui_navigation-panel_lm6vo_hzagk_134:not(#\9) {
135
+ overflow-anchor: none;
136
+ }
137
+
138
+ .awsui_drawer_lm6vo_hzagk_138:not(#\9) {
135
139
  flex-shrink: 0;
136
140
  position: relative;
137
141
  word-wrap: break-word;
138
142
  box-shadow: var(--shadow-panel-gp3bf2, 0px 1px 1px 1px #e9ebed, 0px 6px 36px rgba(0, 7, 22, 0.1));
139
143
  }
140
- .awsui_drawer_lm6vo_1reu0_134:not(#\9):not(.awsui_drawer-mobile_lm6vo_1reu0_140) {
144
+ .awsui_drawer_lm6vo_hzagk_138:not(#\9):not(.awsui_drawer-mobile_lm6vo_hzagk_144) {
141
145
  z-index: 850;
142
146
  }
143
- .awsui_drawer-closed_lm6vo_1reu0_143:not(#\9) {
147
+ .awsui_drawer-closed_lm6vo_hzagk_147:not(#\9) {
144
148
  min-width: 40px;
145
149
  cursor: pointer;
146
150
  }
147
- .awsui_drawer-closed_lm6vo_1reu0_143.awsui_drawer-mobile_lm6vo_1reu0_140:not(#\9) {
151
+ .awsui_drawer-closed_lm6vo_hzagk_147.awsui_drawer-mobile_lm6vo_hzagk_144:not(#\9) {
148
152
  display: none;
149
153
  }
150
- .awsui_drawer_lm6vo_1reu0_134.awsui_opaque-background_lm6vo_1reu0_150:not(#\9) {
154
+ .awsui_drawer_lm6vo_hzagk_138.awsui_opaque-background_lm6vo_hzagk_154:not(#\9) {
151
155
  background: var(--color-background-layout-panel-content-808qum, #ffffff);
152
156
  }
153
157
 
154
- .awsui_drawer-content_lm6vo_1reu0_154:not(#\9) {
158
+ .awsui_drawer-content_lm6vo_hzagk_158:not(#\9) {
155
159
  position: fixed;
156
160
  overflow: auto;
157
161
  background-color: var(--color-background-layout-panel-content-808qum, #ffffff);
158
162
  }
159
- .awsui_opaque-background_lm6vo_1reu0_150 > .awsui_drawer-content_lm6vo_1reu0_154:not(#\9) {
163
+ .awsui_opaque-background_lm6vo_hzagk_154 > .awsui_drawer-content_lm6vo_hzagk_158:not(#\9) {
160
164
  border-right: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-panel-side-yjkfcr, #e9ebed);
161
165
  }
162
- .awsui_drawer-mobile_lm6vo_1reu0_140 > .awsui_drawer-content_lm6vo_1reu0_154:not(#\9) {
166
+ .awsui_drawer-mobile_lm6vo_hzagk_144 > .awsui_drawer-content_lm6vo_hzagk_158:not(#\9) {
163
167
  z-index: 1001;
164
168
  top: 0;
165
169
  bottom: 0;
166
170
  left: 0;
167
171
  right: 0;
168
172
  }
169
- .awsui_drawer-closed_lm6vo_1reu0_143 > .awsui_drawer-content_lm6vo_1reu0_154:not(#\9) {
173
+ .awsui_drawer-closed_lm6vo_hzagk_147 > .awsui_drawer-content_lm6vo_hzagk_158:not(#\9) {
170
174
  width: 40px;
171
175
  }
172
- .awsui_drawer-closed_lm6vo_1reu0_143 > .awsui_drawer-content_lm6vo_1reu0_154:not(#\9):hover {
176
+ .awsui_drawer-closed_lm6vo_hzagk_147 > .awsui_drawer-content_lm6vo_hzagk_158:not(#\9):hover {
173
177
  background: var(--color-background-layout-panel-hover-0bg3gq, #e9ebed);
174
178
  }
175
- .awsui_drawer-content_lm6vo_1reu0_154 > [aria-hidden=true]:not(#\9) {
179
+ .awsui_drawer-content_lm6vo_hzagk_158 > [aria-hidden=true]:not(#\9) {
176
180
  display: none;
177
181
  }
178
182
 
179
- .awsui_toggle_lm6vo_1reu0_179:not(#\9) {
183
+ .awsui_toggle_lm6vo_hzagk_183:not(#\9) {
180
184
  box-sizing: border-box;
181
185
  padding: var(--space-xxs-ynfts5, 4px) 7px;
182
186
  }
183
187
 
184
- .awsui_visual-refresh-toggle_lm6vo_1reu0_184:not(#\9) {
188
+ .awsui_visual-refresh-toggle_lm6vo_hzagk_188:not(#\9) {
185
189
  position: fixed;
186
190
  padding: var(--space-scaled-s-cu1hzn, 12px) var(--space-layout-toggle-padding-axl9jr, 20px);
187
191
  }
188
- .awsui_visual-refresh-toggle-type-tools_lm6vo_1reu0_188:not(#\9) {
192
+ .awsui_visual-refresh-toggle-type-tools_lm6vo_hzagk_192:not(#\9) {
189
193
  right: 0;
190
194
  }
191
- .awsui_visual-refresh-toggle-type-navigation_lm6vo_1reu0_191:not(#\9) {
195
+ .awsui_visual-refresh-toggle-type-navigation_lm6vo_hzagk_195:not(#\9) {
192
196
  left: 0;
193
197
  }
194
- .awsui_visual-refresh-toggle_lm6vo_1reu0_184[aria-hidden=true]:not(#\9) {
198
+ .awsui_visual-refresh-toggle_lm6vo_hzagk_188[aria-hidden=true]:not(#\9) {
195
199
  visibility: hidden;
196
200
  }
197
- .awsui_visual-refresh-toggle_lm6vo_1reu0_184[aria-hidden=false]:not(#\9) {
201
+ .awsui_visual-refresh-toggle_lm6vo_hzagk_188[aria-hidden=false]:not(#\9) {
198
202
  visibility: visible;
199
203
  }
200
204
 
201
- .awsui_button-toggles-container_lm6vo_1reu0_201:not(#\9) {
205
+ .awsui_button-toggles-container_lm6vo_hzagk_205:not(#\9) {
202
206
  min-width: calc(var(--space-layout-toggle-diameter-hzvqtj, 40px) + 2 * var(--space-layout-toggle-padding-axl9jr, 20px));
203
207
  position: relative;
204
208
  z-index: 851;
205
209
  }
206
- .awsui_button-toggles-container-is-hidden_lm6vo_1reu0_206:not(#\9) {
210
+ .awsui_button-toggles-container-is-hidden_lm6vo_hzagk_210:not(#\9) {
207
211
  min-width: 0;
208
212
  }
209
- .awsui_button-toggles-container_lm6vo_1reu0_201.awsui_opaque-background_lm6vo_1reu0_150:not(#\9)::before {
213
+ .awsui_button-toggles-container_lm6vo_hzagk_205.awsui_opaque-background_lm6vo_hzagk_154:not(#\9)::before {
210
214
  content: "";
211
215
  position: absolute;
212
216
  top: 0;
@@ -217,95 +221,95 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
217
221
  border-left: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-panel-side-yjkfcr, #e9ebed);
218
222
  }
219
223
 
220
- .awsui_breadcrumbs-desktop_lm6vo_1reu0_220:not(#\9) {
224
+ .awsui_breadcrumbs-desktop_lm6vo_hzagk_224:not(#\9) {
221
225
  padding-top: var(--space-scaled-m-pv0fmt, 16px);
222
226
  padding-bottom: var(--space-scaled-s-cu1hzn, 12px);
223
227
  }
224
228
 
225
- .awsui_content-header-wrapper_lm6vo_1reu0_225:not(#\9) {
229
+ .awsui_content-header-wrapper_lm6vo_hzagk_229:not(#\9) {
226
230
  padding-bottom: var(--space-content-header-padding-bottom-nvqytg, 24px);
227
231
  }
228
232
 
229
- .awsui_content-wrapper_lm6vo_1reu0_229:not(#\9) {
233
+ .awsui_content-wrapper_lm6vo_hzagk_233:not(#\9) {
230
234
  padding-bottom: var(--space-layout-content-bottom-kg9l42, 40px);
231
235
  }
232
236
 
233
- .awsui_content-overlapped_lm6vo_1reu0_233:not(#\9) {
237
+ .awsui_content-overlapped_lm6vo_hzagk_237:not(#\9) {
234
238
  margin-top: calc(-1 * var(--space-dark-header-overlap-distance-hfejul, 36px));
235
239
  }
236
240
 
237
- .awsui_content-extra-top-padding_lm6vo_1reu0_237:not(#\9) {
241
+ .awsui_content-extra-top-padding_lm6vo_hzagk_241:not(#\9) {
238
242
  padding-top: var(--space-scaled-m-pv0fmt, 16px);
239
243
  }
240
244
 
241
245
  /* stylelint-disable-next-line selector-max-universal */
242
- .awsui_navigation-toggle_lm6vo_1reu0_242 > *:not(#\9) {
246
+ .awsui_navigation-toggle_lm6vo_hzagk_246 > *:not(#\9) {
243
247
  pointer-events: none;
244
248
  }
245
249
 
246
250
  /* stylelint-disable-next-line selector-max-universal */
247
- .awsui_tools-toggle_lm6vo_1reu0_247 > *:not(#\9) {
251
+ .awsui_tools-toggle_lm6vo_hzagk_251 > *:not(#\9) {
248
252
  pointer-events: none;
249
253
  }
250
254
 
251
- .awsui_navigation_lm6vo_1reu0_242:not(#\9) {
255
+ .awsui_navigation_lm6vo_hzagk_134:not(#\9) {
252
256
  /* used in test-utils */
253
257
  }
254
258
 
255
- .awsui_navigation-toggle_lm6vo_1reu0_242:not(#\9) {
259
+ .awsui_navigation-toggle_lm6vo_hzagk_246:not(#\9) {
256
260
  /* used in test-utils */
257
261
  }
258
262
 
259
- .awsui_navigation-close_lm6vo_1reu0_259:not(#\9) {
263
+ .awsui_navigation-close_lm6vo_hzagk_263:not(#\9) {
260
264
  /* used in test-utils */
261
265
  }
262
266
 
263
- .awsui_tools_lm6vo_1reu0_247:not(#\9) {
267
+ .awsui_tools_lm6vo_hzagk_251:not(#\9) {
264
268
  /* used in test-utils */
265
269
  }
266
270
 
267
- .awsui_tools-toggle_lm6vo_1reu0_247:not(#\9) {
271
+ .awsui_tools-toggle_lm6vo_hzagk_251:not(#\9) {
268
272
  /* used in test-utils */
269
273
  }
270
274
 
271
- .awsui_tools-close_lm6vo_1reu0_271:not(#\9) {
275
+ .awsui_tools-close_lm6vo_hzagk_275:not(#\9) {
272
276
  /* used in test-utils */
273
277
  }
274
278
 
275
- .awsui_notifications_lm6vo_1reu0_275:not(#\9) {
279
+ .awsui_notifications_lm6vo_hzagk_279:not(#\9) {
276
280
  /* used in test-utils */
277
281
  }
278
282
 
279
- .awsui_breadcrumbs_lm6vo_1reu0_220:not(#\9) {
283
+ .awsui_breadcrumbs_lm6vo_hzagk_224:not(#\9) {
280
284
  /* used in test-utils */
281
285
  }
282
286
 
283
- .awsui_content_lm6vo_1reu0_225:not(#\9) {
287
+ .awsui_content_lm6vo_hzagk_229:not(#\9) {
284
288
  /* used in test-utils */
285
289
  }
286
290
 
287
- .awsui_panel-wrapper-outer_lm6vo_1reu0_287:not(#\9),
288
- .awsui_panel-wrapper-inner_lm6vo_1reu0_288:not(#\9) {
291
+ .awsui_panel-wrapper-outer_lm6vo_hzagk_291:not(#\9),
292
+ .awsui_panel-wrapper-inner_lm6vo_hzagk_292:not(#\9) {
289
293
  z-index: 850;
290
294
  }
291
295
 
292
- .awsui_panel-wrapper-outer_lm6vo_1reu0_287:not(#\9) {
296
+ .awsui_panel-wrapper-outer_lm6vo_hzagk_291:not(#\9) {
293
297
  position: fixed;
294
298
  height: 100%;
295
299
  display: flex;
296
300
  }
297
- .awsui_panel-wrapper-outer_lm6vo_1reu0_287.awsui_mobile_lm6vo_1reu0_297:not(#\9) {
301
+ .awsui_panel-wrapper-outer_lm6vo_hzagk_291.awsui_mobile_lm6vo_hzagk_301:not(#\9) {
298
302
  left: 0;
299
303
  right: 0;
300
304
  z-index: -1;
301
305
  pointer-events: none;
302
306
  }
303
- .awsui_panel-wrapper-outer_lm6vo_1reu0_287.awsui_mobile_lm6vo_1reu0_297.awsui_open_lm6vo_1reu0_303:not(#\9) {
307
+ .awsui_panel-wrapper-outer_lm6vo_hzagk_291.awsui_mobile_lm6vo_hzagk_301.awsui_open_lm6vo_hzagk_307:not(#\9) {
304
308
  z-index: 1001;
305
309
  width: 100vw;
306
310
  pointer-events: auto;
307
311
  }
308
312
 
309
- .awsui_panel-wrapper-inner_lm6vo_1reu0_288:not(#\9) {
313
+ .awsui_panel-wrapper-inner_lm6vo_hzagk_292:not(#\9) {
310
314
  background: var(--color-background-layout-panel-content-808qum, #ffffff);
311
315
  }
@@ -2,42 +2,43 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_lm6vo_1reu0_97",
6
- "layout-wrapper": "awsui_layout-wrapper_lm6vo_1reu0_98",
7
- "root-no-scroll": "awsui_root-no-scroll_lm6vo_1reu0_104",
8
- "layout": "awsui_layout_lm6vo_1reu0_98",
9
- "layout-no-scroll": "awsui_layout-no-scroll_lm6vo_1reu0_115",
10
- "layout-main": "awsui_layout-main_lm6vo_1reu0_119",
11
- "layout-main-scrollable": "awsui_layout-main-scrollable_lm6vo_1reu0_125",
12
- "unfocusable": "awsui_unfocusable_lm6vo_1reu0_130",
13
- "drawer": "awsui_drawer_lm6vo_1reu0_134",
14
- "drawer-mobile": "awsui_drawer-mobile_lm6vo_1reu0_140",
15
- "drawer-closed": "awsui_drawer-closed_lm6vo_1reu0_143",
16
- "opaque-background": "awsui_opaque-background_lm6vo_1reu0_150",
17
- "drawer-content": "awsui_drawer-content_lm6vo_1reu0_154",
18
- "toggle": "awsui_toggle_lm6vo_1reu0_179",
19
- "visual-refresh-toggle": "awsui_visual-refresh-toggle_lm6vo_1reu0_184",
20
- "visual-refresh-toggle-type-tools": "awsui_visual-refresh-toggle-type-tools_lm6vo_1reu0_188",
21
- "visual-refresh-toggle-type-navigation": "awsui_visual-refresh-toggle-type-navigation_lm6vo_1reu0_191",
22
- "button-toggles-container": "awsui_button-toggles-container_lm6vo_1reu0_201",
23
- "button-toggles-container-is-hidden": "awsui_button-toggles-container-is-hidden_lm6vo_1reu0_206",
24
- "breadcrumbs-desktop": "awsui_breadcrumbs-desktop_lm6vo_1reu0_220",
25
- "content-header-wrapper": "awsui_content-header-wrapper_lm6vo_1reu0_225",
26
- "content-wrapper": "awsui_content-wrapper_lm6vo_1reu0_229",
27
- "content-overlapped": "awsui_content-overlapped_lm6vo_1reu0_233",
28
- "content-extra-top-padding": "awsui_content-extra-top-padding_lm6vo_1reu0_237",
29
- "navigation-toggle": "awsui_navigation-toggle_lm6vo_1reu0_242",
30
- "tools-toggle": "awsui_tools-toggle_lm6vo_1reu0_247",
31
- "navigation": "awsui_navigation_lm6vo_1reu0_242",
32
- "navigation-close": "awsui_navigation-close_lm6vo_1reu0_259",
33
- "tools": "awsui_tools_lm6vo_1reu0_247",
34
- "tools-close": "awsui_tools-close_lm6vo_1reu0_271",
35
- "notifications": "awsui_notifications_lm6vo_1reu0_275",
36
- "breadcrumbs": "awsui_breadcrumbs_lm6vo_1reu0_220",
37
- "content": "awsui_content_lm6vo_1reu0_225",
38
- "panel-wrapper-outer": "awsui_panel-wrapper-outer_lm6vo_1reu0_287",
39
- "panel-wrapper-inner": "awsui_panel-wrapper-inner_lm6vo_1reu0_288",
40
- "mobile": "awsui_mobile_lm6vo_1reu0_297",
41
- "open": "awsui_open_lm6vo_1reu0_303"
5
+ "root": "awsui_root_lm6vo_hzagk_97",
6
+ "layout-wrapper": "awsui_layout-wrapper_lm6vo_hzagk_98",
7
+ "root-no-scroll": "awsui_root-no-scroll_lm6vo_hzagk_104",
8
+ "layout": "awsui_layout_lm6vo_hzagk_98",
9
+ "layout-no-scroll": "awsui_layout-no-scroll_lm6vo_hzagk_115",
10
+ "layout-main": "awsui_layout-main_lm6vo_hzagk_119",
11
+ "layout-main-scrollable": "awsui_layout-main-scrollable_lm6vo_hzagk_125",
12
+ "unfocusable": "awsui_unfocusable_lm6vo_hzagk_130",
13
+ "navigation-panel": "awsui_navigation-panel_lm6vo_hzagk_134",
14
+ "drawer": "awsui_drawer_lm6vo_hzagk_138",
15
+ "drawer-mobile": "awsui_drawer-mobile_lm6vo_hzagk_144",
16
+ "drawer-closed": "awsui_drawer-closed_lm6vo_hzagk_147",
17
+ "opaque-background": "awsui_opaque-background_lm6vo_hzagk_154",
18
+ "drawer-content": "awsui_drawer-content_lm6vo_hzagk_158",
19
+ "toggle": "awsui_toggle_lm6vo_hzagk_183",
20
+ "visual-refresh-toggle": "awsui_visual-refresh-toggle_lm6vo_hzagk_188",
21
+ "visual-refresh-toggle-type-tools": "awsui_visual-refresh-toggle-type-tools_lm6vo_hzagk_192",
22
+ "visual-refresh-toggle-type-navigation": "awsui_visual-refresh-toggle-type-navigation_lm6vo_hzagk_195",
23
+ "button-toggles-container": "awsui_button-toggles-container_lm6vo_hzagk_205",
24
+ "button-toggles-container-is-hidden": "awsui_button-toggles-container-is-hidden_lm6vo_hzagk_210",
25
+ "breadcrumbs-desktop": "awsui_breadcrumbs-desktop_lm6vo_hzagk_224",
26
+ "content-header-wrapper": "awsui_content-header-wrapper_lm6vo_hzagk_229",
27
+ "content-wrapper": "awsui_content-wrapper_lm6vo_hzagk_233",
28
+ "content-overlapped": "awsui_content-overlapped_lm6vo_hzagk_237",
29
+ "content-extra-top-padding": "awsui_content-extra-top-padding_lm6vo_hzagk_241",
30
+ "navigation-toggle": "awsui_navigation-toggle_lm6vo_hzagk_246",
31
+ "tools-toggle": "awsui_tools-toggle_lm6vo_hzagk_251",
32
+ "navigation": "awsui_navigation_lm6vo_hzagk_134",
33
+ "navigation-close": "awsui_navigation-close_lm6vo_hzagk_263",
34
+ "tools": "awsui_tools_lm6vo_hzagk_251",
35
+ "tools-close": "awsui_tools-close_lm6vo_hzagk_275",
36
+ "notifications": "awsui_notifications_lm6vo_hzagk_279",
37
+ "breadcrumbs": "awsui_breadcrumbs_lm6vo_hzagk_224",
38
+ "content": "awsui_content_lm6vo_hzagk_229",
39
+ "panel-wrapper-outer": "awsui_panel-wrapper-outer_lm6vo_hzagk_291",
40
+ "panel-wrapper-inner": "awsui_panel-wrapper-inner_lm6vo_hzagk_292",
41
+ "mobile": "awsui_mobile_lm6vo_hzagk_301",
42
+ "open": "awsui_open_lm6vo_hzagk_307"
42
43
  };
43
44
 
@@ -29,7 +29,7 @@ var AutosuggestOption = function (_a, ref) {
29
29
  optionContent = (React.createElement("div", __assign({}, a11yProperties),
30
30
  React.createElement(OptionComponent, { option: option, highlightText: highlightText })));
31
31
  }
32
- return (React.createElement(SelectableItem, __assign({}, baseProps, { className: styles.option, ariaSelected: highlighted || undefined, highlighted: highlighted, disabled: option.disabled, hasBackground: useEntered, isParent: isParent, isChild: isChild, virtualPosition: virtualPosition, "data-test-index": throughIndex, "data-in-group-index": inGroupIndex, "data-group-index": groupIndex, ref: ref, padBottom: padBottom, screenReaderContent: screenReaderContent, ariaSetsize: ariaSetsize, ariaPosinset: ariaPosinset, highlightType: highlightType }), optionContent));
32
+ return (React.createElement(SelectableItem, __assign({}, baseProps, { className: styles.option, ariaSelected: highlighted, highlighted: highlighted, disabled: option.disabled, hasBackground: useEntered, isParent: isParent, isChild: isChild, virtualPosition: virtualPosition, "data-test-index": throughIndex, "data-in-group-index": inGroupIndex, "data-group-index": groupIndex, ref: ref, padBottom: padBottom, screenReaderContent: screenReaderContent, ariaSetsize: ariaSetsize, ariaPosinset: ariaPosinset, highlightType: highlightType }), optionContent));
33
33
  };
34
34
  export default React.memo(React.forwardRef(AutosuggestOption));
35
35
  //# sourceMappingURL=autosuggest-option.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"autosuggest-option.js","sourceRoot":"","sources":["../../../src/autosuggest/autosuggest-option.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,eAAe,MAAM,+BAA+B,CAAC;AAC5D,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAsB,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAE9F,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAkBrC,IAAM,iBAAiB,GAAG,UACxB,EAayB,EACzB,GAA8B;IAb5B,IAAA,wBAAqB,EAArB,gBAAgB,mBAAG,EAAE,KAAA,EACr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AAE,WAAW,IAAI,SAAS,EACtC,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,aAAa,EAAE,UAAU,EACzB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,qBACf,YAAY,yBACR,YAAY,sBACf,UAAU,EAC5B,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,EACpB,mBAAmB,EAAE,mBAAmB,EACxC,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,KAE3B,aAAa,CACC,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport OptionComponent from '../internal/components/option';\nimport SelectableItem from '../internal/components/selectable-item';\nimport { BaseComponentProps, getBaseProps } from '../internal/base-component';\nimport { getTestOptionIndexes } from '../internal/components/options-list/utils/test-indexes';\n\nimport styles from './styles.css.js';\nimport { AutosuggestItem } from './interfaces';\nimport { HighlightType } from '../internal/components/options-list/utils/use-highlight-option';\n\nexport interface AutosuggestOptionProps extends BaseComponentProps {\n nativeAttributes?: Record<string, any>;\n highlightText: string;\n option: AutosuggestItem;\n highlighted: boolean;\n highlightType: HighlightType;\n enteredTextLabel: (value: string) => string;\n virtualPosition?: number;\n padBottom?: boolean;\n screenReaderContent?: string;\n ariaSetsize?: number;\n ariaPosinset?: number;\n}\n\nconst AutosuggestOption = (\n {\n nativeAttributes = {},\n highlightText,\n option,\n highlighted,\n highlightType,\n enteredTextLabel,\n virtualPosition,\n padBottom,\n screenReaderContent,\n ariaSetsize,\n ariaPosinset,\n ...rest\n }: AutosuggestOptionProps,\n ref: React.Ref<HTMLDivElement>\n) => {\n const baseProps = getBaseProps(rest);\n const useEntered = 'type' in option && option.type === 'use-entered';\n const isParent = 'type' in option && option.type === 'parent';\n const isChild = 'type' in option && option.type === 'child';\n const { throughIndex, inGroupIndex, groupIndex } = getTestOptionIndexes(option) || {};\n\n let optionContent;\n if (useEntered) {\n optionContent = enteredTextLabel(option.value || '');\n } else if (isParent) {\n optionContent = option.label;\n } else {\n const a11yProperties: AutosuggestOptionProps['nativeAttributes'] = {};\n if (nativeAttributes['aria-label']) {\n a11yProperties['aria-label'] = nativeAttributes['aria-label'];\n }\n\n optionContent = (\n <div {...a11yProperties}>\n <OptionComponent option={option} highlightText={highlightText} />\n </div>\n );\n }\n\n return (\n <SelectableItem\n {...baseProps}\n className={styles.option}\n ariaSelected={highlighted || undefined}\n highlighted={highlighted}\n disabled={option.disabled}\n hasBackground={useEntered}\n isParent={isParent}\n isChild={isChild}\n virtualPosition={virtualPosition}\n data-test-index={throughIndex}\n data-in-group-index={inGroupIndex}\n data-group-index={groupIndex}\n ref={ref}\n padBottom={padBottom}\n screenReaderContent={screenReaderContent}\n ariaSetsize={ariaSetsize}\n ariaPosinset={ariaPosinset}\n highlightType={highlightType}\n >\n {optionContent}\n </SelectableItem>\n );\n};\n\nexport default React.memo(React.forwardRef(AutosuggestOption));\n"]}
1
+ {"version":3,"file":"autosuggest-option.js","sourceRoot":"","sources":["../../../src/autosuggest/autosuggest-option.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,eAAe,MAAM,+BAA+B,CAAC;AAC5D,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAsB,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAE9F,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAkBrC,IAAM,iBAAiB,GAAG,UACxB,EAayB,EACzB,GAA8B;IAb5B,IAAA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ACb,SAAS,EAAE,MAAM,CAAC,MAAM,EACxB,YAAY,EAAE,WAAW,EACzB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,aAAa,EAAE,UAAU,EACzB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,qBACf,YAAY,yBACR,YAAY,sBACf,UAAU,EAC5B,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,EACpB,mBAAmB,EAAE,mBAAmB,EACxC,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,KAE3B,aAAa,CACC,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport OptionComponent from '../internal/components/option';\nimport SelectableItem from '../internal/components/selectable-item';\nimport { BaseComponentProps, getBaseProps } from '../internal/base-component';\nimport { getTestOptionIndexes } from '../internal/components/options-list/utils/test-indexes';\n\nimport styles from './styles.css.js';\nimport { AutosuggestItem } from './interfaces';\nimport { HighlightType } from '../internal/components/options-list/utils/use-highlight-option';\n\nexport interface AutosuggestOptionProps extends BaseComponentProps {\n nativeAttributes?: Record<string, any>;\n highlightText: string;\n option: AutosuggestItem;\n highlighted: boolean;\n highlightType: HighlightType;\n enteredTextLabel: (value: string) => string;\n virtualPosition?: number;\n padBottom?: boolean;\n screenReaderContent?: string;\n ariaSetsize?: number;\n ariaPosinset?: number;\n}\n\nconst AutosuggestOption = (\n {\n nativeAttributes = {},\n highlightText,\n option,\n highlighted,\n highlightType,\n enteredTextLabel,\n virtualPosition,\n padBottom,\n screenReaderContent,\n ariaSetsize,\n ariaPosinset,\n ...rest\n }: AutosuggestOptionProps,\n ref: React.Ref<HTMLDivElement>\n) => {\n const baseProps = getBaseProps(rest);\n const useEntered = 'type' in option && option.type === 'use-entered';\n const isParent = 'type' in option && option.type === 'parent';\n const isChild = 'type' in option && option.type === 'child';\n const { throughIndex, inGroupIndex, groupIndex } = getTestOptionIndexes(option) || {};\n\n let optionContent;\n if (useEntered) {\n optionContent = enteredTextLabel(option.value || '');\n } else if (isParent) {\n optionContent = option.label;\n } else {\n const a11yProperties: AutosuggestOptionProps['nativeAttributes'] = {};\n if (nativeAttributes['aria-label']) {\n a11yProperties['aria-label'] = nativeAttributes['aria-label'];\n }\n\n optionContent = (\n <div {...a11yProperties}>\n <OptionComponent option={option} highlightText={highlightText} />\n </div>\n );\n }\n\n return (\n <SelectableItem\n {...baseProps}\n className={styles.option}\n ariaSelected={highlighted}\n highlighted={highlighted}\n disabled={option.disabled}\n hasBackground={useEntered}\n isParent={isParent}\n isChild={isChild}\n virtualPosition={virtualPosition}\n data-test-index={throughIndex}\n data-in-group-index={inGroupIndex}\n data-group-index={groupIndex}\n ref={ref}\n padBottom={padBottom}\n screenReaderContent={screenReaderContent}\n ariaSetsize={ariaSetsize}\n ariaPosinset={ariaPosinset}\n highlightType={highlightType}\n >\n {optionContent}\n </SelectableItem>\n );\n};\n\nexport default React.memo(React.forwardRef(AutosuggestOption));\n"]}
@@ -0,0 +1,12 @@
1
+ import { BaseKeyDetail } from '../internal/events';
2
+ interface UseInputKeydownHandlerOptions {
3
+ open: boolean;
4
+ onPressArrowDown(): void;
5
+ onPressArrowUp(): void;
6
+ onPressEnter(): void;
7
+ onPressEsc(): void;
8
+ onKeyDown(event: CustomEvent<BaseKeyDetail>): void;
9
+ }
10
+ export declare const useInputKeydownHandler: ({ open, onPressArrowDown, onPressArrowUp, onPressEnter, onPressEsc, onKeyDown, }: UseInputKeydownHandlerOptions) => (e: CustomEvent<BaseKeyDetail>) => void;
11
+ export {};
12
+ //# sourceMappingURL=input-controller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-controller.d.ts","sourceRoot":"","sources":["../../../src/autosuggest/input-controller.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,UAAU,6BAA6B;IACrC,IAAI,EAAE,OAAO,CAAC;IACd,gBAAgB,IAAI,IAAI,CAAC;IACzB,cAAc,IAAI,IAAI,CAAC;IACvB,YAAY,IAAI,IAAI,CAAC;IACrB,UAAU,IAAI,IAAI,CAAC;IACnB,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;CACpD;AAED,eAAO,MAAM,sBAAsB,qFAOhC,6BAA6B,SACnB,YAAY,aAAa,CAAC,SA+BtC,CAAC"}
@@ -0,0 +1,38 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { KeyCode } from '../internal/keycode';
4
+ export var useInputKeydownHandler = function (_a) {
5
+ var open = _a.open, onPressArrowDown = _a.onPressArrowDown, onPressArrowUp = _a.onPressArrowUp, onPressEnter = _a.onPressEnter, onPressEsc = _a.onPressEsc, onKeyDown = _a.onKeyDown;
6
+ return function (e) {
7
+ switch (e.detail.keyCode) {
8
+ case KeyCode.down: {
9
+ onPressArrowDown();
10
+ e.preventDefault();
11
+ break;
12
+ }
13
+ case KeyCode.up: {
14
+ onPressArrowUp();
15
+ e.preventDefault();
16
+ break;
17
+ }
18
+ case KeyCode.enter: {
19
+ if (open) {
20
+ onPressEnter();
21
+ e.preventDefault();
22
+ }
23
+ onKeyDown(e);
24
+ break;
25
+ }
26
+ case KeyCode.escape: {
27
+ onPressEsc();
28
+ e.preventDefault();
29
+ onKeyDown(e);
30
+ break;
31
+ }
32
+ default: {
33
+ onKeyDown(e);
34
+ }
35
+ }
36
+ };
37
+ };
38
+ //# sourceMappingURL=input-controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-controller.js","sourceRoot":"","sources":["../../../src/autosuggest/input-controller.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAGtC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAW9C,MAAM,CAAC,IAAM,sBAAsB,GAAG,UAAC,EAOP;QAN9B,IAAI,UAAA,EACJ,gBAAgB,sBAAA,EAChB,cAAc,oBAAA,EACd,YAAY,kBAAA,EACZ,UAAU,gBAAA,EACV,SAAS,eAAA;IAET,OAAO,UAAC,CAA6B;QACnC,QAAQ,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE;YACxB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;gBACjB,gBAAgB,EAAE,CAAC;gBACnB,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,MAAM;aACP;YACD,KAAK,OAAO,CAAC,EAAE,CAAC,CAAC;gBACf,cAAc,EAAE,CAAC;gBACjB,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,MAAM;aACP;YACD,KAAK,OAAO,CAAC,KAAK,CAAC,CAAC;gBAClB,IAAI,IAAI,EAAE;oBACR,YAAY,EAAE,CAAC;oBACf,CAAC,CAAC,cAAc,EAAE,CAAC;iBACpB;gBACD,SAAS,CAAC,CAAC,CAAC,CAAC;gBACb,MAAM;aACP;YACD,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;gBACnB,UAAU,EAAE,CAAC;gBACb,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,SAAS,CAAC,CAAC,CAAC,CAAC;gBACb,MAAM;aACP;YACD,OAAO,CAAC,CAAC;gBACP,SAAS,CAAC,CAAC,CAAC,CAAC;aACd;SACF;IACH,CAAC,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { BaseKeyDetail } from '../internal/events';\nimport { KeyCode } from '../internal/keycode';\n\ninterface UseInputKeydownHandlerOptions {\n open: boolean;\n onPressArrowDown(): void;\n onPressArrowUp(): void;\n onPressEnter(): void;\n onPressEsc(): void;\n onKeyDown(event: CustomEvent<BaseKeyDetail>): void;\n}\n\nexport const useInputKeydownHandler = ({\n open,\n onPressArrowDown,\n onPressArrowUp,\n onPressEnter,\n onPressEsc,\n onKeyDown,\n}: UseInputKeydownHandlerOptions) => {\n return (e: CustomEvent<BaseKeyDetail>) => {\n switch (e.detail.keyCode) {\n case KeyCode.down: {\n onPressArrowDown();\n e.preventDefault();\n break;\n }\n case KeyCode.up: {\n onPressArrowUp();\n e.preventDefault();\n break;\n }\n case KeyCode.enter: {\n if (open) {\n onPressEnter();\n e.preventDefault();\n }\n onKeyDown(e);\n break;\n }\n case KeyCode.escape: {\n onPressEsc();\n e.preventDefault();\n onKeyDown(e);\n break;\n }\n default: {\n onKeyDown(e);\n }\n }\n };\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/autosuggest/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAIxD,OAAO,EAAmB,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAYjE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAIlF,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB,EAAE,0BAA0B;CAAG;AAmBjG,QAAA,MAAM,mBAAmB,iGAoLvB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/autosuggest/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAI3C,OAAO,EAAmB,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAYjE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAMlF,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB,EAAE,0BAA0B;CAAG;AAEjG,QAAA,MAAM,mBAAmB,iGAoMvB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}