@cloudscape-design/components-themeable 3.0.1341 → 3.0.1342

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 (157) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/expandable-section/styles.scss +142 -0
  3. package/lib/internal/scss/input/styles.scss +2 -5
  4. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  5. package/lib/internal/scss/multiselect/styles.scss +14 -0
  6. package/lib/internal/scss/pagination/styles.scss +9 -2
  7. package/lib/internal/scss/pagination/test-classes/styles.scss +8 -0
  8. package/lib/internal/scss/select/styles.scss +14 -1
  9. package/lib/internal/scss/side-navigation/styles.scss +62 -24
  10. package/lib/internal/scss/textarea/styles.scss +21 -2
  11. package/lib/internal/template/expandable-section/expandable-section-header.d.ts +2 -1
  12. package/lib/internal/template/expandable-section/expandable-section-header.d.ts.map +1 -1
  13. package/lib/internal/template/expandable-section/expandable-section-header.js +57 -13
  14. package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
  15. package/lib/internal/template/expandable-section/interfaces.d.ts +1 -1
  16. package/lib/internal/template/expandable-section/interfaces.js.map +1 -1
  17. package/lib/internal/template/expandable-section/internal.d.ts +14 -1
  18. package/lib/internal/template/expandable-section/internal.d.ts.map +1 -1
  19. package/lib/internal/template/expandable-section/internal.js +3 -3
  20. package/lib/internal/template/expandable-section/internal.js.map +1 -1
  21. package/lib/internal/template/expandable-section/styles.css.js +42 -35
  22. package/lib/internal/template/expandable-section/styles.scoped.css +177 -69
  23. package/lib/internal/template/expandable-section/styles.selectors.js +42 -35
  24. package/lib/internal/template/i18n/messages/all.all.js +1 -1
  25. package/lib/internal/template/i18n/messages/all.all.json +1 -1
  26. package/lib/internal/template/i18n/messages/all.ar.js +1 -1
  27. package/lib/internal/template/i18n/messages/all.ar.json +1 -1
  28. package/lib/internal/template/i18n/messages/all.de.js +1 -1
  29. package/lib/internal/template/i18n/messages/all.de.json +1 -1
  30. package/lib/internal/template/i18n/messages/all.en-GB.js +1 -1
  31. package/lib/internal/template/i18n/messages/all.en-GB.json +1 -1
  32. package/lib/internal/template/i18n/messages/all.en.js +1 -1
  33. package/lib/internal/template/i18n/messages/all.en.json +1 -1
  34. package/lib/internal/template/i18n/messages/all.es.js +1 -1
  35. package/lib/internal/template/i18n/messages/all.es.json +1 -1
  36. package/lib/internal/template/i18n/messages/all.fr.js +1 -1
  37. package/lib/internal/template/i18n/messages/all.fr.json +1 -1
  38. package/lib/internal/template/i18n/messages/all.id.js +1 -1
  39. package/lib/internal/template/i18n/messages/all.id.json +1 -1
  40. package/lib/internal/template/i18n/messages/all.it.js +1 -1
  41. package/lib/internal/template/i18n/messages/all.it.json +1 -1
  42. package/lib/internal/template/i18n/messages/all.ja.js +1 -1
  43. package/lib/internal/template/i18n/messages/all.ja.json +1 -1
  44. package/lib/internal/template/i18n/messages/all.ko.js +1 -1
  45. package/lib/internal/template/i18n/messages/all.ko.json +1 -1
  46. package/lib/internal/template/i18n/messages/all.pt-BR.js +1 -1
  47. package/lib/internal/template/i18n/messages/all.pt-BR.json +1 -1
  48. package/lib/internal/template/i18n/messages/all.tr.js +1 -1
  49. package/lib/internal/template/i18n/messages/all.tr.json +1 -1
  50. package/lib/internal/template/i18n/messages/all.zh-CN.js +1 -1
  51. package/lib/internal/template/i18n/messages/all.zh-CN.json +1 -1
  52. package/lib/internal/template/i18n/messages/all.zh-TW.js +1 -1
  53. package/lib/internal/template/i18n/messages/all.zh-TW.json +1 -1
  54. package/lib/internal/template/i18n/messages-types.d.ts +5 -0
  55. package/lib/internal/template/i18n/messages-types.d.ts.map +1 -1
  56. package/lib/internal/template/i18n/messages-types.js.map +1 -1
  57. package/lib/internal/template/input/styles.css.js +28 -28
  58. package/lib/internal/template/input/styles.scoped.css +70 -70
  59. package/lib/internal/template/input/styles.selectors.js +28 -28
  60. package/lib/internal/template/internal/base-component/styles.scoped.css +297 -289
  61. package/lib/internal/template/internal/components/cartesian-chart/styles.css.js +28 -28
  62. package/lib/internal/template/internal/components/cartesian-chart/styles.scoped.css +35 -35
  63. package/lib/internal/template/internal/components/cartesian-chart/styles.selectors.js +28 -28
  64. package/lib/internal/template/internal/environment.js +2 -2
  65. package/lib/internal/template/internal/environment.json +2 -2
  66. package/lib/internal/template/internal/generated/styles/tokens.d.ts +1 -0
  67. package/lib/internal/template/internal/generated/styles/tokens.js +1 -0
  68. package/lib/internal/template/internal/generated/theming/index.cjs +31 -0
  69. package/lib/internal/template/internal/generated/theming/index.js +31 -0
  70. package/lib/internal/template/multiselect/index.d.ts.map +1 -1
  71. package/lib/internal/template/multiselect/index.js +4 -0
  72. package/lib/internal/template/multiselect/index.js.map +1 -1
  73. package/lib/internal/template/multiselect/interfaces.d.ts +8 -1
  74. package/lib/internal/template/multiselect/interfaces.d.ts.map +1 -1
  75. package/lib/internal/template/multiselect/interfaces.js.map +1 -1
  76. package/lib/internal/template/multiselect/internal.d.ts.map +1 -1
  77. package/lib/internal/template/multiselect/internal.js +22 -2
  78. package/lib/internal/template/multiselect/internal.js.map +1 -1
  79. package/lib/internal/template/multiselect/styles.css.js +5 -3
  80. package/lib/internal/template/multiselect/styles.scoped.css +13 -3
  81. package/lib/internal/template/multiselect/styles.selectors.js +5 -3
  82. package/lib/internal/template/multiselect/use-multiselect.d.ts +3 -2
  83. package/lib/internal/template/multiselect/use-multiselect.d.ts.map +1 -1
  84. package/lib/internal/template/multiselect/use-multiselect.js +5 -3
  85. package/lib/internal/template/multiselect/use-multiselect.js.map +1 -1
  86. package/lib/internal/template/pagination/index.d.ts.map +1 -1
  87. package/lib/internal/template/pagination/index.js +3 -3
  88. package/lib/internal/template/pagination/index.js.map +1 -1
  89. package/lib/internal/template/pagination/interfaces.d.ts +19 -3
  90. package/lib/internal/template/pagination/interfaces.d.ts.map +1 -1
  91. package/lib/internal/template/pagination/interfaces.js.map +1 -1
  92. package/lib/internal/template/pagination/internal.d.ts.map +1 -1
  93. package/lib/internal/template/pagination/internal.js +18 -6
  94. package/lib/internal/template/pagination/internal.js.map +1 -1
  95. package/lib/internal/template/pagination/styles.css.js +12 -11
  96. package/lib/internal/template/pagination/styles.scoped.css +34 -25
  97. package/lib/internal/template/pagination/styles.selectors.js +12 -11
  98. package/lib/internal/template/pagination/test-classes/styles.css.js +6 -0
  99. package/lib/internal/template/pagination/test-classes/styles.scoped.css +7 -0
  100. package/lib/internal/template/pagination/test-classes/styles.selectors.js +7 -0
  101. package/lib/internal/template/prompt-input/internal.d.ts.map +1 -1
  102. package/lib/internal/template/prompt-input/internal.js +14 -2
  103. package/lib/internal/template/prompt-input/internal.js.map +1 -1
  104. package/lib/internal/template/select/index.d.ts.map +1 -1
  105. package/lib/internal/template/select/index.js +4 -0
  106. package/lib/internal/template/select/index.js.map +1 -1
  107. package/lib/internal/template/select/interfaces.d.ts +39 -0
  108. package/lib/internal/template/select/interfaces.d.ts.map +1 -1
  109. package/lib/internal/template/select/interfaces.js.map +1 -1
  110. package/lib/internal/template/select/internal.d.ts.map +1 -1
  111. package/lib/internal/template/select/internal.js +20 -4
  112. package/lib/internal/template/select/internal.js.map +1 -1
  113. package/lib/internal/template/select/styles.css.js +3 -1
  114. package/lib/internal/template/select/styles.scoped.css +11 -1
  115. package/lib/internal/template/select/styles.selectors.js +3 -1
  116. package/lib/internal/template/select/utils/dropdown-customization.d.ts +20 -0
  117. package/lib/internal/template/select/utils/dropdown-customization.d.ts.map +1 -0
  118. package/lib/internal/template/select/utils/dropdown-customization.js +22 -0
  119. package/lib/internal/template/select/utils/dropdown-customization.js.map +1 -0
  120. package/lib/internal/template/select/utils/use-select.d.ts +4 -1
  121. package/lib/internal/template/select/utils/use-select.d.ts.map +1 -1
  122. package/lib/internal/template/select/utils/use-select.js +21 -4
  123. package/lib/internal/template/select/utils/use-select.js.map +1 -1
  124. package/lib/internal/template/side-navigation/parts.d.ts.map +1 -1
  125. package/lib/internal/template/side-navigation/parts.js +3 -2
  126. package/lib/internal/template/side-navigation/parts.js.map +1 -1
  127. package/lib/internal/template/side-navigation/styles.css.js +50 -48
  128. package/lib/internal/template/side-navigation/styles.scoped.css +106 -93
  129. package/lib/internal/template/side-navigation/styles.selectors.js +50 -48
  130. package/lib/internal/template/test-utils/dom/multiselect/index.d.ts +16 -0
  131. package/lib/internal/template/test-utils/dom/multiselect/index.js +16 -0
  132. package/lib/internal/template/test-utils/dom/multiselect/index.js.map +1 -1
  133. package/lib/internal/template/test-utils/dom/pagination/index.d.ts +5 -1
  134. package/lib/internal/template/test-utils/dom/pagination/index.js +7 -0
  135. package/lib/internal/template/test-utils/dom/pagination/index.js.map +1 -1
  136. package/lib/internal/template/test-utils/dom/select/index.d.ts +16 -0
  137. package/lib/internal/template/test-utils/dom/select/index.js +16 -0
  138. package/lib/internal/template/test-utils/dom/select/index.js.map +1 -1
  139. package/lib/internal/template/test-utils/selectors/multiselect/index.d.ts +16 -0
  140. package/lib/internal/template/test-utils/selectors/multiselect/index.js +20 -0
  141. package/lib/internal/template/test-utils/selectors/multiselect/index.js.map +1 -1
  142. package/lib/internal/template/test-utils/selectors/pagination/index.d.ts +5 -1
  143. package/lib/internal/template/test-utils/selectors/pagination/index.js +7 -0
  144. package/lib/internal/template/test-utils/selectors/pagination/index.js.map +1 -1
  145. package/lib/internal/template/test-utils/selectors/select/index.d.ts +16 -0
  146. package/lib/internal/template/test-utils/selectors/select/index.js +20 -0
  147. package/lib/internal/template/test-utils/selectors/select/index.js.map +1 -1
  148. package/lib/internal/template/textarea/index.d.ts.map +1 -1
  149. package/lib/internal/template/textarea/index.js +11 -3
  150. package/lib/internal/template/textarea/index.js.map +1 -1
  151. package/lib/internal/template/textarea/interfaces.d.ts +12 -0
  152. package/lib/internal/template/textarea/interfaces.d.ts.map +1 -1
  153. package/lib/internal/template/textarea/interfaces.js.map +1 -1
  154. package/lib/internal/template/textarea/styles.css.js +9 -5
  155. package/lib/internal/template/textarea/styles.scoped.css +26 -14
  156. package/lib/internal/template/textarea/styles.selectors.js +9 -5
  157. package/package.json +1 -1
@@ -1,33 +1,33 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "axis": "awsui_axis_f0fot_auv8k_145",
5
- "vertical-marker": "awsui_vertical-marker_f0fot_auv8k_146",
6
- "axis--emphasized": "awsui_axis--emphasized_f0fot_auv8k_151",
7
- "axis-label": "awsui_axis-label_f0fot_auv8k_155",
8
- "axis-label--x": "awsui_axis-label--x_f0fot_auv8k_160",
9
- "axis-label--y": "awsui_axis-label--y_f0fot_auv8k_161",
10
- "grid": "awsui_grid_f0fot_auv8k_165",
11
- "ticks__line": "awsui_ticks__line_f0fot_auv8k_170",
12
- "ticks__text": "awsui_ticks__text_f0fot_auv8k_175",
13
- "ticks--y": "awsui_ticks--y_f0fot_auv8k_180",
14
- "ticks--x": "awsui_ticks--x_f0fot_auv8k_181",
15
- "ticks--bottom": "awsui_ticks--bottom_f0fot_auv8k_185",
16
- "labels-inline-start": "awsui_labels-inline-start_f0fot_auv8k_190",
17
- "ticks": "awsui_ticks_f0fot_auv8k_170",
18
- "labels-inline-start__label": "awsui_labels-inline-start__label_f0fot_auv8k_205",
19
- "labels-inline-start--hidden": "awsui_labels-inline-start--hidden_f0fot_auv8k_209",
20
- "labels-block-end": "awsui_labels-block-end_f0fot_auv8k_217",
21
- "vertical-marker-circle": "awsui_vertical-marker-circle_f0fot_auv8k_228",
22
- "vertical-marker-circle-active": "awsui_vertical-marker-circle-active_f0fot_auv8k_234",
23
- "focus-outline": "awsui_focus-outline_f0fot_auv8k_239",
24
- "chart-container": "awsui_chart-container_f0fot_auv8k_247",
25
- "fit-height": "awsui_fit-height_f0fot_auv8k_252",
26
- "chart-container-outer": "awsui_chart-container-outer_f0fot_auv8k_257",
27
- "has-filters": "awsui_has-filters_f0fot_auv8k_263",
28
- "chart-container-inner": "awsui_chart-container-inner_f0fot_auv8k_267",
29
- "chart-container-plot-wrapper": "awsui_chart-container-plot-wrapper_f0fot_auv8k_274",
30
- "chart-container-plot": "awsui_chart-container-plot_f0fot_auv8k_274",
31
- "chart-container-bottom-labels": "awsui_chart-container-bottom-labels_f0fot_auv8k_286"
4
+ "axis": "awsui_axis_f0fot_1lqm2_145",
5
+ "vertical-marker": "awsui_vertical-marker_f0fot_1lqm2_146",
6
+ "axis--emphasized": "awsui_axis--emphasized_f0fot_1lqm2_151",
7
+ "axis-label": "awsui_axis-label_f0fot_1lqm2_155",
8
+ "axis-label--x": "awsui_axis-label--x_f0fot_1lqm2_160",
9
+ "axis-label--y": "awsui_axis-label--y_f0fot_1lqm2_161",
10
+ "grid": "awsui_grid_f0fot_1lqm2_165",
11
+ "ticks__line": "awsui_ticks__line_f0fot_1lqm2_170",
12
+ "ticks__text": "awsui_ticks__text_f0fot_1lqm2_175",
13
+ "ticks--y": "awsui_ticks--y_f0fot_1lqm2_180",
14
+ "ticks--x": "awsui_ticks--x_f0fot_1lqm2_181",
15
+ "ticks--bottom": "awsui_ticks--bottom_f0fot_1lqm2_185",
16
+ "labels-inline-start": "awsui_labels-inline-start_f0fot_1lqm2_190",
17
+ "ticks": "awsui_ticks_f0fot_1lqm2_170",
18
+ "labels-inline-start__label": "awsui_labels-inline-start__label_f0fot_1lqm2_205",
19
+ "labels-inline-start--hidden": "awsui_labels-inline-start--hidden_f0fot_1lqm2_209",
20
+ "labels-block-end": "awsui_labels-block-end_f0fot_1lqm2_217",
21
+ "vertical-marker-circle": "awsui_vertical-marker-circle_f0fot_1lqm2_228",
22
+ "vertical-marker-circle-active": "awsui_vertical-marker-circle-active_f0fot_1lqm2_234",
23
+ "focus-outline": "awsui_focus-outline_f0fot_1lqm2_239",
24
+ "chart-container": "awsui_chart-container_f0fot_1lqm2_247",
25
+ "fit-height": "awsui_fit-height_f0fot_1lqm2_252",
26
+ "chart-container-outer": "awsui_chart-container-outer_f0fot_1lqm2_257",
27
+ "has-filters": "awsui_has-filters_f0fot_1lqm2_263",
28
+ "chart-container-inner": "awsui_chart-container-inner_f0fot_1lqm2_267",
29
+ "chart-container-plot-wrapper": "awsui_chart-container-plot-wrapper_f0fot_1lqm2_274",
30
+ "chart-container-plot": "awsui_chart-container-plot_f0fot_1lqm2_274",
31
+ "chart-container-bottom-labels": "awsui_chart-container-bottom-labels_f0fot_1lqm2_286"
32
32
  };
33
33
 
@@ -142,101 +142,101 @@
142
142
  */
143
143
  /* Style used for links in slots/components that are text heavy, to help links stand out among
144
144
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
145
- .awsui_axis_f0fot_auv8k_145:not(#\9),
146
- .awsui_vertical-marker_f0fot_auv8k_146:not(#\9) {
147
- stroke: var(--color-charts-line-axis-itbyj0, #d5dbdb);
145
+ .awsui_axis_f0fot_1lqm2_145:not(#\9),
146
+ .awsui_vertical-marker_f0fot_1lqm2_146:not(#\9) {
147
+ stroke: var(--color-charts-line-axis-y1rkac, #d5dbdb);
148
148
  stroke-width: 1px;
149
149
  }
150
150
 
151
- .awsui_axis--emphasized_f0fot_auv8k_151:not(#\9) {
151
+ .awsui_axis--emphasized_f0fot_1lqm2_151:not(#\9) {
152
152
  stroke-width: 2px;
153
153
  }
154
154
 
155
- .awsui_axis-label_f0fot_auv8k_155:not(#\9) {
155
+ .awsui_axis-label_f0fot_1lqm2_155:not(#\9) {
156
156
  font-weight: var(--font-weight-bold-xpar9m, 700);
157
157
  fill: var(--color-text-body-default-5qid0u, #16191f);
158
158
  }
159
159
 
160
- .awsui_axis-label--x_f0fot_auv8k_160:not(#\9),
161
- .awsui_axis-label--y_f0fot_auv8k_161:not(#\9) {
160
+ .awsui_axis-label--x_f0fot_1lqm2_160:not(#\9),
161
+ .awsui_axis-label--y_f0fot_1lqm2_161:not(#\9) {
162
162
  /* used in test-utils */
163
163
  }
164
164
 
165
- .awsui_grid_f0fot_auv8k_165:not(#\9) {
166
- stroke: var(--color-charts-line-grid-6wlgqa, #d5dbdb);
165
+ .awsui_grid_f0fot_1lqm2_165:not(#\9) {
166
+ stroke: var(--color-charts-line-grid-hezpxm, #d5dbdb);
167
167
  stroke-width: 1px;
168
168
  }
169
169
 
170
- .awsui_ticks__line_f0fot_auv8k_170:not(#\9) {
171
- stroke: var(--color-charts-line-tick-36hawu, #d5dbdb);
170
+ .awsui_ticks__line_f0fot_1lqm2_170:not(#\9) {
171
+ stroke: var(--color-charts-line-tick-kkhxmn, #d5dbdb);
172
172
  stroke-width: 1px;
173
173
  }
174
174
 
175
- .awsui_ticks__text_f0fot_auv8k_175:not(#\9) {
175
+ .awsui_ticks__text_f0fot_1lqm2_175:not(#\9) {
176
176
  font-size: var(--font-chart-detail-size-gadmd0, 14px);
177
177
  fill: var(--color-text-body-secondary-gaft81, #545b64);
178
178
  }
179
179
 
180
- .awsui_ticks--y_f0fot_auv8k_180:not(#\9),
181
- .awsui_ticks--x_f0fot_auv8k_181:not(#\9) {
180
+ .awsui_ticks--y_f0fot_1lqm2_180:not(#\9),
181
+ .awsui_ticks--x_f0fot_1lqm2_181:not(#\9) {
182
182
  /* used in test-utils */
183
183
  }
184
184
 
185
- .awsui_ticks--bottom_f0fot_auv8k_185 > .awsui_ticks__text_f0fot_auv8k_175:not(#\9) {
185
+ .awsui_ticks--bottom_f0fot_1lqm2_185 > .awsui_ticks__text_f0fot_1lqm2_175:not(#\9) {
186
186
  text-anchor: middle;
187
187
  dominant-baseline: hanging;
188
188
  }
189
189
 
190
- .awsui_labels-inline-start_f0fot_auv8k_190 > .awsui_ticks_f0fot_auv8k_170 > .awsui_ticks__text_f0fot_auv8k_175:not(#\9) {
190
+ .awsui_labels-inline-start_f0fot_1lqm2_190 > .awsui_ticks_f0fot_1lqm2_170 > .awsui_ticks__text_f0fot_1lqm2_175:not(#\9) {
191
191
  text-anchor: end;
192
192
  dominant-baseline: central;
193
193
  }
194
194
 
195
- .awsui_labels-inline-start_f0fot_auv8k_190:not(#\9) {
195
+ .awsui_labels-inline-start_f0fot_1lqm2_190:not(#\9) {
196
196
  position: relative;
197
197
  margin-inline-end: 12px;
198
198
  }
199
- .awsui_labels-inline-start_f0fot_auv8k_190 > .awsui_axis-label_f0fot_auv8k_155:not(#\9) {
199
+ .awsui_labels-inline-start_f0fot_1lqm2_190 > .awsui_axis-label_f0fot_1lqm2_155:not(#\9) {
200
200
  position: absolute;
201
201
  visibility: visible;
202
202
  white-space: nowrap;
203
203
  }
204
204
 
205
- .awsui_labels-inline-start__label_f0fot_auv8k_205:not(#\9) {
205
+ .awsui_labels-inline-start__label_f0fot_1lqm2_205:not(#\9) {
206
206
  position: absolute;
207
207
  }
208
208
 
209
- .awsui_labels-inline-start--hidden_f0fot_auv8k_209:not(#\9) {
209
+ .awsui_labels-inline-start--hidden_f0fot_1lqm2_209:not(#\9) {
210
210
  visibility: hidden;
211
211
  }
212
- .awsui_labels-inline-start--hidden_f0fot_auv8k_209 > .awsui_labels-inline-start__label_f0fot_auv8k_205:not(#\9) {
212
+ .awsui_labels-inline-start--hidden_f0fot_1lqm2_209 > .awsui_labels-inline-start__label_f0fot_1lqm2_205:not(#\9) {
213
213
  position: relative;
214
214
  white-space: nowrap;
215
215
  }
216
216
 
217
- .awsui_labels-block-end_f0fot_auv8k_217:not(#\9) {
217
+ .awsui_labels-block-end_f0fot_1lqm2_217:not(#\9) {
218
218
  position: relative;
219
219
  display: block;
220
220
  inline-size: 100%;
221
221
  overflow: visible;
222
222
  }
223
223
 
224
- .awsui_vertical-marker_f0fot_auv8k_146:not(#\9) {
224
+ .awsui_vertical-marker_f0fot_1lqm2_146:not(#\9) {
225
225
  pointer-events: none;
226
226
  }
227
227
 
228
- .awsui_vertical-marker-circle_f0fot_auv8k_228:not(#\9) {
228
+ .awsui_vertical-marker-circle_f0fot_1lqm2_228:not(#\9) {
229
229
  fill: var(--color-background-container-content-aemn43, #ffffff);
230
230
  pointer-events: none;
231
231
  stroke-width: var(--border-line-chart-width-vyj7eu, 2px);
232
232
  }
233
233
 
234
- .awsui_vertical-marker-circle-active_f0fot_auv8k_234:not(#\9) {
234
+ .awsui_vertical-marker-circle-active_f0fot_1lqm2_234:not(#\9) {
235
235
  cursor: pointer;
236
236
  stroke-width: var(--border-line-chart-width-vyj7eu, 2px);
237
237
  }
238
238
 
239
- .awsui_focus-outline_f0fot_auv8k_239:not(#\9) {
239
+ .awsui_focus-outline_f0fot_1lqm2_239:not(#\9) {
240
240
  outline: none;
241
241
  pointer-events: none;
242
242
  fill: none;
@@ -244,45 +244,45 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
244
244
  stroke-width: 2px;
245
245
  }
246
246
 
247
- .awsui_chart-container_f0fot_auv8k_247:not(#\9) {
247
+ .awsui_chart-container_f0fot_1lqm2_247:not(#\9) {
248
248
  display: flex;
249
249
  inline-size: 100%;
250
250
  flex-direction: column;
251
251
  }
252
- .awsui_chart-container_f0fot_auv8k_247.awsui_fit-height_f0fot_auv8k_252:not(#\9) {
252
+ .awsui_chart-container_f0fot_1lqm2_247.awsui_fit-height_f0fot_1lqm2_252:not(#\9) {
253
253
  block-size: 100%;
254
254
  min-block-size: inherit;
255
255
  }
256
256
 
257
- .awsui_chart-container-outer_f0fot_auv8k_257:not(#\9) {
257
+ .awsui_chart-container-outer_f0fot_1lqm2_257:not(#\9) {
258
258
  display: flex;
259
259
  }
260
- .awsui_chart-container-outer_f0fot_auv8k_257.awsui_fit-height_f0fot_auv8k_252:not(#\9) {
260
+ .awsui_chart-container-outer_f0fot_1lqm2_257.awsui_fit-height_f0fot_1lqm2_252:not(#\9) {
261
261
  flex: 1;
262
262
  }
263
- .awsui_chart-container-outer_f0fot_auv8k_257.awsui_fit-height_f0fot_auv8k_252:not(#\9):not(.awsui_axis-label_f0fot_auv8k_155 + .awsui_chart-container-outer_f0fot_auv8k_257.awsui_fit-height_f0fot_auv8k_252, .awsui_chart-container-outer_f0fot_auv8k_257.awsui_fit-height_f0fot_auv8k_252.awsui_has-filters_f0fot_auv8k_263) {
263
+ .awsui_chart-container-outer_f0fot_1lqm2_257.awsui_fit-height_f0fot_1lqm2_252:not(#\9):not(.awsui_axis-label_f0fot_1lqm2_155 + .awsui_chart-container-outer_f0fot_1lqm2_257.awsui_fit-height_f0fot_1lqm2_252, .awsui_chart-container-outer_f0fot_1lqm2_257.awsui_fit-height_f0fot_1lqm2_252.awsui_has-filters_f0fot_1lqm2_263) {
264
264
  margin-block-start: calc(0.5 * var(--font-chart-detail-size-gadmd0, 14px));
265
265
  }
266
266
 
267
- .awsui_chart-container-inner_f0fot_auv8k_267:not(#\9) {
267
+ .awsui_chart-container-inner_f0fot_1lqm2_267:not(#\9) {
268
268
  position: relative;
269
269
  display: flex;
270
270
  flex-direction: column;
271
271
  inline-size: 100%;
272
272
  }
273
273
 
274
- .awsui_chart-container-plot-wrapper_f0fot_auv8k_274.awsui_fit-height_f0fot_auv8k_252:not(#\9) {
274
+ .awsui_chart-container-plot-wrapper_f0fot_1lqm2_274.awsui_fit-height_f0fot_1lqm2_252:not(#\9) {
275
275
  display: block;
276
276
  position: relative;
277
277
  flex: 1;
278
278
  }
279
279
 
280
- .awsui_chart-container-plot_f0fot_auv8k_274.awsui_fit-height_f0fot_auv8k_252:not(#\9) {
280
+ .awsui_chart-container-plot_f0fot_1lqm2_274.awsui_fit-height_f0fot_1lqm2_252:not(#\9) {
281
281
  display: block;
282
282
  position: absolute;
283
283
  inset: 0;
284
284
  }
285
285
 
286
- .awsui_chart-container-bottom-labels_f0fot_auv8k_286.awsui_fit-height_f0fot_auv8k_252:not(#\9) {
286
+ .awsui_chart-container-bottom-labels_f0fot_1lqm2_286.awsui_fit-height_f0fot_1lqm2_252:not(#\9) {
287
287
  display: block;
288
288
  }
@@ -2,33 +2,33 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "axis": "awsui_axis_f0fot_auv8k_145",
6
- "vertical-marker": "awsui_vertical-marker_f0fot_auv8k_146",
7
- "axis--emphasized": "awsui_axis--emphasized_f0fot_auv8k_151",
8
- "axis-label": "awsui_axis-label_f0fot_auv8k_155",
9
- "axis-label--x": "awsui_axis-label--x_f0fot_auv8k_160",
10
- "axis-label--y": "awsui_axis-label--y_f0fot_auv8k_161",
11
- "grid": "awsui_grid_f0fot_auv8k_165",
12
- "ticks__line": "awsui_ticks__line_f0fot_auv8k_170",
13
- "ticks__text": "awsui_ticks__text_f0fot_auv8k_175",
14
- "ticks--y": "awsui_ticks--y_f0fot_auv8k_180",
15
- "ticks--x": "awsui_ticks--x_f0fot_auv8k_181",
16
- "ticks--bottom": "awsui_ticks--bottom_f0fot_auv8k_185",
17
- "labels-inline-start": "awsui_labels-inline-start_f0fot_auv8k_190",
18
- "ticks": "awsui_ticks_f0fot_auv8k_170",
19
- "labels-inline-start__label": "awsui_labels-inline-start__label_f0fot_auv8k_205",
20
- "labels-inline-start--hidden": "awsui_labels-inline-start--hidden_f0fot_auv8k_209",
21
- "labels-block-end": "awsui_labels-block-end_f0fot_auv8k_217",
22
- "vertical-marker-circle": "awsui_vertical-marker-circle_f0fot_auv8k_228",
23
- "vertical-marker-circle-active": "awsui_vertical-marker-circle-active_f0fot_auv8k_234",
24
- "focus-outline": "awsui_focus-outline_f0fot_auv8k_239",
25
- "chart-container": "awsui_chart-container_f0fot_auv8k_247",
26
- "fit-height": "awsui_fit-height_f0fot_auv8k_252",
27
- "chart-container-outer": "awsui_chart-container-outer_f0fot_auv8k_257",
28
- "has-filters": "awsui_has-filters_f0fot_auv8k_263",
29
- "chart-container-inner": "awsui_chart-container-inner_f0fot_auv8k_267",
30
- "chart-container-plot-wrapper": "awsui_chart-container-plot-wrapper_f0fot_auv8k_274",
31
- "chart-container-plot": "awsui_chart-container-plot_f0fot_auv8k_274",
32
- "chart-container-bottom-labels": "awsui_chart-container-bottom-labels_f0fot_auv8k_286"
5
+ "axis": "awsui_axis_f0fot_1lqm2_145",
6
+ "vertical-marker": "awsui_vertical-marker_f0fot_1lqm2_146",
7
+ "axis--emphasized": "awsui_axis--emphasized_f0fot_1lqm2_151",
8
+ "axis-label": "awsui_axis-label_f0fot_1lqm2_155",
9
+ "axis-label--x": "awsui_axis-label--x_f0fot_1lqm2_160",
10
+ "axis-label--y": "awsui_axis-label--y_f0fot_1lqm2_161",
11
+ "grid": "awsui_grid_f0fot_1lqm2_165",
12
+ "ticks__line": "awsui_ticks__line_f0fot_1lqm2_170",
13
+ "ticks__text": "awsui_ticks__text_f0fot_1lqm2_175",
14
+ "ticks--y": "awsui_ticks--y_f0fot_1lqm2_180",
15
+ "ticks--x": "awsui_ticks--x_f0fot_1lqm2_181",
16
+ "ticks--bottom": "awsui_ticks--bottom_f0fot_1lqm2_185",
17
+ "labels-inline-start": "awsui_labels-inline-start_f0fot_1lqm2_190",
18
+ "ticks": "awsui_ticks_f0fot_1lqm2_170",
19
+ "labels-inline-start__label": "awsui_labels-inline-start__label_f0fot_1lqm2_205",
20
+ "labels-inline-start--hidden": "awsui_labels-inline-start--hidden_f0fot_1lqm2_209",
21
+ "labels-block-end": "awsui_labels-block-end_f0fot_1lqm2_217",
22
+ "vertical-marker-circle": "awsui_vertical-marker-circle_f0fot_1lqm2_228",
23
+ "vertical-marker-circle-active": "awsui_vertical-marker-circle-active_f0fot_1lqm2_234",
24
+ "focus-outline": "awsui_focus-outline_f0fot_1lqm2_239",
25
+ "chart-container": "awsui_chart-container_f0fot_1lqm2_247",
26
+ "fit-height": "awsui_fit-height_f0fot_1lqm2_252",
27
+ "chart-container-outer": "awsui_chart-container-outer_f0fot_1lqm2_257",
28
+ "has-filters": "awsui_has-filters_f0fot_1lqm2_263",
29
+ "chart-container-inner": "awsui_chart-container-inner_f0fot_1lqm2_267",
30
+ "chart-container-plot-wrapper": "awsui_chart-container-plot-wrapper_f0fot_1lqm2_274",
31
+ "chart-container-plot": "awsui_chart-container-plot_f0fot_1lqm2_274",
32
+ "chart-container-bottom-labels": "awsui_chart-container-bottom-labels_f0fot_1lqm2_286"
33
33
  };
34
34
 
@@ -1,6 +1,6 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (6db99848)";
3
- export var GIT_SHA = "6db99848";
2
+ export var PACKAGE_VERSION = "3.0.0 (2041ec8f)";
3
+ export var GIT_SHA = "2041ec8f";
4
4
  export var THEME = "open-source-visual-refresh";
5
5
  export var SYSTEM = "core";
6
6
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "components",
3
- "PACKAGE_VERSION": "3.0.0 (6db99848)",
4
- "GIT_SHA": "6db99848",
3
+ "PACKAGE_VERSION": "3.0.0 (2041ec8f)",
4
+ "GIT_SHA": "2041ec8f",
5
5
  "THEME": "default",
6
6
  "SYSTEM": "core",
7
7
  "ALWAYS_VISUAL_REFRESH": false,
@@ -437,6 +437,7 @@ export const colorBackgroundInputDisabled: string;
437
437
  export const colorBackgroundItemSelected: string;
438
438
  export const colorBackgroundSideNavigationItemActive: string;
439
439
  export const colorBackgroundSideNavigationItemActiveCollapsed: string;
440
+ export const colorBackgroundSideNavigationItemIconHover: string;
440
441
  export const colorBackgroundLayoutMain: string;
441
442
  export const colorBackgroundLayoutAiDrawer: string;
442
443
  export const colorBackgroundDrawer: string;
@@ -437,6 +437,7 @@ export var colorBackgroundInputDisabled = "var(--color-background-input-disabled
437
437
  export var colorBackgroundItemSelected = "var(--color-background-item-selected-9gppru, #f0fbff)";
438
438
  export var colorBackgroundSideNavigationItemActive = "var(--color-background-side-navigation-item-active-adfprg, transparent)";
439
439
  export var colorBackgroundSideNavigationItemActiveCollapsed = "var(--color-background-side-navigation-item-active-collapsed-ceubmy, #006ce0)";
440
+ export var colorBackgroundSideNavigationItemIconHover = "var(--color-background-side-navigation-item-icon-hover-ul9ia1, #f0fbff)";
440
441
  export var colorBackgroundLayoutMain = "var(--color-background-layout-main-5ilwcb, #ffffff)";
441
442
  export var colorBackgroundLayoutAiDrawer = "var(--color-background-layout-ai-drawer-b4mvv3, #161d26)";
442
443
  export var colorBackgroundDrawer = "var(--color-background-drawer-5hs0eh, #ffffff)";
@@ -1795,6 +1795,10 @@ module.exports.preset = {
1795
1795
  "light": "{colorBackgroundControlChecked}",
1796
1796
  "dark": "{colorBackgroundControlChecked}"
1797
1797
  },
1798
+ "colorBackgroundSideNavigationItemIconHover": {
1799
+ "light": "{colorPrimary50}",
1800
+ "dark": "{colorNeutral700}"
1801
+ },
1798
1802
  "colorBackgroundLayoutMain": {
1799
1803
  "light": "{colorWhite}",
1800
1804
  "dark": "{colorNeutral850}"
@@ -4799,6 +4803,10 @@ module.exports.preset = {
4799
4803
  "light": "{colorBackgroundControlChecked}",
4800
4804
  "dark": "{colorBackgroundControlChecked}"
4801
4805
  },
4806
+ "colorBackgroundSideNavigationItemIconHover": {
4807
+ "light": "{colorNeutral700}",
4808
+ "dark": "{colorNeutral700}"
4809
+ },
4802
4810
  "colorBackgroundLayoutMain": {
4803
4811
  "light": "{colorNeutral850}",
4804
4812
  "dark": "{colorNeutral850}"
@@ -6615,6 +6623,10 @@ module.exports.preset = {
6615
6623
  "light": "{colorBackgroundControlChecked}",
6616
6624
  "dark": "{colorBackgroundControlChecked}"
6617
6625
  },
6626
+ "colorBackgroundSideNavigationItemIconHover": {
6627
+ "light": "{colorNeutral700}",
6628
+ "dark": "{colorNeutral700}"
6629
+ },
6618
6630
  "colorBackgroundLayoutMain": {
6619
6631
  "light": "{colorNeutral950}",
6620
6632
  "dark": "{colorNeutral950}"
@@ -8359,6 +8371,10 @@ module.exports.preset = {
8359
8371
  "light": "{colorBackgroundControlChecked}",
8360
8372
  "dark": "{colorBackgroundControlChecked}"
8361
8373
  },
8374
+ "colorBackgroundSideNavigationItemIconHover": {
8375
+ "light": "{colorPrimary50}",
8376
+ "dark": "{colorNeutral700}"
8377
+ },
8362
8378
  "colorBackgroundLayoutMain": {
8363
8379
  "light": "{colorWhite}",
8364
8380
  "dark": "{colorNeutral850}"
@@ -9949,6 +9965,10 @@ module.exports.preset = {
9949
9965
  "light": "{colorBackgroundControlChecked}",
9950
9966
  "dark": "{colorBackgroundControlChecked}"
9951
9967
  },
9968
+ "colorBackgroundSideNavigationItemIconHover": {
9969
+ "light": "{colorPrimary50}",
9970
+ "dark": "{colorNeutral700}"
9971
+ },
9952
9972
  "colorBackgroundLayoutMain": {
9953
9973
  "light": "{colorWhite}",
9954
9974
  "dark": "{colorNeutral850}"
@@ -11539,6 +11559,10 @@ module.exports.preset = {
11539
11559
  "light": "{colorBackgroundControlChecked}",
11540
11560
  "dark": "{colorBackgroundControlChecked}"
11541
11561
  },
11562
+ "colorBackgroundSideNavigationItemIconHover": {
11563
+ "light": "{colorPrimary50}",
11564
+ "dark": "{colorNeutral700}"
11565
+ },
11542
11566
  "colorBackgroundLayoutMain": {
11543
11567
  "light": "{colorWhite}",
11544
11568
  "dark": "{colorNeutral850}"
@@ -13131,6 +13155,10 @@ module.exports.preset = {
13131
13155
  "light": "{colorBackgroundControlChecked}",
13132
13156
  "dark": "{colorBackgroundControlChecked}"
13133
13157
  },
13158
+ "colorBackgroundSideNavigationItemIconHover": {
13159
+ "light": "{colorNeutral700}",
13160
+ "dark": "{colorNeutral700}"
13161
+ },
13134
13162
  "colorBackgroundLayoutMain": {
13135
13163
  "light": "{colorNeutral850}",
13136
13164
  "dark": "{colorNeutral850}"
@@ -14932,6 +14960,7 @@ module.exports.preset = {
14932
14960
  "colorBackgroundItemSelected": "color",
14933
14961
  "colorBackgroundSideNavigationItemActive": "color",
14934
14962
  "colorBackgroundSideNavigationItemActiveCollapsed": "color",
14963
+ "colorBackgroundSideNavigationItemIconHover": "color",
14935
14964
  "colorBackgroundLayoutMain": "color",
14936
14965
  "colorBackgroundLayoutAiDrawer": "color",
14937
14966
  "colorBackgroundDrawer": "color",
@@ -17215,6 +17244,7 @@ module.exports.preset = {
17215
17244
  "colorBackgroundItemSelected": "color-background-item-selected",
17216
17245
  "colorBackgroundSideNavigationItemActive": "color-background-side-navigation-item-active",
17217
17246
  "colorBackgroundSideNavigationItemActiveCollapsed": "color-background-side-navigation-item-active-collapsed",
17247
+ "colorBackgroundSideNavigationItemIconHover": "color-background-side-navigation-item-icon-hover",
17218
17248
  "colorBackgroundLayoutMain": "color-background-layout-main",
17219
17249
  "colorBackgroundLayoutAiDrawer": "color-background-layout-ai-drawer",
17220
17250
  "colorBackgroundDrawer": "color-background-drawer",
@@ -18337,6 +18367,7 @@ module.exports.preset = {
18337
18367
  "colorBackgroundItemSelected": "--color-background-item-selected-9gppru",
18338
18368
  "colorBackgroundSideNavigationItemActive": "--color-background-side-navigation-item-active-adfprg",
18339
18369
  "colorBackgroundSideNavigationItemActiveCollapsed": "--color-background-side-navigation-item-active-collapsed-ceubmy",
18370
+ "colorBackgroundSideNavigationItemIconHover": "--color-background-side-navigation-item-icon-hover-ul9ia1",
18340
18371
  "colorBackgroundLayoutMain": "--color-background-layout-main-5ilwcb",
18341
18372
  "colorBackgroundLayoutAiDrawer": "--color-background-layout-ai-drawer-b4mvv3",
18342
18373
  "colorBackgroundDrawer": "--color-background-drawer-5hs0eh",
@@ -1795,6 +1795,10 @@ export var preset = {
1795
1795
  "light": "{colorBackgroundControlChecked}",
1796
1796
  "dark": "{colorBackgroundControlChecked}"
1797
1797
  },
1798
+ "colorBackgroundSideNavigationItemIconHover": {
1799
+ "light": "{colorPrimary50}",
1800
+ "dark": "{colorNeutral700}"
1801
+ },
1798
1802
  "colorBackgroundLayoutMain": {
1799
1803
  "light": "{colorWhite}",
1800
1804
  "dark": "{colorNeutral850}"
@@ -4799,6 +4803,10 @@ export var preset = {
4799
4803
  "light": "{colorBackgroundControlChecked}",
4800
4804
  "dark": "{colorBackgroundControlChecked}"
4801
4805
  },
4806
+ "colorBackgroundSideNavigationItemIconHover": {
4807
+ "light": "{colorNeutral700}",
4808
+ "dark": "{colorNeutral700}"
4809
+ },
4802
4810
  "colorBackgroundLayoutMain": {
4803
4811
  "light": "{colorNeutral850}",
4804
4812
  "dark": "{colorNeutral850}"
@@ -6615,6 +6623,10 @@ export var preset = {
6615
6623
  "light": "{colorBackgroundControlChecked}",
6616
6624
  "dark": "{colorBackgroundControlChecked}"
6617
6625
  },
6626
+ "colorBackgroundSideNavigationItemIconHover": {
6627
+ "light": "{colorNeutral700}",
6628
+ "dark": "{colorNeutral700}"
6629
+ },
6618
6630
  "colorBackgroundLayoutMain": {
6619
6631
  "light": "{colorNeutral950}",
6620
6632
  "dark": "{colorNeutral950}"
@@ -8359,6 +8371,10 @@ export var preset = {
8359
8371
  "light": "{colorBackgroundControlChecked}",
8360
8372
  "dark": "{colorBackgroundControlChecked}"
8361
8373
  },
8374
+ "colorBackgroundSideNavigationItemIconHover": {
8375
+ "light": "{colorPrimary50}",
8376
+ "dark": "{colorNeutral700}"
8377
+ },
8362
8378
  "colorBackgroundLayoutMain": {
8363
8379
  "light": "{colorWhite}",
8364
8380
  "dark": "{colorNeutral850}"
@@ -9949,6 +9965,10 @@ export var preset = {
9949
9965
  "light": "{colorBackgroundControlChecked}",
9950
9966
  "dark": "{colorBackgroundControlChecked}"
9951
9967
  },
9968
+ "colorBackgroundSideNavigationItemIconHover": {
9969
+ "light": "{colorPrimary50}",
9970
+ "dark": "{colorNeutral700}"
9971
+ },
9952
9972
  "colorBackgroundLayoutMain": {
9953
9973
  "light": "{colorWhite}",
9954
9974
  "dark": "{colorNeutral850}"
@@ -11539,6 +11559,10 @@ export var preset = {
11539
11559
  "light": "{colorBackgroundControlChecked}",
11540
11560
  "dark": "{colorBackgroundControlChecked}"
11541
11561
  },
11562
+ "colorBackgroundSideNavigationItemIconHover": {
11563
+ "light": "{colorPrimary50}",
11564
+ "dark": "{colorNeutral700}"
11565
+ },
11542
11566
  "colorBackgroundLayoutMain": {
11543
11567
  "light": "{colorWhite}",
11544
11568
  "dark": "{colorNeutral850}"
@@ -13131,6 +13155,10 @@ export var preset = {
13131
13155
  "light": "{colorBackgroundControlChecked}",
13132
13156
  "dark": "{colorBackgroundControlChecked}"
13133
13157
  },
13158
+ "colorBackgroundSideNavigationItemIconHover": {
13159
+ "light": "{colorNeutral700}",
13160
+ "dark": "{colorNeutral700}"
13161
+ },
13134
13162
  "colorBackgroundLayoutMain": {
13135
13163
  "light": "{colorNeutral850}",
13136
13164
  "dark": "{colorNeutral850}"
@@ -14932,6 +14960,7 @@ export var preset = {
14932
14960
  "colorBackgroundItemSelected": "color",
14933
14961
  "colorBackgroundSideNavigationItemActive": "color",
14934
14962
  "colorBackgroundSideNavigationItemActiveCollapsed": "color",
14963
+ "colorBackgroundSideNavigationItemIconHover": "color",
14935
14964
  "colorBackgroundLayoutMain": "color",
14936
14965
  "colorBackgroundLayoutAiDrawer": "color",
14937
14966
  "colorBackgroundDrawer": "color",
@@ -17215,6 +17244,7 @@ export var preset = {
17215
17244
  "colorBackgroundItemSelected": "color-background-item-selected",
17216
17245
  "colorBackgroundSideNavigationItemActive": "color-background-side-navigation-item-active",
17217
17246
  "colorBackgroundSideNavigationItemActiveCollapsed": "color-background-side-navigation-item-active-collapsed",
17247
+ "colorBackgroundSideNavigationItemIconHover": "color-background-side-navigation-item-icon-hover",
17218
17248
  "colorBackgroundLayoutMain": "color-background-layout-main",
17219
17249
  "colorBackgroundLayoutAiDrawer": "color-background-layout-ai-drawer",
17220
17250
  "colorBackgroundDrawer": "color-background-drawer",
@@ -18337,6 +18367,7 @@ export var preset = {
18337
18367
  "colorBackgroundItemSelected": "--color-background-item-selected-9gppru",
18338
18368
  "colorBackgroundSideNavigationItemActive": "--color-background-side-navigation-item-active-adfprg",
18339
18369
  "colorBackgroundSideNavigationItemActiveCollapsed": "--color-background-side-navigation-item-active-collapsed-ceubmy",
18370
+ "colorBackgroundSideNavigationItemIconHover": "--color-background-side-navigation-item-icon-hover-ul9ia1",
18340
18371
  "colorBackgroundLayoutMain": "--color-background-layout-main-5ilwcb",
18341
18372
  "colorBackgroundLayoutAiDrawer": "--color-background-layout-ai-drawer-b4mvv3",
18342
18373
  "colorBackgroundDrawer": "--color-background-drawer-5hs0eh",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/multiselect/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAKhD,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAE5B,QAAA,MAAM,WAAW,+FAkEhB,CAAC;AAGF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/multiselect/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAKhD,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAE5B,QAAA,MAAM,WAAW,+FAsEhB,CAAC;AAGF,eAAe,WAAW,CAAC"}
@@ -20,10 +20,14 @@ const Multiselect = React.forwardRef(({ options = [], filteringType = 'none', st
20
20
  virtualScroll: restProps.virtualScroll,
21
21
  readOnly: restProps.readOnly,
22
22
  enableSelectAll: restProps.enableSelectAll,
23
+ dropdownRole: restProps.dropdownRole,
23
24
  },
24
25
  metadata: {
25
26
  hasInlineLabel: Boolean(restProps.inlineLabelText),
26
27
  hasDisabledReasons: options.some(option => Boolean(option.disabledReason)),
28
+ hasDropdownHeader: Boolean(restProps.renderDropdownHeader),
29
+ hasDropdownFooter: Boolean(restProps.renderDropdownFooter),
30
+ hasDropdownAriaDescribedby: Boolean(restProps.dropdownAriaDescribedby),
27
31
  },
28
32
  });
29
33
  const componentAnalyticsMetadata = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/multiselect/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,kEAAkE,CAAC;AAEjH,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC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,MAAM,CAAC,KAAK,KAAK,SAAS,CAAC;iBAC5C,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC;YACnC,eAAe,EAAE,eAAe;iBAC7B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,CAAC;gBAC7C,uFAAuF;gBACvF,2BAA2B;iBAC1B,GAAG,CAAC,MAAM,CAAC,EAAE,WAAC,OAAA,GAAG,MAAA,MAAM,CAAC,KAAK,mCAAI,MAAM,CAAC,KAAK,EAAE,CAAA,EAAA,CAAC;SACpD;KACF,CAAC;IAEF,OAAO,CACL,oBAAC,mBAAmB,IAClB,YAAY,EAAE,YAAY,EAC1B,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,UAAU,EACtB,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,KAClB,SAAS,KACT,kBAAkB,EACtB,GAAG,EAAE,GAAG,KACJ,6BAA6B,CAAC,EAAE,SAAS,EAAE,0BAA0B,EAAE,CAAC,GAC5E,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAgB,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;AAC7C,eAAe,WAAW,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\n\nimport { getAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { GeneratedAnalyticsMetadataMultiselectComponent } from './analytics-metadata/interfaces';\nimport { MultiselectProps } from './interfaces';\nimport InternalMultiselect from './internal';\n\nimport buttonTriggerAnalyticsSelectors from '../internal/components/button-trigger/analytics-metadata/styles.css.js';\n\nexport { MultiselectProps };\n\nconst Multiselect = React.forwardRef(\n (\n {\n options = [],\n filteringType = 'none',\n statusType = 'finished',\n selectedOptions = [],\n keepOpen = true,\n hideTokens = false,\n renderOption,\n ...restProps\n }: MultiselectProps,\n ref: React.Ref<MultiselectProps.Ref>\n ) => {\n const baseComponentProps = useBaseComponent('Multiselect', {\n props: {\n inlineTokens: restProps.inlineTokens,\n autoFocus: restProps.autoFocus,\n expandToViewport: restProps.expandToViewport,\n filteringType,\n hideTokens,\n keepOpen,\n tokenLimit: restProps.tokenLimit,\n virtualScroll: restProps.virtualScroll,\n readOnly: restProps.readOnly,\n enableSelectAll: restProps.enableSelectAll,\n },\n metadata: {\n hasInlineLabel: Boolean(restProps.inlineLabelText),\n hasDisabledReasons: options.some(option => Boolean(option.disabledReason)),\n },\n });\n\n const componentAnalyticsMetadata: GeneratedAnalyticsMetadataMultiselectComponent = {\n name: 'awsui.Multiselect',\n label: `.${buttonTriggerAnalyticsSelectors['button-trigger']}`,\n properties: {\n disabled: `${!!restProps.disabled}`,\n selectedOptionsCount: `${selectedOptions.length}`,\n selectedOptionsValues: selectedOptions\n .filter(option => option.value !== undefined)\n .map(option => `${option.value}`),\n selectedOptions: selectedOptions\n .filter(option => option.value !== undefined)\n // fallback on value when label's undefined because in the dropdown if there's no label\n // the value will be shown.\n .map(option => `${option.label ?? option.value}`),\n },\n };\n\n return (\n <InternalMultiselect\n renderOption={renderOption}\n options={options}\n filteringType={filteringType}\n statusType={statusType}\n selectedOptions={selectedOptions}\n keepOpen={keepOpen}\n hideTokens={hideTokens}\n {...restProps}\n {...baseComponentProps}\n ref={ref}\n {...getAnalyticsMetadataAttribute({ component: componentAnalyticsMetadata })}\n />\n );\n }\n);\n\napplyDisplayName(Multiselect, 'Multiselect');\nexport default Multiselect;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/multiselect/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OA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["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\n\nimport { getAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { GeneratedAnalyticsMetadataMultiselectComponent } from './analytics-metadata/interfaces';\nimport { MultiselectProps } from './interfaces';\nimport InternalMultiselect from './internal';\n\nimport buttonTriggerAnalyticsSelectors from '../internal/components/button-trigger/analytics-metadata/styles.css.js';\n\nexport { MultiselectProps };\n\nconst Multiselect = React.forwardRef(\n (\n {\n options = [],\n filteringType = 'none',\n statusType = 'finished',\n selectedOptions = [],\n keepOpen = true,\n hideTokens = false,\n renderOption,\n ...restProps\n }: MultiselectProps,\n ref: React.Ref<MultiselectProps.Ref>\n ) => {\n const baseComponentProps = useBaseComponent('Multiselect', {\n props: {\n inlineTokens: restProps.inlineTokens,\n autoFocus: restProps.autoFocus,\n expandToViewport: restProps.expandToViewport,\n filteringType,\n hideTokens,\n keepOpen,\n tokenLimit: restProps.tokenLimit,\n virtualScroll: restProps.virtualScroll,\n readOnly: restProps.readOnly,\n enableSelectAll: restProps.enableSelectAll,\n dropdownRole: restProps.dropdownRole,\n },\n metadata: {\n hasInlineLabel: Boolean(restProps.inlineLabelText),\n hasDisabledReasons: options.some(option => Boolean(option.disabledReason)),\n hasDropdownHeader: Boolean(restProps.renderDropdownHeader),\n hasDropdownFooter: Boolean(restProps.renderDropdownFooter),\n hasDropdownAriaDescribedby: Boolean(restProps.dropdownAriaDescribedby),\n },\n });\n\n const componentAnalyticsMetadata: GeneratedAnalyticsMetadataMultiselectComponent = {\n name: 'awsui.Multiselect',\n label: `.${buttonTriggerAnalyticsSelectors['button-trigger']}`,\n properties: {\n disabled: `${!!restProps.disabled}`,\n selectedOptionsCount: `${selectedOptions.length}`,\n selectedOptionsValues: selectedOptions\n .filter(option => option.value !== undefined)\n .map(option => `${option.value}`),\n selectedOptions: selectedOptions\n .filter(option => option.value !== undefined)\n // fallback on value when label's undefined because in the dropdown if there's no label\n // the value will be shown.\n .map(option => `${option.label ?? option.value}`),\n },\n };\n\n return (\n <InternalMultiselect\n renderOption={renderOption}\n options={options}\n filteringType={filteringType}\n statusType={statusType}\n selectedOptions={selectedOptions}\n keepOpen={keepOpen}\n hideTokens={hideTokens}\n {...restProps}\n {...baseComponentProps}\n ref={ref}\n {...getAnalyticsMetadataAttribute({ component: componentAnalyticsMetadata })}\n />\n );\n }\n);\n\napplyDisplayName(Multiselect, 'Multiselect');\nexport default Multiselect;\n"]}
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { OptionsLoadItemsDetail } from '../dropdown/interfaces';
3
- import { BaseSelectProps } from '../select/interfaces';
3
+ import { BaseSelectProps, SelectProps } from '../select/interfaces';
4
4
  import { NonCancelableEventHandler } from '../types/events';
5
5
  import { OptionDefinition, OptionGroup as OptionGroupDefinition } from '../types/option';
6
6
  export interface MultiselectProps extends BaseSelectProps {
@@ -78,6 +78,13 @@ export declare namespace MultiselectProps {
78
78
  type Option = OptionDefinition;
79
79
  type OptionGroup = OptionGroupDefinition;
80
80
  type Options = ReadonlyArray<Option | OptionGroup>;
81
+ /**
82
+ * The argument passed to the dropdown render functions (`renderDropdownHeader`
83
+ * and `renderDropdownFooter`).
84
+ */
85
+ type DropdownContentProps = SelectProps.DropdownContentProps;
86
+ type DropdownRole = SelectProps.DropdownRole;
87
+ type DropdownContentRenderer = SelectProps.DropdownContentRenderer;
81
88
  interface LoadItemsDetail extends OptionsLoadItemsDetail {
82
89
  }
83
90
  interface MultiselectOptionItem {