@cloudscape-design/components 3.0.1021 → 3.0.1022

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 (76) hide show
  1. package/index.d.ts +1 -0
  2. package/index.d.ts.map +1 -1
  3. package/index.js +1 -0
  4. package/index.js.map +1 -1
  5. package/internal/analytics/interfaces.d.ts +2 -2
  6. package/internal/analytics/interfaces.d.ts.map +1 -1
  7. package/internal/analytics/interfaces.js.map +1 -1
  8. package/internal/base-component/styles.scoped.css +1 -1
  9. package/{table/expandable-rows/expand-toggle-button.d.ts → internal/components/expand-toggle-button/index.d.ts} +4 -2
  10. package/internal/components/expand-toggle-button/index.d.ts.map +1 -0
  11. package/{table/expandable-rows/expand-toggle-button.js → internal/components/expand-toggle-button/index.js} +5 -6
  12. package/internal/components/expand-toggle-button/index.js.map +1 -0
  13. package/internal/components/expand-toggle-button/styles.css.js +8 -0
  14. package/{table/expandable-rows → internal/components/expand-toggle-button}/styles.scoped.css +18 -18
  15. package/{table/expandable-rows → internal/components/expand-toggle-button}/styles.selectors.js +3 -3
  16. package/internal/components/structured-item/index.d.ts +2 -1
  17. package/internal/components/structured-item/index.d.ts.map +1 -1
  18. package/internal/components/structured-item/index.js +2 -2
  19. package/internal/components/structured-item/index.js.map +1 -1
  20. package/internal/components/structured-item/interfaces.d.ts +1 -0
  21. package/internal/components/structured-item/interfaces.d.ts.map +1 -1
  22. package/internal/components/structured-item/interfaces.js.map +1 -1
  23. package/internal/components/structured-item/styles.css.js +7 -6
  24. package/internal/components/structured-item/styles.scoped.css +10 -8
  25. package/internal/components/structured-item/styles.selectors.js +7 -6
  26. package/internal/environment.js +2 -2
  27. package/internal/environment.json +2 -2
  28. package/internal/manifest.json +1 -1
  29. package/package.json +2 -1
  30. package/table/body-cell/td-element.d.ts.map +1 -1
  31. package/table/body-cell/td-element.js +1 -1
  32. package/table/body-cell/td-element.js.map +1 -1
  33. package/test-utils/dom/index.d.ts +20 -0
  34. package/test-utils/dom/index.js +12 -1
  35. package/test-utils/dom/index.js.map +1 -1
  36. package/test-utils/dom/table/index.js +7 -7
  37. package/test-utils/dom/table/index.js.map +1 -1
  38. package/test-utils/dom/tree-view/index.d.ts +61 -0
  39. package/test-utils/dom/tree-view/index.js +95 -0
  40. package/test-utils/dom/tree-view/index.js.map +1 -0
  41. package/test-utils/selectors/index.d.ts +18 -0
  42. package/test-utils/selectors/index.js +12 -1
  43. package/test-utils/selectors/index.js.map +1 -1
  44. package/test-utils/selectors/table/index.js +7 -7
  45. package/test-utils/selectors/table/index.js.map +1 -1
  46. package/test-utils/selectors/tree-view/index.d.ts +61 -0
  47. package/test-utils/selectors/tree-view/index.js +95 -0
  48. package/test-utils/selectors/tree-view/index.js.map +1 -0
  49. package/tree-view/index.d.ts +5 -0
  50. package/tree-view/index.d.ts.map +1 -0
  51. package/tree-view/index.js +17 -0
  52. package/tree-view/index.js.map +1 -0
  53. package/tree-view/interfaces.d.ts +79 -0
  54. package/tree-view/interfaces.d.ts.map +1 -0
  55. package/tree-view/interfaces.js +2 -0
  56. package/tree-view/interfaces.js.map +1 -0
  57. package/tree-view/internal.d.ts +20 -0
  58. package/tree-view/internal.d.ts.map +1 -0
  59. package/tree-view/internal.js +35 -0
  60. package/tree-view/internal.js.map +1 -0
  61. package/tree-view/styles.css.js +7 -0
  62. package/tree-view/styles.scoped.css +223 -0
  63. package/tree-view/styles.selectors.js +8 -0
  64. package/tree-view/test-classes/styles.css.js +10 -0
  65. package/tree-view/test-classes/styles.scoped.css +11 -0
  66. package/tree-view/test-classes/styles.selectors.js +11 -0
  67. package/tree-view/tree-item/index.d.ts +21 -0
  68. package/tree-view/tree-item/index.d.ts.map +1 -0
  69. package/tree-view/tree-item/index.js +40 -0
  70. package/tree-view/tree-item/index.js.map +1 -0
  71. package/tree-view/tree-item/styles.css.js +10 -0
  72. package/tree-view/tree-item/styles.scoped.css +216 -0
  73. package/tree-view/tree-item/styles.selectors.js +11 -0
  74. package/table/expandable-rows/expand-toggle-button.d.ts.map +0 -1
  75. package/table/expandable-rows/expand-toggle-button.js.map +0 -1
  76. package/table/expandable-rows/styles.css.js +0 -8
@@ -0,0 +1,223 @@
1
+ /*
2
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ /*
6
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
+ SPDX-License-Identifier: Apache-2.0
8
+ */
9
+ /*
10
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
11
+ SPDX-License-Identifier: Apache-2.0
12
+ */
13
+ /*
14
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
15
+ SPDX-License-Identifier: Apache-2.0
16
+ */
17
+ /*
18
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19
+ SPDX-License-Identifier: Apache-2.0
20
+ */
21
+ /*
22
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
23
+ SPDX-License-Identifier: Apache-2.0
24
+ */
25
+ /*
26
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
27
+ SPDX-License-Identifier: Apache-2.0
28
+ */
29
+ /*
30
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
31
+ SPDX-License-Identifier: Apache-2.0
32
+ */
33
+ /*
34
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
35
+ SPDX-License-Identifier: Apache-2.0
36
+ */
37
+ /*
38
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
39
+ SPDX-License-Identifier: Apache-2.0
40
+ */
41
+ /*
42
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
43
+ SPDX-License-Identifier: Apache-2.0
44
+ */
45
+ /*
46
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
47
+ SPDX-License-Identifier: Apache-2.0
48
+ */
49
+ /*
50
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
51
+ SPDX-License-Identifier: Apache-2.0
52
+ */
53
+ /*
54
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
55
+ SPDX-License-Identifier: Apache-2.0
56
+ */
57
+ /*
58
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
59
+ SPDX-License-Identifier: Apache-2.0
60
+ */
61
+ /*
62
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
63
+ SPDX-License-Identifier: Apache-2.0
64
+ */
65
+ /*
66
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
67
+ SPDX-License-Identifier: Apache-2.0
68
+ */
69
+ /*
70
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
71
+ SPDX-License-Identifier: Apache-2.0
72
+ */
73
+ /*
74
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
75
+ SPDX-License-Identifier: Apache-2.0
76
+ */
77
+ /*
78
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
79
+ SPDX-License-Identifier: Apache-2.0
80
+ */
81
+ /*
82
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
83
+ SPDX-License-Identifier: Apache-2.0
84
+ */
85
+ /*
86
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
87
+ SPDX-License-Identifier: Apache-2.0
88
+ */
89
+ /*
90
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
+ SPDX-License-Identifier: Apache-2.0
92
+ */
93
+ /*
94
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
95
+ SPDX-License-Identifier: Apache-2.0
96
+ */
97
+ /*
98
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
99
+ SPDX-License-Identifier: Apache-2.0
100
+ */
101
+ /*
102
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
103
+ SPDX-License-Identifier: Apache-2.0
104
+ */
105
+ /*
106
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
107
+ SPDX-License-Identifier: Apache-2.0
108
+ */
109
+ /*
110
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
111
+ SPDX-License-Identifier: Apache-2.0
112
+ */
113
+ /*
114
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
115
+ SPDX-License-Identifier: Apache-2.0
116
+ */
117
+ /*
118
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
119
+ SPDX-License-Identifier: Apache-2.0
120
+ */
121
+ /*
122
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
123
+ SPDX-License-Identifier: Apache-2.0
124
+ */
125
+ /*
126
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
127
+ SPDX-License-Identifier: Apache-2.0
128
+ */
129
+ /*
130
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
131
+ SPDX-License-Identifier: Apache-2.0
132
+ */
133
+ /*
134
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
135
+ SPDX-License-Identifier: Apache-2.0
136
+ */
137
+ /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
138
+ /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
139
+ /*
140
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
141
+ SPDX-License-Identifier: Apache-2.0
142
+ */
143
+ /*
144
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
145
+ SPDX-License-Identifier: Apache-2.0
146
+ */
147
+ /*
148
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
149
+ SPDX-License-Identifier: Apache-2.0
150
+ */
151
+ /*
152
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
153
+ SPDX-License-Identifier: Apache-2.0
154
+ */
155
+ /*
156
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
157
+ SPDX-License-Identifier: Apache-2.0
158
+ */
159
+ /*
160
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
161
+ SPDX-License-Identifier: Apache-2.0
162
+ */
163
+ /*
164
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
165
+ SPDX-License-Identifier: Apache-2.0
166
+ */
167
+ /*
168
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
169
+ SPDX-License-Identifier: Apache-2.0
170
+ */
171
+ /*
172
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
173
+ SPDX-License-Identifier: Apache-2.0
174
+ */
175
+ /*
176
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
177
+ SPDX-License-Identifier: Apache-2.0
178
+ */
179
+ /* Style used for links in slots/components that are text heavy, to help links stand out among
180
+ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
181
+ .awsui_root_18gnm_17ax2_181:not(#\9) {
182
+ border-collapse: separate;
183
+ border-spacing: 0;
184
+ box-sizing: border-box;
185
+ caption-side: top;
186
+ cursor: auto;
187
+ direction: inherit;
188
+ empty-cells: show;
189
+ font-family: serif;
190
+ font-style: normal;
191
+ font-variant: normal;
192
+ font-stretch: normal;
193
+ hyphens: none;
194
+ letter-spacing: normal;
195
+ list-style: disc outside none;
196
+ tab-size: 8;
197
+ text-align: start;
198
+ text-indent: 0;
199
+ text-shadow: none;
200
+ text-transform: none;
201
+ visibility: visible;
202
+ white-space: normal;
203
+ word-spacing: normal;
204
+ font-size: var(--font-size-body-m-a7nh2n, 14px);
205
+ line-height: var(--line-height-body-m-2mh3ke, 20px);
206
+ color: var(--color-text-body-default-vvtq8u, #0f141a);
207
+ font-weight: 400;
208
+ font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
209
+ -webkit-font-smoothing: auto;
210
+ -moz-osx-font-smoothing: auto;
211
+ font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
212
+ font-size: var(--font-size-body-m-a7nh2n, 14px);
213
+ line-height: var(--line-height-heading-m-uoaqdh, 22px);
214
+ padding-block: var(--space-scaled-xxs-pfm1nx, 4px);
215
+ padding-inline: var(--space-scaled-xxs-pfm1nx, 4px);
216
+ }
217
+
218
+ .awsui_tree_18gnm_17ax2_218:not(#\9) {
219
+ margin-block: 0;
220
+ margin-inline: 0;
221
+ padding-block: 0;
222
+ padding-inline: 0;
223
+ }
@@ -0,0 +1,8 @@
1
+
2
+ // es-module interop with Babel and Typescript
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ module.exports.default = {
5
+ "root": "awsui_root_18gnm_17ax2_181",
6
+ "tree": "awsui_tree_18gnm_17ax2_218"
7
+ };
8
+
@@ -0,0 +1,10 @@
1
+
2
+ import './styles.scoped.css';
3
+ export default {
4
+ "root": "awsui_root_1js4f_l7ca9_5",
5
+ "tree": "awsui_tree_1js4f_l7ca9_6",
6
+ "treeitem": "awsui_treeitem_1js4f_l7ca9_7",
7
+ "expandable": "awsui_expandable_1js4f_l7ca9_8",
8
+ "expanded": "awsui_expanded_1js4f_l7ca9_9"
9
+ };
10
+
@@ -0,0 +1,11 @@
1
+ /*
2
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ .awsui_root_1js4f_l7ca9_5:not(#\9),
6
+ .awsui_tree_1js4f_l7ca9_6:not(#\9),
7
+ .awsui_treeitem_1js4f_l7ca9_7:not(#\9),
8
+ .awsui_expandable_1js4f_l7ca9_8:not(#\9),
9
+ .awsui_expanded_1js4f_l7ca9_9:not(#\9) {
10
+ /* used in test-utils */
11
+ }
@@ -0,0 +1,11 @@
1
+
2
+ // es-module interop with Babel and Typescript
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ module.exports.default = {
5
+ "root": "awsui_root_1js4f_l7ca9_5",
6
+ "tree": "awsui_tree_1js4f_l7ca9_6",
7
+ "treeitem": "awsui_treeitem_1js4f_l7ca9_7",
8
+ "expandable": "awsui_expandable_1js4f_l7ca9_8",
9
+ "expanded": "awsui_expanded_1js4f_l7ca9_9"
10
+ };
11
+
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { TreeViewProps } from '../interfaces';
3
+ interface InternalTreeItemProps<T> extends Pick<TreeViewProps, 'expandedItems' | 'renderItem' | 'getItemId' | 'getItemChildren' | 'renderItemToggleIcon' | 'i18nStrings'> {
4
+ item: T;
5
+ index: number;
6
+ level: number;
7
+ onItemToggle: (detail: TreeViewProps.ItemToggleDetail<T>) => void;
8
+ }
9
+ declare const InternalTreeItem: <T>({
10
+ item,
11
+ index,
12
+ level,
13
+ i18nStrings,
14
+ expandedItems,
15
+ renderItemToggleIcon,
16
+ renderItem,
17
+ getItemId,
18
+ getItemChildren,
19
+ onItemToggle
20
+ }: InternalTreeItemProps<T>) => JSX.Element;
21
+ export default InternalTreeItem;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tree-view/tree-item/index.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAK9C,UAAU,qBAAqB,CAAC,CAAC,CAC/B,SAAQ,IAAI,CACV,aAAa,EACb,eAAe,GAAG,YAAY,GAAG,WAAW,GAAG,iBAAiB,GAAG,sBAAsB,GAAG,aAAa,CAC1G;IACD,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CACnE;AAED,QAAA,MAAM,gBAAgB,+KAmGrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,40 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import React from 'react';
4
+ import clsx from 'clsx';
5
+ import { useInternalI18n } from '../../i18n/context';
6
+ import { ExpandToggleButton } from '../../internal/components/expand-toggle-button';
7
+ import InternalStructuredItem from '../../internal/components/structured-item';
8
+ import { joinStrings } from '../../internal/utils/strings';
9
+ import testUtilStyles from '../test-classes/styles.css.js';
10
+ import styles from './styles.css.js';
11
+ const InternalTreeItem = ({ item, index, level, i18nStrings, expandedItems = [], renderItemToggleIcon, renderItem, getItemId, getItemChildren, onItemToggle, }) => {
12
+ var _a, _b;
13
+ const i18n = useInternalI18n('tree-view');
14
+ const { icon, content, secondaryContent, actions, announcementLabel } = renderItem(item, index);
15
+ const id = getItemId(item, index);
16
+ const children = getItemChildren(item, index) || [];
17
+ const isExpandable = children.length > 0;
18
+ const isExpanded = isExpandable && expandedItems.includes(id);
19
+ const nextLevel = level + 1;
20
+ let customIcon = undefined;
21
+ if (isExpandable && renderItemToggleIcon) {
22
+ customIcon = renderItemToggleIcon({ expanded: isExpanded });
23
+ }
24
+ const itemLabelToAnnounce = announcementLabel
25
+ ? announcementLabel
26
+ : typeof content === 'string'
27
+ ? content
28
+ : '';
29
+ // Role `treeitem` isn't used in the initial release per discussion with A11Y team. It requires focus management to be implemented so they will be added as a follow up together.
30
+ return (React.createElement("li", { id: id, className: clsx(styles.treeitem, testUtilStyles.treeitem, isExpandable && [testUtilStyles.expandable], isExpanded && [testUtilStyles.expanded]), "aria-expanded": isExpandable ? isExpanded : undefined, "aria-level": level, "data-testid": `awsui-treeitem-${id}` },
31
+ React.createElement("div", { className: styles['expand-toggle-wrapper'] }, isExpandable && (React.createElement("div", { className: styles.toggle },
32
+ React.createElement(ExpandToggleButton, { isExpanded: isExpanded, customIcon: customIcon, expandButtonLabel: joinStrings(i18n('i18nStrings.expandButtonLabel', (_a = i18nStrings === null || i18nStrings === void 0 ? void 0 : i18nStrings.expandButtonLabel) === null || _a === void 0 ? void 0 : _a.call(i18nStrings, item)), itemLabelToAnnounce), collapseButtonLabel: joinStrings(i18n('i18nStrings.collapseButtonLabel', (_b = i18nStrings === null || i18nStrings === void 0 ? void 0 : i18nStrings.collapseButtonLabel) === null || _b === void 0 ? void 0 : _b.call(i18nStrings, item)), itemLabelToAnnounce), onExpandableItemToggle: () => onItemToggle({ id, item, expanded: !isExpanded }) })))),
33
+ React.createElement("div", { className: styles['structured-item-wrapper'] },
34
+ React.createElement(InternalStructuredItem, { icon: icon, content: content, secondaryContent: secondaryContent, actions: actions, wrapActions: false })),
35
+ isExpanded && children.length && (React.createElement("ul", { className: styles['treeitem-group'] }, children.map((child, index) => {
36
+ return (React.createElement(InternalTreeItem, { item: child, index: index, key: `${nextLevel}-${index}`, level: nextLevel, expandedItems: expandedItems, i18nStrings: i18nStrings, onItemToggle: onItemToggle, renderItem: renderItem, getItemId: getItemId, getItemChildren: getItemChildren, renderItemToggleIcon: renderItemToggleIcon }));
37
+ })))));
38
+ };
39
+ export default InternalTreeItem;
40
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tree-view/tree-item/index.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { useInternalI18n } from '../../i18n/context';\nimport { ExpandToggleButton } from '../../internal/components/expand-toggle-button';\nimport InternalStructuredItem from '../../internal/components/structured-item';\nimport { joinStrings } from '../../internal/utils/strings';\nimport { TreeViewProps } from '../interfaces';\n\nimport testUtilStyles from '../test-classes/styles.css.js';\nimport styles from './styles.css.js';\n\ninterface InternalTreeItemProps<T>\n extends Pick<\n TreeViewProps,\n 'expandedItems' | 'renderItem' | 'getItemId' | 'getItemChildren' | 'renderItemToggleIcon' | 'i18nStrings'\n > {\n item: T;\n index: number;\n level: number;\n onItemToggle: (detail: TreeViewProps.ItemToggleDetail<T>) => void;\n}\n\nconst InternalTreeItem = <T,>({\n item,\n index,\n level,\n i18nStrings,\n expandedItems = [],\n renderItemToggleIcon,\n renderItem,\n getItemId,\n getItemChildren,\n onItemToggle,\n}: InternalTreeItemProps<T>) => {\n const i18n = useInternalI18n('tree-view');\n\n const { icon, content, secondaryContent, actions, announcementLabel } = renderItem(item, index);\n const id = getItemId(item, index);\n const children = getItemChildren(item, index) || [];\n const isExpandable = children.length > 0;\n const isExpanded = isExpandable && expandedItems.includes(id);\n const nextLevel = level + 1;\n\n let customIcon: React.ReactNode | undefined = undefined;\n if (isExpandable && renderItemToggleIcon) {\n customIcon = renderItemToggleIcon({ expanded: isExpanded });\n }\n\n const itemLabelToAnnounce = announcementLabel\n ? announcementLabel\n : typeof content === 'string'\n ? (content as string)\n : '';\n\n // Role `treeitem` isn't used in the initial release per discussion with A11Y team. It requires focus management to be implemented so they will be added as a follow up together.\n return (\n <li\n id={id}\n className={clsx(\n styles.treeitem,\n testUtilStyles.treeitem,\n isExpandable && [testUtilStyles.expandable],\n isExpanded && [testUtilStyles.expanded]\n )}\n aria-expanded={isExpandable ? isExpanded : undefined}\n aria-level={level}\n data-testid={`awsui-treeitem-${id}`}\n >\n <div className={styles['expand-toggle-wrapper']}>\n {isExpandable && (\n <div className={styles.toggle}>\n <ExpandToggleButton\n isExpanded={isExpanded}\n customIcon={customIcon}\n expandButtonLabel={joinStrings(\n i18n('i18nStrings.expandButtonLabel', i18nStrings?.expandButtonLabel?.(item)),\n itemLabelToAnnounce\n )}\n collapseButtonLabel={joinStrings(\n i18n('i18nStrings.collapseButtonLabel', i18nStrings?.collapseButtonLabel?.(item)),\n itemLabelToAnnounce\n )}\n onExpandableItemToggle={() => onItemToggle({ id, item, expanded: !isExpanded })}\n />\n </div>\n )}\n </div>\n\n <div className={styles['structured-item-wrapper']}>\n <InternalStructuredItem\n icon={icon}\n content={content}\n secondaryContent={secondaryContent}\n actions={actions}\n wrapActions={false}\n />\n </div>\n\n {isExpanded && children.length && (\n <ul className={styles['treeitem-group']}>\n {children.map((child, index) => {\n return (\n <InternalTreeItem\n item={child}\n index={index}\n key={`${nextLevel}-${index}`}\n level={nextLevel}\n expandedItems={expandedItems}\n i18nStrings={i18nStrings}\n onItemToggle={onItemToggle}\n renderItem={renderItem}\n getItemId={getItemId}\n getItemChildren={getItemChildren}\n renderItemToggleIcon={renderItemToggleIcon}\n />\n );\n })}\n </ul>\n )}\n </li>\n );\n};\n\nexport default InternalTreeItem;\n"]}
@@ -0,0 +1,10 @@
1
+
2
+ import './styles.scoped.css';
3
+ export default {
4
+ "treeitem-group": "awsui_treeitem-group_1agpu_1w0en_181",
5
+ "treeitem": "awsui_treeitem_1agpu_1w0en_181",
6
+ "expand-toggle-wrapper": "awsui_expand-toggle-wrapper_1agpu_1w0en_198",
7
+ "toggle": "awsui_toggle_1agpu_1w0en_203",
8
+ "structured-item-wrapper": "awsui_structured-item-wrapper_1agpu_1w0en_208"
9
+ };
10
+
@@ -0,0 +1,216 @@
1
+ /*
2
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ /*
6
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
+ SPDX-License-Identifier: Apache-2.0
8
+ */
9
+ /*
10
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
11
+ SPDX-License-Identifier: Apache-2.0
12
+ */
13
+ /*
14
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
15
+ SPDX-License-Identifier: Apache-2.0
16
+ */
17
+ /*
18
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19
+ SPDX-License-Identifier: Apache-2.0
20
+ */
21
+ /*
22
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
23
+ SPDX-License-Identifier: Apache-2.0
24
+ */
25
+ /*
26
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
27
+ SPDX-License-Identifier: Apache-2.0
28
+ */
29
+ /*
30
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
31
+ SPDX-License-Identifier: Apache-2.0
32
+ */
33
+ /*
34
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
35
+ SPDX-License-Identifier: Apache-2.0
36
+ */
37
+ /*
38
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
39
+ SPDX-License-Identifier: Apache-2.0
40
+ */
41
+ /*
42
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
43
+ SPDX-License-Identifier: Apache-2.0
44
+ */
45
+ /*
46
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
47
+ SPDX-License-Identifier: Apache-2.0
48
+ */
49
+ /*
50
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
51
+ SPDX-License-Identifier: Apache-2.0
52
+ */
53
+ /*
54
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
55
+ SPDX-License-Identifier: Apache-2.0
56
+ */
57
+ /*
58
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
59
+ SPDX-License-Identifier: Apache-2.0
60
+ */
61
+ /*
62
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
63
+ SPDX-License-Identifier: Apache-2.0
64
+ */
65
+ /*
66
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
67
+ SPDX-License-Identifier: Apache-2.0
68
+ */
69
+ /*
70
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
71
+ SPDX-License-Identifier: Apache-2.0
72
+ */
73
+ /*
74
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
75
+ SPDX-License-Identifier: Apache-2.0
76
+ */
77
+ /*
78
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
79
+ SPDX-License-Identifier: Apache-2.0
80
+ */
81
+ /*
82
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
83
+ SPDX-License-Identifier: Apache-2.0
84
+ */
85
+ /*
86
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
87
+ SPDX-License-Identifier: Apache-2.0
88
+ */
89
+ /*
90
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
+ SPDX-License-Identifier: Apache-2.0
92
+ */
93
+ /*
94
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
95
+ SPDX-License-Identifier: Apache-2.0
96
+ */
97
+ /*
98
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
99
+ SPDX-License-Identifier: Apache-2.0
100
+ */
101
+ /*
102
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
103
+ SPDX-License-Identifier: Apache-2.0
104
+ */
105
+ /*
106
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
107
+ SPDX-License-Identifier: Apache-2.0
108
+ */
109
+ /*
110
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
111
+ SPDX-License-Identifier: Apache-2.0
112
+ */
113
+ /*
114
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
115
+ SPDX-License-Identifier: Apache-2.0
116
+ */
117
+ /*
118
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
119
+ SPDX-License-Identifier: Apache-2.0
120
+ */
121
+ /*
122
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
123
+ SPDX-License-Identifier: Apache-2.0
124
+ */
125
+ /*
126
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
127
+ SPDX-License-Identifier: Apache-2.0
128
+ */
129
+ /*
130
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
131
+ SPDX-License-Identifier: Apache-2.0
132
+ */
133
+ /*
134
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
135
+ SPDX-License-Identifier: Apache-2.0
136
+ */
137
+ /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
138
+ /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
139
+ /*
140
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
141
+ SPDX-License-Identifier: Apache-2.0
142
+ */
143
+ /*
144
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
145
+ SPDX-License-Identifier: Apache-2.0
146
+ */
147
+ /*
148
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
149
+ SPDX-License-Identifier: Apache-2.0
150
+ */
151
+ /*
152
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
153
+ SPDX-License-Identifier: Apache-2.0
154
+ */
155
+ /*
156
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
157
+ SPDX-License-Identifier: Apache-2.0
158
+ */
159
+ /*
160
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
161
+ SPDX-License-Identifier: Apache-2.0
162
+ */
163
+ /*
164
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
165
+ SPDX-License-Identifier: Apache-2.0
166
+ */
167
+ /*
168
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
169
+ SPDX-License-Identifier: Apache-2.0
170
+ */
171
+ /*
172
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
173
+ SPDX-License-Identifier: Apache-2.0
174
+ */
175
+ /*
176
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
177
+ SPDX-License-Identifier: Apache-2.0
178
+ */
179
+ /* Style used for links in slots/components that are text heavy, to help links stand out among
180
+ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
181
+ .awsui_treeitem-group_1agpu_1w0en_181:not(#\9) {
182
+ margin-block: 0;
183
+ margin-inline: 0;
184
+ padding-block: 0;
185
+ padding-inline: 0;
186
+ }
187
+
188
+ .awsui_treeitem_1agpu_1w0en_181:not(#\9) {
189
+ margin-block: 0;
190
+ margin-inline: 0;
191
+ padding-block: 0;
192
+ padding-inline: 0;
193
+ align-items: baseline;
194
+ display: grid;
195
+ grid-template-columns: 28px 1fr;
196
+ grid-template-rows: auto auto auto;
197
+ }
198
+ .awsui_treeitem_1agpu_1w0en_181 > .awsui_expand-toggle-wrapper_1agpu_1w0en_198:not(#\9) {
199
+ grid-column: 1;
200
+ grid-row: 1;
201
+ margin-inline-end: var(--space-scaled-xxs-pfm1nx, 4px);
202
+ }
203
+ .awsui_treeitem_1agpu_1w0en_181 > .awsui_expand-toggle-wrapper_1agpu_1w0en_198 > .awsui_toggle_1agpu_1w0en_203:not(#\9) {
204
+ justify-self: center;
205
+ position: relative;
206
+ inset-block-start: 2px;
207
+ }
208
+ .awsui_treeitem_1agpu_1w0en_181 > .awsui_structured-item-wrapper_1agpu_1w0en_208:not(#\9) {
209
+ grid-column: 2;
210
+ grid-row: 1/span 2;
211
+ padding-block: var(--space-scaled-xxs-pfm1nx, 4px);
212
+ }
213
+ .awsui_treeitem_1agpu_1w0en_181 > .awsui_treeitem-group_1agpu_1w0en_181:not(#\9) {
214
+ grid-column: 2;
215
+ grid-row: 3;
216
+ }
@@ -0,0 +1,11 @@
1
+
2
+ // es-module interop with Babel and Typescript
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ module.exports.default = {
5
+ "treeitem-group": "awsui_treeitem-group_1agpu_1w0en_181",
6
+ "treeitem": "awsui_treeitem_1agpu_1w0en_181",
7
+ "expand-toggle-wrapper": "awsui_expand-toggle-wrapper_1agpu_1w0en_198",
8
+ "toggle": "awsui_toggle_1agpu_1w0en_203",
9
+ "structured-item-wrapper": "awsui_structured-item-wrapper_1agpu_1w0en_208"
10
+ };
11
+
@@ -1 +0,0 @@
1
- {"version":3,"file":"expand-toggle-button.d.ts","sourceRoot":"","sources":["../../../../src/table/expandable-rows/expand-toggle-button.tsx"],"names":[],"mappings":";AAWA,wBAAgB,kBAAkB,CAAC,EACjC,UAAU,EACV,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,GACpB,EAAE;IACD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,eAoBA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"expand-toggle-button.js","sourceRoot":"","sources":["../../../../src/table/expandable-rows/expand-toggle-button.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,2DAA2D,CAAC;AAEvG,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,UAAU,kBAAkB,CAAC,EACjC,UAAU,EACV,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,GAMpB;IACC,MAAM,SAAS,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAC;IAClD,MAAM,EAAE,QAAQ,EAAE,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAC3D,OAAO,CACL,gCACE,IAAI,EAAC,QAAQ,EACb,GAAG,EAAE,SAAS,EACd,QAAQ,EAAE,QAAQ,gBACN,UAAU,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,iBAAiB,mBACjD,UAAU,EACzB,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,EAClC,OAAO,EAAE,sBAAsB;QAE/B,oBAAC,YAAY,IACX,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,mBAAmB,EACxB,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,UAAU,IAAI,MAAM,CAAC,6BAA6B,CAAC,CAAC,GAClG,CACK,CACV,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport InternalIcon from '../../icon/internal';\nimport { useSingleTabStopNavigation } from '../../internal/context/single-tab-stop-navigation-context';\n\nimport styles from './styles.css.js';\n\nexport function ExpandToggleButton({\n isExpanded,\n onExpandableItemToggle,\n expandButtonLabel,\n collapseButtonLabel,\n}: {\n isExpanded?: boolean;\n onExpandableItemToggle?: () => void;\n expandButtonLabel?: string;\n collapseButtonLabel?: string;\n}) {\n const buttonRef = useRef<HTMLButtonElement>(null);\n const { tabIndex } = useSingleTabStopNavigation(buttonRef);\n return (\n <button\n type=\"button\"\n ref={buttonRef}\n tabIndex={tabIndex}\n aria-label={isExpanded ? collapseButtonLabel : expandButtonLabel}\n aria-expanded={isExpanded}\n className={styles['expand-toggle']}\n onClick={onExpandableItemToggle}\n >\n <InternalIcon\n size=\"small\"\n name=\"caret-down-filled\"\n className={clsx(styles['expand-toggle-icon'], isExpanded && styles['expand-toggle-icon-expanded'])}\n />\n </button>\n );\n}\n"]}
@@ -1,8 +0,0 @@
1
-
2
- import './styles.scoped.css';
3
- export default {
4
- "expand-toggle-icon": "awsui_expand-toggle-icon_1ss49_ch4an_153",
5
- "expand-toggle-icon-expanded": "awsui_expand-toggle-icon-expanded_1ss49_ch4an_174",
6
- "expand-toggle": "awsui_expand-toggle_1ss49_ch4an_153"
7
- };
8
-