@cumulus-ui/components 0.5.2 → 0.5.4
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/dist/alert/interfaces.d.ts +30 -6
- package/dist/alert/interfaces.d.ts.map +1 -1
- package/dist/anchor-navigation/interfaces.d.ts +12 -0
- package/dist/anchor-navigation/interfaces.d.ts.map +1 -1
- package/dist/annotation-context/interfaces.d.ts +31 -5
- package/dist/annotation-context/interfaces.d.ts.map +1 -1
- package/dist/app-layout/interfaces.d.ts +59 -10
- package/dist/app-layout/interfaces.d.ts.map +1 -1
- package/dist/attribute-editor/interfaces.d.ts +22 -5
- package/dist/attribute-editor/interfaces.d.ts.map +1 -1
- package/dist/autosuggest/interfaces.d.ts +11 -3
- package/dist/autosuggest/interfaces.d.ts.map +1 -1
- package/dist/badge/interfaces.d.ts +5 -1
- package/dist/badge/interfaces.d.ts.map +1 -1
- package/dist/box/interfaces.d.ts +6 -0
- package/dist/box/interfaces.d.ts.map +1 -1
- package/dist/breadcrumb-group/interfaces.d.ts +18 -3
- package/dist/breadcrumb-group/interfaces.d.ts.map +1 -1
- package/dist/button/interfaces.d.ts +37 -5
- package/dist/button/interfaces.d.ts.map +1 -1
- package/dist/button-dropdown/interfaces.d.ts +15 -4
- package/dist/button-dropdown/interfaces.d.ts.map +1 -1
- package/dist/button-group/interfaces.d.ts +9 -2
- package/dist/button-group/interfaces.d.ts.map +1 -1
- package/dist/calendar/interfaces.d.ts +6 -1
- package/dist/calendar/interfaces.d.ts.map +1 -1
- package/dist/cards/interfaces.d.ts +26 -6
- package/dist/cards/interfaces.d.ts.map +1 -1
- package/dist/checkbox/base-checkbox.d.ts +14 -4
- package/dist/checkbox/base-checkbox.d.ts.map +1 -1
- package/dist/checkbox/interfaces.d.ts +10 -2
- package/dist/checkbox/interfaces.d.ts.map +1 -1
- package/dist/code-editor/interfaces.d.ts +33 -6
- package/dist/code-editor/interfaces.d.ts.map +1 -1
- package/dist/code-editor/styles.d.ts.map +1 -1
- package/dist/collection-preferences/interfaces.d.ts +25 -0
- package/dist/collection-preferences/interfaces.d.ts.map +1 -1
- package/dist/collection-preferences/styles.d.ts.map +1 -1
- package/dist/column-layout/interfaces.d.ts +5 -0
- package/dist/column-layout/interfaces.d.ts.map +1 -1
- package/dist/container/interfaces.d.ts +13 -3
- package/dist/container/interfaces.d.ts.map +1 -1
- package/dist/content-layout/interfaces.d.ts +31 -4
- package/dist/content-layout/interfaces.d.ts.map +1 -1
- package/dist/copy-to-clipboard/interfaces.d.ts +11 -0
- package/dist/copy-to-clipboard/interfaces.d.ts.map +1 -1
- package/dist/date-picker/interfaces.d.ts +9 -2
- package/dist/date-picker/interfaces.d.ts.map +1 -1
- package/dist/date-picker/internal.d.ts +1 -0
- package/dist/date-picker/internal.d.ts.map +1 -1
- package/dist/date-range-picker/interfaces.d.ts +14 -3
- package/dist/date-range-picker/interfaces.d.ts.map +1 -1
- package/dist/drawer/interfaces.d.ts +23 -2
- package/dist/drawer/interfaces.d.ts.map +1 -1
- package/dist/dropdown/interfaces.d.ts +56 -8
- package/dist/dropdown/interfaces.d.ts.map +1 -1
- package/dist/error-boundary/interfaces.d.ts +6 -1
- package/dist/error-boundary/interfaces.d.ts.map +1 -1
- package/dist/error-boundary/styles.d.ts +5 -0
- package/dist/error-boundary/styles.d.ts.map +1 -0
- package/dist/expandable-section/interfaces.d.ts +26 -3
- package/dist/expandable-section/interfaces.d.ts.map +1 -1
- package/dist/file-dropzone/interfaces.d.ts +10 -0
- package/dist/file-dropzone/interfaces.d.ts.map +1 -1
- package/dist/file-input/interfaces.d.ts +6 -1
- package/dist/file-input/interfaces.d.ts.map +1 -1
- package/dist/file-input/internal.d.ts +1 -0
- package/dist/file-input/internal.d.ts.map +1 -1
- package/dist/file-token-group/interfaces.d.ts +6 -1
- package/dist/file-token-group/interfaces.d.ts.map +1 -1
- package/dist/file-upload/interfaces.d.ts +18 -4
- package/dist/file-upload/interfaces.d.ts.map +1 -1
- package/dist/file-upload/internal.d.ts +1 -0
- package/dist/file-upload/internal.d.ts.map +1 -1
- package/dist/form/interfaces.d.ts +21 -5
- package/dist/form/interfaces.d.ts.map +1 -1
- package/dist/form-field/interfaces.d.ts +37 -8
- package/dist/form-field/interfaces.d.ts.map +1 -1
- package/dist/grid/interfaces.d.ts +9 -0
- package/dist/grid/interfaces.d.ts.map +1 -1
- package/dist/header/interfaces.d.ts +24 -1
- package/dist/header/interfaces.d.ts.map +1 -1
- package/dist/help-panel/interfaces.d.ts +18 -3
- package/dist/help-panel/interfaces.d.ts.map +1 -1
- package/dist/hotspot/interfaces.d.ts +15 -0
- package/dist/hotspot/interfaces.d.ts.map +1 -1
- package/dist/icon/interfaces.d.ts +23 -0
- package/dist/icon/interfaces.d.ts.map +1 -1
- package/dist/index.js +1542 -213
- package/dist/input/interfaces.d.ts +26 -1
- package/dist/input/interfaces.d.ts.map +1 -1
- package/dist/input/internal.d.ts +1 -0
- package/dist/input/internal.d.ts.map +1 -1
- package/dist/internal/generated/cloudscape-types.d.ts +2 -0
- package/dist/internal/generated/cloudscape-types.d.ts.map +1 -1
- package/dist/internal/generated/component-manifest.d.ts +54 -54
- package/dist/internal/styles/app-layout-visual-refresh.d.ts.map +1 -1
- package/dist/internal/types.d.ts +14 -0
- package/dist/internal/types.d.ts.map +1 -0
- package/dist/item-card/interfaces.d.ts +25 -6
- package/dist/item-card/interfaces.d.ts.map +1 -1
- package/dist/link/interfaces.d.ts +17 -4
- package/dist/link/interfaces.d.ts.map +1 -1
- package/dist/list/interfaces.d.ts +5 -1
- package/dist/list/interfaces.d.ts.map +1 -1
- package/dist/live-region/interfaces.d.ts +7 -0
- package/dist/live-region/interfaces.d.ts.map +1 -1
- package/dist/modal/interfaces.d.ts +20 -4
- package/dist/modal/interfaces.d.ts.map +1 -1
- package/dist/multiselect/interfaces.d.ts +6 -2
- package/dist/multiselect/interfaces.d.ts.map +1 -1
- package/dist/navigable-group/interfaces.d.ts +12 -1
- package/dist/navigable-group/interfaces.d.ts.map +1 -1
- package/dist/pagination/interfaces.d.ts +18 -0
- package/dist/pagination/interfaces.d.ts.map +1 -1
- package/dist/panel-layout/interfaces.d.ts +10 -0
- package/dist/panel-layout/interfaces.d.ts.map +1 -1
- package/dist/pie-chart/interfaces.d.ts +29 -6
- package/dist/pie-chart/interfaces.d.ts.map +1 -1
- package/dist/popover/interfaces.d.ts +10 -2
- package/dist/popover/interfaces.d.ts.map +1 -1
- package/dist/popover/styles.d.ts.map +1 -1
- package/dist/progress-bar/interfaces.d.ts +26 -5
- package/dist/progress-bar/interfaces.d.ts.map +1 -1
- package/dist/prompt-input/interfaces.d.ts +43 -6
- package/dist/prompt-input/interfaces.d.ts.map +1 -1
- package/dist/property-filter/interfaces.d.ts +35 -6
- package/dist/property-filter/interfaces.d.ts.map +1 -1
- package/dist/radio-group/interfaces.d.ts +5 -1
- package/dist/radio-group/interfaces.d.ts.map +1 -1
- package/dist/s3-resource-selector/interfaces.d.ts +18 -1
- package/dist/s3-resource-selector/interfaces.d.ts.map +1 -1
- package/dist/segmented-control/interfaces.d.ts +5 -1
- package/dist/segmented-control/interfaces.d.ts.map +1 -1
- package/dist/select/interfaces.d.ts +18 -5
- package/dist/select/interfaces.d.ts.map +1 -1
- package/dist/select/internal.d.ts +2 -0
- package/dist/select/internal.d.ts.map +1 -1
- package/dist/side-navigation/interfaces.d.ts +30 -2
- package/dist/side-navigation/interfaces.d.ts.map +1 -1
- package/dist/slider/interfaces.d.ts +6 -1
- package/dist/slider/interfaces.d.ts.map +1 -1
- package/dist/slider/internal.d.ts +1 -0
- package/dist/slider/internal.d.ts.map +1 -1
- package/dist/space-between/interfaces.d.ts +5 -1
- package/dist/space-between/interfaces.d.ts.map +1 -1
- package/dist/split-panel/interfaces.d.ts +21 -4
- package/dist/split-panel/interfaces.d.ts.map +1 -1
- package/dist/split-panel/internal.d.ts +1 -0
- package/dist/split-panel/internal.d.ts.map +1 -1
- package/dist/status-indicator/interfaces.d.ts +5 -1
- package/dist/status-indicator/interfaces.d.ts.map +1 -1
- package/dist/steps/interfaces.d.ts +6 -1
- package/dist/steps/interfaces.d.ts.map +1 -1
- package/dist/table/interfaces.d.ts +62 -13
- package/dist/table/interfaces.d.ts.map +1 -1
- package/dist/tabs/interfaces.d.ts +13 -2
- package/dist/tabs/interfaces.d.ts.map +1 -1
- package/dist/tabs/internal.d.ts +2 -0
- package/dist/tabs/internal.d.ts.map +1 -1
- package/dist/tag-editor/interfaces.d.ts +7 -0
- package/dist/tag-editor/interfaces.d.ts.map +1 -1
- package/dist/text-content/interfaces.d.ts +6 -0
- package/dist/text-content/interfaces.d.ts.map +1 -1
- package/dist/text-filter/interfaces.d.ts +10 -2
- package/dist/text-filter/interfaces.d.ts.map +1 -1
- package/dist/tiles/interfaces.d.ts +5 -1
- package/dist/tiles/interfaces.d.ts.map +1 -1
- package/dist/toggle/interfaces.d.ts +7 -2
- package/dist/toggle/interfaces.d.ts.map +1 -1
- package/dist/toggle-button/interfaces.d.ts +28 -1
- package/dist/toggle-button/interfaces.d.ts.map +1 -1
- package/dist/token/interfaces.d.ts +9 -3
- package/dist/token/interfaces.d.ts.map +1 -1
- package/dist/token-group/interfaces.d.ts +6 -1
- package/dist/token-group/interfaces.d.ts.map +1 -1
- package/dist/tooltip/interfaces.d.ts +9 -1
- package/dist/tooltip/interfaces.d.ts.map +1 -1
- package/dist/top-navigation/interfaces.d.ts +5 -1
- package/dist/top-navigation/interfaces.d.ts.map +1 -1
- package/dist/tree-view/interfaces.d.ts +5 -1
- package/dist/tree-view/interfaces.d.ts.map +1 -1
- package/dist/tutorial-panel/interfaces.d.ts +5 -0
- package/dist/tutorial-panel/interfaces.d.ts.map +1 -1
- package/dist/wizard/interfaces.d.ts +29 -0
- package/dist/wizard/interfaces.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7272,6 +7272,59 @@ var componentStyles18 = css46`
|
|
|
7272
7272
|
inset-block-start: 0;
|
|
7273
7273
|
inset-inline-start: 0;
|
|
7274
7274
|
|
|
7275
|
+
}
|
|
7276
|
+
.arrow-outer::after, .arrow-inner::after {
|
|
7277
|
+
content: "";
|
|
7278
|
+
box-sizing: border-box;
|
|
7279
|
+
display: inline-block;
|
|
7280
|
+
position: absolute;
|
|
7281
|
+
border-start-start-radius: 2px;
|
|
7282
|
+
border-start-end-radius: 0;
|
|
7283
|
+
border-end-start-radius: 0;
|
|
7284
|
+
border-end-end-radius: 0;
|
|
7285
|
+
inset-block-end: 0;
|
|
7286
|
+
inset-inline-start: 0;
|
|
7287
|
+
inline-size: 14px;
|
|
7288
|
+
block-size: 14px;
|
|
7289
|
+
transform: rotate(45deg);
|
|
7290
|
+
transform-origin: 0 100%;
|
|
7291
|
+
}
|
|
7292
|
+
.arrow-outer:dir(rtl)::after, .arrow-inner:dir(rtl)::after {
|
|
7293
|
+
transform: rotate(-45deg);
|
|
7294
|
+
transform-origin: 100% 100%;
|
|
7295
|
+
}
|
|
7296
|
+
.arrow-outer::after {
|
|
7297
|
+
background-color: var(--color-border-popover-1ye6tz, #b4b4bb);
|
|
7298
|
+
}
|
|
7299
|
+
.arrow-inner {
|
|
7300
|
+
inset-block-start: calc(var(--border-width-popover-nflirh, 2px) + 1px);
|
|
7301
|
+
}
|
|
7302
|
+
.arrow-inner::after {
|
|
7303
|
+
border-start-start-radius: 1px;
|
|
7304
|
+
border-start-end-radius: 0;
|
|
7305
|
+
border-end-start-radius: 0;
|
|
7306
|
+
border-end-end-radius: 0;
|
|
7307
|
+
background-color: var(--color-background-popover-e20fy8, #ffffff);
|
|
7308
|
+
}
|
|
7309
|
+
.arrow-position-right-top > .arrow-outer::after, .arrow-position-right-bottom > .arrow-outer::after {
|
|
7310
|
+
box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-o7dmmm, rgba(15, 20, 26, 0.12));
|
|
7311
|
+
}
|
|
7312
|
+
.arrow-position-left-top > .arrow-outer::after, .arrow-position-left-bottom > .arrow-outer::after {
|
|
7313
|
+
box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-o7dmmm, rgba(15, 20, 26, 0.12));
|
|
7314
|
+
}
|
|
7315
|
+
.arrow-position-top-center > .arrow-outer::after, .arrow-position-top-right > .arrow-outer::after, .arrow-position-top-left > .arrow-outer::after, .arrow-position-top-responsive > .arrow-outer::after {
|
|
7316
|
+
box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-o7dmmm, rgba(15, 20, 26, 0.12));
|
|
7317
|
+
}
|
|
7318
|
+
.arrow-position-bottom-center > .arrow-outer::after, .arrow-position-bottom-right > .arrow-outer::after, .arrow-position-bottom-left > .arrow-outer::after, .arrow-position-bottom-responsive > .arrow-outer::after {
|
|
7319
|
+
box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-o7dmmm, rgba(15, 20, 26, 0.12));
|
|
7320
|
+
}
|
|
7321
|
+
|
|
7322
|
+
.arrow-variant-info > .arrow-outer::after {
|
|
7323
|
+
background-color: var(--color-border-status-info-qf6jok, #006ce0);
|
|
7324
|
+
}
|
|
7325
|
+
.arrow-variant-info > .arrow-inner::after {
|
|
7326
|
+
background-color: var(--color-background-status-info-sfobba, #f0fbff);
|
|
7327
|
+
}
|
|
7275
7328
|
|
|
7276
7329
|
.body {
|
|
7277
7330
|
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
@@ -7308,8 +7361,47 @@ var componentStyles18 = css46`
|
|
|
7308
7361
|
order: 1;
|
|
7309
7362
|
}
|
|
7310
7363
|
|
|
7311
|
-
.
|
|
7364
|
+
.header-row {
|
|
7365
|
+
margin-block-end: var(--space-xs-ymlm0b, 8px);
|
|
7366
|
+
}
|
|
7367
|
+
|
|
7368
|
+
.header {
|
|
7369
|
+
word-wrap: break-word;
|
|
7370
|
+
max-inline-size: 100%;
|
|
7371
|
+
overflow: hidden;
|
|
7372
|
+
font-family: var(--font-family-heading-ugphat, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
7373
|
+
font-size: var(--font-size-heading-xs-j8yzxv, 14px);
|
|
7374
|
+
line-height: var(--line-height-heading-xs-q9j004, 18px);
|
|
7375
|
+
letter-spacing: var(--letter-spacing-heading-xs-fgog7a, normal);
|
|
7376
|
+
font-weight: var(--font-weight-heading-xs-wqqpne, 700);
|
|
7377
|
+
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
7378
|
+
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
7379
|
+
flex: 1 1 auto;
|
|
7380
|
+
|
|
7381
|
+
}
|
|
7382
|
+
.header > h2 {
|
|
7383
|
+
font-family: var(--font-family-heading-ugphat, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
7384
|
+
font-size: var(--font-size-heading-xs-j8yzxv, 14px);
|
|
7385
|
+
line-height: var(--line-height-heading-xs-q9j004, 18px);
|
|
7386
|
+
letter-spacing: var(--letter-spacing-heading-xs-fgog7a, normal);
|
|
7387
|
+
font-weight: var(--font-weight-heading-xs-wqqpne, 700);
|
|
7388
|
+
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
7389
|
+
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
7390
|
+
display: inline;
|
|
7391
|
+
}
|
|
7312
7392
|
|
|
7393
|
+
.content {
|
|
7394
|
+
word-wrap: break-word;
|
|
7395
|
+
max-inline-size: 100%;
|
|
7396
|
+
overflow: hidden;
|
|
7397
|
+
word-break: normal;
|
|
7398
|
+
color: var(--color-text-body-secondary-yna5sb, #424650);
|
|
7399
|
+
flex: 1 1 auto;
|
|
7400
|
+
min-inline-size: 0;
|
|
7401
|
+
}
|
|
7402
|
+
.content-overflow-visible {
|
|
7403
|
+
overflow: visible;
|
|
7404
|
+
}
|
|
7313
7405
|
|
|
7314
7406
|
.container {
|
|
7315
7407
|
display: inline-block;
|
|
@@ -7400,6 +7492,64 @@ var componentStyles18 = css46`
|
|
|
7400
7492
|
transform: rotate(-90deg);
|
|
7401
7493
|
transform-origin: 0 100%;
|
|
7402
7494
|
|
|
7495
|
+
}
|
|
7496
|
+
.container-arrow-position-right-top:dir(rtl), .container-arrow-position-right-bottom:dir(rtl) {
|
|
7497
|
+
transform: rotate(90deg);
|
|
7498
|
+
transform-origin: 100% 100%;
|
|
7499
|
+
}
|
|
7500
|
+
.container-arrow-position-right-top {
|
|
7501
|
+
inset-block-start: calc(12px + 10px);
|
|
7502
|
+
inset-inline-start: 0;
|
|
7503
|
+
}
|
|
7504
|
+
.container-arrow-position-right-bottom {
|
|
7505
|
+
inset-block-end: 12px;
|
|
7506
|
+
inset-inline-start: 0;
|
|
7507
|
+
}
|
|
7508
|
+
.container-arrow-position-left-top, .container-arrow-position-left-bottom {
|
|
7509
|
+
transform: rotate(90deg);
|
|
7510
|
+
transform-origin: 100% 100%;
|
|
7511
|
+
|
|
7512
|
+
}
|
|
7513
|
+
.container-arrow-position-left-top:dir(rtl), .container-arrow-position-left-bottom:dir(rtl) {
|
|
7514
|
+
transform: rotate(-90deg);
|
|
7515
|
+
transform-origin: 0% 100%;
|
|
7516
|
+
}
|
|
7517
|
+
.container-arrow-position-left-top {
|
|
7518
|
+
inset-block-start: calc(12px + 10px);
|
|
7519
|
+
inset-inline-end: 0;
|
|
7520
|
+
}
|
|
7521
|
+
.container-arrow-position-left-bottom {
|
|
7522
|
+
inset-block-end: 12px;
|
|
7523
|
+
inset-inline-end: 0;
|
|
7524
|
+
}
|
|
7525
|
+
.container-arrow-position-top-center, .container-arrow-position-top-right, .container-arrow-position-top-left, .container-arrow-position-top-responsive {
|
|
7526
|
+
transform: rotate(180deg);
|
|
7527
|
+
transform-origin: 50% 50%;
|
|
7528
|
+
}
|
|
7529
|
+
.container-arrow-position-top-center {
|
|
7530
|
+
inset-block-end: -10px;
|
|
7531
|
+
inset-inline-start: calc(50% - 10px);
|
|
7532
|
+
}
|
|
7533
|
+
.container-arrow-position-top-right {
|
|
7534
|
+
inset-block-end: -10px;
|
|
7535
|
+
inset-inline-start: 12px;
|
|
7536
|
+
}
|
|
7537
|
+
.container-arrow-position-top-left {
|
|
7538
|
+
inset-block-end: -10px;
|
|
7539
|
+
inset-inline-start: calc(100% - 20px - 12px);
|
|
7540
|
+
}
|
|
7541
|
+
.container-arrow-position-bottom-center {
|
|
7542
|
+
inset-block-start: -10px;
|
|
7543
|
+
inset-inline-start: calc(50% - 10px);
|
|
7544
|
+
}
|
|
7545
|
+
.container-arrow-position-bottom-right {
|
|
7546
|
+
inset-block-start: -10px;
|
|
7547
|
+
inset-inline-start: 12px;
|
|
7548
|
+
}
|
|
7549
|
+
.container-arrow-position-bottom-left {
|
|
7550
|
+
inset-block-start: -10px;
|
|
7551
|
+
inset-inline-start: calc(100% - 20px - 12px);
|
|
7552
|
+
}
|
|
7403
7553
|
|
|
7404
7554
|
.container {
|
|
7405
7555
|
animation: awsui_awsui-motion-fade-in_xjuzf_45l16_1 var(--motion-duration-show-paced-otsjh8, 180ms) var(--motion-easing-show-paced-ym6eyn, ease-out);
|
|
@@ -9068,7 +9218,7 @@ __decorateClass([
|
|
|
9068
9218
|
property24({ type: Boolean, reflect: true })
|
|
9069
9219
|
], CsPaginationInternal.prototype, "disabled", 2);
|
|
9070
9220
|
__decorateClass([
|
|
9071
|
-
property24({
|
|
9221
|
+
property24({ attribute: false })
|
|
9072
9222
|
], CsPaginationInternal.prototype, "ariaLabels", 2);
|
|
9073
9223
|
|
|
9074
9224
|
// src/pagination/index.ts
|
|
@@ -12447,6 +12597,7 @@ var CsSliderInternal = class extends CsBaseElement {
|
|
|
12447
12597
|
this.step = 1;
|
|
12448
12598
|
this.disabled = false;
|
|
12449
12599
|
this.ariaLabel = null;
|
|
12600
|
+
this.ariaDescription = null;
|
|
12450
12601
|
this._onInput = (e) => {
|
|
12451
12602
|
if (this.disabled) return;
|
|
12452
12603
|
const input = e.target;
|
|
@@ -12497,6 +12648,7 @@ var CsSliderInternal = class extends CsBaseElement {
|
|
|
12497
12648
|
step=${this.step}
|
|
12498
12649
|
?disabled=${this.disabled}
|
|
12499
12650
|
aria-label=${ifDefined17(this.ariaLabel || void 0)}
|
|
12651
|
+
aria-description=${ifDefined17(this.ariaDescription || void 0)}
|
|
12500
12652
|
aria-valuemin=${this.min}
|
|
12501
12653
|
aria-valuemax=${this.max}
|
|
12502
12654
|
aria-valuenow=${this.value}
|
|
@@ -12529,6 +12681,9 @@ __decorateClass([
|
|
|
12529
12681
|
__decorateClass([
|
|
12530
12682
|
property34({ type: String })
|
|
12531
12683
|
], CsSliderInternal.prototype, "ariaLabel", 2);
|
|
12684
|
+
__decorateClass([
|
|
12685
|
+
property34({ type: String })
|
|
12686
|
+
], CsSliderInternal.prototype, "ariaDescription", 2);
|
|
12532
12687
|
|
|
12533
12688
|
// src/slider/index.ts
|
|
12534
12689
|
var CsSlider = class extends CsSliderInternal {
|
|
@@ -13123,6 +13278,7 @@ var CsFileInputInternal = class extends CsBaseElement {
|
|
|
13123
13278
|
this.multiple = false;
|
|
13124
13279
|
this.variant = "button";
|
|
13125
13280
|
this.ariaLabel = "Choose file";
|
|
13281
|
+
this.ariaRequired = null;
|
|
13126
13282
|
this.disabled = false;
|
|
13127
13283
|
this._onButtonClick = () => {
|
|
13128
13284
|
if (this.disabled) return;
|
|
@@ -13170,6 +13326,7 @@ var CsFileInputInternal = class extends CsBaseElement {
|
|
|
13170
13326
|
icon-name=${isIconOnly ? "upload" : ""}
|
|
13171
13327
|
?disabled=${this.disabled}
|
|
13172
13328
|
aria-label=${label}
|
|
13329
|
+
aria-required=${ifDefined19(this.ariaRequired || void 0)}
|
|
13173
13330
|
@click=${this._onButtonClick}
|
|
13174
13331
|
>${!isIconOnly ? html38`<slot>${label}</slot>` : ""}</cs-button>
|
|
13175
13332
|
</span>
|
|
@@ -13188,6 +13345,9 @@ __decorateClass([
|
|
|
13188
13345
|
__decorateClass([
|
|
13189
13346
|
property37({ type: String })
|
|
13190
13347
|
], CsFileInputInternal.prototype, "ariaLabel", 2);
|
|
13348
|
+
__decorateClass([
|
|
13349
|
+
property37({ type: Boolean })
|
|
13350
|
+
], CsFileInputInternal.prototype, "ariaRequired", 2);
|
|
13191
13351
|
__decorateClass([
|
|
13192
13352
|
property37({ type: Boolean, reflect: true })
|
|
13193
13353
|
], CsFileInputInternal.prototype, "disabled", 2);
|
|
@@ -13201,6 +13361,7 @@ customElements.define("cs-file-input", CsFileInput);
|
|
|
13201
13361
|
import { css as css84, html as html39, nothing as nothing16 } from "lit";
|
|
13202
13362
|
import { property as property38, state as state9 } from "lit/decorators.js";
|
|
13203
13363
|
import { classMap as classMap34 } from "lit/directives/class-map.js";
|
|
13364
|
+
import { ifDefined as ifDefined20 } from "lit/directives/if-defined.js";
|
|
13204
13365
|
|
|
13205
13366
|
// src/tabs/styles.ts
|
|
13206
13367
|
import { css as css83 } from "lit";
|
|
@@ -13528,6 +13689,8 @@ var CsTabsInternal = class extends CsBaseElement {
|
|
|
13528
13689
|
this.variant = "default";
|
|
13529
13690
|
this.disableContentPaddings = false;
|
|
13530
13691
|
this.fitHeight = false;
|
|
13692
|
+
this.ariaLabel = null;
|
|
13693
|
+
this.ariaLabelledby = null;
|
|
13531
13694
|
this._internalActiveTabId = "";
|
|
13532
13695
|
this._onTabKeyDown = (e) => {
|
|
13533
13696
|
const enabledTabs = this.tabs.filter((t) => !t.disabled);
|
|
@@ -13643,7 +13806,9 @@ var CsTabsInternal = class extends CsBaseElement {
|
|
|
13643
13806
|
<div class=${classMap34(rootClasses)}>
|
|
13644
13807
|
<div class=${classMap34(headerClasses)}>
|
|
13645
13808
|
<div class="tab-header-scroll-container">
|
|
13646
|
-
<ul class="tabs-header-list" role="tablist"
|
|
13809
|
+
<ul class="tabs-header-list" role="tablist"
|
|
13810
|
+
aria-label=${ifDefined20(this.ariaLabel || void 0)}
|
|
13811
|
+
aria-labelledby=${ifDefined20(!this.ariaLabel && this.ariaLabelledby ? this.ariaLabelledby : void 0)}>
|
|
13647
13812
|
${this.tabs.map((tab) => this._renderTab(tab))}
|
|
13648
13813
|
</ul>
|
|
13649
13814
|
</div>
|
|
@@ -13700,6 +13865,12 @@ __decorateClass([
|
|
|
13700
13865
|
__decorateClass([
|
|
13701
13866
|
property38({ type: Boolean, reflect: true })
|
|
13702
13867
|
], CsTabsInternal.prototype, "fitHeight", 2);
|
|
13868
|
+
__decorateClass([
|
|
13869
|
+
property38({ type: String })
|
|
13870
|
+
], CsTabsInternal.prototype, "ariaLabel", 2);
|
|
13871
|
+
__decorateClass([
|
|
13872
|
+
property38({ type: String })
|
|
13873
|
+
], CsTabsInternal.prototype, "ariaLabelledby", 2);
|
|
13703
13874
|
__decorateClass([
|
|
13704
13875
|
state9()
|
|
13705
13876
|
], CsTabsInternal.prototype, "_internalActiveTabId", 2);
|
|
@@ -14199,7 +14370,7 @@ customElements.define("cs-expandable-section", CsExpandableSection);
|
|
|
14199
14370
|
import { css as css89, html as html41, nothing as nothing18 } from "lit";
|
|
14200
14371
|
import { property as property40, state as state11, query as query3 } from "lit/decorators.js";
|
|
14201
14372
|
import { classMap as classMap36 } from "lit/directives/class-map.js";
|
|
14202
|
-
import { ifDefined as
|
|
14373
|
+
import { ifDefined as ifDefined21 } from "lit/directives/if-defined.js";
|
|
14203
14374
|
|
|
14204
14375
|
// src/button-dropdown/styles.ts
|
|
14205
14376
|
import { css as css87 } from "lit";
|
|
@@ -14693,8 +14864,8 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14693
14864
|
type="button"
|
|
14694
14865
|
aria-haspopup="true"
|
|
14695
14866
|
aria-expanded=${this._open}
|
|
14696
|
-
aria-label=${
|
|
14697
|
-
aria-disabled=${
|
|
14867
|
+
aria-label=${ifDefined21(this.ariaLabel || "Actions")}
|
|
14868
|
+
aria-disabled=${ifDefined21(ariaDisabled)}
|
|
14698
14869
|
tabindex=${tabIndex}
|
|
14699
14870
|
@click=${this._onTriggerClick}
|
|
14700
14871
|
>
|
|
@@ -14712,8 +14883,8 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14712
14883
|
type="button"
|
|
14713
14884
|
aria-haspopup="true"
|
|
14714
14885
|
aria-expanded=${this._open}
|
|
14715
|
-
aria-label=${
|
|
14716
|
-
aria-disabled=${
|
|
14886
|
+
aria-label=${ifDefined21(this.ariaLabel || void 0)}
|
|
14887
|
+
aria-disabled=${ifDefined21(ariaDisabled)}
|
|
14717
14888
|
tabindex=${tabIndex}
|
|
14718
14889
|
@click=${this._onTriggerClick}
|
|
14719
14890
|
>
|
|
@@ -14823,7 +14994,7 @@ customElements.define("cs-button-dropdown", CsButtonDropdown);
|
|
|
14823
14994
|
// src/button-group/internal.ts
|
|
14824
14995
|
import { css as css91, html as html42 } from "lit";
|
|
14825
14996
|
import { property as property41 } from "lit/decorators.js";
|
|
14826
|
-
import { ifDefined as
|
|
14997
|
+
import { ifDefined as ifDefined22 } from "lit/directives/if-defined.js";
|
|
14827
14998
|
|
|
14828
14999
|
// src/button-group/styles.ts
|
|
14829
15000
|
import { css as css90 } from "lit";
|
|
@@ -14908,9 +15079,9 @@ var CsButtonGroupInternal = class extends CsBaseElement {
|
|
|
14908
15079
|
data-item-id=${item.id}
|
|
14909
15080
|
?pressed=${item.pressed}
|
|
14910
15081
|
?disabled=${!!item.disabled}
|
|
14911
|
-
icon-name=${
|
|
14912
|
-
pressed-icon-name=${
|
|
14913
|
-
aria-label=${
|
|
15082
|
+
icon-name=${ifDefined22(item.iconName)}
|
|
15083
|
+
pressed-icon-name=${ifDefined22(item.pressedIconName)}
|
|
15084
|
+
aria-label=${ifDefined22(item.text)}
|
|
14914
15085
|
@change=${() => this._onToggleButtonChange(item)}
|
|
14915
15086
|
></cs-toggle-button>
|
|
14916
15087
|
</div>
|
|
@@ -14924,8 +15095,8 @@ var CsButtonGroupInternal = class extends CsBaseElement {
|
|
|
14924
15095
|
data-item-id=${item.id}
|
|
14925
15096
|
?disabled=${!!item.disabled}
|
|
14926
15097
|
?loading=${!!item.loading}
|
|
14927
|
-
icon-name=${
|
|
14928
|
-
aria-label=${
|
|
15098
|
+
icon-name=${ifDefined22(item.iconName)}
|
|
15099
|
+
aria-label=${ifDefined22(item.text)}
|
|
14929
15100
|
@click=${(e) => {
|
|
14930
15101
|
if (e instanceof CustomEvent) {
|
|
14931
15102
|
this._onIconButtonClick(item);
|
|
@@ -14947,13 +15118,13 @@ var CsButtonGroupInternal = class extends CsBaseElement {
|
|
|
14947
15118
|
<div
|
|
14948
15119
|
class="root"
|
|
14949
15120
|
role="toolbar"
|
|
14950
|
-
aria-label=${
|
|
15121
|
+
aria-label=${ifDefined22(this.ariaLabel || void 0)}
|
|
14951
15122
|
>
|
|
14952
15123
|
${this.items.map((itemOrGroup, groupIndex) => {
|
|
14953
15124
|
if (isGroup(itemOrGroup)) {
|
|
14954
15125
|
return html42`
|
|
14955
15126
|
${groupIndex > 0 ? html42`<div class="divider" role="separator"></div>` : ""}
|
|
14956
|
-
<div class="group" role="group" aria-label=${
|
|
15127
|
+
<div class="group" role="group" aria-label=${ifDefined22(itemOrGroup.text)}>
|
|
14957
15128
|
${this._renderGroupItems(itemOrGroup.items)}
|
|
14958
15129
|
</div>
|
|
14959
15130
|
`;
|
|
@@ -14987,7 +15158,7 @@ customElements.define("cs-button-group", CsButtonGroup);
|
|
|
14987
15158
|
import { css as css94, html as html43 } from "lit";
|
|
14988
15159
|
import { property as property42 } from "lit/decorators.js";
|
|
14989
15160
|
import { classMap as classMap37 } from "lit/directives/class-map.js";
|
|
14990
|
-
import { ifDefined as
|
|
15161
|
+
import { ifDefined as ifDefined23 } from "lit/directives/if-defined.js";
|
|
14991
15162
|
|
|
14992
15163
|
// src/breadcrumb-group/styles.ts
|
|
14993
15164
|
import { css as css92 } from "lit";
|
|
@@ -15289,7 +15460,7 @@ var CsBreadcrumbGroupInternal = class extends CsBaseElement {
|
|
|
15289
15460
|
return html43`
|
|
15290
15461
|
<nav
|
|
15291
15462
|
class="breadcrumb-group"
|
|
15292
|
-
aria-label=${
|
|
15463
|
+
aria-label=${ifDefined23(this.ariaLabel || "Breadcrumbs")}
|
|
15293
15464
|
>
|
|
15294
15465
|
<ol class="breadcrumb-group-list">
|
|
15295
15466
|
${this.items.map((item, i) => this._renderItem(item, i))}
|
|
@@ -15314,7 +15485,7 @@ customElements.define("cs-breadcrumb-group", CsBreadcrumbGroup);
|
|
|
15314
15485
|
import { css as css97, html as html44, nothing as nothing19 } from "lit";
|
|
15315
15486
|
import { property as property43, state as state12, query as query4 } from "lit/decorators.js";
|
|
15316
15487
|
import { classMap as classMap38 } from "lit/directives/class-map.js";
|
|
15317
|
-
import { ifDefined as
|
|
15488
|
+
import { ifDefined as ifDefined24 } from "lit/directives/if-defined.js";
|
|
15318
15489
|
|
|
15319
15490
|
// src/select/styles.ts
|
|
15320
15491
|
import { css as css95 } from "lit";
|
|
@@ -15628,6 +15799,8 @@ var CsSelectInternal = class extends Base6 {
|
|
|
15628
15799
|
this.filteringType = "none";
|
|
15629
15800
|
this.placeholder = "";
|
|
15630
15801
|
this.ariaLabel = null;
|
|
15802
|
+
this.ariaRequired = null;
|
|
15803
|
+
this.ariaLabelledby = null;
|
|
15631
15804
|
this.invalid = false;
|
|
15632
15805
|
this.filteringPlaceholder = "";
|
|
15633
15806
|
this.selectedAriaLabel = "";
|
|
@@ -15845,7 +16018,7 @@ var CsSelectInternal = class extends Base6 {
|
|
|
15845
16018
|
class=${classMap38(classes)}
|
|
15846
16019
|
role="option"
|
|
15847
16020
|
aria-selected=${isSelected}
|
|
15848
|
-
aria-disabled=${
|
|
16021
|
+
aria-disabled=${ifDefined24(opt.disabled ? "true" : void 0)}
|
|
15849
16022
|
@click=${(e) => this._onOptionClick(opt, e)}
|
|
15850
16023
|
@mouseenter=${() => {
|
|
15851
16024
|
if (!opt.disabled) this._highlightedIndex = index;
|
|
@@ -15891,7 +16064,7 @@ var CsSelectInternal = class extends Base6 {
|
|
|
15891
16064
|
/>
|
|
15892
16065
|
</div>
|
|
15893
16066
|
` : nothing19}
|
|
15894
|
-
<ul class="option-list" role="listbox" aria-label=${
|
|
16067
|
+
<ul class="option-list" role="listbox" aria-label=${ifDefined24(this.ariaLabel || void 0)}>
|
|
15895
16068
|
${items}
|
|
15896
16069
|
</ul>
|
|
15897
16070
|
`;
|
|
@@ -15912,8 +16085,9 @@ var CsSelectInternal = class extends Base6 {
|
|
|
15912
16085
|
type="button"
|
|
15913
16086
|
aria-haspopup="listbox"
|
|
15914
16087
|
aria-expanded=${this._open}
|
|
15915
|
-
aria-label=${
|
|
15916
|
-
aria-
|
|
16088
|
+
aria-label=${ifDefined24(this.ariaLabel || void 0)}
|
|
16089
|
+
aria-required=${ifDefined24(this.ariaRequired || void 0)}
|
|
16090
|
+
aria-disabled=${ifDefined24(this.disabled ? "true" : void 0)}
|
|
15917
16091
|
?disabled=${false}
|
|
15918
16092
|
tabindex=${this.disabled ? -1 : 0}
|
|
15919
16093
|
@click=${this._onTriggerClick}
|
|
@@ -15949,6 +16123,12 @@ __decorateClass([
|
|
|
15949
16123
|
__decorateClass([
|
|
15950
16124
|
property43({ type: String })
|
|
15951
16125
|
], CsSelectInternal.prototype, "ariaLabel", 2);
|
|
16126
|
+
__decorateClass([
|
|
16127
|
+
property43({ type: String })
|
|
16128
|
+
], CsSelectInternal.prototype, "ariaRequired", 2);
|
|
16129
|
+
__decorateClass([
|
|
16130
|
+
property43({ type: String })
|
|
16131
|
+
], CsSelectInternal.prototype, "ariaLabelledby", 2);
|
|
15952
16132
|
__decorateClass([
|
|
15953
16133
|
property43({ type: Boolean })
|
|
15954
16134
|
], CsSelectInternal.prototype, "invalid", 2);
|
|
@@ -15986,7 +16166,7 @@ customElements.define("cs-select", CsSelect);
|
|
|
15986
16166
|
import { css as css99, html as html45, nothing as nothing20 } from "lit";
|
|
15987
16167
|
import { property as property44, state as state13, query as query5 } from "lit/decorators.js";
|
|
15988
16168
|
import { classMap as classMap39 } from "lit/directives/class-map.js";
|
|
15989
|
-
import { ifDefined as
|
|
16169
|
+
import { ifDefined as ifDefined25 } from "lit/directives/if-defined.js";
|
|
15990
16170
|
|
|
15991
16171
|
// src/multiselect/styles.ts
|
|
15992
16172
|
import { css as css98 } from "lit";
|
|
@@ -16461,7 +16641,7 @@ var CsMultiselectInternal = class extends Base7 {
|
|
|
16461
16641
|
class=${classMap39(classes)}
|
|
16462
16642
|
role="option"
|
|
16463
16643
|
aria-selected=${isSelected}
|
|
16464
|
-
aria-disabled=${
|
|
16644
|
+
aria-disabled=${ifDefined25(opt.disabled ? "true" : void 0)}
|
|
16465
16645
|
@click=${(e) => this._onOptionClick(opt, e)}
|
|
16466
16646
|
@mouseenter=${() => {
|
|
16467
16647
|
if (!opt.disabled) this._highlightedIndex = index;
|
|
@@ -16506,7 +16686,7 @@ var CsMultiselectInternal = class extends Base7 {
|
|
|
16506
16686
|
/>
|
|
16507
16687
|
</div>
|
|
16508
16688
|
` : nothing20}
|
|
16509
|
-
<ul class="option-list" role="listbox" aria-multiselectable="true" aria-label=${
|
|
16689
|
+
<ul class="option-list" role="listbox" aria-multiselectable="true" aria-label=${ifDefined25(this.ariaLabel || void 0)}>
|
|
16510
16690
|
${items}
|
|
16511
16691
|
</ul>
|
|
16512
16692
|
`;
|
|
@@ -16545,8 +16725,8 @@ var CsMultiselectInternal = class extends Base7 {
|
|
|
16545
16725
|
type="button"
|
|
16546
16726
|
aria-haspopup="listbox"
|
|
16547
16727
|
aria-expanded=${this._open}
|
|
16548
|
-
aria-label=${
|
|
16549
|
-
aria-disabled=${
|
|
16728
|
+
aria-label=${ifDefined25(this.ariaLabel || void 0)}
|
|
16729
|
+
aria-disabled=${ifDefined25(this.disabled ? "true" : void 0)}
|
|
16550
16730
|
?disabled=${false}
|
|
16551
16731
|
tabindex=${this.disabled ? -1 : 0}
|
|
16552
16732
|
@click=${this._onTriggerClick}
|
|
@@ -16629,7 +16809,7 @@ customElements.define("cs-multiselect", CsMultiselect);
|
|
|
16629
16809
|
import { css as css102, html as html46, nothing as nothing21 } from "lit";
|
|
16630
16810
|
import { property as property45, state as state14, query as query6 } from "lit/decorators.js";
|
|
16631
16811
|
import { classMap as classMap40 } from "lit/directives/class-map.js";
|
|
16632
|
-
import { ifDefined as
|
|
16812
|
+
import { ifDefined as ifDefined26 } from "lit/directives/if-defined.js";
|
|
16633
16813
|
|
|
16634
16814
|
// src/autosuggest/styles.ts
|
|
16635
16815
|
import { css as css100 } from "lit";
|
|
@@ -17029,14 +17209,14 @@ var CsAutosuggestInternal = class extends Base8 {
|
|
|
17029
17209
|
class=${classMap40(inputClasses)}
|
|
17030
17210
|
type="text"
|
|
17031
17211
|
.value=${this.value}
|
|
17032
|
-
placeholder=${
|
|
17212
|
+
placeholder=${ifDefined26(this.placeholder || void 0)}
|
|
17033
17213
|
?disabled=${this.disabled}
|
|
17034
17214
|
?readonly=${this.readOnly}
|
|
17035
|
-
aria-label=${
|
|
17215
|
+
aria-label=${ifDefined26(this.ariaLabel || void 0)}
|
|
17036
17216
|
aria-autocomplete="list"
|
|
17037
17217
|
aria-expanded=${showDropdown ? "true" : "false"}
|
|
17038
|
-
aria-controls=${
|
|
17039
|
-
aria-activedescendant=${
|
|
17218
|
+
aria-controls=${ifDefined26(showDropdown ? this._listboxId : void 0)}
|
|
17219
|
+
aria-activedescendant=${ifDefined26(
|
|
17040
17220
|
showDropdown && this._highlightedIndex >= 0 ? `${this._listboxId}-option-${this._highlightedIndex}` : void 0
|
|
17041
17221
|
)}
|
|
17042
17222
|
role="combobox"
|
|
@@ -17074,7 +17254,7 @@ var CsAutosuggestInternal = class extends Base8 {
|
|
|
17074
17254
|
id=${`${this._listboxId}-option-${index}`}
|
|
17075
17255
|
role="option"
|
|
17076
17256
|
aria-selected=${isHighlighted ? "true" : "false"}
|
|
17077
|
-
aria-disabled=${
|
|
17257
|
+
aria-disabled=${ifDefined26(isDisabled ? "true" : void 0)}
|
|
17078
17258
|
@click=${() => this._onOptionClick(option)}
|
|
17079
17259
|
>
|
|
17080
17260
|
${option.label || option.value || ""}
|
|
@@ -17128,7 +17308,7 @@ customElements.define("cs-autosuggest", CsAutosuggest);
|
|
|
17128
17308
|
import { css as css104, html as html47 } from "lit";
|
|
17129
17309
|
import { property as property46 } from "lit/decorators.js";
|
|
17130
17310
|
import { classMap as classMap41 } from "lit/directives/class-map.js";
|
|
17131
|
-
import { ifDefined as
|
|
17311
|
+
import { ifDefined as ifDefined27 } from "lit/directives/if-defined.js";
|
|
17132
17312
|
|
|
17133
17313
|
// src/segmented-control/styles.ts
|
|
17134
17314
|
import { css as css103 } from "lit";
|
|
@@ -17401,8 +17581,8 @@ var CsSegmentedControlInternal = class extends CsBaseElement {
|
|
|
17401
17581
|
<div
|
|
17402
17582
|
class=${classMap41({ "segment-part": true, [segmentCountClass]: true })}
|
|
17403
17583
|
role="group"
|
|
17404
|
-
aria-label=${
|
|
17405
|
-
aria-labelledby=${
|
|
17584
|
+
aria-label=${ifDefined27(this.label || void 0)}
|
|
17585
|
+
aria-labelledby=${ifDefined27(!this.label && this.ariaLabelledby ? this.ariaLabelledby : void 0)}
|
|
17406
17586
|
>
|
|
17407
17587
|
${this.options.map((option, index) => this._renderSegment(option, index))}
|
|
17408
17588
|
</div>
|
|
@@ -17423,7 +17603,7 @@ var CsSegmentedControlInternal = class extends CsBaseElement {
|
|
|
17423
17603
|
type="button"
|
|
17424
17604
|
?disabled=${isDisabled}
|
|
17425
17605
|
aria-pressed=${isSelected ? "true" : "false"}
|
|
17426
|
-
aria-label=${
|
|
17606
|
+
aria-label=${ifDefined27(option.iconName && !option.text ? option.iconAlt || void 0 : void 0)}
|
|
17427
17607
|
tabindex=${this._getTabIndex(index)}
|
|
17428
17608
|
@click=${() => this._onSegmentClick(option)}
|
|
17429
17609
|
@focus=${() => this._onSegmentFocus(index)}
|
|
@@ -17861,10 +18041,41 @@ import { property as property48, state as state16 } from "lit/decorators.js";
|
|
|
17861
18041
|
// src/collection-preferences/styles.ts
|
|
17862
18042
|
import { css as css107 } from "lit";
|
|
17863
18043
|
var componentStyles47 = css107`
|
|
17864
|
-
.visible-content
|
|
17865
|
-
|
|
17866
|
-
|
|
17867
|
-
|
|
18044
|
+
.visible-content-title {
|
|
18045
|
+
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
18046
|
+
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
18047
|
+
font-weight: var(--font-display-label-weight-zavpeo, 700);
|
|
18048
|
+
color: var(--color-text-form-label-6sbm75, #0f141a);
|
|
18049
|
+
margin-block-start: 0;
|
|
18050
|
+
margin-block-end: var(--space-scaled-l-sej05l, 20px);
|
|
18051
|
+
margin-inline: 0;
|
|
18052
|
+
}
|
|
18053
|
+
|
|
18054
|
+
.visible-content-group-label {
|
|
18055
|
+
color: var(--color-text-group-label-a2qc05, #424650);
|
|
18056
|
+
padding-block-end: var(--space-xs-ymlm0b, 8px);
|
|
18057
|
+
border-block-end: var(--border-divider-list-width-tdfx1x, 1px) solid var(--color-border-divider-secondary-qoitch, #ebebf0);
|
|
18058
|
+
}
|
|
18059
|
+
|
|
18060
|
+
.visible-content-option {
|
|
18061
|
+
display: flex;
|
|
18062
|
+
flex-wrap: nowrap;
|
|
18063
|
+
justify-content: space-between;
|
|
18064
|
+
padding-block: var(--space-xs-ymlm0b, 8px);
|
|
18065
|
+
padding-inline-start: var(--space-scaled-l-sej05l, 20px);
|
|
18066
|
+
padding-inline-end: 0px;
|
|
18067
|
+
border-block-end: var(--border-divider-list-width-tdfx1x, 1px) solid var(--color-border-divider-secondary-qoitch, #ebebf0);
|
|
18068
|
+
}
|
|
18069
|
+
.visible-content-option:last-child {
|
|
18070
|
+
border-block-end: none;
|
|
18071
|
+
}
|
|
18072
|
+
|
|
18073
|
+
.visible-content-option-label {
|
|
18074
|
+
overflow: hidden;
|
|
18075
|
+
text-overflow: ellipsis;
|
|
18076
|
+
padding-inline-end: var(--space-l-2ud1p3, 20px);
|
|
18077
|
+
flex-grow: 1;
|
|
18078
|
+
}
|
|
17868
18079
|
|
|
17869
18080
|
.content-display-option-content {
|
|
17870
18081
|
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
@@ -20100,7 +20311,7 @@ customElements.define("cs-form", CsForm);
|
|
|
20100
20311
|
import { css as css122, html as html56 } from "lit";
|
|
20101
20312
|
import { property as property55 } from "lit/decorators.js";
|
|
20102
20313
|
import { classMap as classMap46 } from "lit/directives/class-map.js";
|
|
20103
|
-
import { ifDefined as
|
|
20314
|
+
import { ifDefined as ifDefined28 } from "lit/directives/if-defined.js";
|
|
20104
20315
|
|
|
20105
20316
|
// src/modal/styles.ts
|
|
20106
20317
|
import { css as css121 } from "lit";
|
|
@@ -20443,7 +20654,7 @@ var CsModalInternal = class extends CsBaseElement {
|
|
|
20443
20654
|
class=${classMap46(dialogClasses)}
|
|
20444
20655
|
role="dialog"
|
|
20445
20656
|
aria-modal="true"
|
|
20446
|
-
aria-label=${
|
|
20657
|
+
aria-label=${ifDefined28(this.header || void 0)}
|
|
20447
20658
|
>
|
|
20448
20659
|
<div class="container">
|
|
20449
20660
|
<div class="header">
|
|
@@ -20500,7 +20711,7 @@ customElements.define("cs-modal", CsModal);
|
|
|
20500
20711
|
import { css as css124, html as html57, nothing as nothing30 } from "lit";
|
|
20501
20712
|
import { property as property56 } from "lit/decorators.js";
|
|
20502
20713
|
import { classMap as classMap47 } from "lit/directives/class-map.js";
|
|
20503
|
-
import { ifDefined as
|
|
20714
|
+
import { ifDefined as ifDefined29 } from "lit/directives/if-defined.js";
|
|
20504
20715
|
|
|
20505
20716
|
// src/file-upload/styles.ts
|
|
20506
20717
|
import { css as css123 } from "lit";
|
|
@@ -20617,6 +20828,7 @@ var CsFileUploadInternal = class extends CsBaseElement {
|
|
|
20617
20828
|
this.errorText = "";
|
|
20618
20829
|
this.constraintText = "";
|
|
20619
20830
|
this.ariaLabel = null;
|
|
20831
|
+
this.ariaRequired = null;
|
|
20620
20832
|
this.label = "";
|
|
20621
20833
|
this.fileTokenAlignment = "vertical";
|
|
20622
20834
|
this._thumbnailUrls = /* @__PURE__ */ new Map();
|
|
@@ -20728,10 +20940,11 @@ var CsFileUploadInternal = class extends CsBaseElement {
|
|
|
20728
20940
|
|
|
20729
20941
|
<cs-file-input
|
|
20730
20942
|
variant="button"
|
|
20731
|
-
accept=${
|
|
20943
|
+
accept=${ifDefined29(this.accept || void 0)}
|
|
20732
20944
|
?multiple=${this.multiple}
|
|
20733
20945
|
?disabled=${this.disabled}
|
|
20734
20946
|
aria-label=${this.ariaLabel || uploadButtonText}
|
|
20947
|
+
aria-required=${ifDefined29(this.ariaRequired || void 0)}
|
|
20735
20948
|
@change=${this._onFileInputChange}
|
|
20736
20949
|
>${uploadButtonText}</cs-file-input>
|
|
20737
20950
|
|
|
@@ -20781,6 +20994,9 @@ __decorateClass([
|
|
|
20781
20994
|
__decorateClass([
|
|
20782
20995
|
property56({ type: String })
|
|
20783
20996
|
], CsFileUploadInternal.prototype, "ariaLabel", 2);
|
|
20997
|
+
__decorateClass([
|
|
20998
|
+
property56({ type: Boolean })
|
|
20999
|
+
], CsFileUploadInternal.prototype, "ariaRequired", 2);
|
|
20784
21000
|
__decorateClass([
|
|
20785
21001
|
property56({ type: String })
|
|
20786
21002
|
], CsFileUploadInternal.prototype, "label", 2);
|
|
@@ -20800,7 +21016,7 @@ customElements.define("cs-file-upload", CsFileUpload);
|
|
|
20800
21016
|
import { css as css126, html as html58, nothing as nothing31 } from "lit";
|
|
20801
21017
|
import { property as property57, state as state18 } from "lit/decorators.js";
|
|
20802
21018
|
import { classMap as classMap48 } from "lit/directives/class-map.js";
|
|
20803
|
-
import { ifDefined as
|
|
21019
|
+
import { ifDefined as ifDefined30 } from "lit/directives/if-defined.js";
|
|
20804
21020
|
|
|
20805
21021
|
// src/calendar/styles.ts
|
|
20806
21022
|
import { css as css125 } from "lit";
|
|
@@ -21233,11 +21449,11 @@ var CsCalendarInternal = class extends CsBaseElement {
|
|
|
21233
21449
|
<div
|
|
21234
21450
|
class="calendar"
|
|
21235
21451
|
role="group"
|
|
21236
|
-
aria-label=${
|
|
21237
|
-
aria-labelledby=${
|
|
21452
|
+
aria-label=${ifDefined30(this.ariaLabel || void 0)}
|
|
21453
|
+
aria-labelledby=${ifDefined30(
|
|
21238
21454
|
!this.ariaLabel ? this.ariaLabelledby || void 0 : void 0
|
|
21239
21455
|
)}
|
|
21240
|
-
aria-describedby=${
|
|
21456
|
+
aria-describedby=${ifDefined30(this.ariaDescribedby || void 0)}
|
|
21241
21457
|
>
|
|
21242
21458
|
<div class="calendar-inner">
|
|
21243
21459
|
<div class="calendar-header">
|
|
@@ -21360,7 +21576,7 @@ customElements.define("cs-calendar", CsCalendar);
|
|
|
21360
21576
|
import { css as css128, html as html59 } from "lit";
|
|
21361
21577
|
import { property as property58 } from "lit/decorators.js";
|
|
21362
21578
|
import { classMap as classMap49 } from "lit/directives/class-map.js";
|
|
21363
|
-
import { ifDefined as
|
|
21579
|
+
import { ifDefined as ifDefined31 } from "lit/directives/if-defined.js";
|
|
21364
21580
|
import { consume as consume2 } from "@lit/context";
|
|
21365
21581
|
|
|
21366
21582
|
// src/date-input/styles.ts
|
|
@@ -21443,17 +21659,17 @@ var CsDateInputInternal = class extends Base9 {
|
|
|
21443
21659
|
class=${classMap49(inputClasses)}
|
|
21444
21660
|
type="text"
|
|
21445
21661
|
.value=${this.value}
|
|
21446
|
-
placeholder=${
|
|
21662
|
+
placeholder=${ifDefined31(this.placeholder || void 0)}
|
|
21447
21663
|
?disabled=${this.disabled}
|
|
21448
21664
|
?readonly=${this.readOnly}
|
|
21449
21665
|
?autofocus=${this.autoFocus}
|
|
21450
|
-
id=${
|
|
21451
|
-
aria-label=${
|
|
21452
|
-
aria-labelledby=${
|
|
21666
|
+
id=${ifDefined31(controlId)}
|
|
21667
|
+
aria-label=${ifDefined31(this.ariaLabel || void 0)}
|
|
21668
|
+
aria-labelledby=${ifDefined31(
|
|
21453
21669
|
!this.ariaLabel ? ariaLabelledby : void 0
|
|
21454
21670
|
)}
|
|
21455
|
-
aria-describedby=${
|
|
21456
|
-
aria-invalid=${
|
|
21671
|
+
aria-describedby=${ifDefined31(this._resolvedAriaDescribedby)}
|
|
21672
|
+
aria-invalid=${ifDefined31(this._isInvalid ? "true" : void 0)}
|
|
21457
21673
|
@input=${this._onInput}
|
|
21458
21674
|
@blur=${this._onBlur}
|
|
21459
21675
|
@focus=${this._onFocus}
|
|
@@ -21499,7 +21715,7 @@ customElements.define("cs-date-input", CsDateInput);
|
|
|
21499
21715
|
// src/date-picker/internal.ts
|
|
21500
21716
|
import { css as css130, html as html60, nothing as nothing32 } from "lit";
|
|
21501
21717
|
import { property as property59, state as state19, query as query7 } from "lit/decorators.js";
|
|
21502
|
-
import { ifDefined as
|
|
21718
|
+
import { ifDefined as ifDefined32 } from "lit/directives/if-defined.js";
|
|
21503
21719
|
import { consume as consume3 } from "@lit/context";
|
|
21504
21720
|
|
|
21505
21721
|
// src/date-picker/styles.ts
|
|
@@ -21578,6 +21794,7 @@ var CsDatePickerInternal = class extends Base10 {
|
|
|
21578
21794
|
this.warning = false;
|
|
21579
21795
|
this.autoFocus = false;
|
|
21580
21796
|
this.ariaLabel = null;
|
|
21797
|
+
this.ariaRequired = null;
|
|
21581
21798
|
this._open = false;
|
|
21582
21799
|
this._cleanupOutsideClick = null;
|
|
21583
21800
|
this._onInputChange = (e) => {
|
|
@@ -21707,7 +21924,8 @@ var CsDatePickerInternal = class extends Base10 {
|
|
|
21707
21924
|
?read-only=${this.readOnly}
|
|
21708
21925
|
?invalid=${this._isInvalid}
|
|
21709
21926
|
?warning=${this._isWarning}
|
|
21710
|
-
aria-label=${
|
|
21927
|
+
aria-label=${ifDefined32(this.ariaLabel || void 0)}
|
|
21928
|
+
aria-required=${ifDefined32(this.ariaRequired || void 0)}
|
|
21711
21929
|
@change=${this._onInputChange}
|
|
21712
21930
|
></cs-date-input>
|
|
21713
21931
|
</div>
|
|
@@ -21729,7 +21947,7 @@ var CsDatePickerInternal = class extends Base10 {
|
|
|
21729
21947
|
start-of-week=${this.startOfWeek}
|
|
21730
21948
|
.isDateEnabled=${this.isDateEnabled}
|
|
21731
21949
|
.i18nStrings=${this.i18nStrings}
|
|
21732
|
-
aria-label=${
|
|
21950
|
+
aria-label=${ifDefined32(this.ariaLabel || void 0)}
|
|
21733
21951
|
@change=${this._onCalendarChange}
|
|
21734
21952
|
></cs-calendar>
|
|
21735
21953
|
</div>
|
|
@@ -21779,6 +21997,9 @@ __decorateClass([
|
|
|
21779
21997
|
__decorateClass([
|
|
21780
21998
|
property59({ type: String })
|
|
21781
21999
|
], CsDatePickerInternal.prototype, "ariaLabel", 2);
|
|
22000
|
+
__decorateClass([
|
|
22001
|
+
property59({ type: Boolean })
|
|
22002
|
+
], CsDatePickerInternal.prototype, "ariaRequired", 2);
|
|
21782
22003
|
__decorateClass([
|
|
21783
22004
|
property59({ attribute: false })
|
|
21784
22005
|
], CsDatePickerInternal.prototype, "i18nStrings", 2);
|
|
@@ -21801,7 +22022,7 @@ customElements.define("cs-date-picker", CsDatePicker);
|
|
|
21801
22022
|
import { css as css133, html as html61, nothing as nothing33 } from "lit";
|
|
21802
22023
|
import { property as property60, state as state20, query as query8 } from "lit/decorators.js";
|
|
21803
22024
|
import { classMap as classMap50 } from "lit/directives/class-map.js";
|
|
21804
|
-
import { ifDefined as
|
|
22025
|
+
import { ifDefined as ifDefined33 } from "lit/directives/if-defined.js";
|
|
21805
22026
|
|
|
21806
22027
|
// src/date-range-picker/styles.ts
|
|
21807
22028
|
import { css as css131 } from "lit";
|
|
@@ -22533,8 +22754,8 @@ var CsDateRangePickerInternal = class extends Base11 {
|
|
|
22533
22754
|
type="button"
|
|
22534
22755
|
aria-haspopup="dialog"
|
|
22535
22756
|
aria-expanded=${this._open ? "true" : "false"}
|
|
22536
|
-
aria-label=${
|
|
22537
|
-
aria-disabled=${
|
|
22757
|
+
aria-label=${ifDefined33(this.ariaLabel || void 0)}
|
|
22758
|
+
aria-disabled=${ifDefined33(this.disabled ? "true" : void 0)}
|
|
22538
22759
|
?disabled=${false}
|
|
22539
22760
|
tabindex=${this.disabled ? -1 : 0}
|
|
22540
22761
|
@click=${this._onTriggerClick}
|
|
@@ -22551,7 +22772,7 @@ var CsDateRangePickerInternal = class extends Base11 {
|
|
|
22551
22772
|
</div>
|
|
22552
22773
|
${this._open ? html61`
|
|
22553
22774
|
<div class=${classMap50(dropdownClasses)} role="dialog"
|
|
22554
|
-
aria-label=${
|
|
22775
|
+
aria-label=${ifDefined33(this.ariaLabel || "Date range picker")}
|
|
22555
22776
|
aria-modal="true">
|
|
22556
22777
|
${this._renderModeSwitch()}
|
|
22557
22778
|
<div class="dropdown-body">
|
|
@@ -22771,7 +22992,7 @@ var componentStyles60 = css134`
|
|
|
22771
22992
|
import { css as css135, html as html62, nothing as nothing34 } from "lit";
|
|
22772
22993
|
import { property as property61 } from "lit/decorators.js";
|
|
22773
22994
|
import { classMap as classMap51 } from "lit/directives/class-map.js";
|
|
22774
|
-
import { ifDefined as
|
|
22995
|
+
import { ifDefined as ifDefined34 } from "lit/directives/if-defined.js";
|
|
22775
22996
|
import { consume as consume4 } from "@lit/context";
|
|
22776
22997
|
var Base12 = FormAssociatedMixin(CsBaseElement);
|
|
22777
22998
|
var hostStyles61 = css135`:host { display: block; }`;
|
|
@@ -22788,6 +23009,7 @@ var CsInputInternal = class extends Base12 {
|
|
|
22788
23009
|
this.autoFocus = false;
|
|
22789
23010
|
this.inputMode = "";
|
|
22790
23011
|
this.ariaLabel = null;
|
|
23012
|
+
this.ariaRequired = null;
|
|
22791
23013
|
this.ariaDescribedby = null;
|
|
22792
23014
|
this.clearAriaLabel = "";
|
|
22793
23015
|
this._onInput = (e) => {
|
|
@@ -22886,17 +23108,18 @@ var CsInputInternal = class extends Base12 {
|
|
|
22886
23108
|
class=${classMap51(inputClasses)}
|
|
22887
23109
|
type=${this.type}
|
|
22888
23110
|
.value=${this.value}
|
|
22889
|
-
placeholder=${
|
|
23111
|
+
placeholder=${ifDefined34(this.placeholder || void 0)}
|
|
22890
23112
|
?disabled=${this.disabled}
|
|
22891
23113
|
?readonly=${this.readOnly}
|
|
22892
23114
|
?autofocus=${this.autoFocus}
|
|
22893
|
-
inputmode=${
|
|
22894
|
-
step=${
|
|
22895
|
-
id=${
|
|
22896
|
-
aria-label=${
|
|
22897
|
-
aria-labelledby=${
|
|
22898
|
-
aria-describedby=${
|
|
22899
|
-
aria-
|
|
23115
|
+
inputmode=${ifDefined34(this.inputMode || void 0)}
|
|
23116
|
+
step=${ifDefined34(this.step)}
|
|
23117
|
+
id=${ifDefined34(controlId)}
|
|
23118
|
+
aria-label=${ifDefined34(this.ariaLabel || void 0)}
|
|
23119
|
+
aria-labelledby=${ifDefined34(!this.ariaLabel ? ariaLabelledby : void 0)}
|
|
23120
|
+
aria-describedby=${ifDefined34(this._resolvedAriaDescribedby)}
|
|
23121
|
+
aria-required=${ifDefined34(this.ariaRequired || void 0)}
|
|
23122
|
+
aria-invalid=${ifDefined34(this._isInvalid ? "true" : void 0)}
|
|
22900
23123
|
@input=${this._onInput}
|
|
22901
23124
|
@blur=${this._onBlur}
|
|
22902
23125
|
@focus=${this._onFocus}
|
|
@@ -22952,6 +23175,9 @@ __decorateClass([
|
|
|
22952
23175
|
__decorateClass([
|
|
22953
23176
|
property61({ type: String })
|
|
22954
23177
|
], CsInputInternal.prototype, "ariaLabel", 2);
|
|
23178
|
+
__decorateClass([
|
|
23179
|
+
property61({ type: Boolean })
|
|
23180
|
+
], CsInputInternal.prototype, "ariaRequired", 2);
|
|
22955
23181
|
__decorateClass([
|
|
22956
23182
|
property61({ type: String })
|
|
22957
23183
|
], CsInputInternal.prototype, "ariaDescribedby", 2);
|
|
@@ -23846,72 +24072,353 @@ import { classMap as classMap54 } from "lit/directives/class-map.js";
|
|
|
23846
24072
|
// src/code-editor/styles.ts
|
|
23847
24073
|
import { css as css141 } from "lit";
|
|
23848
24074
|
var componentStyles63 = css141`
|
|
23849
|
-
.
|
|
23850
|
-
|
|
23851
|
-
position: relative;
|
|
23852
|
-
flex-direction: row;
|
|
23853
|
-
flex: 1;
|
|
23854
|
-
border-block-start: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-default-2bfcfq, #dedee3);
|
|
23855
|
-
border-end-start-radius: var(--border-radius-code-editor-5palck, 8px);
|
|
23856
|
-
border-end-end-radius: var(--border-radius-code-editor-5palck, 8px);
|
|
23857
|
-
background: var(--color-background-code-editor-status-bar-yjtxod, #f3f3f7);
|
|
23858
|
-
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
24075
|
+
.code-editor-refresh .ace_editor .ace_gutter {
|
|
24076
|
+
border-start-start-radius: calc(var(--border-radius-code-editor-5palck, 8px) - var(--border-item-width-miijiw, 2px));
|
|
23859
24077
|
}
|
|
23860
|
-
.
|
|
23861
|
-
|
|
23862
|
-
inset-block-start: 0;
|
|
23863
|
-
inset-inline-end: calc(var(--space-s-tvghoh, 12px) / 2);
|
|
24078
|
+
.code-editor-refresh .ace_editor .ace_scroller {
|
|
24079
|
+
border-start-end-radius: calc(var(--border-radius-code-editor-5palck, 8px) - var(--border-item-width-miijiw, 2px));
|
|
23864
24080
|
}
|
|
23865
|
-
|
|
23866
|
-
|
|
23867
|
-
|
|
23868
|
-
|
|
23869
|
-
|
|
23870
|
-
margin-inline-end: calc(var(--line-height-body-m-2mh3ke, 20px) + 2 * var(--space-xs-ymlm0b, 8px));
|
|
24081
|
+
|
|
24082
|
+
.code-editor .ace_editor {
|
|
24083
|
+
font-family: Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace;
|
|
24084
|
+
font-size: 14px;
|
|
24085
|
+
line-height: 20px;
|
|
23871
24086
|
}
|
|
23872
|
-
.
|
|
23873
|
-
|
|
23874
|
-
|
|
23875
|
-
|
|
23876
|
-
|
|
24087
|
+
.code-editor .ace_editor .ace_gutter-cell.ace_error,
|
|
24088
|
+
.code-editor .ace_editor .ace_gutter-cell.ace_warning {
|
|
24089
|
+
cursor: pointer;
|
|
24090
|
+
background-repeat: no-repeat;
|
|
24091
|
+
background-size: 16px 16px;
|
|
24092
|
+
background-position: 4px 2px;
|
|
23877
24093
|
}
|
|
23878
|
-
.
|
|
23879
|
-
|
|
23880
|
-
border-block-end: var(--border-item-width-miijiw, 2px) solid var(--color-transparent-i61gs1, transparent);
|
|
24094
|
+
.code-editor .ace_editor .ace_gutter-cell.ace_info {
|
|
24095
|
+
background-image: none;
|
|
23881
24096
|
}
|
|
23882
|
-
.
|
|
23883
|
-
|
|
23884
|
-
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
23885
|
-
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24097
|
+
.code-editor .ace_editor .ace_gutter-cell.ace_error {
|
|
24098
|
+
color: var(--color-text-status-error-ksqavh, #db0000);
|
|
23886
24099
|
}
|
|
23887
|
-
|
|
23888
|
-
|
|
23889
|
-
|
|
23890
|
-
|
|
24100
|
+
@supports (--css-variable-support-check: #000) {
|
|
24101
|
+
body .code-editor .ace_editor .ace_gutter-cell.ace_error {
|
|
24102
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23db0000' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
|
|
24103
|
+
}
|
|
24104
|
+
@media not print {
|
|
24105
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-cell.ace_error, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-cell.ace_error {
|
|
24106
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23ff7a7a' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
|
|
24107
|
+
}
|
|
24108
|
+
}
|
|
23891
24109
|
}
|
|
23892
|
-
|
|
23893
|
-
|
|
23894
|
-
|
|
24110
|
+
@supports (--css-variable-support-check: #000) {
|
|
24111
|
+
body .code-editor .ace_editor .ace_gutter-cell.ace_warning {
|
|
24112
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23855900' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
|
|
24113
|
+
}
|
|
24114
|
+
@media not print {
|
|
24115
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-cell.ace_warning, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-cell.ace_warning {
|
|
24116
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23fbd332' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
|
|
24117
|
+
}
|
|
24118
|
+
}
|
|
23895
24119
|
}
|
|
23896
|
-
.
|
|
23897
|
-
|
|
24120
|
+
.code-editor .ace_editor .ace_gutter-cell {
|
|
24121
|
+
padding-inline: 24px 16px;
|
|
23898
24122
|
}
|
|
23899
|
-
.
|
|
23900
|
-
|
|
23901
|
-
|
|
24123
|
+
.code-editor .ace_editor .ace_fold-widget {
|
|
24124
|
+
/* A good test case for disabled folds
|
|
24125
|
+
<<html<<<<
|
|
24126
|
+
</html>
|
|
24127
|
+
*/
|
|
24128
|
+
inline-size: 14px;
|
|
24129
|
+
margin-inline-end: -15px;
|
|
24130
|
+
background-color: transparent;
|
|
24131
|
+
border-block: none;
|
|
24132
|
+
border-inline: none;
|
|
23902
24133
|
}
|
|
23903
|
-
.
|
|
23904
|
-
|
|
23905
|
-
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
23906
|
-
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24134
|
+
.code-editor .ace_editor .ace_gutter_annotation {
|
|
24135
|
+
margin-inline-start: -21px;
|
|
23907
24136
|
}
|
|
23908
|
-
.
|
|
23909
|
-
|
|
23910
|
-
|
|
23911
|
-
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24137
|
+
.code-editor .ace_editor .ace_fold-widget,
|
|
24138
|
+
.code-editor .ace_editor .ace_gutter_annotation {
|
|
24139
|
+
box-shadow: none;
|
|
23912
24140
|
}
|
|
23913
|
-
.
|
|
23914
|
-
|
|
24141
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_fold-widget:focus,
|
|
24142
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter_annotation:focus {
|
|
24143
|
+
position: relative;
|
|
24144
|
+
}
|
|
24145
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_fold-widget:focus,
|
|
24146
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter_annotation:focus {
|
|
24147
|
+
outline: 2px dotted transparent;
|
|
24148
|
+
outline-offset: calc(-1px - 1px);
|
|
24149
|
+
}
|
|
24150
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_fold-widget:focus::before,
|
|
24151
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter_annotation:focus::before {
|
|
24152
|
+
content: " ";
|
|
24153
|
+
display: block;
|
|
24154
|
+
position: absolute;
|
|
24155
|
+
inset-inline-start: calc(-1 * -1px);
|
|
24156
|
+
inset-block-start: calc(-1 * -1px);
|
|
24157
|
+
inline-size: calc(100% + -1px + -1px);
|
|
24158
|
+
block-size: calc(100% + -1px + -1px);
|
|
24159
|
+
border-start-start-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24160
|
+
border-start-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24161
|
+
border-end-start-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24162
|
+
border-end-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24163
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-uk47pl, #006ce0);
|
|
24164
|
+
}
|
|
24165
|
+
.code-editor .ace_editor .ace_marker-layer > .ace_active-line {
|
|
24166
|
+
background: transparent;
|
|
24167
|
+
box-sizing: border-box;
|
|
24168
|
+
border-block-start: 1px solid var(--color-border-code-editor-ace-active-line-light-theme-q6hsvt, #dedee3);
|
|
24169
|
+
border-block-end: 1px solid var(--color-border-code-editor-ace-active-line-light-theme-q6hsvt, #dedee3);
|
|
24170
|
+
}
|
|
24171
|
+
.code-editor .ace_editor.ace_dark .ace_marker-layer > .ace_active-line {
|
|
24172
|
+
border-block-start: 1px solid var(--color-border-code-editor-ace-active-line-dark-theme-v09eti, #656871);
|
|
24173
|
+
border-block-end: 1px solid var(--color-border-code-editor-ace-active-line-dark-theme-v09eti, #656871);
|
|
24174
|
+
}
|
|
24175
|
+
.code-editor .ace_editor .ace_gutter {
|
|
24176
|
+
background-color: var(--color-background-code-editor-gutter-default-15qdwh, #f3f3f7);
|
|
24177
|
+
color: var(--color-text-code-editor-gutter-default-nlshs8, #0f141a);
|
|
24178
|
+
}
|
|
24179
|
+
.code-editor .ace_editor .ace_gutter:focus,
|
|
24180
|
+
.code-editor .ace_editor .ace_scroller:focus {
|
|
24181
|
+
box-shadow: inset 0 0 0 2px var(--color-border-item-focused-uk47pl, #006ce0);
|
|
24182
|
+
}
|
|
24183
|
+
@supports (--css-variable-support-check: #000) {
|
|
24184
|
+
body .code-editor .ace_editor .ace_fold-widget.ace_open {
|
|
24185
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23424650' fill='%23424650' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24186
|
+
}
|
|
24187
|
+
@media not print {
|
|
24188
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_open, body.awsui-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_open {
|
|
24189
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24190
|
+
}
|
|
24191
|
+
}
|
|
24192
|
+
}
|
|
24193
|
+
@supports (--css-variable-support-check: #000) {
|
|
24194
|
+
body .code-editor .ace_editor .ace_fold-widget.ace_open:hover {
|
|
24195
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24196
|
+
}
|
|
24197
|
+
@media not print {
|
|
24198
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_open:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_open:hover {
|
|
24199
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24200
|
+
}
|
|
24201
|
+
}
|
|
24202
|
+
}
|
|
24203
|
+
@supports (--css-variable-support-check: #000) {
|
|
24204
|
+
body .code-editor .ace_editor .ace_fold-widget.ace_closed {
|
|
24205
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23424650' fill='%23424650' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24206
|
+
}
|
|
24207
|
+
@media not print {
|
|
24208
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_closed, body.awsui-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_closed {
|
|
24209
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24210
|
+
}
|
|
24211
|
+
}
|
|
24212
|
+
}
|
|
24213
|
+
@supports (--css-variable-support-check: #000) {
|
|
24214
|
+
body .code-editor .ace_editor .ace_fold-widget.ace_closed:hover {
|
|
24215
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24216
|
+
}
|
|
24217
|
+
@media not print {
|
|
24218
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_closed:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_closed:hover {
|
|
24219
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24220
|
+
}
|
|
24221
|
+
}
|
|
24222
|
+
}
|
|
24223
|
+
.code-editor .ace_editor .ace_gutter-active-line {
|
|
24224
|
+
background-color: var(--color-background-code-editor-gutter-active-line-default-51v1pv, #656871);
|
|
24225
|
+
color: var(--color-text-code-editor-gutter-active-line-2addhd, #ffffff);
|
|
24226
|
+
}
|
|
24227
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_fold-widget:focus,
|
|
24228
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_gutter_annotation:focus {
|
|
24229
|
+
position: relative;
|
|
24230
|
+
}
|
|
24231
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_fold-widget:focus,
|
|
24232
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_gutter_annotation:focus {
|
|
24233
|
+
outline: 2px dotted transparent;
|
|
24234
|
+
outline-offset: calc(-2px - 1px);
|
|
24235
|
+
}
|
|
24236
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_fold-widget:focus::before,
|
|
24237
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_gutter_annotation:focus::before {
|
|
24238
|
+
content: " ";
|
|
24239
|
+
display: block;
|
|
24240
|
+
position: absolute;
|
|
24241
|
+
inset-inline-start: calc(-1 * -2px);
|
|
24242
|
+
inset-block-start: calc(-1 * -2px);
|
|
24243
|
+
inline-size: calc(100% + -2px + -2px);
|
|
24244
|
+
block-size: calc(100% + -2px + -2px);
|
|
24245
|
+
border-start-start-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24246
|
+
border-start-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24247
|
+
border-end-start-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24248
|
+
border-end-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24249
|
+
box-shadow: 0 0 0 2px var(--color-text-code-editor-gutter-active-line-2addhd, #ffffff);
|
|
24250
|
+
}
|
|
24251
|
+
@supports (--css-variable-support-check: #000) {
|
|
24252
|
+
body .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open {
|
|
24253
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24254
|
+
}
|
|
24255
|
+
@media not print {
|
|
24256
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open {
|
|
24257
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%231b232d' fill='%231b232d' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24258
|
+
}
|
|
24259
|
+
}
|
|
24260
|
+
}
|
|
24261
|
+
@supports (--css-variable-support-check: #000) {
|
|
24262
|
+
body .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:hover {
|
|
24263
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24264
|
+
}
|
|
24265
|
+
@media not print {
|
|
24266
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:hover {
|
|
24267
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24268
|
+
}
|
|
24269
|
+
}
|
|
24270
|
+
}
|
|
24271
|
+
@supports (--css-variable-support-check: #000) {
|
|
24272
|
+
body .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed {
|
|
24273
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24274
|
+
}
|
|
24275
|
+
@media not print {
|
|
24276
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed {
|
|
24277
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%231b232d' fill='%231b232d' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24278
|
+
}
|
|
24279
|
+
}
|
|
24280
|
+
}
|
|
24281
|
+
@supports (--css-variable-support-check: #000) {
|
|
24282
|
+
body .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:hover {
|
|
24283
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24284
|
+
}
|
|
24285
|
+
@media not print {
|
|
24286
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:hover {
|
|
24287
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24288
|
+
}
|
|
24289
|
+
}
|
|
24290
|
+
}
|
|
24291
|
+
.code-editor .ace_editor .ace_gutter-active-line.ace_error {
|
|
24292
|
+
color: var(--color-text-code-editor-gutter-active-line-2addhd, #ffffff);
|
|
24293
|
+
background-color: var(--color-background-code-editor-gutter-active-line-error-ro2qo1, #db0000);
|
|
24294
|
+
}
|
|
24295
|
+
@supports (--css-variable-support-check: #000) {
|
|
24296
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_error {
|
|
24297
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23ffffff' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
|
|
24298
|
+
}
|
|
24299
|
+
@media not print {
|
|
24300
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error {
|
|
24301
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
|
|
24302
|
+
}
|
|
24303
|
+
}
|
|
24304
|
+
}
|
|
24305
|
+
@supports (--css-variable-support-check: #000) {
|
|
24306
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_warning {
|
|
24307
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23ffffff' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
|
|
24308
|
+
}
|
|
24309
|
+
@media not print {
|
|
24310
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning {
|
|
24311
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
|
|
24312
|
+
}
|
|
24313
|
+
}
|
|
24314
|
+
}
|
|
24315
|
+
@supports (--css-variable-support-check: #000) {
|
|
24316
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open, body .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open {
|
|
24317
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24318
|
+
}
|
|
24319
|
+
@media not print {
|
|
24320
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open, body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open {
|
|
24321
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%231b232d' fill='%231b232d' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24322
|
+
}
|
|
24323
|
+
}
|
|
24324
|
+
}
|
|
24325
|
+
@supports (--css-variable-support-check: #000) {
|
|
24326
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:hover, body .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:hover {
|
|
24327
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24328
|
+
}
|
|
24329
|
+
@media not print {
|
|
24330
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:hover, body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:hover {
|
|
24331
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24332
|
+
}
|
|
24333
|
+
}
|
|
24334
|
+
}
|
|
24335
|
+
@supports (--css-variable-support-check: #000) {
|
|
24336
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed, body .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed {
|
|
24337
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24338
|
+
}
|
|
24339
|
+
@media not print {
|
|
24340
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed, body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed {
|
|
24341
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%231b232d' fill='%231b232d' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24342
|
+
}
|
|
24343
|
+
}
|
|
24344
|
+
}
|
|
24345
|
+
@supports (--css-variable-support-check: #000) {
|
|
24346
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:hover, body .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:hover {
|
|
24347
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24348
|
+
}
|
|
24349
|
+
@media not print {
|
|
24350
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:hover, body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:hover {
|
|
24351
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24352
|
+
}
|
|
24353
|
+
}
|
|
24354
|
+
}
|
|
24355
|
+
|
|
24356
|
+
.pane {
|
|
24357
|
+
display: flex;
|
|
24358
|
+
position: relative;
|
|
24359
|
+
flex-direction: row;
|
|
24360
|
+
flex: 1;
|
|
24361
|
+
border-block-start: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-default-2bfcfq, #dedee3);
|
|
24362
|
+
border-end-start-radius: var(--border-radius-code-editor-5palck, 8px);
|
|
24363
|
+
border-end-end-radius: var(--border-radius-code-editor-5palck, 8px);
|
|
24364
|
+
background: var(--color-background-code-editor-status-bar-yjtxod, #f3f3f7);
|
|
24365
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
24366
|
+
}
|
|
24367
|
+
.pane__close-container {
|
|
24368
|
+
position: absolute;
|
|
24369
|
+
inset-block-start: 0;
|
|
24370
|
+
inset-inline-end: calc(var(--space-s-tvghoh, 12px) / 2);
|
|
24371
|
+
}
|
|
24372
|
+
.pane__list {
|
|
24373
|
+
flex: 1;
|
|
24374
|
+
overflow: auto;
|
|
24375
|
+
max-block-size: 100%;
|
|
24376
|
+
box-sizing: border-box;
|
|
24377
|
+
margin-inline-end: calc(var(--line-height-body-m-2mh3ke, 20px) + 2 * var(--space-xs-ymlm0b, 8px));
|
|
24378
|
+
}
|
|
24379
|
+
.pane__table {
|
|
24380
|
+
inline-size: 100%;
|
|
24381
|
+
border-spacing: 0;
|
|
24382
|
+
margin-block: var(--space-s-tvghoh, 12px);
|
|
24383
|
+
margin-inline: 0;
|
|
24384
|
+
}
|
|
24385
|
+
.pane__item > .pane__cell {
|
|
24386
|
+
border-block-start: var(--border-item-width-miijiw, 2px) solid var(--color-transparent-i61gs1, transparent);
|
|
24387
|
+
border-block-end: var(--border-item-width-miijiw, 2px) solid var(--color-transparent-i61gs1, transparent);
|
|
24388
|
+
}
|
|
24389
|
+
.pane__item > .pane__cell:first-child {
|
|
24390
|
+
border-inline-start: var(--border-item-width-miijiw, 2px) solid var(--color-transparent-i61gs1, transparent);
|
|
24391
|
+
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24392
|
+
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24393
|
+
}
|
|
24394
|
+
.pane__item > .pane__cell:last-child {
|
|
24395
|
+
border-inline-end: var(--border-item-width-miijiw, 2px) solid var(--color-transparent-i61gs1, transparent);
|
|
24396
|
+
border-start-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24397
|
+
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24398
|
+
}
|
|
24399
|
+
.pane__item--highlighted, .pane__item:hover, .pane__item:focus {
|
|
24400
|
+
cursor: pointer;
|
|
24401
|
+
outline: none;
|
|
24402
|
+
}
|
|
24403
|
+
.pane__item--highlighted > .pane__cell, .pane__item:hover > .pane__cell, .pane__item:focus > .pane__cell {
|
|
24404
|
+
background-color: var(--color-background-code-editor-pane-item-hover-z6k9mr, #ebebf0);
|
|
24405
|
+
}
|
|
24406
|
+
.pane__item--highlighted > .pane__cell, .pane__item:hover > .pane__cell, .pane__item:focus > .pane__cell {
|
|
24407
|
+
border-block-start: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-pane-item-hover-wvblek, #8c8c94);
|
|
24408
|
+
border-block-end: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-pane-item-hover-wvblek, #8c8c94);
|
|
24409
|
+
}
|
|
24410
|
+
.pane__item--highlighted > .pane__cell:first-child, .pane__item:hover > .pane__cell:first-child, .pane__item:focus > .pane__cell:first-child {
|
|
24411
|
+
border-inline-start: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-pane-item-hover-wvblek, #8c8c94);
|
|
24412
|
+
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24413
|
+
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24414
|
+
}
|
|
24415
|
+
.pane__item--highlighted > .pane__cell:last-child, .pane__item:hover > .pane__cell:last-child, .pane__item:focus > .pane__cell:last-child {
|
|
24416
|
+
border-inline-end: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-pane-item-hover-wvblek, #8c8c94);
|
|
24417
|
+
border-start-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24418
|
+
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24419
|
+
}
|
|
24420
|
+
.pane__location, .pane__description {
|
|
24421
|
+
padding-block: var(--space-xxs-hwfkai, 4px);
|
|
23915
24422
|
padding-inline: var(--space-s-tvghoh, 12px);
|
|
23916
24423
|
}
|
|
23917
24424
|
.pane__location {
|
|
@@ -24383,7 +24890,7 @@ customElements.define("cs-code-editor", CsCodeEditor);
|
|
|
24383
24890
|
import { css as css144, html as html67, nothing as nothing38 } from "lit";
|
|
24384
24891
|
import { property as property66 } from "lit/decorators.js";
|
|
24385
24892
|
import { classMap as classMap55 } from "lit/directives/class-map.js";
|
|
24386
|
-
import { ifDefined as
|
|
24893
|
+
import { ifDefined as ifDefined35 } from "lit/directives/if-defined.js";
|
|
24387
24894
|
|
|
24388
24895
|
// src/top-navigation/styles.ts
|
|
24389
24896
|
import { css as css143 } from "lit";
|
|
@@ -24791,10 +25298,10 @@ var CsTopNavigationInternal = class extends CsBaseElement {
|
|
|
24791
25298
|
<div class=${classMap55(identityClasses)}>
|
|
24792
25299
|
<a
|
|
24793
25300
|
class="identity-link"
|
|
24794
|
-
href=${
|
|
25301
|
+
href=${ifDefined35(this.identity.href)}
|
|
24795
25302
|
@click=${(e) => this._onIdentityClick(e)}
|
|
24796
25303
|
>
|
|
24797
|
-
${hasLogo ? html67`<img class="logo" src=${this.identity.logo.src} alt=${
|
|
25304
|
+
${hasLogo ? html67`<img class="logo" src=${this.identity.logo.src} alt=${ifDefined35(this.identity.logo.alt)} />` : nothing38}
|
|
24798
25305
|
${this.identity.title ? html67`<span class="title">${this.identity.title}</span>` : nothing38}
|
|
24799
25306
|
</a>
|
|
24800
25307
|
</div>
|
|
@@ -24813,9 +25320,9 @@ var CsTopNavigationInternal = class extends CsBaseElement {
|
|
|
24813
25320
|
<a
|
|
24814
25321
|
class="overflow-menu-control overflow-menu-control-link"
|
|
24815
25322
|
href=${utility.href}
|
|
24816
|
-
target=${
|
|
24817
|
-
rel=${
|
|
24818
|
-
aria-label=${
|
|
25323
|
+
target=${ifDefined35(utility.target)}
|
|
25324
|
+
rel=${ifDefined35(utility.rel || (utility.target === "_blank" ? "noopener noreferrer" : void 0))}
|
|
25325
|
+
aria-label=${ifDefined35(utility.ariaLabel)}
|
|
24819
25326
|
@click=${(e) => this._onUtilityButtonClick(utility, e)}
|
|
24820
25327
|
>
|
|
24821
25328
|
${utility.iconName ? html67`<span class="utility-link-icon"><cs-icon name=${utility.iconName}></cs-icon></span>` : nothing38}
|
|
@@ -24830,7 +25337,7 @@ var CsTopNavigationInternal = class extends CsBaseElement {
|
|
|
24830
25337
|
<button
|
|
24831
25338
|
type="button"
|
|
24832
25339
|
class="overflow-menu-control"
|
|
24833
|
-
aria-label=${
|
|
25340
|
+
aria-label=${ifDefined35(utility.ariaLabel)}
|
|
24834
25341
|
@click=${(e) => this._onUtilityButtonClick(utility, e)}
|
|
24835
25342
|
>
|
|
24836
25343
|
${utility.iconName ? html67`<span class="utility-link-icon"><cs-icon name=${utility.iconName}></cs-icon></span>` : nothing38}
|
|
@@ -24849,7 +25356,7 @@ var CsTopNavigationInternal = class extends CsBaseElement {
|
|
|
24849
25356
|
<cs-button-dropdown
|
|
24850
25357
|
.items=${utility.items}
|
|
24851
25358
|
variant="normal"
|
|
24852
|
-
aria-label=${
|
|
25359
|
+
aria-label=${ifDefined35(utility.ariaLabel)}
|
|
24853
25360
|
>
|
|
24854
25361
|
${utility.iconName ? html67`<cs-icon name=${utility.iconName}></cs-icon>` : nothing38}
|
|
24855
25362
|
${utility.text ?? ""}
|
|
@@ -24865,7 +25372,7 @@ var CsTopNavigationInternal = class extends CsBaseElement {
|
|
|
24865
25372
|
}
|
|
24866
25373
|
render() {
|
|
24867
25374
|
return html67`
|
|
24868
|
-
<nav class="top-navigation" aria-label=${
|
|
25375
|
+
<nav class="top-navigation" aria-label=${ifDefined35(this.ariaLabel || "Site")}>
|
|
24869
25376
|
<div class="padding-box">
|
|
24870
25377
|
${this._renderIdentity()}
|
|
24871
25378
|
<div class="inputs">
|
|
@@ -24900,7 +25407,7 @@ customElements.define("cs-top-navigation", CsTopNavigation);
|
|
|
24900
25407
|
import { css as css146, html as html68, nothing as nothing39 } from "lit";
|
|
24901
25408
|
import { property as property67, state as state21 } from "lit/decorators.js";
|
|
24902
25409
|
import { classMap as classMap56 } from "lit/directives/class-map.js";
|
|
24903
|
-
import { ifDefined as
|
|
25410
|
+
import { ifDefined as ifDefined36 } from "lit/directives/if-defined.js";
|
|
24904
25411
|
|
|
24905
25412
|
// src/side-navigation/styles.ts
|
|
24906
25413
|
import { css as css145 } from "lit";
|
|
@@ -25229,7 +25736,7 @@ var CsSideNavigationInternal = class extends CsBaseElement {
|
|
|
25229
25736
|
e
|
|
25230
25737
|
)}
|
|
25231
25738
|
>
|
|
25232
|
-
${hasLogo ? html68`<img class="header-logo" src=${this.header.logo.src} alt=${
|
|
25739
|
+
${hasLogo ? html68`<img class="header-logo" src=${this.header.logo.src} alt=${ifDefined36(this.header.logo.alt)} />` : nothing39}
|
|
25233
25740
|
${this.header.text ? html68`<span class="header-link-text">${this.header.text}</span>` : nothing39}
|
|
25234
25741
|
</a>
|
|
25235
25742
|
</div>
|
|
@@ -25371,7 +25878,7 @@ var CsSideNavigationInternal = class extends CsBaseElement {
|
|
|
25371
25878
|
}
|
|
25372
25879
|
render() {
|
|
25373
25880
|
return html68`
|
|
25374
|
-
<nav class="root" aria-label=${
|
|
25881
|
+
<nav class="root" aria-label=${ifDefined36(this.ariaLabel || "Side navigation")}>
|
|
25375
25882
|
${this._renderHeader()}
|
|
25376
25883
|
<slot name="itemsControl"></slot>
|
|
25377
25884
|
<div class="list-container">
|
|
@@ -26248,6 +26755,7 @@ var CsSplitPanelInternal = class extends CsBaseElement {
|
|
|
26248
26755
|
constructor() {
|
|
26249
26756
|
super(...arguments);
|
|
26250
26757
|
this.header = "";
|
|
26758
|
+
this.ariaLabel = null;
|
|
26251
26759
|
this.hidePreferencesButton = false;
|
|
26252
26760
|
this.closeBehavior = "collapse";
|
|
26253
26761
|
this.size = 250;
|
|
@@ -26272,7 +26780,7 @@ var CsSplitPanelInternal = class extends CsBaseElement {
|
|
|
26272
26780
|
this.styles = [sharedStyles, componentStyles68, hostStyles70];
|
|
26273
26781
|
}
|
|
26274
26782
|
get _regionLabel() {
|
|
26275
|
-
return this.panelAriaLabel || this.header;
|
|
26783
|
+
return this.ariaLabel || this.panelAriaLabel || this.header;
|
|
26276
26784
|
}
|
|
26277
26785
|
render() {
|
|
26278
26786
|
const closeLabel = this.i18nStrings?.closeButtonAriaLabel ?? "Close";
|
|
@@ -26421,6 +26929,9 @@ var CsSplitPanelInternal = class extends CsBaseElement {
|
|
|
26421
26929
|
__decorateClass([
|
|
26422
26930
|
property70({ type: String })
|
|
26423
26931
|
], CsSplitPanelInternal.prototype, "header", 2);
|
|
26932
|
+
__decorateClass([
|
|
26933
|
+
property70({ type: String })
|
|
26934
|
+
], CsSplitPanelInternal.prototype, "ariaLabel", 2);
|
|
26424
26935
|
__decorateClass([
|
|
26425
26936
|
property70({ type: Boolean, reflect: true })
|
|
26426
26937
|
], CsSplitPanelInternal.prototype, "hidePreferencesButton", 2);
|
|
@@ -26508,7 +27019,7 @@ customElements.define("cs-annotation-context", CsAnnotationContext);
|
|
|
26508
27019
|
import { css as css154, html as html73 } from "lit";
|
|
26509
27020
|
import { property as property72 } from "lit/decorators.js";
|
|
26510
27021
|
import { classMap as classMap59 } from "lit/directives/class-map.js";
|
|
26511
|
-
import { ifDefined as
|
|
27022
|
+
import { ifDefined as ifDefined37 } from "lit/directives/if-defined.js";
|
|
26512
27023
|
import { consume as consume5 } from "@lit/context";
|
|
26513
27024
|
|
|
26514
27025
|
// src/textarea/styles.ts
|
|
@@ -26702,16 +27213,16 @@ var CsTextareaInternal = class extends Base13 {
|
|
|
26702
27213
|
<textarea
|
|
26703
27214
|
class=${classMap59(textareaClasses)}
|
|
26704
27215
|
.value=${this.value}
|
|
26705
|
-
placeholder=${
|
|
27216
|
+
placeholder=${ifDefined37(this.placeholder || void 0)}
|
|
26706
27217
|
rows=${this.rows}
|
|
26707
27218
|
?disabled=${this.disabled}
|
|
26708
27219
|
?readonly=${this.readOnly}
|
|
26709
27220
|
?autofocus=${this.autoFocus}
|
|
26710
|
-
id=${
|
|
26711
|
-
aria-label=${
|
|
26712
|
-
aria-labelledby=${
|
|
26713
|
-
aria-describedby=${
|
|
26714
|
-
aria-invalid=${
|
|
27221
|
+
id=${ifDefined37(controlId)}
|
|
27222
|
+
aria-label=${ifDefined37(this.ariaLabel || void 0)}
|
|
27223
|
+
aria-labelledby=${ifDefined37(!this.ariaLabel ? ariaLabelledby : void 0)}
|
|
27224
|
+
aria-describedby=${ifDefined37(this._resolvedAriaDescribedby)}
|
|
27225
|
+
aria-invalid=${ifDefined37(this._isInvalid ? "true" : void 0)}
|
|
26715
27226
|
@input=${this._onInput}
|
|
26716
27227
|
@blur=${this._onBlur}
|
|
26717
27228
|
@focus=${this._onFocus}
|
|
@@ -26883,7 +27394,7 @@ customElements.define("cs-text-filter", CsTextFilter);
|
|
|
26883
27394
|
import { css as css158, html as html75 } from "lit";
|
|
26884
27395
|
import { property as property74 } from "lit/decorators.js";
|
|
26885
27396
|
import { classMap as classMap60 } from "lit/directives/class-map.js";
|
|
26886
|
-
import { ifDefined as
|
|
27397
|
+
import { ifDefined as ifDefined38 } from "lit/directives/if-defined.js";
|
|
26887
27398
|
import { consume as consume6 } from "@lit/context";
|
|
26888
27399
|
|
|
26889
27400
|
// src/time-input/styles.ts
|
|
@@ -26962,11 +27473,11 @@ var CsTimeInputInternal = class extends Base14 {
|
|
|
26962
27473
|
?disabled=${this.disabled}
|
|
26963
27474
|
?readonly=${this.readOnly}
|
|
26964
27475
|
?autofocus=${this.autoFocus}
|
|
26965
|
-
id=${
|
|
26966
|
-
aria-label=${
|
|
26967
|
-
aria-labelledby=${
|
|
26968
|
-
aria-describedby=${
|
|
26969
|
-
aria-invalid=${
|
|
27476
|
+
id=${ifDefined38(controlId)}
|
|
27477
|
+
aria-label=${ifDefined38(this.ariaLabel || void 0)}
|
|
27478
|
+
aria-labelledby=${ifDefined38(!this.ariaLabel ? ariaLabelledby : void 0)}
|
|
27479
|
+
aria-describedby=${ifDefined38(this._resolvedAriaDescribedby)}
|
|
27480
|
+
aria-invalid=${ifDefined38(this._isInvalid ? "true" : void 0)}
|
|
26970
27481
|
@input=${this._onInput}
|
|
26971
27482
|
@blur=${this._onBlur}
|
|
26972
27483
|
@focus=${this._onFocus}
|
|
@@ -27867,6 +28378,16 @@ var appLayoutTogglesStyles = css171`
|
|
|
27867
28378
|
// src/internal/styles/app-layout-visual-refresh.ts
|
|
27868
28379
|
import { css as css172 } from "lit";
|
|
27869
28380
|
var appLayoutVisualRefreshStyles = css172`
|
|
28381
|
+
div.app-layout-visual-refresh--background {
|
|
28382
|
+
display: contents;
|
|
28383
|
+
}
|
|
28384
|
+
div.app-layout-visual-refresh--background > .app-layout-visual-refresh--scrolling-background {
|
|
28385
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28386
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
28387
|
+
grid-column: 1/span 5;
|
|
28388
|
+
grid-row: 1/9;
|
|
28389
|
+
}
|
|
28390
|
+
|
|
27870
28391
|
.app-layout-visual-refresh--breadcrumbs {
|
|
27871
28392
|
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
27872
28393
|
grid-area: breadcrumbs;
|
|
@@ -27896,78 +28417,886 @@ var appLayoutVisualRefreshStyles = css172`
|
|
|
27896
28417
|
position: fixed;
|
|
27897
28418
|
inset-inline-end: 0;
|
|
27898
28419
|
z-index: 1001;
|
|
27899
|
-
|
|
27900
|
-
|
|
27901
|
-
|
|
28420
|
+
/*
|
|
28421
|
+
When disableBodyScroll is true the offsetTop will be relative to the
|
|
28422
|
+
app layout and not the body. However, the drawer position changes
|
|
28423
|
+
to fixed in mobile viewports. The top value needs to include the
|
|
28424
|
+
header because fixed position switches the top value so it is now
|
|
28425
|
+
relative to the body.
|
|
28426
|
+
*/
|
|
28427
|
+
}
|
|
28428
|
+
.app-layout-visual-refresh--drawers-container.app-layout-visual-refresh--disable-body-scroll {
|
|
28429
|
+
inset-block-start: var(--awsui-header-height-6b9ypa);
|
|
28430
|
+
}
|
|
27902
28431
|
}
|
|
27903
28432
|
|
|
27904
|
-
.app-layout-visual-refresh--container {
|
|
27905
|
-
|
|
27906
|
-
|
|
27907
|
-
|
|
27908
|
-
|
|
27909
|
-
|
|
27910
|
-
|
|
27911
|
-
|
|
27912
|
-
|
|
27913
|
-
box-shadow: var(--shadow-sticky-lolw8j, 0px 4px 8px 1px rgba(0, 7, 22, 0.1));
|
|
28433
|
+
.app-layout-visual-refresh--drawers-desktop-triggers-container {
|
|
28434
|
+
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
28435
|
+
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
28436
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
28437
|
+
font-weight: 400;
|
|
28438
|
+
font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
28439
|
+
-webkit-font-smoothing: auto;
|
|
28440
|
+
-moz-osx-font-smoothing: auto;
|
|
28441
|
+
background-color: transparent;
|
|
27914
28442
|
box-sizing: border-box;
|
|
27915
|
-
block-size:
|
|
27916
|
-
|
|
27917
|
-
|
|
27918
|
-
|
|
27919
|
-
|
|
27920
|
-
padding-block: 0;
|
|
27921
|
-
padding-inline: var(--space-m-dsumyt, 16px);
|
|
27922
|
-
position: sticky;
|
|
27923
|
-
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
27924
|
-
z-index: 1000;
|
|
27925
|
-
}
|
|
27926
|
-
section.app-layout-visual-refresh--mobile-toolbar:not(.app-layout-visual-refresh--remove-high-contrast-header) {
|
|
27927
|
-
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
27928
|
-
box-shadow: var(--shadow-panel-toggle-qddz27, 0px 6px 12px 1px rgba(0, 7, 22, 0.12));
|
|
28443
|
+
block-size: 100%;
|
|
28444
|
+
overflow-y: hidden;
|
|
28445
|
+
overflow-x: hidden;
|
|
28446
|
+
|
|
28447
|
+
overscroll-behavior-y: contain;
|
|
27929
28448
|
}
|
|
27930
|
-
|
|
27931
|
-
|
|
27932
|
-
margin-inline-end: var(--space-m-dsumyt, 16px);
|
|
28449
|
+
.app-layout-visual-refresh--drawers-desktop-triggers-container:not(.app-layout-visual-refresh--has-multiple-triggers).app-layout-visual-refresh--has-open-drawer {
|
|
28450
|
+
inline-size: 0;
|
|
27933
28451
|
}
|
|
27934
|
-
|
|
27935
|
-
|
|
27936
|
-
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28452
|
+
.app-layout-visual-refresh--drawers-desktop-triggers-container.app-layout-visual-refresh--has-multiple-triggers.app-layout-visual-refresh--has-open-drawer {
|
|
28453
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
27937
28454
|
}
|
|
27938
|
-
|
|
27939
|
-
|
|
27940
|
-
margin-inline-start: var(--space-m-dsumyt, 16px);
|
|
28455
|
+
.app-layout-visual-refresh--drawers-desktop-triggers-container:not(.app-layout-visual-refresh--has-multiple-triggers):not(.app-layout-visual-refresh--has-open-drawer) {
|
|
28456
|
+
inline-size: calc(var(--space-layout-toggle-padding-chwlhz, 12px) * 2 + var(--space-layout-toggle-diameter-j2qffw, 36px));
|
|
27941
28457
|
}
|
|
27942
28458
|
|
|
27943
|
-
.app-layout-visual-refresh--
|
|
28459
|
+
.app-layout-visual-refresh--drawers-mobile-triggers-container {
|
|
27944
28460
|
display: flex;
|
|
27945
|
-
|
|
27946
|
-
grid-row: 1/span 9;
|
|
27947
|
-
block-size: var(--awsui-content-height-6b9ypa);
|
|
27948
|
-
position: sticky;
|
|
27949
|
-
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
27950
|
-
z-index: 830;
|
|
27951
|
-
|
|
27952
|
-
.app-layout-visual-refresh--notifications {
|
|
27953
|
-
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
27954
|
-
grid-area: notifications;
|
|
27955
|
-
z-index: 850;
|
|
28461
|
+
justify-content: flex-end;
|
|
27956
28462
|
}
|
|
27957
|
-
|
|
28463
|
+
|
|
28464
|
+
.app-layout-visual-refresh--drawers-trigger-content {
|
|
28465
|
+
align-items: center;
|
|
28466
|
+
display: flex;
|
|
28467
|
+
flex-direction: column;
|
|
28468
|
+
gap: var(--space-xs-ymlm0b, 8px);
|
|
27958
28469
|
padding-block-start: var(--space-scaled-s-8ozaad, 12px);
|
|
28470
|
+
inline-size: calc(var(--space-layout-toggle-padding-chwlhz, 12px) * 2 + var(--space-layout-toggle-diameter-j2qffw, 36px));
|
|
27959
28471
|
}
|
|
27960
|
-
|
|
27961
|
-
|
|
27962
|
-
|
|
27963
|
-
|
|
27964
|
-
|
|
27965
|
-
|
|
27966
|
-
|
|
27967
|
-
|
|
27968
|
-
|
|
27969
|
-
|
|
27970
|
-
|
|
28472
|
+
.app-layout-visual-refresh--drawers-trigger-content:not(.app-layout-visual-refresh--has-multiple-triggers).app-layout-visual-refresh--has-open-drawer {
|
|
28473
|
+
opacity: 0;
|
|
28474
|
+
}
|
|
28475
|
+
.app-layout-visual-refresh--drawers-trigger-content:not(.app-layout-visual-refresh--has-multiple-triggers):not(.app-layout-visual-refresh--has-open-drawer) {
|
|
28476
|
+
opacity: 1;
|
|
28477
|
+
}
|
|
28478
|
+
.app-layout-visual-refresh--drawers-trigger-content > .app-layout-visual-refresh--drawers-trigger-overflow {
|
|
28479
|
+
padding-block: 0;
|
|
28480
|
+
padding-inline: 1px;
|
|
28481
|
+
display: flex;
|
|
28482
|
+
align-items: center;
|
|
28483
|
+
justify-content: center;
|
|
28484
|
+
}
|
|
28485
|
+
|
|
28486
|
+
@media (max-width: 688px) {
|
|
28487
|
+
.app-layout-visual-refresh--drawers-trigger {
|
|
28488
|
+
inline-size: 40px;
|
|
28489
|
+
display: flex;
|
|
28490
|
+
justify-content: center;
|
|
28491
|
+
}
|
|
28492
|
+
}
|
|
28493
|
+
|
|
28494
|
+
.app-layout-visual-refresh--drawer {
|
|
28495
|
+
--awsui-drawer-size-6b9ypa: 290px;
|
|
28496
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
28497
|
+
border-color: transparent;
|
|
28498
|
+
display: grid;
|
|
28499
|
+
grid-template-columns: var(--space-m-dsumyt, 16px) 1fr;
|
|
28500
|
+
flex-shrink: 0;
|
|
28501
|
+
block-size: 100%;
|
|
28502
|
+
overflow-y: hidden;
|
|
28503
|
+
overflow-x: hidden;
|
|
28504
|
+
|
|
28505
|
+
overscroll-behavior-y: contain;
|
|
28506
|
+
pointer-events: auto;
|
|
28507
|
+
word-wrap: break-word;
|
|
28508
|
+
}
|
|
28509
|
+
.app-layout-visual-refresh--drawer > .app-layout-visual-refresh--drawer-content-container {
|
|
28510
|
+
grid-column: 1/span 2;
|
|
28511
|
+
grid-row: 1;
|
|
28512
|
+
inline-size: var(--awsui-drawer-size-6b9ypa);
|
|
28513
|
+
display: grid;
|
|
28514
|
+
grid-template-columns: var(--space-m-dsumyt, 16px) 1fr auto var(--space-m-dsumyt, 16px);
|
|
28515
|
+
grid-template-rows: var(--size-vertical-panel-icon-offset-z959cw, 15px) auto 1fr;
|
|
28516
|
+
overflow-y: auto;
|
|
28517
|
+
}
|
|
28518
|
+
.app-layout-visual-refresh--drawer > .app-layout-visual-refresh--drawer-content-container > .app-layout-visual-refresh--drawer-close-button {
|
|
28519
|
+
grid-column: 3;
|
|
28520
|
+
grid-row: 2;
|
|
28521
|
+
z-index: 1;
|
|
28522
|
+
}
|
|
28523
|
+
.app-layout-visual-refresh--drawer > .app-layout-visual-refresh--drawer-content-container > .app-layout-visual-refresh--drawer-content {
|
|
28524
|
+
grid-column: 1/span 4;
|
|
28525
|
+
block-size: var(--awsui-content-height-6b9ypa);
|
|
28526
|
+
}
|
|
28527
|
+
.app-layout-visual-refresh--drawer > .app-layout-visual-refresh--drawer-content-container > .app-layout-visual-refresh--drawer-content.app-layout-visual-refresh--drawer-content-hidden {
|
|
28528
|
+
display: none;
|
|
28529
|
+
}
|
|
28530
|
+
.app-layout-visual-refresh--drawer > .app-layout-visual-refresh--drawer-slider {
|
|
28531
|
+
grid-column: 1;
|
|
28532
|
+
grid-row: 1;
|
|
28533
|
+
block-size: 100%;
|
|
28534
|
+
display: flex;
|
|
28535
|
+
align-items: center;
|
|
28536
|
+
z-index: 850;
|
|
28537
|
+
}
|
|
28538
|
+
.app-layout-visual-refresh--drawer:not(.app-layout-visual-refresh--is-drawer-open) {
|
|
28539
|
+
opacity: 0;
|
|
28540
|
+
inline-size: 0;
|
|
28541
|
+
}
|
|
28542
|
+
.app-layout-visual-refresh--drawer.app-layout-visual-refresh--is-drawer-open {
|
|
28543
|
+
border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
28544
|
+
border-inline-start: solid var(--border-divider-section-width-uwo8my, 1px) var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
28545
|
+
opacity: 1;
|
|
28546
|
+
inline-size: var(--awsui-drawer-size-6b9ypa);
|
|
28547
|
+
}
|
|
28548
|
+
@media (min-width: 2541px) {
|
|
28549
|
+
.app-layout-visual-refresh--drawer.app-layout-visual-refresh--is-drawer-open {
|
|
28550
|
+
--awsui-drawer-size-6b9ypa: 320px;
|
|
28551
|
+
}
|
|
28552
|
+
}
|
|
28553
|
+
@media (max-width: 688px) {
|
|
28554
|
+
.app-layout-visual-refresh--drawer.app-layout-visual-refresh--is-drawer-open {
|
|
28555
|
+
--awsui-drawer-size-6b9ypa: 100vw;
|
|
28556
|
+
inline-size: 100vw;
|
|
28557
|
+
}
|
|
28558
|
+
}
|
|
28559
|
+
|
|
28560
|
+
header.app-layout-visual-refresh--content {
|
|
28561
|
+
grid-area: header;
|
|
28562
|
+
}
|
|
28563
|
+
|
|
28564
|
+
/*
|
|
28565
|
+
The first and last column definitions have two responsibilities.
|
|
28566
|
+
If Navigation and/or Tools exist then that will determine the width of
|
|
28567
|
+
the first and last columns, respectively, and the content in these drawers
|
|
28568
|
+
will create horizontal space from the center column content. However, if the
|
|
28569
|
+
navigationHide and/or toolsHide properties have been set then the first
|
|
28570
|
+
and last column width will default to the minimum content gap properties to
|
|
28571
|
+
create the necessary visual space around the main content.
|
|
28572
|
+
|
|
28573
|
+
The minimum content width property is set to zero and applied under all
|
|
28574
|
+
circumstances regardless of whether the minContentWidth property is
|
|
28575
|
+
explicitly set in script.
|
|
28576
|
+
*/
|
|
28577
|
+
.app-layout-visual-refresh--layout {
|
|
28578
|
+
--awsui-breadcrumbs-gap-6b9ypa: 0px;
|
|
28579
|
+
--awsui-content-gap-left-6b9ypa: 0px;
|
|
28580
|
+
--awsui-content-gap-right-6b9ypa: 0px;
|
|
28581
|
+
--awsui-content-height-6b9ypa: calc(100vh - var(--awsui-header-height-6b9ypa) - var(--awsui-footer-height-6b9ypa));
|
|
28582
|
+
--awsui-default-max-content-width-6b9ypa: 1280px;
|
|
28583
|
+
--awsui-default-min-content-width-6b9ypa: 0px;
|
|
28584
|
+
--awsui-footer-height-6b9ypa: 0px;
|
|
28585
|
+
--awsui-header-gap-6b9ypa: 0px;
|
|
28586
|
+
--awsui-header-height-6b9ypa: 0px;
|
|
28587
|
+
--awsui-layout-width-6b9ypa: 0px;
|
|
28588
|
+
--awsui-main-gap-6b9ypa: 0px;
|
|
28589
|
+
--awsui-main-offset-left-6b9ypa: 0px;
|
|
28590
|
+
--awsui-main-template-rows-6b9ypa: 1fr;
|
|
28591
|
+
--awsui-max-content-width-6b9ypa: 0px;
|
|
28592
|
+
--awsui-min-content-width-6b9ypa: 280px;
|
|
28593
|
+
--awsui-mobile-bar-height-6b9ypa: calc(2 * var(--space-m-dsumyt, 16px) + var(--space-scaled-xs-xwoogq, 8px));
|
|
28594
|
+
--awsui-notifications-height-6b9ypa: 0px;
|
|
28595
|
+
--awsui-offset-top-6b9ypa: var(--awsui-header-height-6b9ypa);
|
|
28596
|
+
--awsui-overlap-height-6b9ypa: var(--space-dark-header-overlap-distance-ld45ap, 36px);
|
|
28597
|
+
--awsui-toggles-left-width-6b9ypa: 0px;
|
|
28598
|
+
--awsui-toggles-right-width-6b9ypa: 0px;
|
|
28599
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28600
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
28601
|
+
display: grid;
|
|
28602
|
+
grid-template-areas: ". . mobileToolbar . ." ". . notifications . ." ". . breadcrumbsGap . ." ". . breadcrumbs . ." ". . headerGap . ." ". . header . ." ". . mainGap . ." ". . main . ." ". . main . .";
|
|
28603
|
+
grid-template-columns: min-content minmax(var(--awsui-content-gap-left-6b9ypa), 1fr) minmax(var(--awsui-default-min-content-width-6b9ypa), var(--awsui-default-max-content-width-6b9ypa)) minmax(var(--awsui-content-gap-right-6b9ypa), 1fr) min-content;
|
|
28604
|
+
grid-template-rows: auto auto var(--awsui-breadcrumbs-gap-6b9ypa) auto var(--awsui-header-gap-6b9ypa) auto var(--awsui-main-gap-6b9ypa) var(--awsui-overlap-height-6b9ypa) var(--awsui-main-template-rows-6b9ypa);
|
|
28605
|
+
min-block-size: var(--awsui-content-height-6b9ypa);
|
|
28606
|
+
position: relative;
|
|
28607
|
+
/*
|
|
28608
|
+
Add unified max-width for AppLayout content based on breakpoints. Only use the max content
|
|
28609
|
+
width custom property for the middle column definition if the maxContentWidth property
|
|
28610
|
+
has been explicitly set to a non-zero value and subsequently set the has-max-content-width
|
|
28611
|
+
data attribute to true.
|
|
28612
|
+
*/
|
|
28613
|
+
/*
|
|
28614
|
+
Only use the max content width custom property for the middle column definition
|
|
28615
|
+
if the maxContentWidth property has been explicitly set to a non-zero value and
|
|
28616
|
+
subsequently set the has-max-content-width data attribute to true.
|
|
28617
|
+
*/
|
|
28618
|
+
/*
|
|
28619
|
+
Warning! This is a hack! We are implementing a short term fix to prevent the
|
|
28620
|
+
tools drawer from potentially getting pushed off screen. Currently there is no
|
|
28621
|
+
protection against a navigationWidth, minContentWidth, and toolsWidth that are
|
|
28622
|
+
in excess ove the available space in the viewport. To accomodate this we remove
|
|
28623
|
+
the minContentWidth and set it to zero in small viewports and below until the
|
|
28624
|
+
isMobile breakpoint sets the drawers to overlay at 100vw.
|
|
28625
|
+
*/
|
|
28626
|
+
/*
|
|
28627
|
+
In desktop viewports the content gap property for the left and right
|
|
28628
|
+
columns should override the default of zero if the navigationHide
|
|
28629
|
+
or toolsHide property is set. This ensures adequate horizontal space
|
|
28630
|
+
for the center column from the edges of the viewport when there is
|
|
28631
|
+
not left or right content.
|
|
28632
|
+
|
|
28633
|
+
Warning! If these design tokens change it will adversely impact the
|
|
28634
|
+
calculation used to determine the Split Panel maximum width in the
|
|
28635
|
+
handleSplitPanelMaxWidth function in the context.
|
|
28636
|
+
*/
|
|
28637
|
+
/*
|
|
28638
|
+
In mobile viewports the Navigation and Tools drawers are hidden
|
|
28639
|
+
and triggered by the MobileToolbar which then take up the entire viewport.
|
|
28640
|
+
The center column needs permanent space from the horizontal viewport
|
|
28641
|
+
edges regardless of whether or not there is a Navigation or Tools.
|
|
28642
|
+
*/
|
|
28643
|
+
/*
|
|
28644
|
+
Override the desktop gap values set above for the Notifications, Header, and Main
|
|
28645
|
+
components for mobile viewports.
|
|
28646
|
+
*/
|
|
28647
|
+
}
|
|
28648
|
+
@media (min-width: 1401px) {
|
|
28649
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width) {
|
|
28650
|
+
--awsui-default-max-content-width-6b9ypa: 1280px;
|
|
28651
|
+
}
|
|
28652
|
+
}
|
|
28653
|
+
@media (min-width: 1921px) {
|
|
28654
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width) {
|
|
28655
|
+
--awsui-default-max-content-width-6b9ypa: 1440px;
|
|
28656
|
+
}
|
|
28657
|
+
}
|
|
28658
|
+
@media (min-width: 2541px) {
|
|
28659
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width) {
|
|
28660
|
+
--awsui-default-max-content-width-6b9ypa: 1620px;
|
|
28661
|
+
}
|
|
28662
|
+
}
|
|
28663
|
+
@media (min-width: 1401px) {
|
|
28664
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width).app-layout-visual-refresh--content-type-dashboard {
|
|
28665
|
+
--awsui-default-max-content-width-6b9ypa: 1280px;
|
|
28666
|
+
}
|
|
28667
|
+
}
|
|
28668
|
+
@media (min-width: 1921px) {
|
|
28669
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width).app-layout-visual-refresh--content-type-dashboard {
|
|
28670
|
+
--awsui-default-max-content-width-6b9ypa: 1620px;
|
|
28671
|
+
}
|
|
28672
|
+
}
|
|
28673
|
+
@media (min-width: 2541px) {
|
|
28674
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width).app-layout-visual-refresh--content-type-dashboard {
|
|
28675
|
+
--awsui-default-max-content-width-6b9ypa: 2160px;
|
|
28676
|
+
}
|
|
28677
|
+
}
|
|
28678
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width).app-layout-visual-refresh--content-type-table, .app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width).app-layout-visual-refresh--content-type-cards {
|
|
28679
|
+
--awsui-default-max-content-width-6b9ypa: 100%;
|
|
28680
|
+
}
|
|
28681
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-max-content-width {
|
|
28682
|
+
--awsui-default-max-content-width-6b9ypa: var(--awsui-max-content-width-6b9ypa);
|
|
28683
|
+
}
|
|
28684
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--is-overlap-disabled {
|
|
28685
|
+
--awsui-overlap-height-6b9ypa: 0;
|
|
28686
|
+
}
|
|
28687
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--is-hide-mobile-toolbar {
|
|
28688
|
+
--awsui-mobile-bar-height-6b9ypa: 0px;
|
|
28689
|
+
}
|
|
28690
|
+
@media (min-width: 993px) {
|
|
28691
|
+
.app-layout-visual-refresh--layout {
|
|
28692
|
+
--awsui-default-min-content-width-6b9ypa: var(--awsui-min-content-width-6b9ypa, 280px);
|
|
28693
|
+
}
|
|
28694
|
+
}
|
|
28695
|
+
@media (max-width: 992px) {
|
|
28696
|
+
.app-layout-visual-refresh--layout {
|
|
28697
|
+
--awsui-default-min-content-width-6b9ypa: 0px;
|
|
28698
|
+
}
|
|
28699
|
+
}
|
|
28700
|
+
@media (min-width: 689px) {
|
|
28701
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-content-gap-left {
|
|
28702
|
+
--awsui-content-gap-left-6b9ypa: var(--space-layout-content-horizontal-buc0zz, 24px);
|
|
28703
|
+
}
|
|
28704
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-content-gap-right {
|
|
28705
|
+
--awsui-content-gap-right-6b9ypa: var(--space-layout-content-horizontal-buc0zz, 24px);
|
|
28706
|
+
}
|
|
28707
|
+
}
|
|
28708
|
+
@media (max-width: 688px) {
|
|
28709
|
+
.app-layout-visual-refresh--layout {
|
|
28710
|
+
--awsui-content-gap-left-6b9ypa: var(--space-l-2ud1p3, 20px);
|
|
28711
|
+
--awsui-content-gap-right-6b9ypa: var(--space-l-2ud1p3, 20px);
|
|
28712
|
+
}
|
|
28713
|
+
}
|
|
28714
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-breadcrumbs {
|
|
28715
|
+
--awsui-breadcrumbs-gap-6b9ypa: var(--space-scaled-m-m892r9, 16px);
|
|
28716
|
+
}
|
|
28717
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-header, .app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-notifications:not(.app-layout-visual-refresh--has-breadcrumbs).app-layout-visual-refresh--has-header {
|
|
28718
|
+
--awsui-header-gap-6b9ypa: var(--space-scaled-xs-xwoogq, 8px);
|
|
28719
|
+
}
|
|
28720
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-breadcrumbs.app-layout-visual-refresh--has-header {
|
|
28721
|
+
--awsui-header-gap-6b9ypa: var(--space-scaled-xs-xwoogq, 8px);
|
|
28722
|
+
}
|
|
28723
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-notifications:not(.app-layout-visual-refresh--has-breadcrumbs):not(.app-layout-visual-refresh--has-header) {
|
|
28724
|
+
--awsui-main-gap-6b9ypa: var(--space-xs-ymlm0b, 8px);
|
|
28725
|
+
}
|
|
28726
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-breadcrumbs:not(.app-layout-visual-refresh--has-header) {
|
|
28727
|
+
--awsui-main-gap-6b9ypa: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
28728
|
+
}
|
|
28729
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-header {
|
|
28730
|
+
--awsui-main-gap-6b9ypa: var(--space-content-header-padding-bottom-rvy5xz, 16px);
|
|
28731
|
+
}
|
|
28732
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-main:not(.app-layout-visual-refresh--disable-content-paddings) {
|
|
28733
|
+
--awsui-main-gap-6b9ypa: var(--space-scaled-s-8ozaad, 12px);
|
|
28734
|
+
}
|
|
28735
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-main.app-layout-visual-refresh--disable-content-paddings {
|
|
28736
|
+
--awsui-main-gap-6b9ypa: 0px;
|
|
28737
|
+
}
|
|
28738
|
+
@media (max-width: 688px) {
|
|
28739
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-header {
|
|
28740
|
+
--awsui-header-gap-6b9ypa: var(--space-scaled-s-8ozaad, 12px);
|
|
28741
|
+
}
|
|
28742
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-notifications:not(.app-layout-visual-refresh--has-breadcrumbs).app-layout-visual-refresh--has-header {
|
|
28743
|
+
--awsui-header-gap-6b9ypa: var(--space-scaled-s-8ozaad, 12px);
|
|
28744
|
+
}
|
|
28745
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-notifications:not(.app-layout-visual-refresh--has-breadcrumbs):not(.app-layout-visual-refresh--has-header), .app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-main:not(.app-layout-visual-refresh--disable-content-paddings) {
|
|
28746
|
+
--awsui-main-gap-6b9ypa: var(--space-scaled-s-8ozaad, 12px);
|
|
28747
|
+
}
|
|
28748
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-main.app-layout-visual-refresh--disable-content-paddings {
|
|
28749
|
+
--awsui-main-gap-6b9ypa: 0px;
|
|
28750
|
+
}
|
|
28751
|
+
}
|
|
28752
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-left-toggles-gutter {
|
|
28753
|
+
--awsui-toggles-left-width-6b9ypa: calc(var(--space-layout-toggle-padding-chwlhz, 12px) + 36px);
|
|
28754
|
+
}
|
|
28755
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-right-toggles-gutter {
|
|
28756
|
+
--awsui-toggles-right-width-6b9ypa: calc(var(--space-layout-toggle-padding-chwlhz, 12px) + 36px);
|
|
28757
|
+
}
|
|
28758
|
+
|
|
28759
|
+
/*
|
|
28760
|
+
If disableBodyScroll is true (very uncommon use case) then the AppLayout component
|
|
28761
|
+
and not the document body will be the scrollable element. This requires a fixed height
|
|
28762
|
+
instead of a minimum height with a vertical scroll policy. The offset top value for
|
|
28763
|
+
components with position: sticky (MobileToolbar, Navigation, Notifications, Tools) will be
|
|
28764
|
+
set zero since the AppLayout is nearest scrollable parent and any existing header does
|
|
28765
|
+
not matter. The offset top value for AppLayout contentMain children with
|
|
28766
|
+
position: sticky will be the value of the notifications height in addition to the
|
|
28767
|
+
notifications top margin and some additional vertical space for aesthetics.
|
|
28768
|
+
*/
|
|
28769
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--disable-body-scroll {
|
|
28770
|
+
--awsui-main-template-rows-6b9ypa: 1fr auto;
|
|
28771
|
+
--awsui-offset-top-6b9ypa: 0px;
|
|
28772
|
+
block-size: var(--awsui-content-height-6b9ypa);
|
|
28773
|
+
overflow-y: scroll;
|
|
28774
|
+
}
|
|
28775
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--disable-body-scroll.app-layout-visual-refresh--has-split-panel.app-layout-visual-refresh--split-panel-position-bottom {
|
|
28776
|
+
--awsui-main-template-rows-6b9ypa: repeat(2, auto);
|
|
28777
|
+
}
|
|
28778
|
+
|
|
28779
|
+
/*
|
|
28780
|
+
This CSS class is applied to the document body to prevent overflow scrolling
|
|
28781
|
+
when the navigation or tools drawers are open in responsive viewports.
|
|
28782
|
+
*/
|
|
28783
|
+
.app-layout-visual-refresh--block-body-scroll {
|
|
28784
|
+
overflow: hidden;
|
|
28785
|
+
}
|
|
28786
|
+
|
|
28787
|
+
.app-layout-visual-refresh--unfocusable,
|
|
28788
|
+
.app-layout-visual-refresh--unfocusable * {
|
|
28789
|
+
visibility: hidden !important;
|
|
28790
|
+
}
|
|
28791
|
+
|
|
28792
|
+
.app-layout-visual-refresh--container {
|
|
28793
|
+
grid-area: main;
|
|
28794
|
+
padding-block-end: var(--space-layout-content-bottom-zeb1g9, 40px);
|
|
28795
|
+
/*
|
|
28796
|
+
If the split panel is in the bottom position additional padding will need to be
|
|
28797
|
+
added to the content area. This is to ensure that the user is able to scroll
|
|
28798
|
+
far enough to see all of the content that would otherwise be obscured by the
|
|
28799
|
+
sticky position of the split panel.
|
|
28800
|
+
*/
|
|
28801
|
+
/*
|
|
28802
|
+
If disableContentPaddings is enabled then the Main content has a different
|
|
28803
|
+
behavior inside the Layout grid. By default it will render across the entire
|
|
28804
|
+
grid column span. If the Navigation is open on the left, we increment the
|
|
28805
|
+
start column by one. If the Tools or Split Panel (in side position) is open
|
|
28806
|
+
on the right, we decrement the column end by one.
|
|
28807
|
+
*/
|
|
28808
|
+
}
|
|
28809
|
+
.app-layout-visual-refresh--container.app-layout-visual-refresh--has-split-panel.app-layout-visual-refresh--split-panel-position-bottom {
|
|
28810
|
+
padding-block-end: calc(var(--awsui-split-panel-height-6b9ypa) + var(--space-layout-content-bottom-zeb1g9, 40px));
|
|
28811
|
+
}
|
|
28812
|
+
.app-layout-visual-refresh--container.app-layout-visual-refresh--disable-content-paddings {
|
|
28813
|
+
grid-column: 1/6;
|
|
28814
|
+
padding-block: 0;
|
|
28815
|
+
padding-inline: 0;
|
|
28816
|
+
}
|
|
28817
|
+
@media (min-width: 689px) {
|
|
28818
|
+
.app-layout-visual-refresh--container.app-layout-visual-refresh--disable-content-paddings.app-layout-visual-refresh--is-navigation-open {
|
|
28819
|
+
grid-column-start: 2;
|
|
28820
|
+
}
|
|
28821
|
+
.app-layout-visual-refresh--container.app-layout-visual-refresh--disable-content-paddings.app-layout-visual-refresh--is-tools-open, .app-layout-visual-refresh--container.app-layout-visual-refresh--disable-content-paddings.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--split-panel-position-side, .app-layout-visual-refresh--container.app-layout-visual-refresh--disable-content-paddings.app-layout-visual-refresh--has-active-drawer {
|
|
28822
|
+
grid-column-end: 5;
|
|
28823
|
+
}
|
|
28824
|
+
}
|
|
28825
|
+
|
|
28826
|
+
section.app-layout-visual-refresh--mobile-toolbar {
|
|
28827
|
+
align-items: center;
|
|
28828
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28829
|
+
border-block-end: 1px solid var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
28830
|
+
box-shadow: var(--shadow-sticky-lolw8j, 0px 4px 8px 1px rgba(0, 7, 22, 0.1));
|
|
28831
|
+
box-sizing: border-box;
|
|
28832
|
+
block-size: var(--awsui-mobile-bar-height-6b9ypa);
|
|
28833
|
+
display: grid;
|
|
28834
|
+
grid-area: mobileToolbar;
|
|
28835
|
+
grid-column: 1/span 5;
|
|
28836
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
28837
|
+
padding-block: 0;
|
|
28838
|
+
padding-inline: var(--space-m-dsumyt, 16px);
|
|
28839
|
+
position: sticky;
|
|
28840
|
+
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
28841
|
+
z-index: 1000;
|
|
28842
|
+
}
|
|
28843
|
+
section.app-layout-visual-refresh--mobile-toolbar:not(.app-layout-visual-refresh--remove-high-contrast-header) {
|
|
28844
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28845
|
+
box-shadow: var(--shadow-panel-toggle-qddz27, 0px 6px 12px 1px rgba(0, 7, 22, 0.12));
|
|
28846
|
+
}
|
|
28847
|
+
section.app-layout-visual-refresh--mobile-toolbar > .app-layout-visual-refresh--mobile-toolbar-nav {
|
|
28848
|
+
grid-column: 1;
|
|
28849
|
+
margin-inline-end: var(--space-m-dsumyt, 16px);
|
|
28850
|
+
}
|
|
28851
|
+
section.app-layout-visual-refresh--mobile-toolbar > .app-layout-visual-refresh--mobile-toolbar-breadcrumbs {
|
|
28852
|
+
grid-column: 2;
|
|
28853
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28854
|
+
}
|
|
28855
|
+
section.app-layout-visual-refresh--mobile-toolbar > .app-layout-visual-refresh--mobile-toolbar-tools {
|
|
28856
|
+
grid-column: 3;
|
|
28857
|
+
margin-inline-start: var(--space-m-dsumyt, 16px);
|
|
28858
|
+
}
|
|
28859
|
+
|
|
28860
|
+
.app-layout-visual-refresh--navigation-container {
|
|
28861
|
+
display: flex;
|
|
28862
|
+
grid-column: 1;
|
|
28863
|
+
grid-row: 1/span 9;
|
|
28864
|
+
block-size: var(--awsui-content-height-6b9ypa);
|
|
28865
|
+
position: sticky;
|
|
28866
|
+
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
28867
|
+
z-index: 830;
|
|
28868
|
+
/*
|
|
28869
|
+
The navigation and tools containers (that contain the toggle buttons)
|
|
28870
|
+
stretch the full height of the app layout. Normally, this wouldn't be an
|
|
28871
|
+
issue because they sit above the app layout's content padding.
|
|
28872
|
+
|
|
28873
|
+
But if disableContentPaddings is set to true and there are buttons on the
|
|
28874
|
+
left/right edges of the screen, they will be covered by the containers. So
|
|
28875
|
+
we need to disable pointer events in the container and re-enable them in
|
|
28876
|
+
the panels and toggle buttons.
|
|
28877
|
+
*/
|
|
28878
|
+
pointer-events: none;
|
|
28879
|
+
}
|
|
28880
|
+
@media (max-width: 688px) {
|
|
28881
|
+
.app-layout-visual-refresh--navigation-container {
|
|
28882
|
+
inset-inline-start: 0;
|
|
28883
|
+
position: fixed;
|
|
28884
|
+
z-index: 1001;
|
|
28885
|
+
/*
|
|
28886
|
+
When disableBodyScroll is true the offsetTop will be relative to the
|
|
28887
|
+
app layout and not the body. However, the drawer position changes
|
|
28888
|
+
to fixed in mobile viewports. The top value needs to include the
|
|
28889
|
+
header because fixed position switches the top value so it is now
|
|
28890
|
+
relative to the body.
|
|
28891
|
+
*/
|
|
28892
|
+
}
|
|
28893
|
+
.app-layout-visual-refresh--navigation-container.app-layout-visual-refresh--disable-body-scroll {
|
|
28894
|
+
inset-block-start: var(--awsui-header-height-6b9ypa);
|
|
28895
|
+
}
|
|
28896
|
+
}
|
|
28897
|
+
|
|
28898
|
+
nav.app-layout-visual-refresh--show-navigation {
|
|
28899
|
+
padding-block: var(--space-scaled-s-8ozaad, 12px);
|
|
28900
|
+
padding-inline: var(--space-layout-toggle-padding-chwlhz, 12px);
|
|
28901
|
+
/*
|
|
28902
|
+
Apply the animation only in desktop viewports because the MobileToolbar will
|
|
28903
|
+
take control in responsive viewports.
|
|
28904
|
+
*/
|
|
28905
|
+
}
|
|
28906
|
+
@keyframes awsui_showButtons_hyvsj_1u13u_1 {
|
|
28907
|
+
0% {
|
|
28908
|
+
opacity: 0;
|
|
28909
|
+
}
|
|
28910
|
+
100% {
|
|
28911
|
+
opacity: 1;
|
|
28912
|
+
}
|
|
28913
|
+
}
|
|
28914
|
+
nav.app-layout-visual-refresh--show-navigation.app-layout-visual-refresh--is-navigation-open {
|
|
28915
|
+
display: none;
|
|
28916
|
+
}
|
|
28917
|
+
@media (min-width: 689px) {
|
|
28918
|
+
nav.app-layout-visual-refresh--show-navigation:not(.app-layout-visual-refresh--is-navigation-open) {
|
|
28919
|
+
display: block;
|
|
28920
|
+
}
|
|
28921
|
+
nav.app-layout-visual-refresh--show-navigation:not(.app-layout-visual-refresh--is-navigation-open).app-layout-visual-refresh--animating {
|
|
28922
|
+
animation: awsui_showButtons_hyvsj_1u13u_1 var(--motion-duration-refresh-only-fast-zfibh6, 115ms);
|
|
28923
|
+
}
|
|
28924
|
+
}
|
|
28925
|
+
@media (min-width: 689px) and (prefers-reduced-motion: reduce) {
|
|
28926
|
+
nav.app-layout-visual-refresh--show-navigation:not(.app-layout-visual-refresh--is-navigation-open).app-layout-visual-refresh--animating {
|
|
28927
|
+
animation: none;
|
|
28928
|
+
transition: none;
|
|
28929
|
+
}
|
|
28930
|
+
}
|
|
28931
|
+
@media (min-width: 689px) {
|
|
28932
|
+
.awsui-motion-disabled nav.app-layout-visual-refresh--show-navigation:not(.app-layout-visual-refresh--is-navigation-open).app-layout-visual-refresh--animating, .awsui-mode-entering nav.app-layout-visual-refresh--show-navigation:not(.app-layout-visual-refresh--is-navigation-open).app-layout-visual-refresh--animating {
|
|
28933
|
+
animation: none;
|
|
28934
|
+
transition: none;
|
|
28935
|
+
}
|
|
28936
|
+
}
|
|
28937
|
+
|
|
28938
|
+
nav.app-layout-visual-refresh--navigation {
|
|
28939
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
28940
|
+
inset-block-end: 0;
|
|
28941
|
+
block-size: 100%;
|
|
28942
|
+
overflow-x: hidden;
|
|
28943
|
+
overflow-y: auto;
|
|
28944
|
+
|
|
28945
|
+
overscroll-behavior-y: contain;
|
|
28946
|
+
position: relative;
|
|
28947
|
+
word-wrap: break-word;
|
|
28948
|
+
pointer-events: auto;
|
|
28949
|
+
border-inline-end: solid var(--border-divider-section-width-uwo8my, 1px) var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
28950
|
+
display: flex;
|
|
28951
|
+
flex-direction: column;
|
|
28952
|
+
/*
|
|
28953
|
+
A non-semantic node is added with a fixed width equal to the final Navigation
|
|
28954
|
+
width. This will create the visual appearance of horizontal movement and
|
|
28955
|
+
prevent unwanted text wrapping.
|
|
28956
|
+
*/
|
|
28957
|
+
}
|
|
28958
|
+
@keyframes awsui_openNavigation_hyvsj_1u13u_1 {
|
|
28959
|
+
from {
|
|
28960
|
+
opacity: 0;
|
|
28961
|
+
inline-size: calc(var(--space-layout-toggle-padding-chwlhz, 12px) * 2 + var(--space-layout-toggle-diameter-j2qffw, 36px));
|
|
28962
|
+
}
|
|
28963
|
+
to {
|
|
28964
|
+
opacity: 1;
|
|
28965
|
+
inline-size: var(--awsui-navigation-width-6b9ypa);
|
|
28966
|
+
}
|
|
28967
|
+
}
|
|
28968
|
+
nav.app-layout-visual-refresh--navigation:not(.app-layout-visual-refresh--is-navigation-open) {
|
|
28969
|
+
inline-size: 0;
|
|
28970
|
+
display: none;
|
|
28971
|
+
}
|
|
28972
|
+
nav.app-layout-visual-refresh--navigation.app-layout-visual-refresh--is-navigation-open.app-layout-visual-refresh--animating {
|
|
28973
|
+
animation: awsui_openNavigation_hyvsj_1u13u_1 var(--motion-duration-refresh-only-fast-zfibh6, 115ms);
|
|
28974
|
+
}
|
|
28975
|
+
@media (prefers-reduced-motion: reduce) {
|
|
28976
|
+
nav.app-layout-visual-refresh--navigation.app-layout-visual-refresh--is-navigation-open.app-layout-visual-refresh--animating {
|
|
28977
|
+
animation: none;
|
|
28978
|
+
transition: none;
|
|
28979
|
+
}
|
|
28980
|
+
}
|
|
28981
|
+
.awsui-motion-disabled nav.app-layout-visual-refresh--navigation.app-layout-visual-refresh--is-navigation-open.app-layout-visual-refresh--animating, .awsui-mode-entering nav.app-layout-visual-refresh--navigation.app-layout-visual-refresh--is-navigation-open.app-layout-visual-refresh--animating {
|
|
28982
|
+
animation: none;
|
|
28983
|
+
transition: none;
|
|
28984
|
+
}
|
|
28985
|
+
nav.app-layout-visual-refresh--navigation > .app-layout-visual-refresh--animated-content {
|
|
28986
|
+
inline-size: var(--awsui-navigation-width-6b9ypa);
|
|
28987
|
+
}
|
|
28988
|
+
nav.app-layout-visual-refresh--navigation > .app-layout-visual-refresh--content-container {
|
|
28989
|
+
flex-grow: 1;
|
|
28990
|
+
}
|
|
28991
|
+
@media (max-width: 688px) {
|
|
28992
|
+
nav.app-layout-visual-refresh--navigation {
|
|
28993
|
+
--awsui-navigation-width-6b9ypa: 100vw;
|
|
28994
|
+
}
|
|
28995
|
+
}
|
|
28996
|
+
|
|
28997
|
+
.app-layout-visual-refresh--hide-navigation {
|
|
28998
|
+
position: absolute;
|
|
28999
|
+
inset-inline-end: var(--space-m-dsumyt, 16px);
|
|
29000
|
+
inset-block-start: var(--size-vertical-panel-icon-offset-z959cw, 15px);
|
|
29001
|
+
}
|
|
29002
|
+
|
|
29003
|
+
.app-layout-visual-refresh--notifications {
|
|
29004
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
29005
|
+
grid-area: notifications;
|
|
29006
|
+
z-index: 850;
|
|
29007
|
+
}
|
|
29008
|
+
.app-layout-visual-refresh--notifications.app-layout-visual-refresh--has-notification-content {
|
|
29009
|
+
padding-block-start: var(--space-scaled-s-8ozaad, 12px);
|
|
29010
|
+
}
|
|
29011
|
+
@media (min-width: 689px) {
|
|
29012
|
+
.app-layout-visual-refresh--notifications.app-layout-visual-refresh--sticky-notifications {
|
|
29013
|
+
--awsui-flashbar-sticky-bottom-margin-6b9ypa: var(--space-xxl-32srm4, 32px);
|
|
29014
|
+
position: sticky;
|
|
29015
|
+
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
29016
|
+
}
|
|
29017
|
+
.app-layout-visual-refresh--notifications.app-layout-visual-refresh--sticky-notifications:not(.app-layout-visual-refresh--high-contrast) {
|
|
29018
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
29019
|
+
}
|
|
29020
|
+
.app-layout-visual-refresh--notifications.app-layout-visual-refresh--has-notification-content {
|
|
29021
|
+
padding-block-start: var(--space-xs-ymlm0b, 8px);
|
|
29022
|
+
}
|
|
29023
|
+
}
|
|
29024
|
+
|
|
29025
|
+
/*
|
|
29026
|
+
When the Split Panel is in the bottom position it was share the same row
|
|
29027
|
+
as the content area. This row is defined as 1 fractional unit which will
|
|
29028
|
+
consume the remaining vertical space in the grid after the notifications
|
|
29029
|
+
and breadcrumbs.
|
|
29030
|
+
*/
|
|
29031
|
+
section.app-layout-visual-refresh--split-panel-bottom {
|
|
29032
|
+
/*
|
|
29033
|
+
The align self property will position the split panel at the bottom of the grid row.
|
|
29034
|
+
This could be off the viewport if the content area has enough content to be scrollable.
|
|
29035
|
+
*/
|
|
29036
|
+
align-self: end;
|
|
29037
|
+
inset-block-end: var(--awsui-footer-height-6b9ypa);
|
|
29038
|
+
display: none;
|
|
29039
|
+
grid-column: 1/6;
|
|
29040
|
+
grid-row: 9;
|
|
29041
|
+
block-size: auto;
|
|
29042
|
+
overflow-y: hidden;
|
|
29043
|
+
/*
|
|
29044
|
+
The position sticky will work in conjunction with the align self: end; property.
|
|
29045
|
+
If the grid row scrolls beyond the viewport, the sticky bottom position
|
|
29046
|
+
will lift it up above the footer so it is always visible.
|
|
29047
|
+
*/
|
|
29048
|
+
position: sticky;
|
|
29049
|
+
z-index: 840;
|
|
29050
|
+
/*
|
|
29051
|
+
Unlike the side position the Split Panel is persistent in the DOM
|
|
29052
|
+
when in the bottom position.
|
|
29053
|
+
*/
|
|
29054
|
+
/*
|
|
29055
|
+
Warning! This is a hack! The existing design token for the split panel
|
|
29056
|
+
shadow in the bottom position does not render in the refactored code.
|
|
29057
|
+
It appears to be related to the fact that the legacy split panel element
|
|
29058
|
+
has a height equal to the expanded height and a corresponding translation
|
|
29059
|
+
of the Y position so it is moved off the screen. This will need to be
|
|
29060
|
+
refactored with an adjustment to the split panel design token.
|
|
29061
|
+
*/
|
|
29062
|
+
/*
|
|
29063
|
+
When the data attribute changes indicating the Split Panel has been opened
|
|
29064
|
+
apply the animation to the height property.
|
|
29065
|
+
*/
|
|
29066
|
+
}
|
|
29067
|
+
@keyframes awsui_openSplitPanelBottom_hyvsj_1u13u_1 {
|
|
29068
|
+
from {
|
|
29069
|
+
block-size: var(--awsui-split-panel-reported-header-size-6b9ypa, 0);
|
|
29070
|
+
}
|
|
29071
|
+
to {
|
|
29072
|
+
block-size: var(--awsui-split-panel-reported-size-6b9ypa);
|
|
29073
|
+
}
|
|
29074
|
+
}
|
|
29075
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--disable-body-scroll {
|
|
29076
|
+
inset-block-end: 0;
|
|
29077
|
+
}
|
|
29078
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-navigation-open.app-layout-visual-refresh--position-bottom {
|
|
29079
|
+
grid-column-start: 2;
|
|
29080
|
+
}
|
|
29081
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--has-open-drawer.app-layout-visual-refresh--position-bottom {
|
|
29082
|
+
grid-column-end: 5;
|
|
29083
|
+
}
|
|
29084
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--position-bottom {
|
|
29085
|
+
display: block;
|
|
29086
|
+
}
|
|
29087
|
+
section.app-layout-visual-refresh--split-panel-bottom:not(.app-layout-visual-refresh--is-split-panel-open).app-layout-visual-refresh--position-bottom {
|
|
29088
|
+
box-shadow: rgba(0, 7, 22, 0.1) 0px -32px 32px -24px;
|
|
29089
|
+
}
|
|
29090
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-bottom {
|
|
29091
|
+
box-shadow: var(--shadow-split-bottom-vlyulf, 0px -36px 36px -36px rgba(0, 7, 22, 0.1));
|
|
29092
|
+
}
|
|
29093
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-bottom.app-layout-visual-refresh--animating {
|
|
29094
|
+
animation: awsui_openSplitPanelBottom_hyvsj_1u13u_1 var(--motion-duration-refresh-only-fast-zfibh6, 115ms);
|
|
29095
|
+
}
|
|
29096
|
+
@media (prefers-reduced-motion: reduce) {
|
|
29097
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-bottom.app-layout-visual-refresh--animating {
|
|
29098
|
+
animation: none;
|
|
29099
|
+
transition: none;
|
|
29100
|
+
}
|
|
29101
|
+
}
|
|
29102
|
+
.awsui-motion-disabled section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-bottom.app-layout-visual-refresh--animating, .awsui-mode-entering section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-bottom.app-layout-visual-refresh--animating {
|
|
29103
|
+
animation: none;
|
|
29104
|
+
transition: none;
|
|
29105
|
+
}
|
|
29106
|
+
|
|
29107
|
+
section.app-layout-visual-refresh--split-panel-side {
|
|
29108
|
+
block-size: 100%;
|
|
29109
|
+
overflow-x: hidden;
|
|
29110
|
+
pointer-events: auto;
|
|
29111
|
+
/*
|
|
29112
|
+
The min and max widths are applied when the Split Panel is opened otherwise
|
|
29113
|
+
it would not be possible to animate the width and the box shadow would
|
|
29114
|
+
be persistent in the DOM when closed.
|
|
29115
|
+
*/
|
|
29116
|
+
}
|
|
29117
|
+
section.app-layout-visual-refresh--split-panel-side:not(.app-layout-visual-refresh--is-split-panel-open), section.app-layout-visual-refresh--split-panel-side.app-layout-visual-refresh--position-bottom {
|
|
29118
|
+
inline-size: 0;
|
|
29119
|
+
}
|
|
29120
|
+
section.app-layout-visual-refresh--split-panel-side.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-side {
|
|
29121
|
+
max-inline-size: var(--awsui-split-panel-max-width-6b9ypa, 280px);
|
|
29122
|
+
min-inline-size: var(--awsui-split-panel-min-width-6b9ypa, 280px);
|
|
29123
|
+
border-inline-start: solid var(--border-divider-section-width-uwo8my, 1px) var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
29124
|
+
}
|
|
29125
|
+
section.app-layout-visual-refresh--split-panel-side.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-side:not(.app-layout-visual-refresh--has-open-drawer) {
|
|
29126
|
+
border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-panel-side-an0w07, #c6c6cd);
|
|
29127
|
+
}
|
|
29128
|
+
|
|
29129
|
+
/*
|
|
29130
|
+
The Tools component container has a max width calculation that depends on the
|
|
29131
|
+
state of the other siblings within the Layout grid definition. The layout width
|
|
29132
|
+
is set in the resize observer in the Layout component. The main offset left
|
|
29133
|
+
will calculate the distance from the start of the Layout component. The minimum
|
|
29134
|
+
content width has a default value that can be set directly with the minContentWidth
|
|
29135
|
+
property. The content gap right is computed in the Layout styles based on the
|
|
29136
|
+
viewport size and state of the Tools drawer.
|
|
29137
|
+
*/
|
|
29138
|
+
.app-layout-visual-refresh--tools-container {
|
|
29139
|
+
--awsui-tools-max-width-6b9ypa: calc(var(--awsui-layout-width-6b9ypa) - var(--awsui-main-offset-left-6b9ypa) - var(--awsui-default-min-content-width-6b9ypa) - var(--awsui-content-gap-right-6b9ypa));
|
|
29140
|
+
display: flex;
|
|
29141
|
+
grid-column: 5;
|
|
29142
|
+
grid-row: 1/span 9;
|
|
29143
|
+
block-size: var(--awsui-content-height-6b9ypa);
|
|
29144
|
+
max-inline-size: var(--awsui-tools-max-width-6b9ypa);
|
|
29145
|
+
position: sticky;
|
|
29146
|
+
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
29147
|
+
z-index: 830;
|
|
29148
|
+
pointer-events: none;
|
|
29149
|
+
}
|
|
29150
|
+
@media (max-width: 688px) {
|
|
29151
|
+
.app-layout-visual-refresh--tools-container {
|
|
29152
|
+
--awsui-tools-max-width-6b9ypa: none;
|
|
29153
|
+
--awsui-tools-width-6b9ypa: auto;
|
|
29154
|
+
position: fixed;
|
|
29155
|
+
inset-inline-end: 0;
|
|
29156
|
+
z-index: 1001;
|
|
29157
|
+
/*
|
|
29158
|
+
When disableBodyScroll is true the offsetTop will be relative to the
|
|
29159
|
+
app layout and not the body. However, the drawer position changes
|
|
29160
|
+
to fixed in mobile viewports. The top value needs to include the
|
|
29161
|
+
header because fixed position switches the top value so it is now
|
|
29162
|
+
relative to the body.
|
|
29163
|
+
*/
|
|
29164
|
+
}
|
|
29165
|
+
.app-layout-visual-refresh--tools-container.app-layout-visual-refresh--disable-body-scroll {
|
|
29166
|
+
inset-block-start: var(--awsui-header-height-6b9ypa);
|
|
29167
|
+
}
|
|
29168
|
+
}
|
|
29169
|
+
|
|
29170
|
+
.app-layout-visual-refresh--tools {
|
|
29171
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
29172
|
+
flex-shrink: 0;
|
|
29173
|
+
block-size: 100%;
|
|
29174
|
+
overflow-y: auto;
|
|
29175
|
+
overflow-x: hidden;
|
|
29176
|
+
|
|
29177
|
+
overscroll-behavior-y: contain;
|
|
29178
|
+
pointer-events: auto;
|
|
29179
|
+
position: relative;
|
|
29180
|
+
word-wrap: break-word;
|
|
29181
|
+
/*
|
|
29182
|
+
A non-semantic node is added with a fixed width equal to the final Tools
|
|
29183
|
+
width. This will create the visual appearance of horizontal movement and
|
|
29184
|
+
prevent unwanted text wrapping.
|
|
29185
|
+
*/
|
|
29186
|
+
/*
|
|
29187
|
+
A right border is needed if the Tools is open and the buttons are persistent in
|
|
29188
|
+
the DOM. This creates a visual vertical boundary between the Tools and the Buttons
|
|
29189
|
+
only when they are both present. This is the circumstance when there is a Split Panel
|
|
29190
|
+
in the side position.
|
|
29191
|
+
*/
|
|
29192
|
+
}
|
|
29193
|
+
@keyframes awsui_openTools_hyvsj_1u13u_1 {
|
|
29194
|
+
from {
|
|
29195
|
+
opacity: var(--awsui-tools-animation-starting-opacity-6b9ypa, 0);
|
|
29196
|
+
inline-size: calc(var(--space-layout-toggle-padding-chwlhz, 12px) * 2 + var(--space-layout-toggle-diameter-j2qffw, 36px));
|
|
29197
|
+
}
|
|
29198
|
+
to {
|
|
29199
|
+
opacity: 1;
|
|
29200
|
+
inline-size: var(--awsui-tools-width-6b9ypa);
|
|
29201
|
+
}
|
|
29202
|
+
}
|
|
29203
|
+
.app-layout-visual-refresh--tools:not(.app-layout-visual-refresh--is-tools-open) {
|
|
29204
|
+
inline-size: 0;
|
|
29205
|
+
display: none;
|
|
29206
|
+
}
|
|
29207
|
+
.app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open {
|
|
29208
|
+
border-inline-start: solid var(--border-divider-section-width-uwo8my, 1px) var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
29209
|
+
}
|
|
29210
|
+
.app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open.app-layout-visual-refresh--animating {
|
|
29211
|
+
animation: awsui_openTools_hyvsj_1u13u_1 var(--motion-duration-refresh-only-fast-zfibh6, 115ms);
|
|
29212
|
+
}
|
|
29213
|
+
@media (prefers-reduced-motion: reduce) {
|
|
29214
|
+
.app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open.app-layout-visual-refresh--animating {
|
|
29215
|
+
animation: none;
|
|
29216
|
+
transition: none;
|
|
29217
|
+
}
|
|
29218
|
+
}
|
|
29219
|
+
.awsui-motion-disabled .app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open.app-layout-visual-refresh--animating, .awsui-mode-entering .app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open.app-layout-visual-refresh--animating {
|
|
29220
|
+
animation: none;
|
|
29221
|
+
transition: none;
|
|
29222
|
+
}
|
|
29223
|
+
.app-layout-visual-refresh--tools > .app-layout-visual-refresh--animated-content {
|
|
29224
|
+
inline-size: var(--awsui-tools-width-6b9ypa);
|
|
29225
|
+
}
|
|
29226
|
+
@media (min-width: 689px) {
|
|
29227
|
+
.app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open.app-layout-visual-refresh--has-tools-form-persistence {
|
|
29228
|
+
border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
29229
|
+
}
|
|
29230
|
+
}
|
|
29231
|
+
@media (max-width: 688px) {
|
|
29232
|
+
.app-layout-visual-refresh--tools {
|
|
29233
|
+
--awsui-tools-width-6b9ypa: 100vw;
|
|
29234
|
+
}
|
|
29235
|
+
}
|
|
29236
|
+
|
|
29237
|
+
.app-layout-visual-refresh--hide-tools {
|
|
29238
|
+
position: absolute;
|
|
29239
|
+
inset-inline-end: var(--space-m-dsumyt, 16px);
|
|
29240
|
+
inset-block-start: var(--size-vertical-panel-icon-offset-z959cw, 15px);
|
|
29241
|
+
z-index: 1;
|
|
29242
|
+
}
|
|
29243
|
+
|
|
29244
|
+
/*
|
|
29245
|
+
Warning! If these design tokens for padding change it will adversely impact
|
|
29246
|
+
the calculation used to determine the Split Panel maximum width in the
|
|
29247
|
+
handleSplitPanelMaxWidth function in the context.
|
|
29248
|
+
*/
|
|
29249
|
+
.app-layout-visual-refresh--show-tools {
|
|
29250
|
+
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
29251
|
+
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
29252
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
29253
|
+
font-weight: 400;
|
|
29254
|
+
font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
29255
|
+
-webkit-font-smoothing: auto;
|
|
29256
|
+
-moz-osx-font-smoothing: auto;
|
|
29257
|
+
box-sizing: border-box;
|
|
29258
|
+
padding-block: var(--space-scaled-s-8ozaad, 12px);
|
|
29259
|
+
padding-inline: var(--space-layout-toggle-padding-chwlhz, 12px);
|
|
29260
|
+
/*
|
|
29261
|
+
Apply the animation only in desktop viewports because the MobileToolbar will
|
|
29262
|
+
take control in responsive viewports.
|
|
29263
|
+
*/
|
|
29264
|
+
}
|
|
29265
|
+
@keyframes awsui_showButtons_hyvsj_1u13u_1 {
|
|
29266
|
+
0% {
|
|
29267
|
+
opacity: 0;
|
|
29268
|
+
}
|
|
29269
|
+
100% {
|
|
29270
|
+
opacity: 1;
|
|
29271
|
+
}
|
|
29272
|
+
}
|
|
29273
|
+
.app-layout-visual-refresh--show-tools:not(.app-layout-visual-refresh--has-tools-form) {
|
|
29274
|
+
display: none;
|
|
29275
|
+
}
|
|
29276
|
+
@media (min-width: 689px) {
|
|
29277
|
+
.app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form {
|
|
29278
|
+
display: flex;
|
|
29279
|
+
flex-direction: column;
|
|
29280
|
+
gap: var(--space-xs-ymlm0b, 8px);
|
|
29281
|
+
}
|
|
29282
|
+
.app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form.app-layout-visual-refresh--animating {
|
|
29283
|
+
animation: awsui_showButtons_hyvsj_1u13u_1 var(--motion-duration-refresh-only-fast-zfibh6, 115ms);
|
|
29284
|
+
}
|
|
29285
|
+
}
|
|
29286
|
+
@media (min-width: 689px) and (prefers-reduced-motion: reduce) {
|
|
29287
|
+
.app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form.app-layout-visual-refresh--animating {
|
|
29288
|
+
animation: none;
|
|
29289
|
+
transition: none;
|
|
29290
|
+
}
|
|
29291
|
+
}
|
|
29292
|
+
@media (min-width: 689px) {
|
|
29293
|
+
.awsui-motion-disabled .app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form.app-layout-visual-refresh--animating, .awsui-mode-entering .app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form.app-layout-visual-refresh--animating {
|
|
29294
|
+
animation: none;
|
|
29295
|
+
transition: none;
|
|
29296
|
+
}
|
|
29297
|
+
.app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form-persistence {
|
|
29298
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
29299
|
+
z-index: 1;
|
|
27971
29300
|
}
|
|
27972
29301
|
}
|
|
27973
29302
|
|