@cloudscape-design/components-themeable 3.0.470 → 3.0.471

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/badge/styles.scss +6 -2
  3. package/lib/internal/scss/box/base-styles.scss +4 -2
  4. package/lib/internal/scss/box/layout.scss +2 -0
  5. package/lib/internal/scss/box/text.scss +3 -3
  6. package/lib/internal/scss/breadcrumb-group/item/styles.scss +3 -2
  7. package/lib/internal/scss/breadcrumb-group/styles.scss +16 -9
  8. package/lib/internal/scss/button-dropdown/category-elements/styles.scss +37 -28
  9. package/lib/internal/scss/button-dropdown/item-element/styles.scss +20 -15
  10. package/lib/internal/scss/button-dropdown/mobile-expandable-group/styles.scss +3 -3
  11. package/lib/internal/scss/button-dropdown/styles.scss +17 -14
  12. package/lib/internal/scss/calendar/styles.scss +36 -20
  13. package/lib/internal/scss/cards/styles.scss +40 -24
  14. package/lib/internal/scss/code-editor/ace-editor.scss +12 -12
  15. package/lib/internal/scss/code-editor/pane.scss +23 -21
  16. package/lib/internal/scss/code-editor/resizable-box/styles.scss +5 -5
  17. package/lib/internal/scss/code-editor/styles.scss +38 -30
  18. package/lib/internal/scss/collection-preferences/content-display/content-display-option.scss +18 -10
  19. package/lib/internal/scss/collection-preferences/content-display/styles.scss +5 -3
  20. package/lib/internal/scss/collection-preferences/styles.scss +1 -1
  21. package/lib/internal/scss/collection-preferences/visible-content.scss +11 -8
  22. package/lib/internal/scss/column-layout/flexible-column-layout/styles.scss +4 -5
  23. package/lib/internal/scss/column-layout/styles.scss +15 -9
  24. package/lib/internal/scss/container/shared.scss +1 -3
  25. package/lib/internal/scss/container/styles.scss +53 -43
  26. package/lib/internal/scss/content-layout/styles.scss +4 -4
  27. package/lib/internal/scss/date-picker/styles.scss +3 -3
  28. package/lib/internal/scss/date-range-picker/calendar/grids/styles.scss +29 -18
  29. package/lib/internal/scss/date-range-picker/relative-range/styles.scss +8 -8
  30. package/lib/internal/scss/date-range-picker/styles.scss +26 -21
  31. package/lib/internal/scss/drawer/styles.scss +13 -10
  32. package/lib/internal/scss/expandable-section/styles.scss +41 -36
  33. package/lib/internal/scss/file-upload/dropzone/styles.scss +6 -2
  34. package/lib/internal/scss/file-upload/file-option/styles.scss +7 -7
  35. package/lib/internal/scss/file-upload/styles.scss +1 -1
  36. package/lib/internal/scss/flashbar/collapsible.scss +25 -25
  37. package/lib/internal/scss/flashbar/styles.scss +29 -19
  38. package/lib/internal/scss/form/styles.scss +10 -10
  39. package/lib/internal/scss/form-field/styles.scss +5 -5
  40. package/lib/internal/template/badge/styles.css.js +5 -5
  41. package/lib/internal/template/badge/styles.scoped.css +11 -7
  42. package/lib/internal/template/badge/styles.selectors.js +5 -5
  43. package/lib/internal/template/box/styles.css.js +190 -190
  44. package/lib/internal/template/box/styles.scoped.css +244 -240
  45. package/lib/internal/template/box/styles.selectors.js +190 -190
  46. package/lib/internal/template/breadcrumb-group/item/styles.css.js +9 -9
  47. package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +20 -19
  48. package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +9 -9
  49. package/lib/internal/template/breadcrumb-group/styles.css.js +7 -7
  50. package/lib/internal/template/breadcrumb-group/styles.scoped.css +28 -21
  51. package/lib/internal/template/breadcrumb-group/styles.selectors.js +7 -7
  52. package/lib/internal/template/button-dropdown/category-elements/styles.css.js +13 -13
  53. package/lib/internal/template/button-dropdown/category-elements/styles.scoped.css +60 -50
  54. package/lib/internal/template/button-dropdown/category-elements/styles.selectors.js +13 -13
  55. package/lib/internal/template/button-dropdown/item-element/styles.css.js +15 -15
  56. package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +38 -33
  57. package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +15 -15
  58. package/lib/internal/template/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
  59. package/lib/internal/template/button-dropdown/mobile-expandable-group/styles.scoped.css +8 -8
  60. package/lib/internal/template/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
  61. package/lib/internal/template/button-dropdown/styles.css.js +15 -15
  62. package/lib/internal/template/button-dropdown/styles.scoped.css +39 -36
  63. package/lib/internal/template/button-dropdown/styles.selectors.js +15 -15
  64. package/lib/internal/template/calendar/styles.css.js +18 -18
  65. package/lib/internal/template/calendar/styles.scoped.css +75 -59
  66. package/lib/internal/template/calendar/styles.selectors.js +18 -18
  67. package/lib/internal/template/cards/styles.css.js +38 -38
  68. package/lib/internal/template/cards/styles.scoped.css +110 -94
  69. package/lib/internal/template/cards/styles.selectors.js +38 -38
  70. package/lib/internal/template/code-editor/resizable-box/styles.css.js +3 -3
  71. package/lib/internal/template/code-editor/resizable-box/styles.scoped.css +13 -13
  72. package/lib/internal/template/code-editor/resizable-box/styles.selectors.js +3 -3
  73. package/lib/internal/template/code-editor/styles.css.js +32 -32
  74. package/lib/internal/template/code-editor/styles.scoped.css +258 -246
  75. package/lib/internal/template/code-editor/styles.selectors.js +32 -32
  76. package/lib/internal/template/collection-preferences/content-display/styles.css.js +11 -11
  77. package/lib/internal/template/collection-preferences/content-display/styles.scoped.css +40 -30
  78. package/lib/internal/template/collection-preferences/content-display/styles.selectors.js +11 -11
  79. package/lib/internal/template/collection-preferences/styles.css.js +37 -37
  80. package/lib/internal/template/collection-preferences/styles.scoped.css +79 -66
  81. package/lib/internal/template/collection-preferences/styles.selectors.js +37 -37
  82. package/lib/internal/template/column-layout/flexible-column-layout/styles.css.js +5 -5
  83. package/lib/internal/template/column-layout/flexible-column-layout/styles.scoped.css +8 -9
  84. package/lib/internal/template/column-layout/flexible-column-layout/styles.selectors.js +5 -5
  85. package/lib/internal/template/column-layout/styles.css.js +13 -13
  86. package/lib/internal/template/column-layout/styles.scoped.css +70 -64
  87. package/lib/internal/template/column-layout/styles.selectors.js +13 -13
  88. package/lib/internal/template/container/styles.css.js +28 -28
  89. package/lib/internal/template/container/styles.scoped.css +106 -98
  90. package/lib/internal/template/container/styles.selectors.js +28 -28
  91. package/lib/internal/template/content-layout/styles.css.js +7 -7
  92. package/lib/internal/template/content-layout/styles.scoped.css +15 -15
  93. package/lib/internal/template/content-layout/styles.selectors.js +7 -7
  94. package/lib/internal/template/date-picker/styles.css.js +7 -7
  95. package/lib/internal/template/date-picker/styles.scoped.css +12 -12
  96. package/lib/internal/template/date-picker/styles.selectors.js +7 -7
  97. package/lib/internal/template/date-range-picker/calendar/grids/styles.css.js +25 -25
  98. package/lib/internal/template/date-range-picker/calendar/grids/styles.scoped.css +71 -60
  99. package/lib/internal/template/date-range-picker/calendar/grids/styles.selectors.js +25 -25
  100. package/lib/internal/template/date-range-picker/relative-range/styles.css.js +9 -9
  101. package/lib/internal/template/date-range-picker/relative-range/styles.scoped.css +21 -21
  102. package/lib/internal/template/date-range-picker/relative-range/styles.selectors.js +9 -9
  103. package/lib/internal/template/date-range-picker/styles.css.js +38 -38
  104. package/lib/internal/template/date-range-picker/styles.scoped.css +73 -68
  105. package/lib/internal/template/date-range-picker/styles.selectors.js +38 -38
  106. package/lib/internal/template/drawer/styles.css.js +3 -3
  107. package/lib/internal/template/drawer/styles.scoped.css +21 -18
  108. package/lib/internal/template/drawer/styles.selectors.js +3 -3
  109. package/lib/internal/template/expandable-section/styles.css.js +29 -29
  110. package/lib/internal/template/expandable-section/styles.scoped.css +99 -94
  111. package/lib/internal/template/expandable-section/styles.selectors.js +29 -29
  112. package/lib/internal/template/file-upload/dropzone/styles.css.js +2 -2
  113. package/lib/internal/template/file-upload/dropzone/styles.scoped.css +8 -4
  114. package/lib/internal/template/file-upload/dropzone/styles.selectors.js +2 -2
  115. package/lib/internal/template/file-upload/file-option/styles.css.js +7 -7
  116. package/lib/internal/template/file-upload/file-option/styles.scoped.css +15 -15
  117. package/lib/internal/template/file-upload/file-option/styles.selectors.js +7 -7
  118. package/lib/internal/template/file-upload/styles.css.js +2 -2
  119. package/lib/internal/template/file-upload/styles.scoped.css +4 -4
  120. package/lib/internal/template/file-upload/styles.selectors.js +2 -2
  121. package/lib/internal/template/flashbar/styles.css.js +47 -47
  122. package/lib/internal/template/flashbar/styles.scoped.css +220 -215
  123. package/lib/internal/template/flashbar/styles.selectors.js +47 -47
  124. package/lib/internal/template/form/styles.css.js +9 -9
  125. package/lib/internal/template/form/styles.scoped.css +18 -18
  126. package/lib/internal/template/form/styles.selectors.js +9 -9
  127. package/lib/internal/template/form-field/styles.css.js +19 -19
  128. package/lib/internal/template/form-field/styles.scoped.css +34 -34
  129. package/lib/internal/template/form-field/styles.selectors.js +19 -19
  130. package/lib/internal/template/internal/environment.js +1 -1
  131. package/lib/internal/template/internal/environment.json +1 -1
  132. package/lib/internal/template/modal/styles.css.js +23 -23
  133. package/lib/internal/template/modal/styles.scoped.css +39 -39
  134. package/lib/internal/template/modal/styles.selectors.js +23 -23
  135. package/lib/internal/template/tiles/styles.css.js +29 -29
  136. package/lib/internal/template/tiles/styles.scoped.css +97 -91
  137. package/lib/internal/template/tiles/styles.selectors.js +29 -29
  138. package/package.json +1 -1
@@ -18,10 +18,11 @@
18
18
  .header {
19
19
  &-variant-full-page.header-refresh {
20
20
  @include container.borders-and-shadows;
21
- padding-top: 0;
22
- padding-left: 0;
23
- padding-right: 0;
24
- padding-bottom: calc(#{awsui.$space-container-header-bottom} + #{awsui.$space-table-header-tools-full-page-bottom});
21
+ padding-block-start: 0;
22
+ padding-block-end: calc(
23
+ #{awsui.$space-container-header-bottom} + #{awsui.$space-table-header-tools-full-page-bottom}
24
+ );
25
+ padding-inline: 0;
25
26
  }
26
27
  }
27
28
 
@@ -30,14 +31,17 @@
30
31
  flex-wrap: wrap;
31
32
  box-sizing: border-box;
32
33
  // reset styles from OL
33
- padding: 0;
34
+ padding-block: 0;
35
+ padding-inline: 0;
34
36
  list-style: none;
35
- margin: 0 0 0 calc(#{awsui.$space-grid-gutter} * -1);
37
+ margin-block: 0;
38
+ margin-inline-start: calc(#{awsui.$space-grid-gutter} * -1);
39
+ margin-inline-end: 0;
36
40
 
37
41
  @for $i from 1 through 20 {
38
42
  &.list-grid-#{$i} {
39
43
  > .card {
40
- width: math.div(100%, $i);
44
+ inline-size: math.div(100%, $i);
41
45
  }
42
46
  }
43
47
  }
@@ -46,10 +50,11 @@
46
50
  .selection-control {
47
51
  position: absolute;
48
52
  box-sizing: border-box;
49
- width: calc(#{awsui.$size-control} + (2 * #{awsui.$space-card-horizontal}));
50
- top: 0;
51
- right: 0;
52
- padding: awsui.$space-card-vertical awsui.$space-card-horizontal;
53
+ inline-size: calc(#{awsui.$size-control} + (2 * #{awsui.$space-card-horizontal}));
54
+ inset-block-start: 0;
55
+ inset-inline-end: 0;
56
+ padding-block: awsui.$space-card-vertical;
57
+ padding-inline: awsui.$space-card-horizontal;
53
58
  }
54
59
 
55
60
  .loading,
@@ -57,48 +62,55 @@
57
62
  overflow: hidden;
58
63
  text-align: center;
59
64
  color: awsui.$color-text-empty;
60
- margin-bottom: awsui.$space-scaled-l;
65
+ margin-block-end: awsui.$space-scaled-l;
61
66
  }
62
67
 
63
68
  .has-header {
64
69
  // Unfortunately, we don't have access to the header of InternalContainer
65
70
  // in order to use margin-bottom instead.
66
- margin-top: awsui.$space-grid-gutter;
71
+ margin-block-start: awsui.$space-grid-gutter;
67
72
  }
68
73
 
69
74
  .card {
70
75
  display: flex;
71
76
  overflow-wrap: break-word;
72
77
  word-wrap: break-word;
73
- margin: 0;
74
- padding: 0;
78
+ margin-block: 0;
79
+ margin-inline: 0;
80
+ padding-block: 0;
81
+ padding-inline: 0;
75
82
  list-style: none;
76
83
  &-inner {
77
84
  position: relative;
78
85
  background-color: awsui.$color-background-container-content;
79
- margin: 0 0 awsui.$space-grid-gutter awsui.$space-grid-gutter;
80
- padding: awsui.$space-card-vertical awsui.$space-card-horizontal;
86
+ margin-block-start: 0;
87
+ margin-block-end: awsui.$space-grid-gutter;
88
+ margin-inline-start: awsui.$space-grid-gutter;
89
+ margin-inline-end: 0;
90
+ padding-block: awsui.$space-card-vertical;
91
+ padding-inline: awsui.$space-card-horizontal;
81
92
  @include styles.container-shadow;
82
- width: 100%;
83
- min-width: 0;
93
+ inline-size: 100%;
94
+ min-inline-size: 0;
84
95
  }
85
96
  &-header {
86
97
  @include styles.font-heading-m;
87
98
  &-inner {
88
- width: 100%;
99
+ inline-size: 100%;
89
100
  display: inline-block;
90
101
  }
91
102
  }
92
103
  &-selectable {
93
104
  > .card-inner > .card-header {
94
- width: 90%;
105
+ inline-size: 90%;
95
106
  }
96
107
  }
97
108
  &-selected {
98
109
  > .card-inner {
99
110
  background-color: awsui.$color-background-item-selected;
100
111
  &::before {
101
- border: awsui.$border-item-width solid awsui.$color-border-item-selected;
112
+ border-block: awsui.$border-item-width solid awsui.$color-border-item-selected;
113
+ border-inline: awsui.$border-item-width solid awsui.$color-border-item-selected;
102
114
  }
103
115
  }
104
116
  }
@@ -108,7 +120,9 @@
108
120
  display: inline-block;
109
121
  box-sizing: border-box;
110
122
  // only scale bottom padding to reduce padding between sections and after the last section.
111
- padding: awsui.$space-xs 0 awsui.$space-scaled-xs 0;
123
+ padding-block-start: awsui.$space-xs;
124
+ padding-block-end: awsui.$space-scaled-xs;
125
+ padding-inline: 0;
112
126
  vertical-align: top;
113
127
  &-header {
114
128
  @include styles.font-label;
@@ -119,7 +133,9 @@
119
133
  }
120
134
  }
121
135
  .section:last-child {
122
- padding: awsui.$space-xs 0 0 0;
136
+ padding-block-start: awsui.$space-xs;
137
+ padding-block-end: 0;
138
+ padding-inline: 0;
123
139
  }
124
140
 
125
141
  .footer-pagination {
@@ -12,10 +12,10 @@
12
12
 
13
13
  .code-editor-refresh :global .ace_editor {
14
14
  .ace_gutter {
15
- border-top-left-radius: calc(awsui.$border-radius-code-editor - awsui.$border-item-width);
15
+ border-start-start-radius: calc(awsui.$border-radius-code-editor - awsui.$border-item-width);
16
16
  }
17
17
  .ace_scroller {
18
- border-top-right-radius: calc(awsui.$border-radius-code-editor - awsui.$border-item-width);
18
+ border-start-end-radius: calc(awsui.$border-radius-code-editor - awsui.$border-item-width);
19
19
  }
20
20
  }
21
21
 
@@ -50,8 +50,7 @@
50
50
  }
51
51
 
52
52
  .ace_gutter-cell {
53
- padding-left: $gutter-padding-left;
54
- padding-right: $gutter-padding-right;
53
+ padding-inline: $gutter-padding-left $gutter-padding-right;
55
54
  }
56
55
 
57
56
  .ace_fold-widget {
@@ -59,16 +58,17 @@
59
58
  <<html<<<<
60
59
  </html>
61
60
  */
62
- width: $gutter-padding-right - 2 * 1px; // gutter padding - 1px margin each side
63
- margin-right: -$gutter-padding-right + 1px; // leave 1px margin on each side
61
+ inline-size: $gutter-padding-right - 2 * 1px; // gutter padding - 1px margin each side
62
+ margin-inline-end: -$gutter-padding-right + 1px; // leave 1px margin on each side
64
63
  background-color: transparent;
65
- border: none;
64
+ border-block: none;
65
+ border-inline: none;
66
66
  }
67
67
 
68
68
  .ace_gutter_annotation {
69
69
  // To align our custom icon with the annotation clickable/focus area.
70
70
  // Based on -19px in ace's default stylesheet.
71
- margin-left: -21px;
71
+ margin-inline-start: -21px;
72
72
  }
73
73
 
74
74
  .ace_fold-widget,
@@ -85,13 +85,13 @@
85
85
  .ace_marker-layer > .ace_active-line {
86
86
  background: transparent;
87
87
  box-sizing: border-box;
88
- border-top: 1px solid $active-line-border-color-light;
89
- border-bottom: 1px solid $active-line-border-color-light;
88
+ border-block-start: 1px solid $active-line-border-color-light;
89
+ border-block-end: 1px solid $active-line-border-color-light;
90
90
  }
91
91
 
92
92
  &.ace_dark .ace_marker-layer > .ace_active-line {
93
- border-top: 1px solid $active-line-border-color-dark;
94
- border-bottom: 1px solid $active-line-border-color-dark;
93
+ border-block-start: 1px solid $active-line-border-color-dark;
94
+ border-block-end: 1px solid $active-line-border-color-dark;
95
95
  }
96
96
 
97
97
  .ace_gutter {
@@ -11,17 +11,17 @@
11
11
  $border: awsui.$border-item-width solid $border-color;
12
12
  $radius: awsui.$border-radius-item;
13
13
  > .pane__cell {
14
- border-top: $border;
15
- border-bottom: $border;
14
+ border-block-start: $border;
15
+ border-block-end: $border;
16
16
  &:first-child {
17
- border-left: $border;
18
- border-top-left-radius: $radius;
19
- border-bottom-left-radius: $radius;
17
+ border-inline-start: $border;
18
+ border-start-start-radius: $radius;
19
+ border-end-start-radius: $radius;
20
20
  }
21
21
  &:last-child {
22
- border-right: $border;
23
- border-top-right-radius: $radius;
24
- border-bottom-right-radius: $radius;
22
+ border-inline-end: $border;
23
+ border-start-end-radius: $radius;
24
+ border-end-end-radius: $radius;
25
25
  }
26
26
  }
27
27
  }
@@ -32,30 +32,31 @@
32
32
  flex-direction: row;
33
33
  flex: 1;
34
34
 
35
- border-top: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
36
- border-bottom-left-radius: awsui.$border-radius-code-editor;
37
- border-bottom-right-radius: awsui.$border-radius-code-editor;
35
+ border-block-start: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
36
+ border-end-start-radius: awsui.$border-radius-code-editor;
37
+ border-end-end-radius: awsui.$border-radius-code-editor;
38
38
  background: awsui.$color-background-code-editor-status-bar;
39
39
  color: awsui.$color-text-body-default;
40
40
 
41
41
  &__close-container {
42
42
  position: absolute;
43
- top: 0;
44
- right: calc(#{awsui.$space-s} / 2);
43
+ inset-block-start: 0;
44
+ inset-inline-end: calc(#{awsui.$space-s} / 2);
45
45
  }
46
46
 
47
47
  &__list {
48
48
  flex: 1;
49
49
  overflow: auto;
50
- max-height: 100%;
50
+ max-block-size: 100%;
51
51
  box-sizing: border-box;
52
- margin-right: calc(#{awsui.$line-height-body-m} + 2 * #{awsui.$space-xs});
52
+ margin-inline-end: calc(#{awsui.$line-height-body-m} + 2 * #{awsui.$space-xs});
53
53
  }
54
54
 
55
55
  &__table {
56
- width: 100%;
56
+ inline-size: 100%;
57
57
  border-spacing: 0;
58
- margin: awsui.$space-s 0;
58
+ margin-block: awsui.$space-s;
59
+ margin-inline: 0;
59
60
  }
60
61
 
61
62
  &__item {
@@ -75,21 +76,22 @@
75
76
 
76
77
  &__location,
77
78
  &__description {
78
- padding: awsui.$space-xxs awsui.$space-s;
79
+ padding-block: awsui.$space-xxs;
80
+ padding-inline: awsui.$space-s;
79
81
  }
80
82
 
81
83
  &__location {
82
84
  vertical-align: baseline;
83
85
  white-space: nowrap;
84
- padding-left: calc(#{awsui.$space-l} + #{awsui.$space-s});
86
+ padding-inline-start: calc(#{awsui.$space-l} + #{awsui.$space-s});
85
87
  }
86
88
 
87
89
  &__description {
88
- padding-right: 0;
90
+ padding-inline-end: 0;
89
91
  @include styles.text-wrapping;
90
92
  }
91
93
  }
92
94
 
93
95
  .focus-lock {
94
- height: 100%;
96
+ block-size: 100%;
95
97
  }
@@ -7,17 +7,17 @@
7
7
 
8
8
  .resizable-box {
9
9
  position: relative;
10
- width: 100%;
10
+ inline-size: 100%;
11
11
  }
12
12
 
13
13
  .resizable-box-handle {
14
14
  position: absolute;
15
- right: 0;
16
- bottom: 0;
15
+ inset-inline-end: 0;
16
+ inset-block-end: 0;
17
17
  z-index: 10; // above editor, when editor is overflowing
18
18
 
19
- width: awsui.$space-l;
20
- height: awsui.$space-l;
19
+ inline-size: awsui.$space-l;
20
+ block-size: awsui.$space-l;
21
21
 
22
22
  background-repeat: no-repeat;
23
23
  background-origin: content-box;
@@ -13,17 +13,18 @@
13
13
  .code-editor {
14
14
  @include styles.styles-reset;
15
15
  display: inline-block;
16
- border: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
17
- border-radius: awsui.$border-radius-code-editor;
18
- width: 100%;
16
+ border-block: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
17
+ border-inline: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
18
+ border-start-start-radius: awsui.$border-radius-code-editor;
19
+ border-start-end-radius: awsui.$border-radius-code-editor;
20
+ border-end-start-radius: awsui.$border-radius-code-editor;
21
+ border-end-end-radius: awsui.$border-radius-code-editor;
22
+ inline-size: 100%;
19
23
  }
20
24
 
21
25
  .editor {
22
26
  position: absolute;
23
- top: 0;
24
- right: 0;
25
- bottom: 0;
26
- left: 0;
27
+ inset: 0;
27
28
 
28
29
  &:focus {
29
30
  @include styles.focus-highlight(3px);
@@ -33,19 +34,19 @@
33
34
  }
34
35
 
35
36
  .editor-refresh {
36
- border-top-left-radius: calc(awsui.$border-radius-code-editor - awsui.$border-item-width);
37
- border-top-right-radius: calc(awsui.$border-radius-code-editor - awsui.$border-item-width);
37
+ border-start-start-radius: calc(awsui.$border-radius-code-editor - awsui.$border-item-width);
38
+ border-start-end-radius: calc(awsui.$border-radius-code-editor - awsui.$border-item-width);
38
39
  }
39
40
 
40
41
  .status-bar {
41
42
  display: flex;
42
43
  vertical-align: middle;
43
44
 
44
- border-top: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
45
+ border-block-start: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
45
46
  background-color: awsui.$color-background-code-editor-status-bar;
46
47
  &-with-hidden-pane {
47
- border-bottom-left-radius: awsui.$border-radius-code-editor;
48
- border-bottom-right-radius: awsui.$border-radius-code-editor;
48
+ border-end-start-radius: awsui.$border-radius-code-editor;
49
+ border-end-end-radius: awsui.$border-radius-code-editor;
49
50
  }
50
51
 
51
52
  @include styles.text-wrapping;
@@ -54,8 +55,8 @@
54
55
  flex: 1;
55
56
  display: flex;
56
57
  flex-wrap: wrap;
57
- padding-left: awsui.$space-l;
58
- border-right: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
58
+ padding-inline-start: awsui.$space-l;
59
+ border-inline-end: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
59
60
  }
60
61
 
61
62
  &__left-virtual {
@@ -72,11 +73,13 @@
72
73
  &__cursor-position {
73
74
  display: inline-block;
74
75
  color: awsui.$color-text-body-default;
75
- padding: awsui.$space-scaled-xs awsui.$space-s;
76
+ padding-block: awsui.$space-scaled-xs;
77
+ padding-inline: awsui.$space-s;
76
78
  }
77
79
 
78
80
  &__cog-button {
79
- padding: calc(#{awsui.$space-scaled-xxs} - 1px) calc(#{awsui.$space-xs} - 2px);
81
+ padding-block: calc(#{awsui.$space-scaled-xxs} - 1px);
82
+ padding-inline: calc(#{awsui.$space-xs} - 2px);
80
83
  }
81
84
  }
82
85
 
@@ -87,11 +90,13 @@
87
90
  .tab-button {
88
91
  position: relative;
89
92
  display: inline-block;
90
- padding: awsui.$space-scaled-xs awsui.$space-s;
93
+ padding-block: awsui.$space-scaled-xs;
94
+ padding-inline: awsui.$space-s;
91
95
  line-height: inherit;
92
96
  color: awsui.$color-text-status-error;
93
97
  background: none;
94
- border: none;
98
+ border-block: none;
99
+ border-inline: none;
95
100
  font-weight: bold;
96
101
  outline: none;
97
102
  cursor: pointer;
@@ -105,17 +110,19 @@
105
110
  &::after {
106
111
  content: '';
107
112
  position: absolute;
108
- left: 0;
109
- right: 0;
110
- bottom: 0;
111
- height: awsui.$border-active-width;
112
- border-radius: awsui.$border-radius-tabs-focus-ring;
113
+ inset-inline: 0;
114
+ inset-block-end: 0;
115
+ block-size: awsui.$border-active-width;
116
+ border-start-start-radius: awsui.$border-radius-tabs-focus-ring;
117
+ border-start-end-radius: awsui.$border-radius-tabs-focus-ring;
118
+ border-end-start-radius: awsui.$border-radius-tabs-focus-ring;
119
+ border-end-end-radius: awsui.$border-radius-tabs-focus-ring;
113
120
  background: awsui.$color-text-status-error;
114
121
  opacity: 0;
115
122
  }
116
123
 
117
124
  &--refresh {
118
- padding-bottom: calc(#{awsui.$space-scaled-xs} + #{awsui.$border-active-width} - 2px);
125
+ padding-block-end: calc(#{awsui.$space-scaled-xs} + #{awsui.$border-active-width} - 2px);
119
126
  }
120
127
 
121
128
  &--warnings {
@@ -161,8 +168,8 @@
161
168
 
162
169
  &--divider {
163
170
  display: inline-block;
164
- height: awsui.$line-height-body-m;
165
- width: awsui.$border-code-editor-status-divider-width;
171
+ block-size: awsui.$line-height-body-m;
172
+ inline-size: awsui.$border-code-editor-status-divider-width;
166
173
  background: awsui.$color-border-tabs-divider;
167
174
  vertical-align: middle;
168
175
  }
@@ -178,12 +185,13 @@ $default-height: 480px;
178
185
  display: flex;
179
186
  align-items: center;
180
187
  justify-content: center;
181
-
182
- height: $default-height;
183
-
188
+ block-size: $default-height;
184
189
  color: awsui.$color-text-body-secondary;
185
190
  background: awsui.$color-background-code-editor-loading;
186
- border-radius: awsui.$border-radius-code-editor;
191
+ border-start-start-radius: awsui.$border-radius-code-editor;
192
+ border-start-end-radius: awsui.$border-radius-code-editor;
193
+ border-end-start-radius: awsui.$border-radius-code-editor;
194
+ border-end-end-radius: awsui.$border-radius-code-editor;
187
195
  }
188
196
 
189
197
  .error-screen {
@@ -29,15 +29,20 @@ $border-radius: awsui.$border-radius-item;
29
29
  @include styles.styles-reset;
30
30
  display: flex;
31
31
  align-items: flex-start;
32
- padding: awsui.$space-xs awsui.$space-scaled-xs awsui.$space-xs 0;
32
+ padding-block: awsui.$space-xs;
33
+ padding-inline-start: 0;
34
+ padding-inline-end: awsui.$space-scaled-xs;
33
35
  background-color: awsui.$color-background-container-content;
34
- border-radius: $border-radius;
36
+ border-start-start-radius: $border-radius;
37
+ border-start-end-radius: $border-radius;
38
+ border-end-start-radius: $border-radius;
39
+ border-end-end-radius: $border-radius;
35
40
  }
36
41
 
37
42
  .content-display-option {
38
43
  list-style: none;
39
44
  position: relative;
40
- border-top: awsui.$border-divider-list-width solid awsui.$color-border-divider-default;
45
+ border-block-start: awsui.$border-divider-list-width solid awsui.$color-border-divider-default;
41
46
  &:not(.placeholder).sorting {
42
47
  @include animated;
43
48
  }
@@ -47,12 +52,12 @@ $border-radius: awsui.$border-radius-item;
47
52
  &:after {
48
53
  content: ' ';
49
54
  position: absolute;
50
- top: 0;
51
- bottom: 0;
52
- left: 0;
53
- right: 0;
55
+ inset: 0;
54
56
  background: awsui.$color-drag-placeholder-hover;
55
- border-radius: $border-radius;
57
+ border-start-start-radius: $border-radius;
58
+ border-start-end-radius: $border-radius;
59
+ border-end-start-radius: $border-radius;
60
+ border-end-end-radius: $border-radius;
56
61
  }
57
62
  }
58
63
  }
@@ -61,12 +66,15 @@ $border-radius: awsui.$border-radius-item;
61
66
  .content-display-option-label {
62
67
  flex-grow: 1;
63
68
  @include styles.text-wrapping;
64
- padding-right: awsui.$space-l;
69
+ padding-inline-end: awsui.$space-l;
65
70
  }
66
71
 
67
72
  .drag-overlay {
68
73
  box-shadow: awsui.$shadow-container-active;
69
- border-radius: $border-radius;
74
+ border-start-start-radius: $border-radius;
75
+ border-start-end-radius: $border-radius;
76
+ border-end-start-radius: $border-radius;
77
+ border-end-end-radius: $border-radius;
70
78
  @include focus-visible {
71
79
  @include styles.focus-highlight(0px, $border-radius);
72
80
  }
@@ -15,16 +15,18 @@
15
15
  .content-display-title {
16
16
  @include styles.font-label;
17
17
  color: awsui.$color-text-form-label;
18
- margin: 0;
18
+ margin-block: 0;
19
+ margin-inline: 0;
19
20
  }
20
21
 
21
22
  .content-display-description {
22
23
  @include styles.form-control-description;
23
- margin-top: awsui.$space-scaled-xxxs;
24
+ margin-block-start: awsui.$space-scaled-xxxs;
24
25
  }
25
26
 
26
27
  .content-display-option-list {
27
28
  position: relative;
28
29
  list-style: none;
29
- padding: 0;
30
+ padding-block: 0;
31
+ padding-inline: 0;
30
32
  }
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  .second-column-small {
21
- padding-top: calc(2 * #{awsui.$space-scaled-l});
21
+ padding-block-start: calc(2 * #{awsui.$space-scaled-l});
22
22
  }
23
23
 
24
24
  .wrap-lines,
@@ -18,30 +18,33 @@ $border: awsui.$border-divider-list-width solid awsui.$color-border-divider-defa
18
18
  .visible-content-title {
19
19
  @include styles.font-label;
20
20
  color: awsui.$color-text-form-label;
21
- margin: 0;
22
- margin-bottom: awsui.$space-scaled-l;
21
+ margin-block-start: 0;
22
+ margin-block-end: awsui.$space-scaled-l;
23
+ margin-inline: 0;
23
24
  }
24
25
 
25
26
  .visible-content-group-label {
26
27
  color: awsui.$color-text-group-label;
27
- padding-bottom: awsui.$space-xs;
28
- border-bottom: $border;
28
+ padding-block-end: awsui.$space-xs;
29
+ border-block-end: $border;
29
30
  }
30
31
 
31
32
  .visible-content-option {
32
33
  display: flex;
33
34
  flex-wrap: nowrap;
34
35
  justify-content: space-between;
35
- padding: awsui.$space-xs 0px awsui.$space-xs awsui.$space-scaled-l;
36
- border-bottom: $border;
36
+ padding-block: awsui.$space-xs;
37
+ padding-inline-start: awsui.$space-scaled-l;
38
+ padding-inline-end: 0px;
39
+ border-block-end: $border;
37
40
  &:last-child {
38
- border-bottom: none;
41
+ border-block-end: none;
39
42
  }
40
43
  }
41
44
 
42
45
  .visible-content-option-label {
43
46
  overflow: hidden;
44
47
  text-overflow: ellipsis;
45
- padding-right: awsui.$space-l;
48
+ padding-inline-end: awsui.$space-l;
46
49
  flex-grow: 1;
47
50
  }
@@ -14,13 +14,12 @@
14
14
 
15
15
  &.grid-variant-text-grid {
16
16
  > .item {
17
- border-left: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
18
- padding-left: awsui.$space-grid-gutter;
19
- padding-right: awsui.$space-grid-gutter;
17
+ border-inline-start: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
18
+ padding-inline: awsui.$space-grid-gutter;
20
19
 
21
20
  &.first-column {
22
- border-left: 0;
23
- padding-left: 0;
21
+ border-inline-start: 0;
22
+ padding-inline-start: 0;
24
23
  }
25
24
  }
26
25
  }
@@ -63,10 +63,10 @@ $column-breakpoint-spans: (
63
63
  @mixin make-horizontal-borders() {
64
64
  /* stylelint-disable selector-max-universal */
65
65
  > * {
66
- border-bottom: $column-layout-border;
66
+ border-block-end: $column-layout-border;
67
67
 
68
68
  &:last-child {
69
- border-bottom-width: 0;
69
+ border-block-end-width: 0;
70
70
  }
71
71
  }
72
72
  /* stylelint-enable selector-max-universal */
@@ -89,7 +89,7 @@ $column-breakpoint-spans: (
89
89
  @for $h from 1 through $items-per-row - $m + 1 {
90
90
  @if $h > 0 {
91
91
  > *:nth-last-child(#{$m}):nth-child(#{$items-per-row}n + #{$h}) {
92
- border-bottom-width: 0;
92
+ border-block-end-width: 0;
93
93
  }
94
94
  }
95
95
  }
@@ -103,25 +103,31 @@ div.column-layout {
103
103
  word-wrap: break-word;
104
104
 
105
105
  > .grid {
106
- margin: calc(#{$grid-gutter-width} / -2);
106
+ margin-block: calc(#{$grid-gutter-width} / -2);
107
+ margin-inline: calc(#{$grid-gutter-width} / -2);
107
108
 
108
109
  &.grid-no-gutters {
109
- margin: 0;
110
+ margin-block: 0;
111
+ margin-inline: 0;
110
112
  }
111
113
 
112
114
  &.grid-variant-text-grid {
113
115
  @include make-vertical-borders('left');
114
- margin: calc(-1 * #{$grid-gutter-width} / 2) calc(-1 * #{$grid-gutter-width});
116
+ margin-block: calc(-1 * #{$grid-gutter-width} / 2);
117
+ margin-inline: calc(-1 * #{$grid-gutter-width});
115
118
  }
116
119
  /* stylelint-disable-next-line selector-max-universal */
117
120
  &:not(.grid-no-gutters) > * {
118
- padding: calc(#{$grid-gutter-width} / 2);
121
+ padding-block: calc(#{$grid-gutter-width} / 2);
122
+ padding-inline: calc(#{$grid-gutter-width} / 2);
119
123
  }
120
124
 
121
125
  /* stylelint-disable-next-line selector-max-universal */
122
126
  &:not(.grid-no-gutters).grid-variant-text-grid > * {
123
- padding: 0 $grid-gutter-width;
124
- margin: calc(#{$grid-gutter-width} / 2) 0;
127
+ padding-block: 0;
128
+ padding-inline: $grid-gutter-width;
129
+ margin-block: calc(#{$grid-gutter-width} / 2);
130
+ margin-inline: 0;
125
131
  }
126
132
 
127
133
  &.grid-vertical-borders {