@cloudscape-design/components-themeable 3.0.1126 → 3.0.1127

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 (199) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/app-layout/resize/styles.scss +1 -1
  3. package/lib/internal/scss/app-layout/visual-refresh-toolbar/drawer/styles.scss +40 -0
  4. package/lib/internal/scss/app-layout/visual-refresh-toolbar/skeleton/styles.scss +20 -3
  5. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +87 -86
  6. package/lib/internal/template/alert/styles.css.js +27 -27
  7. package/lib/internal/template/alert/styles.scoped.css +50 -50
  8. package/lib/internal/template/alert/styles.selectors.js +27 -27
  9. package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
  10. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +32 -32
  11. package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
  12. package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
  13. package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
  14. package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
  15. package/lib/internal/template/app-layout/resize/styles.css.js +5 -5
  16. package/lib/internal/template/app-layout/resize/styles.scoped.css +13 -13
  17. package/lib/internal/template/app-layout/resize/styles.selectors.js +5 -5
  18. package/lib/internal/template/app-layout/runtime-drawer/index.d.ts +1 -0
  19. package/lib/internal/template/app-layout/runtime-drawer/index.d.ts.map +1 -1
  20. package/lib/internal/template/app-layout/runtime-drawer/index.js.map +1 -1
  21. package/lib/internal/template/app-layout/utils/use-drawers.d.ts +1 -1
  22. package/lib/internal/template/app-layout/utils/use-drawers.d.ts.map +1 -1
  23. package/lib/internal/template/app-layout/utils/use-drawers.js +4 -2
  24. package/lib/internal/template/app-layout/utils/use-drawers.js.map +1 -1
  25. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
  26. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -258
  27. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
  28. package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.d.ts +1 -1
  29. package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.d.ts.map +1 -1
  30. package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.js +2 -2
  31. package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.js.map +1 -1
  32. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.d.ts +13 -0
  33. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.d.ts.map +1 -0
  34. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.js +183 -0
  35. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.js.map +1 -0
  36. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-drawers.js +1 -1
  37. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-drawers.js.map +1 -1
  38. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts +2 -1
  39. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts.map +1 -1
  40. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.js +2 -2
  41. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.js.map +1 -1
  42. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +27 -26
  43. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +110 -76
  44. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +27 -26
  45. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/use-resize.d.ts +1 -1
  46. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/use-resize.d.ts.map +1 -1
  47. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/use-resize.js.map +1 -1
  48. package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.d.ts +15 -2
  49. package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.d.ts.map +1 -1
  50. package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.js.map +1 -1
  51. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.d.ts +2 -1
  52. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.d.ts.map +1 -1
  53. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.js +2 -2
  54. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.js.map +1 -1
  55. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
  56. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
  57. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
  58. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -25
  59. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +68 -52
  60. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -25
  61. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.d.ts +2 -1
  62. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.d.ts.map +1 -1
  63. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.js +2 -2
  64. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.js.map +1 -1
  65. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.d.ts +4 -0
  66. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.d.ts.map +1 -1
  67. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.js.map +1 -1
  68. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.d.ts.map +1 -1
  69. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.js +12 -0
  70. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.js.map +1 -1
  71. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-ai-drawer.d.ts.map +1 -1
  72. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-ai-drawer.js +0 -17
  73. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-ai-drawer.js.map +1 -1
  74. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map +1 -1
  75. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.js +108 -12
  76. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.js.map +1 -1
  77. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.d.ts +33 -0
  78. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.d.ts.map +1 -0
  79. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.js +85 -0
  80. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.js.map +1 -0
  81. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-skeleton-slots-attributes.d.ts.map +1 -1
  82. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-skeleton-slots-attributes.js +3 -1
  83. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-skeleton-slots-attributes.js.map +1 -1
  84. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts +8 -3
  85. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts.map +1 -1
  86. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js +34 -7
  87. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js.map +1 -1
  88. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts +4 -0
  89. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts.map +1 -1
  90. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js +7 -3
  91. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
  92. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/after-main-slot.d.ts.map +1 -1
  93. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/after-main-slot.js +7 -3
  94. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/after-main-slot.js.map +1 -1
  95. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.d.ts.map +1 -1
  96. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js +2 -2
  97. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js.map +1 -1
  98. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/bottom-content-slot.d.ts.map +1 -1
  99. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/bottom-content-slot.js +6 -2
  100. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/bottom-content-slot.js.map +1 -1
  101. package/lib/internal/template/attribute-editor/interfaces.d.ts +2 -0
  102. package/lib/internal/template/attribute-editor/interfaces.d.ts.map +1 -1
  103. package/lib/internal/template/attribute-editor/interfaces.js.map +1 -1
  104. package/lib/internal/template/attribute-editor/row.d.ts.map +1 -1
  105. package/lib/internal/template/attribute-editor/row.js +2 -2
  106. package/lib/internal/template/attribute-editor/row.js.map +1 -1
  107. package/lib/internal/template/attribute-editor/styles.css.js +15 -15
  108. package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
  109. package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
  110. package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
  111. package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
  112. package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
  113. package/lib/internal/template/button/styles.css.js +22 -22
  114. package/lib/internal/template/button/styles.scoped.css +256 -256
  115. package/lib/internal/template/button/styles.selectors.js +22 -22
  116. package/lib/internal/template/button-dropdown/interfaces.d.ts +3 -1
  117. package/lib/internal/template/button-dropdown/interfaces.d.ts.map +1 -1
  118. package/lib/internal/template/button-dropdown/interfaces.js.map +1 -1
  119. package/lib/internal/template/button-dropdown/item-element/index.d.ts.map +1 -1
  120. package/lib/internal/template/button-dropdown/item-element/index.js +1 -1
  121. package/lib/internal/template/button-dropdown/item-element/index.js.map +1 -1
  122. package/lib/internal/template/button-dropdown/item-element/styles.css.js +16 -16
  123. package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +27 -27
  124. package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +16 -16
  125. package/lib/internal/template/checkbox/styles.css.js +3 -3
  126. package/lib/internal/template/checkbox/styles.scoped.css +11 -11
  127. package/lib/internal/template/checkbox/styles.selectors.js +3 -3
  128. package/lib/internal/template/content-layout/styles.css.js +14 -14
  129. package/lib/internal/template/content-layout/styles.scoped.css +27 -27
  130. package/lib/internal/template/content-layout/styles.selectors.js +14 -14
  131. package/lib/internal/template/flashbar/styles.css.js +50 -50
  132. package/lib/internal/template/flashbar/styles.scoped.css +187 -187
  133. package/lib/internal/template/flashbar/styles.selectors.js +50 -50
  134. package/lib/internal/template/help-panel/styles.css.js +6 -6
  135. package/lib/internal/template/help-panel/styles.scoped.css +73 -73
  136. package/lib/internal/template/help-panel/styles.selectors.js +6 -6
  137. package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
  138. package/lib/internal/template/internal/components/autosuggest-input/index.d.ts.map +1 -1
  139. package/lib/internal/template/internal/components/autosuggest-input/index.js +30 -7
  140. package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
  141. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +20 -20
  142. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +48 -48
  143. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +20 -20
  144. package/lib/internal/template/internal/components/dropdown/styles.css.js +20 -20
  145. package/lib/internal/template/internal/components/dropdown/styles.scoped.css +38 -38
  146. package/lib/internal/template/internal/components/dropdown/styles.selectors.js +20 -20
  147. package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
  148. package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
  149. package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
  150. package/lib/internal/template/internal/environment.js +2 -2
  151. package/lib/internal/template/internal/environment.json +2 -2
  152. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +1 -0
  153. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  154. package/lib/internal/template/internal/generated/custom-css-properties/index.js +86 -85
  155. package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
  156. package/lib/internal/template/internal/plugins/controllers/drawers.d.ts +1 -1
  157. package/lib/internal/template/internal/plugins/controllers/drawers.d.ts.map +1 -1
  158. package/lib/internal/template/internal/plugins/controllers/drawers.js.map +1 -1
  159. package/lib/internal/template/internal/plugins/widget/index.d.ts +6 -1
  160. package/lib/internal/template/internal/plugins/widget/index.d.ts.map +1 -1
  161. package/lib/internal/template/internal/plugins/widget/index.js +11 -1
  162. package/lib/internal/template/internal/plugins/widget/index.js.map +1 -1
  163. package/lib/internal/template/internal/plugins/widget/interfaces.d.ts +2 -1
  164. package/lib/internal/template/internal/plugins/widget/interfaces.d.ts.map +1 -1
  165. package/lib/internal/template/internal/plugins/widget/interfaces.js.map +1 -1
  166. package/lib/internal/template/internal/plugins/widget.d.ts +1 -1
  167. package/lib/internal/template/internal/plugins/widget.d.ts.map +1 -1
  168. package/lib/internal/template/internal/plugins/widget.js +1 -1
  169. package/lib/internal/template/internal/plugins/widget.js.map +1 -1
  170. package/lib/internal/template/link/styles.css.js +20 -20
  171. package/lib/internal/template/link/styles.scoped.css +103 -103
  172. package/lib/internal/template/link/styles.selectors.js +20 -20
  173. package/lib/internal/template/radio-group/styles.css.js +10 -10
  174. package/lib/internal/template/radio-group/styles.scoped.css +22 -22
  175. package/lib/internal/template/radio-group/styles.selectors.js +10 -10
  176. package/lib/internal/template/slider/styles.css.js +26 -26
  177. package/lib/internal/template/slider/styles.scoped.css +86 -86
  178. package/lib/internal/template/slider/styles.selectors.js +26 -26
  179. package/lib/internal/template/spinner/styles.css.js +13 -13
  180. package/lib/internal/template/spinner/styles.scoped.css +39 -39
  181. package/lib/internal/template/spinner/styles.selectors.js +13 -13
  182. package/lib/internal/template/tag-editor/styles.css.js +3 -3
  183. package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
  184. package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
  185. package/lib/internal/template/text-content/styles.css.js +1 -1
  186. package/lib/internal/template/text-content/styles.scoped.css +66 -66
  187. package/lib/internal/template/text-content/styles.selectors.js +1 -1
  188. package/lib/internal/template/toggle/styles.css.js +10 -10
  189. package/lib/internal/template/toggle/styles.scoped.css +23 -23
  190. package/lib/internal/template/toggle/styles.selectors.js +10 -10
  191. package/lib/internal/template/top-navigation/interfaces.d.ts +1 -1
  192. package/lib/internal/template/top-navigation/interfaces.js.map +1 -1
  193. package/lib/internal/template/top-navigation/internal.d.ts.map +1 -1
  194. package/lib/internal/template/top-navigation/internal.js +0 -9
  195. package/lib/internal/template/top-navigation/internal.js.map +1 -1
  196. package/lib/internal/template/top-navigation/parts/utility.d.ts.map +1 -1
  197. package/lib/internal/template/top-navigation/parts/utility.js +1 -15
  198. package/lib/internal/template/top-navigation/parts/utility.js.map +1 -1
  199. package/package.json +1 -1
@@ -143,7 +143,7 @@
143
143
  */
144
144
  /* Style used for links in slots/components that are text heavy, to help links stand out among
145
145
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
146
- .awsui_text-content_6absk_rm1fv_146:not(#\9) {
146
+ .awsui_text-content_6absk_k48g3_146:not(#\9) {
147
147
  border-collapse: separate;
148
148
  border-spacing: 0;
149
149
  box-sizing: border-box;
@@ -176,12 +176,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
176
176
  /* stylelint-disable no-descending-specificity */
177
177
  /* stylelint-enable no-descending-specificity */
178
178
  }
179
- .awsui_text-content_6absk_rm1fv_146 h1:not(#\9),
180
- .awsui_text-content_6absk_rm1fv_146 h2:not(#\9),
181
- .awsui_text-content_6absk_rm1fv_146 h3:not(#\9),
182
- .awsui_text-content_6absk_rm1fv_146 h4:not(#\9),
183
- .awsui_text-content_6absk_rm1fv_146 h5:not(#\9),
184
- .awsui_text-content_6absk_rm1fv_146 p:not(#\9) {
179
+ .awsui_text-content_6absk_k48g3_146 h1:not(#\9),
180
+ .awsui_text-content_6absk_k48g3_146 h2:not(#\9),
181
+ .awsui_text-content_6absk_k48g3_146 h3:not(#\9),
182
+ .awsui_text-content_6absk_k48g3_146 h4:not(#\9),
183
+ .awsui_text-content_6absk_k48g3_146 h5:not(#\9),
184
+ .awsui_text-content_6absk_k48g3_146 p:not(#\9) {
185
185
  font-family: inherit;
186
186
  font-weight: normal;
187
187
  text-decoration: none;
@@ -190,14 +190,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
190
190
  padding-block: var(--space-xxs-jnczic, 4px);
191
191
  padding-inline: 0;
192
192
  }
193
- .awsui_text-content_6absk_rm1fv_146 h1:not(#\9),
194
- .awsui_text-content_6absk_rm1fv_146 h2:not(#\9),
195
- .awsui_text-content_6absk_rm1fv_146 h3:not(#\9),
196
- .awsui_text-content_6absk_rm1fv_146 h4:not(#\9),
197
- .awsui_text-content_6absk_rm1fv_146 h5:not(#\9) {
193
+ .awsui_text-content_6absk_k48g3_146 h1:not(#\9),
194
+ .awsui_text-content_6absk_k48g3_146 h2:not(#\9),
195
+ .awsui_text-content_6absk_k48g3_146 h3:not(#\9),
196
+ .awsui_text-content_6absk_k48g3_146 h4:not(#\9),
197
+ .awsui_text-content_6absk_k48g3_146 h5:not(#\9) {
198
198
  color: var(--color-text-heading-default-wlau07, #16191f);
199
199
  }
200
- .awsui_text-content_6absk_rm1fv_146 h1:not(#\9) {
200
+ .awsui_text-content_6absk_k48g3_146 h1:not(#\9) {
201
201
  font-size: var(--font-size-heading-xl-w5di2k, 28px);
202
202
  line-height: var(--line-height-heading-xl-vs1f23, 36px);
203
203
  letter-spacing: var(--letter-spacing-heading-xl-33zwds, normal);
@@ -205,7 +205,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
205
205
  -webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
206
206
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
207
207
  }
208
- .awsui_text-content_6absk_rm1fv_146 h2:not(#\9) {
208
+ .awsui_text-content_6absk_k48g3_146 h2:not(#\9) {
209
209
  font-size: var(--font-size-heading-l-qgg2za, 18px);
210
210
  line-height: var(--line-height-heading-l-vhgtnq, 22px);
211
211
  letter-spacing: var(--letter-spacing-heading-l-spdx5v, normal);
@@ -213,7 +213,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
213
213
  -webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
214
214
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
215
215
  }
216
- .awsui_text-content_6absk_rm1fv_146 h3:not(#\9) {
216
+ .awsui_text-content_6absk_k48g3_146 h3:not(#\9) {
217
217
  font-size: var(--font-size-heading-m-56jjln, 18px);
218
218
  line-height: var(--line-height-heading-m-irezqt, 22px);
219
219
  letter-spacing: var(--letter-spacing-heading-m-93y02s, normal);
@@ -221,7 +221,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
221
221
  -webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
222
222
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
223
223
  }
224
- .awsui_text-content_6absk_rm1fv_146 h4:not(#\9) {
224
+ .awsui_text-content_6absk_k48g3_146 h4:not(#\9) {
225
225
  font-size: var(--font-size-heading-s-yde02v, 16px);
226
226
  line-height: var(--line-height-heading-s-j2axh8, 20px);
227
227
  letter-spacing: var(--letter-spacing-heading-s-696sxe, normal);
@@ -229,34 +229,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
229
229
  -webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
230
230
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
231
231
  }
232
- .awsui_text-content_6absk_rm1fv_146 h5:not(#\9) {
232
+ .awsui_text-content_6absk_k48g3_146 h5:not(#\9) {
233
233
  font-size: var(--font-size-heading-xs-c20ika, 16px);
234
234
  line-height: var(--line-height-heading-xs-fuzanp, 20px);
235
235
  font-weight: var(--font-weight-heading-xs-79d2p7, 400);
236
236
  -webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
237
237
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
238
238
  }
239
- .awsui_text-content_6absk_rm1fv_146 b:not(#\9),
240
- .awsui_text-content_6absk_rm1fv_146 strong:not(#\9) {
239
+ .awsui_text-content_6absk_k48g3_146 b:not(#\9),
240
+ .awsui_text-content_6absk_k48g3_146 strong:not(#\9) {
241
241
  font-weight: 700;
242
242
  }
243
- .awsui_text-content_6absk_rm1fv_146 p:not(#\9) {
243
+ .awsui_text-content_6absk_k48g3_146 p:not(#\9) {
244
244
  font-size: var(--font-size-body-m-vv54cm, 14px);
245
245
  line-height: var(--line-height-body-m-bedeoh, 22px);
246
246
  color: inherit;
247
247
  }
248
- .awsui_text-content_6absk_rm1fv_146 small:not(#\9) {
248
+ .awsui_text-content_6absk_k48g3_146 small:not(#\9) {
249
249
  display: inline-block;
250
250
  font-size: var(--font-size-body-s-psgqn2, 12px);
251
251
  line-height: var(--line-height-body-s-otgtsr, 16px);
252
252
  letter-spacing: var(--letter-spacing-body-s-egrcsd, normal);
253
253
  color: var(--color-text-small-m20sr1, #687078);
254
254
  }
255
- .awsui_text-content_6absk_rm1fv_146 small a:not(#\9) {
255
+ .awsui_text-content_6absk_k48g3_146 small a:not(#\9) {
256
256
  font-size: inherit;
257
257
  text-underline-offset: 0.25em;
258
258
  text-decoration-thickness: 1px;
259
- color: var(--awsui-style-color-default-vl73au, var(--color-text-link-default-x6cnv5, #0073bb));
259
+ color: var(--awsui-style-color-default-lqnbqg, var(--color-text-link-default-x6cnv5, #0073bb));
260
260
  font-weight: inherit;
261
261
  letter-spacing: normal;
262
262
  text-decoration-line: underline;
@@ -267,44 +267,44 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
267
267
  transition-duration: var(--motion-duration-refresh-only-medium-h3wrr6, 0ms);
268
268
  }
269
269
  @media (prefers-reduced-motion: reduce) {
270
- .awsui_text-content_6absk_rm1fv_146 small a:not(#\9) {
270
+ .awsui_text-content_6absk_k48g3_146 small a:not(#\9) {
271
271
  animation: none;
272
272
  transition: none;
273
273
  }
274
274
  }
275
- .awsui-motion-disabled .awsui_text-content_6absk_rm1fv_146 small a:not(#\9), .awsui-mode-entering .awsui_text-content_6absk_rm1fv_146 small a:not(#\9) {
275
+ .awsui-motion-disabled .awsui_text-content_6absk_k48g3_146 small a:not(#\9), .awsui-mode-entering .awsui_text-content_6absk_k48g3_146 small a:not(#\9) {
276
276
  animation: none;
277
277
  transition: none;
278
278
  }
279
- .awsui_text-content_6absk_rm1fv_146 small a:not(#\9):hover {
279
+ .awsui_text-content_6absk_k48g3_146 small a:not(#\9):hover {
280
280
  cursor: pointer;
281
- color: var(--awsui-style-color-hover-vl73au, var(--color-text-link-hover-tk5gkv, #0a4a74));
281
+ color: var(--awsui-style-color-hover-lqnbqg, var(--color-text-link-hover-tk5gkv, #0a4a74));
282
282
  }
283
- .awsui_text-content_6absk_rm1fv_146 small a:not(#\9):focus {
283
+ .awsui_text-content_6absk_k48g3_146 small a:not(#\9):focus {
284
284
  outline: none;
285
285
  }
286
- .awsui_text-content_6absk_rm1fv_146 small a:not(#\9):active {
287
- color: var(--awsui-style-color-active-vl73au, var(--color-text-link-hover-tk5gkv, #0a4a74));
286
+ .awsui_text-content_6absk_k48g3_146 small a:not(#\9):active {
287
+ color: var(--awsui-style-color-active-lqnbqg, var(--color-text-link-hover-tk5gkv, #0a4a74));
288
288
  }
289
- .awsui_text-content_6absk_rm1fv_146 small a:not(#\9):active, .awsui_text-content_6absk_rm1fv_146 small a:not(#\9):focus, .awsui_text-content_6absk_rm1fv_146 small a:not(#\9):hover {
289
+ .awsui_text-content_6absk_k48g3_146 small a:not(#\9):active, .awsui_text-content_6absk_k48g3_146 small a:not(#\9):focus, .awsui_text-content_6absk_k48g3_146 small a:not(#\9):hover {
290
290
  text-decoration-line: underline;
291
291
  text-decoration-color: currentColor;
292
292
  }
293
- .awsui_text-content_6absk_rm1fv_146 code:not(#\9),
294
- .awsui_text-content_6absk_rm1fv_146 pre:not(#\9),
295
- .awsui_text-content_6absk_rm1fv_146 samp:not(#\9) {
293
+ .awsui_text-content_6absk_k48g3_146 code:not(#\9),
294
+ .awsui_text-content_6absk_k48g3_146 pre:not(#\9),
295
+ .awsui_text-content_6absk_k48g3_146 samp:not(#\9) {
296
296
  font-family: var(--font-family-monospace-fub2rr, Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace);
297
297
  background: transparent;
298
298
  }
299
- .awsui_text-content_6absk_rm1fv_146 code:not(#\9) {
299
+ .awsui_text-content_6absk_k48g3_146 code:not(#\9) {
300
300
  font-size: var(--font-size-body-s-psgqn2, 12px);
301
301
  line-height: var(--line-height-body-s-otgtsr, 16px);
302
302
  letter-spacing: var(--letter-spacing-body-s-egrcsd, normal);
303
303
  }
304
- .awsui_text-content_6absk_rm1fv_146 a:not(#\9) {
304
+ .awsui_text-content_6absk_k48g3_146 a:not(#\9) {
305
305
  text-underline-offset: 0.25em;
306
306
  text-decoration-thickness: 1px;
307
- color: var(--awsui-style-color-default-vl73au, var(--color-text-link-default-x6cnv5, #0073bb));
307
+ color: var(--awsui-style-color-default-lqnbqg, var(--color-text-link-default-x6cnv5, #0073bb));
308
308
  font-weight: inherit;
309
309
  letter-spacing: normal;
310
310
  text-decoration-line: underline;
@@ -315,30 +315,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
315
315
  transition-duration: var(--motion-duration-refresh-only-medium-h3wrr6, 0ms);
316
316
  }
317
317
  @media (prefers-reduced-motion: reduce) {
318
- .awsui_text-content_6absk_rm1fv_146 a:not(#\9) {
318
+ .awsui_text-content_6absk_k48g3_146 a:not(#\9) {
319
319
  animation: none;
320
320
  transition: none;
321
321
  }
322
322
  }
323
- .awsui-motion-disabled .awsui_text-content_6absk_rm1fv_146 a:not(#\9), .awsui-mode-entering .awsui_text-content_6absk_rm1fv_146 a:not(#\9) {
323
+ .awsui-motion-disabled .awsui_text-content_6absk_k48g3_146 a:not(#\9), .awsui-mode-entering .awsui_text-content_6absk_k48g3_146 a:not(#\9) {
324
324
  animation: none;
325
325
  transition: none;
326
326
  }
327
- .awsui_text-content_6absk_rm1fv_146 a:not(#\9):hover {
327
+ .awsui_text-content_6absk_k48g3_146 a:not(#\9):hover {
328
328
  cursor: pointer;
329
- color: var(--awsui-style-color-hover-vl73au, var(--color-text-link-hover-tk5gkv, #0a4a74));
329
+ color: var(--awsui-style-color-hover-lqnbqg, var(--color-text-link-hover-tk5gkv, #0a4a74));
330
330
  }
331
- .awsui_text-content_6absk_rm1fv_146 a:not(#\9):focus {
331
+ .awsui_text-content_6absk_k48g3_146 a:not(#\9):focus {
332
332
  outline: none;
333
333
  }
334
- .awsui_text-content_6absk_rm1fv_146 a:not(#\9):active {
335
- color: var(--awsui-style-color-active-vl73au, var(--color-text-link-hover-tk5gkv, #0a4a74));
334
+ .awsui_text-content_6absk_k48g3_146 a:not(#\9):active {
335
+ color: var(--awsui-style-color-active-lqnbqg, var(--color-text-link-hover-tk5gkv, #0a4a74));
336
336
  }
337
- .awsui_text-content_6absk_rm1fv_146 a:not(#\9):active, .awsui_text-content_6absk_rm1fv_146 a:not(#\9):focus, .awsui_text-content_6absk_rm1fv_146 a:not(#\9):hover {
337
+ .awsui_text-content_6absk_k48g3_146 a:not(#\9):active, .awsui_text-content_6absk_k48g3_146 a:not(#\9):focus, .awsui_text-content_6absk_k48g3_146 a:not(#\9):hover {
338
338
  text-decoration-line: underline;
339
339
  text-decoration-color: currentColor;
340
340
  }
341
- .awsui_text-content_6absk_rm1fv_146 a:not(#\9):focus {
341
+ .awsui_text-content_6absk_k48g3_146 a:not(#\9):focus {
342
342
  outline: thin dotted;
343
343
  outline: var(--border-link-focus-ring-outline-c5423y, 5px auto Highlight);
344
344
  outline-offset: 2px;
@@ -349,33 +349,33 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
349
349
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
350
350
  box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-woh62o, 0px) var(--color-border-item-focused-r5f6xl, #0073bb);
351
351
  }
352
- .awsui_text-content_6absk_rm1fv_146 ul:not(#\9),
353
- .awsui_text-content_6absk_rm1fv_146 ol:not(#\9) {
352
+ .awsui_text-content_6absk_k48g3_146 ul:not(#\9),
353
+ .awsui_text-content_6absk_k48g3_146 ol:not(#\9) {
354
354
  padding-inline-start: var(--space-l-3cws6j, 20px);
355
355
  margin-block: var(--space-scaled-xs-sppte9, 8px);
356
356
  margin-inline: 0;
357
357
  list-style-position: outside;
358
358
  }
359
- .awsui_text-content_6absk_rm1fv_146 ul + ul:not(#\9),
360
- .awsui_text-content_6absk_rm1fv_146 ul + ol:not(#\9),
361
- .awsui_text-content_6absk_rm1fv_146 ul > li + ul:not(#\9),
362
- .awsui_text-content_6absk_rm1fv_146 ul > li + li:not(#\9),
363
- .awsui_text-content_6absk_rm1fv_146 ul > li + ol:not(#\9),
364
- .awsui_text-content_6absk_rm1fv_146 ul > li > ul:not(#\9),
365
- .awsui_text-content_6absk_rm1fv_146 ul > li > ol:not(#\9),
366
- .awsui_text-content_6absk_rm1fv_146 ol + ul:not(#\9),
367
- .awsui_text-content_6absk_rm1fv_146 ol + ol:not(#\9),
368
- .awsui_text-content_6absk_rm1fv_146 ol > li + ul:not(#\9),
369
- .awsui_text-content_6absk_rm1fv_146 ol > li + li:not(#\9),
370
- .awsui_text-content_6absk_rm1fv_146 ol > li + ol:not(#\9),
371
- .awsui_text-content_6absk_rm1fv_146 ol > li > ul:not(#\9),
372
- .awsui_text-content_6absk_rm1fv_146 ol > li > ol:not(#\9) {
359
+ .awsui_text-content_6absk_k48g3_146 ul + ul:not(#\9),
360
+ .awsui_text-content_6absk_k48g3_146 ul + ol:not(#\9),
361
+ .awsui_text-content_6absk_k48g3_146 ul > li + ul:not(#\9),
362
+ .awsui_text-content_6absk_k48g3_146 ul > li + li:not(#\9),
363
+ .awsui_text-content_6absk_k48g3_146 ul > li + ol:not(#\9),
364
+ .awsui_text-content_6absk_k48g3_146 ul > li > ul:not(#\9),
365
+ .awsui_text-content_6absk_k48g3_146 ul > li > ol:not(#\9),
366
+ .awsui_text-content_6absk_k48g3_146 ol + ul:not(#\9),
367
+ .awsui_text-content_6absk_k48g3_146 ol + ol:not(#\9),
368
+ .awsui_text-content_6absk_k48g3_146 ol > li + ul:not(#\9),
369
+ .awsui_text-content_6absk_k48g3_146 ol > li + li:not(#\9),
370
+ .awsui_text-content_6absk_k48g3_146 ol > li + ol:not(#\9),
371
+ .awsui_text-content_6absk_k48g3_146 ol > li > ul:not(#\9),
372
+ .awsui_text-content_6absk_k48g3_146 ol > li > ol:not(#\9) {
373
373
  padding-block-start: var(--space-scaled-xxs-jatbiv, 4px);
374
374
  }
375
- .awsui_text-content_6absk_rm1fv_146 ul > li > ul:not(#\9),
376
- .awsui_text-content_6absk_rm1fv_146 ul > li > ol:not(#\9),
377
- .awsui_text-content_6absk_rm1fv_146 ol > li > ul:not(#\9),
378
- .awsui_text-content_6absk_rm1fv_146 ol > li > ol:not(#\9) {
375
+ .awsui_text-content_6absk_k48g3_146 ul > li > ul:not(#\9),
376
+ .awsui_text-content_6absk_k48g3_146 ul > li > ol:not(#\9),
377
+ .awsui_text-content_6absk_k48g3_146 ol > li > ul:not(#\9),
378
+ .awsui_text-content_6absk_k48g3_146 ol > li > ol:not(#\9) {
379
379
  margin-block: 0;
380
380
  margin-inline: 0;
381
381
  }
@@ -2,6 +2,6 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "text-content": "awsui_text-content_6absk_rm1fv_146"
5
+ "text-content": "awsui_text-content_6absk_k48g3_146"
6
6
  };
7
7
 
@@ -1,15 +1,15 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_4yi2u_1i6tq_145",
5
- "outline": "awsui_outline_4yi2u_1i6tq_178",
6
- "toggle-control": "awsui_toggle-control_4yi2u_1i6tq_201",
7
- "toggle-control-checked": "awsui_toggle-control-checked_4yi2u_1i6tq_214",
8
- "toggle-control-disabled": "awsui_toggle-control-disabled_4yi2u_1i6tq_217",
9
- "toggle-control-readonly": "awsui_toggle-control-readonly_4yi2u_1i6tq_223",
10
- "toggle-handle": "awsui_toggle-handle_4yi2u_1i6tq_227",
11
- "toggle-handle-checked": "awsui_toggle-handle-checked_4yi2u_1i6tq_252",
12
- "toggle-handle-disabled": "awsui_toggle-handle-disabled_4yi2u_1i6tq_259",
13
- "toggle-handle-readonly": "awsui_toggle-handle-readonly_4yi2u_1i6tq_263"
4
+ "root": "awsui_root_4yi2u_9z51l_145",
5
+ "outline": "awsui_outline_4yi2u_9z51l_178",
6
+ "toggle-control": "awsui_toggle-control_4yi2u_9z51l_201",
7
+ "toggle-control-checked": "awsui_toggle-control-checked_4yi2u_9z51l_214",
8
+ "toggle-control-disabled": "awsui_toggle-control-disabled_4yi2u_9z51l_217",
9
+ "toggle-control-readonly": "awsui_toggle-control-readonly_4yi2u_9z51l_223",
10
+ "toggle-handle": "awsui_toggle-handle_4yi2u_9z51l_227",
11
+ "toggle-handle-checked": "awsui_toggle-handle-checked_4yi2u_9z51l_252",
12
+ "toggle-handle-disabled": "awsui_toggle-handle-disabled_4yi2u_9z51l_259",
13
+ "toggle-handle-readonly": "awsui_toggle-handle-readonly_4yi2u_9z51l_263"
14
14
  };
15
15
 
@@ -142,7 +142,7 @@
142
142
  */
143
143
  /* Style used for links in slots/components that are text heavy, to help links stand out among
144
144
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
145
- .awsui_root_4yi2u_1i6tq_145:not(#\9) {
145
+ .awsui_root_4yi2u_9z51l_145:not(#\9) {
146
146
  border-collapse: separate;
147
147
  border-spacing: 0;
148
148
  box-sizing: border-box;
@@ -175,15 +175,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
175
175
  display: flex;
176
176
  }
177
177
 
178
- .awsui_outline_4yi2u_1i6tq_178:not(#\9) {
179
- --awsui-style-focus-ring-box-shadow-vl73au: 0 0 0 var(--awsui-style-focus-ring-border-width-vl73au, 2px) var(--awsui-style-focus-ring-border-color-vl73au, var(--color-border-item-focused-r5f6xl, #0073bb));
178
+ .awsui_outline_4yi2u_9z51l_178:not(#\9) {
179
+ --awsui-style-focus-ring-box-shadow-lqnbqg: 0 0 0 var(--awsui-style-focus-ring-border-width-lqnbqg, 2px) var(--awsui-style-focus-ring-border-color-lqnbqg, var(--color-border-item-focused-r5f6xl, #0073bb));
180
180
  position: relative;
181
181
  }
182
- .awsui_outline_4yi2u_1i6tq_178:not(#\9) {
182
+ .awsui_outline_4yi2u_9z51l_178:not(#\9) {
183
183
  outline: 2px dotted transparent;
184
184
  outline-offset: calc(2px - 1px);
185
185
  }
186
- .awsui_outline_4yi2u_1i6tq_178:not(#\9)::before {
186
+ .awsui_outline_4yi2u_9z51l_178:not(#\9)::before {
187
187
  content: " ";
188
188
  display: block;
189
189
  position: absolute;
@@ -191,14 +191,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
191
191
  inset-block-start: calc(-1 * 2px);
192
192
  inline-size: calc(100% + 2px + 2px);
193
193
  block-size: calc(100% + 2px + 2px);
194
- border-start-start-radius: var(--awsui-style-focus-ring-border-radius-vl73au, var(--border-radius-control-default-focus-ring-9xsko1, 2px));
195
- border-start-end-radius: var(--awsui-style-focus-ring-border-radius-vl73au, var(--border-radius-control-default-focus-ring-9xsko1, 2px));
196
- border-end-start-radius: var(--awsui-style-focus-ring-border-radius-vl73au, var(--border-radius-control-default-focus-ring-9xsko1, 2px));
197
- border-end-end-radius: var(--awsui-style-focus-ring-border-radius-vl73au, var(--border-radius-control-default-focus-ring-9xsko1, 2px));
198
- box-shadow: var(--awsui-style-focus-ring-box-shadow-vl73au);
194
+ border-start-start-radius: var(--awsui-style-focus-ring-border-radius-lqnbqg, var(--border-radius-control-default-focus-ring-9xsko1, 2px));
195
+ border-start-end-radius: var(--awsui-style-focus-ring-border-radius-lqnbqg, var(--border-radius-control-default-focus-ring-9xsko1, 2px));
196
+ border-end-start-radius: var(--awsui-style-focus-ring-border-radius-lqnbqg, var(--border-radius-control-default-focus-ring-9xsko1, 2px));
197
+ border-end-end-radius: var(--awsui-style-focus-ring-border-radius-lqnbqg, var(--border-radius-control-default-focus-ring-9xsko1, 2px));
198
+ box-shadow: var(--awsui-style-focus-ring-box-shadow-lqnbqg);
199
199
  }
200
200
 
201
- .awsui_toggle-control_4yi2u_1i6tq_201:not(#\9) {
201
+ .awsui_toggle-control_4yi2u_9z51l_201:not(#\9) {
202
202
  forced-color-adjust: none;
203
203
  margin-block-start: calc((var(--line-height-body-m-bedeoh, 22px) - 16px) / 2);
204
204
  min-block-size: 16px;
@@ -211,20 +211,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
211
211
  border-end-start-radius: 8px;
212
212
  border-end-end-radius: 8px;
213
213
  }
214
- .awsui_toggle-control-checked_4yi2u_1i6tq_214:not(#\9) {
214
+ .awsui_toggle-control-checked_4yi2u_9z51l_214:not(#\9) {
215
215
  background: var(--color-background-control-checked-se0x0e, #0073bb);
216
216
  }
217
- .awsui_toggle-control-disabled_4yi2u_1i6tq_217:not(#\9) {
217
+ .awsui_toggle-control-disabled_4yi2u_9z51l_217:not(#\9) {
218
218
  background: var(--color-background-control-disabled-2ixett, #d5dbdb);
219
219
  }
220
- .awsui_toggle-control-disabled_4yi2u_1i6tq_217.awsui_toggle-control-checked_4yi2u_1i6tq_214:not(#\9) {
220
+ .awsui_toggle-control-disabled_4yi2u_9z51l_217.awsui_toggle-control-checked_4yi2u_9z51l_214:not(#\9) {
221
221
  background: var(--color-background-toggle-checked-disabled-i9a3za, #99cbe4);
222
222
  }
223
- .awsui_toggle-control-readonly_4yi2u_1i6tq_223:not(#\9) {
223
+ .awsui_toggle-control-readonly_4yi2u_9z51l_223:not(#\9) {
224
224
  background: var(--color-background-control-disabled-2ixett, #d5dbdb);
225
225
  }
226
226
 
227
- .awsui_toggle-handle_4yi2u_1i6tq_227:not(#\9) {
227
+ .awsui_toggle-handle_4yi2u_9z51l_227:not(#\9) {
228
228
  display: block;
229
229
  position: absolute;
230
230
  border-start-start-radius: 6px;
@@ -240,29 +240,29 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
240
240
  transition: transform var(--motion-duration-fast-okdxjh, 90ms) var(--motion-easing-ease-out-quart-x9fbvw, cubic-bezier(0.165, 0.84, 0.44, 1)), background-color var(--motion-duration-fast-okdxjh, 90ms) var(--motion-easing-ease-out-quart-x9fbvw, cubic-bezier(0.165, 0.84, 0.44, 1));
241
241
  }
242
242
  @media (prefers-reduced-motion: reduce) {
243
- .awsui_toggle-handle_4yi2u_1i6tq_227:not(#\9) {
243
+ .awsui_toggle-handle_4yi2u_9z51l_227:not(#\9) {
244
244
  animation: none;
245
245
  transition: none;
246
246
  }
247
247
  }
248
- .awsui-motion-disabled .awsui_toggle-handle_4yi2u_1i6tq_227:not(#\9), .awsui-mode-entering .awsui_toggle-handle_4yi2u_1i6tq_227:not(#\9) {
248
+ .awsui-motion-disabled .awsui_toggle-handle_4yi2u_9z51l_227:not(#\9), .awsui-mode-entering .awsui_toggle-handle_4yi2u_9z51l_227:not(#\9) {
249
249
  animation: none;
250
250
  transition: none;
251
251
  }
252
- .awsui_toggle-handle-checked_4yi2u_1i6tq_252:not(#\9) {
252
+ .awsui_toggle-handle-checked_4yi2u_9z51l_252:not(#\9) {
253
253
  transform: translateX(8px);
254
254
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
255
255
  }
256
- .awsui_toggle-handle-checked_4yi2u_1i6tq_252:not(#\9):dir(rtl) {
256
+ .awsui_toggle-handle-checked_4yi2u_9z51l_252:not(#\9):dir(rtl) {
257
257
  transform: translateX(-8px);
258
258
  }
259
- .awsui_toggle-handle-disabled_4yi2u_1i6tq_259:not(#\9) {
259
+ .awsui_toggle-handle-disabled_4yi2u_9z51l_259:not(#\9) {
260
260
  background: var(--color-foreground-control-disabled-kj751b, #ffffff);
261
261
  box-shadow: none;
262
262
  }
263
- .awsui_toggle-handle-readonly_4yi2u_1i6tq_263:not(#\9):not(.awsui_toggle-handle-disabled_4yi2u_1i6tq_259) {
263
+ .awsui_toggle-handle-readonly_4yi2u_9z51l_263:not(#\9):not(.awsui_toggle-handle-disabled_4yi2u_9z51l_259) {
264
264
  box-shadow: none;
265
265
  }
266
- .awsui_toggle-handle-readonly_4yi2u_1i6tq_263:not(#\9):not(.awsui_toggle-handle-disabled_4yi2u_1i6tq_259).awsui_toggle-handle-checked_4yi2u_1i6tq_252 {
266
+ .awsui_toggle-handle-readonly_4yi2u_9z51l_263:not(#\9):not(.awsui_toggle-handle-disabled_4yi2u_9z51l_259).awsui_toggle-handle-checked_4yi2u_9z51l_252 {
267
267
  background: var(--color-foreground-control-read-only-cgy3yn, #687078);
268
268
  }
@@ -2,15 +2,15 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_4yi2u_1i6tq_145",
6
- "outline": "awsui_outline_4yi2u_1i6tq_178",
7
- "toggle-control": "awsui_toggle-control_4yi2u_1i6tq_201",
8
- "toggle-control-checked": "awsui_toggle-control-checked_4yi2u_1i6tq_214",
9
- "toggle-control-disabled": "awsui_toggle-control-disabled_4yi2u_1i6tq_217",
10
- "toggle-control-readonly": "awsui_toggle-control-readonly_4yi2u_1i6tq_223",
11
- "toggle-handle": "awsui_toggle-handle_4yi2u_1i6tq_227",
12
- "toggle-handle-checked": "awsui_toggle-handle-checked_4yi2u_1i6tq_252",
13
- "toggle-handle-disabled": "awsui_toggle-handle-disabled_4yi2u_1i6tq_259",
14
- "toggle-handle-readonly": "awsui_toggle-handle-readonly_4yi2u_1i6tq_263"
5
+ "root": "awsui_root_4yi2u_9z51l_145",
6
+ "outline": "awsui_outline_4yi2u_9z51l_178",
7
+ "toggle-control": "awsui_toggle-control_4yi2u_9z51l_201",
8
+ "toggle-control-checked": "awsui_toggle-control-checked_4yi2u_9z51l_214",
9
+ "toggle-control-disabled": "awsui_toggle-control-disabled_4yi2u_9z51l_217",
10
+ "toggle-control-readonly": "awsui_toggle-control-readonly_4yi2u_9z51l_223",
11
+ "toggle-handle": "awsui_toggle-handle_4yi2u_9z51l_227",
12
+ "toggle-handle-checked": "awsui_toggle-handle-checked_4yi2u_9z51l_252",
13
+ "toggle-handle-disabled": "awsui_toggle-handle-disabled_4yi2u_9z51l_259",
14
+ "toggle-handle-readonly": "awsui_toggle-handle-readonly_4yi2u_9z51l_263"
15
15
  };
16
16
 
@@ -50,7 +50,7 @@ export interface TopNavigationProps extends BaseComponentProps {
50
50
  * ### menu-dropdown
51
51
  *
52
52
  * * `description` (string) - The description displayed inside the dropdown.
53
- * * `items` (ButtonDropdownProps.Items) - An array of dropdown items. This follows the same structure as the `items` property of the [button dropdown component](/components/button-dropdown), with the exception of the checkbox item type.
53
+ * * `items` (ButtonDropdownProps.Items) - An array of dropdown items. This follows the same structure as the `items` property of the [button dropdown component](/components/button-dropdown).
54
54
  * * `onItemClick` (NonCancelableEventHandler<ButtonDropdownProps.ItemClickDetails>) - Specifies the event handler called when a dropdown item is selected.
55
55
  * * `onItemFollow` (NonCancelableEventHandler<ButtonDropdownProps.ItemClickDetails>) - Specifies the event handler called when a dropdown item is selected without pressing modifier keys, and the item has an `href` set.
56
56
  * * `expandableGroups` (boolean) - Controls expandability of the item groups.
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/top-navigation/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ButtonProps } from '../button/interfaces';\nimport { ButtonDropdownProps } from '../button-dropdown/interfaces';\nimport { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { CancelableEventHandler } from '../internal/events';\n\nexport interface TopNavigationProps extends BaseComponentProps {\n /**\n * Properties describing the product identity. They are as follows:\n *\n * * `title` (string) - Specifies the title text.\n * * `logo` ({ src: string, alt: string }) - Specifies the logo for the product. Use fixed width and height for SVG images to ensure proper rendering.\n * * `href` (string) - Specifies the `href` that the header links to.\n * * `onFollow` (() => void) - Specifies the event handler called when the identity is clicked without any modifier keys.\n */\n identity: TopNavigationProps.Identity;\n\n /**\n * Use with an input or autosuggest control for a global search query.\n */\n search?: React.ReactNode;\n\n /**\n * A list of utility navigation elements.\n * The supported utility types are: `button` and `menu-dropdown`.\n *\n * The following properties are supported across all utility types:\n *\n * * `type` (string) - The type of the utility. Can be `button` or `menu-dropdown`.\n * * `text` (string) - Specifies the text shown in the top navigation or the title inside the dropdown if no explicit `title` property is set.\n * * `title` (string) - The title displayed inside the dropdown.\n * * `iconName` (string) - The name of an existing icon to display next to the utility.\n * * `iconUrl` (string) - Specifies the URL of a custom icon. Use this property if the icon you want isn't available.\n * * `iconAlt` (string) - Specifies alternate text for a custom icon provided using `iconUrl`. We recommend that you provide this for accessibility.\n * * `iconSvg` (string) - Specifies the SVG of a custom icon.\n * * `ariaLabel` (string) - Adds `aria-label` to the button or dropdown trigger. This is recommended for accessibility if a text is not provided.\n * * `badge` (boolean) - Adds a badge to the corner of the icon to indicate a state change. For example: Unread notifications.\n * * `disableTextCollapse` (boolean) - Prevents the utility text from being hidden on smaller screens.\n * * `disableUtilityCollapse` (boolean) - Prevents the utility from being moved to an overflow menu on smaller screens.\n *\n * ### button\n *\n * * `variant` ('primary-button' | 'link') - The visual appearance of the button. The default value is 'link'.\n * * `href` (string) - Specifies the `href` for a link styled as a button.\n * * `target` (string) - Specifies where to open the linked URL (for example, to open in a new browser window or tab use `_blank`). This property only applies when an `href` is provided.\n * * `rel` (string) - Adds a `rel` attribute to the link. By default, the component sets the `rel` attribute to \"noopener noreferrer\" when `target` is `\"_blank\"`. If the `rel` property is provided, it overrides the default behavior.\n * * `external` (boolean) - Marks the link as external by adding an icon after the text. When clicked, the link opens in a new tab.\n * * `externalIconAriaLabel` (string) - Adds an `aria-label` for the external icon.\n * * `onClick` (() => void) - Specifies the event handler called when the utility is clicked.\n * * `onFollow` (() => void) - Specifies the event handler called when the utility is clicked without pressing modifier keys, and the utility has an `href` set.\n *\n * ### menu-dropdown\n *\n * * `description` (string) - The description displayed inside the dropdown.\n * * `items` (ButtonDropdownProps.Items) - An array of dropdown items. This follows the same structure as the `items` property of the [button dropdown component](/components/button-dropdown), with the exception of the checkbox item type.\n * * `onItemClick` (NonCancelableEventHandler<ButtonDropdownProps.ItemClickDetails>) - Specifies the event handler called when a dropdown item is selected.\n * * `onItemFollow` (NonCancelableEventHandler<ButtonDropdownProps.ItemClickDetails>) - Specifies the event handler called when a dropdown item is selected without pressing modifier keys, and the item has an `href` set.\n * * `expandableGroups` (boolean) - Controls expandability of the item groups.\n */\n utilities?: ReadonlyArray<TopNavigationProps.Utility>;\n\n /**\n * An object containing all the localized strings required by the component.\n * @i18n\n */\n i18nStrings?: TopNavigationProps.I18nStrings;\n}\n\nexport namespace TopNavigationProps {\n export interface Identity {\n title?: string;\n logo?: Logo;\n href: string;\n onFollow?: CancelableEventHandler;\n }\n\n export interface Logo {\n src: string;\n alt?: string;\n }\n\n interface BaseUtility {\n text?: string;\n title?: string;\n iconName?: IconProps.Name;\n iconUrl?: string;\n iconAlt?: string;\n iconSvg?: React.ReactNode;\n ariaLabel?: string;\n\n badge?: boolean;\n disableUtilityCollapse?: boolean;\n disableTextCollapse?: boolean;\n }\n\n export interface MenuDropdownUtility extends BaseUtility {\n type: 'menu-dropdown';\n description?: string;\n items: ButtonDropdownProps.Items;\n expandableGroups?: boolean;\n onItemClick?: CancelableEventHandler<ButtonDropdownProps.ItemClickDetails>;\n onItemFollow?: CancelableEventHandler<ButtonDropdownProps.ItemClickDetails>;\n }\n\n export interface ButtonUtility extends BaseUtility {\n type: 'button';\n variant?: 'primary-button' | 'link';\n onClick?: CancelableEventHandler;\n onFollow?: CancelableEventHandler<ButtonProps.FollowDetail>;\n href?: string;\n target?: string;\n rel?: string;\n external?: boolean;\n externalIconAriaLabel?: string;\n }\n\n export type Utility = MenuDropdownUtility | ButtonUtility;\n\n export interface I18nStrings {\n searchIconAriaLabel?: string;\n searchDismissIconAriaLabel?: string;\n overflowMenuDismissIconAriaLabel?: string;\n overflowMenuBackIconAriaLabel?: string;\n overflowMenuTriggerText?: string;\n overflowMenuTitleText?: string;\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/top-navigation/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ButtonProps } from '../button/interfaces';\nimport { ButtonDropdownProps } from '../button-dropdown/interfaces';\nimport { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { CancelableEventHandler } from '../internal/events';\n\nexport interface TopNavigationProps extends BaseComponentProps {\n /**\n * Properties describing the product identity. They are as follows:\n *\n * * `title` (string) - Specifies the title text.\n * * `logo` ({ src: string, alt: string }) - Specifies the logo for the product. Use fixed width and height for SVG images to ensure proper rendering.\n * * `href` (string) - Specifies the `href` that the header links to.\n * * `onFollow` (() => void) - Specifies the event handler called when the identity is clicked without any modifier keys.\n */\n identity: TopNavigationProps.Identity;\n\n /**\n * Use with an input or autosuggest control for a global search query.\n */\n search?: React.ReactNode;\n\n /**\n * A list of utility navigation elements.\n * The supported utility types are: `button` and `menu-dropdown`.\n *\n * The following properties are supported across all utility types:\n *\n * * `type` (string) - The type of the utility. Can be `button` or `menu-dropdown`.\n * * `text` (string) - Specifies the text shown in the top navigation or the title inside the dropdown if no explicit `title` property is set.\n * * `title` (string) - The title displayed inside the dropdown.\n * * `iconName` (string) - The name of an existing icon to display next to the utility.\n * * `iconUrl` (string) - Specifies the URL of a custom icon. Use this property if the icon you want isn't available.\n * * `iconAlt` (string) - Specifies alternate text for a custom icon provided using `iconUrl`. We recommend that you provide this for accessibility.\n * * `iconSvg` (string) - Specifies the SVG of a custom icon.\n * * `ariaLabel` (string) - Adds `aria-label` to the button or dropdown trigger. This is recommended for accessibility if a text is not provided.\n * * `badge` (boolean) - Adds a badge to the corner of the icon to indicate a state change. For example: Unread notifications.\n * * `disableTextCollapse` (boolean) - Prevents the utility text from being hidden on smaller screens.\n * * `disableUtilityCollapse` (boolean) - Prevents the utility from being moved to an overflow menu on smaller screens.\n *\n * ### button\n *\n * * `variant` ('primary-button' | 'link') - The visual appearance of the button. The default value is 'link'.\n * * `href` (string) - Specifies the `href` for a link styled as a button.\n * * `target` (string) - Specifies where to open the linked URL (for example, to open in a new browser window or tab use `_blank`). This property only applies when an `href` is provided.\n * * `rel` (string) - Adds a `rel` attribute to the link. By default, the component sets the `rel` attribute to \"noopener noreferrer\" when `target` is `\"_blank\"`. If the `rel` property is provided, it overrides the default behavior.\n * * `external` (boolean) - Marks the link as external by adding an icon after the text. When clicked, the link opens in a new tab.\n * * `externalIconAriaLabel` (string) - Adds an `aria-label` for the external icon.\n * * `onClick` (() => void) - Specifies the event handler called when the utility is clicked.\n * * `onFollow` (() => void) - Specifies the event handler called when the utility is clicked without pressing modifier keys, and the utility has an `href` set.\n *\n * ### menu-dropdown\n *\n * * `description` (string) - The description displayed inside the dropdown.\n * * `items` (ButtonDropdownProps.Items) - An array of dropdown items. This follows the same structure as the `items` property of the [button dropdown component](/components/button-dropdown).\n * * `onItemClick` (NonCancelableEventHandler<ButtonDropdownProps.ItemClickDetails>) - Specifies the event handler called when a dropdown item is selected.\n * * `onItemFollow` (NonCancelableEventHandler<ButtonDropdownProps.ItemClickDetails>) - Specifies the event handler called when a dropdown item is selected without pressing modifier keys, and the item has an `href` set.\n * * `expandableGroups` (boolean) - Controls expandability of the item groups.\n */\n utilities?: ReadonlyArray<TopNavigationProps.Utility>;\n\n /**\n * An object containing all the localized strings required by the component.\n * @i18n\n */\n i18nStrings?: TopNavigationProps.I18nStrings;\n}\n\nexport namespace TopNavigationProps {\n export interface Identity {\n title?: string;\n logo?: Logo;\n href: string;\n onFollow?: CancelableEventHandler;\n }\n\n export interface Logo {\n src: string;\n alt?: string;\n }\n\n interface BaseUtility {\n text?: string;\n title?: string;\n iconName?: IconProps.Name;\n iconUrl?: string;\n iconAlt?: string;\n iconSvg?: React.ReactNode;\n ariaLabel?: string;\n\n badge?: boolean;\n disableUtilityCollapse?: boolean;\n disableTextCollapse?: boolean;\n }\n\n export interface MenuDropdownUtility extends BaseUtility {\n type: 'menu-dropdown';\n description?: string;\n items: ButtonDropdownProps.Items;\n expandableGroups?: boolean;\n onItemClick?: CancelableEventHandler<ButtonDropdownProps.ItemClickDetails>;\n onItemFollow?: CancelableEventHandler<ButtonDropdownProps.ItemClickDetails>;\n }\n\n export interface ButtonUtility extends BaseUtility {\n type: 'button';\n variant?: 'primary-button' | 'link';\n onClick?: CancelableEventHandler;\n onFollow?: CancelableEventHandler<ButtonProps.FollowDetail>;\n href?: string;\n target?: string;\n rel?: string;\n external?: boolean;\n externalIconAriaLabel?: string;\n }\n\n export type Utility = MenuDropdownUtility | ButtonUtility;\n\n export interface I18nStrings {\n searchIconAriaLabel?: string;\n searchDismissIconAriaLabel?: string;\n overflowMenuDismissIconAriaLabel?: string;\n overflowMenuBackIconAriaLabel?: string;\n overflowMenuTriggerText?: string;\n overflowMenuTitleText?: string;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/top-navigation/internal.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAOlD,KAAK,0BAA0B,GAAG,YAAY,CAAC,kBAAkB,EAAE,WAAW,CAAC,GAAG,0BAA0B,CAAC;AAE7G,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC5C,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,SAAS,EACT,MAAM,EACN,GAAG,SAAS,EACb,EAAE,0BAA0B,eAuO5B"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/top-navigation/internal.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAOlD,KAAK,0BAA0B,GAAG,YAAY,CAAC,kBAAkB,EAAE,WAAW,CAAC,GAAG,0BAA0B,CAAC;AAE7G,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC5C,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,SAAS,EACT,MAAM,EACN,GAAG,SAAS,EACb,EAAE,0BAA0B,eA4N5B"}
@@ -3,8 +3,6 @@ import { __rest } from "tslib";
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  import React, { useEffect, useRef, useState } from 'react';
5
5
  import clsx from 'clsx';
6
- import { isDevelopment, warnOnce } from '@cloudscape-design/component-toolkit/internal';
7
- import { hasCheckboxItems } from '../button-dropdown/utils/utils';
8
6
  import { useInternalI18n } from '../i18n/context';
9
7
  import { getBaseProps } from '../internal/base-component';
10
8
  import { ButtonTrigger } from '../internal/components/menu-dropdown';
@@ -27,13 +25,6 @@ export default function InternalTopNavigation(_a) {
27
25
  const isMediumViewport = breakpoint === 'xxs';
28
26
  const isLargeViewport = breakpoint === 's';
29
27
  const i18n = useInternalI18n('top-navigation');
30
- // ButtonDropdown supports checkbox items but we don't support these in TopNavigation. Shown an error in development mode
31
- // to alert users of this and that it might change in the future.
32
- if (isDevelopment) {
33
- if (utilities.some(item => item.type === 'menu-dropdown' && hasCheckboxItems(item.items))) {
34
- warnOnce('TopNavigation', 'The TopNavigation component does not support menu-dropdown items with `itemType` equal to `checkbox`.');
35
- }
36
- }
37
28
  const onIdentityClick = (event) => {
38
29
  if (isPlainLeftClick(event)) {
39
30
  fireCancelableEvent(identity.onFollow, {}, event);
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/top-navigation/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAExF,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,YA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AAW,EAAC,GAAG,EACf,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,IAEnD,IAAI,CAAC,qCAAqC,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,uBAAuB,CAAC,CACpE,CACZ,CACP,CACG,CACF,CACE,CACX,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,CACL,6CAAS,SAAS,IAAE,GAAG,EAAE,iBAAiB;QACxC,oBAAC,aAAa,IAAC,WAAW,EAAC,gBAAgB;YAExC,OAAO,CAAC,IAAI,CAAC;YAEb,OAAO,CAAC,KAAK,CAAC;YAEd,kBAAkB,IAAI,gBAAgB,IAAI,CACzC,6BAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC;gBAC5C,oBAAC,YAAY,IACX,UAAU,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,qBAAqB,EAC9C,oBAAoB,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,gCAAgC,EACnE,iBAAiB,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,6BAA6B,EAC7D,KAAK,EAAE,SAAS,CAAC,MAAM,CACrB,CAAC,OAAO,EAAE,CAAC,EAAE,EAAE,CACb,CAAC,CAAC,eAAe,CAAC,aAAa,IAAI,eAAe,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;wBACnF,CAAC,OAAO,CAAC,sBAAsB,CAClC,EACD,OAAO,EAAE,kBAAkB,GAC3B,CACE,CACP,CACa,CACZ,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { isDevelopment, warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { hasCheckboxItems } from '../button-dropdown/utils/utils';\nimport { useInternalI18n } from '../i18n/context';\nimport { getBaseProps } from '../internal/base-component';\nimport { ButtonTrigger } from '../internal/components/menu-dropdown';\nimport VisualContext from '../internal/components/visual-context';\nimport { fireCancelableEvent, isPlainLeftClick } from '../internal/events';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useEffectOnUpdate } from '../internal/hooks/use-effect-on-update';\nimport { SomeRequired } from '../internal/types';\nimport { checkSafeUrl } from '../internal/utils/check-safe-url';\nimport { TopNavigationProps } from './interfaces';\nimport OverflowMenu from './parts/overflow-menu';\nimport Utility from './parts/utility';\nimport { useTopNavigation } from './use-top-navigation.js';\n\nimport styles from './styles.css.js';\n\ntype InternalTopNavigationProps = SomeRequired<TopNavigationProps, 'utilities'> & InternalBaseComponentProps;\n\nexport default function InternalTopNavigation({\n __internalRootRef,\n identity,\n i18nStrings,\n utilities,\n search,\n ...restProps\n}: InternalTopNavigationProps) {\n checkSafeUrl('TopNavigation', identity.href);\n const baseProps = getBaseProps(restProps);\n const { mainRef, virtualRef, breakpoint, responsiveState, isSearchExpanded, onSearchUtilityClick } = useTopNavigation(\n { identity, search, utilities }\n );\n const [overflowMenuOpen, setOverflowMenuOpen] = useState(false);\n const overflowMenuTriggerRef = useRef<HTMLButtonElement>(null);\n const isNarrowViewport = breakpoint === 'default';\n const isMediumViewport = breakpoint === 'xxs';\n const isLargeViewport = breakpoint === 's';\n const i18n = useInternalI18n('top-navigation');\n\n // ButtonDropdown supports checkbox items but we don't support these in TopNavigation. Shown an error in development mode\n // to alert users of this and that it might change in the future.\n if (isDevelopment) {\n if (utilities.some(item => item.type === 'menu-dropdown' && hasCheckboxItems(item.items))) {\n warnOnce(\n 'TopNavigation',\n 'The TopNavigation component does not support menu-dropdown items with `itemType` equal to `checkbox`.'\n );\n }\n }\n\n const onIdentityClick = (event: React.MouseEvent) => {\n if (isPlainLeftClick(event)) {\n fireCancelableEvent(identity.onFollow, {}, event);\n }\n };\n\n const toggleOverflowMenu = () => {\n setOverflowMenuOpen(overflowMenuOpen => !overflowMenuOpen);\n };\n\n const menuTriggerVisible = !isSearchExpanded && responsiveState.hideUtilities;\n\n useEffect(() => {\n setOverflowMenuOpen(false);\n }, [menuTriggerVisible]);\n\n useEffectOnUpdate(() => {\n if (!overflowMenuOpen) {\n overflowMenuTriggerRef.current?.focus();\n }\n }, [overflowMenuOpen]);\n\n // Render the top nav twice; once as the top nav that users can see, and another\n // \"virtual\" top nav used just for calculations. The virtual top nav doesn't react to\n // layout changes and renders two sets of utilities: one with labels and one without.\n const content = (isVirtual: boolean) => {\n const Wrapper = isVirtual ? 'div' : 'header';\n const showIdentity = isVirtual || !isSearchExpanded;\n const showTitle = isVirtual || !responsiveState.hideTitle;\n const showSearchSlot = search && (isVirtual || !responsiveState.hideSearch || isSearchExpanded);\n const showSearchUtility = isVirtual || (search && responsiveState.hideSearch);\n const showUtilities = isVirtual || !isSearchExpanded;\n const showMenuTrigger = isVirtual || menuTriggerVisible;\n\n return (\n <Wrapper\n ref={isVirtual ? virtualRef : mainRef}\n aria-hidden={isVirtual ? true : undefined}\n className={clsx(styles['top-navigation'], {\n [styles.virtual]: isVirtual,\n [styles.hidden]: isVirtual,\n [styles.narrow]: isNarrowViewport,\n [styles.medium]: isMediumViewport,\n })}\n >\n <div className={styles['padding-box']}>\n {showIdentity && (\n <div className={clsx(styles.identity, !identity.logo && styles['no-logo'])}>\n <a className={styles['identity-link']} href={identity.href} onClick={onIdentityClick}>\n {identity.logo && (\n <img\n role=\"img\"\n src={identity.logo?.src}\n alt={identity.logo?.alt}\n className={clsx(styles.logo, {\n [styles.narrow]: isNarrowViewport,\n })}\n />\n )}\n {showTitle && <span className={styles.title}>{identity.title}</span>}\n </a>\n </div>\n )}\n\n {showSearchSlot && (\n <div className={styles.inputs}>\n <div className={clsx(styles.search, !isVirtual && isSearchExpanded && styles['search-expanded'])}>\n {search}\n </div>\n </div>\n )}\n\n <div className={styles.utilities}>\n {showSearchUtility && (\n <div\n className={clsx(\n styles['utility-wrapper'],\n styles['utility-type-button'],\n styles['utility-type-button-link'],\n {\n [styles.narrow]: isNarrowViewport,\n [styles.medium]: isMediumViewport,\n }\n )}\n data-utility-special=\"search\"\n >\n <Utility\n hideText={true}\n definition={{\n type: 'button',\n iconName: isSearchExpanded ? 'close' : 'search',\n ariaLabel: isSearchExpanded\n ? i18n('i18nStrings.searchDismissIconAriaLabel', i18nStrings?.searchDismissIconAriaLabel)\n : i18n('i18nStrings.searchIconAriaLabel', i18nStrings?.searchIconAriaLabel),\n onClick: onSearchUtilityClick,\n }}\n />\n </div>\n )}\n\n {showUtilities &&\n utilities\n .filter(\n (_utility, i) =>\n isVirtual || !responsiveState.hideUtilities || responsiveState.hideUtilities.indexOf(i) === -1\n )\n .map((utility, i) => {\n const hideText = !!responsiveState.hideUtilityText;\n const isLast = (isVirtual || !showMenuTrigger) && i === utilities.length - 1;\n const offsetRight = isLast && isLargeViewport ? 'xxl' : isLast ? 'l' : undefined;\n\n return (\n <div\n key={i}\n className={clsx(\n styles['utility-wrapper'],\n styles[`utility-type-${utility.type}`],\n utility.type === 'button' && styles[`utility-type-button-${utility.variant ?? 'link'}`],\n {\n [styles.narrow]: isNarrowViewport,\n [styles.medium]: isMediumViewport,\n }\n )}\n data-utility-index={i}\n data-utility-hide={`${hideText}`}\n >\n <Utility hideText={hideText} definition={utility} offsetRight={offsetRight} />\n </div>\n );\n })}\n\n {isVirtual &&\n utilities.map((utility, i) => {\n const hideText = !responsiveState.hideUtilityText;\n const isLast = !showMenuTrigger && i === utilities.length - 1;\n const offsetRight = isLast && isLargeViewport ? 'xxl' : isLast ? 'l' : undefined;\n\n return (\n <div\n key={i}\n className={clsx(\n styles['utility-wrapper'],\n styles[`utility-type-${utility.type}`],\n utility.type === 'button' && styles[`utility-type-button-${utility.variant ?? 'link'}`],\n {\n [styles.narrow]: isNarrowViewport,\n [styles.medium]: isMediumViewport,\n }\n )}\n data-utility-index={i}\n data-utility-hide={`${hideText}`}\n >\n <Utility hideText={hideText} definition={utility} offsetRight={offsetRight} />\n </div>\n );\n })}\n\n {showMenuTrigger && (\n <div\n className={clsx(styles['utility-wrapper'], styles['utility-type-menu-dropdown'], {\n [styles.narrow]: isNarrowViewport,\n [styles.medium]: isMediumViewport,\n })}\n data-utility-special=\"menu-trigger\"\n >\n <ButtonTrigger\n expanded={overflowMenuOpen}\n onClick={toggleOverflowMenu}\n offsetRight=\"l\"\n ref={!isVirtual ? overflowMenuTriggerRef : undefined}\n >\n {i18n('i18nStrings.overflowMenuTriggerText', i18nStrings?.overflowMenuTriggerText)}\n </ButtonTrigger>\n </div>\n )}\n </div>\n </div>\n </Wrapper>\n );\n };\n\n return (\n <div {...baseProps} ref={__internalRootRef}>\n <VisualContext contextName=\"top-navigation\">\n {/* Render virtual content first to ensure React refs for content will be assigned on the actual nodes. */}\n {content(true)}\n\n {content(false)}\n\n {menuTriggerVisible && overflowMenuOpen && (\n <div className={styles['overflow-menu-drawer']}>\n <OverflowMenu\n headerText={i18nStrings?.overflowMenuTitleText}\n dismissIconAriaLabel={i18nStrings?.overflowMenuDismissIconAriaLabel}\n backIconAriaLabel={i18nStrings?.overflowMenuBackIconAriaLabel}\n items={utilities.filter(\n (utility, i) =>\n (!responsiveState.hideUtilities || responsiveState.hideUtilities.indexOf(i) !== -1) &&\n !utility.disableUtilityCollapse\n )}\n onClose={toggleOverflowMenu}\n />\n </div>\n )}\n </VisualContext>\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/top-navigation/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAA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oBAAC,aAAa,IAAC,WAAW,EAAC,gBAAgB;YAExC,OAAO,CAAC,IAAI,CAAC;YAEb,OAAO,CAAC,KAAK,CAAC;YAEd,kBAAkB,IAAI,gBAAgB,IAAI,CACzC,6BAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC;gBAC5C,oBAAC,YAAY,IACX,UAAU,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,qBAAqB,EAC9C,oBAAoB,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,gCAAgC,EACnE,iBAAiB,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,6BAA6B,EAC7D,KAAK,EAAE,SAAS,CAAC,MAAM,CACrB,CAAC,OAAO,EAAE,CAAC,EAAE,EAAE,CACb,CAAC,CAAC,eAAe,CAAC,aAAa,IAAI,eAAe,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;wBACnF,CAAC,OAAO,CAAC,sBAAsB,CAClC,EACD,OAAO,EAAE,kBAAkB,GAC3B,CACE,CACP,CACa,CACZ,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { useInternalI18n } from '../i18n/context';\nimport { getBaseProps } from '../internal/base-component';\nimport { ButtonTrigger } from '../internal/components/menu-dropdown';\nimport VisualContext from '../internal/components/visual-context';\nimport { fireCancelableEvent, isPlainLeftClick } from '../internal/events';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useEffectOnUpdate } from '../internal/hooks/use-effect-on-update';\nimport { SomeRequired } from '../internal/types';\nimport { checkSafeUrl } from '../internal/utils/check-safe-url';\nimport { TopNavigationProps } from './interfaces';\nimport OverflowMenu from './parts/overflow-menu';\nimport Utility from './parts/utility';\nimport { useTopNavigation } from './use-top-navigation.js';\n\nimport styles from './styles.css.js';\n\ntype InternalTopNavigationProps = SomeRequired<TopNavigationProps, 'utilities'> & InternalBaseComponentProps;\n\nexport default function InternalTopNavigation({\n __internalRootRef,\n identity,\n i18nStrings,\n utilities,\n search,\n ...restProps\n}: InternalTopNavigationProps) {\n checkSafeUrl('TopNavigation', identity.href);\n const baseProps = getBaseProps(restProps);\n const { mainRef, virtualRef, breakpoint, responsiveState, isSearchExpanded, onSearchUtilityClick } = useTopNavigation(\n { identity, search, utilities }\n );\n const [overflowMenuOpen, setOverflowMenuOpen] = useState(false);\n const overflowMenuTriggerRef = useRef<HTMLButtonElement>(null);\n const isNarrowViewport = breakpoint === 'default';\n const isMediumViewport = breakpoint === 'xxs';\n const isLargeViewport = breakpoint === 's';\n const i18n = useInternalI18n('top-navigation');\n\n const onIdentityClick = (event: React.MouseEvent) => {\n if (isPlainLeftClick(event)) {\n fireCancelableEvent(identity.onFollow, {}, event);\n }\n };\n\n const toggleOverflowMenu = () => {\n setOverflowMenuOpen(overflowMenuOpen => !overflowMenuOpen);\n };\n\n const menuTriggerVisible = !isSearchExpanded && responsiveState.hideUtilities;\n\n useEffect(() => {\n setOverflowMenuOpen(false);\n }, [menuTriggerVisible]);\n\n useEffectOnUpdate(() => {\n if (!overflowMenuOpen) {\n overflowMenuTriggerRef.current?.focus();\n }\n }, [overflowMenuOpen]);\n\n // Render the top nav twice; once as the top nav that users can see, and another\n // \"virtual\" top nav used just for calculations. The virtual top nav doesn't react to\n // layout changes and renders two sets of utilities: one with labels and one without.\n const content = (isVirtual: boolean) => {\n const Wrapper = isVirtual ? 'div' : 'header';\n const showIdentity = isVirtual || !isSearchExpanded;\n const showTitle = isVirtual || !responsiveState.hideTitle;\n const showSearchSlot = search && (isVirtual || !responsiveState.hideSearch || isSearchExpanded);\n const showSearchUtility = isVirtual || (search && responsiveState.hideSearch);\n const showUtilities = isVirtual || !isSearchExpanded;\n const showMenuTrigger = isVirtual || menuTriggerVisible;\n\n return (\n <Wrapper\n ref={isVirtual ? virtualRef : mainRef}\n aria-hidden={isVirtual ? true : undefined}\n className={clsx(styles['top-navigation'], {\n [styles.virtual]: isVirtual,\n [styles.hidden]: isVirtual,\n [styles.narrow]: isNarrowViewport,\n [styles.medium]: isMediumViewport,\n })}\n >\n <div className={styles['padding-box']}>\n {showIdentity && (\n <div className={clsx(styles.identity, !identity.logo && styles['no-logo'])}>\n <a className={styles['identity-link']} href={identity.href} onClick={onIdentityClick}>\n {identity.logo && (\n <img\n role=\"img\"\n src={identity.logo?.src}\n alt={identity.logo?.alt}\n className={clsx(styles.logo, {\n [styles.narrow]: isNarrowViewport,\n })}\n />\n )}\n {showTitle && <span className={styles.title}>{identity.title}</span>}\n </a>\n </div>\n )}\n\n {showSearchSlot && (\n <div className={styles.inputs}>\n <div className={clsx(styles.search, !isVirtual && isSearchExpanded && styles['search-expanded'])}>\n {search}\n </div>\n </div>\n )}\n\n <div className={styles.utilities}>\n {showSearchUtility && (\n <div\n className={clsx(\n styles['utility-wrapper'],\n styles['utility-type-button'],\n styles['utility-type-button-link'],\n {\n [styles.narrow]: isNarrowViewport,\n [styles.medium]: isMediumViewport,\n }\n )}\n data-utility-special=\"search\"\n >\n <Utility\n hideText={true}\n definition={{\n type: 'button',\n iconName: isSearchExpanded ? 'close' : 'search',\n ariaLabel: isSearchExpanded\n ? i18n('i18nStrings.searchDismissIconAriaLabel', i18nStrings?.searchDismissIconAriaLabel)\n : i18n('i18nStrings.searchIconAriaLabel', i18nStrings?.searchIconAriaLabel),\n onClick: onSearchUtilityClick,\n }}\n />\n </div>\n )}\n\n {showUtilities &&\n utilities\n .filter(\n (_utility, i) =>\n isVirtual || !responsiveState.hideUtilities || responsiveState.hideUtilities.indexOf(i) === -1\n )\n .map((utility, i) => {\n const hideText = !!responsiveState.hideUtilityText;\n const isLast = (isVirtual || !showMenuTrigger) && i === utilities.length - 1;\n const offsetRight = isLast && isLargeViewport ? 'xxl' : isLast ? 'l' : undefined;\n\n return (\n <div\n key={i}\n className={clsx(\n styles['utility-wrapper'],\n styles[`utility-type-${utility.type}`],\n utility.type === 'button' && styles[`utility-type-button-${utility.variant ?? 'link'}`],\n {\n [styles.narrow]: isNarrowViewport,\n [styles.medium]: isMediumViewport,\n }\n )}\n data-utility-index={i}\n data-utility-hide={`${hideText}`}\n >\n <Utility hideText={hideText} definition={utility} offsetRight={offsetRight} />\n </div>\n );\n })}\n\n {isVirtual &&\n utilities.map((utility, i) => {\n const hideText = !responsiveState.hideUtilityText;\n const isLast = !showMenuTrigger && i === utilities.length - 1;\n const offsetRight = isLast && isLargeViewport ? 'xxl' : isLast ? 'l' : undefined;\n\n return (\n <div\n key={i}\n className={clsx(\n styles['utility-wrapper'],\n styles[`utility-type-${utility.type}`],\n utility.type === 'button' && styles[`utility-type-button-${utility.variant ?? 'link'}`],\n {\n [styles.narrow]: isNarrowViewport,\n [styles.medium]: isMediumViewport,\n }\n )}\n data-utility-index={i}\n data-utility-hide={`${hideText}`}\n >\n <Utility hideText={hideText} definition={utility} offsetRight={offsetRight} />\n </div>\n );\n })}\n\n {showMenuTrigger && (\n <div\n className={clsx(styles['utility-wrapper'], styles['utility-type-menu-dropdown'], {\n [styles.narrow]: isNarrowViewport,\n [styles.medium]: isMediumViewport,\n })}\n data-utility-special=\"menu-trigger\"\n >\n <ButtonTrigger\n expanded={overflowMenuOpen}\n onClick={toggleOverflowMenu}\n offsetRight=\"l\"\n ref={!isVirtual ? overflowMenuTriggerRef : undefined}\n >\n {i18n('i18nStrings.overflowMenuTriggerText', i18nStrings?.overflowMenuTriggerText)}\n </ButtonTrigger>\n </div>\n )}\n </div>\n </div>\n </Wrapper>\n );\n };\n\n return (\n <div {...baseProps} ref={__internalRootRef}>\n <VisualContext contextName=\"top-navigation\">\n {/* Render virtual content first to ensure React refs for content will be assigned on the actual nodes. */}\n {content(true)}\n\n {content(false)}\n\n {menuTriggerVisible && overflowMenuOpen && (\n <div className={styles['overflow-menu-drawer']}>\n <OverflowMenu\n headerText={i18nStrings?.overflowMenuTitleText}\n dismissIconAriaLabel={i18nStrings?.overflowMenuDismissIconAriaLabel}\n backIconAriaLabel={i18nStrings?.overflowMenuBackIconAriaLabel}\n items={utilities.filter(\n (utility, i) =>\n (!responsiveState.hideUtilities || responsiveState.hideUtilities.indexOf(i) !== -1) &&\n !utility.disableUtilityCollapse\n )}\n onClose={toggleOverflowMenu}\n />\n </div>\n )}\n </VisualContext>\n </div>\n );\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../../../../src/top-navigation/parts/utility.tsx"],"names":[],"mappings":";AAQA,OAAqB,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAK1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAInD,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,kBAAkB,CAAC,OAAO,CAAC;IACvC,WAAW,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;CAChD;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,EAAE,YAAY,sBA2GlF"}
1
+ {"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../../../../src/top-navigation/parts/utility.tsx"],"names":[],"mappings":";AAQA,OAAqB,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAK1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAInD,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,kBAAkB,CAAC,OAAO,CAAC;IACvC,WAAW,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;CAChD;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,EAAE,YAAY,sBAwGlF"}