@cloudscape-design/components-themeable 3.0.1102 → 3.0.1104

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 (150) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/app-layout/visual-refresh-toolbar/drawer/styles.scss +10 -1
  3. package/lib/internal/scss/button-dropdown/item-element/styles.scss +1 -1
  4. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  5. package/lib/internal/scss/select/parts/styles.scss +1 -1
  6. package/lib/internal/template/app-layout/utils/use-ai-drawer.d.ts +0 -1
  7. package/lib/internal/template/app-layout/utils/use-ai-drawer.d.ts.map +1 -1
  8. package/lib/internal/template/app-layout/utils/use-ai-drawer.js +1 -1
  9. package/lib/internal/template/app-layout/utils/use-ai-drawer.js.map +1 -1
  10. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-ai-drawer.js +2 -2
  11. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-ai-drawer.js.map +1 -1
  12. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-drawers.d.ts +0 -1
  13. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-drawers.d.ts.map +1 -1
  14. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-drawers.js +0 -2
  15. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-drawers.js.map +1 -1
  16. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/index.d.ts +2 -2
  17. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/index.d.ts.map +1 -1
  18. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/index.js +2 -2
  19. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/index.js.map +1 -1
  20. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts +0 -1
  21. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts.map +1 -1
  22. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.js +0 -2
  23. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.js.map +1 -1
  24. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +25 -24
  25. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +74 -66
  26. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +25 -24
  27. package/lib/internal/template/app-layout/visual-refresh-toolbar/internal.d.ts +0 -7
  28. package/lib/internal/template/app-layout/visual-refresh-toolbar/internal.d.ts.map +1 -1
  29. package/lib/internal/template/app-layout/visual-refresh-toolbar/internal.js +0 -14
  30. package/lib/internal/template/app-layout/visual-refresh-toolbar/internal.js.map +1 -1
  31. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.d.ts +0 -1
  32. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.d.ts.map +1 -1
  33. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.js +0 -3
  34. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.js.map +1 -1
  35. package/lib/internal/template/app-layout/visual-refresh-toolbar/notifications/index.d.ts +0 -1
  36. package/lib/internal/template/app-layout/visual-refresh-toolbar/notifications/index.d.ts.map +1 -1
  37. package/lib/internal/template/app-layout/visual-refresh-toolbar/notifications/index.js +0 -3
  38. package/lib/internal/template/app-layout/visual-refresh-toolbar/notifications/index.js.map +1 -1
  39. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.d.ts +0 -2
  40. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.d.ts.map +1 -1
  41. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.js +0 -3
  42. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.js.map +1 -1
  43. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts +0 -1
  44. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts.map +1 -1
  45. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js +0 -3
  46. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
  47. package/lib/internal/template/button-dropdown/item-element/styles.css.js +16 -16
  48. package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +25 -25
  49. package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +16 -16
  50. package/lib/internal/template/date-range-picker/calendar/index.d.ts +4 -18
  51. package/lib/internal/template/date-range-picker/calendar/index.d.ts.map +1 -1
  52. package/lib/internal/template/date-range-picker/calendar/index.js +2 -2
  53. package/lib/internal/template/date-range-picker/calendar/index.js.map +1 -1
  54. package/lib/internal/template/date-range-picker/calendar/interfaces.d.ts +22 -0
  55. package/lib/internal/template/date-range-picker/calendar/interfaces.d.ts.map +1 -0
  56. package/lib/internal/template/date-range-picker/calendar/interfaces.js +2 -0
  57. package/lib/internal/template/date-range-picker/calendar/interfaces.js.map +1 -0
  58. package/lib/internal/template/date-range-picker/calendar/range-inputs.d.ts +2 -20
  59. package/lib/internal/template/date-range-picker/calendar/range-inputs.d.ts.map +1 -1
  60. package/lib/internal/template/date-range-picker/calendar/range-inputs.js +11 -13
  61. package/lib/internal/template/date-range-picker/calendar/range-inputs.js.map +1 -1
  62. package/lib/internal/template/date-range-picker/calendar/utils.d.ts +4 -0
  63. package/lib/internal/template/date-range-picker/calendar/utils.d.ts.map +1 -1
  64. package/lib/internal/template/date-range-picker/calendar/utils.js +40 -0
  65. package/lib/internal/template/date-range-picker/calendar/utils.js.map +1 -1
  66. package/lib/internal/template/date-range-picker/dropdown.d.ts +3 -2
  67. package/lib/internal/template/date-range-picker/dropdown.d.ts.map +1 -1
  68. package/lib/internal/template/date-range-picker/dropdown.js +2 -2
  69. package/lib/internal/template/date-range-picker/dropdown.js.map +1 -1
  70. package/lib/internal/template/date-range-picker/index.d.ts.map +1 -1
  71. package/lib/internal/template/date-range-picker/index.js +3 -2
  72. package/lib/internal/template/date-range-picker/index.js.map +1 -1
  73. package/lib/internal/template/date-range-picker/interfaces.d.ts +53 -11
  74. package/lib/internal/template/date-range-picker/interfaces.d.ts.map +1 -1
  75. package/lib/internal/template/date-range-picker/interfaces.js.map +1 -1
  76. package/lib/internal/template/flashbar/collapsible-flashbar.d.ts +2 -2
  77. package/lib/internal/template/flashbar/collapsible-flashbar.d.ts.map +1 -1
  78. package/lib/internal/template/flashbar/collapsible-flashbar.js.map +1 -1
  79. package/lib/internal/template/flashbar/common.d.ts +2 -2
  80. package/lib/internal/template/flashbar/common.d.ts.map +1 -1
  81. package/lib/internal/template/flashbar/common.js +1 -5
  82. package/lib/internal/template/flashbar/common.js.map +1 -1
  83. package/lib/internal/template/flashbar/implementation.d.ts +5 -0
  84. package/lib/internal/template/flashbar/implementation.d.ts.map +1 -0
  85. package/lib/internal/template/flashbar/implementation.js +16 -0
  86. package/lib/internal/template/flashbar/implementation.js.map +1 -0
  87. package/lib/internal/template/flashbar/index.d.ts.map +1 -1
  88. package/lib/internal/template/flashbar/index.js +6 -8
  89. package/lib/internal/template/flashbar/index.js.map +1 -1
  90. package/lib/internal/template/flashbar/interfaces.d.ts +2 -0
  91. package/lib/internal/template/flashbar/interfaces.d.ts.map +1 -1
  92. package/lib/internal/template/flashbar/interfaces.js.map +1 -1
  93. package/lib/internal/template/flashbar/internal.d.ts +2 -0
  94. package/lib/internal/template/flashbar/internal.d.ts.map +1 -0
  95. package/lib/internal/template/flashbar/internal.js +5 -0
  96. package/lib/internal/template/flashbar/internal.js.map +1 -0
  97. package/lib/internal/template/flashbar/non-collapsible-flashbar.d.ts +2 -2
  98. package/lib/internal/template/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
  99. package/lib/internal/template/flashbar/non-collapsible-flashbar.js.map +1 -1
  100. package/lib/internal/template/internal/base-component/styles.scoped.css +12 -1
  101. package/lib/internal/template/internal/environment.js +2 -2
  102. package/lib/internal/template/internal/environment.json +2 -2
  103. package/lib/internal/template/internal/generated/styles/tokens.d.ts +1 -0
  104. package/lib/internal/template/internal/generated/styles/tokens.js +1 -0
  105. package/lib/internal/template/internal/generated/theming/index.cjs +47 -14
  106. package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +9 -0
  107. package/lib/internal/template/internal/generated/theming/index.d.ts +9 -0
  108. package/lib/internal/template/internal/generated/theming/index.js +47 -14
  109. package/lib/internal/template/internal/plugins/widget/internal.d.ts +4 -0
  110. package/lib/internal/template/internal/plugins/widget/internal.d.ts.map +1 -1
  111. package/lib/internal/template/internal/plugins/widget/internal.js +16 -0
  112. package/lib/internal/template/internal/plugins/widget/internal.js.map +1 -1
  113. package/lib/internal/template/internal/plugins/widget.d.ts +1 -1
  114. package/lib/internal/template/internal/plugins/widget.d.ts.map +1 -1
  115. package/lib/internal/template/internal/plugins/widget.js +1 -1
  116. package/lib/internal/template/internal/plugins/widget.js.map +1 -1
  117. package/lib/internal/template/internal/utils/date-time/format-date-time-with-offset.d.ts.map +1 -1
  118. package/lib/internal/template/internal/utils/date-time/format-date-time-with-offset.js +4 -0
  119. package/lib/internal/template/internal/utils/date-time/format-date-time-with-offset.js.map +1 -1
  120. package/lib/internal/template/internal/widget-exports.d.ts +1 -0
  121. package/lib/internal/template/internal/widget-exports.d.ts.map +1 -1
  122. package/lib/internal/template/internal/widget-exports.js +1 -0
  123. package/lib/internal/template/internal/widget-exports.js.map +1 -1
  124. package/lib/internal/template/mixed-line-bar-chart/bar-groups.d.ts.map +1 -1
  125. package/lib/internal/template/mixed-line-bar-chart/bar-groups.js +4 -1
  126. package/lib/internal/template/mixed-line-bar-chart/bar-groups.js.map +1 -1
  127. package/lib/internal/template/select/parts/styles.css.js +22 -22
  128. package/lib/internal/template/select/parts/styles.scoped.css +24 -24
  129. package/lib/internal/template/select/parts/styles.selectors.js +22 -22
  130. package/lib/internal/template/status-indicator/index.d.ts +1 -1
  131. package/lib/internal/template/status-indicator/index.d.ts.map +1 -1
  132. package/lib/internal/template/status-indicator/index.js.map +1 -1
  133. package/lib/internal/template/status-indicator/interfaces.d.ts +46 -0
  134. package/lib/internal/template/status-indicator/interfaces.d.ts.map +1 -0
  135. package/lib/internal/template/status-indicator/interfaces.js +2 -0
  136. package/lib/internal/template/status-indicator/interfaces.js.map +1 -0
  137. package/lib/internal/template/status-indicator/internal.d.ts +3 -31
  138. package/lib/internal/template/status-indicator/internal.d.ts.map +1 -1
  139. package/lib/internal/template/status-indicator/internal.js +6 -2
  140. package/lib/internal/template/status-indicator/internal.js.map +1 -1
  141. package/lib/internal/template/steps/interfaces.d.ts +1 -1
  142. package/lib/internal/template/steps/interfaces.d.ts.map +1 -1
  143. package/lib/internal/template/steps/interfaces.js.map +1 -1
  144. package/lib/internal/template/table/internal.js +2 -2
  145. package/lib/internal/template/table/internal.js.map +1 -1
  146. package/lib/internal/template/test-utils/dom/index.js +332 -83
  147. package/lib/internal/template/test-utils/dom/index.js.map +1 -1
  148. package/lib/internal/template/test-utils/selectors/index.js +332 -83
  149. package/lib/internal/template/test-utils/selectors/index.js.map +1 -1
  150. package/package.json +1 -1
@@ -1,27 +1,27 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "placeholder": "awsui_placeholder_dwuol_pay5s_145",
5
- "item": "awsui_item_dwuol_pay5s_150",
6
- "checkbox": "awsui_checkbox_dwuol_pay5s_154",
7
- "option-group": "awsui_option-group_dwuol_pay5s_163",
8
- "filter": "awsui_filter_dwuol_pay5s_167",
9
- "trigger": "awsui_trigger_dwuol_pay5s_172",
10
- "layout-strut": "awsui_layout-strut_dwuol_pay5s_178",
11
- "list-bottom": "awsui_list-bottom_dwuol_pay5s_184",
12
- "selected-icon": "awsui_selected-icon_dwuol_pay5s_188",
13
- "show-label-tag": "awsui_show-label-tag_dwuol_pay5s_192",
14
- "inline-token-trigger": "awsui_inline-token-trigger_dwuol_pay5s_196",
15
- "inline-token-list": "awsui_inline-token-list_dwuol_pay5s_203",
16
- "inline-token": "awsui_inline-token_dwuol_pay5s_196",
17
- "visual-refresh": "awsui_visual-refresh_dwuol_pay5s_233",
18
- "inline-token-hidden-placeholder": "awsui_inline-token-hidden-placeholder_dwuol_pay5s_240",
19
- "inline-token-counter": "awsui_inline-token-counter_dwuol_pay5s_246",
20
- "inline-token-trigger--disabled": "awsui_inline-token-trigger--disabled_dwuol_pay5s_250",
21
- "inline-label-trigger-wrapper": "awsui_inline-label-trigger-wrapper_dwuol_pay5s_256",
22
- "inline-label-wrapper": "awsui_inline-label-wrapper_dwuol_pay5s_260",
23
- "inline-label": "awsui_inline-label_dwuol_pay5s_256",
24
- "inline-label-inline-tokens": "awsui_inline-label-inline-tokens_dwuol_pay5s_286",
25
- "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_dwuol_pay5s_291"
4
+ "placeholder": "awsui_placeholder_dwuol_12web_145",
5
+ "item": "awsui_item_dwuol_12web_150",
6
+ "checkbox": "awsui_checkbox_dwuol_12web_154",
7
+ "option-group": "awsui_option-group_dwuol_12web_163",
8
+ "filter": "awsui_filter_dwuol_12web_167",
9
+ "trigger": "awsui_trigger_dwuol_12web_172",
10
+ "layout-strut": "awsui_layout-strut_dwuol_12web_178",
11
+ "list-bottom": "awsui_list-bottom_dwuol_12web_184",
12
+ "selected-icon": "awsui_selected-icon_dwuol_12web_188",
13
+ "show-label-tag": "awsui_show-label-tag_dwuol_12web_192",
14
+ "inline-token-trigger": "awsui_inline-token-trigger_dwuol_12web_196",
15
+ "inline-token-list": "awsui_inline-token-list_dwuol_12web_203",
16
+ "inline-token": "awsui_inline-token_dwuol_12web_196",
17
+ "visual-refresh": "awsui_visual-refresh_dwuol_12web_233",
18
+ "inline-token-hidden-placeholder": "awsui_inline-token-hidden-placeholder_dwuol_12web_240",
19
+ "inline-token-counter": "awsui_inline-token-counter_dwuol_12web_246",
20
+ "inline-token-trigger--disabled": "awsui_inline-token-trigger--disabled_dwuol_12web_250",
21
+ "inline-label-trigger-wrapper": "awsui_inline-label-trigger-wrapper_dwuol_12web_256",
22
+ "inline-label-wrapper": "awsui_inline-label-wrapper_dwuol_12web_260",
23
+ "inline-label": "awsui_inline-label_dwuol_12web_256",
24
+ "inline-label-inline-tokens": "awsui_inline-label-inline-tokens_dwuol_12web_286",
25
+ "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_dwuol_12web_291"
26
26
  };
27
27
 
@@ -142,16 +142,16 @@
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_placeholder_dwuol_pay5s_145:not(#\9) {
145
+ .awsui_placeholder_dwuol_12web_145:not(#\9) {
146
146
  color: var(--color-text-input-placeholder-hvcry0, #687078);
147
147
  font-style: italic;
148
148
  }
149
149
 
150
- .awsui_item_dwuol_pay5s_150:not(#\9) {
150
+ .awsui_item_dwuol_12web_150:not(#\9) {
151
151
  display: flex;
152
152
  align-items: center;
153
153
  }
154
- .awsui_item_dwuol_pay5s_150 > .awsui_checkbox_dwuol_pay5s_154:not(#\9) {
154
+ .awsui_item_dwuol_12web_150 > .awsui_checkbox_dwuol_12web_154:not(#\9) {
155
155
  position: relative;
156
156
  min-block-size: var(--size-control-lkpwjy, 14px);
157
157
  min-inline-size: var(--size-control-lkpwjy, 14px);
@@ -160,47 +160,47 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
160
160
  margin-inline-end: var(--space-field-horizontal-n5peob, 8px);
161
161
  }
162
162
 
163
- .awsui_option-group_dwuol_pay5s_163:not(#\9):not(:first-child) {
163
+ .awsui_option-group_dwuol_12web_163:not(#\9):not(:first-child) {
164
164
  margin-block-start: calc(-1 * var(--border-item-width-acvlhx, 1px));
165
165
  }
166
166
 
167
- .awsui_filter_dwuol_pay5s_167:not(#\9) {
167
+ .awsui_filter_dwuol_12web_167:not(#\9) {
168
168
  z-index: 4;
169
169
  flex-shrink: 0;
170
170
  }
171
171
 
172
- .awsui_trigger_dwuol_pay5s_172:not(#\9) {
172
+ .awsui_trigger_dwuol_12web_172:not(#\9) {
173
173
  white-space: nowrap;
174
174
  overflow: hidden;
175
175
  text-overflow: ellipsis;
176
176
  }
177
177
 
178
- .awsui_layout-strut_dwuol_pay5s_178:not(#\9) {
178
+ .awsui_layout-strut_dwuol_12web_178:not(#\9) {
179
179
  inline-size: 100%;
180
180
  position: relative;
181
181
  transform: translate3d(0, 0, 0);
182
182
  }
183
183
 
184
- .awsui_list-bottom_dwuol_pay5s_184:not(#\9) {
184
+ .awsui_list-bottom_dwuol_12web_184:not(#\9) {
185
185
  /* used in unit-tests */
186
186
  }
187
187
 
188
- .awsui_selected-icon_dwuol_pay5s_188:not(#\9) {
189
- color: var(--color-border-item-focused-r5f6xl, #0073bb);
188
+ .awsui_selected-icon_dwuol_12web_188:not(#\9) {
189
+ color: var(--color-item-selected-2dv7ug, #0073bb);
190
190
  }
191
191
 
192
- .awsui_show-label-tag_dwuol_pay5s_192 > .awsui_selected-icon_dwuol_pay5s_188:not(#\9) {
192
+ .awsui_show-label-tag_dwuol_12web_192 > .awsui_selected-icon_dwuol_12web_188:not(#\9) {
193
193
  padding-inline-start: var(--space-scaled-s-gjhvjd, 12px);
194
194
  }
195
195
 
196
- .awsui_inline-token-trigger_dwuol_pay5s_196:not(#\9) {
196
+ .awsui_inline-token-trigger_dwuol_12web_196:not(#\9) {
197
197
  display: flex;
198
198
  flex-wrap: nowrap;
199
199
  column-gap: var(--space-xxs-jnczic, 4px);
200
200
  inline-size: 100%;
201
201
  }
202
202
 
203
- .awsui_inline-token-list_dwuol_pay5s_203:not(#\9) {
203
+ .awsui_inline-token-list_dwuol_12web_203:not(#\9) {
204
204
  display: flex;
205
205
  flex-wrap: nowrap;
206
206
  align-items: center;
@@ -210,10 +210,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
210
210
  mask-image: linear-gradient(270deg, transparent, white 20px, white);
211
211
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
212
212
  }
213
- .awsui_inline-token-list_dwuol_pay5s_203:not(#\9):dir(rtl) {
213
+ .awsui_inline-token-list_dwuol_12web_203:not(#\9):dir(rtl) {
214
214
  mask-image: linear-gradient(-270deg, transparent, white 20px, white);
215
215
  }
216
- .awsui_inline-token-list_dwuol_pay5s_203 > .awsui_inline-token_dwuol_pay5s_196:not(#\9) {
216
+ .awsui_inline-token-list_dwuol_12web_203 > .awsui_inline-token_dwuol_12web_196:not(#\9) {
217
217
  display: flex;
218
218
  align-items: center;
219
219
  min-inline-size: max-content;
@@ -230,38 +230,38 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
230
230
  color: var(--color-text-body-default-5qid0u, #16191f);
231
231
  }
232
232
 
233
- .awsui_visual-refresh_dwuol_pay5s_233 > .awsui_inline-token-list_dwuol_pay5s_203 > .awsui_inline-token_dwuol_pay5s_196:not(#\9) {
233
+ .awsui_visual-refresh_dwuol_12web_233 > .awsui_inline-token-list_dwuol_12web_203 > .awsui_inline-token_dwuol_12web_196:not(#\9) {
234
234
  border-start-start-radius: var(--border-radius-badge-o70tla, 16px);
235
235
  border-start-end-radius: var(--border-radius-badge-o70tla, 16px);
236
236
  border-end-start-radius: var(--border-radius-badge-o70tla, 16px);
237
237
  border-end-end-radius: var(--border-radius-badge-o70tla, 16px);
238
238
  }
239
239
 
240
- .awsui_inline-token-hidden-placeholder_dwuol_pay5s_240:not(#\9) {
240
+ .awsui_inline-token-hidden-placeholder_dwuol_12web_240:not(#\9) {
241
241
  position: absolute !important;
242
242
  inset-block-start: -9999px !important;
243
243
  inset-inline-start: -9999px !important;
244
244
  }
245
245
 
246
- .awsui_inline-token-counter_dwuol_pay5s_246:not(#\9) {
246
+ .awsui_inline-token-counter_dwuol_12web_246:not(#\9) {
247
247
  white-space: nowrap;
248
248
  }
249
249
 
250
- .awsui_inline-token-trigger--disabled_dwuol_pay5s_250 > .awsui_inline-token-list_dwuol_pay5s_203 > .awsui_inline-token_dwuol_pay5s_196:not(#\9) {
250
+ .awsui_inline-token-trigger--disabled_dwuol_12web_250 > .awsui_inline-token-list_dwuol_12web_203 > .awsui_inline-token_dwuol_12web_196:not(#\9) {
251
251
  border-color: var(--color-border-control-disabled-c9dn39, #d5dbdb);
252
252
  background-color: var(--color-background-container-content-aemn43, #ffffff);
253
253
  color: var(--color-text-disabled-bhrk1i, #aab7b8);
254
254
  }
255
255
 
256
- .awsui_inline-label-trigger-wrapper_dwuol_pay5s_256:not(#\9) {
256
+ .awsui_inline-label-trigger-wrapper_dwuol_12web_256:not(#\9) {
257
257
  margin-block-start: -7px;
258
258
  }
259
259
 
260
- .awsui_inline-label-wrapper_dwuol_pay5s_260:not(#\9) {
260
+ .awsui_inline-label-wrapper_dwuol_12web_260:not(#\9) {
261
261
  margin-block-start: calc(var(--space-scaled-xs-sppte9, 8px) * -1);
262
262
  }
263
263
 
264
- .awsui_inline-label_dwuol_pay5s_256:not(#\9) {
264
+ .awsui_inline-label_dwuol_12web_256:not(#\9) {
265
265
  background: linear-gradient(to bottom, var(--color-background-layout-main-05m5y6, #f2f3f3), var(--color-background-input-default-1z2buq, #ffffff));
266
266
  border-start-start-radius: 2px;
267
267
  border-start-end-radius: 2px;
@@ -283,11 +283,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
283
283
  z-index: 1;
284
284
  }
285
285
 
286
- .awsui_inline-label-inline-tokens_dwuol_pay5s_286:not(#\9) {
286
+ .awsui_inline-label-inline-tokens_dwuol_12web_286:not(#\9) {
287
287
  padding-block-end: 0;
288
288
  transform: translateY(-1.5px);
289
289
  }
290
290
 
291
- .awsui_disabled-reason-tooltip_dwuol_pay5s_291:not(#\9) {
291
+ .awsui_disabled-reason-tooltip_dwuol_12web_291:not(#\9) {
292
292
  /* used in test-utils or tests */
293
293
  }
@@ -2,27 +2,27 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "placeholder": "awsui_placeholder_dwuol_pay5s_145",
6
- "item": "awsui_item_dwuol_pay5s_150",
7
- "checkbox": "awsui_checkbox_dwuol_pay5s_154",
8
- "option-group": "awsui_option-group_dwuol_pay5s_163",
9
- "filter": "awsui_filter_dwuol_pay5s_167",
10
- "trigger": "awsui_trigger_dwuol_pay5s_172",
11
- "layout-strut": "awsui_layout-strut_dwuol_pay5s_178",
12
- "list-bottom": "awsui_list-bottom_dwuol_pay5s_184",
13
- "selected-icon": "awsui_selected-icon_dwuol_pay5s_188",
14
- "show-label-tag": "awsui_show-label-tag_dwuol_pay5s_192",
15
- "inline-token-trigger": "awsui_inline-token-trigger_dwuol_pay5s_196",
16
- "inline-token-list": "awsui_inline-token-list_dwuol_pay5s_203",
17
- "inline-token": "awsui_inline-token_dwuol_pay5s_196",
18
- "visual-refresh": "awsui_visual-refresh_dwuol_pay5s_233",
19
- "inline-token-hidden-placeholder": "awsui_inline-token-hidden-placeholder_dwuol_pay5s_240",
20
- "inline-token-counter": "awsui_inline-token-counter_dwuol_pay5s_246",
21
- "inline-token-trigger--disabled": "awsui_inline-token-trigger--disabled_dwuol_pay5s_250",
22
- "inline-label-trigger-wrapper": "awsui_inline-label-trigger-wrapper_dwuol_pay5s_256",
23
- "inline-label-wrapper": "awsui_inline-label-wrapper_dwuol_pay5s_260",
24
- "inline-label": "awsui_inline-label_dwuol_pay5s_256",
25
- "inline-label-inline-tokens": "awsui_inline-label-inline-tokens_dwuol_pay5s_286",
26
- "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_dwuol_pay5s_291"
5
+ "placeholder": "awsui_placeholder_dwuol_12web_145",
6
+ "item": "awsui_item_dwuol_12web_150",
7
+ "checkbox": "awsui_checkbox_dwuol_12web_154",
8
+ "option-group": "awsui_option-group_dwuol_12web_163",
9
+ "filter": "awsui_filter_dwuol_12web_167",
10
+ "trigger": "awsui_trigger_dwuol_12web_172",
11
+ "layout-strut": "awsui_layout-strut_dwuol_12web_178",
12
+ "list-bottom": "awsui_list-bottom_dwuol_12web_184",
13
+ "selected-icon": "awsui_selected-icon_dwuol_12web_188",
14
+ "show-label-tag": "awsui_show-label-tag_dwuol_12web_192",
15
+ "inline-token-trigger": "awsui_inline-token-trigger_dwuol_12web_196",
16
+ "inline-token-list": "awsui_inline-token-list_dwuol_12web_203",
17
+ "inline-token": "awsui_inline-token_dwuol_12web_196",
18
+ "visual-refresh": "awsui_visual-refresh_dwuol_12web_233",
19
+ "inline-token-hidden-placeholder": "awsui_inline-token-hidden-placeholder_dwuol_12web_240",
20
+ "inline-token-counter": "awsui_inline-token-counter_dwuol_12web_246",
21
+ "inline-token-trigger--disabled": "awsui_inline-token-trigger--disabled_dwuol_12web_250",
22
+ "inline-label-trigger-wrapper": "awsui_inline-label-trigger-wrapper_dwuol_12web_256",
23
+ "inline-label-wrapper": "awsui_inline-label-wrapper_dwuol_12web_260",
24
+ "inline-label": "awsui_inline-label_dwuol_12web_256",
25
+ "inline-label-inline-tokens": "awsui_inline-label-inline-tokens_dwuol_12web_286",
26
+ "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_dwuol_12web_291"
27
27
  };
28
28
 
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { StatusIndicatorProps } from './internal';
2
+ import { StatusIndicatorProps } from './interfaces';
3
3
  export { StatusIndicatorProps };
4
4
  export default function StatusIndicator({ type, wrapText, ...props }: StatusIndicatorProps): JSX.Element;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/status-indicator/index.tsx"],"names":[],"mappings":";AAOA,OAAgC,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAE3E,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,IAAgB,EAAE,QAAe,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,eAK5G"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/status-indicator/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,IAAgB,EAAE,QAAe,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,eAK5G"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/status-indicator/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,uBAAiD,MAAM,YAAY,CAAC;AAI3E,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAqE;QAArE,EAAE,IAAI,GAAG,SAAS,EAAE,QAAQ,GAAG,IAAI,OAAkC,EAA7B,KAAK,cAA7C,oBAA+C,CAAF;IACnF,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,iBAAiB,EAAE;QAC7D,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,CAAC,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC9D,CAAC,CAAC;IACH,OAAO,oBAAC,uBAAuB,kBAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,IAAM,KAAK,EAAM,kBAAkB,EAAI,CAAC;AACxG,CAAC;AAED,gBAAgB,CAAC,eAAe,EAAE,iBAAiB,CAAC,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 useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport InternalStatusIndicator, { StatusIndicatorProps } from './internal';\n\nexport { StatusIndicatorProps };\n\nexport default function StatusIndicator({ type = 'success', wrapText = true, ...props }: StatusIndicatorProps) {\n const baseComponentProps = useBaseComponent('StatusIndicator', {\n props: { colorOverride: props.colorOverride, type, wrapText },\n });\n return <InternalStatusIndicator type={type} wrapText={wrapText} {...props} {...baseComponentProps} />;\n}\n\napplyDisplayName(StatusIndicator, 'StatusIndicator');\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/status-indicator/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,uBAAuB,MAAM,YAAY,CAAC;AAIjD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAqE;QAArE,EAAE,IAAI,GAAG,SAAS,EAAE,QAAQ,GAAG,IAAI,OAAkC,EAA7B,KAAK,cAA7C,oBAA+C,CAAF;IACnF,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,iBAAiB,EAAE;QAC7D,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,CAAC,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC9D,CAAC,CAAC;IACH,OAAO,oBAAC,uBAAuB,kBAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,IAAM,KAAK,EAAM,kBAAkB,EAAI,CAAC;AACxG,CAAC;AAED,gBAAgB,CAAC,eAAe,EAAE,iBAAiB,CAAC,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 useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { StatusIndicatorProps } from './interfaces';\nimport InternalStatusIndicator from './internal';\n\nexport { StatusIndicatorProps };\n\nexport default function StatusIndicator({ type = 'success', wrapText = true, ...props }: StatusIndicatorProps) {\n const baseComponentProps = useBaseComponent('StatusIndicator', {\n props: { colorOverride: props.colorOverride, type, wrapText },\n });\n return <InternalStatusIndicator type={type} wrapText={wrapText} {...props} {...baseComponentProps} />;\n}\n\napplyDisplayName(StatusIndicator, 'StatusIndicator');\n"]}
@@ -0,0 +1,46 @@
1
+ /// <reference types="react" />
2
+ import { BaseComponentProps } from '../internal/base-component';
3
+ /**
4
+ * @awsuiSystem core
5
+ */
6
+ import { NativeAttributes } from '../internal/utils/with-native-attributes';
7
+ export interface StatusIndicatorProps extends BaseComponentProps {
8
+ /**
9
+ * Specifies the status type.
10
+ */
11
+ type?: StatusIndicatorProps.Type;
12
+ /**
13
+ * A text fragment that communicates the status.
14
+ */
15
+ children?: React.ReactNode;
16
+ /**
17
+ * Specifies an `aria-label` for the icon. If the status text alone does not fully describe the status,
18
+ * use this to communicate additional context.
19
+ */
20
+ iconAriaLabel?: string;
21
+ /**
22
+ * Specifies an override for the status indicator color.
23
+ */
24
+ colorOverride?: StatusIndicatorProps.Color;
25
+ /**
26
+ * Specifies if the text content should wrap. If you set it to false, it prevents the text from wrapping
27
+ * and truncates it with an ellipsis.
28
+ */
29
+ wrapText?: boolean;
30
+ /**
31
+ * Attributes to add to the native element.
32
+ * Some attributes will be automatically combined with internal attribute values:
33
+ * - `className` will be appended.
34
+ * - Event handlers will be chained, unless the default is prevented.
35
+ *
36
+ * We do not support using this attribute to apply custom styling.
37
+ *
38
+ * @awsuiSystem core
39
+ */
40
+ nativeAttributes?: NativeAttributes<React.HTMLAttributes<HTMLElement>>;
41
+ }
42
+ export declare namespace StatusIndicatorProps {
43
+ type Type = 'error' | 'warning' | 'success' | 'info' | 'stopped' | 'pending' | 'in-progress' | 'loading';
44
+ type Color = 'blue' | 'grey' | 'green' | 'red' | 'yellow';
45
+ }
46
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/status-indicator/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAE5E,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB;IAC9D;;OAEG;IACH,IAAI,CAAC,EAAE,oBAAoB,CAAC,IAAI,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC,KAAK,CAAC;IAC3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;;;;OASG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;CACxE;AAED,yBAAiB,oBAAoB,CAAC;IAGpC,KAAY,IAAI,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,CAAC;IAChH,KAAY,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;CAClE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/status-indicator/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../internal/utils/with-native-attributes';\n\nexport interface StatusIndicatorProps extends BaseComponentProps {\n /**\n * Specifies the status type.\n */\n type?: StatusIndicatorProps.Type;\n /**\n * A text fragment that communicates the status.\n */\n children?: React.ReactNode;\n /**\n * Specifies an `aria-label` for the icon. If the status text alone does not fully describe the status,\n * use this to communicate additional context.\n */\n iconAriaLabel?: string;\n /**\n * Specifies an override for the status indicator color.\n */\n colorOverride?: StatusIndicatorProps.Color;\n /**\n * Specifies if the text content should wrap. If you set it to false, it prevents the text from wrapping\n * and truncates it with an ellipsis.\n */\n wrapText?: boolean;\n /**\n * Attributes to add to the native element.\n * Some attributes will be automatically combined with internal attribute values:\n * - `className` will be appended.\n * - Event handlers will be chained, unless the default is prevented.\n *\n * We do not support using this attribute to apply custom styling.\n *\n * @awsuiSystem core\n */\n nativeAttributes?: NativeAttributes<React.HTMLAttributes<HTMLElement>>;\n}\n\nexport namespace StatusIndicatorProps {\n // Why not enums? Explained there\n // https://stackoverflow.com/questions/52393730/typescript-string-literal-union-type-from-enum\n export type Type = 'error' | 'warning' | 'success' | 'info' | 'stopped' | 'pending' | 'in-progress' | 'loading';\n export type Color = 'blue' | 'grey' | 'green' | 'red' | 'yellow';\n}\n"]}
@@ -1,32 +1,8 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { IconProps } from '../icon/interfaces';
3
- import { BaseComponentProps } from '../internal/base-component';
4
3
  import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
5
4
  import { SomeRequired } from '../internal/types';
6
- export interface StatusIndicatorProps extends BaseComponentProps {
7
- /**
8
- * Specifies the status type.
9
- */
10
- type?: StatusIndicatorProps.Type;
11
- /**
12
- * A text fragment that communicates the status.
13
- */
14
- children?: React.ReactNode;
15
- /**
16
- * Specifies an `aria-label` for the icon. If the status text alone does not fully describe the status,
17
- * use this to communicate additional context.
18
- */
19
- iconAriaLabel?: string;
20
- /**
21
- * Specifies an override for the status indicator color.
22
- */
23
- colorOverride?: StatusIndicatorProps.Color;
24
- /**
25
- * Specifies if the text content should wrap. If you set it to false, it prevents the text from wrapping
26
- * and truncates it with an ellipsis.
27
- */
28
- wrapText?: boolean;
29
- }
5
+ import { StatusIndicatorProps } from './interfaces';
30
6
  export interface InternalStatusIndicatorProps extends SomeRequired<StatusIndicatorProps, 'type'>, InternalBaseComponentProps {
31
7
  /**
32
8
  * Play an animation on the error icon when first rendered
@@ -41,9 +17,5 @@ export interface InternalStatusIndicatorProps extends SomeRequired<StatusIndicat
41
17
  */
42
18
  __display?: 'inline' | 'inline-block';
43
19
  }
44
- export declare namespace StatusIndicatorProps {
45
- type Type = 'error' | 'warning' | 'success' | 'info' | 'stopped' | 'pending' | 'in-progress' | 'loading';
46
- type Color = 'blue' | 'grey' | 'green' | 'red' | 'yellow';
47
- }
48
- export default function StatusIndicator({ type, children, iconAriaLabel, colorOverride, wrapText, __animate, __internalRootRef, __size, __display, ...rest }: InternalStatusIndicatorProps): JSX.Element;
20
+ export default function StatusIndicator({ type, children, iconAriaLabel, colorOverride, wrapText, nativeAttributes, __animate, __internalRootRef, __size, __display, ...rest }: InternalStatusIndicatorProps): JSX.Element;
49
21
  //# sourceMappingURL=internal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/status-indicator/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,kBAAkB,EAAgB,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAgBjD,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB;IAC9D;;OAEG;IACH,IAAI,CAAC,EAAE,oBAAoB,CAAC,IAAI,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,KA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,EAAE,MAAM,CAAC,EAChD,0BAA0B;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC;IAExB;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,GAAG,cAAc,CAAC;CACvC;AAaD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,aAAa,EACb,QAAe,EACf,gBAAgB,EAChB,SAAiB,EACjB,iBAAiB,EACjB,MAAiB,EACjB,SAA0B,EAC1B,GAAG,IAAI,EACR,EAAE,4BAA4B,eAsC9B"}
@@ -5,6 +5,10 @@ import React from 'react';
5
5
  import clsx from 'clsx';
6
6
  import InternalIcon from '../icon/internal';
7
7
  import { getBaseProps } from '../internal/base-component';
8
+ /**
9
+ * @awsuiSystem core
10
+ */
11
+ import WithNativeAttributes from '../internal/utils/with-native-attributes';
8
12
  import InternalSpinner from '../spinner/internal';
9
13
  import styles from './styles.css.js';
10
14
  const typeToIcon = size => ({
@@ -18,9 +22,9 @@ const typeToIcon = size => ({
18
22
  loading: React.createElement(InternalSpinner, null),
19
23
  });
20
24
  export default function StatusIndicator(_a) {
21
- var { type, children, iconAriaLabel, colorOverride, wrapText = true, __animate = false, __internalRootRef, __size = 'normal', __display = 'inline-block' } = _a, rest = __rest(_a, ["type", "children", "iconAriaLabel", "colorOverride", "wrapText", "__animate", "__internalRootRef", "__size", "__display"]);
25
+ var { type, children, iconAriaLabel, colorOverride, wrapText = true, nativeAttributes, __animate = false, __internalRootRef, __size = 'normal', __display = 'inline-block' } = _a, rest = __rest(_a, ["type", "children", "iconAriaLabel", "colorOverride", "wrapText", "nativeAttributes", "__animate", "__internalRootRef", "__size", "__display"]);
22
26
  const baseProps = getBaseProps(rest);
23
- return (React.createElement("span", Object.assign({}, baseProps, { className: clsx(styles.root, styles[`status-${type}`], {
27
+ return (React.createElement(WithNativeAttributes, Object.assign({}, baseProps, { tag: "span", componentName: "StatusIndicator", nativeAttributes: nativeAttributes, className: clsx(styles.root, styles[`status-${type}`], {
24
28
  [styles[`color-override-${colorOverride}`]]: colorOverride,
25
29
  }, baseProps.className), ref: __internalRootRef }),
26
30
  React.createElement("span", { className: clsx(styles.container, styles[`display-${__display}`], wrapText === false && styles['overflow-ellipsis'], __animate && styles['container-fade-in']) },
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/status-indicator/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAsB,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG9E,OAAO,eAAe,MAAM,qBAAqB,CAAC;AAElD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,UAAU,GAA6E,IAAI,CAAC,EAAE,CAAC,CAAC;IACpG,KAAK,EAAE,oBAAC,YAAY,IAAC,IAAI,EAAC,iBAAiB,EAAC,IAAI,EAAE,IAAI,GAAI;IAC1D,OAAO,EAAE,oBAAC,YAAY,IAAC,IAAI,EAAC,gBAAgB,EAAC,IAAI,EAAE,IAAI,GAAI;IAC3D,OAAO,EAAE,oBAAC,YAAY,IAAC,IAAI,EAAC,iBAAiB,EAAC,IAAI,EAAE,IAAI,GAAI;IAC5D,IAAI,EAAE,oBAAC,YAAY,IAAC,IAAI,EAAC,aAAa,EAAC,IAAI,EAAE,IAAI,GAAI;IACrD,OAAO,EAAE,oBAAC,YAAY,IAAC,IAAI,EAAC,gBAAgB,EAAC,IAAI,EAAE,IAAI,GAAI;IAC3D,OAAO,EAAE,oBAAC,YAAY,IAAC,IAAI,EAAC,gBAAgB,EAAC,IAAI,EAAE,IAAI,GAAI;IAC3D,aAAa,EAAE,oBAAC,YAAY,IAA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its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { IconProps } from '../icon/interfaces';\nimport InternalIcon from '../icon/internal';\nimport { BaseComponentProps, getBaseProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { SomeRequired } from '../internal/types';\nimport InternalSpinner from '../spinner/internal';\n\nimport styles from './styles.css.js';\n\nconst typeToIcon: (size: IconProps.Size) => Record<StatusIndicatorProps.Type, JSX.Element> = size => ({\n error: <InternalIcon name=\"status-negative\" size={size} />,\n warning: <InternalIcon name=\"status-warning\" size={size} />,\n success: <InternalIcon name=\"status-positive\" size={size} />,\n info: <InternalIcon name=\"status-info\" size={size} />,\n stopped: <InternalIcon name=\"status-stopped\" size={size} />,\n pending: <InternalIcon name=\"status-pending\" size={size} />,\n 'in-progress': <InternalIcon name=\"status-in-progress\" size={size} />,\n loading: <InternalSpinner />,\n});\n\nexport interface StatusIndicatorProps extends BaseComponentProps {\n /**\n * Specifies the status type.\n */\n type?: StatusIndicatorProps.Type;\n /**\n * A text fragment that communicates the status.\n */\n children?: React.ReactNode;\n /**\n * Specifies an `aria-label` for the icon. If the status text alone does not fully describe the status,\n * use this to communicate additional context.\n */\n iconAriaLabel?: string;\n /**\n * Specifies an override for the status indicator color.\n */\n colorOverride?: StatusIndicatorProps.Color;\n /**\n * Specifies if the text content should wrap. If you set it to false, it prevents the text from wrapping\n * and truncates it with an ellipsis.\n */\n wrapText?: boolean;\n}\n\nexport interface InternalStatusIndicatorProps\n extends SomeRequired<StatusIndicatorProps, 'type'>,\n InternalBaseComponentProps {\n /**\n * Play an animation on the error icon when first rendered\n */\n __animate?: boolean;\n\n /**\n * Size of icon.\n */\n __size?: IconProps.Size;\n\n /**\n * The CSS behavior of the status indicator container element.\n */\n __display?: 'inline' | 'inline-block';\n}\n\nexport namespace StatusIndicatorProps {\n // Why not enums? Explained there\n // https://stackoverflow.com/questions/52393730/typescript-string-literal-union-type-from-enum\n export type Type = 'error' | 'warning' | 'success' | 'info' | 'stopped' | 'pending' | 'in-progress' | 'loading';\n export type Color = 'blue' | 'grey' | 'green' | 'red' | 'yellow';\n}\n\nexport default function StatusIndicator({\n type,\n children,\n iconAriaLabel,\n colorOverride,\n wrapText = true,\n __animate = false,\n __internalRootRef,\n __size = 'normal',\n __display = 'inline-block',\n ...rest\n}: InternalStatusIndicatorProps) {\n const baseProps = getBaseProps(rest);\n return (\n <span\n {...baseProps}\n className={clsx(\n styles.root,\n styles[`status-${type}`],\n {\n [styles[`color-override-${colorOverride}`]]: colorOverride,\n },\n baseProps.className\n )}\n ref={__internalRootRef}\n >\n <span\n className={clsx(\n styles.container,\n styles[`display-${__display}`],\n wrapText === false && styles['overflow-ellipsis'],\n __animate && styles['container-fade-in']\n )}\n >\n <span\n className={clsx(styles.icon, __animate && styles['icon-shake'])}\n aria-label={iconAriaLabel}\n role={iconAriaLabel ? 'img' : undefined}\n >\n {typeToIcon(__size)[type]}\n {__display === 'inline' && <>&nbsp;</>}\n </span>\n {children}\n </span>\n </span>\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/status-indicator/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D;;GAEG;AACH,OAAO,oBAAoB,MAAM,0CAA0C,CAAC;AAC5E,OAAO,eAAe,MAAM,qBAAqB,CAAC;AAGlD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAqBrC,MAAM,UAAU,GAA6E,IAAI,CAAC,EAAE,CAAC,CAAC;IACpG,KAAK,EAAE,oBAAC,YAAY,IAAC,IAAI,EAAC,iBAAiB,EAAC,IAAI,EAAE,IAAI,G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,EACD,GAAG,EAAE,iBAAiB;QAEtB,8BACE,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,SAAS,EAChB,MAAM,CAAC,WAAW,SAAS,EAAE,CAAC,EAC9B,QAAQ,KAAK,KAAK,IAAI,MAAM,CAAC,mBAAmB,CAAC,EACjD,SAAS,IAAI,MAAM,CAAC,mBAAmB,CAAC,CACzC;YAED,8BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,gBACnD,aAAa,EACzB,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;gBAEtC,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC;gBACxB,SAAS,KAAK,QAAQ,IAAI,mDAAW,CACjC;YACN,QAAQ,CACJ,CACc,CACxB,CAAC;AACJ,CAAC","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 { IconProps } from '../icon/interfaces';\nimport InternalIcon from '../icon/internal';\nimport { getBaseProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { SomeRequired } from '../internal/types';\n/**\n * @awsuiSystem core\n */\nimport WithNativeAttributes from '../internal/utils/with-native-attributes';\nimport InternalSpinner from '../spinner/internal';\nimport { StatusIndicatorProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\nexport interface InternalStatusIndicatorProps\n extends SomeRequired<StatusIndicatorProps, 'type'>,\n InternalBaseComponentProps {\n /**\n * Play an animation on the error icon when first rendered\n */\n __animate?: boolean;\n\n /**\n * Size of icon.\n */\n __size?: IconProps.Size;\n\n /**\n * The CSS behavior of the status indicator container element.\n */\n __display?: 'inline' | 'inline-block';\n}\n\nconst typeToIcon: (size: IconProps.Size) => Record<StatusIndicatorProps.Type, JSX.Element> = size => ({\n error: <InternalIcon name=\"status-negative\" size={size} />,\n warning: <InternalIcon name=\"status-warning\" size={size} />,\n success: <InternalIcon name=\"status-positive\" size={size} />,\n info: <InternalIcon name=\"status-info\" size={size} />,\n stopped: <InternalIcon name=\"status-stopped\" size={size} />,\n pending: <InternalIcon name=\"status-pending\" size={size} />,\n 'in-progress': <InternalIcon name=\"status-in-progress\" size={size} />,\n loading: <InternalSpinner />,\n});\n\nexport default function StatusIndicator({\n type,\n children,\n iconAriaLabel,\n colorOverride,\n wrapText = true,\n nativeAttributes,\n __animate = false,\n __internalRootRef,\n __size = 'normal',\n __display = 'inline-block',\n ...rest\n}: InternalStatusIndicatorProps) {\n const baseProps = getBaseProps(rest);\n return (\n <WithNativeAttributes\n {...baseProps}\n tag=\"span\"\n componentName=\"StatusIndicator\"\n nativeAttributes={nativeAttributes}\n className={clsx(\n styles.root,\n styles[`status-${type}`],\n {\n [styles[`color-override-${colorOverride}`]]: colorOverride,\n },\n baseProps.className\n )}\n ref={__internalRootRef}\n >\n <span\n className={clsx(\n styles.container,\n styles[`display-${__display}`],\n wrapText === false && styles['overflow-ellipsis'],\n __animate && styles['container-fade-in']\n )}\n >\n <span\n className={clsx(styles.icon, __animate && styles['icon-shake'])}\n aria-label={iconAriaLabel}\n role={iconAriaLabel ? 'img' : undefined}\n >\n {typeToIcon(__size)[type]}\n {__display === 'inline' && <>&nbsp;</>}\n </span>\n {children}\n </span>\n </WithNativeAttributes>\n );\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { BaseComponentProps } from '../internal/base-component';
3
- import { StatusIndicatorProps } from '../status-indicator/internal';
3
+ import { StatusIndicatorProps } from '../status-indicator/interfaces';
4
4
  export interface StepsProps extends BaseComponentProps {
5
5
  /**
6
6
  * An array of individual steps
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/steps/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4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AAC;QAC7B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;QACxB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KAC3B;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/steps/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { StatusIndicatorProps } from '../status-indicator/internal';\n\nexport interface StepsProps extends BaseComponentProps {\n /**\n * An array of individual steps\n *\n * Each step definition has the following properties:\n * * `status` (string) - Status of the step corresponding to a status indicator.\n * * `statusIconAriaLabel` - (string) - (Optional) Alternative text for the status icon.\n * * `header` (ReactNode) - Summary corresponding to the step.\n * * `details` (ReactNode) - (Optional) Additional information corresponding to the step.\n */\n steps: ReadonlyArray<StepsProps.Step>;\n /**\n * Provides an `aria-label` to the progress steps container.\n * Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n /**\n * Sets the `aria-labelledby` property on the progress steps container.\n * If there's a visible label element that you can reference, use this instead of `ariaLabel`.\n * Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n /**\n * Sets the `aria-describedby` property on the progress steps container.\n */\n ariaDescribedby?: string;\n}\n\nexport namespace StepsProps {\n export type Status = StatusIndicatorProps.Type;\n\n export interface Step {\n status: Status;\n statusIconAriaLabel?: string;\n header: React.ReactNode;\n details?: React.ReactNode;\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/steps/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { StatusIndicatorProps } from '../status-indicator/interfaces';\n\nexport interface StepsProps extends BaseComponentProps {\n /**\n * An array of individual steps\n *\n * Each step definition has the following properties:\n * * `status` (string) - Status of the step corresponding to a status indicator.\n * * `statusIconAriaLabel` - (string) - (Optional) Alternative text for the status icon.\n * * `header` (ReactNode) - Summary corresponding to the step.\n * * `details` (ReactNode) - (Optional) Additional information corresponding to the step.\n */\n steps: ReadonlyArray<StepsProps.Step>;\n /**\n * Provides an `aria-label` to the progress steps container.\n * Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n /**\n * Sets the `aria-labelledby` property on the progress steps container.\n * If there's a visible label element that you can reference, use this instead of `ariaLabel`.\n * Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n /**\n * Sets the `aria-describedby` property on the progress steps container.\n */\n ariaDescribedby?: string;\n}\n\nexport namespace StepsProps {\n export type Status = StatusIndicatorProps.Type;\n\n export interface Step {\n status: Status;\n statusIconAriaLabel?: string;\n header: React.ReactNode;\n details?: React.ReactNode;\n }\n}\n"]}
@@ -80,10 +80,10 @@ const InternalTable = React.forwardRef((_a, ref) => {
80
80
  getLoadingStatus,
81
81
  getExpandableItemProps,
82
82
  });
83
- const [containerWidth, wrapperMeasureRef] = useContainerQuery(rect => rect.contentBoxWidth);
83
+ const [containerWidth, wrapperMeasureRef] = useContainerQuery(rect => rect.borderBoxWidth);
84
84
  const wrapperMeasureRefObject = useRef(null);
85
85
  const wrapperMeasureMergedRef = useMergeRefs(wrapperMeasureRef, wrapperMeasureRefObject);
86
- const [tableWidth, tableMeasureRef] = useContainerQuery(rect => rect.contentBoxWidth);
86
+ const [tableWidth, tableMeasureRef] = useContainerQuery(rect => rect.borderBoxWidth);
87
87
  const tableRefObject = useRef(null);
88
88
  const secondaryWrapperRef = React.useRef(null);
89
89
  const theadRef = useRef(null);