@cloudscape-design/components-themeable 3.0.530 → 3.0.532

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 (60) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/pagination/styles.scss +14 -9
  3. package/lib/internal/scss/pie-chart/styles.scss +10 -16
  4. package/lib/internal/scss/popover/arrow.scss +20 -16
  5. package/lib/internal/scss/popover/body.scss +7 -6
  6. package/lib/internal/scss/popover/container.scss +35 -33
  7. package/lib/internal/scss/popover/styles.scss +8 -5
  8. package/lib/internal/scss/progress-bar/styles.scss +32 -17
  9. package/lib/internal/scss/property-filter/styles.scss +22 -20
  10. package/lib/internal/scss/radio-group/styles.scss +2 -2
  11. package/lib/internal/scss/s3-resource-selector/s3-in-context/styles.scss +10 -8
  12. package/lib/internal/scss/segmented-control/segment.scss +22 -16
  13. package/lib/internal/scss/select/parts/styles.scss +23 -15
  14. package/lib/internal/scss/side-navigation/styles.scss +48 -35
  15. package/lib/internal/scss/spinner/mixins.scss +5 -5
  16. package/lib/internal/scss/spinner/styles.scss +16 -12
  17. package/lib/internal/scss/split-panel/styles.scss +74 -54
  18. package/lib/internal/scss/status-indicator/styles.scss +2 -2
  19. package/lib/internal/template/internal/environment.js +1 -1
  20. package/lib/internal/template/internal/environment.json +1 -1
  21. package/lib/internal/template/pagination/styles.css.js +9 -9
  22. package/lib/internal/template/pagination/styles.scoped.css +37 -32
  23. package/lib/internal/template/pagination/styles.selectors.js +9 -9
  24. package/lib/internal/template/pie-chart/styles.css.js +27 -27
  25. package/lib/internal/template/pie-chart/styles.scoped.css +66 -72
  26. package/lib/internal/template/pie-chart/styles.selectors.js +27 -27
  27. package/lib/internal/template/popover/styles.css.js +50 -50
  28. package/lib/internal/template/popover/styles.scoped.css +134 -119
  29. package/lib/internal/template/popover/styles.selectors.js +50 -50
  30. package/lib/internal/template/progress-bar/styles.css.js +18 -18
  31. package/lib/internal/template/progress-bar/styles.scoped.css +79 -54
  32. package/lib/internal/template/progress-bar/styles.selectors.js +18 -18
  33. package/lib/internal/template/property-filter/styles.css.js +31 -31
  34. package/lib/internal/template/property-filter/styles.scoped.css +54 -53
  35. package/lib/internal/template/property-filter/styles.selectors.js +31 -31
  36. package/lib/internal/template/radio-group/styles.css.js +9 -9
  37. package/lib/internal/template/radio-group/styles.scoped.css +17 -17
  38. package/lib/internal/template/radio-group/styles.selectors.js +9 -9
  39. package/lib/internal/template/s3-resource-selector/s3-in-context/styles.css.js +7 -7
  40. package/lib/internal/template/s3-resource-selector/s3-in-context/styles.scoped.css +18 -16
  41. package/lib/internal/template/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
  42. package/lib/internal/template/segmented-control/styles.css.js +14 -14
  43. package/lib/internal/template/segmented-control/styles.scoped.css +55 -49
  44. package/lib/internal/template/segmented-control/styles.selectors.js +14 -14
  45. package/lib/internal/template/select/parts/styles.css.js +16 -16
  46. package/lib/internal/template/select/parts/styles.scoped.css +39 -31
  47. package/lib/internal/template/select/parts/styles.selectors.js +16 -16
  48. package/lib/internal/template/side-navigation/styles.css.js +28 -28
  49. package/lib/internal/template/side-navigation/styles.scoped.css +86 -73
  50. package/lib/internal/template/side-navigation/styles.selectors.js +28 -28
  51. package/lib/internal/template/spinner/styles.css.js +13 -13
  52. package/lib/internal/template/spinner/styles.scoped.css +49 -45
  53. package/lib/internal/template/spinner/styles.selectors.js +13 -13
  54. package/lib/internal/template/split-panel/styles.css.js +55 -55
  55. package/lib/internal/template/split-panel/styles.scoped.css +149 -131
  56. package/lib/internal/template/split-panel/styles.selectors.js +55 -55
  57. package/lib/internal/template/status-indicator/styles.css.js +23 -23
  58. package/lib/internal/template/status-indicator/styles.scoped.css +31 -31
  59. package/lib/internal/template/status-indicator/styles.selectors.js +23 -23
  60. package/package.json +31 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "b4da3b8e1a16b4eb746e1f603dce3b49175c633d"
2
+ "commit": "2607709e89c50b171f1cc3ec919ef2905ba9f4b0"
3
3
  }
@@ -14,15 +14,17 @@
14
14
  flex-wrap: wrap;
15
15
  box-sizing: border-box;
16
16
  //reset base styles for ul
17
- padding-left: 0;
18
- margin: 0;
17
+ padding-inline-start: 0;
18
+ margin-block: 0;
19
+ margin-inline: 0;
19
20
  list-style: none;
20
21
  }
21
22
 
22
23
  .button,
23
24
  .dots {
24
- min-width: awsui.$space-l;
25
- border: styles.$control-border-width solid transparent;
25
+ min-inline-size: awsui.$space-l;
26
+ border-block: styles.$control-border-width solid transparent;
27
+ border-inline: styles.$control-border-width solid transparent;
26
28
  }
27
29
 
28
30
  .button {
@@ -31,7 +33,8 @@
31
33
  box-sizing: border-box;
32
34
  background: transparent;
33
35
  line-height: inherit;
34
- padding: 0;
36
+ padding-block: 0;
37
+ padding-inline: 0;
35
38
 
36
39
  &:focus {
37
40
  outline: none;
@@ -81,15 +84,17 @@
81
84
 
82
85
  .page-item,
83
86
  .dots {
84
- margin: styles.$control-padding-vertical awsui.$space-xxs;
87
+ margin-block: styles.$control-padding-vertical;
88
+ margin-inline: awsui.$space-xxs;
85
89
  text-align: center;
86
90
  box-sizing: border-box;
87
- padding: 0;
91
+ padding-block: 0;
92
+ padding-inline: 0;
88
93
  &:first-child {
89
- margin-left: 0;
94
+ margin-inline-start: 0;
90
95
  }
91
96
  &:last-child {
92
- margin-right: 0;
97
+ margin-inline-end: 0;
93
98
  }
94
99
  }
95
100
 
@@ -19,17 +19,17 @@
19
19
  $sizes: map.get(constants.$pie-chart-sizes, $size);
20
20
  $fitSizes: map.get(constants.$pie-chart-sizes-fit-height, $size);
21
21
 
22
- min-height: calc(
22
+ min-block-size: calc(
23
23
  2 * (#{map.get($sizes, 'radius')} + #{map.get($sizes, 'innerPadding')} + #{map.get($sizes, 'labelPadding')})
24
24
  );
25
25
  &.content--fit-height {
26
- min-height: calc(2 * (#{map.get($fitSizes, 'radius')} + #{map.get($fitSizes, 'labelPadding')}));
26
+ min-block-size: calc(2 * (#{map.get($fitSizes, 'radius')} + #{map.get($fitSizes, 'labelPadding')}));
27
27
  }
28
28
 
29
29
  &.content--without-labels {
30
- min-height: calc(2 * (#{map.get($sizes, 'radius')} + #{map.get($sizes, 'innerPadding')}));
30
+ min-block-size: calc(2 * (#{map.get($sizes, 'radius')} + #{map.get($sizes, 'innerPadding')}));
31
31
  &.content--fit-height {
32
- min-height: calc(2 * (#{map.get($fitSizes, 'radius')}));
32
+ min-block-size: calc(2 * (#{map.get($fitSizes, 'radius')}));
33
33
  }
34
34
  }
35
35
  }
@@ -49,8 +49,8 @@
49
49
  flex: 1;
50
50
 
51
51
  &--fit-height {
52
- height: 100%;
53
- min-height: inherit;
52
+ block-size: 100%;
53
+ min-block-size: inherit;
54
54
  }
55
55
  }
56
56
 
@@ -60,10 +60,7 @@
60
60
  &--fit-height {
61
61
  display: block;
62
62
  position: absolute;
63
- top: 0;
64
- right: 0;
65
- bottom: 0;
66
- left: 0;
63
+ inset: 0;
67
64
  }
68
65
  }
69
66
 
@@ -74,10 +71,7 @@
74
71
  justify-content: center;
75
72
  align-items: center;
76
73
  text-align: center;
77
- top: 0;
78
- left: 0;
79
- bottom: 0;
80
- right: 0;
74
+ inset: 0;
81
75
  pointer-events: none;
82
76
  }
83
77
 
@@ -121,7 +115,7 @@
121
115
 
122
116
  /* stylelint-disable-next-line selector-max-type */
123
117
  > div {
124
- margin-top: -0.75em;
118
+ margin-block-start: -0.75em;
125
119
  }
126
120
 
127
121
  &.label--dimmed {
@@ -131,7 +125,7 @@
131
125
  &.label--align-right {
132
126
  /* stylelint-disable-next-line selector-max-type */
133
127
  > div {
134
- text-align: right;
128
+ text-align: end;
135
129
  }
136
130
  }
137
131
  }
@@ -26,31 +26,32 @@
26
26
  $arrow-width: 20px;
27
27
  $arrow-height: $arrow-width * 0.5;
28
28
 
29
- width: $arrow-width;
30
- height: $arrow-height;
29
+ inline-size: $arrow-width;
30
+ block-size: $arrow-height;
31
31
 
32
32
  &-outer,
33
33
  &-inner {
34
34
  position: absolute;
35
35
  overflow: hidden;
36
- width: $arrow-width;
37
- height: $arrow-height;
36
+ inline-size: $arrow-width;
37
+ block-size: $arrow-height;
38
38
 
39
- top: 0;
40
- left: 0;
39
+ inset-block-start: 0;
40
+ inset-inline-start: 0;
41
41
 
42
42
  &::after {
43
43
  content: '';
44
44
  box-sizing: border-box;
45
45
  display: inline-block;
46
46
  position: absolute;
47
- border-radius: 2px 0 0 0;
48
-
49
- bottom: 0;
50
- left: 0;
51
-
52
- width: $arrow-edge-length;
53
- height: $arrow-edge-length;
47
+ border-start-start-radius: 2px;
48
+ border-start-end-radius: 0;
49
+ border-end-start-radius: 0;
50
+ border-end-end-radius: 0;
51
+ inset-block-end: 0;
52
+ inset-inline-start: 0;
53
+ inline-size: $arrow-edge-length;
54
+ block-size: $arrow-edge-length;
54
55
  transform: rotate(45deg);
55
56
  transform-origin: 0 100%;
56
57
  }
@@ -63,14 +64,17 @@
63
64
  }
64
65
 
65
66
  &-inner {
66
- top: 2px;
67
+ inset-block-start: 2px;
67
68
 
68
69
  &.refresh {
69
- top: 3px;
70
+ inset-block-start: 3px;
70
71
  }
71
72
 
72
73
  &::after {
73
- border-radius: 1px 0 0 0;
74
+ border-start-start-radius: 1px;
75
+ border-start-end-radius: 0;
76
+ border-end-start-radius: 0;
77
+ border-end-end-radius: 0;
74
78
  background-color: awsui.$color-background-popover;
75
79
  }
76
80
  }
@@ -10,7 +10,8 @@
10
10
  @include styles.styles-reset;
11
11
  @include styles.text-flex-wrapping;
12
12
 
13
- padding: awsui.$space-s awsui.$space-m;
13
+ padding-block: awsui.$space-s;
14
+ padding-inline: awsui.$space-m;
14
15
 
15
16
  &-overflow-visible {
16
17
  overflow: visible;
@@ -23,9 +24,9 @@
23
24
  }
24
25
 
25
26
  .dismiss {
26
- margin: calc(-1 * (#{awsui.$space-scaled-xxs} + #{awsui.$border-field-width}))
27
- calc(-1 * (#{awsui.$space-xxs} + #{awsui.$border-field-width}));
28
- margin-left: 0;
27
+ margin-block: calc(-1 * (#{awsui.$space-scaled-xxs} + #{awsui.$border-field-width}));
28
+ margin-inline-start: 0;
29
+ margin-inline-end: calc(-1 * (#{awsui.$space-xxs} + #{awsui.$border-field-width}));
29
30
  flex: 0 0 auto;
30
31
  order: 1;
31
32
  }
@@ -35,7 +36,7 @@
35
36
  }
36
37
 
37
38
  .header-row {
38
- margin-bottom: awsui.$space-xs;
39
+ margin-block-end: awsui.$space-xs;
39
40
  }
40
41
 
41
42
  .header {
@@ -55,7 +56,7 @@
55
56
  @include styles.text-flex-wrapping;
56
57
  color: awsui.$color-text-body-secondary;
57
58
  flex: 1 1 auto;
58
- min-width: 0;
59
+ min-inline-size: 0;
59
60
  &-overflow-visible {
60
61
  overflow: visible;
61
62
  }
@@ -9,19 +9,21 @@
9
9
  .container {
10
10
  display: inline-block;
11
11
  position: fixed;
12
- top: -9999px;
13
- left: -9999px;
12
+ inset-block-start: -9999px;
13
+ inset-inline-start: -9999px;
14
14
  z-index: 2000;
15
15
  }
16
16
 
17
17
  .container-body {
18
18
  @include styles.styles-reset;
19
-
20
- border-radius: awsui.$border-radius-popover;
21
-
19
+ border-start-start-radius: awsui.$border-radius-popover;
20
+ border-start-end-radius: awsui.$border-radius-popover;
21
+ border-end-start-radius: awsui.$border-radius-popover;
22
+ border-end-end-radius: awsui.$border-radius-popover;
22
23
  background-color: awsui.$color-background-popover;
23
24
  box-shadow: awsui.$shadow-popover;
24
- border: awsui.$border-field-width solid awsui.$color-border-popover;
25
+ border-block: awsui.$border-field-width solid awsui.$color-border-popover;
26
+ border-inline: awsui.$border-field-width solid awsui.$color-border-popover;
25
27
  }
26
28
 
27
29
  .container-body-variant-annotation {
@@ -30,27 +32,27 @@
30
32
  }
31
33
 
32
34
  .container-body-size-small {
33
- max-width: 210px;
35
+ max-inline-size: 210px;
34
36
  &.fixed-width {
35
- width: 210px;
37
+ inline-size: 210px;
36
38
  }
37
39
  }
38
40
 
39
41
  .container-body-size-medium {
40
- max-width: 310px;
42
+ max-inline-size: 310px;
41
43
  &.fixed-width {
42
- width: 310px;
44
+ inline-size: 310px;
43
45
  }
44
46
  }
45
47
 
46
48
  .container-body-size-large {
47
- max-width: 480px;
49
+ max-inline-size: 480px;
48
50
  @media (max-width: 480px) {
49
51
  // On viewports smaller than 480px, we default to the body-size-medium width
50
- max-width: 310px;
52
+ max-inline-size: 310px;
51
53
  }
52
54
  &.fixed-width {
53
- width: 480px;
55
+ inline-size: 480px;
54
56
  }
55
57
  }
56
58
 
@@ -69,13 +71,13 @@
69
71
  }
70
72
 
71
73
  &-position-right-top {
72
- top: calc(#{$arrow-offset} + #{$arrow-height});
73
- left: 0;
74
+ inset-block-start: calc(#{$arrow-offset} + #{$arrow-height});
75
+ inset-inline-start: 0;
74
76
  }
75
77
 
76
78
  &-position-right-bottom {
77
- bottom: $arrow-offset;
78
- left: 0;
79
+ inset-block-end: $arrow-offset;
80
+ inset-inline-start: 0;
79
81
  }
80
82
 
81
83
  &-position-left-top,
@@ -85,13 +87,13 @@
85
87
  }
86
88
 
87
89
  &-position-left-top {
88
- top: calc(#{$arrow-offset} + #{$arrow-height});
89
- right: 0;
90
+ inset-block-start: calc(#{$arrow-offset} + #{$arrow-height});
91
+ inset-inline-end: 0;
90
92
  }
91
93
 
92
94
  &-position-left-bottom {
93
- bottom: $arrow-offset;
94
- right: 0;
95
+ inset-block-end: $arrow-offset;
96
+ inset-inline-end: 0;
95
97
  }
96
98
 
97
99
  &-position-top-center,
@@ -103,32 +105,32 @@
103
105
  }
104
106
 
105
107
  &-position-top-center {
106
- bottom: -$arrow-width * 0.5;
107
- left: calc(50% - #{$arrow-height});
108
+ inset-block-end: -$arrow-width * 0.5;
109
+ inset-inline-start: calc(50% - #{$arrow-height});
108
110
  }
109
111
 
110
112
  &-position-top-right {
111
- bottom: -$arrow-width * 0.5;
112
- left: $arrow-offset;
113
+ inset-block-end: -$arrow-width * 0.5;
114
+ inset-inline-start: $arrow-offset;
113
115
  }
114
116
 
115
117
  &-position-top-left {
116
- bottom: -$arrow-width * 0.5;
117
- left: calc(100% - #{$arrow-width} - #{$arrow-offset});
118
+ inset-block-end: -$arrow-width * 0.5;
119
+ inset-inline-start: calc(100% - #{$arrow-width} - #{$arrow-offset});
118
120
  }
119
121
 
120
122
  &-position-bottom-center {
121
- top: -$arrow-width * 0.5;
122
- left: calc(50% - #{$arrow-height});
123
+ inset-block-start: -$arrow-width * 0.5;
124
+ inset-inline-start: calc(50% - #{$arrow-height});
123
125
  }
124
126
 
125
127
  &-position-bottom-right {
126
- top: -$arrow-width * 0.5;
127
- left: $arrow-offset;
128
+ inset-block-start: -$arrow-width * 0.5;
129
+ inset-inline-start: $arrow-offset;
128
130
  }
129
131
 
130
132
  &-position-bottom-left {
131
- top: -$arrow-width * 0.5;
132
- left: calc(100% - #{$arrow-width} - #{$arrow-offset});
133
+ inset-block-start: -$arrow-width * 0.5;
134
+ inset-inline-start: calc(100% - #{$arrow-width} - #{$arrow-offset});
133
135
  }
134
136
  }
@@ -19,19 +19,22 @@
19
19
 
20
20
  .trigger {
21
21
  display: inline-block;
22
- max-width: 100%;
22
+ max-inline-size: 100%;
23
23
  color: inherit;
24
24
  text-align: inherit;
25
25
  }
26
26
 
27
27
  .trigger-type-text {
28
- border: 0;
29
- margin: 0;
30
- padding: 0;
28
+ border-block: 0;
29
+ border-inline: 0;
30
+ margin-block: 0;
31
+ margin-inline: 0;
32
+ padding-block: 0;
33
+ padding-inline: 0;
31
34
  background-color: transparent;
32
35
 
33
36
  cursor: pointer;
34
- border-bottom: awsui.$border-divider-list-width dashed currentColor;
37
+ border-block-end: awsui.$border-divider-list-width dashed currentColor;
35
38
 
36
39
  &:focus {
37
40
  outline: none;
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  .with-result-button {
15
- padding-right: awsui.$space-m;
15
+ padding-inline-end: awsui.$space-m;
16
16
  }
17
17
 
18
18
  .result-text {
@@ -27,7 +27,8 @@
27
27
  }
28
28
  .result-button {
29
29
  display: inline-block;
30
- margin: awsui.$space-scaled-xxs 0;
30
+ margin-block: awsui.$space-scaled-xxs;
31
+ margin-inline: 0;
31
32
  }
32
33
 
33
34
  .word-wrap {
@@ -42,7 +43,7 @@
42
43
  &-key-value {
43
44
  @include styles.font-label;
44
45
  color: awsui.$color-text-label;
45
- margin-bottom: awsui.$space-scaled-xxxs;
46
+ margin-block-end: awsui.$space-scaled-xxxs;
46
47
  }
47
48
  }
48
49
 
@@ -53,15 +54,15 @@
53
54
  .progress-container {
54
55
  display: flex;
55
56
  align-items: center;
56
- max-width: 800px;
57
- height: awsui.$line-height-body-m;
57
+ max-inline-size: 800px;
58
+ block-size: awsui.$line-height-body-m;
58
59
  }
59
60
 
60
61
  .percentage-container {
61
- width: 3.3 * styles.$base-size;
62
+ inline-size: 3.3 * styles.$base-size;
62
63
  flex-shrink: 0;
63
64
  white-space: nowrap;
64
- text-align: right;
65
+ text-align: end;
65
66
  @include styles.font(body-s);
66
67
  }
67
68
 
@@ -70,14 +71,21 @@
70
71
  }
71
72
 
72
73
  @mixin general-progress-background-style {
73
- height: 0.4 * styles.$base-size;
74
- border: 0 none;
74
+ block-size: 0.4 * styles.$base-size;
75
+ border-block: 0;
76
+ border-inline: none;
75
77
  box-sizing: border-box;
76
- border-radius: 10px;
78
+ border-start-start-radius: 10px;
79
+ border-start-end-radius: 10px;
80
+ border-end-start-radius: 10px;
81
+ border-end-end-radius: 10px;
77
82
  }
78
83
 
79
84
  @mixin general-progress-bar-style {
80
- border-radius: 10px 0px 0px 10px;
85
+ border-start-start-radius: 10px;
86
+ border-start-end-radius: 0;
87
+ border-end-start-radius: 10px;
88
+ border-end-end-radius: 0;
81
89
  }
82
90
 
83
91
  $background-color: awsui.$color-background-progress-bar-layout-default;
@@ -91,9 +99,9 @@ $bar-color-edge: #0073bb;
91
99
  $bar-color-edge-in-flash: rgba(255, 255, 255, 0.7);
92
100
 
93
101
  .progress {
94
- width: 100%;
95
- margin-right: awsui.$space-s;
96
- min-width: 0;
102
+ inline-size: 100%;
103
+ margin-inline-end: awsui.$space-s;
104
+ min-inline-size: 0;
97
105
  @include general-progress-background-style;
98
106
  background-color: $background-color;
99
107
 
@@ -108,7 +116,10 @@ $bar-color-edge-in-flash: rgba(255, 255, 255, 0.7);
108
116
  }
109
117
 
110
118
  &.complete::-webkit-progress-value {
111
- border-radius: 10px;
119
+ border-start-start-radius: 10px;
120
+ border-start-end-radius: 10px;
121
+ border-end-start-radius: 10px;
122
+ border-end-end-radius: 10px;
112
123
  }
113
124
 
114
125
  &::-moz-progress-bar {
@@ -119,11 +130,15 @@ $bar-color-edge-in-flash: rgba(255, 255, 255, 0.7);
119
130
  &::-ms-fill {
120
131
  @include general-progress-bar-style;
121
132
  background-color: $bar-color-edge;
122
- border: none;
133
+ border-block: none;
134
+ border-inline: none;
123
135
  }
124
136
 
125
137
  &.complete::-ms-fill {
126
- border-radius: 10px;
138
+ border-start-start-radius: 10px;
139
+ border-start-end-radius: 10px;
140
+ border-end-start-radius: 10px;
141
+ border-end-end-radius: 10px;
127
142
  }
128
143
 
129
144
  &.progress-in-flash {
@@ -14,7 +14,7 @@
14
14
  display: flex;
15
15
  align-items: flex-end;
16
16
  // The xs breakpoint, minus the table tools container padding
17
- max-width: calc(#{styles.$breakpoint-x-small} - 2 * #{awsui.$space-l});
17
+ max-inline-size: calc(#{styles.$breakpoint-x-small} - 2 * #{awsui.$space-l});
18
18
  }
19
19
 
20
20
  .input-wrapper {
@@ -22,14 +22,15 @@
22
22
  }
23
23
 
24
24
  .add-token {
25
- border-left: 1px solid awsui.$color-border-divider-default;
25
+ border-inline-start: 1px solid awsui.$color-border-divider-default;
26
26
  box-sizing: border-box;
27
- margin-left: awsui.$space-m;
28
- padding-left: awsui.$space-m;
27
+ margin-inline-start: awsui.$space-m;
28
+ padding-inline-start: awsui.$space-m;
29
29
  }
30
30
 
31
31
  .tokens {
32
- margin: awsui.$space-xs 0;
32
+ margin-block: awsui.$space-xs;
33
+ margin-inline: 0;
33
34
  }
34
35
 
35
36
  .token-operator {
@@ -39,21 +40,23 @@
39
40
  .property-editor,
40
41
  .token-editor {
41
42
  user-select: text;
42
- margin: awsui.$space-xxs;
43
+ margin-block: awsui.$space-xxs;
44
+ margin-inline: awsui.$space-xxs;
45
+
43
46
  &-form {
44
- margin-bottom: awsui.$space-scaled-l;
47
+ margin-block-end: awsui.$space-scaled-l;
45
48
  }
46
49
  &-field-property {
47
50
  /* used in test-utils */
48
51
  }
49
52
  &-field-operator {
50
- margin-top: awsui.$space-scaled-l;
53
+ margin-block-start: awsui.$space-scaled-l;
51
54
  }
52
55
  &-field-value {
53
- margin-top: awsui.$space-scaled-l;
56
+ margin-block-start: awsui.$space-scaled-l;
54
57
  }
55
58
  &-cancel {
56
- margin-right: awsui.$space-xs;
59
+ margin-inline-end: awsui.$space-xs;
57
60
  }
58
61
  &-submit {
59
62
  /* used in test-utils */
@@ -61,20 +64,20 @@
61
64
  &-actions {
62
65
  display: flex;
63
66
  justify-content: flex-end;
64
- padding-top: awsui.$space-s;
65
- border-top: 1px solid #{awsui.$color-border-dropdown-item-default};
67
+ padding-block-start: awsui.$space-s;
68
+ border-block-start: 1px solid #{awsui.$color-border-dropdown-item-default};
66
69
  }
67
70
  }
68
71
  .token-editor {
69
72
  &-actions {
70
73
  // The below code cancels horizontal padding of the popover and horizontal margin of the token-editor.
71
- padding-right: calc(#{awsui.$space-m} + #{awsui.$space-xxs});
72
- margin-left: calc(-1 * #{awsui.$space-m} + -1 * #{awsui.$space-xxs});
73
- margin-right: calc(-1 * #{awsui.$space-m} + -1 * #{awsui.$space-xxs});
74
+ padding-inline-end: calc(#{awsui.$space-m} + #{awsui.$space-xxs});
75
+ margin-inline: calc(-1 * #{awsui.$space-m} + -1 * #{awsui.$space-xxs});
74
76
  }
75
77
  }
76
78
  .property-editor {
77
- padding: awsui.$space-m;
79
+ padding-block: awsui.$space-m;
80
+ padding-inline: awsui.$space-m;
78
81
  overflow-y: auto;
79
82
  }
80
83
 
@@ -83,7 +86,7 @@
83
86
  }
84
87
 
85
88
  .custom-control {
86
- margin-right: awsui.$space-s;
89
+ margin-inline-end: awsui.$space-s;
87
90
  }
88
91
 
89
92
  .input {
@@ -92,9 +95,8 @@
92
95
 
93
96
  .results {
94
97
  // Align with the filter input's vertical padding and border sizes.
95
- padding: calc(#{styles.$control-padding-vertical} + #{styles.$control-border-width});
96
- padding-left: 0;
97
- padding-right: 0;
98
+ padding-block: calc(#{styles.$control-padding-vertical} + #{styles.$control-border-width});
99
+ padding-inline: 0;
98
100
  }
99
101
 
100
102
  .token-trigger {
@@ -19,11 +19,11 @@ $radio-size: awsui.$size-control;
19
19
  }
20
20
 
21
21
  .radio + .radio {
22
- margin-top: awsui.$space-scaled-xxs;
22
+ margin-block-start: awsui.$space-scaled-xxs;
23
23
  }
24
24
 
25
25
  .radio--has-description + .radio {
26
- margin-top: awsui.$space-scaled-xs;
26
+ margin-block-start: awsui.$space-scaled-xs;
27
27
  }
28
28
 
29
29
  .radio-control {
@@ -21,25 +21,27 @@
21
21
  display: flex;
22
22
  flex-wrap: wrap;
23
23
  align-items: flex-end;
24
- margin: calc(-1 * #{awsui.$space-xs});
24
+ margin-block: calc(-1 * #{awsui.$space-xs});
25
+ margin-inline: calc(-1 * #{awsui.$space-xs});
25
26
 
26
27
  /* stylelint-disable selector-max-universal */
27
28
  & > * {
28
- margin: awsui.$space-xs;
29
+ margin-block: awsui.$space-xs;
30
+ margin-inline: awsui.$space-xs;
29
31
  }
30
32
  &-uri {
31
- min-width: 200px;
33
+ min-inline-size: 200px;
32
34
  flex: 1;
33
35
  }
34
36
  &-version {
35
- max-width: 180px;
36
- min-width: 140px;
37
- width: 20%;
37
+ max-inline-size: 180px;
38
+ min-inline-size: 140px;
39
+ inline-size: 20%;
38
40
  }
39
41
  &-divider {
40
- height: calc(
42
+ block-size: calc(
41
43
  2 * #{awsui.$border-divider-section-width} + 2 * #{awsui.$space-scaled-xxs} + #{awsui.$line-height-body-m}
42
44
  ); // replicate the button layout: 2x border, 2x vertical padding, text line-height
43
- border-left: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
45
+ border-inline-start: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
44
46
  }
45
47
  }