@cloudscape-design/components 3.0.1270 → 3.0.1272
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/app-layout/visual-refresh-toolbar/toolbar/index.js +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.d.ts +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.js +1 -2
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.css.js +6 -7
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.scoped.css +20 -26
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.selectors.js +6 -7
- package/button/styles.css.js +22 -22
- package/button/styles.scoped.css +78 -78
- package/button/styles.selectors.js +22 -22
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +70 -70
- package/help-panel/styles.selectors.js +6 -6
- package/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.ar.js +1 -1
- package/i18n/messages/all.ar.json +1 -1
- package/i18n/messages/all.de.js +1 -1
- package/i18n/messages/all.de.json +1 -1
- package/i18n/messages/all.en-GB.js +1 -1
- package/i18n/messages/all.en-GB.json +1 -1
- package/i18n/messages/all.en.js +1 -1
- package/i18n/messages/all.en.json +1 -1
- package/i18n/messages/all.es.js +1 -1
- package/i18n/messages/all.es.json +1 -1
- package/i18n/messages/all.fr.js +1 -1
- package/i18n/messages/all.fr.json +1 -1
- package/i18n/messages/all.id.js +1 -1
- package/i18n/messages/all.id.json +1 -1
- package/i18n/messages/all.it.js +1 -1
- package/i18n/messages/all.it.json +1 -1
- package/i18n/messages/all.ja.js +1 -1
- package/i18n/messages/all.ja.json +1 -1
- package/i18n/messages/all.ko.js +1 -1
- package/i18n/messages/all.ko.json +1 -1
- package/i18n/messages/all.pt-BR.js +1 -1
- package/i18n/messages/all.pt-BR.json +1 -1
- package/i18n/messages/all.tr.js +1 -1
- package/i18n/messages/all.tr.json +1 -1
- package/i18n/messages/all.zh-CN.js +1 -1
- package/i18n/messages/all.zh-CN.json +1 -1
- package/i18n/messages/all.zh-TW.js +1 -1
- package/i18n/messages/all.zh-TW.json +1 -1
- package/i18n/messages-types.d.ts +18 -0
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +1 -1
- package/internal/base-component/styles.scoped.css +63 -4
- package/internal/components/token-list/styles.css.js +10 -10
- package/internal/components/token-list/styles.scoped.css +25 -25
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/styles/tokens.d.ts +17 -3
- package/internal/generated/styles/tokens.js +17 -3
- package/internal/generated/theming/index.cjs +417 -9
- package/internal/generated/theming/index.cjs.d.ts +189 -0
- package/internal/generated/theming/index.d.ts +189 -0
- package/internal/generated/theming/index.js +417 -9
- package/internal/keycode.d.ts +3 -1
- package/internal/keycode.d.ts.map +1 -1
- package/internal/keycode.js +5 -0
- package/internal/keycode.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/internal/utils/handle-key.d.ts +22 -1
- package/internal/utils/handle-key.d.ts.map +1 -1
- package/internal/utils/handle-key.js +62 -4
- package/internal/utils/handle-key.js.map +1 -1
- package/item-card/styles.css.js +14 -14
- package/item-card/styles.scoped.css +52 -52
- package/item-card/styles.selectors.js +14 -14
- package/link/styles.css.js +21 -21
- package/link/styles.scoped.css +81 -81
- package/link/styles.selectors.js +21 -21
- package/package.json +1 -1
- package/prompt-input/components/menu-dropdown.d.ts +33 -0
- package/prompt-input/components/menu-dropdown.d.ts.map +1 -0
- package/prompt-input/components/menu-dropdown.js +48 -0
- package/prompt-input/components/menu-dropdown.js.map +1 -0
- package/prompt-input/components/textarea-mode.d.ts +15 -0
- package/prompt-input/components/textarea-mode.d.ts.map +1 -0
- package/prompt-input/components/textarea-mode.js +8 -0
- package/prompt-input/components/textarea-mode.js.map +1 -0
- package/prompt-input/components/token-mode.d.ts +61 -0
- package/prompt-input/components/token-mode.d.ts.map +1 -0
- package/prompt-input/components/token-mode.js +37 -0
- package/prompt-input/components/token-mode.js.map +1 -0
- package/prompt-input/core/caret-controller.d.ts +73 -0
- package/prompt-input/core/caret-controller.d.ts.map +1 -0
- package/prompt-input/core/caret-controller.js +396 -0
- package/prompt-input/core/caret-controller.js.map +1 -0
- package/prompt-input/core/caret-spot-utils.d.ts +6 -0
- package/prompt-input/core/caret-spot-utils.d.ts.map +1 -0
- package/prompt-input/core/caret-spot-utils.js +52 -0
- package/prompt-input/core/caret-spot-utils.js.map +1 -0
- package/prompt-input/core/caret-utils.d.ts +25 -0
- package/prompt-input/core/caret-utils.d.ts.map +1 -0
- package/prompt-input/core/caret-utils.js +183 -0
- package/prompt-input/core/caret-utils.js.map +1 -0
- package/prompt-input/core/constants.d.ts +14 -0
- package/prompt-input/core/constants.d.ts.map +1 -0
- package/prompt-input/core/constants.js +18 -0
- package/prompt-input/core/constants.js.map +1 -0
- package/prompt-input/core/dom-utils.d.ts +60 -0
- package/prompt-input/core/dom-utils.d.ts.map +1 -0
- package/prompt-input/core/dom-utils.js +252 -0
- package/prompt-input/core/dom-utils.js.map +1 -0
- package/prompt-input/core/event-handlers.d.ts +68 -0
- package/prompt-input/core/event-handlers.d.ts.map +1 -0
- package/prompt-input/core/event-handlers.js +678 -0
- package/prompt-input/core/event-handlers.js.map +1 -0
- package/prompt-input/core/menu-state.d.ts +62 -0
- package/prompt-input/core/menu-state.d.ts.map +1 -0
- package/prompt-input/core/menu-state.js +168 -0
- package/prompt-input/core/menu-state.js.map +1 -0
- package/prompt-input/core/token-operations.d.ts +21 -0
- package/prompt-input/core/token-operations.d.ts.map +1 -0
- package/prompt-input/core/token-operations.js +273 -0
- package/prompt-input/core/token-operations.js.map +1 -0
- package/prompt-input/core/token-renderer.d.ts +26 -0
- package/prompt-input/core/token-renderer.d.ts.map +1 -0
- package/prompt-input/core/token-renderer.js +230 -0
- package/prompt-input/core/token-renderer.js.map +1 -0
- package/prompt-input/core/token-utils.d.ts +22 -0
- package/prompt-input/core/token-utils.d.ts.map +1 -0
- package/prompt-input/core/token-utils.js +262 -0
- package/prompt-input/core/token-utils.js.map +1 -0
- package/prompt-input/core/trigger-utils.d.ts +18 -0
- package/prompt-input/core/trigger-utils.d.ts.map +1 -0
- package/prompt-input/core/trigger-utils.js +174 -0
- package/prompt-input/core/trigger-utils.js.map +1 -0
- package/prompt-input/core/type-guards.d.ts +13 -0
- package/prompt-input/core/type-guards.d.ts.map +1 -0
- package/prompt-input/core/type-guards.js +36 -0
- package/prompt-input/core/type-guards.js.map +1 -0
- package/prompt-input/index.d.ts +1 -1
- package/prompt-input/index.d.ts.map +1 -1
- package/prompt-input/index.js.map +1 -1
- package/prompt-input/interfaces.d.ts +356 -7
- package/prompt-input/interfaces.d.ts.map +1 -1
- package/prompt-input/interfaces.js.map +1 -1
- package/prompt-input/internal.d.ts +1 -1
- package/prompt-input/internal.d.ts.map +1 -1
- package/prompt-input/internal.js +195 -61
- package/prompt-input/internal.js.map +1 -1
- package/prompt-input/styles.css.js +26 -17
- package/prompt-input/styles.scoped.css +152 -39
- package/prompt-input/styles.selectors.js +26 -17
- package/prompt-input/test-classes/styles.css.js +7 -6
- package/prompt-input/test-classes/styles.scoped.css +10 -6
- package/prompt-input/test-classes/styles.selectors.js +7 -6
- package/prompt-input/tokens/use-shortcuts.d.ts +37 -0
- package/prompt-input/tokens/use-shortcuts.d.ts.map +1 -0
- package/prompt-input/tokens/use-shortcuts.js +89 -0
- package/prompt-input/tokens/use-shortcuts.js.map +1 -0
- package/prompt-input/tokens/use-token-mode.d.ts +78 -0
- package/prompt-input/tokens/use-token-mode.d.ts.map +1 -0
- package/prompt-input/tokens/use-token-mode.js +817 -0
- package/prompt-input/tokens/use-token-mode.js.map +1 -0
- package/prompt-input/utils/insert-text-content-editable.d.ts +10 -0
- package/prompt-input/utils/insert-text-content-editable.d.ts.map +1 -0
- package/prompt-input/utils/insert-text-content-editable.js +133 -0
- package/prompt-input/utils/insert-text-content-editable.js.map +1 -0
- package/tabs/styles.css.js +30 -30
- package/tabs/styles.scoped.css +55 -55
- package/tabs/styles.selectors.js +30 -30
- package/test-utils/dom/hotspot/index.js +1 -2
- package/test-utils/dom/hotspot/index.js.map +1 -1
- package/test-utils/dom/prompt-input/index.d.ts +53 -1
- package/test-utils/dom/prompt-input/index.js +121 -13
- package/test-utils/dom/prompt-input/index.js.map +1 -1
- package/test-utils/dom/s3-resource-selector/index.js +2 -3
- package/test-utils/dom/s3-resource-selector/index.js.map +1 -1
- package/test-utils/selectors/hotspot/index.js +1 -2
- package/test-utils/selectors/hotspot/index.js.map +1 -1
- package/test-utils/selectors/prompt-input/index.d.ts +30 -0
- package/test-utils/selectors/prompt-input/index.js +53 -7
- package/test-utils/selectors/prompt-input/index.js.map +1 -1
- package/test-utils/selectors/s3-resource-selector/index.js +2 -3
- package/test-utils/selectors/s3-resource-selector/index.js.map +1 -1
package/tabs/styles.scoped.css
CHANGED
|
@@ -151,7 +151,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
151
151
|
SPDX-License-Identifier: Apache-2.0
|
|
152
152
|
*/
|
|
153
153
|
/* stylelint-disable selector-max-type */
|
|
154
|
-
.awsui_tabs-
|
|
154
|
+
.awsui_tabs-header_14rmt_35hfj_154:not(#\9) {
|
|
155
155
|
margin-block: 0;
|
|
156
156
|
margin-inline: 0;
|
|
157
157
|
padding-block: 0;
|
|
@@ -160,13 +160,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
160
160
|
flex-wrap: wrap;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
.awsui_tab-header-scroll-
|
|
163
|
+
.awsui_tab-header-scroll-container_14rmt_35hfj_163:not(#\9) {
|
|
164
164
|
display: flex;
|
|
165
165
|
flex-grow: 1;
|
|
166
166
|
max-inline-size: 100%;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.awsui_tabs-header-
|
|
169
|
+
.awsui_tabs-header-list_14rmt_35hfj_169:not(#\9) {
|
|
170
170
|
margin-block: 0;
|
|
171
171
|
margin-inline: 0;
|
|
172
172
|
padding-block: 0;
|
|
@@ -179,33 +179,33 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
179
179
|
scroll-snap-type: inline proximity;
|
|
180
180
|
scrollbar-width: none; /* Firefox */
|
|
181
181
|
}
|
|
182
|
-
.awsui_tabs-header-
|
|
182
|
+
.awsui_tabs-header-list_14rmt_35hfj_169:not(#\9)::-webkit-scrollbar {
|
|
183
183
|
display: none; /* Safari and Chrome */
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
.awsui_pagination-
|
|
186
|
+
.awsui_pagination-button_14rmt_35hfj_186:not(#\9) {
|
|
187
187
|
margin-block: var(--space-scaled-s-8ozaad, 12px);
|
|
188
188
|
margin-inline: 0;
|
|
189
189
|
padding-block: 0;
|
|
190
190
|
padding-inline: var(--space-xxs-hwfkai, 4px);
|
|
191
191
|
display: flex;
|
|
192
192
|
}
|
|
193
|
-
.awsui_pagination-button-
|
|
193
|
+
.awsui_pagination-button-left_14rmt_35hfj_193:not(#\9) {
|
|
194
194
|
border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-control-disabled-uj7t08, #dedee3);
|
|
195
195
|
}
|
|
196
|
-
.awsui_pagination-button-left-
|
|
196
|
+
.awsui_pagination-button-left-scrollable_14rmt_35hfj_196:not(#\9) {
|
|
197
197
|
z-index: 1;
|
|
198
198
|
box-shadow: 5px 0px 4px -3px var(--color-border-tabs-shadow-ugyo07, rgba(15, 20, 26, 0.12)), 1px 0px 0px 0px var(--color-border-tabs-shadow-ugyo07, rgba(15, 20, 26, 0.12));
|
|
199
199
|
}
|
|
200
|
-
.awsui_pagination-button-
|
|
200
|
+
.awsui_pagination-button-right_14rmt_35hfj_200:not(#\9) {
|
|
201
201
|
border-inline-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-control-disabled-uj7t08, #dedee3);
|
|
202
202
|
}
|
|
203
|
-
.awsui_pagination-button-right-
|
|
203
|
+
.awsui_pagination-button-right-scrollable_14rmt_35hfj_203:not(#\9) {
|
|
204
204
|
z-index: 1;
|
|
205
205
|
box-shadow: -5px 0px 4px -3px var(--color-border-tabs-shadow-ugyo07, rgba(15, 20, 26, 0.12)), -1px 0px 0px 0 var(--color-border-tabs-shadow-ugyo07, rgba(15, 20, 26, 0.12));
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
.awsui_actions-
|
|
208
|
+
.awsui_actions-container_14rmt_35hfj_208:not(#\9) {
|
|
209
209
|
flex-shrink: 0;
|
|
210
210
|
align-self: center;
|
|
211
211
|
padding-block: var(--space-xs-ymlm0b, 8px);
|
|
@@ -213,7 +213,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
213
213
|
margin-inline-start: auto;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
.awsui_tabs-
|
|
216
|
+
.awsui_tabs-tab_14rmt_35hfj_216:not(#\9) {
|
|
217
217
|
list-style: none;
|
|
218
218
|
padding-block: 0;
|
|
219
219
|
padding-inline: 0;
|
|
@@ -223,18 +223,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
223
223
|
scroll-snap-align: start;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
.awsui_tabs-tab-
|
|
226
|
+
.awsui_tabs-tab-label_14rmt_35hfj_226:not(#\9) {
|
|
227
227
|
display: flex;
|
|
228
228
|
align-items: center;
|
|
229
229
|
padding-inline: var(--space-xs-ymlm0b, 8px);
|
|
230
|
-
padding-block: var(--space-
|
|
230
|
+
padding-block: var(--space-tabs-vertical-3qxuiu, 4px);
|
|
231
231
|
text-align: start;
|
|
232
232
|
position: relative;
|
|
233
233
|
min-inline-size: 0;
|
|
234
234
|
word-break: break-word;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
.awsui_tabs-tab-header-
|
|
237
|
+
.awsui_tabs-tab-header-container_14rmt_35hfj_237:not(#\9) {
|
|
238
238
|
position: relative;
|
|
239
239
|
border-block: var(--border-divider-section-width-uwo8my, 1px) solid transparent;
|
|
240
240
|
border-inline: var(--border-divider-section-width-uwo8my, 1px) solid transparent;
|
|
@@ -242,16 +242,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
242
242
|
display: flex;
|
|
243
243
|
align-items: stretch;
|
|
244
244
|
}
|
|
245
|
-
.awsui_tabs-tab-header-
|
|
245
|
+
.awsui_tabs-tab-header-container_14rmt_35hfj_237 > .awsui_tabs-tab-dismiss_14rmt_35hfj_245:not(#\9), .awsui_tabs-tab-header-container_14rmt_35hfj_237 > .awsui_tabs-tab-action_14rmt_35hfj_245:not(#\9) {
|
|
246
246
|
position: relative;
|
|
247
247
|
display: flex;
|
|
248
248
|
align-items: center;
|
|
249
249
|
}
|
|
250
|
-
.awsui_tabs-tab-header-
|
|
250
|
+
.awsui_tabs-tab-header-container_14rmt_35hfj_237.awsui_refresh_14rmt_35hfj_250 > span:not(#\9):first-of-type {
|
|
251
251
|
margin-inline-start: calc(-1 * var(--space-scaled-xs-xwoogq, 8px));
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
.awsui_tabs-tab-header-
|
|
254
|
+
.awsui_tabs-tab-header-container_14rmt_35hfj_237:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_35hfj_254):after {
|
|
255
255
|
content: "";
|
|
256
256
|
position: absolute;
|
|
257
257
|
inset-inline-start: 0;
|
|
@@ -265,35 +265,35 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
265
265
|
background: var(--awsui-style-tabs-active-indicator-color-6b9ypa, var(--color-border-tabs-underline-gudemr, #006ce0));
|
|
266
266
|
opacity: 0;
|
|
267
267
|
}
|
|
268
|
-
.awsui_tabs-tab-header-
|
|
268
|
+
.awsui_tabs-tab-header-container_14rmt_35hfj_237:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_35hfj_254).awsui_refresh_14rmt_35hfj_250:after {
|
|
269
269
|
transition: opacity var(--motion-duration-refresh-only-medium-5rbn3k, 165ms) var(--motion-easing-refresh-only-c-cxy2sk, cubic-bezier(0.84, 0, 0.16, 1));
|
|
270
270
|
}
|
|
271
271
|
@media (prefers-reduced-motion: reduce) {
|
|
272
|
-
.awsui_tabs-tab-header-
|
|
272
|
+
.awsui_tabs-tab-header-container_14rmt_35hfj_237:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_35hfj_254).awsui_refresh_14rmt_35hfj_250:after {
|
|
273
273
|
animation: none;
|
|
274
274
|
transition: none;
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
.awsui-motion-disabled .awsui_tabs-tab-header-
|
|
277
|
+
.awsui-motion-disabled .awsui_tabs-tab-header-container_14rmt_35hfj_237:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_35hfj_254).awsui_refresh_14rmt_35hfj_250:after, .awsui-mode-entering .awsui_tabs-tab-header-container_14rmt_35hfj_237:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_35hfj_254).awsui_refresh_14rmt_35hfj_250:after {
|
|
278
278
|
animation: none;
|
|
279
279
|
transition: none;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
.awsui_tabs-
|
|
282
|
+
.awsui_tabs-tab_14rmt_35hfj_216:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_35hfj_237 {
|
|
283
283
|
margin-inline-end: calc(-1 * var(--border-divider-section-width-uwo8my, 1px));
|
|
284
284
|
}
|
|
285
|
-
.awsui_tabs-
|
|
285
|
+
.awsui_tabs-tab_14rmt_35hfj_216:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_35hfj_237:before {
|
|
286
286
|
content: "";
|
|
287
287
|
position: absolute;
|
|
288
288
|
border-inline-end: var(--awsui-style-tabs-separator-width-6b9ypa, var(--border-divider-section-width-uwo8my, 1px)) solid var(--awsui-style-tabs-separator-color-6b9ypa, var(--color-border-tabs-divider-f5t9va, #c6c6cd));
|
|
289
289
|
inset: var(--space-scaled-s-8ozaad, 12px) 0;
|
|
290
290
|
opacity: 1;
|
|
291
291
|
}
|
|
292
|
-
.awsui_tabs-
|
|
292
|
+
.awsui_tabs-tab_14rmt_35hfj_216:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_35hfj_237.awsui_refresh_14rmt_35hfj_250:before {
|
|
293
293
|
inset: calc(var(--space-static-s-t763lu, 12px) - var(--border-active-width-axzm24, 4px)) 0;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
.awsui_tabs-tab-
|
|
296
|
+
.awsui_tabs-tab-link_14rmt_35hfj_296:not(#\9) {
|
|
297
297
|
position: relative;
|
|
298
298
|
display: flex;
|
|
299
299
|
align-items: stretch;
|
|
@@ -305,9 +305,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
305
305
|
margin-block-start: 1px;
|
|
306
306
|
border-block: var(--border-divider-section-width-uwo8my, 1px) solid var(--awsui-style-border-color-default-6b9ypa, transparent);
|
|
307
307
|
border-inline: var(--border-divider-section-width-uwo8my, 1px) solid var(--awsui-style-border-color-default-6b9ypa, transparent);
|
|
308
|
-
font-size: var(--font-tabs-
|
|
309
|
-
line-height: var(--
|
|
310
|
-
font-weight: var(--font-
|
|
308
|
+
font-size: var(--font-size-tabs-eeo215, 16px);
|
|
309
|
+
line-height: var(--line-height-tabs-vpnjo7, 20px);
|
|
310
|
+
font-weight: var(--font-weight-tabs-ichxzl, 700);
|
|
311
311
|
color: var(--awsui-style-color-default-6b9ypa, var(--color-text-interactive-default-ugh9wp, #424650));
|
|
312
312
|
background-color: var(--awsui-style-background-default-6b9ypa, transparent);
|
|
313
313
|
padding-inline-start: calc(var(--space-xxs-hwfkai, 4px) - 1px);
|
|
@@ -315,28 +315,28 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
315
315
|
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
316
316
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
317
317
|
}
|
|
318
|
-
.awsui_tabs-tab-
|
|
318
|
+
.awsui_tabs-tab-link_14rmt_35hfj_296.awsui_refresh_14rmt_35hfj_250:not(#\9) {
|
|
319
319
|
padding-block-start: calc(var(--space-static-xs-gnm0mz, 8px) - 1px);
|
|
320
320
|
padding-block-end: calc(var(--space-static-xs-gnm0mz, 8px) - 1px);
|
|
321
321
|
margin-block-start: 0;
|
|
322
322
|
}
|
|
323
|
-
.awsui_tabs-tab-
|
|
323
|
+
.awsui_tabs-tab-link_14rmt_35hfj_296:not(#\9):hover {
|
|
324
324
|
color: var(--awsui-style-color-hover-6b9ypa, var(--color-text-accent-n1kmht, #006ce0));
|
|
325
325
|
border-color: var(--awsui-style-border-color-hover-6b9ypa, var(--awsui-style-border-color-default-6b9ypa, transparent));
|
|
326
326
|
background-color: var(--awsui-style-background-hover-6b9ypa, var(--awsui-style-background-default-6b9ypa, transparent));
|
|
327
327
|
}
|
|
328
|
-
.awsui_tabs-tab-
|
|
328
|
+
.awsui_tabs-tab-link_14rmt_35hfj_296:not(#\9):focus {
|
|
329
329
|
outline: none;
|
|
330
330
|
}
|
|
331
|
-
body[data-awsui-focus-visible=true] .awsui_tabs-tab-
|
|
331
|
+
body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_35hfj_296:not(#\9):focus {
|
|
332
332
|
--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));
|
|
333
333
|
position: relative;
|
|
334
334
|
}
|
|
335
|
-
body[data-awsui-focus-visible=true] .awsui_tabs-tab-
|
|
335
|
+
body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_35hfj_296:not(#\9):focus {
|
|
336
336
|
outline: 2px dotted transparent;
|
|
337
337
|
outline-offset: calc(var(--space-tabs-focus-outline-gutter-eerrg4, -8px) - 1px);
|
|
338
338
|
}
|
|
339
|
-
body[data-awsui-focus-visible=true] .awsui_tabs-tab-
|
|
339
|
+
body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_35hfj_296:not(#\9):focus::before {
|
|
340
340
|
content: " ";
|
|
341
341
|
display: block;
|
|
342
342
|
position: absolute;
|
|
@@ -352,52 +352,52 @@ body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1ij54_296:not(#\9
|
|
|
352
352
|
z-index: 1;
|
|
353
353
|
}
|
|
354
354
|
|
|
355
|
-
.awsui_tabs-
|
|
355
|
+
.awsui_tabs-tab_14rmt_35hfj_216:not(#\9):first-child {
|
|
356
356
|
margin-inline-start: 1px;
|
|
357
357
|
scroll-margin-inline-start: 1px;
|
|
358
358
|
}
|
|
359
|
-
.awsui_tabs-
|
|
359
|
+
.awsui_tabs-tab_14rmt_35hfj_216:not(#\9):first-child > .awsui_tabs-tab-header-container_14rmt_35hfj_237 {
|
|
360
360
|
padding-inline-start: calc(var(--space-xs-ymlm0b, 8px) - 1px);
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
-
.awsui_tabs-
|
|
363
|
+
.awsui_tabs-tab_14rmt_35hfj_216:not(#\9):last-child {
|
|
364
364
|
margin-inline-end: 1px;
|
|
365
365
|
scroll-margin-inline-end: 1px;
|
|
366
366
|
}
|
|
367
|
-
.awsui_tabs-
|
|
367
|
+
.awsui_tabs-tab_14rmt_35hfj_216:not(#\9):last-child > .awsui_tabs-tab-header-container_14rmt_35hfj_237 {
|
|
368
368
|
padding-inline-end: calc(var(--space-xs-ymlm0b, 8px) - 1px);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
.awsui_tabs-tab-
|
|
371
|
+
.awsui_tabs-tab-disabled_14rmt_35hfj_254:not(#\9), .awsui_tabs-tab-disabled_14rmt_35hfj_254:not(#\9):hover {
|
|
372
372
|
cursor: default;
|
|
373
373
|
color: var(--awsui-style-color-disabled-6b9ypa, var(--color-text-interactive-disabled-1bqmrl, #b4b4bb));
|
|
374
374
|
border-color: var(--awsui-style-border-color-disabled-6b9ypa, transparent);
|
|
375
375
|
background-color: var(--awsui-style-background-disabled-6b9ypa, transparent);
|
|
376
|
-
font-weight: var(--font-tabs-disabled-
|
|
376
|
+
font-weight: var(--font-weight-tabs-disabled-v5r551, 700);
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
-
.awsui_tabs-tab-
|
|
379
|
+
.awsui_tabs-tab-active_14rmt_35hfj_379:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_35hfj_254) {
|
|
380
380
|
color: var(--awsui-style-color-active-6b9ypa, var(--color-text-accent-n1kmht, #006ce0));
|
|
381
381
|
border-color: var(--awsui-style-border-color-active-6b9ypa, transparent);
|
|
382
382
|
background-color: var(--awsui-style-background-active-6b9ypa, transparent);
|
|
383
383
|
}
|
|
384
|
-
.awsui_tabs-tab-
|
|
384
|
+
.awsui_tabs-tab-active_14rmt_35hfj_379:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_35hfj_254):after {
|
|
385
385
|
opacity: 1;
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
-
.awsui_tabs-header-with-
|
|
388
|
+
.awsui_tabs-header-with-divider_14rmt_35hfj_388:not(#\9) {
|
|
389
389
|
border-block-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-tabs-divider-f5t9va, #c6c6cd);
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
.awsui_tabs-tab-
|
|
392
|
+
.awsui_tabs-tab-focusable_14rmt_35hfj_392:not(#\9) {
|
|
393
393
|
/* used to manage focusable logic */
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
-
.
|
|
396
|
+
.awsui_root_14rmt_35hfj_396:not(#\9) {
|
|
397
397
|
/* used in test-utils or tests */
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
.
|
|
400
|
+
.awsui_tabs_14rmt_35hfj_154:not(#\9) {
|
|
401
401
|
border-collapse: separate;
|
|
402
402
|
border-spacing: 0;
|
|
403
403
|
box-sizing: border-box;
|
|
@@ -431,21 +431,21 @@ body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1ij54_296:not(#\9
|
|
|
431
431
|
inline-size: 100%;
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
-
.awsui_tabs-
|
|
434
|
+
.awsui_tabs-content_14rmt_35hfj_434:not(#\9) {
|
|
435
435
|
display: none;
|
|
436
436
|
}
|
|
437
437
|
|
|
438
|
-
.awsui_fit-
|
|
438
|
+
.awsui_fit-height_14rmt_35hfj_438:not(#\9) {
|
|
439
439
|
display: flex;
|
|
440
440
|
flex-direction: column;
|
|
441
441
|
block-size: 100%;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
|
-
.awsui_tabs-content-
|
|
444
|
+
.awsui_tabs-content-active_14rmt_35hfj_444:not(#\9) {
|
|
445
445
|
display: block;
|
|
446
446
|
flex: 1;
|
|
447
447
|
}
|
|
448
|
-
body[data-awsui-focus-visible=true] .awsui_tabs-content-
|
|
448
|
+
body[data-awsui-focus-visible=true] .awsui_tabs-content-active_14rmt_35hfj_444:not(#\9):focus {
|
|
449
449
|
outline: 2px dotted transparent;
|
|
450
450
|
outline-offset: 2px;
|
|
451
451
|
border-start-start-radius: var(--border-radius-container-nsfwmm, 16px);
|
|
@@ -455,32 +455,32 @@ body[data-awsui-focus-visible=true] .awsui_tabs-content-active_14rmt_1ij54_444:n
|
|
|
455
455
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-uk47pl, #006ce0);
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
-
.awsui_tabs-content-
|
|
458
|
+
.awsui_tabs-content-wrapper_14rmt_35hfj_458.awsui_with-paddings_14rmt_35hfj_458 > .awsui_tabs-content_14rmt_35hfj_434:not(#\9) {
|
|
459
459
|
padding-block: var(--space-scaled-m-m892r9, 16px);
|
|
460
460
|
padding-inline: 0;
|
|
461
461
|
}
|
|
462
|
-
.awsui_fit-
|
|
462
|
+
.awsui_fit-height_14rmt_35hfj_438 > .awsui_tabs-content-wrapper_14rmt_35hfj_458:not(#\9) {
|
|
463
463
|
flex: 1;
|
|
464
464
|
display: flex;
|
|
465
465
|
flex-direction: column;
|
|
466
466
|
overflow: auto;
|
|
467
467
|
}
|
|
468
468
|
|
|
469
|
-
.awsui_fit-
|
|
469
|
+
.awsui_fit-height_14rmt_35hfj_438 > .awsui_tabs-content-wrapper_14rmt_35hfj_458 > .awsui_tabs-container-content-wrapper_14rmt_35hfj_469:not(#\9) {
|
|
470
470
|
block-size: 100%;
|
|
471
471
|
display: flex;
|
|
472
472
|
flex-direction: column;
|
|
473
473
|
}
|
|
474
|
-
.awsui_tabs-container-content-
|
|
474
|
+
.awsui_tabs-container-content-wrapper_14rmt_35hfj_469.awsui_with-paddings_14rmt_35hfj_458 > .awsui_tabs-content_14rmt_35hfj_434:not(#\9) {
|
|
475
475
|
padding-block-start: var(--space-tabs-content-top-ju6qox, 12px);
|
|
476
476
|
padding-block-end: var(--space-scaled-l-sej05l, 20px);
|
|
477
477
|
padding-inline: var(--space-container-horizontal-nqrzyh, 20px);
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
.awsui_disabled-reason-
|
|
480
|
+
.awsui_disabled-reason-tooltip_14rmt_35hfj_480:not(#\9) {
|
|
481
481
|
/* used in test-utils or tests */
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
-
.awsui_tabs-tab-
|
|
484
|
+
.awsui_tabs-tab-focused_14rmt_35hfj_484:not(#\9) {
|
|
485
485
|
/* used to manage focusable state for disabled with reason tabs */
|
|
486
486
|
}
|
package/tabs/styles.selectors.js
CHANGED
|
@@ -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
|
-
"tabs-header": "awsui_tabs-
|
|
6
|
-
"tab-header-scroll-container": "awsui_tab-header-scroll-
|
|
7
|
-
"tabs-header-list": "awsui_tabs-header-
|
|
8
|
-
"pagination-button": "awsui_pagination-
|
|
9
|
-
"pagination-button-left": "awsui_pagination-button-
|
|
10
|
-
"pagination-button-left-scrollable": "awsui_pagination-button-left-
|
|
11
|
-
"pagination-button-right": "awsui_pagination-button-
|
|
12
|
-
"pagination-button-right-scrollable": "awsui_pagination-button-right-
|
|
13
|
-
"actions-container": "awsui_actions-
|
|
14
|
-
"tabs-tab": "awsui_tabs-
|
|
15
|
-
"tabs-tab-label": "awsui_tabs-tab-
|
|
16
|
-
"tabs-tab-header-container": "awsui_tabs-tab-header-
|
|
17
|
-
"tabs-tab-dismiss": "awsui_tabs-tab-
|
|
18
|
-
"tabs-tab-action": "awsui_tabs-tab-
|
|
19
|
-
"refresh": "
|
|
20
|
-
"tabs-tab-disabled": "awsui_tabs-tab-
|
|
21
|
-
"tabs-tab-link": "awsui_tabs-tab-
|
|
22
|
-
"tabs-tab-active": "awsui_tabs-tab-
|
|
23
|
-
"tabs-header-with-divider": "awsui_tabs-header-with-
|
|
24
|
-
"tabs-tab-focusable": "awsui_tabs-tab-
|
|
25
|
-
"root": "
|
|
26
|
-
"tabs": "
|
|
27
|
-
"tabs-content": "awsui_tabs-
|
|
28
|
-
"fit-height": "awsui_fit-
|
|
29
|
-
"tabs-content-active": "awsui_tabs-content-
|
|
30
|
-
"tabs-content-wrapper": "awsui_tabs-content-
|
|
31
|
-
"with-paddings": "awsui_with-
|
|
32
|
-
"tabs-container-content-wrapper": "awsui_tabs-container-content-
|
|
33
|
-
"disabled-reason-tooltip": "awsui_disabled-reason-
|
|
34
|
-
"tabs-tab-focused": "awsui_tabs-tab-
|
|
5
|
+
"tabs-header": "awsui_tabs-header_14rmt_35hfj_154",
|
|
6
|
+
"tab-header-scroll-container": "awsui_tab-header-scroll-container_14rmt_35hfj_163",
|
|
7
|
+
"tabs-header-list": "awsui_tabs-header-list_14rmt_35hfj_169",
|
|
8
|
+
"pagination-button": "awsui_pagination-button_14rmt_35hfj_186",
|
|
9
|
+
"pagination-button-left": "awsui_pagination-button-left_14rmt_35hfj_193",
|
|
10
|
+
"pagination-button-left-scrollable": "awsui_pagination-button-left-scrollable_14rmt_35hfj_196",
|
|
11
|
+
"pagination-button-right": "awsui_pagination-button-right_14rmt_35hfj_200",
|
|
12
|
+
"pagination-button-right-scrollable": "awsui_pagination-button-right-scrollable_14rmt_35hfj_203",
|
|
13
|
+
"actions-container": "awsui_actions-container_14rmt_35hfj_208",
|
|
14
|
+
"tabs-tab": "awsui_tabs-tab_14rmt_35hfj_216",
|
|
15
|
+
"tabs-tab-label": "awsui_tabs-tab-label_14rmt_35hfj_226",
|
|
16
|
+
"tabs-tab-header-container": "awsui_tabs-tab-header-container_14rmt_35hfj_237",
|
|
17
|
+
"tabs-tab-dismiss": "awsui_tabs-tab-dismiss_14rmt_35hfj_245",
|
|
18
|
+
"tabs-tab-action": "awsui_tabs-tab-action_14rmt_35hfj_245",
|
|
19
|
+
"refresh": "awsui_refresh_14rmt_35hfj_250",
|
|
20
|
+
"tabs-tab-disabled": "awsui_tabs-tab-disabled_14rmt_35hfj_254",
|
|
21
|
+
"tabs-tab-link": "awsui_tabs-tab-link_14rmt_35hfj_296",
|
|
22
|
+
"tabs-tab-active": "awsui_tabs-tab-active_14rmt_35hfj_379",
|
|
23
|
+
"tabs-header-with-divider": "awsui_tabs-header-with-divider_14rmt_35hfj_388",
|
|
24
|
+
"tabs-tab-focusable": "awsui_tabs-tab-focusable_14rmt_35hfj_392",
|
|
25
|
+
"root": "awsui_root_14rmt_35hfj_396",
|
|
26
|
+
"tabs": "awsui_tabs_14rmt_35hfj_154",
|
|
27
|
+
"tabs-content": "awsui_tabs-content_14rmt_35hfj_434",
|
|
28
|
+
"fit-height": "awsui_fit-height_14rmt_35hfj_438",
|
|
29
|
+
"tabs-content-active": "awsui_tabs-content-active_14rmt_35hfj_444",
|
|
30
|
+
"tabs-content-wrapper": "awsui_tabs-content-wrapper_14rmt_35hfj_458",
|
|
31
|
+
"with-paddings": "awsui_with-paddings_14rmt_35hfj_458",
|
|
32
|
+
"tabs-container-content-wrapper": "awsui_tabs-container-content-wrapper_14rmt_35hfj_469",
|
|
33
|
+
"disabled-reason-tooltip": "awsui_disabled-reason-tooltip_14rmt_35hfj_480",
|
|
34
|
+
"tabs-tab-focused": "awsui_tabs-tab-focused_14rmt_35hfj_484"
|
|
35
35
|
};
|
|
36
36
|
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
// SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
const dom_1 = require("@cloudscape-design/test-utils-core/dom");
|
|
6
6
|
const annotation_1 = require("../annotation");
|
|
7
|
-
const index_1 = require("../index");
|
|
8
7
|
const styles_selectors_js_1 = require("../../../annotation-context/annotation/styles.selectors.js");
|
|
9
8
|
const styles_selectors_js_2 = require("../../../hotspot/styles.selectors.js");
|
|
10
9
|
class HotspotWrapper extends dom_1.ComponentWrapper {
|
|
@@ -12,7 +11,7 @@ class HotspotWrapper extends dom_1.ComponentWrapper {
|
|
|
12
11
|
return this.findByClassName(styles_selectors_js_1.default.hotspot);
|
|
13
12
|
}
|
|
14
13
|
findAnnotation() {
|
|
15
|
-
return (0,
|
|
14
|
+
return (0, dom_1.createWrapper)().findComponent(`.${styles_selectors_js_1.default.annotation}`, annotation_1.default);
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
HotspotWrapper.rootSelector = styles_selectors_js_2.default.root;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/hotspot/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/hotspot/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAAyG;AAEzG,8CAA8C;AAE9C,oGAA0F;AAC1F,8EAAiE;AAEjE,MAAqB,cAAe,SAAQ,sBAAgB;IAG1D,WAAW;QACT,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAgB,CAAC,OAAO,CAAE,CAAC;IACzD,CAAC;IAED,cAAc;QACZ,OAAO,IAAA,mBAAa,GAAE,CAAC,aAAa,CAAC,IAAI,6BAAgB,CAAC,UAAU,EAAE,EAAE,oBAAiB,CAAE,CAAC;IAC9F,CAAC;;AARM,2BAAY,GAAW,6BAAa,CAAC,IAAI,CAAC;kBAD9B,cAAc"}
|
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
import { ComponentWrapper, ElementWrapper } from '@cloudscape-design/test-utils-core/dom';
|
|
2
|
+
import OptionWrapper from '../internal/option';
|
|
3
|
+
export declare class PromptInputMenuWrapper extends ComponentWrapper {
|
|
4
|
+
findOptions(): Array<OptionWrapper>;
|
|
5
|
+
/**
|
|
6
|
+
* Returns an option from the menu.
|
|
7
|
+
*
|
|
8
|
+
* @param optionIndex 1-based index of the option to select.
|
|
9
|
+
*/
|
|
10
|
+
findOption(optionIndex: number): OptionWrapper | null;
|
|
11
|
+
/**
|
|
12
|
+
* Returns an option from the menu by its value
|
|
13
|
+
*
|
|
14
|
+
* @param value The 'value' of the option.
|
|
15
|
+
*/
|
|
16
|
+
findOptionByValue(value: string): OptionWrapper | null;
|
|
17
|
+
}
|
|
2
18
|
export default class PromptInputWrapper extends ComponentWrapper {
|
|
3
19
|
static rootSelector: string;
|
|
20
|
+
/**
|
|
21
|
+
* Finds the native textarea element.
|
|
22
|
+
*
|
|
23
|
+
* Note: When `menus` or `tokens` is defined, the component uses a contentEditable element instead of a textarea.
|
|
24
|
+
* In this case, use findContentEditableElement() instead.
|
|
25
|
+
*/
|
|
4
26
|
findNativeTextarea(): ElementWrapper<HTMLTextAreaElement>;
|
|
27
|
+
/**
|
|
28
|
+
* Finds the contentEditable element used when `menus` or `tokens` is defined.
|
|
29
|
+
*/
|
|
30
|
+
findContentEditableElement(): ElementWrapper<HTMLDivElement> | null;
|
|
5
31
|
/**
|
|
6
32
|
* Finds the action button. Note that, despite its typings, this may return null.
|
|
7
33
|
*/
|
|
@@ -12,16 +38,42 @@ export default class PromptInputWrapper extends ComponentWrapper {
|
|
|
12
38
|
findSecondaryActions(): ElementWrapper<HTMLDivElement>;
|
|
13
39
|
findSecondaryContent(): ElementWrapper<HTMLDivElement> | null;
|
|
14
40
|
findCustomPrimaryAction(): ElementWrapper<HTMLDivElement> | null;
|
|
41
|
+
/**
|
|
42
|
+
* Finds the menu dropdown when `menus` or `tokens` is defined.
|
|
43
|
+
*/
|
|
44
|
+
findOpenMenu(): PromptInputMenuWrapper | null;
|
|
15
45
|
/**
|
|
16
46
|
* Gets the value of the component.
|
|
17
47
|
*
|
|
18
48
|
* Returns the current value of the textarea.
|
|
49
|
+
*
|
|
50
|
+
* When `menus` or `tokens` is defined, the component uses a contentEditable element.
|
|
51
|
+
* Use findContentEditableElement().getElement().textContent instead.
|
|
19
52
|
*/
|
|
20
53
|
getTextareaValue(): string;
|
|
21
54
|
/**
|
|
22
|
-
* Sets the value of the
|
|
55
|
+
* Sets the value of the textarea and calls the onChange handler.
|
|
56
|
+
*
|
|
57
|
+
* When `menus` or `tokens` is defined, the component uses a contentEditable element
|
|
58
|
+
* and this method will have no effect.
|
|
23
59
|
*
|
|
24
60
|
* @param value value to set the textarea to.
|
|
25
61
|
*/
|
|
26
62
|
setTextareaValue(value: string): void;
|
|
63
|
+
/**
|
|
64
|
+
* Checks if the menu is currently open.
|
|
65
|
+
*/
|
|
66
|
+
isMenuOpen(): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Selects an option from the menu by simulating mouse events.
|
|
69
|
+
*
|
|
70
|
+
* @param value value of option to select
|
|
71
|
+
*/
|
|
72
|
+
selectMenuOptionByValue(value: string): void;
|
|
73
|
+
/**
|
|
74
|
+
* Selects an option from the menu by simulating mouse events.
|
|
75
|
+
*
|
|
76
|
+
* @param optionIndex 1-based index of the option to select
|
|
77
|
+
*/
|
|
78
|
+
selectMenuOption(optionIndex: number): void;
|
|
27
79
|
}
|