@cloudscape-design/components 3.0.620 → 3.0.622
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.
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +31 -31
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/classic.js.map +1 -1
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/visual-refresh/styles.css.js +81 -81
- package/app-layout/visual-refresh/styles.scoped.css +258 -258
- package/app-layout/visual-refresh/styles.selectors.js +81 -81
- package/area-chart/elements/use-highlight-details.js.map +1 -1
- package/code-editor/interfaces.d.ts +2 -2
- package/code-editor/interfaces.d.ts.map +1 -1
- package/code-editor/interfaces.js.map +1 -1
- package/code-editor/util.js.map +1 -1
- package/column-layout/internal.d.ts +1 -1
- package/column-layout/internal.d.ts.map +1 -1
- package/column-layout/internal.js.map +1 -1
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +171 -171
- package/flashbar/styles.selectors.js +47 -47
- package/i18n/dynamic.js +30 -30
- package/i18n/messages/all.all.d.ts +1 -1
- package/i18n/messages/all.all.js +1 -14558
- package/i18n/messages/all.all.json +1 -14615
- package/i18n/messages/all.de.d.ts +1 -1
- package/i18n/messages/all.de.js +1 -1086
- package/i18n/messages/all.de.json +1 -1096
- package/i18n/messages/all.en-GB.d.ts +1 -1
- package/i18n/messages/all.en-GB.js +1 -1064
- package/i18n/messages/all.en-GB.json +1 -1067
- package/i18n/messages/all.en.d.ts +1 -1
- package/i18n/messages/all.en.js +1 -1064
- package/i18n/messages/all.en.json +1 -1063
- package/i18n/messages/all.es.d.ts +1 -1
- package/i18n/messages/all.es.js +1 -1080
- package/i18n/messages/all.es.json +1 -1083
- package/i18n/messages/all.fr.d.ts +1 -1
- package/i18n/messages/all.fr.js +1 -1104
- package/i18n/messages/all.fr.json +1 -1110
- package/i18n/messages/all.id.d.ts +1 -1
- package/i18n/messages/all.id.js +1 -1049
- package/i18n/messages/all.id.json +1 -1054
- package/i18n/messages/all.it.d.ts +1 -1
- package/i18n/messages/all.it.js +1 -1042
- package/i18n/messages/all.it.json +1 -1046
- package/i18n/messages/all.ja.d.ts +1 -1
- package/i18n/messages/all.ja.js +1 -1081
- package/i18n/messages/all.ja.json +1 -1083
- package/i18n/messages/all.ko.d.ts +1 -1
- package/i18n/messages/all.ko.js +1 -1054
- package/i18n/messages/all.ko.json +1 -1065
- package/i18n/messages/all.pt-BR.d.ts +1 -1
- package/i18n/messages/all.pt-BR.js +1 -1074
- package/i18n/messages/all.pt-BR.json +1 -1082
- package/i18n/messages/all.th.d.ts +1 -1
- package/i18n/messages/all.th.js +1 -733
- package/i18n/messages/all.th.json +1 -734
- package/i18n/messages/all.tr.d.ts +1 -1
- package/i18n/messages/all.tr.js +1 -1072
- package/i18n/messages/all.tr.json +1 -1079
- package/i18n/messages/all.zh-CN.d.ts +1 -1
- package/i18n/messages/all.zh-CN.js +1 -1054
- package/i18n/messages/all.zh-CN.json +1 -1053
- package/i18n/messages/all.zh-TW.d.ts +1 -1
- package/i18n/messages/all.zh-TW.js +1 -1053
- package/i18n/messages/all.zh-TW.json +1 -1052
- package/i18n/messages-types.d.ts +7 -0
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/internal/animate.js.map +1 -1
- package/internal/base-component/styles.scoped.css +25 -0
- package/internal/components/dropdown/dropdown-fit-handler.js.map +1 -1
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +41 -41
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/components/options-list/utils/use-highlight-option.d.ts.map +1 -1
- package/internal/components/options-list/utils/use-highlight-option.js.map +1 -1
- package/internal/environment.d.ts +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +2 -2
- package/internal/events/index.d.ts.map +1 -1
- package/internal/events/index.js.map +1 -1
- package/internal/focus-tracker.d.ts.map +1 -1
- package/internal/focus-tracker.js.map +1 -1
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +51 -43
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/generated/styles/tokens.d.ts +5 -0
- package/internal/generated/styles/tokens.js +5 -0
- package/internal/generated/theming/index.cjs +155 -0
- package/internal/generated/theming/index.js +155 -0
- package/internal/hooks/container-queries/use-container-breakpoints.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/mixed-line-bar-chart/chart-container.js.map +1 -1
- package/package.json +2 -1
- package/pie-chart/utils.d.ts.map +1 -1
- package/pie-chart/utils.js.map +1 -1
- package/slider/index.d.ts +5 -0
- package/slider/index.d.ts.map +1 -0
- package/slider/index.js +14 -0
- package/slider/index.js.map +1 -0
- package/slider/interfaces.d.ts +75 -0
- package/slider/interfaces.d.ts.map +1 -0
- package/slider/interfaces.js +2 -0
- package/slider/interfaces.js.map +1 -0
- package/slider/internal.d.ts +7 -0
- package/slider/internal.d.ts.map +1 -0
- package/slider/internal.js +119 -0
- package/slider/internal.js.map +1 -0
- package/slider/slider-labels.d.ts +11 -0
- package/slider/slider-labels.d.ts.map +1 -0
- package/slider/slider-labels.js +76 -0
- package/slider/slider-labels.js.map +1 -0
- package/slider/styles.css.js +28 -0
- package/slider/styles.scoped.css +411 -0
- package/slider/styles.selectors.js +29 -0
- package/slider/tick-marks.d.ts +16 -0
- package/slider/tick-marks.d.ts.map +1 -0
- package/slider/tick-marks.js +37 -0
- package/slider/tick-marks.js.map +1 -0
- package/slider/utils.d.ts +9 -0
- package/slider/utils.d.ts.map +1 -0
- package/slider/utils.js +26 -0
- package/slider/utils.js.map +1 -0
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +39 -39
- package/spinner/styles.selectors.js +13 -13
- package/table/internal.js.map +1 -1
- package/test-utils/dom/index.d.ts +3 -0
- package/test-utils/dom/index.js +12 -7
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/dom/slider/index.d.ts +6 -0
- package/test-utils/dom/slider/index.js +12 -0
- package/test-utils/dom/slider/index.js.map +1 -0
- package/test-utils/selectors/index.d.ts +3 -0
- package/test-utils/selectors/index.js +10 -4
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/selectors/slider/index.d.ts +6 -0
- package/test-utils/selectors/slider/index.js +12 -0
- package/test-utils/selectors/slider/index.js.map +1 -0
- package/test-utils/tsconfig.tsbuildinfo +1 -1
|
@@ -96,10 +96,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
96
96
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
97
97
|
SPDX-License-Identifier: Apache-2.0
|
|
98
98
|
*/
|
|
99
|
-
.awsui_dropdown-content-
|
|
100
|
-
animation: awsui_awsui-motion-fade-in-
|
|
99
|
+
.awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9) {
|
|
100
|
+
animation: awsui_awsui-motion-fade-in-dropdown_qwoo0_kabis_1 var(--motion-duration-show-quick-aq3ump, 135ms) var(--motion-easing-show-quick-vc5zgd, ease-out);
|
|
101
101
|
}
|
|
102
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
102
|
+
@keyframes awsui_awsui-motion-fade-in-dropdown_qwoo0_kabis_1 {
|
|
103
103
|
from {
|
|
104
104
|
opacity: 0.4;
|
|
105
105
|
}
|
|
@@ -108,22 +108,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
@media (prefers-reduced-motion: reduce) {
|
|
111
|
-
.awsui_dropdown-content-
|
|
111
|
+
.awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9) {
|
|
112
112
|
animation: none;
|
|
113
113
|
transition: none;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
.awsui-motion-disabled .awsui_dropdown-content-
|
|
116
|
+
.awsui-motion-disabled .awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9), .awsui-mode-entering .awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9) {
|
|
117
117
|
animation: none;
|
|
118
118
|
transition: none;
|
|
119
119
|
}
|
|
120
|
-
.awsui_dropdown-content-
|
|
120
|
+
.awsui_dropdown-content-wrapper_qwoo0_kabis_99.awsui_refresh_qwoo0_kabis_120:not(#\9) {
|
|
121
121
|
transform-origin: top;
|
|
122
|
-
animation-name: awsui_awsui-motion-fade-in-
|
|
122
|
+
animation-name: awsui_awsui-motion-fade-in-0_qwoo0_kabis_1;
|
|
123
123
|
animation-duration: var(--motion-duration-show-quick-aq3ump, 135ms);
|
|
124
124
|
animation-timing-function: var(--motion-easing-show-quick-vc5zgd, ease-out);
|
|
125
125
|
}
|
|
126
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
126
|
+
@keyframes awsui_awsui-motion-fade-in-0_qwoo0_kabis_1 {
|
|
127
127
|
from {
|
|
128
128
|
opacity: 0;
|
|
129
129
|
}
|
|
@@ -132,12 +132,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
@media (prefers-reduced-motion: reduce) {
|
|
135
|
-
.awsui_dropdown-content-
|
|
135
|
+
.awsui_dropdown-content-wrapper_qwoo0_kabis_99.awsui_refresh_qwoo0_kabis_120:not(#\9) {
|
|
136
136
|
animation: none;
|
|
137
137
|
transition: none;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
.awsui-motion-disabled .awsui_dropdown-content-
|
|
140
|
+
.awsui-motion-disabled .awsui_dropdown-content-wrapper_qwoo0_kabis_99.awsui_refresh_qwoo0_kabis_120:not(#\9), .awsui-mode-entering .awsui_dropdown-content-wrapper_qwoo0_kabis_99.awsui_refresh_qwoo0_kabis_120:not(#\9) {
|
|
141
141
|
animation: none;
|
|
142
142
|
transition: none;
|
|
143
143
|
}
|
|
@@ -146,7 +146,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
146
146
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
147
147
|
SPDX-License-Identifier: Apache-2.0
|
|
148
148
|
*/
|
|
149
|
-
.
|
|
149
|
+
.awsui_root_qwoo0_kabis_149:not(#\9) {
|
|
150
150
|
border-collapse: separate;
|
|
151
151
|
border-spacing: 0;
|
|
152
152
|
box-sizing: border-box;
|
|
@@ -183,11 +183,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
183
183
|
position: relative;
|
|
184
184
|
white-space: inherit;
|
|
185
185
|
}
|
|
186
|
-
.
|
|
186
|
+
.awsui_root_qwoo0_kabis_149.awsui_interior_qwoo0_kabis_185:not(#\9) {
|
|
187
187
|
position: static;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
.
|
|
190
|
+
.awsui_dropdown_qwoo0_kabis_99:not(#\9) {
|
|
191
191
|
position: absolute;
|
|
192
192
|
display: none;
|
|
193
193
|
z-index: 2000;
|
|
@@ -195,24 +195,24 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
195
195
|
user-select: none;
|
|
196
196
|
transform-origin: top;
|
|
197
197
|
}
|
|
198
|
-
.
|
|
198
|
+
.awsui_dropdown_qwoo0_kabis_99.awsui_use-portal_qwoo0_kabis_196:not(#\9) {
|
|
199
199
|
z-index: 7000;
|
|
200
200
|
}
|
|
201
|
-
.
|
|
201
|
+
.awsui_dropdown_qwoo0_kabis_99:not(#\9):not(.awsui_interior_qwoo0_kabis_185) {
|
|
202
202
|
transform: translateY(0px);
|
|
203
203
|
transition: transform var(--motion-duration-show-quick-aq3ump, 135ms);
|
|
204
204
|
}
|
|
205
205
|
@media (prefers-reduced-motion: reduce) {
|
|
206
|
-
.
|
|
206
|
+
.awsui_dropdown_qwoo0_kabis_99:not(#\9):not(.awsui_interior_qwoo0_kabis_185) {
|
|
207
207
|
animation: none;
|
|
208
208
|
transition: none;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
.awsui-motion-disabled .
|
|
211
|
+
.awsui-motion-disabled .awsui_dropdown_qwoo0_kabis_99:not(#\9):not(.awsui_interior_qwoo0_kabis_185), .awsui-mode-entering .awsui_dropdown_qwoo0_kabis_99:not(#\9):not(.awsui_interior_qwoo0_kabis_185) {
|
|
212
212
|
animation: none;
|
|
213
213
|
transition: none;
|
|
214
214
|
}
|
|
215
|
-
.awsui_dropdown-content-
|
|
215
|
+
.awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9) {
|
|
216
216
|
position: relative;
|
|
217
217
|
background-color: var(--color-background-dropdown-item-default-be16w5, #ffffff);
|
|
218
218
|
outline: none;
|
|
@@ -224,7 +224,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
224
224
|
border-block: var(--border-divider-list-width-27y3k5, 1px) solid var(--color-border-container-top-736buh, transparent);
|
|
225
225
|
box-sizing: border-box;
|
|
226
226
|
}
|
|
227
|
-
.awsui_dropdown-content-
|
|
227
|
+
.awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9)::after {
|
|
228
228
|
content: "";
|
|
229
229
|
position: absolute;
|
|
230
230
|
z-index: 1;
|
|
@@ -242,76 +242,76 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
242
242
|
pointer-events: none;
|
|
243
243
|
}
|
|
244
244
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
245
|
-
.awsui_dropdown-content-
|
|
245
|
+
.awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9) {
|
|
246
246
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-container-top-736buh, transparent);
|
|
247
247
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-container-top-736buh, transparent);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
.awsui_dropdown-content-
|
|
250
|
+
.awsui_dropdown-content-wrapper_qwoo0_kabis_99.awsui_is-empty_qwoo0_kabis_248:not(#\9)::after {
|
|
251
251
|
display: none;
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
.awsui_dropdown_qwoo0_kabis_99 > .awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9) {
|
|
254
254
|
border-block-start: var(--border-divider-list-width-27y3k5, 1px) solid var(--color-border-container-top-736buh, transparent);
|
|
255
255
|
border-block-end: var(--border-divider-list-width-27y3k5, 1px) solid var(--color-border-dropdown-group-yakmix, #b6bec9);
|
|
256
256
|
}
|
|
257
|
-
.awsui_dropdown-drop-
|
|
257
|
+
.awsui_dropdown-drop-up_qwoo0_kabis_255 > .awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9) {
|
|
258
258
|
transform-origin: bottom;
|
|
259
259
|
box-shadow: var(--shadow-dropup-xqkiza, 0px 4px 20px 1px rgba(0, 7, 22, 0.1));
|
|
260
260
|
}
|
|
261
|
-
.awsui_dropdown-drop-
|
|
261
|
+
.awsui_dropdown-drop-up_qwoo0_kabis_255.awsui_with-limited-width_qwoo0_kabis_259 > .awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9) {
|
|
262
262
|
border-block-start: none;
|
|
263
263
|
}
|
|
264
|
-
.awsui_dropdown-drop-
|
|
264
|
+
.awsui_dropdown-drop-left_qwoo0_kabis_262:not(#\9) {
|
|
265
265
|
inset-inline-end: 0;
|
|
266
266
|
}
|
|
267
|
-
.awsui_dropdown-drop-
|
|
267
|
+
.awsui_dropdown-drop-left_qwoo0_kabis_262:not(#\9):dir(rtl) {
|
|
268
268
|
inset-inline-end: unset;
|
|
269
269
|
}
|
|
270
|
-
.awsui_dropdown-drop-
|
|
270
|
+
.awsui_dropdown-drop-right_qwoo0_kabis_268:not(#\9) {
|
|
271
271
|
inset-inline-start: 0;
|
|
272
272
|
}
|
|
273
|
-
.awsui_dropdown-drop-
|
|
273
|
+
.awsui_dropdown-drop-right_qwoo0_kabis_268:not(#\9):dir(rtl) {
|
|
274
274
|
inset-inline-start: unset;
|
|
275
275
|
}
|
|
276
|
-
.
|
|
276
|
+
.awsui_dropdown_qwoo0_kabis_99.awsui_occupy-entire-width_qwoo0_kabis_274:not(#\9) {
|
|
277
277
|
min-inline-size: 100%;
|
|
278
278
|
}
|
|
279
|
-
.
|
|
279
|
+
.awsui_dropdown_qwoo0_kabis_99.awsui_stretch-beyond-trigger-width_qwoo0_kabis_277:not(#\9) {
|
|
280
280
|
inline-size: max-content;
|
|
281
|
-
max-inline-size: var(--awsui-dropdown-default-max-width-
|
|
281
|
+
max-inline-size: var(--awsui-dropdown-default-max-width-tkr9yl, 100%);
|
|
282
282
|
}
|
|
283
|
-
.
|
|
283
|
+
.awsui_dropdown_qwoo0_kabis_99.awsui_interior_qwoo0_kabis_185 > .awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9) {
|
|
284
284
|
margin-block-start: -1px;
|
|
285
285
|
}
|
|
286
|
-
.
|
|
286
|
+
.awsui_dropdown_qwoo0_kabis_99.awsui_hide-block-border_qwoo0_kabis_284 > .awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9) {
|
|
287
287
|
border-block-start: none;
|
|
288
288
|
}
|
|
289
|
-
.
|
|
289
|
+
.awsui_dropdown_qwoo0_kabis_99.awsui_hide-block-border_qwoo0_kabis_284:not(#\9):not(.awsui_dropdown-drop-up_qwoo0_kabis_255) > .awsui_dropdown-content-wrapper_qwoo0_kabis_99 {
|
|
290
290
|
border-block-end: none;
|
|
291
291
|
}
|
|
292
|
-
.
|
|
292
|
+
.awsui_dropdown_qwoo0_kabis_99.awsui_hide-block-border_qwoo0_kabis_284.awsui_refresh_qwoo0_kabis_120 > .awsui_dropdown-content-wrapper_qwoo0_kabis_99:not(#\9) {
|
|
293
293
|
border-block-end: none;
|
|
294
294
|
}
|
|
295
|
-
.
|
|
295
|
+
.awsui_dropdown_qwoo0_kabis_99.awsui_open_qwoo0_kabis_293:not(#\9) {
|
|
296
296
|
display: block;
|
|
297
297
|
}
|
|
298
|
-
.
|
|
298
|
+
.awsui_dropdown_qwoo0_kabis_99.awsui_open_qwoo0_kabis_293:not(#\9):not(.awsui_interior_qwoo0_kabis_185).awsui_refresh_qwoo0_kabis_120[data-animating=true] {
|
|
299
299
|
transform: translateY(4px);
|
|
300
300
|
}
|
|
301
|
-
.
|
|
301
|
+
.awsui_dropdown_qwoo0_kabis_99.awsui_open_qwoo0_kabis_293:not(#\9):not(.awsui_interior_qwoo0_kabis_185).awsui_refresh_qwoo0_kabis_120[data-animating=true].awsui_dropdown-drop-up_qwoo0_kabis_255 {
|
|
302
302
|
transform: translateY(-4px);
|
|
303
303
|
}
|
|
304
|
-
.
|
|
304
|
+
.awsui_dropdown_qwoo0_kabis_99.awsui_open_qwoo0_kabis_293.awsui_nowrap_qwoo0_kabis_302:not(#\9) {
|
|
305
305
|
white-space: nowrap;
|
|
306
306
|
overflow: scroll;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
.awsui_dropdown-
|
|
309
|
+
.awsui_dropdown-content_qwoo0_kabis_99:not(#\9) {
|
|
310
310
|
display: flex;
|
|
311
311
|
flex-direction: column;
|
|
312
312
|
inline-size: 100%;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
.awsui_stretch-trigger-
|
|
315
|
+
.awsui_stretch-trigger-height_qwoo0_kabis_313:not(#\9) {
|
|
316
316
|
block-size: 100%;
|
|
317
317
|
}
|
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"dropdown-content-wrapper": "awsui_dropdown-content-
|
|
6
|
-
"awsui-motion-fade-in-dropdown": "awsui_awsui-motion-fade-in-
|
|
7
|
-
"refresh": "
|
|
8
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
9
|
-
"root": "
|
|
10
|
-
"interior": "
|
|
11
|
-
"dropdown": "
|
|
12
|
-
"use-portal": "awsui_use-
|
|
13
|
-
"is-empty": "awsui_is-
|
|
14
|
-
"dropdown-drop-up": "awsui_dropdown-drop-
|
|
15
|
-
"with-limited-width": "awsui_with-limited-
|
|
16
|
-
"dropdown-drop-left": "awsui_dropdown-drop-
|
|
17
|
-
"dropdown-drop-right": "awsui_dropdown-drop-
|
|
18
|
-
"occupy-entire-width": "awsui_occupy-entire-
|
|
19
|
-
"stretch-beyond-trigger-width": "awsui_stretch-beyond-trigger-
|
|
20
|
-
"hide-block-border": "awsui_hide-block-
|
|
21
|
-
"open": "
|
|
22
|
-
"nowrap": "
|
|
23
|
-
"dropdown-content": "awsui_dropdown-
|
|
24
|
-
"stretch-trigger-height": "awsui_stretch-trigger-
|
|
5
|
+
"dropdown-content-wrapper": "awsui_dropdown-content-wrapper_qwoo0_kabis_99",
|
|
6
|
+
"awsui-motion-fade-in-dropdown": "awsui_awsui-motion-fade-in-dropdown_qwoo0_kabis_1",
|
|
7
|
+
"refresh": "awsui_refresh_qwoo0_kabis_120",
|
|
8
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_qwoo0_kabis_1",
|
|
9
|
+
"root": "awsui_root_qwoo0_kabis_149",
|
|
10
|
+
"interior": "awsui_interior_qwoo0_kabis_185",
|
|
11
|
+
"dropdown": "awsui_dropdown_qwoo0_kabis_99",
|
|
12
|
+
"use-portal": "awsui_use-portal_qwoo0_kabis_196",
|
|
13
|
+
"is-empty": "awsui_is-empty_qwoo0_kabis_248",
|
|
14
|
+
"dropdown-drop-up": "awsui_dropdown-drop-up_qwoo0_kabis_255",
|
|
15
|
+
"with-limited-width": "awsui_with-limited-width_qwoo0_kabis_259",
|
|
16
|
+
"dropdown-drop-left": "awsui_dropdown-drop-left_qwoo0_kabis_262",
|
|
17
|
+
"dropdown-drop-right": "awsui_dropdown-drop-right_qwoo0_kabis_268",
|
|
18
|
+
"occupy-entire-width": "awsui_occupy-entire-width_qwoo0_kabis_274",
|
|
19
|
+
"stretch-beyond-trigger-width": "awsui_stretch-beyond-trigger-width_qwoo0_kabis_277",
|
|
20
|
+
"hide-block-border": "awsui_hide-block-border_qwoo0_kabis_284",
|
|
21
|
+
"open": "awsui_open_qwoo0_kabis_293",
|
|
22
|
+
"nowrap": "awsui_nowrap_qwoo0_kabis_302",
|
|
23
|
+
"dropdown-content": "awsui_dropdown-content_qwoo0_kabis_99",
|
|
24
|
+
"stretch-trigger-height": "awsui_stretch-trigger-height_qwoo0_kabis_313"
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-highlight-option.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/components/options-list/utils/use-highlight-option.ts"],"names":[],"mappings":"AAIA,qBAAa,aAAa;
|
|
1
|
+
{"version":3,"file":"use-highlight-option.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/components/options-list/utils/use-highlight-option.ts"],"names":[],"mappings":"AAIA,qBAAa,aAAa;IAEf,IAAI,EAAE,UAAU,GAAG,OAAO;IAC1B,SAAS,EAAE,OAAO;gBADlB,IAAI,EAAE,UAAU,GAAG,OAAO,EAC1B,SAAS,GAAE,OAA6B;CAElD;AAED,MAAM,WAAW,sBAAsB,CAAC,UAAU;IAChD,OAAO,EAAE,SAAS,UAAU,EAAE,CAAC;IAC/B,eAAe,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,OAAO,CAAC;CAClD;AAED,MAAM,WAAW,sBAAsB,CAAC,UAAU;IAChD,aAAa,EAAE,aAAa,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,UAAU,CAAC;CAChC;AAED,MAAM,WAAW,yBAAyB,CAAC,UAAU;IAEnD,4BAA4B,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAEvE,yBAAyB,CAAC,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IACnD,2BAA2B,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IACtD,0BAA0B,IAAI,IAAI,CAAC;IACnC,kBAAkB,IAAI,IAAI,CAAC;IAC3B,iBAAiB,IAAI,IAAI,CAAC;CAC3B;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,EAC/C,OAAO,EACP,eAAe,GAChB,EAAE,sBAAsB,CAAC,UAAU,CAAC,GAAG,CAAC,sBAAsB,CAAC,UAAU,CAAC,EAAE,yBAAyB,CAAC,UAAU,CAAC,CAAC,CA8ClH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-highlight-option.js","sourceRoot":"","sources":["../../../../../../src/internal/components/options-list/utils/use-highlight-option.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE9C,MAAM,OAAO,aAAa;IACxB,
|
|
1
|
+
{"version":3,"file":"use-highlight-option.js","sourceRoot":"","sources":["../../../../../../src/internal/components/options-list/utils/use-highlight-option.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE9C,MAAM,OAAO,aAAa;IACxB,YACS,IAA0B,EAC1B,YAAqB,IAAI,KAAK,UAAU;QADxC,SAAI,GAAJ,IAAI,CAAsB;QAC1B,cAAS,GAAT,SAAS,CAA+B;IAC9C,CAAC;CACL;AAwBD,MAAM,UAAU,oBAAoB,CAAa,EAC/C,OAAO,EACP,eAAe,GACoB;I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EhE,MAAM,eAAe,GAAG,WAAW,CACjC,CAAC,MAAkB,EAAE,aAA4B,EAAE,EAAE;QACnD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACtC,mBAAmB,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;IAC5C,CAAC,EACD,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAC/B,CAAC;IAEF,OAAO;QACL,EAAE,aAAa,EAAE,gBAAgB,EAAE,iBAAiB,EAAE;QACtD;YACE,4BAA4B,EAAE,CAAC,KAAa,EAAE,SAAS,GAAG,KAAK,EAAE,EAAE,CACjE,mBAAmB,CAAC,KAAK,EAAE,IAAI,aAAa,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;YACnE,yBAAyB,EAAE,CAAC,SAAiB,EAAE,EAAE,CAAC,aAAa,CAAC,SAAS,EAAE,IAAI,aAAa,CAAC,UAAU,CAAC,CAAC;YACzG,2BAA2B,EAAE,CAAC,MAAkB,EAAE,EAAE,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,aAAa,CAAC,UAAU,CAAC,CAAC;YAC3G,0BAA0B,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,IAAI,aAAa,CAAC,UAAU,CAAC,CAAC;YACxF,kBAAkB,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,aAAa,CAAC,UAAU,CAAC,CAAC;YACjF,iBAAiB,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,aAAa,CAAC,UAAU,CAAC,CAAC;SAC9F;KACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { useCallback, useState } from 'react';\n\nexport class HighlightType {\n constructor(\n public type: 'keyboard' | 'mouse',\n public moveFocus: boolean = type === 'keyboard'\n ) {}\n}\n\nexport interface HighlightedOptionProps<OptionType> {\n options: readonly OptionType[];\n isHighlightable: (option: OptionType) => boolean;\n}\n\nexport interface HighlightedOptionState<OptionType> {\n highlightType: HighlightType;\n highlightedIndex: number;\n highlightedOption?: OptionType;\n}\n\nexport interface HighlightedOptionHandlers<OptionType> {\n // Mouse handlers\n setHighlightedIndexWithMouse(index: number, moveFocus?: boolean): void;\n // Keyboard handlers\n moveHighlightWithKeyboard(direction: -1 | 1): void;\n highlightOptionWithKeyboard(option: OptionType): void;\n resetHighlightWithKeyboard(): void;\n goHomeWithKeyboard(): void;\n goEndWithKeyboard(): void;\n}\n\nexport function useHighlightedOption<OptionType>({\n options,\n isHighlightable,\n}: HighlightedOptionProps<OptionType>): [HighlightedOptionState<OptionType>, HighlightedOptionHandlers<OptionType>] {\n const [highlightedIndex, setHighlightedIndexState] = useState(-1);\n const [highlightType, setHighlightType] = useState<HighlightType>(new HighlightType('keyboard'));\n const setHighlightedIndex = useCallback((index: number, highlightType: HighlightType) => {\n setHighlightedIndexState(index);\n setHighlightType(highlightType);\n }, []);\n\n const highlightedOption =\n options[highlightedIndex] && isHighlightable(options[highlightedIndex]) ? options[highlightedIndex] : undefined;\n\n const moveHighlightFrom = (direction: -1 | 1, startIndex = highlightedIndex, highlightType: HighlightType) => {\n const fromBottomEnd = startIndex === -1 && direction === -1;\n let newIndex = fromBottomEnd ? options.length : startIndex;\n do {\n newIndex += direction;\n } while (options[newIndex] && !isHighlightable(options[newIndex]));\n\n if (options[newIndex]) {\n setHighlightedIndex(newIndex, highlightType);\n }\n };\n\n const moveHighlight = (direction: -1 | 1, highlightType: HighlightType) =>\n moveHighlightFrom(direction, highlightedIndex, highlightType);\n\n const highlightOption = useCallback(\n (option: OptionType, highlightType: HighlightType) => {\n const index = options.indexOf(option);\n setHighlightedIndex(index, highlightType);\n },\n [options, setHighlightedIndex]\n );\n\n return [\n { highlightType, highlightedIndex, highlightedOption },\n {\n setHighlightedIndexWithMouse: (index: number, moveFocus = false) =>\n setHighlightedIndex(index, new HighlightType('mouse', moveFocus)),\n moveHighlightWithKeyboard: (direction: -1 | 1) => moveHighlight(direction, new HighlightType('keyboard')),\n highlightOptionWithKeyboard: (option: OptionType) => highlightOption(option, new HighlightType('keyboard')),\n resetHighlightWithKeyboard: () => setHighlightedIndex(-1, new HighlightType('keyboard')),\n goHomeWithKeyboard: () => moveHighlightFrom(1, -1, new HighlightType('keyboard')),\n goEndWithKeyboard: () => moveHighlightFrom(-1, options.length, new HighlightType('keyboard')),\n },\n ];\n}\n"]}
|
package/internal/environment.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,yBAAyB,CAAC,MAAM,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,wBAAwB,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;AAEvG,MAAM,MAAM,sBAAsB,CAAC,MAAM,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;AAEvF,MAAM,MAAM,wBAAwB,CAAC,UAAU,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,yBAAyB,CAAC,MAAM,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,wBAAwB,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;AAEvG,MAAM,MAAM,sBAAsB,CAAC,MAAM,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;A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AAC,KAAK,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,WAE5E;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,WAE7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/internal/events/index.ts"],"names":[],"mappings":"AAYA,MAAM,eAAe;IAGnB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/internal/events/index.ts"],"names":[],"mappings":"AAYA,MAAM,eAAe;IAGnB,YACS,aAAsB,KAAK,EAC3B,SAAmB,IAAI;QADvB,eAAU,GAAV,UAAU,CAAiB;QAC3B,WAAM,GAAN,MAAM,CAAiB;QAJhC,qBAAgB,GAAG,KAAK,CAAC;QACzB,iBAAY,GAAG,KAAK,CAAC;IAIlB,CAAC;IAEJ,cAAc;QACZ,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAC/B,CAAC;IAED,eAAe;QACb,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;IAC3B,CAAC;CACF;AAyBD,MAAM,UAAU,iBAAiB,CAAI,EAAE,UAAU,EAAE,MAAM,EAAsB;IAC7E,OAAO,IAAI,eAAe,CAAC,UAAU,EAAE,MAAM,CAAgB,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAW,OAAiD,EAAE,MAAU;IAC5G,IAAI,CAAC,OAAO,EAAE;QACZ,OAAO;KACR;IACD,MAAM,KAAK,GAAG,iBAAiB,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/D,OAAO,CAAC,KAAK,CAAC,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,OAA8C,EAC9C,MAAS,EACT,WAA0C;IAE1C,IAAI,CAAC,OAAO,EAAE;QACZ,OAAO,KAAK,CAAC;KACd;IACD,MAAM,KAAK,GAA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ifier: Apache-2.0\nimport React from 'react';\n\n// This is a part of our public types API. We cannot change this in the current major version\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport type NonCancelableEventHandler<Detail = {}> = (event: NonCancelableCustomEvent<Detail>) => void;\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport type CancelableEventHandler<Detail = {}> = (event: CustomEvent<Detail>) => void;\n\nexport type NonCancelableCustomEvent<DetailType> = Omit<CustomEvent<DetailType>, 'preventDefault'>;\n\nclass CustomEventStub<T> {\n defaultPrevented = false;\n cancelBubble = false;\n constructor(\n public cancelable: boolean = false,\n public detail: T | null = null\n ) {}\n\n preventDefault() {\n this.defaultPrevented = true;\n }\n\n stopPropagation() {\n this.cancelBubble = true;\n }\n}\n\nexport interface BaseKeyDetail {\n keyCode: number;\n key: string;\n ctrlKey: boolean;\n shiftKey: boolean;\n altKey: boolean;\n metaKey: boolean;\n}\n\nexport interface ClickDetail {\n button: number;\n ctrlKey: boolean;\n shiftKey: boolean;\n altKey: boolean;\n metaKey: boolean;\n}\n\nexport interface BaseNavigationDetail {\n href: string | undefined;\n external?: boolean;\n target?: string;\n}\n\nexport function createCustomEvent<T>({ cancelable, detail }: CustomEventInit<T>): CustomEvent<T> {\n return new CustomEventStub(cancelable, detail) as CustomEvent;\n}\n\nexport function fireNonCancelableEvent<T = null>(handler: NonCancelableEventHandler<T> | undefined, detail?: T) {\n if (!handler) {\n return;\n }\n const event = createCustomEvent({ cancelable: false, detail });\n handler(event);\n}\n\nexport function fireCancelableEvent<T>(\n handler: CancelableEventHandler<T> | undefined,\n detail: T,\n sourceEvent?: React.SyntheticEvent | Event\n) {\n if (!handler) {\n return false;\n }\n const event = createCustomEvent({ cancelable: true, detail });\n handler(event);\n if (event.defaultPrevented && sourceEvent) {\n sourceEvent.preventDefault();\n }\n if (event.cancelBubble && sourceEvent) {\n sourceEvent.stopPropagation();\n }\n return event.defaultPrevented;\n}\n\nexport function fireKeyboardEvent(handler: CancelableEventHandler<BaseKeyDetail>, reactEvent: React.KeyboardEvent) {\n return fireCancelableEvent(\n handler,\n {\n keyCode: reactEvent.keyCode,\n key: reactEvent.key,\n ctrlKey: reactEvent.ctrlKey,\n shiftKey: reactEvent.shiftKey,\n altKey: reactEvent.altKey,\n metaKey: reactEvent.metaKey,\n },\n reactEvent\n );\n}\n\nconst isMouseEvent = (e: React.MouseEvent | React.KeyboardEvent): e is React.MouseEvent => {\n return (e as React.MouseEvent).button !== undefined;\n};\n\nexport function hasModifierKeys(event: React.MouseEvent | React.KeyboardEvent) {\n return event.ctrlKey || event.altKey || event.shiftKey || event.metaKey;\n}\n\nexport function isPlainLeftClick(event: React.MouseEvent | React.KeyboardEvent) {\n return event && (!isMouseEvent(event) || event.button === 0) && !hasModifierKeys(event);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"focus-tracker.d.ts","sourceRoot":"","sources":["../../../src/internal/focus-tracker.ts"],"names":[],"mappings":"AAIA,UAAU,mBAAmB;IAC3B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,OAAO,YAAY;
|
|
1
|
+
{"version":3,"file":"focus-tracker.d.ts","sourceRoot":"","sources":["../../../src/internal/focus-tracker.ts"],"names":[],"mappings":"AAIA,UAAU,mBAAmB;IAC3B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,OAAO,YAAY;IAO7B,OAAO,CAAC,IAAI;IANd,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAa;IAC1C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAa;IAE1C,OAAO,CAAC,gBAAgB,CAAS;gBAGvB,IAAI,EAAE,WAAW,EACzB,EAAE,YAAY,EAAE,YAAY,EAAE,EAAE,mBAAmB;IAMrD,UAAU;IAMV,OAAO;IAKP,OAAO,CAAC,eAAe,CAKrB;IAEF,OAAO,CAAC,gBAAgB,CAMtB;IAEF,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,YAAY;CAIrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"focus-tracker.js","sourceRoot":"","sources":["../../../src/internal/focus-tracker.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAOnD,MAAM,CAAC,OAAO,OAAO,YAAY;IAM/B,
|
|
1
|
+
{"version":3,"file":"focus-tracker.js","sourceRoot":"","sources":["../../../src/internal/focus-tracker.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAOnD,MAAM,CAAC,OAAO,OAAO,YAAY;IAM/B,YACU,IAAiB,EACzB,EAAE,YAAY,EAAE,YAAY,EAAuB;QAD3C,SAAI,GAAJ,IAAI,CAAa;QAHnB,qBAAgB,GAAG,KAAK,CAAC;QAqBzB,oBAAe,GAAG,CAAC,KAAiB,EAAE,EAAE;YAC9C,MAAM,aAAa,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;YAC3D,IAAI,CAAC,IAAI,CAAC,gBAAgB,IAAI,aAAa,EAAE;gBAC3C,IAAI,CAAC,YAAY,EAAE,CAAC;aACrB;QACH,CAAC,CAAC;QAEM,qBAAgB,GAAG,CAAC,KAAiB,EAAE,EAAE;YAC/C,MAAM,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC;YACxC,MAAM,qBAAqB,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YACnE,IAAI,IAAI,CAAC,gBAAgB,IAAI,CAAC,WAAW,KAAK,IAAI,IAAI,qBAAqB,CAAC,EAAE;gBAC5E,IAAI,CAAC,WAAW,EAAE,CAAC;aACpB;QACH,CAAC,CAAC;QA5BA,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;IAED,UAAU;QACR,IAAI,CAAC,gBAAgB,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;QACvE,QAAQ,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;QAC3D,QAAQ,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC/D,CAAC;IAED,OAAO;QACL,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;QAC9D,QAAQ,CAAC,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAClE,CAAC;IAiBO,WAAW;QACjB,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;IAEO,YAAY;QAClB,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAC7B,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;CACF","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { nodeBelongs } from './utils/node-belongs';\n\ninterface FocusTrackerOptions {\n onFocusEnter: () => void;\n onFocusLeave: () => void;\n}\n\nexport default class FocusTracker {\n private readonly onFocusLeave: () => void;\n private readonly onFocusEnter: () => void;\n\n private currentlyFocused = false;\n\n constructor(\n private node: HTMLElement,\n { onFocusEnter, onFocusLeave }: FocusTrackerOptions\n ) {\n this.onFocusEnter = onFocusEnter;\n this.onFocusLeave = onFocusLeave;\n }\n\n initialize() {\n this.currentlyFocused = nodeBelongs(this.node, document.activeElement);\n document.addEventListener('focusin', this.focusInListener);\n document.addEventListener('focusout', this.focusOutListener);\n }\n\n destroy() {\n document.removeEventListener('focusin', this.focusInListener);\n document.removeEventListener('focusout', this.focusOutListener);\n }\n\n private focusInListener = (event: FocusEvent) => {\n const focusIsInside = nodeBelongs(this.node, event.target);\n if (!this.currentlyFocused && focusIsInside) {\n this.triggerFocus();\n }\n };\n\n private focusOutListener = (event: FocusEvent) => {\n const nextFocused = event.relatedTarget;\n const isNextFocusedInParent = !nodeBelongs(this.node, nextFocused);\n if (this.currentlyFocused && (nextFocused === null || isNextFocusedInParent)) {\n this.triggerBlur();\n }\n };\n\n private triggerBlur() {\n this.currentlyFocused = false;\n this.onFocusLeave();\n }\n\n private triggerFocus() {\n this.currentlyFocused = true;\n this.onFocusEnter();\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/generated/custom-css-properties/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/generated/custom-css-properties/index.ts"],"names":[],"mappings":"AACM,QAAA,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAC,MAAM,CAoDjD,CAAC;AACF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,47 +1,55 @@
|
|
|
1
1
|
const customCSSPropertiesMap = {
|
|
2
|
-
breadcrumbsGap:
|
|
3
|
-
contentGapLeft:
|
|
4
|
-
contentGapRight:
|
|
5
|
-
contentHeight:
|
|
6
|
-
defaultMaxContentWidth:
|
|
7
|
-
defaultMinContentWidth:
|
|
8
|
-
drawerSize:
|
|
9
|
-
footerHeight:
|
|
10
|
-
headerGap:
|
|
11
|
-
headerHeight:
|
|
12
|
-
layoutWidth:
|
|
13
|
-
mainGap:
|
|
14
|
-
mainOffsetLeft:
|
|
15
|
-
mainTemplateRows:
|
|
16
|
-
maxContentWidth:
|
|
17
|
-
minContentWidth:
|
|
18
|
-
mobileBarHeight:
|
|
19
|
-
notificationsGap:
|
|
20
|
-
notificationsHeight:
|
|
21
|
-
offsetTop:
|
|
22
|
-
overlapHeight:
|
|
23
|
-
navigationWidth:
|
|
24
|
-
splitPanelReportedHeaderSize:
|
|
25
|
-
splitPanelReportedSize:
|
|
26
|
-
splitPanelHeight:
|
|
27
|
-
splitPanelMinWidth:
|
|
28
|
-
splitPanelMaxWidth:
|
|
29
|
-
toolsMaxWidth:
|
|
30
|
-
toolsWidth:
|
|
31
|
-
toolsAnimationStartingOpacity:
|
|
32
|
-
contentScrollMargin:
|
|
33
|
-
flashbarStackDepth:
|
|
34
|
-
flashbarStackIndex:
|
|
35
|
-
flashbarStickyBottomMargin:
|
|
36
|
-
stackedNotificationsBottomMargin:
|
|
37
|
-
stackedNotificationsDefaultBottomMargin:
|
|
38
|
-
dropdownDefaultMaxWidth:
|
|
39
|
-
spinnerRotatorFrom:
|
|
40
|
-
spinnerRotatorTo:
|
|
41
|
-
spinnerLineLeftFrom:
|
|
42
|
-
spinnerLineLeftTo:
|
|
43
|
-
spinnerLineRightFrom:
|
|
44
|
-
spinnerLineRightTo:
|
|
2
|
+
"breadcrumbsGap": "--awsui-breadcrumbs-gap-tkr9yl",
|
|
3
|
+
"contentGapLeft": "--awsui-content-gap-left-tkr9yl",
|
|
4
|
+
"contentGapRight": "--awsui-content-gap-right-tkr9yl",
|
|
5
|
+
"contentHeight": "--awsui-content-height-tkr9yl",
|
|
6
|
+
"defaultMaxContentWidth": "--awsui-default-max-content-width-tkr9yl",
|
|
7
|
+
"defaultMinContentWidth": "--awsui-default-min-content-width-tkr9yl",
|
|
8
|
+
"drawerSize": "--awsui-drawer-size-tkr9yl",
|
|
9
|
+
"footerHeight": "--awsui-footer-height-tkr9yl",
|
|
10
|
+
"headerGap": "--awsui-header-gap-tkr9yl",
|
|
11
|
+
"headerHeight": "--awsui-header-height-tkr9yl",
|
|
12
|
+
"layoutWidth": "--awsui-layout-width-tkr9yl",
|
|
13
|
+
"mainGap": "--awsui-main-gap-tkr9yl",
|
|
14
|
+
"mainOffsetLeft": "--awsui-main-offset-left-tkr9yl",
|
|
15
|
+
"mainTemplateRows": "--awsui-main-template-rows-tkr9yl",
|
|
16
|
+
"maxContentWidth": "--awsui-max-content-width-tkr9yl",
|
|
17
|
+
"minContentWidth": "--awsui-min-content-width-tkr9yl",
|
|
18
|
+
"mobileBarHeight": "--awsui-mobile-bar-height-tkr9yl",
|
|
19
|
+
"notificationsGap": "--awsui-notifications-gap-tkr9yl",
|
|
20
|
+
"notificationsHeight": "--awsui-notifications-height-tkr9yl",
|
|
21
|
+
"offsetTop": "--awsui-offset-top-tkr9yl",
|
|
22
|
+
"overlapHeight": "--awsui-overlap-height-tkr9yl",
|
|
23
|
+
"navigationWidth": "--awsui-navigation-width-tkr9yl",
|
|
24
|
+
"splitPanelReportedHeaderSize": "--awsui-split-panel-reported-header-size-tkr9yl",
|
|
25
|
+
"splitPanelReportedSize": "--awsui-split-panel-reported-size-tkr9yl",
|
|
26
|
+
"splitPanelHeight": "--awsui-split-panel-height-tkr9yl",
|
|
27
|
+
"splitPanelMinWidth": "--awsui-split-panel-min-width-tkr9yl",
|
|
28
|
+
"splitPanelMaxWidth": "--awsui-split-panel-max-width-tkr9yl",
|
|
29
|
+
"toolsMaxWidth": "--awsui-tools-max-width-tkr9yl",
|
|
30
|
+
"toolsWidth": "--awsui-tools-width-tkr9yl",
|
|
31
|
+
"toolsAnimationStartingOpacity": "--awsui-tools-animation-starting-opacity-tkr9yl",
|
|
32
|
+
"contentScrollMargin": "--awsui-content-scroll-margin-tkr9yl",
|
|
33
|
+
"flashbarStackDepth": "--awsui-flashbar-stack-depth-tkr9yl",
|
|
34
|
+
"flashbarStackIndex": "--awsui-flashbar-stack-index-tkr9yl",
|
|
35
|
+
"flashbarStickyBottomMargin": "--awsui-flashbar-sticky-bottom-margin-tkr9yl",
|
|
36
|
+
"stackedNotificationsBottomMargin": "--awsui-stacked-notifications-bottom-margin-tkr9yl",
|
|
37
|
+
"stackedNotificationsDefaultBottomMargin": "--awsui-stacked-notifications-default-bottom-margin-tkr9yl",
|
|
38
|
+
"dropdownDefaultMaxWidth": "--awsui-dropdown-default-max-width-tkr9yl",
|
|
39
|
+
"spinnerRotatorFrom": "--awsui-spinner-rotator-from-tkr9yl",
|
|
40
|
+
"spinnerRotatorTo": "--awsui-spinner-rotator-to-tkr9yl",
|
|
41
|
+
"spinnerLineLeftFrom": "--awsui-spinner-line-left-from-tkr9yl",
|
|
42
|
+
"spinnerLineLeftTo": "--awsui-spinner-line-left-to-tkr9yl",
|
|
43
|
+
"spinnerLineRightFrom": "--awsui-spinner-line-right-from-tkr9yl",
|
|
44
|
+
"spinnerLineRightTo": "--awsui-spinner-line-right-to-tkr9yl",
|
|
45
|
+
"sliderLabelCount": "--awsui-slider-label-count-tkr9yl",
|
|
46
|
+
"sliderTickCount": "--awsui-slider-tick-count-tkr9yl",
|
|
47
|
+
"sliderReferenceColumn": "--awsui-slider-reference-column-tkr9yl",
|
|
48
|
+
"sliderNextReferenceColumn": "--awsui-slider-next-reference-column-tkr9yl",
|
|
49
|
+
"sliderMaxStart": "--awsui-slider-max-start-tkr9yl",
|
|
50
|
+
"sliderMinEnd": "--awsui-slider-min-end-tkr9yl",
|
|
51
|
+
"sliderRangeInlineSize": "--awsui-slider-range-inline-size-tkr9yl",
|
|
52
|
+
"sliderTooltipPosition": "--awsui-slider-tooltip-position-tkr9yl",
|
|
45
53
|
};
|
|
46
54
|
export default customCSSPropertiesMap;
|
|
47
55
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/generated/custom-css-properties/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/generated/custom-css-properties/index.ts"],"names":[],"mappings":"AACM,MAAM,sBAAsB,GAA0B;IACpD,gBAAgB,EAAE,gCAAgC;IAC1D,gBAAgB,EAAE,iCAAiC;IACnD,iBA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BAAuB,EAAE,wCAAwC;IACjE,2BAA2B,EAAE,6CAA6C;IAC1E,gBAAgB,EAAE,iCAAiC;IACnD,cAAc,EAAE,+BAA+B;IAC/C,uBAAuB,EAAE,yCAAyC;IAClE,uBAAuB,EAAE,wCAAwC;CAC1D,CAAC;AACF,eAAe,sBAAsB,CAAC","sourcesContent":["\n const customCSSPropertiesMap: Record<string,string> = {\n \"breadcrumbsGap\": \"--awsui-breadcrumbs-gap-tkr9yl\",\n\"contentGapLeft\": \"--awsui-content-gap-left-tkr9yl\",\n\"contentGapRight\": \"--awsui-content-gap-right-tkr9yl\",\n\"contentHeight\": \"--awsui-content-height-tkr9yl\",\n\"defaultMaxContentWidth\": \"--awsui-default-max-content-width-tkr9yl\",\n\"defaultMinContentWidth\": \"--awsui-default-min-content-width-tkr9yl\",\n\"drawerSize\": \"--awsui-drawer-size-tkr9yl\",\n\"footerHeight\": \"--awsui-footer-height-tkr9yl\",\n\"headerGap\": \"--awsui-header-gap-tkr9yl\",\n\"headerHeight\": \"--awsui-header-height-tkr9yl\",\n\"layoutWidth\": \"--awsui-layout-width-tkr9yl\",\n\"mainGap\": \"--awsui-main-gap-tkr9yl\",\n\"mainOffsetLeft\": \"--awsui-main-offset-left-tkr9yl\",\n\"mainTemplateRows\": \"--awsui-main-template-rows-tkr9yl\",\n\"maxContentWidth\": \"--awsui-max-content-width-tkr9yl\",\n\"minContentWidth\": \"--awsui-min-content-width-tkr9yl\",\n\"mobileBarHeight\": \"--awsui-mobile-bar-height-tkr9yl\",\n\"notificationsGap\": \"--awsui-notifications-gap-tkr9yl\",\n\"notificationsHeight\": \"--awsui-notifications-height-tkr9yl\",\n\"offsetTop\": \"--awsui-offset-top-tkr9yl\",\n\"overlapHeight\": \"--awsui-overlap-height-tkr9yl\",\n\"navigationWidth\": \"--awsui-navigation-width-tkr9yl\",\n\"splitPanelReportedHeaderSize\": \"--awsui-split-panel-reported-header-size-tkr9yl\",\n\"splitPanelReportedSize\": \"--awsui-split-panel-reported-size-tkr9yl\",\n\"splitPanelHeight\": \"--awsui-split-panel-height-tkr9yl\",\n\"splitPanelMinWidth\": \"--awsui-split-panel-min-width-tkr9yl\",\n\"splitPanelMaxWidth\": \"--awsui-split-panel-max-width-tkr9yl\",\n\"toolsMaxWidth\": \"--awsui-tools-max-width-tkr9yl\",\n\"toolsWidth\": \"--awsui-tools-width-tkr9yl\",\n\"toolsAnimationStartingOpacity\": \"--awsui-tools-animation-starting-opacity-tkr9yl\",\n\"contentScrollMargin\": \"--awsui-content-scroll-margin-tkr9yl\",\n\"flashbarStackDepth\": \"--awsui-flashbar-stack-depth-tkr9yl\",\n\"flashbarStackIndex\": \"--awsui-flashbar-stack-index-tkr9yl\",\n\"flashbarStickyBottomMargin\": \"--awsui-flashbar-sticky-bottom-margin-tkr9yl\",\n\"stackedNotificationsBottomMargin\": \"--awsui-stacked-notifications-bottom-margin-tkr9yl\",\n\"stackedNotificationsDefaultBottomMargin\": \"--awsui-stacked-notifications-default-bottom-margin-tkr9yl\",\n\"dropdownDefaultMaxWidth\": \"--awsui-dropdown-default-max-width-tkr9yl\",\n\"spinnerRotatorFrom\": \"--awsui-spinner-rotator-from-tkr9yl\",\n\"spinnerRotatorTo\": \"--awsui-spinner-rotator-to-tkr9yl\",\n\"spinnerLineLeftFrom\": \"--awsui-spinner-line-left-from-tkr9yl\",\n\"spinnerLineLeftTo\": \"--awsui-spinner-line-left-to-tkr9yl\",\n\"spinnerLineRightFrom\": \"--awsui-spinner-line-right-from-tkr9yl\",\n\"spinnerLineRightTo\": \"--awsui-spinner-line-right-to-tkr9yl\",\n\"sliderLabelCount\": \"--awsui-slider-label-count-tkr9yl\",\n\"sliderTickCount\": \"--awsui-slider-tick-count-tkr9yl\",\n\"sliderReferenceColumn\": \"--awsui-slider-reference-column-tkr9yl\",\n\"sliderNextReferenceColumn\": \"--awsui-slider-next-reference-column-tkr9yl\",\n\"sliderMaxStart\": \"--awsui-slider-max-start-tkr9yl\",\n\"sliderMinEnd\": \"--awsui-slider-min-end-tkr9yl\",\n\"sliderRangeInlineSize\": \"--awsui-slider-range-inline-size-tkr9yl\",\n\"sliderTooltipPosition\": \"--awsui-slider-tooltip-position-tkr9yl\",\n };\n export default customCSSPropertiesMap;\n "]}
|
|
@@ -276,6 +276,11 @@ export const colorBackgroundSegmentActive: string;
|
|
|
276
276
|
export const colorBackgroundSegmentDefault: string;
|
|
277
277
|
export const colorBackgroundSegmentDisabled: string;
|
|
278
278
|
export const colorBackgroundSegmentHover: string;
|
|
279
|
+
export const colorBackgroundSliderHandleDefault: string;
|
|
280
|
+
export const colorBackgroundSliderHandleActive: string;
|
|
281
|
+
export const colorBackgroundSliderTrack: string;
|
|
282
|
+
export const colorBackgroundSliderHandleRing: string;
|
|
283
|
+
export const colorBackgroundSliderErrorPressed: string;
|
|
279
284
|
export const colorBackgroundStatusError: string;
|
|
280
285
|
export const colorBackgroundStatusInfo: string;
|
|
281
286
|
export const colorBackgroundStatusSuccess: string;
|
|
@@ -276,6 +276,11 @@ export var colorBackgroundSegmentActive = "var(--color-background-segment-active
|
|
|
276
276
|
export var colorBackgroundSegmentDefault = "var(--color-background-segment-default-3arros, #ffffff)";
|
|
277
277
|
export var colorBackgroundSegmentDisabled = "var(--color-background-segment-disabled-o4y9v5, #ffffff)";
|
|
278
278
|
export var colorBackgroundSegmentHover = "var(--color-background-segment-hover-jysoxv, #ffffff)";
|
|
279
|
+
export var colorBackgroundSliderHandleDefault = "var(--color-background-slider-handle-default-atrlod, #0972d3)";
|
|
280
|
+
export var colorBackgroundSliderHandleActive = "var(--color-background-slider-handle-active-ccegzg, #065299)";
|
|
281
|
+
export var colorBackgroundSliderTrack = "var(--color-background-slider-track-3m68rn, #7d8998)";
|
|
282
|
+
export var colorBackgroundSliderHandleRing = "var(--color-background-slider-handle-ring-31445h, #ffffff)";
|
|
283
|
+
export var colorBackgroundSliderErrorPressed = "var(--color-background-slider-error-pressed-g7oqnt, #7c2718)";
|
|
279
284
|
export var colorBackgroundStatusError = "var(--color-background-status-error-pbprvn, #fff7f7)";
|
|
280
285
|
export var colorBackgroundStatusInfo = "var(--color-background-status-info-mvnbre, #f2f8fd)";
|
|
281
286
|
export var colorBackgroundStatusSuccess = "var(--color-background-status-success-jp14wa, #f2fcf3)";
|