@cloudscape-design/components-themeable 3.0.16 → 3.0.17
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/lib/internal/scss/alert/styles.scss +1 -1
- package/lib/internal/scss/annotation-context/annotation/styles.scss +1 -1
- package/lib/internal/scss/badge/styles.scss +1 -1
- package/lib/internal/scss/button/styles.scss +1 -1
- package/lib/internal/scss/button-dropdown/category-elements/styles.scss +1 -1
- package/lib/internal/scss/button-dropdown/item-element/styles.scss +1 -1
- package/lib/internal/scss/code-editor/ace-editor.scss +2 -2
- package/lib/internal/scss/code-editor/pane.scss +3 -3
- package/lib/internal/scss/code-editor/styles.scss +7 -7
- package/lib/internal/scss/container/styles.scss +1 -1
- package/lib/internal/scss/date-picker/styles.scss +4 -4
- package/lib/internal/scss/date-range-picker/calendar/grids/day/styles.scss +5 -5
- package/lib/internal/scss/date-range-picker/styles.scss +1 -1
- package/lib/internal/scss/expandable-section/styles.scss +1 -1
- package/lib/internal/scss/flashbar/styles.scss +2 -2
- package/lib/internal/scss/input/styles.scss +1 -1
- package/lib/internal/scss/internal/components/filtering-token/styles.scss +1 -1
- package/lib/internal/scss/internal/components/options-list/styles.scss +1 -1
- package/lib/internal/scss/internal/components/selectable-item/styles.scss +1 -1
- package/lib/internal/scss/internal/styles/forms/constants.scss +1 -1
- package/lib/internal/scss/internal/styles/forms/mixins.scss +6 -6
- package/lib/internal/scss/modal/styles.scss +1 -1
- package/lib/internal/scss/pagination/styles.scss +1 -1
- package/lib/internal/scss/popover/body.scss +1 -1
- package/lib/internal/scss/radio-group/styles.scss +1 -1
- package/lib/internal/scss/segmented-control/segment.scss +2 -2
- package/lib/internal/scss/table/body-cell/styles.scss +2 -2
- package/lib/internal/scss/table/styles.scss +2 -2
- package/lib/internal/scss/tabs/tab-header-bar.scss +1 -1
- package/lib/internal/scss/token-group/styles.scss +2 -2
- package/lib/internal/scss/tutorial-panel/components/tutorial-list/styles.scss +1 -1
- package/lib/internal/scss/wizard/styles.scss +1 -1
- package/lib/internal/template/alert/styles.css.js +19 -19
- package/lib/internal/template/alert/styles.scoped.css +33 -33
- package/lib/internal/template/alert/styles.selectors.js +19 -19
- package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +30 -30
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
- package/lib/internal/template/app-layout/toggles/styles.css.js +3 -3
- package/lib/internal/template/app-layout/toggles/styles.scoped.css +12 -12
- package/lib/internal/template/app-layout/toggles/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +59 -59
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +152 -152
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +59 -59
- package/lib/internal/template/badge/styles.css.js +5 -5
- package/lib/internal/template/badge/styles.scoped.css +6 -6
- package/lib/internal/template/badge/styles.selectors.js +5 -5
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +16 -16
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
- package/lib/internal/template/button/styles.css.js +18 -18
- package/lib/internal/template/button/styles.scoped.css +164 -164
- package/lib/internal/template/button/styles.selectors.js +18 -18
- package/lib/internal/template/button-dropdown/category-elements/styles.css.js +12 -12
- package/lib/internal/template/button-dropdown/category-elements/styles.scoped.css +23 -23
- package/lib/internal/template/button-dropdown/category-elements/styles.selectors.js +12 -12
- package/lib/internal/template/button-dropdown/item-element/styles.css.js +13 -13
- package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +18 -18
- package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +13 -13
- package/lib/internal/template/cards/styles.css.js +37 -37
- package/lib/internal/template/cards/styles.scoped.css +46 -46
- package/lib/internal/template/cards/styles.selectors.js +37 -37
- package/lib/internal/template/checkbox/styles.css.js +3 -3
- package/lib/internal/template/checkbox/styles.scoped.css +7 -7
- package/lib/internal/template/checkbox/styles.selectors.js +3 -3
- package/lib/internal/template/code-editor/styles.css.js +33 -33
- package/lib/internal/template/code-editor/styles.scoped.css +185 -185
- package/lib/internal/template/code-editor/styles.selectors.js +33 -33
- package/lib/internal/template/container/styles.css.js +15 -15
- package/lib/internal/template/container/styles.scoped.css +26 -26
- package/lib/internal/template/container/styles.selectors.js +15 -15
- package/lib/internal/template/date-picker/styles.css.js +24 -24
- package/lib/internal/template/date-picker/styles.scoped.css +46 -46
- package/lib/internal/template/date-picker/styles.selectors.js +24 -24
- package/lib/internal/template/date-range-picker/calendar/grids/day/styles.css.js +21 -21
- package/lib/internal/template/date-range-picker/calendar/grids/day/styles.scoped.css +50 -50
- package/lib/internal/template/date-range-picker/calendar/grids/day/styles.selectors.js +21 -21
- package/lib/internal/template/date-range-picker/styles.css.js +42 -42
- package/lib/internal/template/date-range-picker/styles.scoped.css +53 -53
- package/lib/internal/template/date-range-picker/styles.selectors.js +42 -42
- package/lib/internal/template/expandable-section/styles.css.js +20 -20
- package/lib/internal/template/expandable-section/styles.scoped.css +42 -42
- package/lib/internal/template/expandable-section/styles.selectors.js +20 -20
- package/lib/internal/template/flashbar/styles.css.js +22 -22
- package/lib/internal/template/flashbar/styles.scoped.css +87 -87
- package/lib/internal/template/flashbar/styles.selectors.js +22 -22
- package/lib/internal/template/help-panel/styles.css.js +4 -4
- package/lib/internal/template/help-panel/styles.scoped.css +59 -59
- package/lib/internal/template/help-panel/styles.selectors.js +4 -4
- package/lib/internal/template/input/styles.css.js +13 -13
- package/lib/internal/template/input/styles.scoped.css +36 -36
- package/lib/internal/template/input/styles.selectors.js +13 -13
- package/lib/internal/template/internal/base-component/styles.scoped.css +24 -26
- package/lib/internal/template/internal/components/button-trigger/styles.css.js +9 -9
- package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +26 -26
- package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +9 -9
- package/lib/internal/template/internal/components/chart-legend/styles.css.js +7 -7
- package/lib/internal/template/internal/components/chart-legend/styles.scoped.css +16 -16
- package/lib/internal/template/internal/components/chart-legend/styles.selectors.js +7 -7
- package/lib/internal/template/internal/components/dropdown/styles.css.js +20 -20
- package/lib/internal/template/internal/components/dropdown/styles.scoped.css +38 -38
- package/lib/internal/template/internal/components/dropdown/styles.selectors.js +20 -20
- package/lib/internal/template/internal/components/filtering-token/styles.css.js +7 -7
- package/lib/internal/template/internal/components/filtering-token/styles.scoped.css +15 -15
- package/lib/internal/template/internal/components/filtering-token/styles.selectors.js +7 -7
- package/lib/internal/template/internal/components/menu-dropdown/styles.css.js +7 -7
- package/lib/internal/template/internal/components/menu-dropdown/styles.scoped.css +14 -14
- package/lib/internal/template/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/lib/internal/template/internal/components/options-list/styles.css.js +2 -2
- package/lib/internal/template/internal/components/options-list/styles.scoped.css +3 -3
- package/lib/internal/template/internal/components/options-list/styles.selectors.js +2 -2
- package/lib/internal/template/internal/components/selectable-item/styles.css.js +16 -16
- package/lib/internal/template/internal/components/selectable-item/styles.scoped.css +28 -28
- package/lib/internal/template/internal/components/selectable-item/styles.selectors.js +16 -16
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/generated/theming/index.cjs +36 -39
- package/lib/internal/template/internal/generated/theming/index.js +36 -39
- package/lib/internal/template/link/styles.css.js +18 -18
- package/lib/internal/template/link/styles.scoped.css +70 -70
- package/lib/internal/template/link/styles.selectors.js +18 -18
- package/lib/internal/template/modal/styles.css.js +22 -22
- package/lib/internal/template/modal/styles.scoped.css +42 -42
- package/lib/internal/template/modal/styles.selectors.js +22 -22
- package/lib/internal/template/pagination/styles.css.js +9 -9
- package/lib/internal/template/pagination/styles.scoped.css +24 -24
- package/lib/internal/template/pagination/styles.selectors.js +9 -9
- package/lib/internal/template/popover/styles.css.js +48 -48
- package/lib/internal/template/popover/styles.scoped.css +64 -64
- package/lib/internal/template/popover/styles.selectors.js +48 -48
- package/lib/internal/template/radio-group/styles.css.js +9 -9
- package/lib/internal/template/radio-group/styles.scoped.css +17 -17
- package/lib/internal/template/radio-group/styles.selectors.js +9 -9
- package/lib/internal/template/segmented-control/styles.css.js +14 -14
- package/lib/internal/template/segmented-control/styles.scoped.css +36 -36
- package/lib/internal/template/segmented-control/styles.selectors.js +14 -14
- package/lib/internal/template/side-navigation/styles.css.js +22 -22
- package/lib/internal/template/side-navigation/styles.scoped.css +33 -33
- package/lib/internal/template/side-navigation/styles.selectors.js +22 -22
- package/lib/internal/template/split-panel/styles.css.js +58 -58
- package/lib/internal/template/split-panel/styles.scoped.css +81 -81
- package/lib/internal/template/split-panel/styles.selectors.js +58 -58
- package/lib/internal/template/table/body-cell/styles.css.js +7 -7
- package/lib/internal/template/table/body-cell/styles.scoped.css +20 -20
- package/lib/internal/template/table/body-cell/styles.selectors.js +7 -7
- package/lib/internal/template/table/header-cell/styles.css.js +14 -14
- package/lib/internal/template/table/header-cell/styles.scoped.css +26 -26
- package/lib/internal/template/table/header-cell/styles.selectors.js +14 -14
- package/lib/internal/template/table/styles.css.js +32 -32
- package/lib/internal/template/table/styles.scoped.css +40 -40
- package/lib/internal/template/table/styles.selectors.js +32 -32
- package/lib/internal/template/tabs/styles.css.js +21 -21
- package/lib/internal/template/tabs/styles.scoped.css +39 -39
- package/lib/internal/template/tabs/styles.selectors.js +21 -21
- package/lib/internal/template/tag-editor/styles.css.js +3 -3
- package/lib/internal/template/tag-editor/styles.scoped.css +11 -11
- package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
- package/lib/internal/template/text-content/styles.css.js +1 -1
- package/lib/internal/template/text-content/styles.scoped.css +61 -61
- package/lib/internal/template/text-content/styles.selectors.js +1 -1
- package/lib/internal/template/textarea/styles.css.js +4 -4
- package/lib/internal/template/textarea/styles.scoped.css +14 -14
- package/lib/internal/template/textarea/styles.selectors.js +4 -4
- package/lib/internal/template/tiles/styles.css.js +28 -28
- package/lib/internal/template/tiles/styles.scoped.css +69 -69
- package/lib/internal/template/tiles/styles.selectors.js +28 -28
- package/lib/internal/template/toggle/styles.css.js +8 -8
- package/lib/internal/template/toggle/styles.scoped.css +15 -15
- package/lib/internal/template/toggle/styles.selectors.js +8 -8
- package/lib/internal/template/token-group/styles.css.js +7 -7
- package/lib/internal/template/token-group/styles.scoped.css +25 -25
- package/lib/internal/template/token-group/styles.selectors.js +7 -7
- package/lib/internal/template/top-navigation/1.0-beta/styles.css.js +25 -25
- package/lib/internal/template/top-navigation/1.0-beta/styles.scoped.css +43 -43
- package/lib/internal/template/top-navigation/1.0-beta/styles.selectors.js +25 -25
- package/lib/internal/template/top-navigation/styles.css.js +47 -47
- package/lib/internal/template/top-navigation/styles.scoped.css +68 -68
- package/lib/internal/template/top-navigation/styles.selectors.js +47 -47
- package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
- package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.scoped.css +30 -30
- package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
- package/lib/internal/template/wizard/styles.css.js +31 -31
- package/lib/internal/template/wizard/styles.scoped.css +60 -60
- package/lib/internal/template/wizard/styles.selectors.js +31 -31
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
display: flex;
|
|
26
26
|
justify-content: flex-start;
|
|
27
27
|
align-items: flex-start;
|
|
28
|
-
border-radius: awsui.$border-alert
|
|
28
|
+
border-radius: awsui.$border-radius-alert;
|
|
29
29
|
border: awsui.$border-field-width solid;
|
|
30
30
|
padding: awsui.$space-alert-vertical awsui.$space-alert-horizontal;
|
|
31
31
|
background-color: awsui.$color-background-container-content;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
@include styles.font-body-s;
|
|
13
13
|
line-height: awsui.$font-body-m-line-height;
|
|
14
14
|
display: inline-block;
|
|
15
|
-
border-radius: awsui.$border-badge
|
|
15
|
+
border-radius: awsui.$border-radius-badge;
|
|
16
16
|
padding: 0 awsui.$space-xs;
|
|
17
17
|
color: awsui.$color-text-notification-default;
|
|
18
18
|
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
.button {
|
|
77
77
|
@include styles.styles-reset;
|
|
78
78
|
@include styles.text-wrapping;
|
|
79
|
-
border-radius: awsui.$border-button
|
|
79
|
+
border-radius: awsui.$border-radius-button;
|
|
80
80
|
border: styles.$control-border-width solid;
|
|
81
81
|
padding: styles.$control-padding-vertical awsui.$space-l;
|
|
82
82
|
font-weight: awsui.$font-button-weight;
|
|
@@ -48,7 +48,7 @@ $option-padding-horizontal: awsui.$space-l;
|
|
|
48
48
|
// reset padding when adding border back in
|
|
49
49
|
padding: styles.$option-padding-vertical $option-padding-horizontal;
|
|
50
50
|
border: awsui.$border-item-width solid awsui.$color-border-dropdown-item-hover;
|
|
51
|
-
border-radius: awsui.$border-item
|
|
51
|
+
border-radius: awsui.$border-radius-item;
|
|
52
52
|
z-index: 2;
|
|
53
53
|
&.disabled {
|
|
54
54
|
background-color: awsui.$color-background-dropdown-item-dimmed;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
&.variant-primary {
|
|
36
36
|
background-color: awsui.$color-background-dropdown-item-hover;
|
|
37
37
|
border-color: awsui.$color-border-dropdown-item-hover;
|
|
38
|
-
border-radius: awsui.$border-item
|
|
38
|
+
border-radius: awsui.$border-radius-item;
|
|
39
39
|
|
|
40
40
|
&.disabled {
|
|
41
41
|
color: awsui.$color-text-dropdown-item-dimmed;
|
|
@@ -198,10 +198,10 @@
|
|
|
198
198
|
|
|
199
199
|
.code-editor-refresh :global .ace_editor {
|
|
200
200
|
.ace_gutter {
|
|
201
|
-
border-top-left-radius: calc(awsui.$border-item
|
|
201
|
+
border-top-left-radius: calc(awsui.$border-radius-item - awsui.$border-item-width);
|
|
202
202
|
}
|
|
203
203
|
.ace_scroller {
|
|
204
|
-
border-top-right-radius: calc(awsui.$border-item
|
|
204
|
+
border-top-right-radius: calc(awsui.$border-radius-item - awsui.$border-item-width);
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
@mixin pane-row-border($border-color) {
|
|
11
11
|
$border: awsui.$border-item-width solid $border-color;
|
|
12
|
-
$radius: awsui.$border-item
|
|
12
|
+
$radius: awsui.$border-radius-item;
|
|
13
13
|
> .pane__cell {
|
|
14
14
|
border-top: $border;
|
|
15
15
|
border-bottom: $border;
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
flex: 1;
|
|
34
34
|
|
|
35
35
|
border-top: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
|
|
36
|
-
border-bottom-left-radius: awsui.$border-item
|
|
37
|
-
border-bottom-right-radius: awsui.$border-item
|
|
36
|
+
border-bottom-left-radius: awsui.$border-radius-item;
|
|
37
|
+
border-bottom-right-radius: awsui.$border-radius-item;
|
|
38
38
|
background: awsui.$color-background-code-editor-status-bar;
|
|
39
39
|
color: awsui.$color-text-body-default;
|
|
40
40
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
@include styles.styles-reset;
|
|
16
16
|
display: inline-block;
|
|
17
17
|
border: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
|
|
18
|
-
border-radius: awsui.$border-item
|
|
18
|
+
border-radius: awsui.$border-radius-item;
|
|
19
19
|
width: 100%;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.code-editor-refresh > .resizable-box > .editor {
|
|
64
|
-
border-top-left-radius: calc(awsui.$border-item
|
|
65
|
-
border-top-right-radius: calc(awsui.$border-item
|
|
64
|
+
border-top-left-radius: calc(awsui.$border-radius-item - awsui.$border-item-width);
|
|
65
|
+
border-top-right-radius: calc(awsui.$border-radius-item - awsui.$border-item-width);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.status-bar {
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
border-top: awsui.$border-item-width solid awsui.$color-border-code-editor-default;
|
|
73
73
|
background-color: awsui.$color-background-code-editor-status-bar;
|
|
74
74
|
&-with-hidden-pane {
|
|
75
|
-
border-bottom-left-radius: awsui.$border-item
|
|
76
|
-
border-bottom-right-radius: awsui.$border-item
|
|
75
|
+
border-bottom-left-radius: awsui.$border-radius-item;
|
|
76
|
+
border-bottom-right-radius: awsui.$border-radius-item;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
@include styles.text-wrapping;
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
right: 0;
|
|
137
137
|
bottom: 0;
|
|
138
138
|
height: awsui.$border-active-width;
|
|
139
|
-
border-radius: awsui.$border-
|
|
139
|
+
border-radius: awsui.$border-radius-tabs-focus-ring;
|
|
140
140
|
background: awsui.$color-text-status-error;
|
|
141
141
|
opacity: 0;
|
|
142
142
|
}
|
|
@@ -200,7 +200,7 @@ $default-height: 480px;
|
|
|
200
200
|
|
|
201
201
|
color: awsui.$color-text-body-secondary;
|
|
202
202
|
background: awsui.$color-background-code-editor-loading;
|
|
203
|
-
border-radius: awsui.$border-item
|
|
203
|
+
border-radius: awsui.$border-radius-item;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
.error-screen {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
.header {
|
|
34
34
|
background-color: awsui.$color-background-container-header;
|
|
35
|
-
border-radius: awsui.$border-container
|
|
35
|
+
border-radius: awsui.$border-radius-container;
|
|
36
36
|
// sticky positioning may be disabled (on mobile or if browser does not support it),
|
|
37
37
|
// but some markup still requires a new stacking context
|
|
38
38
|
&-sticky-disabled {
|
|
@@ -107,7 +107,7 @@ $calendar-grid-border: 1px solid $calendar-grid-border-color;
|
|
|
107
107
|
text-align: center;
|
|
108
108
|
border-bottom: $calendar-grid-border;
|
|
109
109
|
border-right: $calendar-grid-border;
|
|
110
|
-
border-radius: awsui.$border-
|
|
110
|
+
border-radius: awsui.$border-radius-item;
|
|
111
111
|
padding: awsui.$space-xxs 0;
|
|
112
112
|
color: $calendar-grid-disabled-day-color;
|
|
113
113
|
position: relative;
|
|
@@ -136,7 +136,7 @@ $calendar-grid-border: 1px solid $calendar-grid-border-color;
|
|
|
136
136
|
&:not(.calendar-day-selected) {
|
|
137
137
|
&::after {
|
|
138
138
|
border: awsui.$border-item-width solid $calendar-grid-hover-border-color;
|
|
139
|
-
border-radius: awsui.$border-
|
|
139
|
+
border-radius: awsui.$border-radius-item;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
}
|
|
@@ -165,7 +165,7 @@ $calendar-grid-border: 1px solid $calendar-grid-border-color;
|
|
|
165
165
|
outline: none;
|
|
166
166
|
@include styles.focus-highlight(
|
|
167
167
|
awsui.$space-calendar-grid-focus-outline-gutter,
|
|
168
|
-
awsui.$border-calendar-
|
|
168
|
+
awsui.$border-radius-calendar-day-focused
|
|
169
169
|
);
|
|
170
170
|
&::before {
|
|
171
171
|
z-index: 2;
|
|
@@ -178,7 +178,7 @@ $calendar-grid-border: 1px solid $calendar-grid-border-color;
|
|
|
178
178
|
&::after {
|
|
179
179
|
background-color: $calendar-grid-selected-background-color;
|
|
180
180
|
border: awsui.$border-item-width solid $calendar-grid-selected-border-color;
|
|
181
|
-
border-radius: awsui.$border-
|
|
181
|
+
border-radius: awsui.$border-radius-item;
|
|
182
182
|
}
|
|
183
183
|
> .day-inner {
|
|
184
184
|
color: awsui.$color-text-calendar-day-selected;
|
|
@@ -31,7 +31,7 @@ $calendar-grid-width: 234px;
|
|
|
31
31
|
@mixin border-radius($horizontal, $vertical) {
|
|
32
32
|
&,
|
|
33
33
|
&::after {
|
|
34
|
-
border-#{$horizontal}-#{$vertical}-radius: awsui.$border-item
|
|
34
|
+
border-#{$horizontal}-#{$vertical}-radius: awsui.$border-radius-item;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -85,7 +85,7 @@ $calendar-grid-width: 234px;
|
|
|
85
85
|
z-index: 2;
|
|
86
86
|
@include styles.focus-highlight(
|
|
87
87
|
awsui.$space-calendar-grid-focus-outline-gutter,
|
|
88
|
-
awsui.$border-calendar-
|
|
88
|
+
awsui.$border-radius-calendar-day-focused
|
|
89
89
|
);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -120,7 +120,7 @@ $calendar-grid-width: 234px;
|
|
|
120
120
|
&.no-range {
|
|
121
121
|
&,
|
|
122
122
|
&::after {
|
|
123
|
-
border-radius: awsui.$border-
|
|
123
|
+
border-radius: awsui.$border-radius-item;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
&:hover {
|
|
@@ -137,7 +137,7 @@ $calendar-grid-width: 234px;
|
|
|
137
137
|
|
|
138
138
|
.today:not(.in-range) {
|
|
139
139
|
background-color: $calendar-grid-today-background-color;
|
|
140
|
-
border-radius: awsui.$border-
|
|
140
|
+
border-radius: awsui.$border-radius-item;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.selected {
|
|
@@ -148,7 +148,7 @@ $calendar-grid-width: 234px;
|
|
|
148
148
|
@include focus-visible.when-visible {
|
|
149
149
|
@include styles.focus-highlight(
|
|
150
150
|
awsui.$space-calendar-grid-selected-focus-outline-gutter,
|
|
151
|
-
awsui.$border-calendar-
|
|
151
|
+
awsui.$border-radius-calendar-day-focused,
|
|
152
152
|
$calendar-grid-selected-focused-box-shadow
|
|
153
153
|
);
|
|
154
154
|
&::before {
|
|
@@ -177,7 +177,7 @@ $calendar-grid-width: awsui.$size-calendar-grid-width;
|
|
|
177
177
|
|
|
178
178
|
border-top: 1px solid #{awsui.$color-border-container-top};
|
|
179
179
|
border-bottom: 1px solid #{awsui.$color-border-container-top};
|
|
180
|
-
border-radius: awsui.$border-dropdown
|
|
180
|
+
border-radius: awsui.$border-radius-dropdown;
|
|
181
181
|
|
|
182
182
|
&:focus {
|
|
183
183
|
outline: none;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
padding: awsui.$space-scaled-xs awsui.$space-flashbar-horizontal;
|
|
23
23
|
@include styles.container-shadow;
|
|
24
24
|
border-top: none;
|
|
25
|
-
border-radius: awsui.$border-flashbar
|
|
25
|
+
border-radius: awsui.$border-radius-flashbar;
|
|
26
26
|
color: awsui.$color-text-notification-default;
|
|
27
27
|
overflow-wrap: break-word;
|
|
28
28
|
word-wrap: break-word;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
bottom: 0px;
|
|
44
44
|
right: 0px;
|
|
45
45
|
background-color: transparent;
|
|
46
|
-
border-radius: awsui.$border-flashbar
|
|
46
|
+
border-radius: awsui.$border-radius-flashbar;
|
|
47
47
|
pointer-events: none;
|
|
48
48
|
box-shadow: awsui.$shadow-flash-sticky;
|
|
49
49
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: stretch;
|
|
20
20
|
background: constants.$token-background;
|
|
21
|
-
border-radius: awsui.$border-
|
|
21
|
+
border-radius: awsui.$border-radius-control;
|
|
22
22
|
color: awsui.$color-text-body-default;
|
|
23
23
|
height: 100%;
|
|
24
24
|
box-sizing: border-box;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
&.selected {
|
|
46
46
|
color: awsui.$color-text-dropdown-item-highlighted;
|
|
47
47
|
border-width: awsui.$border-item-width;
|
|
48
|
-
border-radius: awsui.$border-item
|
|
48
|
+
border-radius: awsui.$border-radius-item;
|
|
49
49
|
padding: styles.$option-padding-vertical styles.$control-padding-horizontal;
|
|
50
50
|
&.pad-bottom {
|
|
51
51
|
padding-bottom: (calc(#{styles.$option-padding-vertical} + #{awsui.$space-xxxs}));
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@use '../tokens' as awsui;
|
|
8
8
|
|
|
9
9
|
$control-border-width: awsui.$border-field-width;
|
|
10
|
-
$control-border-radius: awsui.$border-
|
|
10
|
+
$control-border-radius: awsui.$border-radius-control;
|
|
11
11
|
|
|
12
12
|
// Use for options in dropdowns
|
|
13
13
|
$option-padding-vertical: awsui.$space-xxs;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
outline-offset: 2px;
|
|
18
18
|
outline-color: awsui.$color-border-item-focused;
|
|
19
19
|
// For visual refresh
|
|
20
|
-
border-radius: awsui.$border-control-focus-ring-
|
|
20
|
+
border-radius: awsui.$border-radius-control-focus-ring-default;
|
|
21
21
|
box-shadow: 0 0 0 awsui.$border-link-focus-ring-shadow-spread awsui.$color-border-item-focused;
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
outline: 2px dotted transparent;
|
|
31
31
|
outline-offset: 2px;
|
|
32
32
|
|
|
33
|
-
border-radius: awsui.$border-container
|
|
33
|
+
border-radius: awsui.$border-radius-container;
|
|
34
34
|
box-shadow: foundation.$box-shadow-focused;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
@mixin focus-highlight(
|
|
38
38
|
$gutter,
|
|
39
|
-
$border-radius: awsui.$border-control-focus-ring-
|
|
39
|
+
$border-radius: awsui.$border-radius-control-focus-ring-default,
|
|
40
40
|
$box-shadow: foundation.$box-shadow-focused
|
|
41
41
|
) {
|
|
42
42
|
$gutter-vertical: $gutter;
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
@mixin container-shadow {
|
|
134
134
|
box-shadow: awsui.$shadow-container;
|
|
135
135
|
border-top: awsui.$border-container-top-width solid awsui.$color-border-container-top;
|
|
136
|
-
border-radius: awsui.$border-container
|
|
136
|
+
border-radius: awsui.$border-radius-container;
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
|
|
139
139
|
// HACK: because of the issues with IE's box shadow rendering we draw
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
|
|
146
146
|
@mixin dropdown-shadow {
|
|
147
147
|
box-shadow: awsui.$shadow-dropdown;
|
|
148
|
-
border-radius: awsui.$border-dropdown
|
|
148
|
+
border-radius: awsui.$border-radius-dropdown;
|
|
149
149
|
border-top: awsui.$border-divider-list-width solid awsui.$color-border-container-top;
|
|
150
150
|
box-sizing: border-box;
|
|
151
151
|
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
right: 0px;
|
|
160
160
|
background-color: transparent;
|
|
161
161
|
border: awsui.$border-field-width solid awsui.$color-border-dropdown-container;
|
|
162
|
-
border-radius: awsui.$border-dropdown
|
|
162
|
+
border-radius: awsui.$border-radius-dropdown;
|
|
163
163
|
pointer-events: none;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
@@ -95,7 +95,7 @@ $modal-z-index: 5000;
|
|
|
95
95
|
padding: awsui.$space-s awsui.$space-modal-horizontal;
|
|
96
96
|
background-color: awsui.$color-background-container-header;
|
|
97
97
|
border-bottom: 1px solid awsui.$color-border-container-divider;
|
|
98
|
-
border-radius: awsui.$border-container
|
|
98
|
+
border-radius: awsui.$border-radius-container awsui.$border-radius-container 0 0;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.header--text {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
@include styles.text-flex-wrapping;
|
|
13
13
|
|
|
14
14
|
box-sizing: border-box;
|
|
15
|
-
border-radius: awsui.$border-
|
|
15
|
+
border-radius: awsui.$border-radius-control;
|
|
16
16
|
padding: awsui.$space-s awsui.$space-m;
|
|
17
17
|
|
|
18
18
|
background-color: awsui.$color-background-popover;
|
|
@@ -34,7 +34,7 @@ $radio-size: awsui.$size-control;
|
|
|
34
34
|
@include focus-visible.when-visible {
|
|
35
35
|
/* stylelint-disable-next-line selector-max-type, @cloudscape-design/no-implicit-descendant */
|
|
36
36
|
& + div {
|
|
37
|
-
@include styles.focus-highlight(2px, awsui.$border-control-focus-ring-
|
|
37
|
+
@include styles.focus-highlight(2px, awsui.$border-radius-control-focus-ring-circle);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -58,10 +58,10 @@ $selected-color: awsui.$color-text-segment-active;
|
|
|
58
58
|
}
|
|
59
59
|
&:last-child {
|
|
60
60
|
border-right-width: styles.$control-border-width;
|
|
61
|
-
border-radius: 0 awsui.$border-button
|
|
61
|
+
border-radius: 0 awsui.$border-radius-button awsui.$border-radius-button 0;
|
|
62
62
|
}
|
|
63
63
|
&:first-child {
|
|
64
|
-
border-radius: awsui.$border-button
|
|
64
|
+
border-radius: awsui.$border-radius-button 0 0 awsui.$border-radius-button;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&.disabled {
|
|
@@ -51,11 +51,11 @@ $border-placeholder: awsui.$border-item-width solid transparent;
|
|
|
51
51
|
padding-bottom: $cell-vertical-padding;
|
|
52
52
|
&:first-child {
|
|
53
53
|
border-left: $selected-border;
|
|
54
|
-
border-radius: awsui.$border-item
|
|
54
|
+
border-radius: awsui.$border-radius-item 0 0 awsui.$border-radius-item;
|
|
55
55
|
}
|
|
56
56
|
&:last-child {
|
|
57
57
|
border-right: $selected-border;
|
|
58
|
-
border-radius: 0 awsui.$border-item
|
|
58
|
+
border-radius: 0 awsui.$border-radius-item awsui.$border-radius-item 0;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
// Use padding as a selected border placeholder to make sure rows don't change height on selection (visual refresh)
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
padding-top: awsui.$space-table-content-top;
|
|
62
62
|
padding-bottom: awsui.$space-table-content-bottom;
|
|
63
63
|
overflow-x: auto;
|
|
64
|
-
border-top-right-radius: awsui.$border-container
|
|
65
|
-
border-top-left-radius: awsui.$border-container
|
|
64
|
+
border-top-right-radius: awsui.$border-radius-container;
|
|
65
|
+
border-top-left-radius: awsui.$border-radius-container;
|
|
66
66
|
&.variant-stacked,
|
|
67
67
|
&.variant-container {
|
|
68
68
|
& > .table {
|
|
@@ -155,7 +155,7 @@ $label-horizontal-spacing: awsui.$space-l;
|
|
|
155
155
|
width: 100%;
|
|
156
156
|
bottom: calc(-1 * #{awsui.$border-divider-section-width});
|
|
157
157
|
height: awsui.$border-active-width;
|
|
158
|
-
border-radius: awsui.$border-
|
|
158
|
+
border-radius: awsui.$border-radius-tabs-focus-ring;
|
|
159
159
|
background: awsui.$color-border-tabs-underline;
|
|
160
160
|
|
|
161
161
|
opacity: 0;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: flex-start;
|
|
25
25
|
background: constants.$token-background;
|
|
26
|
-
border-radius: awsui.$border-
|
|
26
|
+
border-radius: awsui.$border-radius-control;
|
|
27
27
|
color: awsui.$color-text-body-default;
|
|
28
28
|
height: 100%;
|
|
29
29
|
box-sizing: border-box;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@include focus-visible.when-visible {
|
|
96
|
-
@include styles.form-focus-element(awsui.$border-control-focus-ring-
|
|
96
|
+
@include styles.form-focus-element(awsui.$border-radius-control-focus-ring-default);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
> .description {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@include styles.styles-reset;
|
|
20
20
|
list-style: none;
|
|
21
21
|
border: awsui.$border-divider-section-width solid awsui.$color-border-tutorial;
|
|
22
|
-
border-radius: awsui.$border-
|
|
22
|
+
border-radius: awsui.$border-radius-control;
|
|
23
23
|
padding: awsui.$space-m;
|
|
24
24
|
|
|
25
25
|
&:not(:first-child) {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
> ul {
|
|
38
38
|
background: awsui.$color-background-container-content;
|
|
39
|
-
border-radius: awsui.$border-container
|
|
39
|
+
border-radius: awsui.$border-radius-container;
|
|
40
40
|
box-shadow: awsui.$shadow-container;
|
|
41
41
|
margin: 0;
|
|
42
42
|
padding: awsui.$space-scaled-l awsui.$space-l;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"alert": "
|
|
5
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
6
|
-
"root": "
|
|
7
|
-
"hidden": "
|
|
8
|
-
"body": "
|
|
9
|
-
"header": "
|
|
10
|
-
"action": "
|
|
11
|
-
"action-button": "awsui_action-
|
|
12
|
-
"text": "
|
|
13
|
-
"icon": "
|
|
14
|
-
"message": "
|
|
15
|
-
"breakpoint-default": "awsui_breakpoint-
|
|
16
|
-
"content": "
|
|
17
|
-
"dismiss": "
|
|
18
|
-
"dismiss-button": "awsui_dismiss-
|
|
19
|
-
"type-error": "awsui_type-
|
|
20
|
-
"type-warning": "awsui_type-
|
|
21
|
-
"type-success": "awsui_type-
|
|
22
|
-
"type-info": "awsui_type-
|
|
4
|
+
"alert": "awsui_alert_mx3cw_yyus1_93",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_yyus1_1",
|
|
6
|
+
"root": "awsui_root_mx3cw_yyus1_119",
|
|
7
|
+
"hidden": "awsui_hidden_mx3cw_yyus1_133",
|
|
8
|
+
"body": "awsui_body_mx3cw_yyus1_156",
|
|
9
|
+
"header": "awsui_header_mx3cw_yyus1_162",
|
|
10
|
+
"action": "awsui_action_mx3cw_yyus1_166",
|
|
11
|
+
"action-button": "awsui_action-button_mx3cw_yyus1_171",
|
|
12
|
+
"text": "awsui_text_mx3cw_yyus1_175",
|
|
13
|
+
"icon": "awsui_icon_mx3cw_yyus1_179",
|
|
14
|
+
"message": "awsui_message_mx3cw_yyus1_182",
|
|
15
|
+
"breakpoint-default": "awsui_breakpoint-default_mx3cw_yyus1_190",
|
|
16
|
+
"content": "awsui_content_mx3cw_yyus1_204",
|
|
17
|
+
"dismiss": "awsui_dismiss_mx3cw_yyus1_208",
|
|
18
|
+
"dismiss-button": "awsui_dismiss-button_mx3cw_yyus1_214",
|
|
19
|
+
"type-error": "awsui_type-error_mx3cw_yyus1_222",
|
|
20
|
+
"type-warning": "awsui_type-warning_mx3cw_yyus1_230",
|
|
21
|
+
"type-success": "awsui_type-success_mx3cw_yyus1_238",
|
|
22
|
+
"type-info": "awsui_type-info_mx3cw_yyus1_246"
|
|
23
23
|
};
|
|
24
24
|
|