@cloudscape-design/components 3.0.259 → 3.0.260

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 (67) hide show
  1. package/code-editor/index.d.ts.map +1 -1
  2. package/code-editor/index.js +1 -14
  3. package/code-editor/index.js.map +1 -1
  4. package/code-editor/pane.d.ts +1 -2
  5. package/code-editor/pane.d.ts.map +1 -1
  6. package/code-editor/pane.js +8 -3
  7. package/code-editor/pane.js.map +1 -1
  8. package/code-editor/status-bar.d.ts +3 -3
  9. package/code-editor/status-bar.d.ts.map +1 -1
  10. package/code-editor/status-bar.js +5 -3
  11. package/code-editor/status-bar.js.map +1 -1
  12. package/internal/environment.js +1 -1
  13. package/internal/manifest.json +1 -1
  14. package/modal/internal.d.ts +1 -1
  15. package/modal/internal.d.ts.map +1 -1
  16. package/modal/internal.js +24 -15
  17. package/modal/internal.js.map +1 -1
  18. package/package.json +1 -1
  19. package/table/body-cell/index.d.ts +2 -1
  20. package/table/body-cell/index.d.ts.map +1 -1
  21. package/table/body-cell/index.js +9 -4
  22. package/table/body-cell/index.js.map +1 -1
  23. package/table/body-cell/inline-editor.d.ts +1 -1
  24. package/table/body-cell/inline-editor.d.ts.map +1 -1
  25. package/table/body-cell/inline-editor.js +5 -3
  26. package/table/body-cell/inline-editor.js.map +1 -1
  27. package/table/body-cell/styles.css.js +40 -18
  28. package/table/body-cell/styles.scoped.css +222 -52
  29. package/table/body-cell/styles.selectors.js +40 -18
  30. package/table/header-cell/index.js +1 -1
  31. package/table/header-cell/index.js.map +1 -1
  32. package/table/interfaces.d.ts +6 -0
  33. package/table/interfaces.d.ts.map +1 -1
  34. package/table/interfaces.js.map +1 -1
  35. package/table/internal.d.ts.map +1 -1
  36. package/table/internal.js +20 -18
  37. package/table/internal.js.map +1 -1
  38. package/table/selection-control/index.d.ts +2 -8
  39. package/table/selection-control/index.d.ts.map +1 -1
  40. package/table/selection-control/index.js.map +1 -1
  41. package/table/table-wrapper.d.ts +13 -0
  42. package/table/table-wrapper.d.ts.map +1 -0
  43. package/table/table-wrapper.js +15 -0
  44. package/table/table-wrapper.js.map +1 -0
  45. package/table/thead.d.ts +2 -2
  46. package/table/thead.d.ts.map +1 -1
  47. package/table/thead.js +3 -3
  48. package/table/thead.js.map +1 -1
  49. package/table/use-column-widths.js +1 -1
  50. package/table/use-column-widths.js.map +1 -1
  51. package/table/use-selection.d.ts +12 -18
  52. package/table/use-selection.d.ts.map +1 -1
  53. package/table/use-selection.js +20 -12
  54. package/table/use-selection.js.map +1 -1
  55. package/table/use-table-focus-navigation.d.ts.map +1 -1
  56. package/table/use-table-focus-navigation.js +9 -34
  57. package/table/use-table-focus-navigation.js.map +1 -1
  58. package/test-utils/dom/table/index.d.ts +3 -0
  59. package/test-utils/dom/table/index.js +16 -15
  60. package/test-utils/dom/table/index.js.map +1 -1
  61. package/test-utils/selectors/table/index.d.ts +3 -0
  62. package/test-utils/selectors/table/index.js +16 -15
  63. package/test-utils/selectors/table/index.js.map +1 -1
  64. package/test-utils/tsconfig.tsbuildinfo +1 -1
  65. package/table/header-cell/styles.css.js +0 -24
  66. package/table/header-cell/styles.scoped.css +0 -252
  67. package/table/header-cell/styles.selectors.js +0 -25
@@ -1,252 +0,0 @@
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
- /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
70
- /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
71
- /*
72
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
73
- SPDX-License-Identifier: Apache-2.0
74
- */
75
- /*
76
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
77
- SPDX-License-Identifier: Apache-2.0
78
- */
79
- /*
80
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
81
- SPDX-License-Identifier: Apache-2.0
82
- */
83
- /* Style used for links in slots/components that are text heavy, to help links stand out among
84
- surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
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
- .awsui_header-cell_1spae_f15ng_93:not(#\9) {
94
- position: relative;
95
- text-align: left;
96
- box-sizing: border-box;
97
- border-bottom: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
98
- background: var(--color-background-table-header-i1pa1g, #ffffff);
99
- color: var(--color-text-column-header-u472sv, #414d5c);
100
- font-weight: var(--font-heading-s-weight-k8ys41, 800);
101
- -webkit-font-smoothing: var(--font-smoothing-webkit-vu3hx4, antialiased);
102
- -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-nkh1jb, grayscale);
103
- padding: var(--space-scaled-xxs-95dhkm, 4px) var(--space-scaled-xs-6859qs, 8px);
104
- }
105
- .awsui_header-cell-sticky_1spae_f15ng_105:not(#\9) {
106
- border-bottom: var(--border-table-sticky-width-h1tlxy, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
107
- }
108
- .awsui_header-cell-stuck_1spae_f15ng_108:not(#\9):not(.awsui_header-cell-variant-full-page_1spae_f15ng_108) {
109
- border-bottom-color: transparent;
110
- }
111
- .awsui_header-cell-variant-full-page_1spae_f15ng_108.awsui_header-cell-hidden_1spae_f15ng_111:not(#\9) {
112
- border-bottom-color: transparent;
113
- }
114
- .awsui_header-cell_1spae_f15ng_93:not(#\9):last-child, .awsui_header-cell_1spae_f15ng_93.awsui_header-cell-sortable_1spae_f15ng_114:not(#\9) {
115
- padding-right: var(--space-xs-rsr2qu, 8px);
116
- }
117
- .awsui_header-cell_1spae_f15ng_93:not(#\9):not(:last-child):before {
118
- content: "";
119
- position: absolute;
120
- right: 0;
121
- bottom: 0;
122
- top: 0;
123
- min-height: var(--font-heading-xs-line-height-5x131j, 18px);
124
- max-height: calc(100% - calc(2 * var(--space-xs-rsr2qu, 8px) + var(--space-xxxs-k2w98v, 2px)));
125
- margin: auto;
126
- border-left: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
127
- box-sizing: border-box;
128
- }
129
- .awsui_header-cell-resizable_1spae_f15ng_129:not(#\9):not(:last-child):before {
130
- border-left-color: var(--color-border-divider-interactive-default-0hdcst, #414d5c);
131
- }
132
-
133
- .awsui_sorting-icon_1spae_f15ng_133:not(#\9) {
134
- position: absolute;
135
- top: 50%;
136
- transform: translateY(-50%);
137
- right: var(--space-xxs-ynfts5, 4px);
138
- color: var(--color-text-column-sorting-icon-q5sr09, #414d5c);
139
- }
140
-
141
- .awsui_edit-icon_1spae_f15ng_141:not(#\9) {
142
- margin-left: var(--space-xxs-ynfts5, 4px);
143
- margin-top: var(--space-scaled-xxs-95dhkm, 4px);
144
- color: inherit;
145
- }
146
-
147
- .awsui_header-cell-content_1spae_f15ng_147:not(#\9) {
148
- position: relative;
149
- padding: var(--space-scaled-xxs-95dhkm, 4px) var(--space-s-hv8c1d, 12px);
150
- }
151
- .awsui_header-cell-sortable_1spae_f15ng_114 > .awsui_header-cell-content_1spae_f15ng_147:not(#\9) {
152
- padding-right: calc(var(--space-xl-a39hup, 24px) + var(--space-xxs-ynfts5, 4px));
153
- }
154
- .awsui_header-cell-content_1spae_f15ng_147:not(#\9):focus {
155
- outline: none;
156
- text-decoration: none;
157
- }
158
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_f15ng_147:not(#\9):focus {
159
- position: relative;
160
- }
161
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_f15ng_147:not(#\9):focus {
162
- outline: 2px dotted transparent;
163
- outline-offset: calc(var(--space-table-header-focus-outline-gutter-rbx7m7, 0px) - 1px);
164
- }
165
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_f15ng_147:not(#\9):focus::before {
166
- content: " ";
167
- display: block;
168
- position: absolute;
169
- left: calc(-1 * var(--space-table-header-focus-outline-gutter-rbx7m7, 0px));
170
- top: calc(-1 * var(--space-table-header-focus-outline-gutter-rbx7m7, 0px));
171
- width: calc(100% + 2 * var(--space-table-header-focus-outline-gutter-rbx7m7, 0px));
172
- height: calc(100% + 2 * var(--space-table-header-focus-outline-gutter-rbx7m7, 0px));
173
- border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
174
- box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
175
- }
176
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_f15ng_147.awsui_header-cell-fake-focus_1spae_f15ng_176:not(#\9) {
177
- position: relative;
178
- }
179
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_f15ng_147.awsui_header-cell-fake-focus_1spae_f15ng_176:not(#\9) {
180
- outline: 2px dotted transparent;
181
- outline-offset: calc(var(--space-table-header-focus-outline-gutter-rbx7m7, 0px) - 1px);
182
- }
183
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_f15ng_147.awsui_header-cell-fake-focus_1spae_f15ng_176:not(#\9)::before {
184
- content: " ";
185
- display: block;
186
- position: absolute;
187
- left: calc(-1 * var(--space-table-header-focus-outline-gutter-rbx7m7, 0px));
188
- top: calc(-1 * var(--space-table-header-focus-outline-gutter-rbx7m7, 0px));
189
- width: calc(100% + 2 * var(--space-table-header-focus-outline-gutter-rbx7m7, 0px));
190
- height: calc(100% + 2 * var(--space-table-header-focus-outline-gutter-rbx7m7, 0px));
191
- border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
192
- box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
193
- }
194
- .awsui_header-cell-disabled_1spae_f15ng_194.awsui_header-cell-sorted_1spae_f15ng_194 > .awsui_header-cell-content_1spae_f15ng_147 > .awsui_sorting-icon_1spae_f15ng_133:not(#\9) {
195
- color: var(--color-text-interactive-disabled-3pbb07, #9ba7b6);
196
- }
197
-
198
- .awsui_header-cell-sortable_1spae_f15ng_114:not(#\9):not(.awsui_header-cell-disabled_1spae_f15ng_194) > .awsui_header-cell-content_1spae_f15ng_147 {
199
- cursor: pointer;
200
- }
201
- .awsui_header-cell-sortable_1spae_f15ng_114:not(#\9):not(.awsui_header-cell-disabled_1spae_f15ng_194) > .awsui_header-cell-content_1spae_f15ng_147:hover, .awsui_header-cell-sortable_1spae_f15ng_114:not(#\9):not(.awsui_header-cell-disabled_1spae_f15ng_194).awsui_header-cell-sorted_1spae_f15ng_194 > .awsui_header-cell-content_1spae_f15ng_147 {
202
- color: var(--color-text-interactive-active-vol84d, #000716);
203
- }
204
- .awsui_header-cell-sortable_1spae_f15ng_114:not(#\9):not(.awsui_header-cell-disabled_1spae_f15ng_194) > .awsui_header-cell-content_1spae_f15ng_147:hover > .awsui_sorting-icon_1spae_f15ng_133, .awsui_header-cell-sortable_1spae_f15ng_114:not(#\9):not(.awsui_header-cell-disabled_1spae_f15ng_194).awsui_header-cell-sorted_1spae_f15ng_194 > .awsui_header-cell-content_1spae_f15ng_147 > .awsui_sorting-icon_1spae_f15ng_133 {
205
- color: var(--color-text-interactive-active-vol84d, #000716);
206
- }
207
-
208
- .awsui_header-cell-text_1spae_f15ng_208:not(#\9) {
209
- line-height: var(--font-heading-xs-line-height-5x131j, 18px);
210
- padding-top: calc(var(--space-xxxs-k2w98v, 2px) / 2);
211
- padding-bottom: calc(var(--space-xxxs-k2w98v, 2px) / 2);
212
- }
213
- .awsui_header-cell-text_1spae_f15ng_208:not(#\9):not(.awsui_header-cell-text-wrap_1spae_f15ng_213) {
214
- white-space: nowrap;
215
- overflow: hidden;
216
- text-overflow: ellipsis;
217
- }
218
-
219
- .awsui_header-cell-ascending_1spae_f15ng_219:not(#\9),
220
- .awsui_header-cell-descending_1spae_f15ng_220:not(#\9) {
221
- /* used in test-utils */
222
- }
223
-
224
- /*
225
- In Visual Refresh the first cell in the header should align
226
- with the left edge of the table as closely as possible. If the
227
- last header cell is sortable the sort icon should align with the
228
- settings icon in the pagination slot.
229
- */
230
- .awsui_header-cell_1spae_f15ng_93:not(#\9):not(.awsui_is-visual-refresh_1spae_f15ng_230):first-child {
231
- padding-left: var(--space-xs-rsr2qu, 8px);
232
- }
233
-
234
- .awsui_header-cell_1spae_f15ng_93.awsui_is-visual-refresh_1spae_f15ng_230:not(#\9) {
235
- /*
236
- Striped rows requires additional left padding because the
237
- shaded background makes the child content appear too close
238
- to the table edge.
239
- */
240
- }
241
- .awsui_header-cell_1spae_f15ng_93.awsui_is-visual-refresh_1spae_f15ng_230:not(#\9):first-child:not(.awsui_has-striped-rows_1spae_f15ng_241) {
242
- padding-left: var(--space-xxxs-k2w98v, 2px);
243
- }
244
- .awsui_header-cell_1spae_f15ng_93.awsui_is-visual-refresh_1spae_f15ng_230:not(#\9):first-child.awsui_has-striped-rows_1spae_f15ng_241 {
245
- padding-left: var(--space-xxs-ynfts5, 4px);
246
- }
247
- .awsui_header-cell_1spae_f15ng_93.awsui_is-visual-refresh_1spae_f15ng_230:not(#\9):first-child > .awsui_header-cell-content_1spae_f15ng_147 {
248
- padding-left: 0;
249
- }
250
- .awsui_header-cell_1spae_f15ng_93.awsui_is-visual-refresh_1spae_f15ng_230:not(#\9):last-child.awsui_header-cell-sortable_1spae_f15ng_114 {
251
- padding-right: var(--space-xxxs-k2w98v, 2px);
252
- }
@@ -1,25 +0,0 @@
1
-
2
- // es-module interop with Babel and Typescript
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- module.exports.default = {
5
- "header-cell": "awsui_header-cell_1spae_f15ng_93",
6
- "header-cell-sticky": "awsui_header-cell-sticky_1spae_f15ng_105",
7
- "header-cell-stuck": "awsui_header-cell-stuck_1spae_f15ng_108",
8
- "header-cell-variant-full-page": "awsui_header-cell-variant-full-page_1spae_f15ng_108",
9
- "header-cell-hidden": "awsui_header-cell-hidden_1spae_f15ng_111",
10
- "header-cell-sortable": "awsui_header-cell-sortable_1spae_f15ng_114",
11
- "header-cell-resizable": "awsui_header-cell-resizable_1spae_f15ng_129",
12
- "sorting-icon": "awsui_sorting-icon_1spae_f15ng_133",
13
- "edit-icon": "awsui_edit-icon_1spae_f15ng_141",
14
- "header-cell-content": "awsui_header-cell-content_1spae_f15ng_147",
15
- "header-cell-fake-focus": "awsui_header-cell-fake-focus_1spae_f15ng_176",
16
- "header-cell-disabled": "awsui_header-cell-disabled_1spae_f15ng_194",
17
- "header-cell-sorted": "awsui_header-cell-sorted_1spae_f15ng_194",
18
- "header-cell-text": "awsui_header-cell-text_1spae_f15ng_208",
19
- "header-cell-text-wrap": "awsui_header-cell-text-wrap_1spae_f15ng_213",
20
- "header-cell-ascending": "awsui_header-cell-ascending_1spae_f15ng_219",
21
- "header-cell-descending": "awsui_header-cell-descending_1spae_f15ng_220",
22
- "is-visual-refresh": "awsui_is-visual-refresh_1spae_f15ng_230",
23
- "has-striped-rows": "awsui_has-striped-rows_1spae_f15ng_241"
24
- };
25
-