@cloudscape-design/components 3.0.297 → 3.0.299

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 (380) hide show
  1. package/alert/interfaces.d.ts +1 -0
  2. package/alert/interfaces.d.ts.map +1 -1
  3. package/alert/interfaces.js.map +1 -1
  4. package/annotation-context/annotation/styles.css.js +24 -24
  5. package/annotation-context/annotation/styles.scoped.css +30 -30
  6. package/annotation-context/annotation/styles.selectors.js +24 -24
  7. package/app-layout/interfaces.d.ts +1 -0
  8. package/app-layout/interfaces.d.ts.map +1 -1
  9. package/app-layout/interfaces.js.map +1 -1
  10. package/app-layout/notifications/styles.css.js +3 -3
  11. package/app-layout/notifications/styles.scoped.css +7 -7
  12. package/app-layout/notifications/styles.selectors.js +3 -3
  13. package/app-layout/visual-refresh/background.d.ts +1 -5
  14. package/app-layout/visual-refresh/background.d.ts.map +1 -1
  15. package/app-layout/visual-refresh/background.js +8 -13
  16. package/app-layout/visual-refresh/background.js.map +1 -1
  17. package/app-layout/visual-refresh/breadcrumbs.d.ts +3 -0
  18. package/app-layout/visual-refresh/breadcrumbs.d.ts.map +1 -0
  19. package/app-layout/visual-refresh/breadcrumbs.js +17 -0
  20. package/app-layout/visual-refresh/breadcrumbs.js.map +1 -0
  21. package/app-layout/visual-refresh/context.js +3 -3
  22. package/app-layout/visual-refresh/context.js.map +1 -1
  23. package/app-layout/visual-refresh/header.d.ts +0 -4
  24. package/app-layout/visual-refresh/header.d.ts.map +1 -1
  25. package/app-layout/visual-refresh/header.js +0 -4
  26. package/app-layout/visual-refresh/header.js.map +1 -1
  27. package/app-layout/visual-refresh/index.d.ts +0 -8
  28. package/app-layout/visual-refresh/index.d.ts.map +1 -1
  29. package/app-layout/visual-refresh/index.js +4 -13
  30. package/app-layout/visual-refresh/index.js.map +1 -1
  31. package/app-layout/visual-refresh/layout.d.ts.map +1 -1
  32. package/app-layout/visual-refresh/layout.js +31 -19
  33. package/app-layout/visual-refresh/layout.js.map +1 -1
  34. package/app-layout/visual-refresh/main.d.ts.map +1 -1
  35. package/app-layout/visual-refresh/main.js +2 -6
  36. package/app-layout/visual-refresh/main.js.map +1 -1
  37. package/app-layout/visual-refresh/mobile-toolbar.d.ts +3 -0
  38. package/app-layout/visual-refresh/mobile-toolbar.d.ts.map +1 -0
  39. package/app-layout/visual-refresh/{app-bar.js → mobile-toolbar.js} +9 -18
  40. package/app-layout/visual-refresh/mobile-toolbar.js.map +1 -0
  41. package/app-layout/visual-refresh/navigation.js +1 -1
  42. package/app-layout/visual-refresh/navigation.js.map +1 -1
  43. package/app-layout/visual-refresh/notifications.d.ts +0 -4
  44. package/app-layout/visual-refresh/notifications.d.ts.map +1 -1
  45. package/app-layout/visual-refresh/notifications.js +4 -9
  46. package/app-layout/visual-refresh/notifications.js.map +1 -1
  47. package/app-layout/visual-refresh/split-panel.js +1 -1
  48. package/app-layout/visual-refresh/split-panel.js.map +1 -1
  49. package/app-layout/visual-refresh/styles.css.js +68 -72
  50. package/app-layout/visual-refresh/styles.scoped.css +400 -576
  51. package/app-layout/visual-refresh/styles.selectors.js +68 -72
  52. package/attribute-editor/interfaces.d.ts +2 -1
  53. package/attribute-editor/interfaces.d.ts.map +1 -1
  54. package/attribute-editor/interfaces.js.map +1 -1
  55. package/attribute-editor/row.d.ts +1 -1
  56. package/attribute-editor/row.d.ts.map +1 -1
  57. package/attribute-editor/row.js +3 -1
  58. package/attribute-editor/row.js.map +1 -1
  59. package/autosuggest/autosuggest-option.d.ts +1 -1
  60. package/autosuggest/autosuggest-option.d.ts.map +1 -1
  61. package/autosuggest/autosuggest-option.js +3 -1
  62. package/autosuggest/autosuggest-option.js.map +1 -1
  63. package/autosuggest/interfaces.d.ts +3 -1
  64. package/autosuggest/interfaces.d.ts.map +1 -1
  65. package/autosuggest/interfaces.js.map +1 -1
  66. package/autosuggest/internal.d.ts.map +1 -1
  67. package/autosuggest/internal.js +4 -0
  68. package/autosuggest/internal.js.map +1 -1
  69. package/autosuggest/plain-list.d.ts +1 -1
  70. package/autosuggest/plain-list.d.ts.map +1 -1
  71. package/autosuggest/plain-list.js.map +1 -1
  72. package/breadcrumb-group/interfaces.d.ts +1 -0
  73. package/breadcrumb-group/interfaces.d.ts.map +1 -1
  74. package/breadcrumb-group/interfaces.js.map +1 -1
  75. package/calendar/interfaces.d.ts +3 -0
  76. package/calendar/interfaces.d.ts.map +1 -1
  77. package/calendar/interfaces.js.map +1 -1
  78. package/cards/interfaces.d.ts +1 -0
  79. package/cards/interfaces.d.ts.map +1 -1
  80. package/cards/interfaces.js.map +1 -1
  81. package/cards/styles.css.js +37 -37
  82. package/cards/styles.scoped.css +53 -53
  83. package/cards/styles.selectors.js +37 -37
  84. package/code-editor/interfaces.d.ts +1 -0
  85. package/code-editor/interfaces.d.ts.map +1 -1
  86. package/code-editor/interfaces.js.map +1 -1
  87. package/collection-preferences/content-display/index.d.ts.map +1 -1
  88. package/collection-preferences/content-display/index.js +14 -9
  89. package/collection-preferences/content-display/index.js.map +1 -1
  90. package/collection-preferences/index.d.ts.map +1 -1
  91. package/collection-preferences/index.js +6 -4
  92. package/collection-preferences/index.js.map +1 -1
  93. package/collection-preferences/interfaces.d.ts +21 -12
  94. package/collection-preferences/interfaces.d.ts.map +1 -1
  95. package/collection-preferences/interfaces.js.map +1 -1
  96. package/collection-preferences/utils.d.ts +1 -1
  97. package/collection-preferences/utils.d.ts.map +1 -1
  98. package/collection-preferences/utils.js +19 -6
  99. package/collection-preferences/utils.js.map +1 -1
  100. package/content-layout/internal.d.ts.map +1 -1
  101. package/content-layout/internal.js +1 -3
  102. package/content-layout/internal.js.map +1 -1
  103. package/content-layout/styles.css.js +6 -7
  104. package/content-layout/styles.scoped.css +9 -19
  105. package/content-layout/styles.selectors.js +6 -7
  106. package/date-range-picker/calendar/grids/grid.d.ts +1 -1
  107. package/date-range-picker/calendar/grids/grid.d.ts.map +1 -1
  108. package/date-range-picker/calendar/grids/grid.js.map +1 -1
  109. package/date-range-picker/calendar/grids/index.d.ts +1 -1
  110. package/date-range-picker/calendar/grids/index.d.ts.map +1 -1
  111. package/date-range-picker/calendar/grids/index.js.map +1 -1
  112. package/date-range-picker/calendar/header/header-button.d.ts +1 -1
  113. package/date-range-picker/calendar/header/header-button.d.ts.map +1 -1
  114. package/date-range-picker/calendar/header/header-button.js.map +1 -1
  115. package/date-range-picker/calendar/header/index.d.ts +2 -2
  116. package/date-range-picker/calendar/header/index.d.ts.map +1 -1
  117. package/date-range-picker/calendar/header/index.js.map +1 -1
  118. package/date-range-picker/calendar/index.d.ts +1 -1
  119. package/date-range-picker/calendar/index.d.ts.map +1 -1
  120. package/date-range-picker/calendar/index.js +11 -8
  121. package/date-range-picker/calendar/index.js.map +1 -1
  122. package/date-range-picker/calendar/range-inputs.d.ts +1 -1
  123. package/date-range-picker/calendar/range-inputs.d.ts.map +1 -1
  124. package/date-range-picker/calendar/range-inputs.js +7 -5
  125. package/date-range-picker/calendar/range-inputs.js.map +1 -1
  126. package/date-range-picker/dropdown.d.ts +2 -1
  127. package/date-range-picker/dropdown.d.ts.map +1 -1
  128. package/date-range-picker/dropdown.js +7 -5
  129. package/date-range-picker/dropdown.js.map +1 -1
  130. package/date-range-picker/index.d.ts.map +1 -1
  131. package/date-range-picker/index.js +13 -4
  132. package/date-range-picker/index.js.map +1 -1
  133. package/date-range-picker/interfaces.d.ts +22 -21
  134. package/date-range-picker/interfaces.d.ts.map +1 -1
  135. package/date-range-picker/interfaces.js.map +1 -1
  136. package/date-range-picker/mode-switcher.d.ts +1 -1
  137. package/date-range-picker/mode-switcher.d.ts.map +1 -1
  138. package/date-range-picker/mode-switcher.js +4 -2
  139. package/date-range-picker/mode-switcher.js.map +1 -1
  140. package/date-range-picker/relative-range/index.d.ts +1 -1
  141. package/date-range-picker/relative-range/index.d.ts.map +1 -1
  142. package/date-range-picker/relative-range/index.js +14 -10
  143. package/date-range-picker/relative-range/index.js.map +1 -1
  144. package/flashbar/interfaces.d.ts +1 -0
  145. package/flashbar/interfaces.d.ts.map +1 -1
  146. package/flashbar/interfaces.js.map +1 -1
  147. package/flashbar/styles.css.js +45 -45
  148. package/flashbar/styles.scoped.css +169 -169
  149. package/flashbar/styles.selectors.js +45 -45
  150. package/form/interfaces.d.ts +1 -0
  151. package/form/interfaces.d.ts.map +1 -1
  152. package/form/interfaces.js.map +1 -1
  153. package/form-field/interfaces.d.ts +1 -0
  154. package/form-field/interfaces.d.ts.map +1 -1
  155. package/form-field/interfaces.js.map +1 -1
  156. package/help-panel/interfaces.d.ts +1 -0
  157. package/help-panel/interfaces.d.ts.map +1 -1
  158. package/help-panel/interfaces.js.map +1 -1
  159. package/i18n/context.d.ts +20 -0
  160. package/i18n/context.d.ts.map +1 -0
  161. package/i18n/context.js +17 -0
  162. package/i18n/context.js.map +1 -0
  163. package/i18n/index.d.ts +2 -0
  164. package/i18n/index.d.ts.map +1 -0
  165. package/i18n/index.js +4 -0
  166. package/i18n/index.js.map +1 -0
  167. package/i18n/messages/all.all.d.ts +3 -0
  168. package/i18n/messages/all.all.js +5473 -0
  169. package/i18n/messages/all.all.json +5518 -0
  170. package/i18n/messages/all.de.d.ts +3 -0
  171. package/i18n/messages/all.de.js +446 -0
  172. package/i18n/messages/all.de.json +454 -0
  173. package/i18n/messages/all.en-GB.d.ts +3 -0
  174. package/i18n/messages/all.en-GB.js +436 -0
  175. package/i18n/messages/all.en-GB.json +439 -0
  176. package/i18n/messages/all.en.d.ts +3 -0
  177. package/i18n/messages/all.en.js +722 -0
  178. package/i18n/messages/all.en.json +721 -0
  179. package/i18n/messages/all.es.d.ts +3 -0
  180. package/i18n/messages/all.es.js +437 -0
  181. package/i18n/messages/all.es.json +439 -0
  182. package/i18n/messages/all.fr.d.ts +3 -0
  183. package/i18n/messages/all.fr.js +451 -0
  184. package/i18n/messages/all.fr.json +452 -0
  185. package/i18n/messages/all.id.d.ts +3 -0
  186. package/i18n/messages/all.id.js +427 -0
  187. package/i18n/messages/all.id.json +435 -0
  188. package/i18n/messages/all.it.d.ts +3 -0
  189. package/i18n/messages/all.it.js +437 -0
  190. package/i18n/messages/all.it.json +441 -0
  191. package/i18n/messages/all.ja.d.ts +3 -0
  192. package/i18n/messages/all.ja.js +441 -0
  193. package/i18n/messages/all.ja.json +445 -0
  194. package/i18n/messages/all.ko.d.ts +3 -0
  195. package/i18n/messages/all.ko.js +419 -0
  196. package/i18n/messages/all.ko.json +426 -0
  197. package/i18n/messages/all.pt-BR.d.ts +3 -0
  198. package/i18n/messages/all.pt-BR.js +444 -0
  199. package/i18n/messages/all.pt-BR.json +443 -0
  200. package/i18n/messages/all.zh-CN.d.ts +3 -0
  201. package/i18n/messages/all.zh-CN.js +429 -0
  202. package/i18n/messages/all.zh-CN.json +434 -0
  203. package/i18n/messages/all.zh-TW.d.ts +3 -0
  204. package/i18n/messages/all.zh-TW.js +428 -0
  205. package/i18n/messages/all.zh-TW.json +433 -0
  206. package/i18n/provider.d.ts +20 -0
  207. package/i18n/provider.d.ts.map +1 -0
  208. package/i18n/provider.js +105 -0
  209. package/i18n/provider.js.map +1 -0
  210. package/i18n/testing.d.ts +8 -0
  211. package/i18n/testing.d.ts.map +1 -0
  212. package/i18n/testing.js +8 -0
  213. package/i18n/testing.js.map +1 -0
  214. package/input/interfaces.d.ts +1 -0
  215. package/input/interfaces.d.ts.map +1 -1
  216. package/input/interfaces.js.map +1 -1
  217. package/internal/base-component/styles.scoped.css +0 -2
  218. package/internal/components/dropdown-status/interfaces.d.ts +3 -0
  219. package/internal/components/dropdown-status/interfaces.d.ts.map +1 -1
  220. package/internal/components/dropdown-status/interfaces.js.map +1 -1
  221. package/internal/environment.js +1 -1
  222. package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  223. package/internal/generated/custom-css-properties/index.js +37 -32
  224. package/internal/generated/custom-css-properties/index.js.map +1 -1
  225. package/internal/i18n/context.d.ts +1 -19
  226. package/internal/i18n/context.d.ts.map +1 -1
  227. package/internal/i18n/context.js +1 -14
  228. package/internal/i18n/context.js.map +1 -1
  229. package/internal/i18n/index.d.ts +1 -1
  230. package/internal/i18n/index.js +1 -1
  231. package/internal/i18n/index.js.map +1 -1
  232. package/internal/i18n/messages/all.all.js +3541 -30
  233. package/internal/i18n/messages/all.all.json +3599 -52
  234. package/internal/i18n/messages/all.de.js +280 -1
  235. package/internal/i18n/messages/all.de.json +290 -3
  236. package/internal/i18n/messages/all.en-GB.js +270 -1
  237. package/internal/i18n/messages/all.en-GB.json +275 -3
  238. package/internal/i18n/messages/all.en.js +556 -1
  239. package/internal/i18n/messages/all.en.json +558 -4
  240. package/internal/i18n/messages/all.es.js +271 -1
  241. package/internal/i18n/messages/all.es.json +275 -3
  242. package/internal/i18n/messages/all.fr.js +289 -5
  243. package/internal/i18n/messages/all.fr.json +292 -7
  244. package/internal/i18n/messages/all.id.js +261 -1
  245. package/internal/i18n/messages/all.id.json +271 -3
  246. package/internal/i18n/messages/all.it.js +271 -1
  247. package/internal/i18n/messages/all.it.json +277 -3
  248. package/internal/i18n/messages/all.ja.js +267 -1
  249. package/internal/i18n/messages/all.ja.json +273 -3
  250. package/internal/i18n/messages/all.ko.js +257 -2
  251. package/internal/i18n/messages/all.ko.json +263 -4
  252. package/internal/i18n/messages/all.pt-BR.js +280 -3
  253. package/internal/i18n/messages/all.pt-BR.json +281 -5
  254. package/internal/i18n/messages/all.zh-CN.js +272 -9
  255. package/internal/i18n/messages/all.zh-CN.json +276 -11
  256. package/internal/i18n/messages/all.zh-TW.js +264 -1
  257. package/internal/i18n/messages/all.zh-TW.json +268 -3
  258. package/internal/i18n/provider.d.ts +1 -19
  259. package/internal/i18n/provider.d.ts.map +1 -1
  260. package/internal/i18n/provider.js +1 -102
  261. package/internal/i18n/provider.js.map +1 -1
  262. package/internal/i18n/testing.d.ts +1 -7
  263. package/internal/i18n/testing.d.ts.map +1 -1
  264. package/internal/i18n/testing.js +1 -5
  265. package/internal/i18n/testing.js.map +1 -1
  266. package/internal/manifest.json +1 -1
  267. package/link/interfaces.d.ts +1 -0
  268. package/link/interfaces.d.ts.map +1 -1
  269. package/link/interfaces.js.map +1 -1
  270. package/modal/interfaces.d.ts +1 -0
  271. package/modal/interfaces.d.ts.map +1 -1
  272. package/modal/interfaces.js.map +1 -1
  273. package/multiselect/interfaces.d.ts +1 -0
  274. package/multiselect/interfaces.d.ts.map +1 -1
  275. package/multiselect/interfaces.js.map +1 -1
  276. package/package.json +28 -1
  277. package/pagination/interfaces.d.ts +1 -0
  278. package/pagination/interfaces.d.ts.map +1 -1
  279. package/pagination/interfaces.js.map +1 -1
  280. package/property-filter/interfaces.d.ts +1 -0
  281. package/property-filter/interfaces.d.ts.map +1 -1
  282. package/property-filter/interfaces.js.map +1 -1
  283. package/s3-resource-selector/interfaces.d.ts +48 -47
  284. package/s3-resource-selector/interfaces.d.ts.map +1 -1
  285. package/s3-resource-selector/interfaces.js.map +1 -1
  286. package/s3-resource-selector/s3-in-context/index.d.ts.map +1 -1
  287. package/s3-resource-selector/s3-in-context/index.js +11 -9
  288. package/s3-resource-selector/s3-in-context/index.js.map +1 -1
  289. package/s3-resource-selector/s3-in-context/validation.d.ts +2 -1
  290. package/s3-resource-selector/s3-in-context/validation.d.ts.map +1 -1
  291. package/s3-resource-selector/s3-in-context/validation.js +2 -2
  292. package/s3-resource-selector/s3-in-context/validation.js.map +1 -1
  293. package/s3-resource-selector/s3-modal/basic-table.d.ts +2 -1
  294. package/s3-resource-selector/s3-modal/basic-table.d.ts.map +1 -1
  295. package/s3-resource-selector/s3-modal/basic-table.js +7 -7
  296. package/s3-resource-selector/s3-modal/basic-table.js.map +1 -1
  297. package/s3-resource-selector/s3-modal/buckets-table.d.ts.map +1 -1
  298. package/s3-resource-selector/s3-modal/buckets-table.js +10 -7
  299. package/s3-resource-selector/s3-modal/buckets-table.js.map +1 -1
  300. package/s3-resource-selector/s3-modal/index.d.ts.map +1 -1
  301. package/s3-resource-selector/s3-modal/index.js +8 -6
  302. package/s3-resource-selector/s3-modal/index.js.map +1 -1
  303. package/s3-resource-selector/s3-modal/objects-table.d.ts.map +1 -1
  304. package/s3-resource-selector/s3-modal/objects-table.js +10 -7
  305. package/s3-resource-selector/s3-modal/objects-table.js.map +1 -1
  306. package/s3-resource-selector/s3-modal/table-utils.d.ts +2 -1
  307. package/s3-resource-selector/s3-modal/table-utils.d.ts.map +1 -1
  308. package/s3-resource-selector/s3-modal/table-utils.js +5 -9
  309. package/s3-resource-selector/s3-modal/table-utils.js.map +1 -1
  310. package/s3-resource-selector/s3-modal/versions-table.d.ts.map +1 -1
  311. package/s3-resource-selector/s3-modal/versions-table.js +10 -7
  312. package/s3-resource-selector/s3-modal/versions-table.js.map +1 -1
  313. package/select/interfaces.d.ts +2 -0
  314. package/select/interfaces.d.ts.map +1 -1
  315. package/select/interfaces.js.map +1 -1
  316. package/split-panel/index.d.ts.map +1 -1
  317. package/split-panel/index.js +16 -13
  318. package/split-panel/index.js.map +1 -1
  319. package/split-panel/interfaces.d.ts +4 -3
  320. package/split-panel/interfaces.d.ts.map +1 -1
  321. package/split-panel/interfaces.js.map +1 -1
  322. package/split-panel/side.d.ts +3 -3
  323. package/split-panel/side.d.ts.map +1 -1
  324. package/split-panel/side.js +2 -2
  325. package/split-panel/side.js.map +1 -1
  326. package/table/body-cell/index.d.ts.map +1 -1
  327. package/table/body-cell/index.js +3 -1
  328. package/table/body-cell/index.js.map +1 -1
  329. package/table/body-cell/inline-editor.d.ts.map +1 -1
  330. package/table/body-cell/inline-editor.js +5 -1
  331. package/table/body-cell/inline-editor.js.map +1 -1
  332. package/table/header-cell/index.d.ts.map +1 -1
  333. package/table/header-cell/index.js +3 -1
  334. package/table/header-cell/index.js.map +1 -1
  335. package/table/interfaces.d.ts +2 -0
  336. package/table/interfaces.d.ts.map +1 -1
  337. package/table/interfaces.js.map +1 -1
  338. package/table/styles.css.js +36 -35
  339. package/table/styles.scoped.css +46 -43
  340. package/table/styles.selectors.js +36 -35
  341. package/tabs/interfaces.d.ts +1 -0
  342. package/tabs/interfaces.d.ts.map +1 -1
  343. package/tabs/interfaces.js.map +1 -1
  344. package/tag-editor/index.d.ts.map +1 -1
  345. package/tag-editor/index.js +19 -16
  346. package/tag-editor/index.js.map +1 -1
  347. package/tag-editor/interfaces.d.ts +33 -32
  348. package/tag-editor/interfaces.d.ts.map +1 -1
  349. package/tag-editor/interfaces.js.map +1 -1
  350. package/tag-editor/internal.d.ts +6 -6
  351. package/tag-editor/internal.d.ts.map +1 -1
  352. package/tag-editor/internal.js.map +1 -1
  353. package/tag-editor/validation.d.ts +2 -1
  354. package/tag-editor/validation.d.ts.map +1 -1
  355. package/tag-editor/validation.js +8 -8
  356. package/tag-editor/validation.js.map +1 -1
  357. package/token-group/interfaces.d.ts +1 -0
  358. package/token-group/interfaces.d.ts.map +1 -1
  359. package/token-group/interfaces.js.map +1 -1
  360. package/top-navigation/interfaces.d.ts +4 -3
  361. package/top-navigation/interfaces.d.ts.map +1 -1
  362. package/top-navigation/interfaces.js.map +1 -1
  363. package/top-navigation/internal.d.ts.map +1 -1
  364. package/top-navigation/internal.js +6 -4
  365. package/top-navigation/internal.js.map +1 -1
  366. package/top-navigation/parts/overflow-menu/index.d.ts.map +1 -1
  367. package/top-navigation/parts/overflow-menu/index.js +6 -2
  368. package/top-navigation/parts/overflow-menu/index.js.map +1 -1
  369. package/wizard/interfaces.d.ts +1 -0
  370. package/wizard/interfaces.d.ts.map +1 -1
  371. package/wizard/interfaces.js.map +1 -1
  372. package/wizard/styles.css.js +31 -32
  373. package/wizard/styles.scoped.css +64 -67
  374. package/wizard/styles.selectors.js +31 -32
  375. package/wizard/wizard-form.d.ts.map +1 -1
  376. package/wizard/wizard-form.js +1 -1
  377. package/wizard/wizard-form.js.map +1 -1
  378. package/app-layout/visual-refresh/app-bar.d.ts +0 -7
  379. package/app-layout/visual-refresh/app-bar.d.ts.map +0 -1
  380. package/app-layout/visual-refresh/app-bar.js.map +0 -1
@@ -25,6 +25,7 @@ export interface AlertProps extends BaseComponentProps {
25
25
  dismissible?: boolean;
26
26
  /**
27
27
  * Adds an aria-label to the dismiss button.
28
+ * @i18n
28
29
  */
29
30
  dismissAriaLabel?: string;
30
31
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["alert/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,yBAAiB,UAAU,CAAC;IAC1B,KAAY,IAAI,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;CAC7D;AAED,MAAM,WAAW,UAAW,SAAQ,kBAAkB;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC;IAEvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,yBAAyB,CAAC;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,yBAAyB,CAAC;CAC3C"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["alert/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,yBAAiB,UAAU,CAAC;IAC1B,KAAY,IAAI,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;CAC7D;AAED,MAAM,WAAW,UAAW,SAAQ,kBAAkB;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC;IAEvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,yBAAyB,CAAC;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,yBAAyB,CAAC;CAC3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["alert/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport namespace AlertProps {\n export type Type = 'success' | 'error' | 'warning' | 'info';\n}\n\nexport interface AlertProps extends BaseComponentProps {\n /**\n * Specifies the type of message you want to display.\n */\n type?: AlertProps.Type;\n\n /**\n * Provides a text alternative for the icon.\n */\n statusIconAriaLabel?: string;\n\n /**\n * Determines whether the alert is displayed.\n * @deprecated Use conditional rendering in your code instead of this prop.\n */\n visible?: boolean;\n /**\n * Adds a close button to the alert when set to `true`.\n * An `onDismiss` event is fired when a user clicks the button.\n */\n dismissible?: boolean;\n /**\n * Adds an aria-label to the dismiss button.\n */\n dismissAriaLabel?: string;\n /**\n * Primary text displayed in the element.\n */\n children?: React.ReactNode;\n /**\n * Heading text.\n */\n header?: React.ReactNode;\n /**\n * Displays an action button next to the message area when set.\n * An `onButtonClick` event is fired when the user clicks it.\n * @deprecated Replaced by `action`.\n */\n buttonText?: React.ReactNode;\n /**\n * Specifies an action for the alert message.\n * Although it is technically possible to insert any content, our UX guidelines only allow you to add a button.\n */\n action?: React.ReactNode;\n /**\n * Fired when the user clicks the close icon that is displayed\n * when the `dismissible` property is set to `true`.\n */\n onDismiss?: NonCancelableEventHandler;\n /**\n * Fired when the user clicks the action button.\n * **Deprecated** Replaced by `action`.\n */\n onButtonClick?: NonCancelableEventHandler;\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["alert/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport namespace AlertProps {\n export type Type = 'success' | 'error' | 'warning' | 'info';\n}\n\nexport interface AlertProps extends BaseComponentProps {\n /**\n * Specifies the type of message you want to display.\n */\n type?: AlertProps.Type;\n\n /**\n * Provides a text alternative for the icon.\n */\n statusIconAriaLabel?: string;\n\n /**\n * Determines whether the alert is displayed.\n * @deprecated Use conditional rendering in your code instead of this prop.\n */\n visible?: boolean;\n /**\n * Adds a close button to the alert when set to `true`.\n * An `onDismiss` event is fired when a user clicks the button.\n */\n dismissible?: boolean;\n /**\n * Adds an aria-label to the dismiss button.\n * @i18n\n */\n dismissAriaLabel?: string;\n /**\n * Primary text displayed in the element.\n */\n children?: React.ReactNode;\n /**\n * Heading text.\n */\n header?: React.ReactNode;\n /**\n * Displays an action button next to the message area when set.\n * An `onButtonClick` event is fired when the user clicks it.\n * @deprecated Replaced by `action`.\n */\n buttonText?: React.ReactNode;\n /**\n * Specifies an action for the alert message.\n * Although it is technically possible to insert any content, our UX guidelines only allow you to add a button.\n */\n action?: React.ReactNode;\n /**\n * Fired when the user clicks the close icon that is displayed\n * when the `dismissible` property is set to `true`.\n */\n onDismiss?: NonCancelableEventHandler;\n /**\n * Fired when the user clicks the action button.\n * **Deprecated** Replaced by `action`.\n */\n onButtonClick?: NonCancelableEventHandler;\n}\n"]}
@@ -1,29 +1,29 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "arrow": "awsui_arrow_1hpp3_b8mdm_93",
5
- "arrow-outer": "awsui_arrow-outer_1hpp3_b8mdm_97",
6
- "arrow-inner": "awsui_arrow-inner_1hpp3_b8mdm_97",
7
- "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_b8mdm_128",
8
- "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_b8mdm_128",
9
- "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_b8mdm_131",
10
- "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_b8mdm_131",
11
- "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_b8mdm_134",
12
- "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_b8mdm_134",
13
- "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_b8mdm_137",
14
- "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_b8mdm_137",
15
- "annotation": "awsui_annotation_1hpp3_b8mdm_145",
16
- "next-button": "awsui_next-button_1hpp3_b8mdm_146",
17
- "previous-button": "awsui_previous-button_1hpp3_b8mdm_147",
18
- "finish-button": "awsui_finish-button_1hpp3_b8mdm_148",
19
- "header": "awsui_header_1hpp3_b8mdm_149",
20
- "step-counter-content": "awsui_step-counter-content_1hpp3_b8mdm_150",
21
- "content": "awsui_content_1hpp3_b8mdm_151",
22
- "description": "awsui_description_1hpp3_b8mdm_155",
23
- "actionBar": "awsui_actionBar_1hpp3_b8mdm_160",
24
- "stepCounter": "awsui_stepCounter_1hpp3_b8mdm_167",
25
- "divider": "awsui_divider_1hpp3_b8mdm_171",
26
- "hotspot": "awsui_hotspot_1hpp3_b8mdm_175",
27
- "icon": "awsui_icon_1hpp3_b8mdm_215"
4
+ "arrow": "awsui_arrow_1hpp3_1y6xr_93",
5
+ "arrow-outer": "awsui_arrow-outer_1hpp3_1y6xr_97",
6
+ "arrow-inner": "awsui_arrow-inner_1hpp3_1y6xr_97",
7
+ "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_1y6xr_128",
8
+ "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_1y6xr_128",
9
+ "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_1y6xr_131",
10
+ "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_1y6xr_131",
11
+ "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_1y6xr_134",
12
+ "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_1y6xr_134",
13
+ "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_1y6xr_137",
14
+ "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_1y6xr_137",
15
+ "annotation": "awsui_annotation_1hpp3_1y6xr_145",
16
+ "next-button": "awsui_next-button_1hpp3_1y6xr_146",
17
+ "previous-button": "awsui_previous-button_1hpp3_1y6xr_147",
18
+ "finish-button": "awsui_finish-button_1hpp3_1y6xr_148",
19
+ "header": "awsui_header_1hpp3_1y6xr_149",
20
+ "step-counter-content": "awsui_step-counter-content_1hpp3_1y6xr_150",
21
+ "content": "awsui_content_1hpp3_1y6xr_151",
22
+ "description": "awsui_description_1hpp3_1y6xr_155",
23
+ "actionBar": "awsui_actionBar_1hpp3_1y6xr_160",
24
+ "stepCounter": "awsui_stepCounter_1hpp3_1y6xr_167",
25
+ "divider": "awsui_divider_1hpp3_1y6xr_171",
26
+ "hotspot": "awsui_hotspot_1hpp3_1y6xr_175",
27
+ "icon": "awsui_icon_1hpp3_1y6xr_215"
28
28
  };
29
29
 
@@ -90,11 +90,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
90
90
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
- .awsui_arrow_1hpp3_b8mdm_93:not(#\9) {
93
+ .awsui_arrow_1hpp3_1y6xr_93:not(#\9) {
94
94
  width: 20px;
95
95
  height: 10px;
96
96
  }
97
- .awsui_arrow-outer_1hpp3_b8mdm_97:not(#\9), .awsui_arrow-inner_1hpp3_b8mdm_97:not(#\9) {
97
+ .awsui_arrow-outer_1hpp3_1y6xr_97:not(#\9), .awsui_arrow-inner_1hpp3_1y6xr_97:not(#\9) {
98
98
  position: absolute;
99
99
  overflow: hidden;
100
100
  width: 20px;
@@ -102,7 +102,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
102
102
  top: 0;
103
103
  left: 0;
104
104
  }
105
- .awsui_arrow-outer_1hpp3_b8mdm_97:not(#\9)::after, .awsui_arrow-inner_1hpp3_b8mdm_97:not(#\9)::after {
105
+ .awsui_arrow-outer_1hpp3_1y6xr_97:not(#\9)::after, .awsui_arrow-inner_1hpp3_1y6xr_97:not(#\9)::after {
106
106
  content: "";
107
107
  box-sizing: border-box;
108
108
  display: inline-block;
@@ -115,26 +115,26 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
115
115
  transform: rotate(45deg);
116
116
  transform-origin: 0 100%;
117
117
  }
118
- .awsui_arrow-outer_1hpp3_b8mdm_97:not(#\9)::after {
118
+ .awsui_arrow-outer_1hpp3_1y6xr_97:not(#\9)::after {
119
119
  background-color: var(--color-border-status-info-jcpzpz, #0972d3);
120
120
  }
121
- .awsui_arrow-inner_1hpp3_b8mdm_97:not(#\9) {
121
+ .awsui_arrow-inner_1hpp3_1y6xr_97:not(#\9) {
122
122
  top: 2px;
123
123
  }
124
- .awsui_arrow-inner_1hpp3_b8mdm_97:not(#\9)::after {
124
+ .awsui_arrow-inner_1hpp3_1y6xr_97:not(#\9)::after {
125
125
  border-radius: 1px 0 0 0;
126
126
  background-color: var(--color-background-status-info-v9jgjy, #f2f8fd);
127
127
  }
128
- .awsui_arrow-position-right-top_1hpp3_b8mdm_128 > .awsui_arrow-outer_1hpp3_b8mdm_97:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_b8mdm_128 > .awsui_arrow-outer_1hpp3_b8mdm_97:not(#\9)::after {
128
+ .awsui_arrow-position-right-top_1hpp3_1y6xr_128 > .awsui_arrow-outer_1hpp3_1y6xr_97:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_1y6xr_128 > .awsui_arrow-outer_1hpp3_1y6xr_97:not(#\9)::after {
129
129
  box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-3z6non, rgba(0, 7, 22, 0.12));
130
130
  }
131
- .awsui_arrow-position-left-top_1hpp3_b8mdm_131 > .awsui_arrow-outer_1hpp3_b8mdm_97:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_b8mdm_131 > .awsui_arrow-outer_1hpp3_b8mdm_97:not(#\9)::after {
131
+ .awsui_arrow-position-left-top_1hpp3_1y6xr_131 > .awsui_arrow-outer_1hpp3_1y6xr_97:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_1y6xr_131 > .awsui_arrow-outer_1hpp3_1y6xr_97:not(#\9)::after {
132
132
  box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-3z6non, rgba(0, 7, 22, 0.12));
133
133
  }
134
- .awsui_arrow-position-top-center_1hpp3_b8mdm_134 > .awsui_arrow-outer_1hpp3_b8mdm_97:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_b8mdm_134 > .awsui_arrow-outer_1hpp3_b8mdm_97:not(#\9)::after {
134
+ .awsui_arrow-position-top-center_1hpp3_1y6xr_134 > .awsui_arrow-outer_1hpp3_1y6xr_97:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_1y6xr_134 > .awsui_arrow-outer_1hpp3_1y6xr_97:not(#\9)::after {
135
135
  box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-3z6non, rgba(0, 7, 22, 0.12));
136
136
  }
137
- .awsui_arrow-position-bottom-center_1hpp3_b8mdm_137 > .awsui_arrow-outer_1hpp3_b8mdm_97:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_b8mdm_137 > .awsui_arrow-outer_1hpp3_b8mdm_97:not(#\9)::after {
137
+ .awsui_arrow-position-bottom-center_1hpp3_1y6xr_137 > .awsui_arrow-outer_1hpp3_1y6xr_97:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_1y6xr_137 > .awsui_arrow-outer_1hpp3_1y6xr_97:not(#\9)::after {
138
138
  box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-3z6non, rgba(0, 7, 22, 0.12));
139
139
  }
140
140
 
@@ -142,37 +142,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
142
142
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
143
143
  SPDX-License-Identifier: Apache-2.0
144
144
  */
145
- .awsui_annotation_1hpp3_b8mdm_145:not(#\9),
146
- .awsui_next-button_1hpp3_b8mdm_146:not(#\9),
147
- .awsui_previous-button_1hpp3_b8mdm_147:not(#\9),
148
- .awsui_finish-button_1hpp3_b8mdm_148:not(#\9),
149
- .awsui_header_1hpp3_b8mdm_149:not(#\9),
150
- .awsui_step-counter-content_1hpp3_b8mdm_150:not(#\9),
151
- .awsui_content_1hpp3_b8mdm_151:not(#\9) {
145
+ .awsui_annotation_1hpp3_1y6xr_145:not(#\9),
146
+ .awsui_next-button_1hpp3_1y6xr_146:not(#\9),
147
+ .awsui_previous-button_1hpp3_1y6xr_147:not(#\9),
148
+ .awsui_finish-button_1hpp3_1y6xr_148:not(#\9),
149
+ .awsui_header_1hpp3_1y6xr_149:not(#\9),
150
+ .awsui_step-counter-content_1hpp3_1y6xr_150:not(#\9),
151
+ .awsui_content_1hpp3_1y6xr_151:not(#\9) {
152
152
  /* used in test-utils */
153
153
  }
154
154
 
155
- .awsui_description_1hpp3_b8mdm_155:not(#\9) {
155
+ .awsui_description_1hpp3_1y6xr_155:not(#\9) {
156
156
  overflow: hidden;
157
157
  margin-top: var(--space-xxs-a6783b, 4px);
158
158
  }
159
159
 
160
- .awsui_actionBar_1hpp3_b8mdm_160:not(#\9) {
160
+ .awsui_actionBar_1hpp3_1y6xr_160:not(#\9) {
161
161
  display: flex;
162
162
  justify-content: space-between;
163
163
  align-items: center;
164
164
  position: relative;
165
165
  }
166
166
 
167
- .awsui_stepCounter_1hpp3_b8mdm_167:not(#\9) {
167
+ .awsui_stepCounter_1hpp3_1y6xr_167:not(#\9) {
168
168
  margin-right: 20px;
169
169
  }
170
170
 
171
- .awsui_divider_1hpp3_b8mdm_171:not(#\9) {
171
+ .awsui_divider_1hpp3_1y6xr_171:not(#\9) {
172
172
  border-bottom: var(--border-divider-section-width-g0ay3c, 2px) solid var(--color-border-divider-default-4spq70, #e9ebed);
173
173
  }
174
174
 
175
- .awsui_hotspot_1hpp3_b8mdm_175:not(#\9) {
175
+ .awsui_hotspot_1hpp3_1y6xr_175:not(#\9) {
176
176
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
177
177
  border-collapse: separate;
178
178
  border-spacing: 0;
@@ -213,21 +213,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
213
213
  border: none;
214
214
  padding: 0;
215
215
  cursor: pointer;
216
- scroll-margin: var(--awsui-content-scroll-margin-rrnppm, 40px 0 0 0);
216
+ scroll-margin: var(--awsui-content-scroll-margin-en6003, 40px 0 0 0);
217
217
  width: 16px;
218
218
  height: 16px;
219
219
  }
220
- .awsui_hotspot_1hpp3_b8mdm_175:not(#\9):focus {
220
+ .awsui_hotspot_1hpp3_1y6xr_175:not(#\9):focus {
221
221
  outline: none;
222
222
  }
223
- body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_b8mdm_175:not(#\9):focus {
223
+ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1y6xr_175:not(#\9):focus {
224
224
  position: relative;
225
225
  }
226
- body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_b8mdm_175:not(#\9):focus {
226
+ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1y6xr_175:not(#\9):focus {
227
227
  outline: 2px dotted transparent;
228
228
  outline-offset: calc(2px - 1px);
229
229
  }
230
- body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_b8mdm_175:not(#\9):focus::before {
230
+ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1y6xr_175:not(#\9):focus::before {
231
231
  content: " ";
232
232
  display: block;
233
233
  position: absolute;
@@ -238,13 +238,13 @@ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_b8mdm_175:not(#\9):focu
238
238
  border-radius: var(--border-radius-control-circular-focus-ring-b5pkbt, 4px);
239
239
  box-shadow: 0 0 0 2px var(--color-border-item-focused-nwfxo7, #0972d3);
240
240
  }
241
- .awsui_hotspot_1hpp3_b8mdm_175 > .awsui_icon_1hpp3_b8mdm_215:not(#\9) {
241
+ .awsui_hotspot_1hpp3_1y6xr_175 > .awsui_icon_1hpp3_1y6xr_215:not(#\9) {
242
242
  position: relative;
243
243
  stroke: var(--color-text-link-default-zduqq6, #0972d3);
244
244
  }
245
- .awsui_hotspot_1hpp3_b8mdm_175:not(#\9):hover > .awsui_icon_1hpp3_b8mdm_215 {
245
+ .awsui_hotspot_1hpp3_1y6xr_175:not(#\9):hover > .awsui_icon_1hpp3_1y6xr_215 {
246
246
  stroke: var(--color-text-link-hover-ccw05n, #033160);
247
247
  }
248
- .awsui_hotspot_1hpp3_b8mdm_175:not(#\9):active > .awsui_icon_1hpp3_b8mdm_215 {
248
+ .awsui_hotspot_1hpp3_1y6xr_175:not(#\9):active > .awsui_icon_1hpp3_1y6xr_215 {
249
249
  stroke: var(--color-text-link-default-zduqq6, #0972d3);
250
250
  }
@@ -2,29 +2,29 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "arrow": "awsui_arrow_1hpp3_b8mdm_93",
6
- "arrow-outer": "awsui_arrow-outer_1hpp3_b8mdm_97",
7
- "arrow-inner": "awsui_arrow-inner_1hpp3_b8mdm_97",
8
- "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_b8mdm_128",
9
- "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_b8mdm_128",
10
- "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_b8mdm_131",
11
- "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_b8mdm_131",
12
- "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_b8mdm_134",
13
- "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_b8mdm_134",
14
- "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_b8mdm_137",
15
- "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_b8mdm_137",
16
- "annotation": "awsui_annotation_1hpp3_b8mdm_145",
17
- "next-button": "awsui_next-button_1hpp3_b8mdm_146",
18
- "previous-button": "awsui_previous-button_1hpp3_b8mdm_147",
19
- "finish-button": "awsui_finish-button_1hpp3_b8mdm_148",
20
- "header": "awsui_header_1hpp3_b8mdm_149",
21
- "step-counter-content": "awsui_step-counter-content_1hpp3_b8mdm_150",
22
- "content": "awsui_content_1hpp3_b8mdm_151",
23
- "description": "awsui_description_1hpp3_b8mdm_155",
24
- "actionBar": "awsui_actionBar_1hpp3_b8mdm_160",
25
- "stepCounter": "awsui_stepCounter_1hpp3_b8mdm_167",
26
- "divider": "awsui_divider_1hpp3_b8mdm_171",
27
- "hotspot": "awsui_hotspot_1hpp3_b8mdm_175",
28
- "icon": "awsui_icon_1hpp3_b8mdm_215"
5
+ "arrow": "awsui_arrow_1hpp3_1y6xr_93",
6
+ "arrow-outer": "awsui_arrow-outer_1hpp3_1y6xr_97",
7
+ "arrow-inner": "awsui_arrow-inner_1hpp3_1y6xr_97",
8
+ "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_1y6xr_128",
9
+ "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_1y6xr_128",
10
+ "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_1y6xr_131",
11
+ "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_1y6xr_131",
12
+ "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_1y6xr_134",
13
+ "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_1y6xr_134",
14
+ "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_1y6xr_137",
15
+ "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_1y6xr_137",
16
+ "annotation": "awsui_annotation_1hpp3_1y6xr_145",
17
+ "next-button": "awsui_next-button_1hpp3_1y6xr_146",
18
+ "previous-button": "awsui_previous-button_1hpp3_1y6xr_147",
19
+ "finish-button": "awsui_finish-button_1hpp3_1y6xr_148",
20
+ "header": "awsui_header_1hpp3_1y6xr_149",
21
+ "step-counter-content": "awsui_step-counter-content_1hpp3_1y6xr_150",
22
+ "content": "awsui_content_1hpp3_1y6xr_151",
23
+ "description": "awsui_description_1hpp3_1y6xr_155",
24
+ "actionBar": "awsui_actionBar_1hpp3_1y6xr_160",
25
+ "stepCounter": "awsui_stepCounter_1hpp3_1y6xr_167",
26
+ "divider": "awsui_divider_1hpp3_1y6xr_171",
27
+ "hotspot": "awsui_hotspot_1hpp3_1y6xr_175",
28
+ "icon": "awsui_icon_1hpp3_1y6xr_215"
29
29
  };
30
30
 
@@ -88,6 +88,7 @@ export interface AppLayoutProps extends BaseComponentProps {
88
88
  * toolsToggle: "Open help panel"
89
89
  * }
90
90
  * ```
91
+ * @i18n
91
92
  */
92
93
  ariaLabels?: AppLayoutProps.Labels;
93
94
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["app-layout/interfaces.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["app-layout/interfaces.ts"],"names":[],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["app-layout/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport interface AppLayoutProps extends BaseComponentProps {\n /**\n * Determines the default behavior of the component based on some predefined page layouts.\n * Individual properties will always take precedence over the default coming from the content type.\n */\n contentType?: AppLayoutProps.ContentType;\n\n /**\n * If `true`, disables outer paddings for the content slot.\n */\n disableContentPaddings?: boolean;\n\n /**\n * Activates a backwards-compatibility mode for applications with non-fixed headers and footers.\n * @deprecated This layout is being phased out and may miss some features.\n */\n disableBodyScroll?: boolean;\n\n /**\n * State of the navigation drawer.\n */\n navigationOpen?: boolean;\n\n /**\n * Navigation drawer width in pixels.\n */\n navigationWidth?: number;\n\n /**\n * If `true`, the navigation drawer is not displayed at all.\n */\n navigationHide?: boolean;\n\n /**\n * State of the tools drawer.\n */\n toolsOpen?: boolean;\n\n /**\n * If `true`, the tools drawer is not displayed at all.\n */\n toolsHide?: boolean;\n\n /**\n * Tools drawer width in pixels.\n */\n toolsWidth?: number;\n\n /**\n * Maximum main content panel width in pixels.\n *\n * If set to `Number.MAX_VALUE`, the main content panel will occupy the full available width.\n */\n maxContentWidth?: number;\n\n /**\n * Minimum main content panel width in pixels.\n */\n minContentWidth?: number;\n\n /**\n * If true, the notification slot is rendered above the scrollable\n * content area so it is always visible.\n *\n * Note that sticky notifications are not supported in Internet Explorer.\n */\n stickyNotifications?: boolean;\n\n /**\n * CSS selector for the application header.\n */\n headerSelector?: string;\n\n /**\n * CSS selector for the application footer.\n */\n footerSelector?: string;\n\n /**\n * Aria labels for the drawer operating buttons. Use this property to ensure accessibility.\n *\n * * `navigation` (string) - Label for the landmark that wraps the navigation drawer.\n * * `navigationClose` (string) - Label for the button that closes the navigation drawer.\n * * `navigationToggle` (string) - Label for the button that opens the navigation drawer.\n * * `notification` (string) - Label for the region that contains notification messages.\n * * `tools` (string) - Label for the landmark that wraps the tools drawer.\n * * `toolsClose` (string) - Label for the button that closes the tools drawer.\n * * `toolsToggle` (string) - Label for the button that opens the tools drawer.\n *\n * Example:\n * ```\n * {\n * navigation: \"Navigation drawer\",\n * navigationClose: \"Close navigation drawer\",\n * navigationToggle: \"Open navigation drawer\",\n * notifications: \"Notifications\",\n * tools: \"Help panel\",\n * toolsClose: \"Close help panel\",\n * toolsToggle: \"Open help panel\"\n * }\n * ```\n */\n ariaLabels?: AppLayoutProps.Labels;\n\n /**\n * Navigation drawer.\n */\n navigation?: React.ReactNode;\n\n /**\n * Top area of the page content.\n * @deprecated Replaced by the `header` slot of the [content layout](/components/content-layout/) component.\n * @visualrefresh\n */\n contentHeader?: React.ReactNode;\n\n /**\n * Disables overlap between `contentHeader` and `content` slots.\n * @deprecated Replaced by the `disableOverlap` property of the [content layout](/components/content-layout/) component.\n * @visualrefresh\n */\n disableContentHeaderOverlap?: boolean;\n\n /**\n * Main content.\n */\n content?: React.ReactNode;\n\n /**\n * Tools drawer.\n */\n tools?: React.ReactNode;\n\n /**\n * Displayed on top of the main content in the scrollable area.\n *\n * Conceived to contain notifications (flash messages).\n */\n notifications?: React.ReactNode;\n\n /**\n * Use this slot to add the [breadcrumb group component](/components/breadcrumb-group/) to the app layout.\n */\n breadcrumbs?: React.ReactNode;\n\n /**\n * Fired when the navigation drawer is toggled.\n */\n onNavigationChange?: NonCancelableEventHandler<AppLayoutProps.ChangeDetail>;\n\n /**\n * Fired when the tools drawer is toggled.\n */\n onToolsChange?: NonCancelableEventHandler<AppLayoutProps.ChangeDetail>;\n\n /**\n * Use this slot to add the [split panel component](/components/split-panel/) to the app layout.\n *\n * Note: If provided, this property should be set to `null` or `undefined` if a split panel should not be rendered.\n */\n splitPanel?: React.ReactNode;\n\n /**\n * The size of the split panel in pixels.\n */\n splitPanelSize?: number;\n\n /**\n * State of the split panel.\n */\n splitPanelOpen?: boolean;\n /**\n * Controls the split panel preferences.\n *\n * By default, the preference is `{ position: 'bottom' }`\n */\n splitPanelPreferences?: AppLayoutProps.SplitPanelPreferences;\n /**\n * Fired when the split panel is resized.\n */\n onSplitPanelResize?: NonCancelableEventHandler<AppLayoutProps.SplitPanelResizeDetail>;\n /**\n * Fired when the split panel is toggled.\n */\n onSplitPanelToggle?: NonCancelableEventHandler<AppLayoutProps.ChangeDetail>;\n /**\n * Fired when the split panel preferences change.\n */\n onSplitPanelPreferencesChange?: NonCancelableEventHandler<AppLayoutProps.SplitPanelPreferences>;\n}\n\nexport namespace AppLayoutProps {\n export type ContentType = 'default' | 'form' | 'table' | 'cards' | 'wizard' | 'dashboard';\n\n export interface Ref {\n /**\n * Manually closes the navigation drawer if it is necessary for the current\n * viewport size.\n */\n closeNavigationIfNecessary(): void;\n\n /**\n * Opens the tools panel if it is not already open. Note that it is preferable\n * to control the state by listening to `toolsChange` and providing `toolsOpen`.\n */\n openTools(): void;\n\n /**\n * Focuses the tools panel if it is open. Use this to focus the tools panel\n * after changing the content, for example when clicking on an 'info' link while\n * the panel is already open.\n */\n focusToolsClose(): void;\n }\n\n export interface Labels {\n notifications?: string;\n\n navigation?: string;\n navigationToggle?: string;\n navigationClose?: string;\n\n tools?: string;\n toolsToggle?: string;\n toolsClose?: string;\n }\n\n export interface ChangeDetail {\n open: boolean;\n }\n\n export interface SplitPanelResizeDetail {\n size: number;\n }\n\n export interface SplitPanelPreferences {\n position: 'side' | 'bottom';\n }\n // Duplicated the positions because using this definition in SplitPanelPreferences would display\n // 'AppLayoutProps.SplitPanelPosition' on the API docs instead of the string values.\n export type SplitPanelPosition = 'side' | 'bottom';\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["app-layout/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport interface AppLayoutProps extends BaseComponentProps {\n /**\n * Determines the default behavior of the component based on some predefined page layouts.\n * Individual properties will always take precedence over the default coming from the content type.\n */\n contentType?: AppLayoutProps.ContentType;\n\n /**\n * If `true`, disables outer paddings for the content slot.\n */\n disableContentPaddings?: boolean;\n\n /**\n * Activates a backwards-compatibility mode for applications with non-fixed headers and footers.\n * @deprecated This layout is being phased out and may miss some features.\n */\n disableBodyScroll?: boolean;\n\n /**\n * State of the navigation drawer.\n */\n navigationOpen?: boolean;\n\n /**\n * Navigation drawer width in pixels.\n */\n navigationWidth?: number;\n\n /**\n * If `true`, the navigation drawer is not displayed at all.\n */\n navigationHide?: boolean;\n\n /**\n * State of the tools drawer.\n */\n toolsOpen?: boolean;\n\n /**\n * If `true`, the tools drawer is not displayed at all.\n */\n toolsHide?: boolean;\n\n /**\n * Tools drawer width in pixels.\n */\n toolsWidth?: number;\n\n /**\n * Maximum main content panel width in pixels.\n *\n * If set to `Number.MAX_VALUE`, the main content panel will occupy the full available width.\n */\n maxContentWidth?: number;\n\n /**\n * Minimum main content panel width in pixels.\n */\n minContentWidth?: number;\n\n /**\n * If true, the notification slot is rendered above the scrollable\n * content area so it is always visible.\n *\n * Note that sticky notifications are not supported in Internet Explorer.\n */\n stickyNotifications?: boolean;\n\n /**\n * CSS selector for the application header.\n */\n headerSelector?: string;\n\n /**\n * CSS selector for the application footer.\n */\n footerSelector?: string;\n\n /**\n * Aria labels for the drawer operating buttons. Use this property to ensure accessibility.\n *\n * * `navigation` (string) - Label for the landmark that wraps the navigation drawer.\n * * `navigationClose` (string) - Label for the button that closes the navigation drawer.\n * * `navigationToggle` (string) - Label for the button that opens the navigation drawer.\n * * `notification` (string) - Label for the region that contains notification messages.\n * * `tools` (string) - Label for the landmark that wraps the tools drawer.\n * * `toolsClose` (string) - Label for the button that closes the tools drawer.\n * * `toolsToggle` (string) - Label for the button that opens the tools drawer.\n *\n * Example:\n * ```\n * {\n * navigation: \"Navigation drawer\",\n * navigationClose: \"Close navigation drawer\",\n * navigationToggle: \"Open navigation drawer\",\n * notifications: \"Notifications\",\n * tools: \"Help panel\",\n * toolsClose: \"Close help panel\",\n * toolsToggle: \"Open help panel\"\n * }\n * ```\n * @i18n\n */\n ariaLabels?: AppLayoutProps.Labels;\n\n /**\n * Navigation drawer.\n */\n navigation?: React.ReactNode;\n\n /**\n * Top area of the page content.\n * @deprecated Replaced by the `header` slot of the [content layout](/components/content-layout/) component.\n * @visualrefresh\n */\n contentHeader?: React.ReactNode;\n\n /**\n * Disables overlap between `contentHeader` and `content` slots.\n * @deprecated Replaced by the `disableOverlap` property of the [content layout](/components/content-layout/) component.\n * @visualrefresh\n */\n disableContentHeaderOverlap?: boolean;\n\n /**\n * Main content.\n */\n content?: React.ReactNode;\n\n /**\n * Tools drawer.\n */\n tools?: React.ReactNode;\n\n /**\n * Displayed on top of the main content in the scrollable area.\n *\n * Conceived to contain notifications (flash messages).\n */\n notifications?: React.ReactNode;\n\n /**\n * Use this slot to add the [breadcrumb group component](/components/breadcrumb-group/) to the app layout.\n */\n breadcrumbs?: React.ReactNode;\n\n /**\n * Fired when the navigation drawer is toggled.\n */\n onNavigationChange?: NonCancelableEventHandler<AppLayoutProps.ChangeDetail>;\n\n /**\n * Fired when the tools drawer is toggled.\n */\n onToolsChange?: NonCancelableEventHandler<AppLayoutProps.ChangeDetail>;\n\n /**\n * Use this slot to add the [split panel component](/components/split-panel/) to the app layout.\n *\n * Note: If provided, this property should be set to `null` or `undefined` if a split panel should not be rendered.\n */\n splitPanel?: React.ReactNode;\n\n /**\n * The size of the split panel in pixels.\n */\n splitPanelSize?: number;\n\n /**\n * State of the split panel.\n */\n splitPanelOpen?: boolean;\n /**\n * Controls the split panel preferences.\n *\n * By default, the preference is `{ position: 'bottom' }`\n */\n splitPanelPreferences?: AppLayoutProps.SplitPanelPreferences;\n /**\n * Fired when the split panel is resized.\n */\n onSplitPanelResize?: NonCancelableEventHandler<AppLayoutProps.SplitPanelResizeDetail>;\n /**\n * Fired when the split panel is toggled.\n */\n onSplitPanelToggle?: NonCancelableEventHandler<AppLayoutProps.ChangeDetail>;\n /**\n * Fired when the split panel preferences change.\n */\n onSplitPanelPreferencesChange?: NonCancelableEventHandler<AppLayoutProps.SplitPanelPreferences>;\n}\n\nexport namespace AppLayoutProps {\n export type ContentType = 'default' | 'form' | 'table' | 'cards' | 'wizard' | 'dashboard';\n\n export interface Ref {\n /**\n * Manually closes the navigation drawer if it is necessary for the current\n * viewport size.\n */\n closeNavigationIfNecessary(): void;\n\n /**\n * Opens the tools panel if it is not already open. Note that it is preferable\n * to control the state by listening to `toolsChange` and providing `toolsOpen`.\n */\n openTools(): void;\n\n /**\n * Focuses the tools panel if it is open. Use this to focus the tools panel\n * after changing the content, for example when clicking on an 'info' link while\n * the panel is already open.\n */\n focusToolsClose(): void;\n }\n\n export interface Labels {\n notifications?: string;\n\n navigation?: string;\n navigationToggle?: string;\n navigationClose?: string;\n\n tools?: string;\n toolsToggle?: string;\n toolsClose?: string;\n }\n\n export interface ChangeDetail {\n open: boolean;\n }\n\n export interface SplitPanelResizeDetail {\n size: number;\n }\n\n export interface SplitPanelPreferences {\n position: 'side' | 'bottom';\n }\n // Duplicated the positions because using this definition in SplitPanelPreferences would display\n // 'AppLayoutProps.SplitPanelPosition' on the API docs instead of the string values.\n export type SplitPanelPosition = 'side' | 'bottom';\n}\n"]}
@@ -1,8 +1,8 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "notifications": "awsui_notifications_1hmm4_16fds_9",
5
- "notifications-sticky": "awsui_notifications-sticky_1hmm4_16fds_10",
6
- "no-content-paddings": "awsui_no-content-paddings_1hmm4_16fds_25"
4
+ "notifications": "awsui_notifications_1hmm4_1xdn9_9",
5
+ "notifications-sticky": "awsui_notifications-sticky_1hmm4_1xdn9_10",
6
+ "no-content-paddings": "awsui_no-content-paddings_1hmm4_1xdn9_25"
7
7
  };
8
8
 
@@ -6,26 +6,26 @@
6
6
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
7
  SPDX-License-Identifier: Apache-2.0
8
8
  */
9
- .awsui_notifications_1hmm4_16fds_9:not(#\9),
10
- .awsui_notifications-sticky_1hmm4_16fds_10:not(#\9) {
9
+ .awsui_notifications_1hmm4_1xdn9_9:not(#\9),
10
+ .awsui_notifications-sticky_1hmm4_1xdn9_10:not(#\9) {
11
11
  z-index: 850;
12
12
  }
13
13
 
14
- .awsui_notifications_1hmm4_16fds_9:not(#\9) {
14
+ .awsui_notifications_1hmm4_1xdn9_9:not(#\9) {
15
15
  /* This is necessary for the z-index to have effect */
16
16
  position: relative;
17
17
  }
18
18
 
19
- .awsui_notifications-sticky_1hmm4_16fds_10:not(#\9) {
19
+ .awsui_notifications-sticky_1hmm4_1xdn9_10:not(#\9) {
20
20
  top: 0;
21
21
  position: sticky;
22
- --awsui-flashbar-sticky-bottom-margin-rrnppm: var(--space-xxl-eiq7g3, 32px);
22
+ --awsui-flashbar-sticky-bottom-margin-en6003: var(--space-xxl-eiq7g3, 32px);
23
23
  }
24
24
 
25
- .awsui_no-content-paddings_1hmm4_16fds_25:not(#\9) {
25
+ .awsui_no-content-paddings_1hmm4_1xdn9_25:not(#\9) {
26
26
  /*
27
27
  When using the disableContentPaddings option, the Flashbar will use this custom property to add additional space
28
28
  when the notification bar is rendered, to prevent it from overlapping the content.
29
29
  */
30
- --awsui-stacked-notifications-bottom-margin-rrnppm: var(--space-scaled-l-x5pubp, 20px);
30
+ --awsui-stacked-notifications-bottom-margin-en6003: var(--space-scaled-l-x5pubp, 20px);
31
31
  }
@@ -2,8 +2,8 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "notifications": "awsui_notifications_1hmm4_16fds_9",
6
- "notifications-sticky": "awsui_notifications-sticky_1hmm4_16fds_10",
7
- "no-content-paddings": "awsui_no-content-paddings_1hmm4_16fds_25"
5
+ "notifications": "awsui_notifications_1hmm4_1xdn9_9",
6
+ "notifications-sticky": "awsui_notifications-sticky_1hmm4_1xdn9_10",
7
+ "no-content-paddings": "awsui_no-content-paddings_1hmm4_1xdn9_25"
8
8
  };
9
9
 
@@ -1,7 +1,3 @@
1
1
  /// <reference types="react" />
2
- /**
3
- * The CSS class 'awsui-context-content-header' needs to be added to the root element so
4
- * that the design tokens used are overridden with the appropriate values.
5
- */
6
- export default function Background(): JSX.Element;
2
+ export default function Background(): JSX.Element | null;
7
3
  //# sourceMappingURL=background.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"background.d.ts","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/background.tsx"],"names":[],"mappings":";AAOA;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,gBAoBjC"}
1
+ {"version":3,"file":"background.d.ts","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/background.tsx"],"names":[],"mappings":";AAOA,MAAM,CAAC,OAAO,UAAU,UAAU,uBA4BjC"}
@@ -4,20 +4,15 @@ import React from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useAppLayoutInternals } from './context';
6
6
  import styles from './styles.css.js';
7
- /**
8
- * The CSS class 'awsui-context-content-header' needs to be added to the root element so
9
- * that the design tokens used are overridden with the appropriate values.
10
- */
11
7
  export default function Background() {
12
- const { hasNotificationsContent, hasStickyBackground, stickyNotifications } = useAppLayoutInternals();
8
+ const { breadcrumbs, contentHeader, dynamicOverlapHeight, hasNotificationsContent, hasStickyBackground, isMobile, stickyNotifications, } = useAppLayoutInternals();
9
+ if (!hasNotificationsContent && (!breadcrumbs || isMobile) && !contentHeader && dynamicOverlapHeight <= 0) {
10
+ return null;
11
+ }
13
12
  return (React.createElement("div", { className: clsx(styles.background, 'awsui-context-content-header') },
14
- React.createElement("div", { className: clsx(styles['notifications-appbar-header'], {
15
- [styles['has-notifications-content']]: hasNotificationsContent,
16
- [styles['has-sticky-background']]: hasStickyBackground,
17
- [styles['sticky-notifications']]: stickyNotifications,
18
- }) }),
19
- React.createElement("div", { className: clsx(styles.overlap, {
20
- [styles['has-sticky-background']]: hasStickyBackground,
21
- }) })));
13
+ React.createElement("div", { className: styles['scrolling-background'] }),
14
+ !isMobile && hasStickyBackground && (React.createElement("div", { className: clsx(styles['sticky-background'], {
15
+ [styles['has-sticky-notifications']]: stickyNotifications,
16
+ }) }))));
22
17
  }
23
18
  //# sourceMappingURL=background.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"background.js","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/background.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU;IAChC,MAAM,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEtG,OAAO,CACL,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,8BAA8B,CAAC;QACrE,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,6BAA6B,CAAC,EAAE;gBACrD,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC,EAAE,uBAAuB;gBAC9D,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,mBAAmB;gBACtD,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,EAAE,mBAAmB;aACtD,CAAC,GACF;QAEF,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE;gBAC9B,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,mBAAmB;aACvD,CAAC,GACF,CACE,CACP,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';\nimport { useAppLayoutInternals } from './context';\nimport styles from './styles.css.js';\n\n/**\n * The CSS class 'awsui-context-content-header' needs to be added to the root element so\n * that the design tokens used are overridden with the appropriate values.\n */\nexport default function Background() {\n const { hasNotificationsContent, hasStickyBackground, stickyNotifications } = useAppLayoutInternals();\n\n return (\n <div className={clsx(styles.background, 'awsui-context-content-header')}>\n <div\n className={clsx(styles['notifications-appbar-header'], {\n [styles['has-notifications-content']]: hasNotificationsContent,\n [styles['has-sticky-background']]: hasStickyBackground,\n [styles['sticky-notifications']]: stickyNotifications,\n })}\n />\n\n <div\n className={clsx(styles.overlap, {\n [styles['has-sticky-background']]: hasStickyBackground,\n })}\n />\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"background.js","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/background.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,UAAU;IAChC,MAAM,EACJ,WAAW,EACX,aAAa,EACb,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,QAAQ,EACR,mBAAmB,GACpB,GAAG,qBAAqB,EAAE,CAAC;IAE5B,IAAI,CAAC,uBAAuB,IAAI,CAAC,CAAC,WAAW,IAAI,QAAQ,CAAC,IAAI,CAAC,aAAa,IAAI,oBAAoB,IAAI,CAAC,EAAE;QACzG,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,8BAA8B,CAAC;QACrE,6BAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC,GAAI;QAEjD,CAAC,QAAQ,IAAI,mBAAmB,IAAI,CACnC,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE;gBAC3C,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,EAAE,mBAAmB;aAC1D,CAAC,GACF,CACH,CACG,CACP,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';\nimport { useAppLayoutInternals } from './context';\nimport styles from './styles.css.js';\n\nexport default function Background() {\n const {\n breadcrumbs,\n contentHeader,\n dynamicOverlapHeight,\n hasNotificationsContent,\n hasStickyBackground,\n isMobile,\n stickyNotifications,\n } = useAppLayoutInternals();\n\n if (!hasNotificationsContent && (!breadcrumbs || isMobile) && !contentHeader && dynamicOverlapHeight <= 0) {\n return null;\n }\n\n return (\n <div className={clsx(styles.background, 'awsui-context-content-header')}>\n <div className={styles['scrolling-background']} />\n\n {!isMobile && hasStickyBackground && (\n <div\n className={clsx(styles['sticky-background'], {\n [styles['has-sticky-notifications']]: stickyNotifications,\n })}\n />\n )}\n </div>\n );\n}\n"]}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export default function Breadcrumbs(): JSX.Element | null;
3
+ //# sourceMappingURL=breadcrumbs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/breadcrumbs.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,OAAO,UAAU,WAAW,uBAqBlC"}
@@ -0,0 +1,17 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import React from 'react';
4
+ import clsx from 'clsx';
5
+ import { useAppLayoutInternals } from './context';
6
+ import styles from './styles.css.js';
7
+ import testutilStyles from '../test-classes/styles.css.js';
8
+ export default function Breadcrumbs() {
9
+ const { breadcrumbs, hasStickyBackground, isMobile } = useAppLayoutInternals();
10
+ if (isMobile || !breadcrumbs) {
11
+ return null;
12
+ }
13
+ return (React.createElement("div", { className: clsx(styles.breadcrumbs, testutilStyles.breadcrumbs, {
14
+ [styles['has-sticky-background']]: hasStickyBackground,
15
+ }, 'awsui-context-content-header') }, breadcrumbs));
16
+ }
17
+ //# sourceMappingURL=breadcrumbs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumbs.js","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/breadcrumbs.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAE3D,MAAM,CAAC,OAAO,UAAU,WAAW;IACjC,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,QAAQ,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAE/E,IAAI,QAAQ,IAAI,CAAC,WAAW,EAAE;QAC5B,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,6BACE,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,WAAW,EAClB,cAAc,CAAC,WAAW,EAC1B;YACE,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,mBAAmB;SACvD,EACD,8BAA8B,CAC/B,IAEA,WAAW,CACR,CACP,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';\nimport { useAppLayoutInternals } from './context';\nimport styles from './styles.css.js';\nimport testutilStyles from '../test-classes/styles.css.js';\n\nexport default function Breadcrumbs() {\n const { breadcrumbs, hasStickyBackground, isMobile } = useAppLayoutInternals();\n\n if (isMobile || !breadcrumbs) {\n return null;\n }\n\n return (\n <div\n className={clsx(\n styles.breadcrumbs,\n testutilStyles.breadcrumbs,\n {\n [styles['has-sticky-background']]: hasStickyBackground,\n },\n 'awsui-context-content-header'\n )}\n >\n {breadcrumbs}\n </div>\n );\n}\n"]}
@@ -71,7 +71,7 @@ export const AppLayoutInternalsProvider = React.forwardRef((_a, forwardRef) => {
71
71
  * the controlled or uncontrolled state of the Navigation drawer. The logic
72
72
  * for determining the default state is colocated with the Navigation component.
73
73
  *
74
- * The callback that will be passed to the Navigation and AppBar
74
+ * The callback that will be passed to the Navigation and MobileToolbar
75
75
  * components to handle the click events that will change the state
76
76
  * of the Navigation drawer. It will set the Navigation state with the
77
77
  * useControllable hook and also fire the onNavigationChange function to
@@ -89,7 +89,7 @@ export const AppLayoutInternalsProvider = React.forwardRef((_a, forwardRef) => {
89
89
  * the controlled or uncontrolled state of the Tools drawer. The logic
90
90
  * for determining the default state is colocated with the Tools component.
91
91
  *
92
- * The callback that will be passed to the Navigation and AppBar
92
+ * The callback that will be passed to the Navigation and MobileToolbar
93
93
  * components to handle the click events that will change the state
94
94
  * of the Tools drawer. It will set the Tools state with the
95
95
  * useControllable hook and also fire the onToolsChange function to
@@ -296,7 +296,7 @@ export const AppLayoutInternalsProvider = React.forwardRef((_a, forwardRef) => {
296
296
  * be if there are sticky notifications. This could be any number including
297
297
  * zero based on how the child content renders. The hasNotificationsContent boolean
298
298
  * is simply centralizing the logic of the notifications height being > 0 such
299
- * that it is not repeated in various components (such as AppBar) that need to
299
+ * that it is not repeated in various components (such as MobileToolbar) that need to
300
300
  * know if the notifications slot is empty.
301
301
  */
302
302
  const [notificationsContainerQuery, notificationsElement] = useContainerQuery(rect => rect.height);