@cloudscape-design/components 3.0.1405 → 3.0.1407

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 (303) hide show
  1. package/alert/styles.css.js +27 -27
  2. package/alert/styles.scoped.css +67 -116
  3. package/alert/styles.selectors.js +27 -27
  4. package/app-layout/visual-refresh-toolbar/skeleton/skeleton-parts.js +6 -6
  5. package/app-layout/visual-refresh-toolbar/skeleton/skeleton-parts.js.map +1 -1
  6. package/autosuggest/internal.d.ts.map +1 -1
  7. package/autosuggest/internal.js +10 -1
  8. package/autosuggest/internal.js.map +1 -1
  9. package/autosuggest/options-list.js +1 -1
  10. package/autosuggest/options-list.js.map +1 -1
  11. package/badge/styles.css.js +10 -10
  12. package/badge/styles.scoped.css +55 -83
  13. package/badge/styles.selectors.js +10 -10
  14. package/button/styles.css.js +24 -24
  15. package/button/styles.scoped.css +356 -405
  16. package/button/styles.selectors.js +24 -24
  17. package/button-dropdown/filter.d.ts +1 -1
  18. package/button-dropdown/filter.d.ts.map +1 -1
  19. package/checkbox/internal.d.ts +0 -2
  20. package/checkbox/internal.d.ts.map +1 -1
  21. package/checkbox/internal.js +1 -1
  22. package/checkbox/internal.js.map +1 -1
  23. package/checkbox/styles.css.js +3 -3
  24. package/checkbox/styles.scoped.css +16 -28
  25. package/checkbox/styles.selectors.js +3 -3
  26. package/{internal/components/control-group → control-group}/index.d.ts +0 -3
  27. package/control-group/index.d.ts.map +1 -0
  28. package/control-group/index.js +19 -0
  29. package/control-group/index.js.map +1 -0
  30. package/{internal/components/control-group → control-group}/interfaces.d.ts +7 -7
  31. package/control-group/interfaces.d.ts.map +1 -0
  32. package/control-group/interfaces.js.map +1 -0
  33. package/control-group/internal.d.ts +12 -0
  34. package/control-group/internal.d.ts.map +1 -0
  35. package/{internal/components/control-group/index.js → control-group/internal.js} +43 -13
  36. package/control-group/internal.js.map +1 -0
  37. package/control-group/styles.css.js +32 -0
  38. package/{internal/components/control-group → control-group}/styles.scoped.css +51 -20
  39. package/control-group/styles.selectors.js +33 -0
  40. package/control-group/test-classes/styles.css.js +9 -0
  41. package/{internal/components/control-group → control-group}/test-classes/styles.scoped.css +4 -4
  42. package/control-group/test-classes/styles.selectors.js +10 -0
  43. package/dropdown/styles.css.js +20 -20
  44. package/dropdown/styles.scoped.css +55 -63
  45. package/dropdown/styles.selectors.js +20 -20
  46. package/expandable-section/expandable-section-header.d.ts +3 -1
  47. package/expandable-section/expandable-section-header.d.ts.map +1 -1
  48. package/expandable-section/expandable-section-header.js +11 -9
  49. package/expandable-section/expandable-section-header.js.map +1 -1
  50. package/expandable-section/internal.d.ts +7 -0
  51. package/expandable-section/internal.d.ts.map +1 -1
  52. package/expandable-section/internal.js +2 -2
  53. package/expandable-section/internal.js.map +1 -1
  54. package/expandable-section/styles.css.js +46 -44
  55. package/expandable-section/styles.scoped.css +98 -89
  56. package/expandable-section/styles.selectors.js +46 -44
  57. package/file-token-group/styles.css.js +23 -23
  58. package/file-token-group/styles.scoped.css +35 -35
  59. package/file-token-group/styles.selectors.js +23 -23
  60. package/form-field/interfaces.d.ts +2 -2
  61. package/form-field/interfaces.js.map +1 -1
  62. package/index.d.ts +1 -0
  63. package/index.d.ts.map +1 -1
  64. package/index.js +1 -0
  65. package/index.js.map +1 -1
  66. package/input/index.d.ts.map +1 -1
  67. package/input/index.js +2 -1
  68. package/input/index.js.map +1 -1
  69. package/input/internal.d.ts +8 -1
  70. package/input/internal.d.ts.map +1 -1
  71. package/input/internal.js +16 -8
  72. package/input/internal.js.map +1 -1
  73. package/input/styles.css.js +44 -37
  74. package/input/styles.scoped.css +212 -95
  75. package/input/styles.selectors.js +44 -37
  76. package/internal/base-component/styles.scoped.css +1 -1
  77. package/internal/base-theme/styles.scoped.css +6 -1
  78. package/internal/components/abstract-switch/index.d.ts +0 -4
  79. package/internal/components/abstract-switch/index.d.ts.map +1 -1
  80. package/internal/components/abstract-switch/index.js +3 -3
  81. package/internal/components/abstract-switch/index.js.map +1 -1
  82. package/internal/components/abstract-switch/styles.css.js +13 -13
  83. package/internal/components/abstract-switch/styles.scoped.css +23 -23
  84. package/internal/components/abstract-switch/styles.selectors.js +13 -13
  85. package/internal/components/autosuggest-input/index.d.ts.map +1 -1
  86. package/internal/components/autosuggest-input/index.js +25 -24
  87. package/internal/components/autosuggest-input/index.js.map +1 -1
  88. package/internal/components/autosuggest-input/styles.css.js +33 -27
  89. package/internal/components/autosuggest-input/styles.scoped.css +133 -38
  90. package/internal/components/autosuggest-input/styles.selectors.js +33 -27
  91. package/internal/components/button-trigger/index.js +2 -2
  92. package/internal/components/button-trigger/index.js.map +1 -1
  93. package/internal/components/button-trigger/styles.css.js +29 -23
  94. package/internal/components/button-trigger/styles.scoped.css +143 -48
  95. package/internal/components/button-trigger/styles.selectors.js +29 -23
  96. package/internal/components/checkbox-icon/styles.css.js +9 -9
  97. package/internal/components/checkbox-icon/styles.scoped.css +15 -15
  98. package/internal/components/checkbox-icon/styles.selectors.js +9 -9
  99. package/internal/components/drag-handle/hooks/interfaces.d.ts +1 -0
  100. package/internal/components/drag-handle/hooks/interfaces.d.ts.map +1 -1
  101. package/internal/components/drag-handle/hooks/interfaces.js.map +1 -1
  102. package/internal/components/drag-handle/hooks/use-drag-handle-interaction-state.d.ts.map +1 -1
  103. package/internal/components/drag-handle/hooks/use-drag-handle-interaction-state.js +9 -1
  104. package/internal/components/drag-handle/hooks/use-drag-handle-interaction-state.js.map +1 -1
  105. package/internal/components/listbox/parts/common.d.ts.map +1 -0
  106. package/internal/components/listbox/parts/common.js.map +1 -0
  107. package/{select/utils → internal/components/listbox/parts}/get-item-props.d.ts +1 -1
  108. package/internal/components/listbox/parts/get-item-props.d.ts.map +1 -0
  109. package/{select/utils → internal/components/listbox/parts}/get-item-props.js +1 -1
  110. package/internal/components/listbox/parts/get-item-props.js.map +1 -0
  111. package/internal/components/listbox/parts/option-group.d.ts.map +1 -0
  112. package/{select → internal/components/listbox}/parts/option-group.js +1 -1
  113. package/internal/components/listbox/parts/option-group.js.map +1 -0
  114. package/{select/utils → internal/components/listbox/parts}/render-options.d.ts +5 -5
  115. package/internal/components/listbox/parts/render-options.d.ts.map +1 -0
  116. package/{select/utils → internal/components/listbox/parts}/render-options.js +4 -4
  117. package/internal/components/listbox/parts/render-options.js.map +1 -0
  118. package/internal/components/listbox/parts/scroll-to-index.d.ts.map +1 -0
  119. package/internal/components/listbox/parts/scroll-to-index.js.map +1 -0
  120. package/{select/utils → internal/components/listbox}/use-announcement.d.ts +2 -2
  121. package/internal/components/listbox/use-announcement.d.ts.map +1 -0
  122. package/{select/utils → internal/components/listbox}/use-announcement.js +1 -1
  123. package/internal/components/listbox/use-announcement.js.map +1 -0
  124. package/internal/components/listbox/utils/check-option-value-field.d.ts.map +1 -0
  125. package/{select → internal/components/listbox}/utils/check-option-value-field.js +1 -1
  126. package/internal/components/listbox/utils/check-option-value-field.js.map +1 -0
  127. package/{select → internal/components/listbox}/utils/connect-options.d.ts +2 -2
  128. package/internal/components/listbox/utils/connect-options.d.ts.map +1 -0
  129. package/internal/components/listbox/utils/connect-options.js.map +1 -0
  130. package/internal/components/option/index.d.ts +2 -0
  131. package/internal/components/option/index.d.ts.map +1 -1
  132. package/internal/components/option/index.js +4 -4
  133. package/internal/components/option/index.js.map +1 -1
  134. package/internal/components/option/interfaces.d.ts +2 -0
  135. package/internal/components/option/interfaces.d.ts.map +1 -1
  136. package/internal/components/option/interfaces.js.map +1 -1
  137. package/internal/components/option/option-parts.d.ts +3 -1
  138. package/internal/components/option/option-parts.d.ts.map +1 -1
  139. package/internal/components/option/option-parts.js +1 -1
  140. package/internal/components/option/option-parts.js.map +1 -1
  141. package/internal/components/option/styles.css.js +18 -17
  142. package/internal/components/option/styles.scoped.css +52 -29
  143. package/internal/components/option/styles.selectors.js +18 -17
  144. package/internal/components/radio-button/styles.css.js +7 -7
  145. package/internal/components/radio-button/styles.scoped.css +27 -29
  146. package/internal/components/radio-button/styles.selectors.js +7 -7
  147. package/internal/context/control-group-context.d.ts +7 -0
  148. package/internal/context/control-group-context.d.ts.map +1 -1
  149. package/internal/context/control-group-context.js +4 -1
  150. package/internal/context/control-group-context.js.map +1 -1
  151. package/internal/environment.js +2 -2
  152. package/internal/environment.json +2 -2
  153. package/internal/generated/styles/tokens.d.ts +2 -1
  154. package/internal/generated/styles/tokens.js +2 -1
  155. package/internal/generated/theming/index.cjs +36 -3
  156. package/internal/generated/theming/index.d.cts +9 -0
  157. package/internal/generated/theming/index.d.ts +9 -0
  158. package/internal/generated/theming/index.js +36 -3
  159. package/internal/grouped-control/dev-warnings.d.ts +46 -0
  160. package/internal/grouped-control/dev-warnings.d.ts.map +1 -0
  161. package/internal/grouped-control/dev-warnings.js +29 -0
  162. package/internal/grouped-control/dev-warnings.js.map +1 -0
  163. package/internal/grouped-control/grouped-control-styles.d.ts +14 -0
  164. package/internal/grouped-control/grouped-control-styles.d.ts.map +1 -0
  165. package/internal/grouped-control/grouped-control-styles.js +17 -0
  166. package/internal/grouped-control/grouped-control-styles.js.map +1 -0
  167. package/internal/manifest.json +1 -1
  168. package/link/styles.css.js +21 -21
  169. package/link/styles.scoped.css +133 -145
  170. package/link/styles.selectors.js +21 -21
  171. package/manifest.json +2 -2
  172. package/multiselect/interfaces.d.ts +1 -0
  173. package/multiselect/interfaces.d.ts.map +1 -1
  174. package/multiselect/interfaces.js.map +1 -1
  175. package/multiselect/internal.d.ts.map +1 -1
  176. package/multiselect/internal.js +11 -1
  177. package/multiselect/internal.js.map +1 -1
  178. package/multiselect/use-multiselect.d.ts.map +1 -1
  179. package/multiselect/use-multiselect.js +3 -3
  180. package/multiselect/use-multiselect.js.map +1 -1
  181. package/package.json +4 -1
  182. package/prompt-input/components/menu-dropdown.js +1 -1
  183. package/prompt-input/components/menu-dropdown.js.map +1 -1
  184. package/prompt-input/styles.css.js +26 -26
  185. package/prompt-input/styles.scoped.css +64 -64
  186. package/prompt-input/styles.selectors.js +26 -26
  187. package/radio-button/styles.css.js +1 -1
  188. package/radio-button/styles.scoped.css +5 -13
  189. package/radio-button/styles.selectors.js +1 -1
  190. package/segmented-control/internal-segmented-control.d.ts.map +1 -1
  191. package/segmented-control/internal-segmented-control.js +3 -3
  192. package/segmented-control/internal-segmented-control.js.map +1 -1
  193. package/segmented-control/internal.js +2 -2
  194. package/segmented-control/internal.js.map +1 -1
  195. package/segmented-control/styles.css.js +31 -27
  196. package/segmented-control/styles.scoped.css +136 -49
  197. package/segmented-control/styles.selectors.js +31 -27
  198. package/select/interfaces.d.ts +14 -0
  199. package/select/interfaces.d.ts.map +1 -1
  200. package/select/interfaces.js.map +1 -1
  201. package/select/internal.d.ts.map +1 -1
  202. package/select/internal.js +11 -2
  203. package/select/internal.js.map +1 -1
  204. package/select/parts/filter.d.ts +1 -1
  205. package/select/parts/filter.d.ts.map +1 -1
  206. package/select/parts/plain-list.d.ts.map +1 -1
  207. package/select/parts/plain-list.js +3 -3
  208. package/select/parts/plain-list.js.map +1 -1
  209. package/select/parts/virtual-list.js +3 -3
  210. package/select/parts/virtual-list.js.map +1 -1
  211. package/select/utils/use-select.d.ts.map +1 -1
  212. package/select/utils/use-select.js +1 -1
  213. package/select/utils/use-select.js.map +1 -1
  214. package/side-navigation/interfaces.d.ts +6 -0
  215. package/side-navigation/interfaces.d.ts.map +1 -1
  216. package/side-navigation/interfaces.js.map +1 -1
  217. package/side-navigation/parts.js +14 -4
  218. package/side-navigation/parts.js.map +1 -1
  219. package/side-navigation/styles.css.js +65 -64
  220. package/side-navigation/styles.scoped.css +119 -111
  221. package/side-navigation/styles.selectors.js +65 -64
  222. package/styling/alert.scss +68 -0
  223. package/styling/badge.scss +55 -0
  224. package/styling/button.scss +59 -0
  225. package/styling/checkbox.scss +23 -0
  226. package/styling/dropdown.scss +31 -0
  227. package/styling/input.scss +106 -0
  228. package/styling/link.scss +29 -0
  229. package/styling/radio-button.scss +23 -0
  230. package/styling/textarea.scss +67 -0
  231. package/styling/toggle.scss +21 -0
  232. package/test-utils/dom/{internal/control-group.js → control-group/index.js} +2 -2
  233. package/test-utils/dom/control-group/index.js.map +1 -0
  234. package/test-utils/dom/index.d.ts +28 -0
  235. package/test-utils/dom/index.js +22 -3
  236. package/test-utils/dom/index.js.map +1 -1
  237. package/test-utils/selectors/{internal/control-group.js → control-group/index.js} +2 -2
  238. package/test-utils/selectors/control-group/index.js.map +1 -0
  239. package/test-utils/selectors/index.d.ts +18 -0
  240. package/test-utils/selectors/index.js +17 -3
  241. package/test-utils/selectors/index.js.map +1 -1
  242. package/textarea/index.d.ts.map +1 -1
  243. package/textarea/index.js +2 -1
  244. package/textarea/index.js.map +1 -1
  245. package/textarea/styles.css.js +9 -9
  246. package/textarea/styles.scoped.css +51 -29
  247. package/textarea/styles.selectors.js +9 -9
  248. package/toggle/internal.d.ts +0 -2
  249. package/toggle/internal.d.ts.map +1 -1
  250. package/toggle/internal.js +1 -1
  251. package/toggle/internal.js.map +1 -1
  252. package/toggle/styles.css.js +10 -10
  253. package/toggle/styles.scoped.css +38 -50
  254. package/toggle/styles.selectors.js +10 -10
  255. package/token/interfaces.d.ts +9 -6
  256. package/token/interfaces.d.ts.map +1 -1
  257. package/token/interfaces.js.map +1 -1
  258. package/token/internal.d.ts.map +1 -1
  259. package/token/internal.js +22 -17
  260. package/token/internal.js.map +1 -1
  261. package/token/styles.css.js +14 -14
  262. package/token/styles.scoped.css +28 -27
  263. package/token/styles.selectors.js +14 -14
  264. package/internal/components/control-group/grouped-control-styles.d.ts +0 -13
  265. package/internal/components/control-group/grouped-control-styles.d.ts.map +0 -1
  266. package/internal/components/control-group/grouped-control-styles.js +0 -15
  267. package/internal/components/control-group/grouped-control-styles.js.map +0 -1
  268. package/internal/components/control-group/index.d.ts.map +0 -1
  269. package/internal/components/control-group/index.js.map +0 -1
  270. package/internal/components/control-group/interfaces.d.ts.map +0 -1
  271. package/internal/components/control-group/interfaces.js.map +0 -1
  272. package/internal/components/control-group/styles.css.js +0 -25
  273. package/internal/components/control-group/styles.selectors.js +0 -26
  274. package/internal/components/control-group/test-classes/styles.css.js +0 -9
  275. package/internal/components/control-group/test-classes/styles.selectors.js +0 -10
  276. package/select/parts/common.d.ts.map +0 -1
  277. package/select/parts/common.js.map +0 -1
  278. package/select/parts/option-group.d.ts.map +0 -1
  279. package/select/parts/option-group.js.map +0 -1
  280. package/select/utils/check-option-value-field.d.ts.map +0 -1
  281. package/select/utils/check-option-value-field.js.map +0 -1
  282. package/select/utils/connect-options.d.ts.map +0 -1
  283. package/select/utils/connect-options.js.map +0 -1
  284. package/select/utils/get-item-props.d.ts.map +0 -1
  285. package/select/utils/get-item-props.js.map +0 -1
  286. package/select/utils/render-options.d.ts.map +0 -1
  287. package/select/utils/render-options.js.map +0 -1
  288. package/select/utils/scroll-to-index.d.ts.map +0 -1
  289. package/select/utils/scroll-to-index.js.map +0 -1
  290. package/select/utils/use-announcement.d.ts.map +0 -1
  291. package/select/utils/use-announcement.js.map +0 -1
  292. package/test-utils/dom/internal/control-group.js.map +0 -1
  293. package/test-utils/selectors/internal/control-group.js.map +0 -1
  294. /package/{internal/components/control-group → control-group}/interfaces.js +0 -0
  295. /package/{select → internal/components/listbox}/parts/common.d.ts +0 -0
  296. /package/{select → internal/components/listbox}/parts/common.js +0 -0
  297. /package/{select → internal/components/listbox}/parts/option-group.d.ts +0 -0
  298. /package/{select/utils → internal/components/listbox/parts}/scroll-to-index.d.ts +0 -0
  299. /package/{select/utils → internal/components/listbox/parts}/scroll-to-index.js +0 -0
  300. /package/{select → internal/components/listbox}/utils/check-option-value-field.d.ts +0 -0
  301. /package/{select → internal/components/listbox}/utils/connect-options.js +0 -0
  302. /package/test-utils/dom/{internal/control-group.d.ts → control-group/index.d.ts} +0 -0
  303. /package/test-utils/selectors/{internal/control-group.d.ts → control-group/index.d.ts} +0 -0
@@ -1,32 +1,36 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "segment": "awsui_segment_8cbea_g1xcc_17",
5
- "full-width": "awsui_full-width_8cbea_g1xcc_44",
6
- "refresh": "awsui_refresh_8cbea_g1xcc_47",
7
- "disabled": "awsui_disabled_8cbea_g1xcc_53",
8
- "selected": "awsui_selected_8cbea_g1xcc_110",
9
- "icon": "awsui_icon_8cbea_g1xcc_121",
10
- "with-text": "awsui_with-text_8cbea_g1xcc_125",
11
- "with-no-text": "awsui_with-no-text_8cbea_g1xcc_131",
12
- "root": "awsui_root_8cbea_g1xcc_136",
13
- "segment-part": "awsui_segment-part_8cbea_g1xcc_168",
14
- "grouped": "awsui_grouped_8cbea_g1xcc_189",
15
- "grouped-only": "awsui_grouped-only_8cbea_g1xcc_189",
16
- "grouped-vertical": "awsui_grouped-vertical_8cbea_g1xcc_193",
17
- "grouped-horizontal-first": "awsui_grouped-horizontal-first_8cbea_g1xcc_204",
18
- "grouped-horizontal-middle": "awsui_grouped-horizontal-middle_8cbea_g1xcc_208",
19
- "grouped-horizontal-last": "awsui_grouped-horizontal-last_8cbea_g1xcc_214",
20
- "grouped-vertical-first": "awsui_grouped-vertical-first_8cbea_g1xcc_218",
21
- "grouped-vertical-middle": "awsui_grouped-vertical-middle_8cbea_g1xcc_222",
22
- "grouped-vertical-last": "awsui_grouped-vertical-last_8cbea_g1xcc_228",
23
- "grouped-with-action": "awsui_grouped-with-action_8cbea_g1xcc_232",
24
- "select": "awsui_select_8cbea_g1xcc_110",
25
- "segment-count-2": "awsui_segment-count-2_8cbea_g1xcc_249",
26
- "segment-count-3": "awsui_segment-count-3_8cbea_g1xcc_256",
27
- "segment-count-4": "awsui_segment-count-4_8cbea_g1xcc_263",
28
- "segment-count-5": "awsui_segment-count-5_8cbea_g1xcc_270",
29
- "segment-count-6": "awsui_segment-count-6_8cbea_g1xcc_277",
30
- "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_g1xcc_284"
4
+ "segment": "awsui_segment_8cbea_s2fjj_17",
5
+ "full-width": "awsui_full-width_8cbea_s2fjj_44",
6
+ "refresh": "awsui_refresh_8cbea_s2fjj_47",
7
+ "disabled": "awsui_disabled_8cbea_s2fjj_53",
8
+ "selected": "awsui_selected_8cbea_s2fjj_110",
9
+ "icon": "awsui_icon_8cbea_s2fjj_122",
10
+ "with-text": "awsui_with-text_8cbea_s2fjj_126",
11
+ "with-no-text": "awsui_with-no-text_8cbea_s2fjj_132",
12
+ "root": "awsui_root_8cbea_s2fjj_137",
13
+ "segment-part": "awsui_segment-part_8cbea_s2fjj_169",
14
+ "grouped": "awsui_grouped_8cbea_s2fjj_190",
15
+ "grouped-only": "awsui_grouped-only_8cbea_s2fjj_190",
16
+ "grouped-vertical": "awsui_grouped-vertical_8cbea_s2fjj_194",
17
+ "grouped-horizontal-first": "awsui_grouped-horizontal-first_8cbea_s2fjj_206",
18
+ "grouped-horizontal-middle": "awsui_grouped-horizontal-middle_8cbea_s2fjj_210",
19
+ "grouped-horizontal-last": "awsui_grouped-horizontal-last_8cbea_s2fjj_216",
20
+ "grouped-vertical-first": "awsui_grouped-vertical-first_8cbea_s2fjj_220",
21
+ "grouped-vertical-middle": "awsui_grouped-vertical-middle_8cbea_s2fjj_224",
22
+ "grouped-vertical-last": "awsui_grouped-vertical-last_8cbea_s2fjj_230",
23
+ "grouped-with-action": "awsui_grouped-with-action_8cbea_s2fjj_234",
24
+ "grouped-with-error": "awsui_grouped-with-error_8cbea_s2fjj_238",
25
+ "grouped-horizontal-only": "awsui_grouped-horizontal-only_8cbea_s2fjj_266",
26
+ "grouped-vertical-only": "awsui_grouped-vertical-only_8cbea_s2fjj_266",
27
+ "grouped-with-warning": "awsui_grouped-with-warning_8cbea_s2fjj_272",
28
+ "select": "awsui_select_8cbea_s2fjj_110",
29
+ "segment-count-2": "awsui_segment-count-2_8cbea_s2fjj_336",
30
+ "segment-count-3": "awsui_segment-count-3_8cbea_s2fjj_343",
31
+ "segment-count-4": "awsui_segment-count-4_8cbea_s2fjj_350",
32
+ "segment-count-5": "awsui_segment-count-5_8cbea_s2fjj_357",
33
+ "segment-count-6": "awsui_segment-count-6_8cbea_s2fjj_364",
34
+ "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_s2fjj_371"
31
35
  };
32
36
 
@@ -14,7 +14,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
14
14
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
15
15
  SPDX-License-Identifier: Apache-2.0
16
16
  */
17
- .awsui_segment_8cbea_g1xcc_17:not(#\9) {
17
+ .awsui_segment_8cbea_s2fjj_17:not(#\9) {
18
18
  font-size: var(--font-size-body-m-diae7s, 14px);
19
19
  line-height: var(--line-height-body-m-18p63n, 20px);
20
20
  word-wrap: break-word;
@@ -41,27 +41,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
41
41
  border-block: none;
42
42
  --awsui-style-focus-ring-box-shadow-ka4djm: 0 0 0 var(--awsui-style-focus-ring-border-width-ka4djm, 2px) var(--awsui-style-focus-ring-border-color-ka4djm, var(--color-border-item-focused-sb1fs0, #006ce0));
43
43
  }
44
- .awsui_segment_8cbea_g1xcc_17.awsui_full-width_8cbea_g1xcc_44:not(#\9) {
44
+ .awsui_segment_8cbea_s2fjj_17.awsui_full-width_8cbea_s2fjj_44:not(#\9) {
45
45
  justify-content: center;
46
46
  }
47
- .awsui_segment_8cbea_g1xcc_17:not(#\9):not(.awsui_refresh_8cbea_g1xcc_47) {
47
+ .awsui_segment_8cbea_s2fjj_17:not(#\9):not(.awsui_refresh_8cbea_s2fjj_47) {
48
48
  block-size: calc(100% - var(--space-static-xxs-0tl528, 4px) - 2 * var(--border-width-field-f7slp9, 1px));
49
49
  }
50
- .awsui_segment_8cbea_g1xcc_17:not(#\9):focus {
50
+ .awsui_segment_8cbea_s2fjj_17:not(#\9):focus {
51
51
  outline: none;
52
52
  }
53
- .awsui_segment_8cbea_g1xcc_17.awsui_disabled_8cbea_g1xcc_53:not(#\9) {
53
+ .awsui_segment_8cbea_s2fjj_17.awsui_disabled_8cbea_s2fjj_53:not(#\9) {
54
54
  background: var(--awsui-style-background-disabled-ka4djm, var(--color-background-segment-disabled-lpxsme, #ffffff));
55
55
  color: var(--awsui-style-color-disabled-ka4djm, var(--color-text-interactive-disabled-ql7025, #b4b4bb));
56
56
  }
57
- body[data-awsui-focus-visible=true] .awsui_segment_8cbea_g1xcc_17:not(#\9):focus {
57
+ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_s2fjj_17:not(#\9):focus {
58
58
  position: relative;
59
59
  }
60
- body[data-awsui-focus-visible=true] .awsui_segment_8cbea_g1xcc_17:not(#\9):focus {
60
+ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_s2fjj_17:not(#\9):focus {
61
61
  outline: 2px dotted transparent;
62
62
  outline-offset: calc(var(--space-segmented-control-focus-outline-gutter-d0db68, 6px) - 1px);
63
63
  }
64
- body[data-awsui-focus-visible=true] .awsui_segment_8cbea_g1xcc_17:not(#\9):focus::before {
64
+ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_s2fjj_17:not(#\9):focus::before {
65
65
  content: " ";
66
66
  display: block;
67
67
  position: absolute;
@@ -76,7 +76,7 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_g1xcc_17:not(#\9):focus
76
76
  box-shadow: var(--awsui-style-focus-ring-box-shadow-ka4djm);
77
77
  z-index: 1;
78
78
  }
79
- .awsui_segment_8cbea_g1xcc_17:not(#\9):not(:last-child)::after {
79
+ .awsui_segment_8cbea_s2fjj_17:not(#\9):not(:last-child)::after {
80
80
  content: "";
81
81
  position: absolute;
82
82
  inset-inline-end: calc(-1 * (var(--space-static-xxs-0tl528, 4px) + 1px));
@@ -86,54 +86,55 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_g1xcc_17:not(#\9):focus
86
86
  background: var(--color-border-segment-divider-2cvor7, #8c8c94);
87
87
  z-index: 1;
88
88
  }
89
- .awsui_segment_8cbea_g1xcc_17:not(#\9):not(.awsui_refresh_8cbea_g1xcc_47):not(:last-child)::after {
89
+ .awsui_segment_8cbea_s2fjj_17:not(#\9):not(.awsui_refresh_8cbea_s2fjj_47):not(:last-child)::after {
90
90
  inset-inline-end: calc(-1 * var(--space-static-xxs-0tl528, 4px));
91
91
  }
92
- .awsui_segment_8cbea_g1xcc_17:not(#\9):nth-child(1) {
92
+ .awsui_segment_8cbea_s2fjj_17:not(#\9):nth-child(1) {
93
93
  grid-column: 1;
94
94
  }
95
- .awsui_segment_8cbea_g1xcc_17:not(#\9):nth-child(2) {
95
+ .awsui_segment_8cbea_s2fjj_17:not(#\9):nth-child(2) {
96
96
  grid-column: 2;
97
97
  }
98
- .awsui_segment_8cbea_g1xcc_17:not(#\9):nth-child(3) {
98
+ .awsui_segment_8cbea_s2fjj_17:not(#\9):nth-child(3) {
99
99
  grid-column: 3;
100
100
  }
101
- .awsui_segment_8cbea_g1xcc_17:not(#\9):nth-child(4) {
101
+ .awsui_segment_8cbea_s2fjj_17:not(#\9):nth-child(4) {
102
102
  grid-column: 4;
103
103
  }
104
- .awsui_segment_8cbea_g1xcc_17:not(#\9):nth-child(5) {
104
+ .awsui_segment_8cbea_s2fjj_17:not(#\9):nth-child(5) {
105
105
  grid-column: 5;
106
106
  }
107
- .awsui_segment_8cbea_g1xcc_17:not(#\9):nth-child(6) {
107
+ .awsui_segment_8cbea_s2fjj_17:not(#\9):nth-child(6) {
108
108
  grid-column: 6;
109
109
  }
110
- .awsui_segment_8cbea_g1xcc_17.awsui_selected_8cbea_g1xcc_110:not(#\9) {
110
+ .awsui_segment_8cbea_s2fjj_17.awsui_selected_8cbea_s2fjj_110:not(#\9) {
111
111
  background: var(--awsui-style-background-active-ka4djm, var(--color-background-segment-active-zokfzb, #006ce0));
112
112
  color: var(--awsui-style-color-active-ka4djm, var(--color-text-segment-active-zz30bm, #ffffff));
113
- box-shadow: inset 0 0 0 var(--awsui-internal-style-segment-selected-border-width, 0) var(--color-border-segment-active-kluca0, #424650);
113
+ box-shadow: inset 0 0 0 var(--awsui-internal-style-segment-border-width, 0) var(--color-border-segment-active-kluca0, #424650);
114
114
  }
115
- .awsui_segment_8cbea_g1xcc_17:not(#\9):hover:not(.awsui_selected_8cbea_g1xcc_110):not(.awsui_disabled_8cbea_g1xcc_53):not(:focus) {
115
+ .awsui_segment_8cbea_s2fjj_17:not(#\9):hover:not(.awsui_selected_8cbea_s2fjj_110):not(.awsui_disabled_8cbea_s2fjj_53):not(:focus) {
116
116
  background: var(--awsui-style-background-hover-ka4djm, var(--color-background-segment-hover-jp52u7, #f0fbff));
117
117
  color: var(--awsui-style-color-hover-ka4djm, var(--color-text-segment-hover-9jhbcn, #002b66));
118
+ box-shadow: inset 0 0 0 var(--awsui-internal-style-segment-border-width, 0) var(--color-border-segment-hover-4qouk0, #424650);
118
119
  cursor: pointer;
119
120
  }
120
121
 
121
- .awsui_icon_8cbea_g1xcc_121:not(#\9) {
122
+ .awsui_icon_8cbea_s2fjj_122:not(#\9) {
122
123
  /* used in test-utils */
123
124
  }
124
125
 
125
- .awsui_with-text_8cbea_g1xcc_125:not(#\9) {
126
+ .awsui_with-text_8cbea_s2fjj_126:not(#\9) {
126
127
  position: relative;
127
128
  inset-inline-start: calc(-1 * var(--space-xxs-burh9x, 4px));
128
129
  margin-inline-end: var(--space-xxs-burh9x, 4px);
129
130
  }
130
131
 
131
- .awsui_with-no-text_8cbea_g1xcc_131:not(#\9) {
132
+ .awsui_with-no-text_8cbea_s2fjj_132:not(#\9) {
132
133
  margin-inline: auto;
133
134
  inset-inline: 0;
134
135
  }
135
136
 
136
- .awsui_root_8cbea_g1xcc_136:not(#\9) {
137
+ .awsui_root_8cbea_s2fjj_137:not(#\9) {
137
138
  border-collapse: separate;
138
139
  border-spacing: 0;
139
140
  box-sizing: border-box;
@@ -165,7 +166,7 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_g1xcc_17:not(#\9):focus
165
166
  -moz-osx-font-smoothing: auto;
166
167
  }
167
168
 
168
- .awsui_segment-part_8cbea_g1xcc_168:not(#\9) {
169
+ .awsui_segment-part_8cbea_s2fjj_169:not(#\9) {
169
170
  display: inline-grid;
170
171
  border-inline: solid var(--border-width-field-f7slp9, 1px) var(--color-border-segment-wrapper-dmaks9, #8c8c94);
171
172
  border-block: solid var(--border-width-field-f7slp9, 1px) var(--color-border-segment-wrapper-dmaks9, #8c8c94);
@@ -180,107 +181,193 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_g1xcc_17:not(#\9):focus
180
181
  padding-inline: calc(var(--space-static-xxs-0tl528, 4px) - var(--border-width-field-f7slp9, 1px));
181
182
  gap: calc(var(--space-static-xxs-0tl528, 4px) * 2 + 1px);
182
183
  }
183
- .awsui_segment-part_8cbea_g1xcc_168:not(#\9):not(.awsui_refresh_8cbea_g1xcc_47) {
184
+ .awsui_segment-part_8cbea_s2fjj_169:not(#\9):not(.awsui_refresh_8cbea_s2fjj_47) {
184
185
  padding-inline: calc(var(--space-static-xxxs-fjb9xs, 2px) + var(--border-width-field-f7slp9, 1px));
185
186
  padding-block: 0;
186
187
  gap: calc(var(--space-static-xxs-0tl528, 4px) * 2 - 1px);
187
188
  }
188
189
  @media (max-width: 688px) {
189
- .awsui_segment-part_8cbea_g1xcc_168:not(#\9):not(.awsui_grouped_8cbea_g1xcc_189), .awsui_segment-part_8cbea_g1xcc_168.awsui_grouped-only_8cbea_g1xcc_189:not(#\9) {
190
+ .awsui_segment-part_8cbea_s2fjj_169:not(#\9):not(.awsui_grouped_8cbea_s2fjj_190), .awsui_segment-part_8cbea_s2fjj_169.awsui_grouped-only_8cbea_s2fjj_190:not(#\9) {
190
191
  display: none;
191
192
  }
192
193
  }
193
- .awsui_segment-part_8cbea_g1xcc_168.awsui_grouped_8cbea_g1xcc_189.awsui_grouped-vertical_8cbea_g1xcc_193:not(#\9) {
194
+ .awsui_segment-part_8cbea_s2fjj_169.awsui_grouped_8cbea_s2fjj_190.awsui_grouped-vertical_8cbea_s2fjj_194:not(#\9) {
194
195
  inline-size: 100%;
195
196
  box-sizing: border-box;
196
197
  }
197
198
 
198
- .awsui_grouped_8cbea_g1xcc_189:not(#\9) {
199
+ .awsui_grouped_8cbea_s2fjj_190:not(#\9) {
199
200
  border-start-start-radius: var(--border-radius-input-kb6rx2, 8px);
200
201
  border-start-end-radius: var(--border-radius-input-kb6rx2, 8px);
201
202
  border-end-start-radius: var(--border-radius-input-kb6rx2, 8px);
202
203
  border-end-end-radius: var(--border-radius-input-kb6rx2, 8px);
204
+ border-color: var(--color-border-control-group-default-0r3ak3, #8c8c94);
203
205
  }
204
- .awsui_grouped-horizontal-first_8cbea_g1xcc_204:not(#\9) {
206
+ .awsui_grouped-horizontal-first_8cbea_s2fjj_206:not(#\9) {
205
207
  border-start-end-radius: 0;
206
208
  border-end-end-radius: 0;
207
209
  }
208
- .awsui_grouped-horizontal-middle_8cbea_g1xcc_208:not(#\9) {
210
+ .awsui_grouped-horizontal-middle_8cbea_s2fjj_210:not(#\9) {
209
211
  border-start-start-radius: 0;
210
212
  border-start-end-radius: 0;
211
213
  border-end-start-radius: 0;
212
214
  border-end-end-radius: 0;
213
215
  }
214
- .awsui_grouped-horizontal-last_8cbea_g1xcc_214:not(#\9) {
216
+ .awsui_grouped-horizontal-last_8cbea_s2fjj_216:not(#\9) {
215
217
  border-start-start-radius: 0;
216
218
  border-end-start-radius: 0;
217
219
  }
218
- .awsui_grouped-vertical-first_8cbea_g1xcc_218:not(#\9) {
220
+ .awsui_grouped-vertical-first_8cbea_s2fjj_220:not(#\9) {
219
221
  border-end-start-radius: 0;
220
222
  border-end-end-radius: 0;
221
223
  }
222
- .awsui_grouped-vertical-middle_8cbea_g1xcc_222:not(#\9) {
224
+ .awsui_grouped-vertical-middle_8cbea_s2fjj_224:not(#\9) {
223
225
  border-start-start-radius: 0;
224
226
  border-start-end-radius: 0;
225
227
  border-end-start-radius: 0;
226
228
  border-end-end-radius: 0;
227
229
  }
228
- .awsui_grouped-vertical-last_8cbea_g1xcc_228:not(#\9) {
230
+ .awsui_grouped-vertical-last_8cbea_s2fjj_230:not(#\9) {
229
231
  border-start-start-radius: 0;
230
232
  border-start-end-radius: 0;
231
233
  }
232
- .awsui_grouped-with-action_8cbea_g1xcc_232:not(#\9) {
234
+ .awsui_grouped-with-action_8cbea_s2fjj_234:not(#\9) {
233
235
  border-start-end-radius: 0;
234
236
  border-end-end-radius: 0;
235
237
  }
236
- .awsui_grouped_8cbea_g1xcc_189.awsui_grouped-horizontal-middle_8cbea_g1xcc_208:not(#\9), .awsui_grouped_8cbea_g1xcc_189.awsui_grouped-horizontal-last_8cbea_g1xcc_214:not(#\9) {
238
+ .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-first_8cbea_s2fjj_206:not(#\9), .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-first_8cbea_s2fjj_206:not(#\9):hover, .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-first_8cbea_s2fjj_206:not(#\9):focus {
239
+ border-inline-start-color: var(--color-text-status-error-5dgk9e, #db0000);
240
+ border-block-start-color: var(--color-text-status-error-5dgk9e, #db0000);
241
+ border-block-end-color: var(--color-text-status-error-5dgk9e, #db0000);
242
+ }
243
+ .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-middle_8cbea_s2fjj_210:not(#\9), .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-middle_8cbea_s2fjj_210:not(#\9):hover, .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-middle_8cbea_s2fjj_210:not(#\9):focus {
244
+ border-block-start-color: var(--color-text-status-error-5dgk9e, #db0000);
245
+ border-block-end-color: var(--color-text-status-error-5dgk9e, #db0000);
246
+ }
247
+ .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-last_8cbea_s2fjj_216:not(#\9), .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-last_8cbea_s2fjj_216:not(#\9):hover, .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-last_8cbea_s2fjj_216:not(#\9):focus {
248
+ border-inline-end-color: var(--color-text-status-error-5dgk9e, #db0000);
249
+ border-block-start-color: var(--color-text-status-error-5dgk9e, #db0000);
250
+ border-block-end-color: var(--color-text-status-error-5dgk9e, #db0000);
251
+ }
252
+ .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-first_8cbea_s2fjj_220:not(#\9), .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-first_8cbea_s2fjj_220:not(#\9):hover, .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-first_8cbea_s2fjj_220:not(#\9):focus {
253
+ border-block-start-color: var(--color-text-status-error-5dgk9e, #db0000);
254
+ border-inline-start-color: var(--color-text-status-error-5dgk9e, #db0000);
255
+ border-inline-end-color: var(--color-text-status-error-5dgk9e, #db0000);
256
+ }
257
+ .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-middle_8cbea_s2fjj_224:not(#\9), .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-middle_8cbea_s2fjj_224:not(#\9):hover, .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-middle_8cbea_s2fjj_224:not(#\9):focus {
258
+ border-inline-start-color: var(--color-text-status-error-5dgk9e, #db0000);
259
+ border-inline-end-color: var(--color-text-status-error-5dgk9e, #db0000);
260
+ }
261
+ .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-last_8cbea_s2fjj_230:not(#\9), .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-last_8cbea_s2fjj_230:not(#\9):hover, .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-last_8cbea_s2fjj_230:not(#\9):focus {
262
+ border-block-end-color: var(--color-text-status-error-5dgk9e, #db0000);
263
+ border-inline-start-color: var(--color-text-status-error-5dgk9e, #db0000);
264
+ border-inline-end-color: var(--color-text-status-error-5dgk9e, #db0000);
265
+ }
266
+ .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-only_8cbea_s2fjj_266:not(#\9), .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-only_8cbea_s2fjj_266:not(#\9):hover, .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-only_8cbea_s2fjj_266:not(#\9):focus, .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-only_8cbea_s2fjj_266:not(#\9), .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-only_8cbea_s2fjj_266:not(#\9):hover, .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical-only_8cbea_s2fjj_266:not(#\9):focus {
267
+ border-inline-start-color: var(--color-text-status-error-5dgk9e, #db0000);
268
+ border-inline-end-color: var(--color-text-status-error-5dgk9e, #db0000);
269
+ border-block-start-color: var(--color-text-status-error-5dgk9e, #db0000);
270
+ border-block-end-color: var(--color-text-status-error-5dgk9e, #db0000);
271
+ }
272
+ .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-first_8cbea_s2fjj_206:not(#\9), .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-first_8cbea_s2fjj_206:not(#\9):hover, .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-first_8cbea_s2fjj_206:not(#\9):focus {
273
+ border-inline-start-color: var(--color-text-status-warning-r365u3, #855900);
274
+ border-block-start-color: var(--color-text-status-warning-r365u3, #855900);
275
+ border-block-end-color: var(--color-text-status-warning-r365u3, #855900);
276
+ }
277
+ .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-middle_8cbea_s2fjj_210:not(#\9), .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-middle_8cbea_s2fjj_210:not(#\9):hover, .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-middle_8cbea_s2fjj_210:not(#\9):focus {
278
+ border-block-start-color: var(--color-text-status-warning-r365u3, #855900);
279
+ border-block-end-color: var(--color-text-status-warning-r365u3, #855900);
280
+ }
281
+ .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-last_8cbea_s2fjj_216:not(#\9), .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-last_8cbea_s2fjj_216:not(#\9):hover, .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-last_8cbea_s2fjj_216:not(#\9):focus {
282
+ border-inline-end-color: var(--color-text-status-warning-r365u3, #855900);
283
+ border-block-start-color: var(--color-text-status-warning-r365u3, #855900);
284
+ border-block-end-color: var(--color-text-status-warning-r365u3, #855900);
285
+ }
286
+ .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-first_8cbea_s2fjj_220:not(#\9), .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-first_8cbea_s2fjj_220:not(#\9):hover, .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-first_8cbea_s2fjj_220:not(#\9):focus {
287
+ border-block-start-color: var(--color-text-status-warning-r365u3, #855900);
288
+ border-inline-start-color: var(--color-text-status-warning-r365u3, #855900);
289
+ border-inline-end-color: var(--color-text-status-warning-r365u3, #855900);
290
+ }
291
+ .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-middle_8cbea_s2fjj_224:not(#\9), .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-middle_8cbea_s2fjj_224:not(#\9):hover, .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-middle_8cbea_s2fjj_224:not(#\9):focus {
292
+ border-inline-start-color: var(--color-text-status-warning-r365u3, #855900);
293
+ border-inline-end-color: var(--color-text-status-warning-r365u3, #855900);
294
+ }
295
+ .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-last_8cbea_s2fjj_230:not(#\9), .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-last_8cbea_s2fjj_230:not(#\9):hover, .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-last_8cbea_s2fjj_230:not(#\9):focus {
296
+ border-block-end-color: var(--color-text-status-warning-r365u3, #855900);
297
+ border-inline-start-color: var(--color-text-status-warning-r365u3, #855900);
298
+ border-inline-end-color: var(--color-text-status-warning-r365u3, #855900);
299
+ }
300
+ .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-only_8cbea_s2fjj_266:not(#\9), .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-only_8cbea_s2fjj_266:not(#\9):hover, .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-only_8cbea_s2fjj_266:not(#\9):focus, .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-only_8cbea_s2fjj_266:not(#\9), .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-only_8cbea_s2fjj_266:not(#\9):hover, .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical-only_8cbea_s2fjj_266:not(#\9):focus {
301
+ border-inline-start-color: var(--color-text-status-warning-r365u3, #855900);
302
+ border-inline-end-color: var(--color-text-status-warning-r365u3, #855900);
303
+ border-block-start-color: var(--color-text-status-warning-r365u3, #855900);
304
+ border-block-end-color: var(--color-text-status-warning-r365u3, #855900);
305
+ }
306
+ .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-first_8cbea_s2fjj_206:not(#\9), .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-horizontal-only_8cbea_s2fjj_266:not(#\9), .awsui_grouped-with-error_8cbea_s2fjj_238.awsui_grouped-vertical_8cbea_s2fjj_194:not(#\9), .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-first_8cbea_s2fjj_206:not(#\9), .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-horizontal-only_8cbea_s2fjj_266:not(#\9), .awsui_grouped-with-warning_8cbea_s2fjj_272.awsui_grouped-vertical_8cbea_s2fjj_194:not(#\9) {
307
+ padding-inline-start: calc(var(--border-width-field-status-inline-start-wzl8ge, 8px) + calc(var(--space-field-horizontal-d3xvls, 12px) - (var(--border-width-field-status-inline-start-wzl8ge, 8px) - var(--border-width-field-f7slp9, 1px))));
308
+ }
309
+ body[data-awsui-focus-visible=true] .awsui_grouped-with-error_8cbea_s2fjj_238:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_grouped-with-warning_8cbea_s2fjj_272:not(#\9):focus {
310
+ outline: 2px dotted transparent;
311
+ box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-oy39w5, 2px) var(--color-border-item-focused-sb1fs0, #006ce0);
312
+ }
313
+ .awsui_grouped-with-error_8cbea_s2fjj_238:not(#\9):focus-within, .awsui_grouped-with-warning_8cbea_s2fjj_272:not(#\9):focus-within {
314
+ outline: 2px dotted transparent;
315
+ box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-oy39w5, 2px) var(--color-border-item-focused-sb1fs0, #006ce0);
316
+ }
317
+ .awsui_grouped_8cbea_s2fjj_190.awsui_grouped-horizontal-middle_8cbea_s2fjj_210:not(#\9), .awsui_grouped_8cbea_s2fjj_190.awsui_grouped-horizontal-last_8cbea_s2fjj_216:not(#\9) {
237
318
  border-inline-start: none;
238
319
  }
320
+ .awsui_grouped-with-error_8cbea_s2fjj_238:not(#\9):focus-within, .awsui_grouped-with-warning_8cbea_s2fjj_272:not(#\9):focus-within {
321
+ box-shadow: none;
322
+ }
323
+ body[data-awsui-focus-visible=true] .awsui_grouped-with-error_8cbea_s2fjj_238:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_grouped-with-warning_8cbea_s2fjj_272:not(#\9):focus {
324
+ box-shadow: none;
325
+ }
239
326
 
240
- .awsui_select_8cbea_g1xcc_110:not(#\9) {
327
+ .awsui_select_8cbea_s2fjj_110:not(#\9) {
241
328
  display: none;
242
329
  }
243
330
  @media (max-width: 688px) {
244
- .awsui_select_8cbea_g1xcc_110:not(#\9):not(.awsui_grouped_8cbea_g1xcc_189), .awsui_select_8cbea_g1xcc_110.awsui_grouped-only_8cbea_g1xcc_189:not(#\9) {
331
+ .awsui_select_8cbea_s2fjj_110:not(#\9):not(.awsui_grouped_8cbea_s2fjj_190), .awsui_select_8cbea_s2fjj_110.awsui_grouped-only_8cbea_s2fjj_190:not(#\9) {
245
332
  display: block;
246
333
  }
247
334
  }
248
335
 
249
- .awsui_segment-count-2_8cbea_g1xcc_249:not(#\9) {
336
+ .awsui_segment-count-2_8cbea_s2fjj_336:not(#\9) {
250
337
  grid-template-columns: repeat(2, auto);
251
338
  }
252
- .awsui_segment-count-2_8cbea_g1xcc_249.awsui_grouped_8cbea_g1xcc_189.awsui_grouped-vertical_8cbea_g1xcc_193:not(#\9) {
339
+ .awsui_segment-count-2_8cbea_s2fjj_336.awsui_grouped_8cbea_s2fjj_190.awsui_grouped-vertical_8cbea_s2fjj_194:not(#\9) {
253
340
  grid-template-columns: repeat(2, 1fr);
254
341
  }
255
342
 
256
- .awsui_segment-count-3_8cbea_g1xcc_256:not(#\9) {
343
+ .awsui_segment-count-3_8cbea_s2fjj_343:not(#\9) {
257
344
  grid-template-columns: repeat(3, auto);
258
345
  }
259
- .awsui_segment-count-3_8cbea_g1xcc_256.awsui_grouped_8cbea_g1xcc_189.awsui_grouped-vertical_8cbea_g1xcc_193:not(#\9) {
346
+ .awsui_segment-count-3_8cbea_s2fjj_343.awsui_grouped_8cbea_s2fjj_190.awsui_grouped-vertical_8cbea_s2fjj_194:not(#\9) {
260
347
  grid-template-columns: repeat(3, 1fr);
261
348
  }
262
349
 
263
- .awsui_segment-count-4_8cbea_g1xcc_263:not(#\9) {
350
+ .awsui_segment-count-4_8cbea_s2fjj_350:not(#\9) {
264
351
  grid-template-columns: repeat(4, auto);
265
352
  }
266
- .awsui_segment-count-4_8cbea_g1xcc_263.awsui_grouped_8cbea_g1xcc_189.awsui_grouped-vertical_8cbea_g1xcc_193:not(#\9) {
353
+ .awsui_segment-count-4_8cbea_s2fjj_350.awsui_grouped_8cbea_s2fjj_190.awsui_grouped-vertical_8cbea_s2fjj_194:not(#\9) {
267
354
  grid-template-columns: repeat(4, 1fr);
268
355
  }
269
356
 
270
- .awsui_segment-count-5_8cbea_g1xcc_270:not(#\9) {
357
+ .awsui_segment-count-5_8cbea_s2fjj_357:not(#\9) {
271
358
  grid-template-columns: repeat(5, auto);
272
359
  }
273
- .awsui_segment-count-5_8cbea_g1xcc_270.awsui_grouped_8cbea_g1xcc_189.awsui_grouped-vertical_8cbea_g1xcc_193:not(#\9) {
360
+ .awsui_segment-count-5_8cbea_s2fjj_357.awsui_grouped_8cbea_s2fjj_190.awsui_grouped-vertical_8cbea_s2fjj_194:not(#\9) {
274
361
  grid-template-columns: repeat(5, 1fr);
275
362
  }
276
363
 
277
- .awsui_segment-count-6_8cbea_g1xcc_277:not(#\9) {
364
+ .awsui_segment-count-6_8cbea_s2fjj_364:not(#\9) {
278
365
  grid-template-columns: repeat(6, auto);
279
366
  }
280
- .awsui_segment-count-6_8cbea_g1xcc_277.awsui_grouped_8cbea_g1xcc_189.awsui_grouped-vertical_8cbea_g1xcc_193:not(#\9) {
367
+ .awsui_segment-count-6_8cbea_s2fjj_364.awsui_grouped_8cbea_s2fjj_190.awsui_grouped-vertical_8cbea_s2fjj_194:not(#\9) {
281
368
  grid-template-columns: repeat(6, 1fr);
282
369
  }
283
370
 
284
- .awsui_disabled-reason-tooltip_8cbea_g1xcc_284:not(#\9) {
371
+ .awsui_disabled-reason-tooltip_8cbea_s2fjj_371:not(#\9) {
285
372
  /* used in test-utils or tests */
286
373
  }
@@ -2,32 +2,36 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "segment": "awsui_segment_8cbea_g1xcc_17",
6
- "full-width": "awsui_full-width_8cbea_g1xcc_44",
7
- "refresh": "awsui_refresh_8cbea_g1xcc_47",
8
- "disabled": "awsui_disabled_8cbea_g1xcc_53",
9
- "selected": "awsui_selected_8cbea_g1xcc_110",
10
- "icon": "awsui_icon_8cbea_g1xcc_121",
11
- "with-text": "awsui_with-text_8cbea_g1xcc_125",
12
- "with-no-text": "awsui_with-no-text_8cbea_g1xcc_131",
13
- "root": "awsui_root_8cbea_g1xcc_136",
14
- "segment-part": "awsui_segment-part_8cbea_g1xcc_168",
15
- "grouped": "awsui_grouped_8cbea_g1xcc_189",
16
- "grouped-only": "awsui_grouped-only_8cbea_g1xcc_189",
17
- "grouped-vertical": "awsui_grouped-vertical_8cbea_g1xcc_193",
18
- "grouped-horizontal-first": "awsui_grouped-horizontal-first_8cbea_g1xcc_204",
19
- "grouped-horizontal-middle": "awsui_grouped-horizontal-middle_8cbea_g1xcc_208",
20
- "grouped-horizontal-last": "awsui_grouped-horizontal-last_8cbea_g1xcc_214",
21
- "grouped-vertical-first": "awsui_grouped-vertical-first_8cbea_g1xcc_218",
22
- "grouped-vertical-middle": "awsui_grouped-vertical-middle_8cbea_g1xcc_222",
23
- "grouped-vertical-last": "awsui_grouped-vertical-last_8cbea_g1xcc_228",
24
- "grouped-with-action": "awsui_grouped-with-action_8cbea_g1xcc_232",
25
- "select": "awsui_select_8cbea_g1xcc_110",
26
- "segment-count-2": "awsui_segment-count-2_8cbea_g1xcc_249",
27
- "segment-count-3": "awsui_segment-count-3_8cbea_g1xcc_256",
28
- "segment-count-4": "awsui_segment-count-4_8cbea_g1xcc_263",
29
- "segment-count-5": "awsui_segment-count-5_8cbea_g1xcc_270",
30
- "segment-count-6": "awsui_segment-count-6_8cbea_g1xcc_277",
31
- "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_g1xcc_284"
5
+ "segment": "awsui_segment_8cbea_s2fjj_17",
6
+ "full-width": "awsui_full-width_8cbea_s2fjj_44",
7
+ "refresh": "awsui_refresh_8cbea_s2fjj_47",
8
+ "disabled": "awsui_disabled_8cbea_s2fjj_53",
9
+ "selected": "awsui_selected_8cbea_s2fjj_110",
10
+ "icon": "awsui_icon_8cbea_s2fjj_122",
11
+ "with-text": "awsui_with-text_8cbea_s2fjj_126",
12
+ "with-no-text": "awsui_with-no-text_8cbea_s2fjj_132",
13
+ "root": "awsui_root_8cbea_s2fjj_137",
14
+ "segment-part": "awsui_segment-part_8cbea_s2fjj_169",
15
+ "grouped": "awsui_grouped_8cbea_s2fjj_190",
16
+ "grouped-only": "awsui_grouped-only_8cbea_s2fjj_190",
17
+ "grouped-vertical": "awsui_grouped-vertical_8cbea_s2fjj_194",
18
+ "grouped-horizontal-first": "awsui_grouped-horizontal-first_8cbea_s2fjj_206",
19
+ "grouped-horizontal-middle": "awsui_grouped-horizontal-middle_8cbea_s2fjj_210",
20
+ "grouped-horizontal-last": "awsui_grouped-horizontal-last_8cbea_s2fjj_216",
21
+ "grouped-vertical-first": "awsui_grouped-vertical-first_8cbea_s2fjj_220",
22
+ "grouped-vertical-middle": "awsui_grouped-vertical-middle_8cbea_s2fjj_224",
23
+ "grouped-vertical-last": "awsui_grouped-vertical-last_8cbea_s2fjj_230",
24
+ "grouped-with-action": "awsui_grouped-with-action_8cbea_s2fjj_234",
25
+ "grouped-with-error": "awsui_grouped-with-error_8cbea_s2fjj_238",
26
+ "grouped-horizontal-only": "awsui_grouped-horizontal-only_8cbea_s2fjj_266",
27
+ "grouped-vertical-only": "awsui_grouped-vertical-only_8cbea_s2fjj_266",
28
+ "grouped-with-warning": "awsui_grouped-with-warning_8cbea_s2fjj_272",
29
+ "select": "awsui_select_8cbea_s2fjj_110",
30
+ "segment-count-2": "awsui_segment-count-2_8cbea_s2fjj_336",
31
+ "segment-count-3": "awsui_segment-count-3_8cbea_s2fjj_343",
32
+ "segment-count-4": "awsui_segment-count-4_8cbea_s2fjj_350",
33
+ "segment-count-5": "awsui_segment-count-5_8cbea_s2fjj_357",
34
+ "segment-count-6": "awsui_segment-count-6_8cbea_s2fjj_364",
35
+ "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_s2fjj_371"
32
36
  };
33
37
 
@@ -162,6 +162,20 @@ export interface BaseSelectProps extends BaseDropdownHostProps, BaseComponentPro
162
162
  * Adds `aria-describedby` to the dropdown's listbox/dialog content.
163
163
  */
164
164
  dropdownAriaDescribedby?: string;
165
+ /**
166
+ * By default, the dropdown height is constrained to fit inside the height of its next scrollable container element.
167
+ * Enabling this property will allow the dropdown to extend beyond that container by using fixed positioning and
168
+ * [React Portals](https://reactjs.org/docs/portals.html).
169
+ *
170
+ * Set this property if the dropdown would otherwise be constrained by a scrollable container,
171
+ * for example inside table and split view layouts.
172
+ *
173
+ * We recommend you use discretion, and don't enable this property unless necessary
174
+ * because fixed positioning results in a slight, visible lag when scrolling complex pages.
175
+ *
176
+ * When the component is rendered in a control group, the dropdown will be rendered expanded to the viewport regardless of this property.
177
+ */
178
+ expandToViewport?: boolean;
165
179
  }
166
180
  export interface SelectProps extends BaseSelectProps {
167
181
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/select/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAC7G,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,+BAA+B,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,WAAW,IAAI,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAEzF,MAAM,WAAW,eACf,SAAQ,qBAAqB,EAC3B,kBAAkB,EAClB,+BAA+B,EAC/B,m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}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/select/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { ReactNode } from 'react';\n\nimport { BaseDropdownHostProps, OptionsFilteringType, OptionsLoadItemsDetail } from '../dropdown/interfaces';\nimport { BaseComponentProps } from '../types/base-component';\nimport { DropdownStatusProps } from '../types/dropdown-status';\nimport { NonCancelableEventHandler } from '../types/events';\nimport { FormFieldValidationControlProps } from '../types/form-field';\nimport { OptionDefinition, OptionGroup as OptionGroupDefinition } from '../types/option';\n\nexport interface BaseSelectProps\n extends BaseDropdownHostProps,\n BaseComponentProps,\n FormFieldValidationControlProps,\n DropdownStatusProps {\n /**\n * Specifies an array of options that are displayed to the user as a dropdown list.\n * The options can be grouped using `OptionGroup` objects.\n *\n * #### Option\n * - `value` (string) - The returned value of the option when selected.\n *\n * #### OptionGroup\n * - `value` (string) - Used to locate option group in test utils.\n * - `options` (Option[]) - (Optional) The options under this group.\n *\n * #### Shared Option and OptionGroup properties\n * - `label` (string) - (Optional) Option or group text displayed to the user.\n * - `lang` (string) - (Optional) The language of the option or group, provided as a BCP 47 language tag.\n * - `description` (string) - (Optional) Further information about the option or group that appears below the label.\n * - `disabled` (boolean) - (Optional) Determines whether the option or group is disabled.\n * - `disabledReason` (ReactNode) - (Optional) Displays tooltip near the item when disabled. Use to provide additional context. Do not place interactive elements like links or buttons.\n * - `labelTag` (string) - (Optional) A label tag that provides additional guidance, shown next to the label.\n * - `tags` [string[]] - (Optional) A list of tags giving further guidance about the option or group.\n * - `filteringTags` [string[]] - (Optional) A list of additional tags used for automatic filtering.\n * - `iconName` (string) - (Optional) Specifies the name of an [icon](/components/icon/) to display in the option or group.\n * - `iconAriaLabel` (string) - (Optional) Specifies alternate text for the icon. We recommend that you provide this for accessibility.\n * - `iconAlt` (string) - (Optional) **Deprecated**, replaced by \\`iconAriaLabel\\`. Specifies alternate text for a custom icon, for use with `iconUrl`.\n * - `iconUrl` (string) - (Optional) URL of a custom icon.\n * - `iconSvg` (ReactNode) - (Optional) Custom SVG icon. Equivalent to the `svg` slot of the [icon component](/components/icon/).\n *\n * Note: Only one level of option nesting is supported.\n *\n * If you want to use the built-in filtering capabilities of this component, provide\n * a list of all valid options here and they will be automatically filtered based on the user's filtering input.\n *\n * Alternatively, you can listen to the `onChange` or `onLoadItems` event and set new options\n * on your own.\n **/\n options?: SelectProps.Options;\n\n /**\n * Determines how filtering is applied to the list of `options`:\n *\n * * `auto` - The component will automatically filter options based on user input.\n * * `manual` - You will set up `onChange` or `onLoadItems` event listeners and filter options on your side or request\n * them from server.\n *\n * By default the component will filter the provided `options` based on the value of the filtering input field.\n * Only options that have a `value`, `label`, `description` or `labelTag` that contains the input value as a substring\n * are displayed in the list of options.\n *\n * If you set this property to `manual`, this default filtering mechanism is disabled and all provided `options` are\n * displayed in the dropdown list. In that case make sure that you use the `onChange` or `onLoadItems` events in order\n * to set the `options` property to the options that are relevant for the user, given the filtering input value.\n *\n * Note: Manual filtering doesn't disable match highlighting.\n **/\n filteringType?: OptionsFilteringType;\n\n /**\n * Determines whether the whole select component is disabled.\n */\n disabled?: boolean;\n /**\n * Specifies the placeholder to display in the filtering input if filtering is enabled.\n */\n filteringPlaceholder?: string;\n\n /**\n * Specifies the text to display with the number of matches at the bottom of the dropdown menu while filtering.\n */\n filteringResultsText?: (matchesCount: number, totalCount: number) => string;\n /**\n * Adds an `aria-label` on the built-in filtering input if filtering is enabled.\n */\n filteringAriaLabel?: string;\n /**\n * Adds an `aria-label` to the clear button inside the search input.\n * @i18n\n */\n filteringClearAriaLabel?: string;\n /**\n * @deprecated Has no effect.\n */\n name?: string;\n /**\n * Specifies the hint text that's displayed in the field when no option has been selected.\n */\n placeholder?: string;\n /**\n * Specifies the ID for the trigger component. It uses an automatically generated ID by default.\n */\n controlId?: string;\n /**\n * Adds `aria-required` to the native input element.\n */\n ariaRequired?: boolean;\n /**\n * Adds `aria-label` to the select element.\n * Use this if you don't have a visible label for this control.\n */\n ariaLabel?: string;\n /**\n * Specifies the localized string that describes an option as being selected.\n * This is required to provide a good screen reader experience. For more information, see the\n * [accessibility guidelines](/components/select/?tabId=usage#accessibility-guidelines).\n * @i18n\n */\n selectedAriaLabel?: string;\n /**\n * Overrides the element that is announced to screen readers\n * when the highlighted option changes. By default, this announces\n * the option's name and properties, and its selected state if\n * the `selectedAriaLabel` property is defined.\n * The highlighted option is provided, and its group (if groups\n * are used and it differs from the group of the previously highlighted option).\n *\n * For more information, see the\n * [accessibility guidelines](/components/select/?tabId=usage#accessibility-guidelines).\n */\n renderHighlightedAriaLive?: SelectProps.ContainingOptionAndGroupString;\n /**\n * Displayed for `filteringType=\"auto\"` when there are no matches for the filtering.\n */\n noMatch?: React.ReactNode;\n /**\n * Called when input focus is removed from the UI control.\n */\n onBlur?: NonCancelableEventHandler;\n /**\n * Called when input focus is set onto the UI control.\n */\n onFocus?: NonCancelableEventHandler;\n\n /**\n * Specifies if the control is read-only, which prevents the\n * user from both modifying the value and opening the dropdown. A read-only control is still focusable.\n */\n readOnly?: boolean;\n\n /**\n * Renders content at the top of the dropdown, above the filter input (when filtering is enabled) and the\n * options list. Pinned (sticky) to the top and rendered in every state (empty, no-match, loading, error,\n * finished).\n */\n renderDropdownHeader?: SelectProps.DropdownContentRenderer;\n\n /**\n * Renders content at the bottom of the dropdown. The content is always sticky and never scrolls with the\n * options list. It is added below the built-in status region. Receives the current filtering state and a\n * callback to close the dropdown.\n */\n renderDropdownFooter?: SelectProps.DropdownContentRenderer;\n\n /**\n * Determines the ARIA role of the dropdown.\n *\n * - `auto` (default): the dropdown uses a listbox role, or a dialog role wrapping the listbox when built-in\n * filtering is enabled.\n * - `dialog`: the dropdown always uses a dialog role wrapping the listbox, even without built-in filtering. Use\n * this when you render interactive custom content and want assistive technologies to treat the dropdown as a dialog.\n */\n dropdownRole?: SelectProps.DropdownRole;\n\n /**\n * Adds `aria-describedby` to the dropdown's listbox/dialog content.\n */\n dropdownAriaDescribedby?: string;\n}\n\nexport interface SelectProps extends BaseSelectProps {\n /**\n * Adds a small label inline with the input for saving vertical space in the UI.\n * For use with collection select filters only.\n */\n inlineLabelText?: string;\n onLoadItems?: NonCancelableEventHandler<SelectProps.LoadItemsDetail>;\n /**\n * Adds `aria-labelledby` to the component. If you're using this component within a form field,\n * don't set this property because the form field component automatically sets it.\n *\n * Use this property if the component isn't using `inlineLabelText` and isn't surrounded by a form field, or you want to override the value\n * automatically set by the form field (for example, if you have two components within a single form field).\n *\n * To use it correctly, define an ID for the element you want to use as label and set the property to that ID.\n */\n ariaLabelledby?: string;\n /**\n * Defines the variant of the trigger. You can use a simple label or the entire option (`label | option`)\n */\n triggerVariant?: SelectProps.TriggerVariant;\n /**\n * Specifies the currently selected option.\n * If you want to clear the selection, use `null`.\n */\n selectedOption: SelectProps.Option | null;\n /**\n * Called when the user selects an option.\n * The event `detail` contains the current `selectedOption`.\n */\n onChange?: NonCancelableEventHandler<SelectProps.ChangeDetail>;\n\n /**\n * Automatically focuses the trigger when component is mounted.\n */\n autoFocus?: boolean;\n /**\n * Specifies a render function to render custom options in the dropdown menu or trigger.\n */\n renderOption?: SelectProps.SelectOptionItemRenderer;\n}\n\nexport namespace SelectProps {\n export type FilteringType = OptionsFilteringType;\n export type TriggerVariant = 'label' | 'option';\n\n /**\n * The argument passed to the dropdown render functions (`renderDropdownHeader`\n * and `renderDropdownFooter`).\n */\n export interface DropdownContentProps {\n filterText: string;\n\n closeDropdown: () => void;\n }\n\n export type DropdownRole = 'auto' | 'dialog';\n\n /**\n * A render function for custom dropdown content, used by `renderDropdownHeader` and `renderDropdownFooter`.\n * Receives the current filtering state and a callback to close the dropdown.\n */\n export type DropdownContentRenderer = (props: DropdownContentProps) => ReactNode | null;\n\n export type Option = OptionDefinition;\n export type OptionGroup = OptionGroupDefinition;\n export type Options = ReadonlyArray<Option | OptionGroup>;\n\n export interface SelectOptionItem {\n type: 'item';\n index: number;\n option: Option;\n highlighted: boolean;\n selected: boolean;\n disabled: boolean;\n parent: SelectOptionGroupItem | null;\n }\n export interface SelectOptionGroupItem {\n type: 'group';\n index: number;\n option: OptionGroup;\n disabled: boolean;\n }\n export interface SelectTriggerOptionItem {\n type: 'trigger';\n option: Option;\n }\n export type SelectItem = SelectOptionItem | SelectOptionGroupItem | SelectTriggerOptionItem;\n export type SelectOptionItemRenderer = (props: { item: SelectItem; filterText?: string }) => ReactNode | null;\n\n /* eslint-disable-next-line @typescript-eslint/no-empty-object-type --\n * Required to create a distinct named type for the documenter.\n **/\n export interface LoadItemsDetail extends OptionsLoadItemsDetail {}\n\n export interface ChangeDetail {\n selectedOption: Option;\n }\n\n export interface ContainingOptionAndGroupString {\n (option: Option, group?: OptionGroup): string;\n }\n\n export interface Ref {\n /**\n * Sets focus on the element without opening the dropdown or showing a visual focus indicator.\n */\n focus(): void;\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/select/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { ReactNode } from 'react';\n\nimport { BaseDropdownHostProps, OptionsFilteringType, OptionsLoadItemsDetail } from '../dropdown/interfaces';\nimport { BaseComponentProps } from '../types/base-component';\nimport { DropdownStatusProps } from '../types/dropdown-status';\nimport { NonCancelableEventHandler } from '../types/events';\nimport { FormFieldValidationControlProps } from '../types/form-field';\nimport { OptionDefinition, OptionGroup as OptionGroupDefinition } from '../types/option';\n\nexport interface BaseSelectProps\n extends BaseDropdownHostProps,\n BaseComponentProps,\n FormFieldValidationControlProps,\n DropdownStatusProps {\n /**\n * Specifies an array of options that are displayed to the user as a dropdown list.\n * The options can be grouped using `OptionGroup` objects.\n *\n * #### Option\n * - `value` (string) - The returned value of the option when selected.\n *\n * #### OptionGroup\n * - `value` (string) - Used to locate option group in test utils.\n * - `options` (Option[]) - (Optional) The options under this group.\n *\n * #### Shared Option and OptionGroup properties\n * - `label` (string) - (Optional) Option or group text displayed to the user.\n * - `lang` (string) - (Optional) The language of the option or group, provided as a BCP 47 language tag.\n * - `description` (string) - (Optional) Further information about the option or group that appears below the label.\n * - `disabled` (boolean) - (Optional) Determines whether the option or group is disabled.\n * - `disabledReason` (ReactNode) - (Optional) Displays tooltip near the item when disabled. Use to provide additional context. Do not place interactive elements like links or buttons.\n * - `labelTag` (string) - (Optional) A label tag that provides additional guidance, shown next to the label.\n * - `tags` [string[]] - (Optional) A list of tags giving further guidance about the option or group.\n * - `filteringTags` [string[]] - (Optional) A list of additional tags used for automatic filtering.\n * - `iconName` (string) - (Optional) Specifies the name of an [icon](/components/icon/) to display in the option or group.\n * - `iconAriaLabel` (string) - (Optional) Specifies alternate text for the icon. We recommend that you provide this for accessibility.\n * - `iconAlt` (string) - (Optional) **Deprecated**, replaced by \\`iconAriaLabel\\`. Specifies alternate text for a custom icon, for use with `iconUrl`.\n * - `iconUrl` (string) - (Optional) URL of a custom icon.\n * - `iconSvg` (ReactNode) - (Optional) Custom SVG icon. Equivalent to the `svg` slot of the [icon component](/components/icon/).\n *\n * Note: Only one level of option nesting is supported.\n *\n * If you want to use the built-in filtering capabilities of this component, provide\n * a list of all valid options here and they will be automatically filtered based on the user's filtering input.\n *\n * Alternatively, you can listen to the `onChange` or `onLoadItems` event and set new options\n * on your own.\n **/\n options?: SelectProps.Options;\n\n /**\n * Determines how filtering is applied to the list of `options`:\n *\n * * `auto` - The component will automatically filter options based on user input.\n * * `manual` - You will set up `onChange` or `onLoadItems` event listeners and filter options on your side or request\n * them from server.\n *\n * By default the component will filter the provided `options` based on the value of the filtering input field.\n * Only options that have a `value`, `label`, `description` or `labelTag` that contains the input value as a substring\n * are displayed in the list of options.\n *\n * If you set this property to `manual`, this default filtering mechanism is disabled and all provided `options` are\n * displayed in the dropdown list. In that case make sure that you use the `onChange` or `onLoadItems` events in order\n * to set the `options` property to the options that are relevant for the user, given the filtering input value.\n *\n * Note: Manual filtering doesn't disable match highlighting.\n **/\n filteringType?: OptionsFilteringType;\n\n /**\n * Determines whether the whole select component is disabled.\n */\n disabled?: boolean;\n /**\n * Specifies the placeholder to display in the filtering input if filtering is enabled.\n */\n filteringPlaceholder?: string;\n\n /**\n * Specifies the text to display with the number of matches at the bottom of the dropdown menu while filtering.\n */\n filteringResultsText?: (matchesCount: number, totalCount: number) => string;\n /**\n * Adds an `aria-label` on the built-in filtering input if filtering is enabled.\n */\n filteringAriaLabel?: string;\n /**\n * Adds an `aria-label` to the clear button inside the search input.\n * @i18n\n */\n filteringClearAriaLabel?: string;\n /**\n * @deprecated Has no effect.\n */\n name?: string;\n /**\n * Specifies the hint text that's displayed in the field when no option has been selected.\n */\n placeholder?: string;\n /**\n * Specifies the ID for the trigger component. It uses an automatically generated ID by default.\n */\n controlId?: string;\n /**\n * Adds `aria-required` to the native input element.\n */\n ariaRequired?: boolean;\n /**\n * Adds `aria-label` to the select element.\n * Use this if you don't have a visible label for this control.\n */\n ariaLabel?: string;\n /**\n * Specifies the localized string that describes an option as being selected.\n * This is required to provide a good screen reader experience. For more information, see the\n * [accessibility guidelines](/components/select/?tabId=usage#accessibility-guidelines).\n * @i18n\n */\n selectedAriaLabel?: string;\n /**\n * Overrides the element that is announced to screen readers\n * when the highlighted option changes. By default, this announces\n * the option's name and properties, and its selected state if\n * the `selectedAriaLabel` property is defined.\n * The highlighted option is provided, and its group (if groups\n * are used and it differs from the group of the previously highlighted option).\n *\n * For more information, see the\n * [accessibility guidelines](/components/select/?tabId=usage#accessibility-guidelines).\n */\n renderHighlightedAriaLive?: SelectProps.ContainingOptionAndGroupString;\n /**\n * Displayed for `filteringType=\"auto\"` when there are no matches for the filtering.\n */\n noMatch?: React.ReactNode;\n /**\n * Called when input focus is removed from the UI control.\n */\n onBlur?: NonCancelableEventHandler;\n /**\n * Called when input focus is set onto the UI control.\n */\n onFocus?: NonCancelableEventHandler;\n\n /**\n * Specifies if the control is read-only, which prevents the\n * user from both modifying the value and opening the dropdown. A read-only control is still focusable.\n */\n readOnly?: boolean;\n\n /**\n * Renders content at the top of the dropdown, above the filter input (when filtering is enabled) and the\n * options list. Pinned (sticky) to the top and rendered in every state (empty, no-match, loading, error,\n * finished).\n */\n renderDropdownHeader?: SelectProps.DropdownContentRenderer;\n\n /**\n * Renders content at the bottom of the dropdown. The content is always sticky and never scrolls with the\n * options list. It is added below the built-in status region. Receives the current filtering state and a\n * callback to close the dropdown.\n */\n renderDropdownFooter?: SelectProps.DropdownContentRenderer;\n\n /**\n * Determines the ARIA role of the dropdown.\n *\n * - `auto` (default): the dropdown uses a listbox role, or a dialog role wrapping the listbox when built-in\n * filtering is enabled.\n * - `dialog`: the dropdown always uses a dialog role wrapping the listbox, even without built-in filtering. Use\n * this when you render interactive custom content and want assistive technologies to treat the dropdown as a dialog.\n */\n dropdownRole?: SelectProps.DropdownRole;\n\n /**\n * Adds `aria-describedby` to the dropdown's listbox/dialog content.\n */\n dropdownAriaDescribedby?: string;\n\n /**\n * By default, the dropdown height is constrained to fit inside the height of its next scrollable container element.\n * Enabling this property will allow the dropdown to extend beyond that container by using fixed positioning and\n * [React Portals](https://reactjs.org/docs/portals.html).\n *\n * Set this property if the dropdown would otherwise be constrained by a scrollable container,\n * for example inside table and split view layouts.\n *\n * We recommend you use discretion, and don't enable this property unless necessary\n * because fixed positioning results in a slight, visible lag when scrolling complex pages.\n *\n * When the component is rendered in a control group, the dropdown will be rendered expanded to the viewport regardless of this property.\n */\n expandToViewport?: boolean;\n}\n\nexport interface SelectProps extends BaseSelectProps {\n /**\n * Adds a small label inline with the input for saving vertical space in the UI.\n * For use with collection select filters only.\n */\n inlineLabelText?: string;\n onLoadItems?: NonCancelableEventHandler<SelectProps.LoadItemsDetail>;\n /**\n * Adds `aria-labelledby` to the component. If you're using this component within a form field,\n * don't set this property because the form field component automatically sets it.\n *\n * Use this property if the component isn't using `inlineLabelText` and isn't surrounded by a form field, or you want to override the value\n * automatically set by the form field (for example, if you have two components within a single form field).\n *\n * To use it correctly, define an ID for the element you want to use as label and set the property to that ID.\n */\n ariaLabelledby?: string;\n /**\n * Defines the variant of the trigger. You can use a simple label or the entire option (`label | option`)\n */\n triggerVariant?: SelectProps.TriggerVariant;\n /**\n * Specifies the currently selected option.\n * If you want to clear the selection, use `null`.\n */\n selectedOption: SelectProps.Option | null;\n /**\n * Called when the user selects an option.\n * The event `detail` contains the current `selectedOption`.\n */\n onChange?: NonCancelableEventHandler<SelectProps.ChangeDetail>;\n\n /**\n * Automatically focuses the trigger when component is mounted.\n */\n autoFocus?: boolean;\n /**\n * Specifies a render function to render custom options in the dropdown menu or trigger.\n */\n renderOption?: SelectProps.SelectOptionItemRenderer;\n}\n\nexport namespace SelectProps {\n export type FilteringType = OptionsFilteringType;\n export type TriggerVariant = 'label' | 'option';\n\n /**\n * The argument passed to the dropdown render functions (`renderDropdownHeader`\n * and `renderDropdownFooter`).\n */\n export interface DropdownContentProps {\n filterText: string;\n\n closeDropdown: () => void;\n }\n\n export type DropdownRole = 'auto' | 'dialog';\n\n /**\n * A render function for custom dropdown content, used by `renderDropdownHeader` and `renderDropdownFooter`.\n * Receives the current filtering state and a callback to close the dropdown.\n */\n export type DropdownContentRenderer = (props: DropdownContentProps) => ReactNode | null;\n\n export type Option = OptionDefinition;\n export type OptionGroup = OptionGroupDefinition;\n export type Options = ReadonlyArray<Option | OptionGroup>;\n\n export interface SelectOptionItem {\n type: 'item';\n index: number;\n option: Option;\n highlighted: boolean;\n selected: boolean;\n disabled: boolean;\n parent: SelectOptionGroupItem | null;\n }\n export interface SelectOptionGroupItem {\n type: 'group';\n index: number;\n option: OptionGroup;\n disabled: boolean;\n }\n export interface SelectTriggerOptionItem {\n type: 'trigger';\n option: Option;\n }\n export type SelectItem = SelectOptionItem | SelectOptionGroupItem | SelectTriggerOptionItem;\n export type SelectOptionItemRenderer = (props: { item: SelectItem; filterText?: string }) => ReactNode | null;\n\n /* eslint-disable-next-line @typescript-eslint/no-empty-object-type --\n * Required to create a distinct named type for the documenter.\n **/\n export interface LoadItemsDetail extends OptionsLoadItemsDetail {}\n\n export interface ChangeDetail {\n selectedOption: Option;\n }\n\n export interface ContainingOptionAndGroupString {\n (option: Option, group?: OptionGroup): string;\n }\n\n export interface Ref {\n /**\n * Sets focus on the element without opening the dropdown or showing a visual focus indicator.\n */\n focus(): void;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/select/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAgB3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAc3C,MAAM,WAAW,mBAAoB,SAAQ,YAAY,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,0BAA0B;IAC3G,kBAAkB,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CACxC;AAED,QAAA,MAAM,cAAc,6FAqSnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/select/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAmB3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAY3C,MAAM,WAAW,mBAAoB,SAAQ,YAAY,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,0BAA0B;IAC3G,kBAAkB,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CACxC;AAED,QAAA,MAAM,cAAc,6FA8SnB,CAAC;AAEF,eAAe,cAAc,CAAC"}