@cloudscape-design/components 3.0.1302 → 3.0.1303

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 (227) hide show
  1. package/alert/styles.css.js +27 -27
  2. package/alert/styles.scoped.css +50 -50
  3. package/alert/styles.selectors.js +27 -27
  4. package/annotation-context/annotation/styles.css.js +13 -13
  5. package/annotation-context/annotation/styles.scoped.css +21 -21
  6. package/annotation-context/annotation/styles.selectors.js +13 -13
  7. package/app-layout/notifications/styles.css.js +3 -3
  8. package/app-layout/notifications/styles.scoped.css +7 -7
  9. package/app-layout/notifications/styles.selectors.js +3 -3
  10. package/app-layout/visual-refresh/styles.css.js +86 -86
  11. package/app-layout/visual-refresh/styles.scoped.css +258 -258
  12. package/app-layout/visual-refresh/styles.selectors.js +86 -86
  13. package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
  14. package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
  15. package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
  16. package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
  17. package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
  18. package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
  19. package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -27
  20. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +54 -54
  21. package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -27
  22. package/attribute-editor/styles.css.js +15 -15
  23. package/attribute-editor/styles.scoped.css +28 -28
  24. package/attribute-editor/styles.selectors.js +15 -15
  25. package/breadcrumb-group/item/styles.css.js +7 -7
  26. package/breadcrumb-group/item/styles.scoped.css +28 -28
  27. package/breadcrumb-group/item/styles.selectors.js +7 -7
  28. package/button/styles.css.js +22 -22
  29. package/button/styles.scoped.css +256 -256
  30. package/button/styles.selectors.js +22 -22
  31. package/button-dropdown/item-element/styles.css.js +21 -21
  32. package/button-dropdown/item-element/styles.scoped.css +37 -37
  33. package/button-dropdown/item-element/styles.selectors.js +21 -21
  34. package/checkbox/styles.css.js +3 -3
  35. package/checkbox/styles.scoped.css +11 -11
  36. package/checkbox/styles.selectors.js +3 -3
  37. package/collection-preferences/content-display/index.d.ts.map +1 -1
  38. package/collection-preferences/content-display/index.js +1 -1
  39. package/collection-preferences/content-display/index.js.map +1 -1
  40. package/container/interfaces.d.ts +1 -0
  41. package/container/interfaces.d.ts.map +1 -1
  42. package/container/interfaces.js.map +1 -1
  43. package/content-layout/styles.css.js +14 -14
  44. package/content-layout/styles.scoped.css +27 -27
  45. package/content-layout/styles.selectors.js +14 -14
  46. package/dropdown/index.d.ts +3 -0
  47. package/dropdown/index.d.ts.map +1 -1
  48. package/dropdown/index.js +3 -0
  49. package/dropdown/index.js.map +1 -1
  50. package/dropdown/styles.css.js +20 -20
  51. package/dropdown/styles.scoped.css +49 -49
  52. package/dropdown/styles.selectors.js +20 -20
  53. package/expandable-section/styles.css.js +35 -35
  54. package/expandable-section/styles.scoped.css +66 -68
  55. package/expandable-section/styles.selectors.js +35 -35
  56. package/file-token-group/styles.css.js +23 -23
  57. package/file-token-group/styles.scoped.css +36 -36
  58. package/file-token-group/styles.selectors.js +23 -23
  59. package/flashbar/styles.css.js +50 -50
  60. package/flashbar/styles.scoped.css +187 -187
  61. package/flashbar/styles.selectors.js +50 -50
  62. package/help-panel/styles.css.js +6 -6
  63. package/help-panel/styles.scoped.css +73 -73
  64. package/help-panel/styles.selectors.js +6 -6
  65. package/i18n/messages/all.all.js +1 -1
  66. package/i18n/messages/all.all.json +1 -1
  67. package/i18n/messages/all.ar.js +1 -1
  68. package/i18n/messages/all.ar.json +1 -1
  69. package/i18n/messages/all.de.js +1 -1
  70. package/i18n/messages/all.de.json +1 -1
  71. package/i18n/messages/all.en-GB.js +1 -1
  72. package/i18n/messages/all.en-GB.json +1 -1
  73. package/i18n/messages/all.en.js +1 -1
  74. package/i18n/messages/all.en.json +1 -1
  75. package/i18n/messages/all.es.js +1 -1
  76. package/i18n/messages/all.es.json +1 -1
  77. package/i18n/messages/all.fr.js +1 -1
  78. package/i18n/messages/all.fr.json +1 -1
  79. package/i18n/messages/all.id.js +1 -1
  80. package/i18n/messages/all.id.json +1 -1
  81. package/i18n/messages/all.it.js +1 -1
  82. package/i18n/messages/all.it.json +1 -1
  83. package/i18n/messages/all.ja.js +1 -1
  84. package/i18n/messages/all.ja.json +1 -1
  85. package/i18n/messages/all.ko.js +1 -1
  86. package/i18n/messages/all.ko.json +1 -1
  87. package/i18n/messages/all.pt-BR.js +1 -1
  88. package/i18n/messages/all.pt-BR.json +1 -1
  89. package/i18n/messages/all.zh-CN.js +1 -1
  90. package/i18n/messages/all.zh-CN.json +1 -1
  91. package/i18n/messages/all.zh-TW.js +1 -1
  92. package/i18n/messages/all.zh-TW.json +1 -1
  93. package/icon/interfaces.d.ts +1 -1
  94. package/icon/interfaces.d.ts.map +1 -1
  95. package/icon/interfaces.js.map +1 -1
  96. package/icon/internal.d.ts.map +1 -1
  97. package/icon/internal.js +4 -86
  98. package/icon/internal.js.map +1 -1
  99. package/icon/styles.css.js +39 -41
  100. package/icon/styles.scoped.css +110 -135
  101. package/icon/styles.selectors.js +39 -41
  102. package/icon-provider/context.d.ts +3 -34
  103. package/icon-provider/context.d.ts.map +1 -1
  104. package/icon-provider/context.js +3 -7
  105. package/icon-provider/context.js.map +1 -1
  106. package/icon-provider/interfaces.d.ts +0 -52
  107. package/icon-provider/interfaces.d.ts.map +1 -1
  108. package/icon-provider/interfaces.js.map +1 -1
  109. package/icon-provider/internal.d.ts +1 -3
  110. package/icon-provider/internal.d.ts.map +1 -1
  111. package/icon-provider/internal.js +4 -13
  112. package/icon-provider/internal.js.map +1 -1
  113. package/index.d.ts +0 -1
  114. package/index.d.ts.map +1 -1
  115. package/index.js +0 -1
  116. package/index.js.map +1 -1
  117. package/input/styles.css.js +18 -18
  118. package/input/styles.scoped.css +82 -82
  119. package/input/styles.selectors.js +18 -18
  120. package/internal/base-component/styles.scoped.css +7 -9
  121. package/internal/components/drag-handle/button.d.ts.map +1 -1
  122. package/internal/components/drag-handle/button.js +1 -1
  123. package/internal/components/drag-handle/button.js.map +1 -1
  124. package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  125. package/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
  126. package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  127. package/internal/components/radio-button/styles.css.js +7 -7
  128. package/internal/components/radio-button/styles.scoped.css +18 -18
  129. package/internal/components/radio-button/styles.selectors.js +7 -7
  130. package/internal/components/sortable-area/index.d.ts.map +1 -1
  131. package/internal/components/sortable-area/index.js +0 -1
  132. package/internal/components/sortable-area/index.js.map +1 -1
  133. package/internal/components/token-list/styles.css.js +10 -10
  134. package/internal/components/token-list/styles.scoped.css +25 -25
  135. package/internal/components/token-list/styles.selectors.js +10 -10
  136. package/internal/environment.d.ts +1 -2
  137. package/internal/environment.js +3 -4
  138. package/internal/environment.json +3 -4
  139. package/internal/generated/custom-css-properties/index.d.ts +0 -3
  140. package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  141. package/internal/generated/custom-css-properties/index.js +159 -162
  142. package/internal/generated/custom-css-properties/index.js.map +1 -1
  143. package/internal/generated/styles/tokens.d.ts +5 -7
  144. package/internal/generated/styles/tokens.js +5 -7
  145. package/internal/generated/theming/index.cjs +25 -39
  146. package/internal/generated/theming/index.cjs.d.ts +45 -63
  147. package/internal/generated/theming/index.d.ts +45 -63
  148. package/internal/generated/theming/index.js +25 -39
  149. package/internal/manifest.json +1 -1
  150. package/item-card/styles.css.js +14 -14
  151. package/item-card/styles.scoped.css +63 -63
  152. package/item-card/styles.selectors.js +14 -14
  153. package/link/styles.css.js +21 -21
  154. package/link/styles.scoped.css +104 -104
  155. package/link/styles.selectors.js +21 -21
  156. package/manifest.json +2 -2
  157. package/modal/styles.css.js +31 -31
  158. package/modal/styles.scoped.css +48 -48
  159. package/modal/styles.selectors.js +31 -31
  160. package/package.json +1 -2
  161. package/progress-bar/styles.css.js +18 -18
  162. package/progress-bar/styles.scoped.css +48 -48
  163. package/progress-bar/styles.selectors.js +18 -18
  164. package/prompt-input/styles.css.js +26 -26
  165. package/prompt-input/styles.scoped.css +105 -105
  166. package/prompt-input/styles.selectors.js +26 -26
  167. package/radio-button/index.d.ts +3 -0
  168. package/radio-button/index.d.ts.map +1 -1
  169. package/radio-button/index.js +3 -0
  170. package/radio-button/index.js.map +1 -1
  171. package/segmented-control/styles.css.js +16 -16
  172. package/segmented-control/styles.scoped.css +46 -46
  173. package/segmented-control/styles.selectors.js +16 -16
  174. package/slider/styles.css.js +26 -26
  175. package/slider/styles.scoped.css +165 -165
  176. package/slider/styles.selectors.js +26 -26
  177. package/spinner/styles.css.js +13 -13
  178. package/spinner/styles.scoped.css +39 -39
  179. package/spinner/styles.selectors.js +13 -13
  180. package/tabs/styles.css.js +30 -30
  181. package/tabs/styles.scoped.css +76 -76
  182. package/tabs/styles.selectors.js +30 -30
  183. package/tag-editor/styles.css.js +3 -3
  184. package/tag-editor/styles.scoped.css +13 -13
  185. package/tag-editor/styles.selectors.js +3 -3
  186. package/test-utils/dom/index.d.ts +0 -28
  187. package/test-utils/dom/index.js +1 -20
  188. package/test-utils/dom/index.js.map +1 -1
  189. package/test-utils/selectors/index.d.ts +0 -18
  190. package/test-utils/selectors/index.js +1 -15
  191. package/test-utils/selectors/index.js.map +1 -1
  192. package/text-content/styles.css.js +1 -1
  193. package/text-content/styles.scoped.css +66 -66
  194. package/text-content/styles.selectors.js +1 -1
  195. package/textarea/styles.css.js +5 -5
  196. package/textarea/styles.scoped.css +45 -45
  197. package/textarea/styles.selectors.js +5 -5
  198. package/toggle/styles.css.js +10 -10
  199. package/toggle/styles.scoped.css +23 -23
  200. package/toggle/styles.selectors.js +10 -10
  201. package/token/styles.css.js +14 -14
  202. package/token/styles.scoped.css +46 -46
  203. package/token/styles.selectors.js +14 -14
  204. package/test-utils/dom/truncated-text/index.d.ts +0 -6
  205. package/test-utils/dom/truncated-text/index.js +0 -17
  206. package/test-utils/dom/truncated-text/index.js.map +0 -1
  207. package/test-utils/selectors/truncated-text/index.d.ts +0 -6
  208. package/test-utils/selectors/truncated-text/index.js +0 -17
  209. package/test-utils/selectors/truncated-text/index.js.map +0 -1
  210. package/truncated-text/index.d.ts +0 -7
  211. package/truncated-text/index.d.ts.map +0 -1
  212. package/truncated-text/index.js +0 -18
  213. package/truncated-text/index.js.map +0 -1
  214. package/truncated-text/interfaces.d.ts +0 -16
  215. package/truncated-text/interfaces.d.ts.map +0 -1
  216. package/truncated-text/interfaces.js +0 -2
  217. package/truncated-text/interfaces.js.map +0 -1
  218. package/truncated-text/internal.d.ts +0 -10
  219. package/truncated-text/internal.d.ts.map +0 -1
  220. package/truncated-text/internal.js +0 -47
  221. package/truncated-text/internal.js.map +0 -1
  222. package/truncated-text/styles.css.js +0 -6
  223. package/truncated-text/styles.scoped.css +0 -177
  224. package/truncated-text/styles.selectors.js +0 -7
  225. package/truncated-text/test-classes/styles.css.js +0 -6
  226. package/truncated-text/test-classes/styles.scoped.css +0 -7
  227. package/truncated-text/test-classes/styles.selectors.js +0 -7
@@ -150,27 +150,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
150
150
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
151
151
  SPDX-License-Identifier: Apache-2.0
152
152
  */
153
- @keyframes awsui_drag-handle-entry_155yk_1cu1s_1 {
153
+ @keyframes awsui_drag-handle-entry_155yk_1rpq3_1 {
154
154
  from {
155
- transform: translate(var(--awsui-drag-handle-animation-inline-offset-jsjyte), var(--awsui-drag-handle-animation-block-offset-jsjyte));
155
+ transform: translate(var(--awsui-drag-handle-animation-inline-offset-6b9ypa), var(--awsui-drag-handle-animation-block-offset-6b9ypa));
156
156
  }
157
157
  to {
158
158
  transform: translate(0, 0);
159
159
  }
160
160
  }
161
- @keyframes awsui_drag-handle-exit_155yk_1cu1s_1 {
161
+ @keyframes awsui_drag-handle-exit_155yk_1rpq3_1 {
162
162
  from {
163
163
  transform: translate(0, 0);
164
164
  }
165
165
  to {
166
- transform: translate(var(--awsui-drag-handle-animation-inline-offset-jsjyte), var(--awsui-drag-handle-animation-block-offset-jsjyte));
166
+ transform: translate(var(--awsui-drag-handle-animation-inline-offset-6b9ypa), var(--awsui-drag-handle-animation-block-offset-6b9ypa));
167
167
  }
168
168
  }
169
- .awsui_direction-button-wrapper_155yk_1cu1s_169:not(#\9) {
170
- --awsui-drag-handle-animation-inline-offset-jsjyte: 0;
171
- --awsui-drag-handle-animation-block-offset-jsjyte: 0;
169
+ .awsui_direction-button-wrapper_155yk_1rpq3_169:not(#\9) {
170
+ --awsui-drag-handle-animation-inline-offset-6b9ypa: 0;
171
+ --awsui-drag-handle-animation-block-offset-6b9ypa: 0;
172
172
  }
173
- @keyframes awsui_awsui-motion-fade-in_155yk_1cu1s_1 {
173
+ @keyframes awsui_awsui-motion-fade-in_155yk_1rpq3_1 {
174
174
  from {
175
175
  opacity: 0.2;
176
176
  }
@@ -178,7 +178,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
178
178
  opacity: 1;
179
179
  }
180
180
  }
181
- @keyframes awsui_awsui-motion-fade-out-0_155yk_1cu1s_1 {
181
+ @keyframes awsui_awsui-motion-fade-out-0_155yk_1rpq3_1 {
182
182
  from {
183
183
  opacity: 1;
184
184
  }
@@ -186,81 +186,81 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
186
186
  opacity: 0;
187
187
  }
188
188
  }
189
- .awsui_direction-button-wrapper-motion-enter_155yk_1cu1s_189:not(#\9), .awsui_direction-button-wrapper-motion-entering_155yk_1cu1s_189:not(#\9), .awsui_direction-button-wrapper-motion-exit_155yk_1cu1s_189:not(#\9), .awsui_direction-button-wrapper-motion-exiting_155yk_1cu1s_189:not(#\9) {
189
+ .awsui_direction-button-wrapper-motion-enter_155yk_1rpq3_189:not(#\9), .awsui_direction-button-wrapper-motion-entering_155yk_1rpq3_189:not(#\9), .awsui_direction-button-wrapper-motion-exit_155yk_1rpq3_189:not(#\9), .awsui_direction-button-wrapper-motion-exiting_155yk_1rpq3_189:not(#\9) {
190
190
  pointer-events: none;
191
191
  }
192
- .awsui_direction-button-wrapper-motion-entering_155yk_1cu1s_189:not(#\9) {
193
- animation: awsui_drag-handle-entry_155yk_1cu1s_1 var(--motion-duration-complex-tbdo30, 250ms) var(--motion-easing-responsive-hjj3ai, cubic-bezier(0, 0, 0, 1)), awsui_awsui-motion-fade-in_155yk_1cu1s_1 var(--motion-duration-complex-tbdo30, 250ms) var(--motion-easing-responsive-hjj3ai, cubic-bezier(0, 0, 0, 1));
192
+ .awsui_direction-button-wrapper-motion-entering_155yk_1rpq3_189:not(#\9) {
193
+ animation: awsui_drag-handle-entry_155yk_1rpq3_1 var(--motion-duration-complex-tbdo30, 250ms) var(--motion-easing-responsive-hjj3ai, cubic-bezier(0, 0, 0, 1)), awsui_awsui-motion-fade-in_155yk_1rpq3_1 var(--motion-duration-complex-tbdo30, 250ms) var(--motion-easing-responsive-hjj3ai, cubic-bezier(0, 0, 0, 1));
194
194
  }
195
195
  @media (prefers-reduced-motion: reduce) {
196
- .awsui_direction-button-wrapper-motion-entering_155yk_1cu1s_189:not(#\9) {
196
+ .awsui_direction-button-wrapper-motion-entering_155yk_1rpq3_189:not(#\9) {
197
197
  animation: none;
198
198
  transition: none;
199
199
  }
200
200
  }
201
- .awsui-motion-disabled .awsui_direction-button-wrapper-motion-entering_155yk_1cu1s_189:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-entering_155yk_1cu1s_189:not(#\9) {
201
+ .awsui-motion-disabled .awsui_direction-button-wrapper-motion-entering_155yk_1rpq3_189:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-entering_155yk_1rpq3_189:not(#\9) {
202
202
  animation: none;
203
203
  transition: none;
204
204
  }
205
- .awsui_direction-button-wrapper-motion-exiting_155yk_1cu1s_189:not(#\9) {
206
- animation: awsui_drag-handle-exit_155yk_1cu1s_1 var(--motion-duration-complex-tbdo30, 250ms) var(--motion-easing-responsive-hjj3ai, cubic-bezier(0, 0, 0, 1)) forwards, awsui_awsui-motion-fade-out-0_155yk_1cu1s_1 var(--motion-duration-complex-tbdo30, 250ms) var(--motion-easing-responsive-hjj3ai, cubic-bezier(0, 0, 0, 1)) forwards;
205
+ .awsui_direction-button-wrapper-motion-exiting_155yk_1rpq3_189:not(#\9) {
206
+ animation: awsui_drag-handle-exit_155yk_1rpq3_1 var(--motion-duration-complex-tbdo30, 250ms) var(--motion-easing-responsive-hjj3ai, cubic-bezier(0, 0, 0, 1)) forwards, awsui_awsui-motion-fade-out-0_155yk_1rpq3_1 var(--motion-duration-complex-tbdo30, 250ms) var(--motion-easing-responsive-hjj3ai, cubic-bezier(0, 0, 0, 1)) forwards;
207
207
  }
208
208
  @media (prefers-reduced-motion: reduce) {
209
- .awsui_direction-button-wrapper-motion-exiting_155yk_1cu1s_189:not(#\9) {
209
+ .awsui_direction-button-wrapper-motion-exiting_155yk_1rpq3_189:not(#\9) {
210
210
  animation: none;
211
211
  transition: none;
212
212
  }
213
213
  }
214
- .awsui-motion-disabled .awsui_direction-button-wrapper-motion-exiting_155yk_1cu1s_189:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-exiting_155yk_1cu1s_189:not(#\9) {
214
+ .awsui-motion-disabled .awsui_direction-button-wrapper-motion-exiting_155yk_1rpq3_189:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-exiting_155yk_1rpq3_189:not(#\9) {
215
215
  animation: none;
216
216
  transition: none;
217
217
  }
218
218
  @media (prefers-reduced-motion: reduce) {
219
- .awsui_direction-button-wrapper_155yk_1cu1s_169:not(#\9) {
219
+ .awsui_direction-button-wrapper_155yk_1rpq3_169:not(#\9) {
220
220
  animation: none;
221
221
  transition: none;
222
222
  }
223
223
  }
224
- .awsui-motion-disabled .awsui_direction-button-wrapper_155yk_1cu1s_169:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper_155yk_1cu1s_169:not(#\9) {
224
+ .awsui-motion-disabled .awsui_direction-button-wrapper_155yk_1rpq3_169:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper_155yk_1rpq3_169:not(#\9) {
225
225
  animation: none;
226
226
  transition: none;
227
227
  }
228
228
 
229
- .awsui_direction-button-wrapper-block-start_155yk_1cu1s_229:not(#\9) {
230
- --awsui-drag-handle-animation-block-offset-jsjyte: 20px;
229
+ .awsui_direction-button-wrapper-block-start_155yk_1rpq3_229:not(#\9) {
230
+ --awsui-drag-handle-animation-block-offset-6b9ypa: 20px;
231
231
  }
232
232
 
233
- .awsui_direction-button-wrapper-block-end_155yk_1cu1s_233:not(#\9) {
234
- --awsui-drag-handle-animation-block-offset-jsjyte: -20px;
233
+ .awsui_direction-button-wrapper-block-end_155yk_1rpq3_233:not(#\9) {
234
+ --awsui-drag-handle-animation-block-offset-6b9ypa: -20px;
235
235
  }
236
236
 
237
- .awsui_direction-button-wrapper-inline-start_155yk_1cu1s_237:not(#\9) {
237
+ .awsui_direction-button-wrapper-inline-start_155yk_1rpq3_237:not(#\9) {
238
238
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
239
239
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
240
240
  }
241
- .awsui_direction-button-wrapper-inline-start_155yk_1cu1s_237:not(#\9):dir(ltr) {
242
- --awsui-drag-handle-animation-inline-offset-jsjyte: 20px;
241
+ .awsui_direction-button-wrapper-inline-start_155yk_1rpq3_237:not(#\9):dir(ltr) {
242
+ --awsui-drag-handle-animation-inline-offset-6b9ypa: 20px;
243
243
  }
244
- .awsui_direction-button-wrapper-inline-start_155yk_1cu1s_237:not(#\9):dir(rtl) {
245
- --awsui-drag-handle-animation-inline-offset-jsjyte: -20px;
244
+ .awsui_direction-button-wrapper-inline-start_155yk_1rpq3_237:not(#\9):dir(rtl) {
245
+ --awsui-drag-handle-animation-inline-offset-6b9ypa: -20px;
246
246
  }
247
247
 
248
- .awsui_direction-button-wrapper-inline-end_155yk_1cu1s_248:not(#\9) {
248
+ .awsui_direction-button-wrapper-inline-end_155yk_1rpq3_248:not(#\9) {
249
249
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
250
250
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
251
251
  }
252
- .awsui_direction-button-wrapper-inline-end_155yk_1cu1s_248:not(#\9):dir(ltr) {
253
- --awsui-drag-handle-animation-inline-offset-jsjyte: -20px;
252
+ .awsui_direction-button-wrapper-inline-end_155yk_1rpq3_248:not(#\9):dir(ltr) {
253
+ --awsui-drag-handle-animation-inline-offset-6b9ypa: -20px;
254
254
  }
255
- .awsui_direction-button-wrapper-inline-end_155yk_1cu1s_248:not(#\9):dir(rtl) {
256
- --awsui-drag-handle-animation-inline-offset-jsjyte: 20px;
255
+ .awsui_direction-button-wrapper-inline-end_155yk_1rpq3_248:not(#\9):dir(rtl) {
256
+ --awsui-drag-handle-animation-inline-offset-6b9ypa: 20px;
257
257
  }
258
258
 
259
- .awsui_contents_155yk_1cu1s_259:not(#\9) {
259
+ .awsui_contents_155yk_1rpq3_259:not(#\9) {
260
260
  display: contents;
261
261
  }
262
262
 
263
- .awsui_portal-overlay_155yk_1cu1s_263:not(#\9) {
263
+ .awsui_portal-overlay_155yk_1rpq3_263:not(#\9) {
264
264
  position: absolute;
265
265
  inset-block-start: 0;
266
266
  inset-inline-start: 0;
@@ -268,20 +268,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
268
268
  z-index: 7000;
269
269
  }
270
270
 
271
- .awsui_portal-overlay-disabled_155yk_1cu1s_271:not(#\9) {
271
+ .awsui_portal-overlay-disabled_155yk_1rpq3_271:not(#\9) {
272
272
  display: none;
273
273
  }
274
274
 
275
- .awsui_portal-overlay-contents_155yk_1cu1s_275:not(#\9) {
275
+ .awsui_portal-overlay-contents_155yk_1rpq3_275:not(#\9) {
276
276
  pointer-events: auto;
277
277
  }
278
278
 
279
- .awsui_drag-handle_155yk_1cu1s_279:not(#\9) {
279
+ .awsui_drag-handle_155yk_1rpq3_279:not(#\9) {
280
280
  position: relative;
281
281
  display: inline-flex;
282
282
  }
283
283
 
284
- .awsui_direction-button-wrapper_155yk_1cu1s_169:not(#\9) {
284
+ .awsui_direction-button-wrapper_155yk_1rpq3_169:not(#\9) {
285
285
  position: absolute;
286
286
  block-size: var(--space-static-xl-4tedi6, 24px);
287
287
  inline-size: var(--space-static-xl-4tedi6, 24px);
@@ -289,67 +289,67 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
289
289
  padding-inline: var(--space-static-xxs-ns94dp, 4px);
290
290
  }
291
291
 
292
- .awsui_direction-button-wrapper-hidden_155yk_1cu1s_292:not(#\9) {
292
+ .awsui_direction-button-wrapper-hidden_155yk_1rpq3_292:not(#\9) {
293
293
  display: none;
294
294
  }
295
295
 
296
- .awsui_direction-button-wrapper-block-start_155yk_1cu1s_229:not(#\9) {
296
+ .awsui_direction-button-wrapper-block-start_155yk_1rpq3_229:not(#\9) {
297
297
  inset-block-start: calc(-1 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
298
298
  inset-inline-start: calc(50% - (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)) / 2);
299
299
  }
300
300
 
301
- .awsui_direction-button-wrapper-block-end_155yk_1cu1s_233:not(#\9) {
301
+ .awsui_direction-button-wrapper-block-end_155yk_1rpq3_233:not(#\9) {
302
302
  inset-block-end: calc(-1 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
303
303
  inset-inline-start: calc(50% - (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)) / 2);
304
304
  }
305
305
 
306
- .awsui_direction-button-wrapper-inline-start_155yk_1cu1s_237:not(#\9) {
306
+ .awsui_direction-button-wrapper-inline-start_155yk_1rpq3_237:not(#\9) {
307
307
  inset-inline-start: calc(-1 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
308
308
  inset-block-start: calc(50% - (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)) / 2);
309
309
  }
310
310
 
311
- .awsui_direction-button-wrapper-inline-end_155yk_1cu1s_248:not(#\9) {
311
+ .awsui_direction-button-wrapper-inline-end_155yk_1rpq3_248:not(#\9) {
312
312
  inset-inline-end: calc(-1 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
313
313
  inset-block-start: calc(50% - (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)) / 2);
314
314
  }
315
315
 
316
- .awsui_direction-button-wrapper-forced_155yk_1cu1s_316:not(#\9) {
316
+ .awsui_direction-button-wrapper-forced_155yk_1rpq3_316:not(#\9) {
317
317
  inset-inline-start: calc(50% - (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)) / 2);
318
318
  }
319
319
 
320
- .awsui_direction-button-wrapper-forced-top-0_155yk_1cu1s_320:not(#\9) {
320
+ .awsui_direction-button-wrapper-forced-top-0_155yk_1rpq3_320:not(#\9) {
321
321
  inset-block-start: calc(-1 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
322
322
  }
323
323
 
324
- .awsui_direction-button-wrapper-forced-top-1_155yk_1cu1s_324:not(#\9) {
324
+ .awsui_direction-button-wrapper-forced-top-1_155yk_1rpq3_324:not(#\9) {
325
325
  inset-block-start: calc(-2 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
326
326
  }
327
327
 
328
- .awsui_direction-button-wrapper-forced-top-2_155yk_1cu1s_328:not(#\9) {
328
+ .awsui_direction-button-wrapper-forced-top-2_155yk_1rpq3_328:not(#\9) {
329
329
  inset-block-start: calc(-3 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
330
330
  }
331
331
 
332
- .awsui_direction-button-wrapper-forced-top-3_155yk_1cu1s_332:not(#\9) {
332
+ .awsui_direction-button-wrapper-forced-top-3_155yk_1rpq3_332:not(#\9) {
333
333
  inset-block-start: calc(-4 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
334
334
  }
335
335
 
336
- .awsui_direction-button-wrapper-forced-bottom-0_155yk_1cu1s_336:not(#\9) {
336
+ .awsui_direction-button-wrapper-forced-bottom-0_155yk_1rpq3_336:not(#\9) {
337
337
  inset-block-start: calc(1 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
338
338
  }
339
339
 
340
- .awsui_direction-button-wrapper-forced-bottom-1_155yk_1cu1s_340:not(#\9) {
340
+ .awsui_direction-button-wrapper-forced-bottom-1_155yk_1rpq3_340:not(#\9) {
341
341
  inset-block-start: calc(2 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
342
342
  }
343
343
 
344
- .awsui_direction-button-wrapper-forced-bottom-2_155yk_1cu1s_344:not(#\9) {
344
+ .awsui_direction-button-wrapper-forced-bottom-2_155yk_1rpq3_344:not(#\9) {
345
345
  inset-block-start: calc(3 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
346
346
  }
347
347
 
348
- .awsui_direction-button-wrapper-forced-bottom-3_155yk_1cu1s_348:not(#\9) {
348
+ .awsui_direction-button-wrapper-forced-bottom-3_155yk_1rpq3_348:not(#\9) {
349
349
  inset-block-start: calc(4 * (var(--space-static-xl-4tedi6, 24px) + 2 * var(--space-static-xxs-ns94dp, 4px)));
350
350
  }
351
351
 
352
- .awsui_direction-button_155yk_1cu1s_169:not(#\9) {
352
+ .awsui_direction-button_155yk_1rpq3_169:not(#\9) {
353
353
  position: absolute;
354
354
  border-width: 0;
355
355
  cursor: pointer;
@@ -368,14 +368,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
368
368
  color: var(--color-text-direction-button-default-p88lvb, #ffffff);
369
369
  box-shadow: var(--shadow-dropdown-isf0w4, 0px 4px 20px 1px rgba(0, 7, 22, 0.1));
370
370
  }
371
- .awsui_direction-button_155yk_1cu1s_169:not(#\9):not(.awsui_direction-button-disabled_155yk_1cu1s_371):hover {
371
+ .awsui_direction-button_155yk_1rpq3_169:not(#\9):not(.awsui_direction-button-disabled_155yk_1rpq3_371):hover {
372
372
  background-color: var(--color-background-direction-button-hover-74n5o1, #333843);
373
373
  }
374
- .awsui_direction-button_155yk_1cu1s_169:not(#\9):not(.awsui_direction-button-disabled_155yk_1cu1s_371):active {
374
+ .awsui_direction-button_155yk_1rpq3_169:not(#\9):not(.awsui_direction-button-disabled_155yk_1rpq3_371):active {
375
375
  background-color: var(--color-background-direction-button-active-lvo0dy, #232b37);
376
376
  }
377
377
 
378
- .awsui_direction-button-disabled_155yk_1cu1s_371:not(#\9) {
378
+ .awsui_direction-button-disabled_155yk_1rpq3_371:not(#\9) {
379
379
  cursor: default;
380
380
  background-color: var(--color-background-direction-button-disabled-s9x4zq, #ebebf0);
381
381
  color: var(--color-text-direction-button-disabled-2jds36, #b4b4bb);
@@ -2,35 +2,35 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "direction-button-wrapper": "awsui_direction-button-wrapper_155yk_1cu1s_169",
6
- "direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-enter_155yk_1cu1s_189",
7
- "direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-entering_155yk_1cu1s_189",
8
- "direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-exit_155yk_1cu1s_189",
9
- "direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-exiting_155yk_1cu1s_189",
10
- "drag-handle-entry": "awsui_drag-handle-entry_155yk_1cu1s_1",
11
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_155yk_1cu1s_1",
12
- "drag-handle-exit": "awsui_drag-handle-exit_155yk_1cu1s_1",
13
- "awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_155yk_1cu1s_1",
14
- "direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-start_155yk_1cu1s_229",
15
- "direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-end_155yk_1cu1s_233",
16
- "direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-start_155yk_1cu1s_237",
17
- "direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-end_155yk_1cu1s_248",
18
- "contents": "awsui_contents_155yk_1cu1s_259",
19
- "portal-overlay": "awsui_portal-overlay_155yk_1cu1s_263",
20
- "portal-overlay-disabled": "awsui_portal-overlay-disabled_155yk_1cu1s_271",
21
- "portal-overlay-contents": "awsui_portal-overlay-contents_155yk_1cu1s_275",
22
- "drag-handle": "awsui_drag-handle_155yk_1cu1s_279",
23
- "direction-button-wrapper-hidden": "awsui_direction-button-wrapper-hidden_155yk_1cu1s_292",
24
- "direction-button-wrapper-forced": "awsui_direction-button-wrapper-forced_155yk_1cu1s_316",
25
- "direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-0_155yk_1cu1s_320",
26
- "direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-1_155yk_1cu1s_324",
27
- "direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-2_155yk_1cu1s_328",
28
- "direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-3_155yk_1cu1s_332",
29
- "direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-0_155yk_1cu1s_336",
30
- "direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-1_155yk_1cu1s_340",
31
- "direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-2_155yk_1cu1s_344",
32
- "direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-3_155yk_1cu1s_348",
33
- "direction-button": "awsui_direction-button_155yk_1cu1s_169",
34
- "direction-button-disabled": "awsui_direction-button-disabled_155yk_1cu1s_371"
5
+ "direction-button-wrapper": "awsui_direction-button-wrapper_155yk_1rpq3_169",
6
+ "direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-enter_155yk_1rpq3_189",
7
+ "direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-entering_155yk_1rpq3_189",
8
+ "direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-exit_155yk_1rpq3_189",
9
+ "direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-exiting_155yk_1rpq3_189",
10
+ "drag-handle-entry": "awsui_drag-handle-entry_155yk_1rpq3_1",
11
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_155yk_1rpq3_1",
12
+ "drag-handle-exit": "awsui_drag-handle-exit_155yk_1rpq3_1",
13
+ "awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_155yk_1rpq3_1",
14
+ "direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-start_155yk_1rpq3_229",
15
+ "direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-end_155yk_1rpq3_233",
16
+ "direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-start_155yk_1rpq3_237",
17
+ "direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-end_155yk_1rpq3_248",
18
+ "contents": "awsui_contents_155yk_1rpq3_259",
19
+ "portal-overlay": "awsui_portal-overlay_155yk_1rpq3_263",
20
+ "portal-overlay-disabled": "awsui_portal-overlay-disabled_155yk_1rpq3_271",
21
+ "portal-overlay-contents": "awsui_portal-overlay-contents_155yk_1rpq3_275",
22
+ "drag-handle": "awsui_drag-handle_155yk_1rpq3_279",
23
+ "direction-button-wrapper-hidden": "awsui_direction-button-wrapper-hidden_155yk_1rpq3_292",
24
+ "direction-button-wrapper-forced": "awsui_direction-button-wrapper-forced_155yk_1rpq3_316",
25
+ "direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-0_155yk_1rpq3_320",
26
+ "direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-1_155yk_1rpq3_324",
27
+ "direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-2_155yk_1rpq3_328",
28
+ "direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-3_155yk_1rpq3_332",
29
+ "direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-0_155yk_1rpq3_336",
30
+ "direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-1_155yk_1rpq3_340",
31
+ "direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-2_155yk_1rpq3_344",
32
+ "direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-3_155yk_1rpq3_348",
33
+ "direction-button": "awsui_direction-button_155yk_1rpq3_169",
34
+ "direction-button-disabled": "awsui_direction-button-disabled_155yk_1rpq3_371"
35
35
  };
36
36
 
@@ -1,12 +1,12 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "radio-control": "awsui_radio-control_1v1hk_d0161_145",
5
- "outline": "awsui_outline_1v1hk_d0161_153",
6
- "styled-circle-border": "awsui_styled-circle-border_1v1hk_d0161_176",
7
- "styled-circle-disabled": "awsui_styled-circle-disabled_1v1hk_d0161_180",
8
- "styled-circle-readonly": "awsui_styled-circle-readonly_1v1hk_d0161_180",
9
- "styled-circle-fill": "awsui_styled-circle-fill_1v1hk_d0161_185",
10
- "styled-circle-checked": "awsui_styled-circle-checked_1v1hk_d0161_201"
4
+ "radio-control": "awsui_radio-control_1v1hk_ykhrv_145",
5
+ "outline": "awsui_outline_1v1hk_ykhrv_153",
6
+ "styled-circle-border": "awsui_styled-circle-border_1v1hk_ykhrv_176",
7
+ "styled-circle-disabled": "awsui_styled-circle-disabled_1v1hk_ykhrv_180",
8
+ "styled-circle-readonly": "awsui_styled-circle-readonly_1v1hk_ykhrv_180",
9
+ "styled-circle-fill": "awsui_styled-circle-fill_1v1hk_ykhrv_185",
10
+ "styled-circle-checked": "awsui_styled-circle-checked_1v1hk_ykhrv_201"
11
11
  };
12
12
 
@@ -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_radio-control_1v1hk_d0161_145:not(#\9) {
145
+ .awsui_radio-control_1v1hk_ykhrv_145:not(#\9) {
146
146
  margin-block-start: calc((var(--line-height-body-m-2mh3ke, 20px) - var(--size-control-adm93y, 16px)) / 2);
147
147
  min-block-size: var(--size-control-adm93y, 16px);
148
148
  min-inline-size: var(--size-control-adm93y, 16px);
@@ -150,15 +150,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
150
150
  inline-size: var(--size-control-adm93y, 16px);
151
151
  }
152
152
 
153
- .awsui_outline_1v1hk_d0161_153:not(#\9) {
154
- --awsui-style-focus-ring-box-shadow-jsjyte: 0 0 0 var(--awsui-style-focus-ring-border-width-jsjyte, 2px) var(--awsui-style-focus-ring-border-color-jsjyte, var(--color-border-item-focused-uk47pl, #006ce0));
153
+ .awsui_outline_1v1hk_ykhrv_153:not(#\9) {
154
+ --awsui-style-focus-ring-box-shadow-6b9ypa: 0 0 0 var(--awsui-style-focus-ring-border-width-6b9ypa, 2px) var(--awsui-style-focus-ring-border-color-6b9ypa, var(--color-border-item-focused-uk47pl, #006ce0));
155
155
  position: relative;
156
156
  }
157
- .awsui_outline_1v1hk_d0161_153:not(#\9) {
157
+ .awsui_outline_1v1hk_ykhrv_153:not(#\9) {
158
158
  outline: 2px dotted transparent;
159
159
  outline-offset: calc(2px - 1px);
160
160
  }
161
- .awsui_outline_1v1hk_d0161_153:not(#\9)::before {
161
+ .awsui_outline_1v1hk_ykhrv_153:not(#\9)::before {
162
162
  content: " ";
163
163
  display: block;
164
164
  position: absolute;
@@ -166,46 +166,46 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
166
166
  inset-block-start: calc(-1 * 2px);
167
167
  inline-size: calc(100% + 2px + 2px);
168
168
  block-size: calc(100% + 2px + 2px);
169
- border-start-start-radius: var(--awsui-style-focus-ring-border-radius-jsjyte, var(--border-radius-control-circular-focus-ring-yjhscw, 4px));
170
- border-start-end-radius: var(--awsui-style-focus-ring-border-radius-jsjyte, var(--border-radius-control-circular-focus-ring-yjhscw, 4px));
171
- border-end-start-radius: var(--awsui-style-focus-ring-border-radius-jsjyte, var(--border-radius-control-circular-focus-ring-yjhscw, 4px));
172
- border-end-end-radius: var(--awsui-style-focus-ring-border-radius-jsjyte, var(--border-radius-control-circular-focus-ring-yjhscw, 4px));
173
- box-shadow: var(--awsui-style-focus-ring-box-shadow-jsjyte);
169
+ border-start-start-radius: var(--awsui-style-focus-ring-border-radius-6b9ypa, var(--border-radius-control-circular-focus-ring-yjhscw, 4px));
170
+ border-start-end-radius: var(--awsui-style-focus-ring-border-radius-6b9ypa, var(--border-radius-control-circular-focus-ring-yjhscw, 4px));
171
+ border-end-start-radius: var(--awsui-style-focus-ring-border-radius-6b9ypa, var(--border-radius-control-circular-focus-ring-yjhscw, 4px));
172
+ border-end-end-radius: var(--awsui-style-focus-ring-border-radius-6b9ypa, var(--border-radius-control-circular-focus-ring-yjhscw, 4px));
173
+ box-shadow: var(--awsui-style-focus-ring-box-shadow-6b9ypa);
174
174
  }
175
175
 
176
- .awsui_styled-circle-border_1v1hk_d0161_176:not(#\9) {
176
+ .awsui_styled-circle-border_1v1hk_ykhrv_176:not(#\9) {
177
177
  stroke: var(--color-border-control-default-sh3548, #8c8c94);
178
178
  fill: var(--color-background-control-default-4jb21l, #ffffff);
179
179
  }
180
- .awsui_styled-circle-border_1v1hk_d0161_176.awsui_styled-circle-disabled_1v1hk_d0161_180:not(#\9), .awsui_styled-circle-border_1v1hk_d0161_176.awsui_styled-circle-readonly_1v1hk_d0161_180:not(#\9) {
180
+ .awsui_styled-circle-border_1v1hk_ykhrv_176.awsui_styled-circle-disabled_1v1hk_ykhrv_180:not(#\9), .awsui_styled-circle-border_1v1hk_ykhrv_176.awsui_styled-circle-readonly_1v1hk_ykhrv_180:not(#\9) {
181
181
  fill: var(--color-background-control-disabled-1f3718, #dedee3);
182
182
  stroke: var(--color-background-control-disabled-1f3718, #dedee3);
183
183
  }
184
184
 
185
- .awsui_styled-circle-fill_1v1hk_d0161_185:not(#\9) {
185
+ .awsui_styled-circle-fill_1v1hk_ykhrv_185:not(#\9) {
186
186
  stroke: var(--color-background-control-checked-ka7kc2, #006ce0);
187
187
  fill: var(--color-foreground-control-default-eto4wy, #ffffff);
188
188
  opacity: 0;
189
189
  transition: opacity var(--motion-duration-transition-quick-mcm2y0, 90ms) var(--motion-easing-transition-quick-qxak3i, linear);
190
190
  }
191
191
  @media (prefers-reduced-motion: reduce) {
192
- .awsui_styled-circle-fill_1v1hk_d0161_185:not(#\9) {
192
+ .awsui_styled-circle-fill_1v1hk_ykhrv_185:not(#\9) {
193
193
  animation: none;
194
194
  transition: none;
195
195
  }
196
196
  }
197
- .awsui-motion-disabled .awsui_styled-circle-fill_1v1hk_d0161_185:not(#\9), .awsui-mode-entering .awsui_styled-circle-fill_1v1hk_d0161_185:not(#\9) {
197
+ .awsui-motion-disabled .awsui_styled-circle-fill_1v1hk_ykhrv_185:not(#\9), .awsui-mode-entering .awsui_styled-circle-fill_1v1hk_ykhrv_185:not(#\9) {
198
198
  animation: none;
199
199
  transition: none;
200
200
  }
201
- .awsui_styled-circle-fill_1v1hk_d0161_185.awsui_styled-circle-checked_1v1hk_d0161_201:not(#\9) {
201
+ .awsui_styled-circle-fill_1v1hk_ykhrv_185.awsui_styled-circle-checked_1v1hk_ykhrv_201:not(#\9) {
202
202
  opacity: 1;
203
203
  }
204
- .awsui_styled-circle-fill_1v1hk_d0161_185.awsui_styled-circle-disabled_1v1hk_d0161_180:not(#\9) {
204
+ .awsui_styled-circle-fill_1v1hk_ykhrv_185.awsui_styled-circle-disabled_1v1hk_ykhrv_180:not(#\9) {
205
205
  fill: var(--color-foreground-control-disabled-txi6cf, #ffffff);
206
206
  stroke: var(--color-background-control-disabled-1f3718, #dedee3);
207
207
  }
208
- .awsui_styled-circle-fill_1v1hk_d0161_185.awsui_styled-circle-readonly_1v1hk_d0161_180:not(#\9) {
208
+ .awsui_styled-circle-fill_1v1hk_ykhrv_185.awsui_styled-circle-readonly_1v1hk_ykhrv_180:not(#\9) {
209
209
  fill: var(--color-foreground-control-read-only-7ydvuj, #656871);
210
210
  stroke: var(--color-background-control-disabled-1f3718, #dedee3);
211
211
  }
@@ -2,12 +2,12 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "radio-control": "awsui_radio-control_1v1hk_d0161_145",
6
- "outline": "awsui_outline_1v1hk_d0161_153",
7
- "styled-circle-border": "awsui_styled-circle-border_1v1hk_d0161_176",
8
- "styled-circle-disabled": "awsui_styled-circle-disabled_1v1hk_d0161_180",
9
- "styled-circle-readonly": "awsui_styled-circle-readonly_1v1hk_d0161_180",
10
- "styled-circle-fill": "awsui_styled-circle-fill_1v1hk_d0161_185",
11
- "styled-circle-checked": "awsui_styled-circle-checked_1v1hk_d0161_201"
5
+ "radio-control": "awsui_radio-control_1v1hk_ykhrv_145",
6
+ "outline": "awsui_outline_1v1hk_ykhrv_153",
7
+ "styled-circle-border": "awsui_styled-circle-border_1v1hk_ykhrv_176",
8
+ "styled-circle-disabled": "awsui_styled-circle-disabled_1v1hk_ykhrv_180",
9
+ "styled-circle-readonly": "awsui_styled-circle-readonly_1v1hk_ykhrv_180",
10
+ "styled-circle-fill": "awsui_styled-circle-fill_1v1hk_ykhrv_185",
11
+ "styled-circle-checked": "awsui_styled-circle-checked_1v1hk_ykhrv_201"
12
12
  };
13
13
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/sortable-area/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAOjD,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAE7B,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,IAAI,EAAE,EACzC,KAAK,EACL,cAAc,EACd,UAAU,EACV,aAAa,EACb,cAAc,EACd,WAAW,GACZ,EAAE,iBAAiB,CAAC,IAAI,CAAC,eAiFzB;AAgGD,wBAAgB,sBAAsB,CACpC,cAAc,EAAE,iBAAiB,CAAC,cAAc,CAAC,GAAG,CAAC,GACpD,iBAAiB,CAAC,mBAAmB,CAEvC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/sortable-area/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAOjD,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAE7B,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,IAAI,EAAE,EACzC,KAAK,EACL,cAAc,EACd,UAAU,EACV,aAAa,EACb,cAAc,EACd,WAAW,GACZ,EAAE,iBAAiB,CAAC,IAAI,CAAC,eAiFzB;AA+FD,wBAAgB,sBAAsB,CACpC,cAAc,EAAE,iBAAiB,CAAC,cAAc,CAAC,GAAG,CAAC,GACpD,iBAAiB,CAAC,mBAAmB,CAEvC"}
@@ -105,7 +105,6 @@ function DraggableItem({ item, itemDefinition, dragHandleAriaLabel, showDirectio
105
105
  isDragGhost: false,
106
106
  dragHandleProps: {
107
107
  ...dragHandleListeners,
108
- active: isDragging,
109
108
  ariaLabel: (_a = joinStrings(dragHandleAriaLabel, itemDefinition.label(item))) !== null && _a !== void 0 ? _a : '',
110
109
  ariaDescribedby: attributes['aria-describedby'],
111
110
  disabled: attributes['aria-disabled'],
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/sortable-area/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AACzG,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AACzC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AAEvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,qBAAqB,MAAM,6BAA6B,CAAC;AAChE,OAAO,oBAAoB,MAAM,0BAA0B,CAAC;AAE5D,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAIrC,MAAM,CAAC,OAAO,UAAU,YAAY,CAAO,EACzC,KAAK,EACL,cAAc,EACd,UAAU,EACV,aAAa,EACb,cAAc,EACd,WAAW,GACa;;IACxB,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,aAAa,EAAE,OAAO,EAAE,UAAU,EAAE,GAC7F,qBAAqB,CAAC;QACpB,KAAK;QACL,cAAc;KACf,CAAC,CAAC;IACL,MAAM,UAAU,GAAG,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC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C1B,WAAW,EAAE,KAAK;QAClB,eAAe,EAAE;YACf,GAAG,mBAAmB;YACtB,MAAM,EAAE,UAAU;YAClB,SAAS,EAAE,MAAA,WAAW,CAAC,mBAAmB,EAAE,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,mCAAI,EAAE;YAC7E,eAAe,EAAE,UAAU,CAAC,kBAAkB,CAAC;YAC/C,QAAQ,EAAE,UAAU,CAAC,eAAe,CAAC;YACrC,WAAW,EAAE,YAAY;YACzB,qBAAqB,EAAE,oBAAoB;YAC3C,GAAG,EAAE,aAAa;YAClB,UAAU,EAAE,oBAAoB;gBAC9B,CAAC,CAAC;oBACE,aAAa,EAAE,QAAQ;oBACvB,WAAW,EAAE,QAAQ;iBACtB;gBACH,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,SAAS,CAAC,EAAE;;gBAC5B,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,SAAS,KAAK,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,UAAU,EAAE;oBAC/F,OAAO,EAAE,IAAI;oBACb,UAAU,EAAE,IAAI;iBACjB,CAAC,CAAC;gBACH,SAAS,CAAC,KAAY,CAAC,CAAC;gBACxB,MAAA,aAAa,CAAC,OAAO,0CAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAC9C,CAAC;SACF;KACF,CAAC,CACD,CACJ,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,cAAqD;;IAErD,OAAO,MAAA,cAAc,CAAC,YAAY,mCAAI,MAAM,CAAC;AAC/C,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { useEffect, useRef } from 'react';\nimport { DndContext, DragOverlay } from '@dnd-kit/core';\nimport { arrayMove, SortableContext, useSortable, verticalListSortingStrategy } from '@dnd-kit/sortable';\nimport { CSS } from '@dnd-kit/utilities';\nimport clsx from 'clsx';\n\nimport { Portal } from '@cloudscape-design/component-toolkit/internal';\n\nimport { fireNonCancelableEvent } from '../../events';\nimport { joinStrings } from '../../utils/strings';\nimport { SortableAreaProps } from './interfaces';\nimport { EventName } from './keyboard-sensor/utilities/events';\nimport useDragAndDropReorder from './use-drag-and-drop-reorder';\nimport useLiveAnnouncements from './use-live-announcements';\n\nimport styles from './styles.css.js';\n\nexport { SortableAreaProps };\n\nexport default function SortableArea<Item>({\n items,\n itemDefinition,\n renderItem,\n onItemsChange,\n disableReorder,\n i18nStrings,\n}: SortableAreaProps<Item>) {\n const { activeItemId, setActiveItemId, collisionDetection, handleKeyDown, sensors, isKeyboard } =\n useDragAndDropReorder({\n items,\n itemDefinition,\n });\n const activeItem = activeItemId ? items.find(item => itemDefinition.id(item) === activeItemId) : null;\n const isDragging = activeItemId !== null;\n const announcements = useLiveAnnouncements({ items, itemDefinition, isDragging, ...i18nStrings });\n const portalContainer = usePortalContainer();\n return (\n <DndContext\n sensors={sensors}\n collisionDetection={collisionDetection}\n accessibility={{\n announcements,\n restoreFocus: false,\n screenReaderInstructions: i18nStrings?.dragHandleAriaDescription\n ? { draggable: i18nStrings.dragHandleAriaDescription }\n : undefined,\n container: portalContainer ?? undefined,\n }}\n onDragStart={({ active }) => setActiveItemId(active.id)}\n onDragEnd={event => {\n setActiveItemId(null);\n const { active, over } = event;\n if (over && active.id !== over.id) {\n const movedItem = items.find(item => itemDefinition.id(item) === active.id)!;\n const oldIndex = items.findIndex(item => itemDefinition.id(item) === active.id);\n const newIndex = items.findIndex(item => itemDefinition.id(item) === over.id);\n fireNonCancelableEvent(onItemsChange, { items: arrayMove([...items], oldIndex, newIndex), movedItem });\n }\n }}\n onDragCancel={() => setActiveItemId(null)}\n >\n <SortableContext\n disabled={disableReorder}\n items={items.map(item => itemDefinition.id(item))}\n strategy={verticalListSortingStrategy}\n >\n {items.map(item => (\n <DraggableItem\n key={itemDefinition.id(item)}\n item={item}\n itemDefinition={itemDefinition}\n showDirectionButtons={item === activeItem && isKeyboard.current}\n renderItem={renderItem}\n onKeyDown={handleKeyDown}\n dragHandleAriaLabel={i18nStrings?.dragHandleAriaLabel}\n />\n ))}\n </SortableContext>\n\n <Portal container={portalContainer}>\n {/* Make sure that the drag overlay is above the modal by assigning the z-index as inline style\n so that it prevails over dnd-kit's inline z-index of 999 */}\n <DragOverlay\n className={clsx(styles['drag-overlay'], styles[`drag-overlay-${getBorderRadiusVariant(itemDefinition)}`])}\n dropAnimation={null}\n style={{ zIndex: 5000 }}\n transition={isKeyboard.current ? 'transform 250ms' : ''}\n >\n {activeItem &&\n renderItem({\n item: activeItem,\n id: activeItemId!.toString(),\n style: {},\n className: styles.active,\n isDropPlaceholder: true,\n isSortingActive: false,\n isDragGhost: true,\n dragHandleProps: {\n ariaLabel: joinStrings(i18nStrings?.dragHandleAriaLabel, itemDefinition.label(activeItem)) ?? '',\n active: true,\n onKeyDown: handleKeyDown,\n },\n })}\n </DragOverlay>\n </Portal>\n </DndContext>\n );\n}\n\nfunction usePortalContainer() {\n const portalContainerRef = useRef(typeof document !== 'undefined' ? document.createElement('div') : null);\n useEffect(() => {\n const container = portalContainerRef.current;\n if (container && !container.isConnected) {\n document.body.appendChild(container);\n }\n return () => {\n if (container && container.isConnected) {\n document.body.removeChild(container);\n }\n };\n }, []);\n return portalContainerRef.current;\n}\n\nfunction DraggableItem<Item>({\n item,\n itemDefinition,\n dragHandleAriaLabel,\n showDirectionButtons,\n onKeyDown,\n renderItem,\n}: {\n item: Item;\n itemDefinition: SortableAreaProps.ItemDefinition<Item>;\n dragHandleAriaLabel?: string;\n showDirectionButtons: boolean;\n onKeyDown: (event: React.KeyboardEvent) => void;\n renderItem: (props: SortableAreaProps.RenderItemProps<Item>) => React.ReactNode;\n}) {\n const id = itemDefinition.id(item);\n const { isDragging, isSorting, listeners, setNodeRef, transform, attributes } = useSortable({\n id,\n });\n const style = { transform: CSS.Translate.toString(transform) };\n const dragHandleListeners = attributes['aria-disabled']\n ? {}\n : {\n ...listeners,\n onKeyDown: (event: React.KeyboardEvent) => {\n if (onKeyDown) {\n onKeyDown(event);\n }\n if (listeners?.onKeyDown) {\n listeners.onKeyDown(event);\n }\n },\n };\n const className = clsx(\n isDragging && clsx(styles.placeholder, styles[`placeholder-${getBorderRadiusVariant(itemDefinition)}`]),\n isSorting && styles.sorting\n );\n const dragHandleRef = useRef<HTMLElement>(null);\n return (\n <>\n {renderItem({\n item,\n id,\n ref: setNodeRef,\n style,\n className,\n isDropPlaceholder: isDragging,\n isSortingActive: isSorting,\n isDragGhost: false,\n dragHandleProps: {\n ...dragHandleListeners,\n active: isDragging,\n ariaLabel: joinStrings(dragHandleAriaLabel, itemDefinition.label(item)) ?? '',\n ariaDescribedby: attributes['aria-describedby'],\n disabled: attributes['aria-disabled'],\n triggerMode: 'controlled',\n controlledShowButtons: showDirectionButtons,\n ref: dragHandleRef,\n directions: showDirectionButtons\n ? {\n 'block-start': 'active',\n 'block-end': 'active',\n }\n : undefined,\n onDirectionClick: direction => {\n const event = new Event(direction === 'block-start' ? EventName.CustomUp : EventName.CustomDown, {\n bubbles: true,\n cancelable: true,\n });\n onKeyDown(event as any);\n dragHandleRef.current?.dispatchEvent(event);\n },\n },\n })}\n </>\n );\n}\n\nexport function getBorderRadiusVariant(\n itemDefinition: SortableAreaProps.ItemDefinition<any>\n): SortableAreaProps.BorderRadiusVariant {\n return itemDefinition.borderRadius ?? 'item';\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/sortable-area/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;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AC,EAAE;;gBAC5B,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,SAAS,KAAK,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,UAAU,EAAE;oBAC/F,OAAO,EAAE,IAAI;oBACb,UAAU,EAAE,IAAI;iBACjB,CAAC,CAAC;gBACH,SAAS,CAAC,KAAY,CAAC,CAAC;gBACxB,MAAA,aAAa,CAAC,OAAO,0CAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAC9C,CAAC;SACF;KACF,CAAC,CACD,CACJ,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,cAAqD;;IAErD,OAAO,MAAA,cAAc,CAAC,YAAY,mCAAI,MAAM,CAAC;AAC/C,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { useEffect, useRef } from 'react';\nimport { DndContext, DragOverlay } from '@dnd-kit/core';\nimport { arrayMove, SortableContext, useSortable, verticalListSortingStrategy } from '@dnd-kit/sortable';\nimport { CSS } from '@dnd-kit/utilities';\nimport clsx from 'clsx';\n\nimport { Portal } from '@cloudscape-design/component-toolkit/internal';\n\nimport { fireNonCancelableEvent } from '../../events';\nimport { joinStrings } from '../../utils/strings';\nimport { SortableAreaProps } from './interfaces';\nimport { EventName } from './keyboard-sensor/utilities/events';\nimport useDragAndDropReorder from './use-drag-and-drop-reorder';\nimport useLiveAnnouncements from './use-live-announcements';\n\nimport styles from './styles.css.js';\n\nexport { SortableAreaProps };\n\nexport default function SortableArea<Item>({\n items,\n itemDefinition,\n renderItem,\n onItemsChange,\n disableReorder,\n i18nStrings,\n}: SortableAreaProps<Item>) {\n const { activeItemId, setActiveItemId, collisionDetection, handleKeyDown, sensors, isKeyboard } =\n useDragAndDropReorder({\n items,\n itemDefinition,\n });\n const activeItem = activeItemId ? items.find(item => itemDefinition.id(item) === activeItemId) : null;\n const isDragging = activeItemId !== null;\n const announcements = useLiveAnnouncements({ items, itemDefinition, isDragging, ...i18nStrings });\n const portalContainer = usePortalContainer();\n return (\n <DndContext\n sensors={sensors}\n collisionDetection={collisionDetection}\n accessibility={{\n announcements,\n restoreFocus: false,\n screenReaderInstructions: i18nStrings?.dragHandleAriaDescription\n ? { draggable: i18nStrings.dragHandleAriaDescription }\n : undefined,\n container: portalContainer ?? undefined,\n }}\n onDragStart={({ active }) => setActiveItemId(active.id)}\n onDragEnd={event => {\n setActiveItemId(null);\n const { active, over } = event;\n if (over && active.id !== over.id) {\n const movedItem = items.find(item => itemDefinition.id(item) === active.id)!;\n const oldIndex = items.findIndex(item => itemDefinition.id(item) === active.id);\n const newIndex = items.findIndex(item => itemDefinition.id(item) === over.id);\n fireNonCancelableEvent(onItemsChange, { items: arrayMove([...items], oldIndex, newIndex), movedItem });\n }\n }}\n onDragCancel={() => setActiveItemId(null)}\n >\n <SortableContext\n disabled={disableReorder}\n items={items.map(item => itemDefinition.id(item))}\n strategy={verticalListSortingStrategy}\n >\n {items.map(item => (\n <DraggableItem\n key={itemDefinition.id(item)}\n item={item}\n itemDefinition={itemDefinition}\n showDirectionButtons={item === activeItem && isKeyboard.current}\n renderItem={renderItem}\n onKeyDown={handleKeyDown}\n dragHandleAriaLabel={i18nStrings?.dragHandleAriaLabel}\n />\n ))}\n </SortableContext>\n\n <Portal container={portalContainer}>\n {/* Make sure that the drag overlay is above the modal by assigning the z-index as inline style\n so that it prevails over dnd-kit's inline z-index of 999 */}\n <DragOverlay\n className={clsx(styles['drag-overlay'], styles[`drag-overlay-${getBorderRadiusVariant(itemDefinition)}`])}\n dropAnimation={null}\n style={{ zIndex: 5000 }}\n transition={isKeyboard.current ? 'transform 250ms' : ''}\n >\n {activeItem &&\n renderItem({\n item: activeItem,\n id: activeItemId!.toString(),\n style: {},\n className: styles.active,\n isDropPlaceholder: true,\n isSortingActive: false,\n isDragGhost: true,\n dragHandleProps: {\n ariaLabel: joinStrings(i18nStrings?.dragHandleAriaLabel, itemDefinition.label(activeItem)) ?? '',\n active: true,\n onKeyDown: handleKeyDown,\n },\n })}\n </DragOverlay>\n </Portal>\n </DndContext>\n );\n}\n\nfunction usePortalContainer() {\n const portalContainerRef = useRef(typeof document !== 'undefined' ? document.createElement('div') : null);\n useEffect(() => {\n const container = portalContainerRef.current;\n if (container && !container.isConnected) {\n document.body.appendChild(container);\n }\n return () => {\n if (container && container.isConnected) {\n document.body.removeChild(container);\n }\n };\n }, []);\n return portalContainerRef.current;\n}\n\nfunction DraggableItem<Item>({\n item,\n itemDefinition,\n dragHandleAriaLabel,\n showDirectionButtons,\n onKeyDown,\n renderItem,\n}: {\n item: Item;\n itemDefinition: SortableAreaProps.ItemDefinition<Item>;\n dragHandleAriaLabel?: string;\n showDirectionButtons: boolean;\n onKeyDown: (event: React.KeyboardEvent) => void;\n renderItem: (props: SortableAreaProps.RenderItemProps<Item>) => React.ReactNode;\n}) {\n const id = itemDefinition.id(item);\n const { isDragging, isSorting, listeners, setNodeRef, transform, attributes } = useSortable({\n id,\n });\n const style = { transform: CSS.Translate.toString(transform) };\n const dragHandleListeners = attributes['aria-disabled']\n ? {}\n : {\n ...listeners,\n onKeyDown: (event: React.KeyboardEvent) => {\n if (onKeyDown) {\n onKeyDown(event);\n }\n if (listeners?.onKeyDown) {\n listeners.onKeyDown(event);\n }\n },\n };\n const className = clsx(\n isDragging && clsx(styles.placeholder, styles[`placeholder-${getBorderRadiusVariant(itemDefinition)}`]),\n isSorting && styles.sorting\n );\n const dragHandleRef = useRef<HTMLElement>(null);\n return (\n <>\n {renderItem({\n item,\n id,\n ref: setNodeRef,\n style,\n className,\n isDropPlaceholder: isDragging,\n isSortingActive: isSorting,\n isDragGhost: false,\n dragHandleProps: {\n ...dragHandleListeners,\n ariaLabel: joinStrings(dragHandleAriaLabel, itemDefinition.label(item)) ?? '',\n ariaDescribedby: attributes['aria-describedby'],\n disabled: attributes['aria-disabled'],\n triggerMode: 'controlled',\n controlledShowButtons: showDirectionButtons,\n ref: dragHandleRef,\n directions: showDirectionButtons\n ? {\n 'block-start': 'active',\n 'block-end': 'active',\n }\n : undefined,\n onDirectionClick: direction => {\n const event = new Event(direction === 'block-start' ? EventName.CustomUp : EventName.CustomDown, {\n bubbles: true,\n cancelable: true,\n });\n onKeyDown(event as any);\n dragHandleRef.current?.dispatchEvent(event);\n },\n },\n })}\n </>\n );\n}\n\nexport function getBorderRadiusVariant(\n itemDefinition: SortableAreaProps.ItemDefinition<any>\n): SortableAreaProps.BorderRadiusVariant {\n return itemDefinition.borderRadius ?? 'item';\n}\n"]}
@@ -1,15 +1,15 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_gfwv3_18bsb_193",
5
- "horizontal": "awsui_horizontal_gfwv3_18bsb_196",
6
- "vertical": "awsui_vertical_gfwv3_18bsb_202",
7
- "list": "awsui_list_gfwv3_18bsb_207",
8
- "grid": "awsui_grid_gfwv3_18bsb_226",
9
- "list-item": "awsui_list-item_gfwv3_18bsb_238",
10
- "toggle-container-inline": "awsui_toggle-container-inline_gfwv3_18bsb_245",
11
- "toggle": "awsui_toggle_gfwv3_18bsb_245",
12
- "description": "awsui_description_gfwv3_18bsb_338",
13
- "separator": "awsui_separator_gfwv3_18bsb_342"
4
+ "root": "awsui_root_gfwv3_vu63l_193",
5
+ "horizontal": "awsui_horizontal_gfwv3_vu63l_196",
6
+ "vertical": "awsui_vertical_gfwv3_vu63l_202",
7
+ "list": "awsui_list_gfwv3_vu63l_207",
8
+ "grid": "awsui_grid_gfwv3_vu63l_226",
9
+ "list-item": "awsui_list-item_gfwv3_vu63l_238",
10
+ "toggle-container-inline": "awsui_toggle-container-inline_gfwv3_vu63l_245",
11
+ "toggle": "awsui_toggle_gfwv3_vu63l_245",
12
+ "description": "awsui_description_gfwv3_vu63l_338",
13
+ "separator": "awsui_separator_gfwv3_vu63l_342"
14
14
  };
15
15