@cloudscape-design/components 3.0.748 → 3.0.749

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 (109) hide show
  1. package/alert/actions-wrapper/index.d.ts +1 -1
  2. package/alert/actions-wrapper/index.d.ts.map +1 -1
  3. package/alert/actions-wrapper/index.js +2 -2
  4. package/alert/actions-wrapper/index.js.map +1 -1
  5. package/alert/internal.d.ts.map +1 -1
  6. package/alert/internal.js +15 -5
  7. package/alert/internal.js.map +1 -1
  8. package/alert/styles.css.js +27 -25
  9. package/alert/styles.scoped.css +45 -39
  10. package/alert/styles.selectors.js +27 -25
  11. package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +12 -12
  12. package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +15 -15
  13. package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +12 -12
  14. package/breadcrumb-group/implementation.d.ts.map +1 -1
  15. package/breadcrumb-group/implementation.js +1 -1
  16. package/breadcrumb-group/implementation.js.map +1 -1
  17. package/breadcrumb-group/interfaces.d.ts +1 -1
  18. package/breadcrumb-group/interfaces.js.map +1 -1
  19. package/button-dropdown/interfaces.d.ts +7 -0
  20. package/button-dropdown/interfaces.d.ts.map +1 -1
  21. package/button-dropdown/interfaces.js.map +1 -1
  22. package/button-dropdown/internal.d.ts.map +1 -1
  23. package/button-dropdown/internal.js +2 -2
  24. package/button-dropdown/internal.js.map +1 -1
  25. package/button-dropdown/item-element/index.d.ts +1 -1
  26. package/button-dropdown/item-element/index.d.ts.map +1 -1
  27. package/button-dropdown/item-element/index.js +4 -4
  28. package/button-dropdown/item-element/index.js.map +1 -1
  29. package/button-dropdown/item-element/styles.css.js +13 -12
  30. package/button-dropdown/item-element/styles.scoped.css +52 -14
  31. package/button-dropdown/item-element/styles.selectors.js +13 -12
  32. package/button-dropdown/items-list.d.ts +1 -1
  33. package/button-dropdown/items-list.d.ts.map +1 -1
  34. package/button-dropdown/items-list.js +2 -2
  35. package/button-dropdown/items-list.js.map +1 -1
  36. package/flashbar/analytics-metadata/interfaces.d.ts +36 -0
  37. package/flashbar/analytics-metadata/interfaces.d.ts.map +1 -0
  38. package/flashbar/analytics-metadata/interfaces.js +4 -0
  39. package/flashbar/analytics-metadata/interfaces.js.map +1 -0
  40. package/flashbar/analytics-metadata/styles.css.js +6 -0
  41. package/flashbar/analytics-metadata/styles.scoped.css +7 -0
  42. package/flashbar/analytics-metadata/styles.selectors.js +7 -0
  43. package/flashbar/analytics-metadata/utils.d.ts +7 -0
  44. package/flashbar/analytics-metadata/utils.d.ts.map +1 -0
  45. package/flashbar/analytics-metadata/utils.js +33 -0
  46. package/flashbar/analytics-metadata/utils.js.map +1 -0
  47. package/flashbar/collapsible-flashbar.d.ts.map +1 -1
  48. package/flashbar/collapsible-flashbar.js +13 -5
  49. package/flashbar/collapsible-flashbar.js.map +1 -1
  50. package/flashbar/flash.d.ts.map +1 -1
  51. package/flashbar/flash.js +19 -7
  52. package/flashbar/flash.js.map +1 -1
  53. package/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
  54. package/flashbar/non-collapsible-flashbar.js +4 -2
  55. package/flashbar/non-collapsible-flashbar.js.map +1 -1
  56. package/flashbar/styles.css.js +50 -47
  57. package/flashbar/styles.scoped.css +152 -146
  58. package/flashbar/styles.selectors.js +50 -47
  59. package/internal/components/tooltip/index.d.ts +3 -1
  60. package/internal/components/tooltip/index.d.ts.map +1 -1
  61. package/internal/components/tooltip/index.js +2 -2
  62. package/internal/components/tooltip/index.js.map +1 -1
  63. package/internal/components/tooltip/registry.d.ts +4 -0
  64. package/internal/components/tooltip/registry.d.ts.map +1 -0
  65. package/internal/components/tooltip/registry.js +28 -0
  66. package/internal/components/tooltip/registry.js.map +1 -0
  67. package/internal/environment.js +1 -1
  68. package/internal/environment.json +1 -1
  69. package/internal/manifest.json +1 -1
  70. package/internal/plugins/api.d.ts +9 -0
  71. package/internal/plugins/api.d.ts.map +1 -1
  72. package/internal/plugins/api.js +7 -0
  73. package/internal/plugins/api.js.map +1 -1
  74. package/internal/plugins/controllers/alert-flash-content.d.ts +46 -0
  75. package/internal/plugins/controllers/alert-flash-content.d.ts.map +1 -0
  76. package/internal/plugins/controllers/alert-flash-content.js +59 -0
  77. package/internal/plugins/controllers/alert-flash-content.js.map +1 -0
  78. package/internal/plugins/helpers/index.d.ts +1 -0
  79. package/internal/plugins/helpers/index.d.ts.map +1 -1
  80. package/internal/plugins/helpers/index.js +1 -0
  81. package/internal/plugins/helpers/index.js.map +1 -1
  82. package/internal/plugins/helpers/use-discovered-action.d.ts +2 -2
  83. package/internal/plugins/helpers/use-discovered-action.d.ts.map +1 -1
  84. package/internal/plugins/helpers/use-discovered-action.js.map +1 -1
  85. package/internal/plugins/helpers/use-discovered-content.d.ts +15 -0
  86. package/internal/plugins/helpers/use-discovered-content.d.ts.map +1 -0
  87. package/internal/plugins/helpers/use-discovered-content.js +82 -0
  88. package/internal/plugins/helpers/use-discovered-content.js.map +1 -0
  89. package/package.json +1 -1
  90. package/property-filter/styles.css.js +38 -38
  91. package/property-filter/styles.scoped.css +40 -44
  92. package/property-filter/styles.selectors.js +38 -38
  93. package/side-navigation/implementation.d.ts +1 -1
  94. package/side-navigation/implementation.d.ts.map +1 -1
  95. package/side-navigation/implementation.js +2 -1
  96. package/side-navigation/implementation.js.map +1 -1
  97. package/side-navigation/interfaces.d.ts +4 -0
  98. package/side-navigation/interfaces.d.ts.map +1 -1
  99. package/side-navigation/interfaces.js.map +1 -1
  100. package/side-navigation/styles.css.js +30 -29
  101. package/side-navigation/styles.scoped.css +46 -41
  102. package/side-navigation/styles.selectors.js +30 -29
  103. package/test-utils/dom/side-navigation/index.d.ts +1 -0
  104. package/test-utils/dom/side-navigation/index.js +3 -0
  105. package/test-utils/dom/side-navigation/index.js.map +1 -1
  106. package/test-utils/selectors/side-navigation/index.d.ts +1 -0
  107. package/test-utils/selectors/side-navigation/index.js +3 -0
  108. package/test-utils/selectors/side-navigation/index.js.map +1 -1
  109. package/test-utils/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,82 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { useEffect, useRef, useState } from 'react';
4
+ export function createUseDiscoveredContent(componentName, onContentRegistered) {
5
+ return function useDiscoveredContent({ type, header, children, }) {
6
+ const headerRef = useRef(null);
7
+ const contentRef = useRef(null);
8
+ const replacementHeaderRef = useRef(null);
9
+ const replacementContentRef = useRef(null);
10
+ const [headerReplacementType, setFoundHeaderReplacement] = useState('original');
11
+ const [contentReplacementType, setFoundContentReplacement] = useState('original');
12
+ const mountedProvider = useRef();
13
+ useEffect(() => {
14
+ const context = { type, headerRef, contentRef };
15
+ return onContentRegistered(provider => {
16
+ let mounted = true;
17
+ function checkMounted(methodName) {
18
+ if (!mounted) {
19
+ console.warn(`[AwsUi] [Runtime ${componentName} content] \`${methodName}\` called after component unmounted`);
20
+ return false;
21
+ }
22
+ return true;
23
+ }
24
+ mountedProvider.current = provider.runReplacer(context, {
25
+ hideHeader() {
26
+ if (checkMounted('hideHeader')) {
27
+ setFoundHeaderReplacement('remove');
28
+ }
29
+ },
30
+ restoreHeader() {
31
+ if (checkMounted('restoreHeader')) {
32
+ setFoundHeaderReplacement('original');
33
+ }
34
+ },
35
+ replaceHeader(replacer) {
36
+ if (checkMounted('replaceHeader')) {
37
+ replacer(replacementHeaderRef.current);
38
+ setFoundHeaderReplacement('replaced');
39
+ }
40
+ },
41
+ hideContent() {
42
+ if (checkMounted('hideContent')) {
43
+ setFoundContentReplacement('remove');
44
+ }
45
+ },
46
+ restoreContent() {
47
+ if (checkMounted('restoreContent')) {
48
+ setFoundContentReplacement('original');
49
+ }
50
+ },
51
+ replaceContent(replacer) {
52
+ if (checkMounted('replaceContent')) {
53
+ replacer(replacementContentRef.current);
54
+ setFoundContentReplacement('replaced');
55
+ }
56
+ },
57
+ });
58
+ return () => {
59
+ var _a;
60
+ (_a = mountedProvider.current) === null || _a === void 0 ? void 0 : _a.unmount({
61
+ replacementHeaderContainer: replacementHeaderRef.current,
62
+ replacementContentContainer: replacementContentRef.current,
63
+ });
64
+ mounted = false;
65
+ };
66
+ });
67
+ }, [type]);
68
+ useEffect(() => {
69
+ var _a;
70
+ (_a = mountedProvider.current) === null || _a === void 0 ? void 0 : _a.update();
71
+ }, [type, header, children]);
72
+ return {
73
+ headerReplacementType,
74
+ contentReplacementType,
75
+ headerRef: headerRef,
76
+ replacementHeaderRef: replacementHeaderRef,
77
+ contentRef: contentRef,
78
+ replacementContentRef: replacementContentRef,
79
+ };
80
+ };
81
+ }
82
+ //# sourceMappingURL=use-discovered-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-discovered-content.js","sourceRoot":"","sources":["../../../../../src/internal/plugins/helpers/use-discovered-content.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAa,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAQ/D,MAAM,UAAU,0BAA0B,CACxC,aAAqB,EACrB,mBAAuE;IAEvE,OAAO,SAAS,oBAAoB,CAAC,EACnC,IAAI,EACJ,MAAM,EACN,QAAQ,GAKT;QACC,MAAM,SAAS,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;QAC/C,MAAM,UAAU,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;QAChD,MAAM,oBAAoB,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;QAC1D,MAAM,qBAAqB,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;QAC3D,MAAM,CAAC,qBAAqB,EAAE,yBAAyB,CAAC,GAAG,QAAQ,CAAkB,UAAU,CAAC,CAAC;QACjG,MAAM,CAAC,sBAAsB,EAAE,0BAA0B,CAAC,GAAG,QAAQ,CAAkB,UAAU,CAAC,CAAC;QACnG,MAAM,eAAe,GAAG,MAAM,EAAuC,CAAC;QAEtE,S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AA0B,CAAC,UAAU,CAAC,CAAC;yBACxC;oBACH,CAAC;iBACF,CAAC,CAAC;gBAEH,OAAO,GAAG,EAAE;;oBACV,MAAA,eAAe,CAAC,OAAO,0CAAE,OAAO,CAAC;wBAC/B,0BAA0B,EAAE,oBAAoB,CAAC,OAAQ;wBACzD,2BAA2B,EAAE,qBAAqB,CAAC,OAAQ;qBAC5D,CAAC,CAAC;oBACH,OAAO,GAAG,KAAK,CAAC;gBAClB,CAAC,CAAC;YACJ,CAAC,CAAC,CAAC;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;QAEX,SAAS,CAAC,GAAG,EAAE;;YACb,MAAA,eAAe,CAAC,OAAO,0CAAE,MAAM,EAAE,CAAC;QACpC,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;QAE7B,OAAO;YACL,qBAAqB;YACrB,sBAAsB;YACtB,SAAS,EAAE,SAAsC;YACjD,oBAAoB,EAAE,oBAAiD;YACvE,UAAU,EAAE,UAAuC;YACnD,qBAAqB,EAAE,qBAAkD;SAC1E,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ReactNode, useEffect, useRef, useState } from 'react';\n\nimport {\n AlertFlashContentController,\n AlertFlashContentResult,\n ReplacementType,\n} from '../controllers/alert-flash-content';\n\nexport function createUseDiscoveredContent(\n componentName: string,\n onContentRegistered: AlertFlashContentController['onContentRegistered']\n) {\n return function useDiscoveredContent({\n type,\n header,\n children,\n }: {\n type: string;\n header: ReactNode;\n children: ReactNode;\n }) {\n const headerRef = useRef<HTMLDivElement>(null);\n const contentRef = useRef<HTMLDivElement>(null);\n const replacementHeaderRef = useRef<HTMLDivElement>(null);\n const replacementContentRef = useRef<HTMLDivElement>(null);\n const [headerReplacementType, setFoundHeaderReplacement] = useState<ReplacementType>('original');\n const [contentReplacementType, setFoundContentReplacement] = useState<ReplacementType>('original');\n const mountedProvider = useRef<AlertFlashContentResult | undefined>();\n\n useEffect(() => {\n const context = { type, headerRef, contentRef };\n\n return onContentRegistered(provider => {\n let mounted = true;\n\n function checkMounted(methodName: string) {\n if (!mounted) {\n console.warn(\n `[AwsUi] [Runtime ${componentName} content] \\`${methodName}\\` called after component unmounted`\n );\n return false;\n }\n return true;\n }\n\n mountedProvider.current = provider.runReplacer(context, {\n hideHeader() {\n if (checkMounted('hideHeader')) {\n setFoundHeaderReplacement('remove');\n }\n },\n restoreHeader() {\n if (checkMounted('restoreHeader')) {\n setFoundHeaderReplacement('original');\n }\n },\n replaceHeader(replacer: (container: HTMLElement) => void) {\n if (checkMounted('replaceHeader')) {\n replacer(replacementHeaderRef.current!);\n setFoundHeaderReplacement('replaced');\n }\n },\n hideContent() {\n if (checkMounted('hideContent')) {\n setFoundContentReplacement('remove');\n }\n },\n restoreContent() {\n if (checkMounted('restoreContent')) {\n setFoundContentReplacement('original');\n }\n },\n replaceContent(replacer: (container: HTMLElement) => void) {\n if (checkMounted('replaceContent')) {\n replacer(replacementContentRef.current!);\n setFoundContentReplacement('replaced');\n }\n },\n });\n\n return () => {\n mountedProvider.current?.unmount({\n replacementHeaderContainer: replacementHeaderRef.current!,\n replacementContentContainer: replacementContentRef.current!,\n });\n mounted = false;\n };\n });\n }, [type]);\n\n useEffect(() => {\n mountedProvider.current?.update();\n }, [type, header, children]);\n\n return {\n headerReplacementType,\n contentReplacementType,\n headerRef: headerRef as React.Ref<HTMLDivElement>,\n replacementHeaderRef: replacementHeaderRef as React.Ref<HTMLDivElement>,\n contentRef: contentRef as React.Ref<HTMLDivElement>,\n replacementContentRef: replacementContentRef as React.Ref<HTMLDivElement>,\n };\n };\n}\n"]}
package/package.json CHANGED
@@ -126,7 +126,7 @@
126
126
  "./internal/base-component/index.js",
127
127
  "./internal/base-component/styles.css.js"
128
128
  ],
129
- "version": "3.0.748",
129
+ "version": "3.0.749",
130
130
  "repository": {
131
131
  "type": "git",
132
132
  "url": "https://github.com/cloudscape-design/components.git"
@@ -1,43 +1,43 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_1wzqe_13ua9_141",
5
- "search-field": "awsui_search-field_1wzqe_13ua9_176",
6
- "input-wrapper": "awsui_input-wrapper_1wzqe_13ua9_182",
7
- "add-token": "awsui_add-token_1wzqe_13ua9_186",
8
- "tokens": "awsui_tokens_1wzqe_13ua9_193",
9
- "token-operator": "awsui_token-operator_1wzqe_13ua9_198",
10
- "property-editor": "awsui_property-editor_1wzqe_13ua9_202",
11
- "property-editor-form": "awsui_property-editor-form_1wzqe_13ua9_210",
12
- "property-editor-field-property": "awsui_property-editor-field-property_1wzqe_13ua9_213",
13
- "property-editor-field-operator": "awsui_property-editor-field-operator_1wzqe_13ua9_216",
14
- "property-editor-field-value": "awsui_property-editor-field-value_1wzqe_13ua9_219",
15
- "property-editor-cancel": "awsui_property-editor-cancel_1wzqe_13ua9_222",
16
- "property-editor-submit": "awsui_property-editor-submit_1wzqe_13ua9_225",
17
- "property-editor-actions": "awsui_property-editor-actions_1wzqe_13ua9_228",
18
- "token-editor": "awsui_token-editor_1wzqe_13ua9_235",
19
- "token-editor-form": "awsui_token-editor-form_1wzqe_13ua9_243",
20
- "token-editor-field-property": "awsui_token-editor-field-property_1wzqe_13ua9_246",
21
- "token-editor-field-operator": "awsui_token-editor-field-operator_1wzqe_13ua9_249",
22
- "token-editor-field-value": "awsui_token-editor-field-value_1wzqe_13ua9_252",
23
- "token-editor-cancel": "awsui_token-editor-cancel_1wzqe_13ua9_255",
24
- "token-editor-submit": "awsui_token-editor-submit_1wzqe_13ua9_258",
25
- "token-editor-actions": "awsui_token-editor-actions_1wzqe_13ua9_261",
26
- "token-editor-grid": "awsui_token-editor-grid_1wzqe_13ua9_270",
27
- "token-editor-grid-group": "awsui_token-editor-grid-group_1wzqe_13ua9_307",
28
- "token-editor-narrow": "awsui_token-editor-narrow_1wzqe_13ua9_310",
29
- "token-editor-supports-groups": "awsui_token-editor-supports-groups_1wzqe_13ua9_319",
30
- "token-editor-grid-header": "awsui_token-editor-grid-header_1wzqe_13ua9_323",
31
- "token-editor-grid-cell": "awsui_token-editor-grid-cell_1wzqe_13ua9_329",
32
- "token-editor-add-token": "awsui_token-editor-add-token_1wzqe_13ua9_338",
33
- "custom-content-wrapper": "awsui_custom-content-wrapper_1wzqe_13ua9_342",
34
- "custom-control": "awsui_custom-control_1wzqe_13ua9_346",
35
- "input": "awsui_input_1wzqe_13ua9_182",
36
- "results": "awsui_results_1wzqe_13ua9_354",
37
- "token-trigger": "awsui_token-trigger_1wzqe_13ua9_359",
38
- "remove-all": "awsui_remove-all_1wzqe_13ua9_364",
39
- "join-operation": "awsui_join-operation_1wzqe_13ua9_365",
40
- "custom-filter-actions": "awsui_custom-filter-actions_1wzqe_13ua9_366",
41
- "constraint": "awsui_constraint_1wzqe_13ua9_370"
4
+ "root": "awsui_root_1wzqe_184ob_141",
5
+ "search-field": "awsui_search-field_1wzqe_184ob_176",
6
+ "input-wrapper": "awsui_input-wrapper_1wzqe_184ob_182",
7
+ "add-token": "awsui_add-token_1wzqe_184ob_186",
8
+ "tokens": "awsui_tokens_1wzqe_184ob_193",
9
+ "token-operator": "awsui_token-operator_1wzqe_184ob_198",
10
+ "property-editor": "awsui_property-editor_1wzqe_184ob_202",
11
+ "property-editor-form": "awsui_property-editor-form_1wzqe_184ob_209",
12
+ "property-editor-field-property": "awsui_property-editor-field-property_1wzqe_184ob_212",
13
+ "property-editor-field-operator": "awsui_property-editor-field-operator_1wzqe_184ob_215",
14
+ "property-editor-field-value": "awsui_property-editor-field-value_1wzqe_184ob_218",
15
+ "property-editor-cancel": "awsui_property-editor-cancel_1wzqe_184ob_221",
16
+ "property-editor-submit": "awsui_property-editor-submit_1wzqe_184ob_224",
17
+ "property-editor-actions": "awsui_property-editor-actions_1wzqe_184ob_227",
18
+ "token-editor": "awsui_token-editor_1wzqe_184ob_234",
19
+ "token-editor-form": "awsui_token-editor-form_1wzqe_184ob_241",
20
+ "token-editor-field-property": "awsui_token-editor-field-property_1wzqe_184ob_244",
21
+ "token-editor-field-operator": "awsui_token-editor-field-operator_1wzqe_184ob_247",
22
+ "token-editor-field-value": "awsui_token-editor-field-value_1wzqe_184ob_250",
23
+ "token-editor-cancel": "awsui_token-editor-cancel_1wzqe_184ob_253",
24
+ "token-editor-submit": "awsui_token-editor-submit_1wzqe_184ob_256",
25
+ "token-editor-actions": "awsui_token-editor-actions_1wzqe_184ob_259",
26
+ "token-editor-grid": "awsui_token-editor-grid_1wzqe_184ob_268",
27
+ "token-editor-grid-group": "awsui_token-editor-grid-group_1wzqe_184ob_305",
28
+ "token-editor-narrow": "awsui_token-editor-narrow_1wzqe_184ob_308",
29
+ "token-editor-supports-groups": "awsui_token-editor-supports-groups_1wzqe_184ob_317",
30
+ "token-editor-grid-header": "awsui_token-editor-grid-header_1wzqe_184ob_321",
31
+ "token-editor-grid-cell": "awsui_token-editor-grid-cell_1wzqe_184ob_327",
32
+ "token-editor-add-token": "awsui_token-editor-add-token_1wzqe_184ob_336",
33
+ "custom-content-wrapper": "awsui_custom-content-wrapper_1wzqe_184ob_340",
34
+ "custom-control": "awsui_custom-control_1wzqe_184ob_344",
35
+ "input": "awsui_input_1wzqe_184ob_182",
36
+ "results": "awsui_results_1wzqe_184ob_352",
37
+ "token-trigger": "awsui_token-trigger_1wzqe_184ob_357",
38
+ "remove-all": "awsui_remove-all_1wzqe_184ob_362",
39
+ "join-operation": "awsui_join-operation_1wzqe_184ob_363",
40
+ "custom-filter-actions": "awsui_custom-filter-actions_1wzqe_184ob_364",
41
+ "constraint": "awsui_constraint_1wzqe_184ob_368"
42
42
  };
43
43
 
@@ -138,7 +138,7 @@
138
138
  */
139
139
  /* Style used for links in slots/components that are text heavy, to help links stand out among
140
140
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
141
- .awsui_root_1wzqe_13ua9_141:not(#\9) {
141
+ .awsui_root_1wzqe_184ob_141:not(#\9) {
142
142
  border-collapse: separate;
143
143
  border-spacing: 0;
144
144
  box-sizing: border-box;
@@ -174,94 +174,90 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
174
174
  -moz-osx-font-smoothing: auto;
175
175
  }
176
176
 
177
- .awsui_search-field_1wzqe_13ua9_176:not(#\9) {
177
+ .awsui_search-field_1wzqe_184ob_176:not(#\9) {
178
178
  display: flex;
179
179
  align-items: flex-end;
180
180
  max-inline-size: calc(688px - 2 * var(--space-l-t419sm, 20px));
181
181
  }
182
182
 
183
- .awsui_input-wrapper_1wzqe_13ua9_182:not(#\9) {
183
+ .awsui_input-wrapper_1wzqe_184ob_182:not(#\9) {
184
184
  flex-grow: 1;
185
185
  }
186
186
 
187
- .awsui_add-token_1wzqe_13ua9_186:not(#\9) {
187
+ .awsui_add-token_1wzqe_184ob_186:not(#\9) {
188
188
  border-inline-start: 1px solid var(--color-border-divider-default-j74lyz, #b6bec9);
189
189
  box-sizing: border-box;
190
190
  margin-inline-start: var(--space-m-udix3p, 16px);
191
191
  padding-inline-start: var(--space-m-udix3p, 16px);
192
192
  }
193
193
 
194
- .awsui_tokens_1wzqe_13ua9_193:not(#\9) {
194
+ .awsui_tokens_1wzqe_184ob_193:not(#\9) {
195
195
  margin-block: var(--space-xs-zb16t3, 8px);
196
196
  margin-inline: 0;
197
197
  }
198
198
 
199
- .awsui_token-operator_1wzqe_13ua9_198:not(#\9) {
199
+ .awsui_token-operator_1wzqe_184ob_198:not(#\9) {
200
200
  font-weight: bold;
201
201
  }
202
202
 
203
- .awsui_property-editor_1wzqe_13ua9_202:not(#\9) {
204
- -webkit-user-select: text;
205
- user-select: text;
203
+ .awsui_property-editor_1wzqe_184ob_202:not(#\9) {
206
204
  margin-block: var(--space-xxs-p8yyaw, 4px);
207
205
  margin-inline: var(--space-xxs-p8yyaw, 4px);
208
206
  padding-block: var(--space-m-udix3p, 16px);
209
207
  padding-inline: var(--space-m-udix3p, 16px);
210
208
  overflow-y: auto;
211
209
  }
212
- .awsui_property-editor-form_1wzqe_13ua9_210:not(#\9) {
210
+ .awsui_property-editor-form_1wzqe_184ob_209:not(#\9) {
213
211
  margin-block-end: var(--space-scaled-l-0hpmd7, 20px);
214
212
  }
215
- .awsui_property-editor-field-property_1wzqe_13ua9_213:not(#\9) {
213
+ .awsui_property-editor-field-property_1wzqe_184ob_212:not(#\9) {
216
214
  /* used in test-utils */
217
215
  }
218
- .awsui_property-editor-field-operator_1wzqe_13ua9_216:not(#\9) {
216
+ .awsui_property-editor-field-operator_1wzqe_184ob_215:not(#\9) {
219
217
  margin-block-start: var(--space-scaled-l-0hpmd7, 20px);
220
218
  }
221
- .awsui_property-editor-field-value_1wzqe_13ua9_219:not(#\9) {
219
+ .awsui_property-editor-field-value_1wzqe_184ob_218:not(#\9) {
222
220
  margin-block-start: var(--space-scaled-l-0hpmd7, 20px);
223
221
  }
224
- .awsui_property-editor-cancel_1wzqe_13ua9_222:not(#\9) {
222
+ .awsui_property-editor-cancel_1wzqe_184ob_221:not(#\9) {
225
223
  margin-inline-end: var(--space-xs-zb16t3, 8px);
226
224
  }
227
- .awsui_property-editor-submit_1wzqe_13ua9_225:not(#\9) {
225
+ .awsui_property-editor-submit_1wzqe_184ob_224:not(#\9) {
228
226
  /* used in test-utils */
229
227
  }
230
- .awsui_property-editor-actions_1wzqe_13ua9_228:not(#\9) {
228
+ .awsui_property-editor-actions_1wzqe_184ob_227:not(#\9) {
231
229
  display: flex;
232
230
  justify-content: flex-end;
233
231
  padding-block-start: var(--space-s-34lx8l, 12px);
234
232
  border-block-start: 1px solid var(--color-border-dropdown-item-default-k36ra7, #b6bec9);
235
233
  }
236
234
 
237
- .awsui_token-editor_1wzqe_13ua9_235:not(#\9) {
235
+ .awsui_token-editor_1wzqe_184ob_234:not(#\9) {
238
236
  display: flex;
239
237
  flex-direction: column;
240
238
  gap: var(--space-s-34lx8l, 12px);
241
- -webkit-user-select: text;
242
- user-select: text;
243
239
  margin-block: var(--space-xxs-p8yyaw, 4px);
244
240
  margin-inline: var(--space-xxs-p8yyaw, 4px);
245
241
  }
246
- .awsui_token-editor-form_1wzqe_13ua9_243:not(#\9) {
242
+ .awsui_token-editor-form_1wzqe_184ob_241:not(#\9) {
247
243
  /* used in test-utils */
248
244
  }
249
- .awsui_token-editor-field-property_1wzqe_13ua9_246:not(#\9) {
245
+ .awsui_token-editor-field-property_1wzqe_184ob_244:not(#\9) {
250
246
  flex-grow: 2;
251
247
  }
252
- .awsui_token-editor-field-operator_1wzqe_13ua9_249:not(#\9) {
248
+ .awsui_token-editor-field-operator_1wzqe_184ob_247:not(#\9) {
253
249
  flex-grow: 1;
254
250
  }
255
- .awsui_token-editor-field-value_1wzqe_13ua9_252:not(#\9) {
251
+ .awsui_token-editor-field-value_1wzqe_184ob_250:not(#\9) {
256
252
  flex-grow: 2;
257
253
  }
258
- .awsui_token-editor-cancel_1wzqe_13ua9_255:not(#\9) {
254
+ .awsui_token-editor-cancel_1wzqe_184ob_253:not(#\9) {
259
255
  margin-inline-end: var(--space-xs-zb16t3, 8px);
260
256
  }
261
- .awsui_token-editor-submit_1wzqe_13ua9_258:not(#\9) {
257
+ .awsui_token-editor-submit_1wzqe_184ob_256:not(#\9) {
262
258
  /* used in test-utils */
263
259
  }
264
- .awsui_token-editor-actions_1wzqe_13ua9_261:not(#\9) {
260
+ .awsui_token-editor-actions_1wzqe_184ob_259:not(#\9) {
265
261
  display: flex;
266
262
  justify-content: flex-end;
267
263
  padding-block-start: var(--space-s-34lx8l, 12px);
@@ -270,7 +266,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
270
266
  margin-inline: calc(-1 * var(--space-m-udix3p, 16px) + -1 * var(--space-xxs-p8yyaw, 4px));
271
267
  margin-block-start: var(--space-s-34lx8l, 12px);
272
268
  }
273
- .awsui_token-editor-grid_1wzqe_13ua9_270:not(#\9) {
269
+ .awsui_token-editor-grid_1wzqe_184ob_268:not(#\9) {
274
270
  border-collapse: separate;
275
271
  border-spacing: 0;
276
272
  box-sizing: border-box;
@@ -308,70 +304,70 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
308
304
  gap: var(--space-s-34lx8l, 12px);
309
305
  grid-template-columns: minmax(min-content, 2fr) minmax(min-content, 120px) minmax(min-content, 3fr) min-content;
310
306
  }
311
- .awsui_token-editor-grid-group_1wzqe_13ua9_307:not(#\9) {
307
+ .awsui_token-editor-grid-group_1wzqe_184ob_305:not(#\9) {
312
308
  display: contents;
313
309
  }
314
- .awsui_token-editor-grid_1wzqe_13ua9_270.awsui_token-editor-narrow_1wzqe_13ua9_310:not(#\9) {
310
+ .awsui_token-editor-grid_1wzqe_184ob_268.awsui_token-editor-narrow_1wzqe_184ob_308:not(#\9) {
315
311
  grid-template-columns: minmax(100px, 1fr);
316
312
  gap: var(--space-m-udix3p, 16px);
317
313
  }
318
- .awsui_token-editor-grid_1wzqe_13ua9_270.awsui_token-editor-narrow_1wzqe_13ua9_310 > .awsui_token-editor-grid-group_1wzqe_13ua9_307:not(#\9) {
314
+ .awsui_token-editor-grid_1wzqe_184ob_268.awsui_token-editor-narrow_1wzqe_184ob_308 > .awsui_token-editor-grid-group_1wzqe_184ob_305:not(#\9) {
319
315
  display: flex;
320
316
  flex-direction: column;
321
317
  gap: var(--space-s-34lx8l, 12px);
322
318
  }
323
- .awsui_token-editor-grid_1wzqe_13ua9_270.awsui_token-editor-narrow_1wzqe_13ua9_310 > .awsui_token-editor-grid-group_1wzqe_13ua9_307.awsui_token-editor-supports-groups_1wzqe_13ua9_319:not(#\9) {
319
+ .awsui_token-editor-grid_1wzqe_184ob_268.awsui_token-editor-narrow_1wzqe_184ob_308 > .awsui_token-editor-grid-group_1wzqe_184ob_305.awsui_token-editor-supports-groups_1wzqe_184ob_317:not(#\9) {
324
320
  padding-block-end: var(--space-m-udix3p, 16px);
325
321
  border-block-end: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-divider-default-j74lyz, #b6bec9);
326
322
  }
327
- .awsui_token-editor-grid-header_1wzqe_13ua9_323:not(#\9) {
323
+ .awsui_token-editor-grid-header_1wzqe_184ob_321:not(#\9) {
328
324
  color: var(--color-text-column-header-czuvwg, #414d5c);
329
325
  font-weight: var(--font-weight-heading-s-cwn6wc, 700);
330
326
  padding-block: var(--space-scaled-xxs-7597g1, 4px);
331
327
  text-align: start;
332
328
  }
333
- .awsui_token-editor-grid-cell_1wzqe_13ua9_329:not(#\9):not(.awsui_token-editor-narrow_1wzqe_13ua9_310) {
329
+ .awsui_token-editor-grid-cell_1wzqe_184ob_327:not(#\9):not(.awsui_token-editor-narrow_1wzqe_184ob_308) {
334
330
  display: flex;
335
331
  align-items: flex-end;
336
332
  justify-content: flex-end;
337
333
  }
338
- .awsui_token-editor-grid-cell_1wzqe_13ua9_329.awsui_token-editor-narrow_1wzqe_13ua9_310:not(#\9):nth-child(4) {
334
+ .awsui_token-editor-grid-cell_1wzqe_184ob_327.awsui_token-editor-narrow_1wzqe_184ob_308:not(#\9):nth-child(4) {
339
335
  display: flex;
340
336
  justify-content: flex-end;
341
337
  }
342
- .awsui_token-editor-add-token_1wzqe_13ua9_338:not(#\9) {
338
+ .awsui_token-editor-add-token_1wzqe_184ob_336:not(#\9) {
343
339
  margin-block-start: var(--space-s-34lx8l, 12px);
344
340
  }
345
341
 
346
- .awsui_custom-content-wrapper_1wzqe_13ua9_342:not(#\9) {
342
+ .awsui_custom-content-wrapper_1wzqe_184ob_340:not(#\9) {
347
343
  display: contents;
348
344
  }
349
345
 
350
- .awsui_custom-control_1wzqe_13ua9_346:not(#\9) {
346
+ .awsui_custom-control_1wzqe_184ob_344:not(#\9) {
351
347
  margin-inline-end: var(--space-s-34lx8l, 12px);
352
348
  }
353
349
 
354
- .awsui_input_1wzqe_13ua9_182:not(#\9) {
350
+ .awsui_input_1wzqe_184ob_182:not(#\9) {
355
351
  flex: 1;
356
352
  }
357
353
 
358
- .awsui_results_1wzqe_13ua9_354:not(#\9) {
354
+ .awsui_results_1wzqe_184ob_352:not(#\9) {
359
355
  padding-block: calc(var(--space-scaled-xxs-7597g1, 4px) + var(--border-field-width-09w7vk, 2px));
360
356
  padding-inline: 0;
361
357
  }
362
358
 
363
- .awsui_token-trigger_1wzqe_13ua9_359:not(#\9) {
359
+ .awsui_token-trigger_1wzqe_184ob_357:not(#\9) {
364
360
  min-inline-size: 0;
365
361
  word-break: break-word;
366
362
  }
367
363
 
368
- .awsui_remove-all_1wzqe_13ua9_364:not(#\9),
369
- .awsui_join-operation_1wzqe_13ua9_365:not(#\9),
370
- .awsui_custom-filter-actions_1wzqe_13ua9_366:not(#\9) {
364
+ .awsui_remove-all_1wzqe_184ob_362:not(#\9),
365
+ .awsui_join-operation_1wzqe_184ob_363:not(#\9),
366
+ .awsui_custom-filter-actions_1wzqe_184ob_364:not(#\9) {
371
367
  /* used in test-utils */
372
368
  }
373
369
 
374
- .awsui_constraint_1wzqe_13ua9_370:not(#\9) {
370
+ .awsui_constraint_1wzqe_184ob_368:not(#\9) {
375
371
  padding-block-start: var(--space-xxs-p8yyaw, 4px);
376
372
  color: var(--color-text-form-secondary-dxc248, #5f6b7a);
377
373
  font-size: var(--font-size-body-s-asqx2i, 12px);
@@ -2,43 +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_1wzqe_13ua9_141",
6
- "search-field": "awsui_search-field_1wzqe_13ua9_176",
7
- "input-wrapper": "awsui_input-wrapper_1wzqe_13ua9_182",
8
- "add-token": "awsui_add-token_1wzqe_13ua9_186",
9
- "tokens": "awsui_tokens_1wzqe_13ua9_193",
10
- "token-operator": "awsui_token-operator_1wzqe_13ua9_198",
11
- "property-editor": "awsui_property-editor_1wzqe_13ua9_202",
12
- "property-editor-form": "awsui_property-editor-form_1wzqe_13ua9_210",
13
- "property-editor-field-property": "awsui_property-editor-field-property_1wzqe_13ua9_213",
14
- "property-editor-field-operator": "awsui_property-editor-field-operator_1wzqe_13ua9_216",
15
- "property-editor-field-value": "awsui_property-editor-field-value_1wzqe_13ua9_219",
16
- "property-editor-cancel": "awsui_property-editor-cancel_1wzqe_13ua9_222",
17
- "property-editor-submit": "awsui_property-editor-submit_1wzqe_13ua9_225",
18
- "property-editor-actions": "awsui_property-editor-actions_1wzqe_13ua9_228",
19
- "token-editor": "awsui_token-editor_1wzqe_13ua9_235",
20
- "token-editor-form": "awsui_token-editor-form_1wzqe_13ua9_243",
21
- "token-editor-field-property": "awsui_token-editor-field-property_1wzqe_13ua9_246",
22
- "token-editor-field-operator": "awsui_token-editor-field-operator_1wzqe_13ua9_249",
23
- "token-editor-field-value": "awsui_token-editor-field-value_1wzqe_13ua9_252",
24
- "token-editor-cancel": "awsui_token-editor-cancel_1wzqe_13ua9_255",
25
- "token-editor-submit": "awsui_token-editor-submit_1wzqe_13ua9_258",
26
- "token-editor-actions": "awsui_token-editor-actions_1wzqe_13ua9_261",
27
- "token-editor-grid": "awsui_token-editor-grid_1wzqe_13ua9_270",
28
- "token-editor-grid-group": "awsui_token-editor-grid-group_1wzqe_13ua9_307",
29
- "token-editor-narrow": "awsui_token-editor-narrow_1wzqe_13ua9_310",
30
- "token-editor-supports-groups": "awsui_token-editor-supports-groups_1wzqe_13ua9_319",
31
- "token-editor-grid-header": "awsui_token-editor-grid-header_1wzqe_13ua9_323",
32
- "token-editor-grid-cell": "awsui_token-editor-grid-cell_1wzqe_13ua9_329",
33
- "token-editor-add-token": "awsui_token-editor-add-token_1wzqe_13ua9_338",
34
- "custom-content-wrapper": "awsui_custom-content-wrapper_1wzqe_13ua9_342",
35
- "custom-control": "awsui_custom-control_1wzqe_13ua9_346",
36
- "input": "awsui_input_1wzqe_13ua9_182",
37
- "results": "awsui_results_1wzqe_13ua9_354",
38
- "token-trigger": "awsui_token-trigger_1wzqe_13ua9_359",
39
- "remove-all": "awsui_remove-all_1wzqe_13ua9_364",
40
- "join-operation": "awsui_join-operation_1wzqe_13ua9_365",
41
- "custom-filter-actions": "awsui_custom-filter-actions_1wzqe_13ua9_366",
42
- "constraint": "awsui_constraint_1wzqe_13ua9_370"
5
+ "root": "awsui_root_1wzqe_184ob_141",
6
+ "search-field": "awsui_search-field_1wzqe_184ob_176",
7
+ "input-wrapper": "awsui_input-wrapper_1wzqe_184ob_182",
8
+ "add-token": "awsui_add-token_1wzqe_184ob_186",
9
+ "tokens": "awsui_tokens_1wzqe_184ob_193",
10
+ "token-operator": "awsui_token-operator_1wzqe_184ob_198",
11
+ "property-editor": "awsui_property-editor_1wzqe_184ob_202",
12
+ "property-editor-form": "awsui_property-editor-form_1wzqe_184ob_209",
13
+ "property-editor-field-property": "awsui_property-editor-field-property_1wzqe_184ob_212",
14
+ "property-editor-field-operator": "awsui_property-editor-field-operator_1wzqe_184ob_215",
15
+ "property-editor-field-value": "awsui_property-editor-field-value_1wzqe_184ob_218",
16
+ "property-editor-cancel": "awsui_property-editor-cancel_1wzqe_184ob_221",
17
+ "property-editor-submit": "awsui_property-editor-submit_1wzqe_184ob_224",
18
+ "property-editor-actions": "awsui_property-editor-actions_1wzqe_184ob_227",
19
+ "token-editor": "awsui_token-editor_1wzqe_184ob_234",
20
+ "token-editor-form": "awsui_token-editor-form_1wzqe_184ob_241",
21
+ "token-editor-field-property": "awsui_token-editor-field-property_1wzqe_184ob_244",
22
+ "token-editor-field-operator": "awsui_token-editor-field-operator_1wzqe_184ob_247",
23
+ "token-editor-field-value": "awsui_token-editor-field-value_1wzqe_184ob_250",
24
+ "token-editor-cancel": "awsui_token-editor-cancel_1wzqe_184ob_253",
25
+ "token-editor-submit": "awsui_token-editor-submit_1wzqe_184ob_256",
26
+ "token-editor-actions": "awsui_token-editor-actions_1wzqe_184ob_259",
27
+ "token-editor-grid": "awsui_token-editor-grid_1wzqe_184ob_268",
28
+ "token-editor-grid-group": "awsui_token-editor-grid-group_1wzqe_184ob_305",
29
+ "token-editor-narrow": "awsui_token-editor-narrow_1wzqe_184ob_308",
30
+ "token-editor-supports-groups": "awsui_token-editor-supports-groups_1wzqe_184ob_317",
31
+ "token-editor-grid-header": "awsui_token-editor-grid-header_1wzqe_184ob_321",
32
+ "token-editor-grid-cell": "awsui_token-editor-grid-cell_1wzqe_184ob_327",
33
+ "token-editor-add-token": "awsui_token-editor-add-token_1wzqe_184ob_336",
34
+ "custom-content-wrapper": "awsui_custom-content-wrapper_1wzqe_184ob_340",
35
+ "custom-control": "awsui_custom-control_1wzqe_184ob_344",
36
+ "input": "awsui_input_1wzqe_184ob_182",
37
+ "results": "awsui_results_1wzqe_184ob_352",
38
+ "token-trigger": "awsui_token-trigger_1wzqe_184ob_357",
39
+ "remove-all": "awsui_remove-all_1wzqe_184ob_362",
40
+ "join-operation": "awsui_join-operation_1wzqe_184ob_363",
41
+ "custom-filter-actions": "awsui_custom-filter-actions_1wzqe_184ob_364",
42
+ "constraint": "awsui_constraint_1wzqe_184ob_368"
43
43
  };
44
44
 
@@ -2,6 +2,6 @@
2
2
  import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
3
3
  import { SideNavigationProps } from './interfaces';
4
4
  export type SideNavigationInternalProps = SideNavigationProps & InternalBaseComponentProps;
5
- export declare function SideNavigationImplementation({ header, activeHref, items, onFollow, onChange, __internalRootRef, ...props }: SideNavigationInternalProps): JSX.Element;
5
+ export declare function SideNavigationImplementation({ header, itemsControl, activeHref, items, onFollow, onChange, __internalRootRef, ...props }: SideNavigationInternalProps): JSX.Element;
6
6
  export declare const createWidgetizedSideNavigation: (Loader?: typeof SideNavigationImplementation | undefined) => typeof SideNavigationImplementation;
7
7
  //# sourceMappingURL=implementation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"implementation.d.ts","sourceRoot":"","sources":["../../../src/side-navigation/implementation.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAGlF,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAMnD,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG,0BAA0B,CAAC;AAE3F,wBAAgB,4BAA4B,CAAC,EAC3C,MAAM,EACN,UAAU,EACV,KAAU,EACV,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,GAAG,KAAK,EACT,EAAE,2BAA2B,eAwD7B;AAED,eAAO,MAAM,8BAA8B,mGAA0D,CAAC"}
1
+ {"version":3,"file":"implementation.d.ts","sourceRoot":"","sources":["../../../src/side-navigation/implementation.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAGlF,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAMnD,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG,0BAA0B,CAAC;AAE3F,wBAAgB,4BAA4B,CAAC,EAC3C,MAAM,EACN,YAAY,EACZ,UAAU,EACV,KAAU,EACV,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,GAAG,KAAK,EACT,EAAE,2BAA2B,eAyD7B;AAED,eAAO,MAAM,8BAA8B,mGAA0D,CAAC"}
@@ -12,7 +12,7 @@ import { Header, NavigationItemsList } from './parts';
12
12
  import { checkDuplicateHrefs, generateExpandableItemsMapping } from './util';
13
13
  import styles from './styles.css.js';
14
14
  export function SideNavigationImplementation(_a) {
15
- var { header, activeHref, items = [], onFollow, onChange, __internalRootRef } = _a, props = __rest(_a, ["header", "activeHref", "items", "onFollow", "onChange", "__internalRootRef"]);
15
+ var { header, itemsControl, activeHref, items = [], onFollow, onChange, __internalRootRef } = _a, props = __rest(_a, ["header", "itemsControl", "activeHref", "items", "onFollow", "onChange", "__internalRootRef"]);
16
16
  const baseProps = getBaseProps(props);
17
17
  const isToolbar = useAppLayoutToolbarEnabled();
18
18
  const parentMap = useMemo(() => generateExpandableItemsMapping(items), [items]);
@@ -31,6 +31,7 @@ export function SideNavigationImplementation(_a) {
31
31
  }, [onFollow]);
32
32
  return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(styles.root, baseProps.className, isToolbar && styles['with-toolbar']), ref: __internalRootRef }),
33
33
  header && (React.createElement(Header, { definition: header, activeHref: activeHref, fireChange: onChangeHandler, fireFollow: onFollowHandler })),
34
+ itemsControl && React.createElement("div", { className: styles['items-control'] }, itemsControl),
34
35
  items && (React.createElement("div", { className: styles['list-container'] },
35
36
  React.createElement(NavigationItemsList, { variant: "root", items: items, fireFollow: onFollowHandler, fireChange: onChangeHandler, activeHref: activeHref })))));
36
37
  }
@@ -1 +1 @@
1
- {"version":3,"file":"implementation.js","sourceRoot":"","sources":["../../../src/side-navigation/implementation.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjF,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,QAAQ,CAAC;AAE7E,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAIrC,MAAM,UAAU,4BAA4B,CAAC,EAQf;QARe,EAC3C,MAAM,EACN,UAAU,EACV,KAAK,GAAG,EAAE,EACV,QAAQ,EACR,QAAQ,EACR,iBAAiB,OAEW,EADzB,KAAK,cAPmC,8EAQ5C,CADS;IAER,MAAM,SAAS,GAAG,YA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tC,oBAAC,mBAAmB,IAClB,OAAO,EAAC,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,eAAe,EAC3B,UAAU,EAAE,eAAe,EAC3B,UAAU,EAAE,UAAU,GACtB,CACE,CACP,CACG,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,4BAA4B,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useCallback, useEffect, useMemo } from 'react';\nimport clsx from 'clsx';\n\nimport { useAppLayoutToolbarEnabled } from '../app-layout/utils/feature-flags';\nimport { getBaseProps } from '../internal/base-component';\nimport { fireCancelableEvent, fireNonCancelableEvent } from '../internal/events';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { isDevelopment } from '../internal/is-development';\nimport { createWidgetizedComponent } from '../internal/widgets';\nimport { SideNavigationProps } from './interfaces';\nimport { Header, NavigationItemsList } from './parts';\nimport { checkDuplicateHrefs, generateExpandableItemsMapping } from './util';\n\nimport styles from './styles.css.js';\n\nexport type SideNavigationInternalProps = SideNavigationProps & InternalBaseComponentProps;\n\nexport function SideNavigationImplementation({\n header,\n activeHref,\n items = [],\n onFollow,\n onChange,\n __internalRootRef,\n ...props\n}: SideNavigationInternalProps) {\n const baseProps = getBaseProps(props);\n const isToolbar = useAppLayoutToolbarEnabled();\n const parentMap = useMemo(() => generateExpandableItemsMapping(items), [items]);\n\n if (isDevelopment) {\n // This code should be wiped in production anyway.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useEffect(() => checkDuplicateHrefs(items), [items]);\n }\n\n const onChangeHandler = useCallback(\n (item: SideNavigationProps.Section | SideNavigationProps.ExpandableLinkGroup, expanded: boolean) => {\n // generateExpandableItemsMapping walks through the entire tree, so we're certain about getting a value.\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n fireNonCancelableEvent(onChange, { item, expanded: expanded, expandableParents: parentMap.get(item)! });\n },\n [onChange, parentMap]\n );\n\n const onFollowHandler = useCallback(\n (\n item:\n | SideNavigationProps.Link\n | SideNavigationProps.Header\n | SideNavigationProps.LinkGroup\n | SideNavigationProps.ExpandableLinkGroup,\n sourceEvent: React.SyntheticEvent | Event\n ) => {\n fireCancelableEvent(onFollow, item, sourceEvent);\n },\n [onFollow]\n );\n\n return (\n <div\n {...baseProps}\n className={clsx(styles.root, baseProps.className, isToolbar && styles['with-toolbar'])}\n ref={__internalRootRef}\n >\n {header && (\n <Header definition={header} activeHref={activeHref} fireChange={onChangeHandler} fireFollow={onFollowHandler} />\n )}\n {items && (\n <div className={styles['list-container']}>\n <NavigationItemsList\n variant=\"root\"\n items={items}\n fireFollow={onFollowHandler}\n fireChange={onChangeHandler}\n activeHref={activeHref}\n />\n </div>\n )}\n </div>\n );\n}\n\nexport const createWidgetizedSideNavigation = createWidgetizedComponent(SideNavigationImplementation);\n"]}
1
+ {"version":3,"file":"implementation.js","sourceRoot":"","sources":["../../../src/side-navigation/implementation.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjF,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,QAAQ,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,CAAC,EACtF,GAAG,EAAE,iBAAiB;QAErB,MAAM,IAAI,CACT,oBAAC,MAAM,IAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,eAAe,GAAI,CACjH;QACA,YAAY,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,IAAG,YAAY,CAAO;QAC7E,KAAK,IAAI,CACR,6BAAK,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC;YACtC,oBAAC,mBAAmB,IAClB,OAAO,EAAC,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,eAAe,EAC3B,UAAU,EAAE,eAAe,EAC3B,UAAU,EAAE,UAAU,GACtB,CACE,CACP,CACG,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,4BAA4B,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useCallback, useEffect, useMemo } from 'react';\nimport clsx from 'clsx';\n\nimport { useAppLayoutToolbarEnabled } from '../app-layout/utils/feature-flags';\nimport { getBaseProps } from '../internal/base-component';\nimport { fireCancelableEvent, fireNonCancelableEvent } from '../internal/events';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { isDevelopment } from '../internal/is-development';\nimport { createWidgetizedComponent } from '../internal/widgets';\nimport { SideNavigationProps } from './interfaces';\nimport { Header, NavigationItemsList } from './parts';\nimport { checkDuplicateHrefs, generateExpandableItemsMapping } from './util';\n\nimport styles from './styles.css.js';\n\nexport type SideNavigationInternalProps = SideNavigationProps & InternalBaseComponentProps;\n\nexport function SideNavigationImplementation({\n header,\n itemsControl,\n activeHref,\n items = [],\n onFollow,\n onChange,\n __internalRootRef,\n ...props\n}: SideNavigationInternalProps) {\n const baseProps = getBaseProps(props);\n const isToolbar = useAppLayoutToolbarEnabled();\n const parentMap = useMemo(() => generateExpandableItemsMapping(items), [items]);\n\n if (isDevelopment) {\n // This code should be wiped in production anyway.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useEffect(() => checkDuplicateHrefs(items), [items]);\n }\n\n const onChangeHandler = useCallback(\n (item: SideNavigationProps.Section | SideNavigationProps.ExpandableLinkGroup, expanded: boolean) => {\n // generateExpandableItemsMapping walks through the entire tree, so we're certain about getting a value.\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n fireNonCancelableEvent(onChange, { item, expanded: expanded, expandableParents: parentMap.get(item)! });\n },\n [onChange, parentMap]\n );\n\n const onFollowHandler = useCallback(\n (\n item:\n | SideNavigationProps.Link\n | SideNavigationProps.Header\n | SideNavigationProps.LinkGroup\n | SideNavigationProps.ExpandableLinkGroup,\n sourceEvent: React.SyntheticEvent | Event\n ) => {\n fireCancelableEvent(onFollow, item, sourceEvent);\n },\n [onFollow]\n );\n\n return (\n <div\n {...baseProps}\n className={clsx(styles.root, baseProps.className, isToolbar && styles['with-toolbar'])}\n ref={__internalRootRef}\n >\n {header && (\n <Header definition={header} activeHref={activeHref} fireChange={onChangeHandler} fireFollow={onFollowHandler} />\n )}\n {itemsControl && <div className={styles['items-control']}>{itemsControl}</div>}\n {items && (\n <div className={styles['list-container']}>\n <NavigationItemsList\n variant=\"root\"\n items={items}\n fireFollow={onFollowHandler}\n fireChange={onChangeHandler}\n activeHref={activeHref}\n />\n </div>\n )}\n </div>\n );\n}\n\nexport const createWidgetizedSideNavigation = createWidgetizedComponent(SideNavigationImplementation);\n"]}
@@ -11,6 +11,10 @@ export interface SideNavigationProps extends BaseComponentProps {
11
11
  * - `logo` (object) - Specifies a logo image.
12
12
  */
13
13
  header?: SideNavigationProps.Header;
14
+ /**
15
+ * A slot located below the header and above the items.
16
+ **/
17
+ itemsControl?: React.ReactNode;
14
18
  /**
15
19
  * Specifies the `href` of the currently active link.
16
20
  * All items within the navigation with a matching `href` are highlighted.
@@ -1 +1 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