@cloudscape-design/components-themeable 3.0.1006 → 3.0.1007
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/manifest.json +1 -1
- package/lib/internal/scss/button/styles.scss +26 -17
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +75 -59
- package/lib/internal/scss/internal/styles/foundation/shadows.scss +3 -1
- package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +32 -32
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
- package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
- package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
- package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -258
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +17 -17
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +39 -39
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +17 -17
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +21 -21
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +45 -45
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +21 -21
- package/lib/internal/template/button/index.d.ts.map +1 -1
- package/lib/internal/template/button/index.js +2 -2
- package/lib/internal/template/button/index.js.map +1 -1
- package/lib/internal/template/button/interfaces.d.ts +35 -0
- package/lib/internal/template/button/interfaces.d.ts.map +1 -1
- package/lib/internal/template/button/interfaces.js.map +1 -1
- package/lib/internal/template/button/internal.d.ts.map +1 -1
- package/lib/internal/template/button/internal.js +27 -3
- package/lib/internal/template/button/internal.js.map +1 -1
- package/lib/internal/template/button/styles.css.js +22 -22
- package/lib/internal/template/button/styles.scoped.css +211 -210
- package/lib/internal/template/button/styles.selectors.js +22 -22
- package/lib/internal/template/content-layout/styles.css.js +14 -14
- package/lib/internal/template/content-layout/styles.scoped.css +27 -27
- package/lib/internal/template/content-layout/styles.selectors.js +14 -14
- package/lib/internal/template/flashbar/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +166 -166
- package/lib/internal/template/flashbar/styles.selectors.js +50 -50
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +21 -21
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +44 -44
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +21 -21
- 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/environment.js +1 -1
- package/lib/internal/template/internal/environment.json +1 -1
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +76 -61
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/lib/internal/template/internal/generated/custom-css-properties/index.js +75 -59
- package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
- package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +12 -13
- package/lib/internal/template/internal/generated/theming/index.d.ts +12 -13
- package/lib/internal/template/slider/styles.css.js +26 -26
- package/lib/internal/template/slider/styles.scoped.css +86 -86
- package/lib/internal/template/slider/styles.selectors.js +26 -26
- package/lib/internal/template/spinner/styles.css.js +13 -13
- package/lib/internal/template/spinner/styles.scoped.css +39 -39
- package/lib/internal/template/spinner/styles.selectors.js +13 -13
- package/package.json +1 -1
|
@@ -6,13 +6,15 @@
|
|
|
6
6
|
@use 'sass:map';
|
|
7
7
|
@use '../internal/styles' as styles;
|
|
8
8
|
@use '../internal/styles/tokens' as awsui;
|
|
9
|
+
@use '../internal/styles/foundation' as foundation;
|
|
10
|
+
@use '../internal/generated/custom-css-properties/index.scss' as custom-props;
|
|
9
11
|
@use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
|
|
10
12
|
@use './constants' as constants;
|
|
11
13
|
|
|
12
14
|
@mixin adjust-for-variant($variant) {
|
|
13
|
-
background: map.get($variant, 'default-background');
|
|
14
|
-
color: map.get($variant, 'default-color');
|
|
15
|
-
border-color: map.get($variant, 'default-border-color');
|
|
15
|
+
background: var(#{custom-props.$styleBackgroundDefault}, map.get($variant, 'default-background'));
|
|
16
|
+
color: var(#{custom-props.$styleColorDefault}, map.get($variant, 'default-color'));
|
|
17
|
+
border-color: var(#{custom-props.$styleBorderColorDefault}, #{map.get($variant, 'default-border-color')});
|
|
16
18
|
border-block-width: map.get($variant, 'border-width');
|
|
17
19
|
border-inline-width: map.get($variant, 'border-width');
|
|
18
20
|
position: relative;
|
|
@@ -22,22 +24,22 @@
|
|
|
22
24
|
font-weight: map.get($variant, 'font-weight');
|
|
23
25
|
|
|
24
26
|
&:hover {
|
|
25
|
-
background: map.get($variant, 'hover-background');
|
|
26
|
-
color: map.get($variant, 'hover-color');
|
|
27
|
-
|
|
27
|
+
background: var(#{custom-props.$styleBackgroundHover}, map.get($variant, 'hover-background'));
|
|
28
|
+
border-color: var(#{custom-props.$styleBorderColorHover}, map.get($variant, 'hover-border-color'));
|
|
29
|
+
color: var(#{custom-props.$styleColorHover}, map.get($variant, 'hover-color'));
|
|
28
30
|
text-decoration: none;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
&:active {
|
|
32
|
-
background: map.get($variant, 'active-background');
|
|
33
|
-
color: map.get($variant, 'active-color');
|
|
34
|
-
|
|
34
|
+
background: var(#{custom-props.$styleBackgroundActive}, map.get($variant, 'active-background'));
|
|
35
|
+
border-color: var(#{custom-props.$styleBorderColorActive}, map.get($variant, 'active-border-color'));
|
|
36
|
+
color: var(#{custom-props.$styleColorActive}, map.get($variant, 'active-color'));
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
&.disabled {
|
|
38
|
-
background: map.get($variant, 'disabled-background');
|
|
39
|
-
border-color: map.get($variant, 'disabled-border-color');
|
|
40
|
-
color: map.get($variant, 'disabled-color');
|
|
40
|
+
background: var(#{custom-props.$styleBackgroundDisabled}, map.get($variant, 'disabled-background'));
|
|
41
|
+
border-color: var(#{custom-props.$styleBorderColorDisabled}, map.get($variant, 'disabled-border-color'));
|
|
42
|
+
color: var(#{custom-props.$styleColorDisabled}, map.get($variant, 'disabled-color'));
|
|
41
43
|
text-decoration: none;
|
|
42
44
|
cursor: auto;
|
|
43
45
|
}
|
|
@@ -63,6 +65,9 @@
|
|
|
63
65
|
display: inline-block; // for <a> as a button
|
|
64
66
|
text-decoration: none;
|
|
65
67
|
cursor: pointer;
|
|
68
|
+
#{custom-props.$styleFocusRingBoxShadow}: 0 0 0
|
|
69
|
+
var(#{custom-props.$styleFocusRingBorderWidth}, foundation.$box-shadow-focused-width)
|
|
70
|
+
var(#{custom-props.$styleFocusRingBorderColor}, awsui.$color-border-item-focused);
|
|
66
71
|
|
|
67
72
|
@each $variant in map.keys(constants.$variants) {
|
|
68
73
|
&.variant-#{$variant} {
|
|
@@ -76,7 +81,11 @@
|
|
|
76
81
|
}
|
|
77
82
|
|
|
78
83
|
@include focus-visible.when-visible {
|
|
79
|
-
@include styles.focus-highlight(
|
|
84
|
+
@include styles.focus-highlight(
|
|
85
|
+
$gutter: awsui.$space-button-focus-outline-gutter,
|
|
86
|
+
$border-radius: var(#{custom-props.$styleFocusRingBorderRadius}, awsui.$border-radius-control-default-focus-ring),
|
|
87
|
+
$box-shadow: var(#{custom-props.$styleFocusRingBoxShadow})
|
|
88
|
+
);
|
|
80
89
|
|
|
81
90
|
&.variant-icon,
|
|
82
91
|
&.variant-modal-dismiss,
|
|
@@ -126,14 +135,14 @@
|
|
|
126
135
|
|
|
127
136
|
&.variant-inline-icon {
|
|
128
137
|
padding-block: 0;
|
|
129
|
-
border-block: 0;
|
|
130
|
-
border-inline: 0;
|
|
138
|
+
border-block-width: 0;
|
|
139
|
+
border-inline-width: 0;
|
|
131
140
|
}
|
|
132
141
|
|
|
133
142
|
&.variant-inline-icon-pointer-target {
|
|
134
143
|
padding-block: awsui.$space-xxxs;
|
|
135
|
-
border-block: 0;
|
|
136
|
-
border-inline: 0;
|
|
144
|
+
border-block-width: 0;
|
|
145
|
+
border-inline-width: 0;
|
|
137
146
|
}
|
|
138
147
|
|
|
139
148
|
> .icon-left {
|
|
@@ -1,61 +1,77 @@
|
|
|
1
1
|
|
|
2
|
-
$maxContentWidth: --awsui-max-content-width-
|
|
3
|
-
$minContentWidth: --awsui-min-content-width-
|
|
4
|
-
$breadcrumbsGap: --awsui-breadcrumbs-gap-
|
|
5
|
-
$contentGapLeft: --awsui-content-gap-left-
|
|
6
|
-
$contentGapRight: --awsui-content-gap-right-
|
|
7
|
-
$contentHeight: --awsui-content-height-
|
|
8
|
-
$contentLayoutDefaultHorizontalPadding: --awsui-content-layout-default-horizontal-padding-
|
|
9
|
-
$contentLayoutMaxContentWidth: --awsui-content-layout-max-content-width-
|
|
10
|
-
$contentLayoutMainGap: --awsui-content-layout-main-gap-
|
|
11
|
-
$defaultMaxContentWidth: --awsui-default-max-content-width-
|
|
12
|
-
$defaultMinContentWidth: --awsui-default-min-content-width-
|
|
13
|
-
$drawerSize: --awsui-drawer-size-
|
|
14
|
-
$footerHeight: --awsui-footer-height-
|
|
15
|
-
$headerGap: --awsui-header-gap-
|
|
16
|
-
$headerHeight: --awsui-header-height-
|
|
17
|
-
$layoutWidth: --awsui-layout-width-
|
|
18
|
-
$mainGap: --awsui-main-gap-
|
|
19
|
-
$mainOffsetLeft: --awsui-main-offset-left-
|
|
20
|
-
$mainTemplateRows: --awsui-main-template-rows-
|
|
21
|
-
$mobileBarHeight: --awsui-mobile-bar-height-
|
|
22
|
-
$notificationsHeight: --awsui-notifications-height-
|
|
23
|
-
$offsetTop: --awsui-offset-top-
|
|
24
|
-
$overlapHeight: --awsui-overlap-height-
|
|
25
|
-
$navigationWidth: --awsui-navigation-width-
|
|
26
|
-
$splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-
|
|
27
|
-
$splitPanelReportedSize: --awsui-split-panel-reported-size-
|
|
28
|
-
$splitPanelHeight: --awsui-split-panel-height-
|
|
29
|
-
$splitPanelMinWidth: --awsui-split-panel-min-width-
|
|
30
|
-
$splitPanelMaxWidth: --awsui-split-panel-max-width-
|
|
31
|
-
$toolsMaxWidth: --awsui-tools-max-width-
|
|
32
|
-
$toolsWidth: --awsui-tools-width-
|
|
33
|
-
$toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-
|
|
34
|
-
$contentScrollMargin: --awsui-content-scroll-margin-
|
|
35
|
-
$flashbarStackDepth: --awsui-flashbar-stack-depth-
|
|
36
|
-
$flashbarStackIndex: --awsui-flashbar-stack-index-
|
|
37
|
-
$flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-
|
|
38
|
-
$stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-
|
|
39
|
-
$stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-
|
|
40
|
-
$dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-
|
|
41
|
-
$spinnerRotatorFrom: --awsui-spinner-rotator-from-
|
|
42
|
-
$spinnerRotatorTo: --awsui-spinner-rotator-to-
|
|
43
|
-
$spinnerLineLeftFrom: --awsui-spinner-line-left-from-
|
|
44
|
-
$spinnerLineLeftTo: --awsui-spinner-line-left-to-
|
|
45
|
-
$spinnerLineRightFrom: --awsui-spinner-line-right-from-
|
|
46
|
-
$spinnerLineRightTo: --awsui-spinner-line-right-to-
|
|
47
|
-
$sliderLabelCount: --awsui-slider-label-count-
|
|
48
|
-
$sliderTickCount: --awsui-slider-tick-count-
|
|
49
|
-
$sliderReferenceColumn: --awsui-slider-reference-column-
|
|
50
|
-
$sliderNextReferenceColumn: --awsui-slider-next-reference-column-
|
|
51
|
-
$sliderMaxStart: --awsui-slider-max-start-
|
|
52
|
-
$sliderMinEnd: --awsui-slider-min-end-
|
|
53
|
-
$sliderRangeInlineSize: --awsui-slider-range-inline-size-
|
|
54
|
-
$sliderTooltipPosition: --awsui-slider-tooltip-position-
|
|
55
|
-
$togglesLeftWidth: --awsui-toggles-left-width-
|
|
56
|
-
$togglesRightWidth: --awsui-toggles-right-width-
|
|
57
|
-
$promptInputMaxRows: --awsui-prompt-input-max-rows-
|
|
58
|
-
$promptInputScrollHeight: --awsui-prompt-input-scroll-height-
|
|
59
|
-
$dragHandleAnimationInlineOffset: --awsui-drag-handle-animation-inline-offset-
|
|
60
|
-
$dragHandleAnimationBlockOffset: --awsui-drag-handle-animation-block-offset-
|
|
2
|
+
$maxContentWidth: --awsui-max-content-width-kcc2gu;
|
|
3
|
+
$minContentWidth: --awsui-min-content-width-kcc2gu;
|
|
4
|
+
$breadcrumbsGap: --awsui-breadcrumbs-gap-kcc2gu;
|
|
5
|
+
$contentGapLeft: --awsui-content-gap-left-kcc2gu;
|
|
6
|
+
$contentGapRight: --awsui-content-gap-right-kcc2gu;
|
|
7
|
+
$contentHeight: --awsui-content-height-kcc2gu;
|
|
8
|
+
$contentLayoutDefaultHorizontalPadding: --awsui-content-layout-default-horizontal-padding-kcc2gu;
|
|
9
|
+
$contentLayoutMaxContentWidth: --awsui-content-layout-max-content-width-kcc2gu;
|
|
10
|
+
$contentLayoutMainGap: --awsui-content-layout-main-gap-kcc2gu;
|
|
11
|
+
$defaultMaxContentWidth: --awsui-default-max-content-width-kcc2gu;
|
|
12
|
+
$defaultMinContentWidth: --awsui-default-min-content-width-kcc2gu;
|
|
13
|
+
$drawerSize: --awsui-drawer-size-kcc2gu;
|
|
14
|
+
$footerHeight: --awsui-footer-height-kcc2gu;
|
|
15
|
+
$headerGap: --awsui-header-gap-kcc2gu;
|
|
16
|
+
$headerHeight: --awsui-header-height-kcc2gu;
|
|
17
|
+
$layoutWidth: --awsui-layout-width-kcc2gu;
|
|
18
|
+
$mainGap: --awsui-main-gap-kcc2gu;
|
|
19
|
+
$mainOffsetLeft: --awsui-main-offset-left-kcc2gu;
|
|
20
|
+
$mainTemplateRows: --awsui-main-template-rows-kcc2gu;
|
|
21
|
+
$mobileBarHeight: --awsui-mobile-bar-height-kcc2gu;
|
|
22
|
+
$notificationsHeight: --awsui-notifications-height-kcc2gu;
|
|
23
|
+
$offsetTop: --awsui-offset-top-kcc2gu;
|
|
24
|
+
$overlapHeight: --awsui-overlap-height-kcc2gu;
|
|
25
|
+
$navigationWidth: --awsui-navigation-width-kcc2gu;
|
|
26
|
+
$splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-kcc2gu;
|
|
27
|
+
$splitPanelReportedSize: --awsui-split-panel-reported-size-kcc2gu;
|
|
28
|
+
$splitPanelHeight: --awsui-split-panel-height-kcc2gu;
|
|
29
|
+
$splitPanelMinWidth: --awsui-split-panel-min-width-kcc2gu;
|
|
30
|
+
$splitPanelMaxWidth: --awsui-split-panel-max-width-kcc2gu;
|
|
31
|
+
$toolsMaxWidth: --awsui-tools-max-width-kcc2gu;
|
|
32
|
+
$toolsWidth: --awsui-tools-width-kcc2gu;
|
|
33
|
+
$toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-kcc2gu;
|
|
34
|
+
$contentScrollMargin: --awsui-content-scroll-margin-kcc2gu;
|
|
35
|
+
$flashbarStackDepth: --awsui-flashbar-stack-depth-kcc2gu;
|
|
36
|
+
$flashbarStackIndex: --awsui-flashbar-stack-index-kcc2gu;
|
|
37
|
+
$flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-kcc2gu;
|
|
38
|
+
$stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-kcc2gu;
|
|
39
|
+
$stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-kcc2gu;
|
|
40
|
+
$dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-kcc2gu;
|
|
41
|
+
$spinnerRotatorFrom: --awsui-spinner-rotator-from-kcc2gu;
|
|
42
|
+
$spinnerRotatorTo: --awsui-spinner-rotator-to-kcc2gu;
|
|
43
|
+
$spinnerLineLeftFrom: --awsui-spinner-line-left-from-kcc2gu;
|
|
44
|
+
$spinnerLineLeftTo: --awsui-spinner-line-left-to-kcc2gu;
|
|
45
|
+
$spinnerLineRightFrom: --awsui-spinner-line-right-from-kcc2gu;
|
|
46
|
+
$spinnerLineRightTo: --awsui-spinner-line-right-to-kcc2gu;
|
|
47
|
+
$sliderLabelCount: --awsui-slider-label-count-kcc2gu;
|
|
48
|
+
$sliderTickCount: --awsui-slider-tick-count-kcc2gu;
|
|
49
|
+
$sliderReferenceColumn: --awsui-slider-reference-column-kcc2gu;
|
|
50
|
+
$sliderNextReferenceColumn: --awsui-slider-next-reference-column-kcc2gu;
|
|
51
|
+
$sliderMaxStart: --awsui-slider-max-start-kcc2gu;
|
|
52
|
+
$sliderMinEnd: --awsui-slider-min-end-kcc2gu;
|
|
53
|
+
$sliderRangeInlineSize: --awsui-slider-range-inline-size-kcc2gu;
|
|
54
|
+
$sliderTooltipPosition: --awsui-slider-tooltip-position-kcc2gu;
|
|
55
|
+
$togglesLeftWidth: --awsui-toggles-left-width-kcc2gu;
|
|
56
|
+
$togglesRightWidth: --awsui-toggles-right-width-kcc2gu;
|
|
57
|
+
$promptInputMaxRows: --awsui-prompt-input-max-rows-kcc2gu;
|
|
58
|
+
$promptInputScrollHeight: --awsui-prompt-input-scroll-height-kcc2gu;
|
|
59
|
+
$dragHandleAnimationInlineOffset: --awsui-drag-handle-animation-inline-offset-kcc2gu;
|
|
60
|
+
$dragHandleAnimationBlockOffset: --awsui-drag-handle-animation-block-offset-kcc2gu;
|
|
61
|
+
$styleBackgroundActive: --awsui-style-background-active-kcc2gu;
|
|
62
|
+
$styleBackgroundDefault: --awsui-style-background-default-kcc2gu;
|
|
63
|
+
$styleBackgroundDisabled: --awsui-style-background-disabled-kcc2gu;
|
|
64
|
+
$styleBackgroundHover: --awsui-style-background-hover-kcc2gu;
|
|
65
|
+
$styleBorderColorActive: --awsui-style-border-color-active-kcc2gu;
|
|
66
|
+
$styleBorderColorDefault: --awsui-style-border-color-default-kcc2gu;
|
|
67
|
+
$styleBorderColorDisabled: --awsui-style-border-color-disabled-kcc2gu;
|
|
68
|
+
$styleBorderColorHover: --awsui-style-border-color-hover-kcc2gu;
|
|
69
|
+
$styleColorActive: --awsui-style-color-active-kcc2gu;
|
|
70
|
+
$styleColorDefault: --awsui-style-color-default-kcc2gu;
|
|
71
|
+
$styleColorDisabled: --awsui-style-color-disabled-kcc2gu;
|
|
72
|
+
$styleColorHover: --awsui-style-color-hover-kcc2gu;
|
|
73
|
+
$styleFocusRingBorderColor: --awsui-style-focus-ring-border-color-kcc2gu;
|
|
74
|
+
$styleFocusRingBorderRadius: --awsui-style-focus-ring-border-radius-kcc2gu;
|
|
75
|
+
$styleFocusRingBorderWidth: --awsui-style-focus-ring-border-width-kcc2gu;
|
|
76
|
+
$styleFocusRingBoxShadow: --awsui-style-focus-ring-box-shadow-kcc2gu;
|
|
61
77
|
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
@use '../utils/theming' as theming;
|
|
7
7
|
@use '../tokens' as awsui;
|
|
8
8
|
|
|
9
|
+
$box-shadow-focused-width: 2px;
|
|
10
|
+
|
|
9
11
|
// focus for clickable elements, like buttons
|
|
10
|
-
$box-shadow-focused: 0 0 0
|
|
12
|
+
$box-shadow-focused: 0 0 0 $box-shadow-focused-width awsui.$color-border-item-focused;
|
|
11
13
|
// focus for form input elements, excluding buttons
|
|
12
14
|
$box-shadow-focused-light: 0 0 0 awsui.$border-control-focus-ring-shadow-spread awsui.$color-border-item-focused;
|
|
13
15
|
// focus for form input elements, excluding buttons
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"arrow": "
|
|
5
|
-
"arrow-outer": "awsui_arrow-
|
|
6
|
-
"arrow-inner": "awsui_arrow-
|
|
7
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
8
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
10
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
12
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
14
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
15
|
-
"annotation": "
|
|
16
|
-
"next-button": "awsui_next-
|
|
17
|
-
"previous-button": "awsui_previous-
|
|
18
|
-
"finish-button": "awsui_finish-
|
|
19
|
-
"header": "
|
|
20
|
-
"step-counter-content": "awsui_step-counter-
|
|
21
|
-
"content": "
|
|
22
|
-
"description": "
|
|
23
|
-
"actionBar": "
|
|
24
|
-
"stepCounter": "
|
|
25
|
-
"divider": "
|
|
26
|
-
"hotspot": "
|
|
27
|
-
"icon": "
|
|
4
|
+
"arrow": "awsui_arrow_1hpp3_1caw9_193",
|
|
5
|
+
"arrow-outer": "awsui_arrow-outer_1hpp3_1caw9_197",
|
|
6
|
+
"arrow-inner": "awsui_arrow-inner_1hpp3_1caw9_197",
|
|
7
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_1caw9_239",
|
|
8
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_1caw9_239",
|
|
9
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_1caw9_242",
|
|
10
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_1caw9_242",
|
|
11
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_1caw9_245",
|
|
12
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_1caw9_245",
|
|
13
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_1caw9_248",
|
|
14
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_1caw9_248",
|
|
15
|
+
"annotation": "awsui_annotation_1hpp3_1caw9_252",
|
|
16
|
+
"next-button": "awsui_next-button_1hpp3_1caw9_253",
|
|
17
|
+
"previous-button": "awsui_previous-button_1hpp3_1caw9_254",
|
|
18
|
+
"finish-button": "awsui_finish-button_1hpp3_1caw9_255",
|
|
19
|
+
"header": "awsui_header_1hpp3_1caw9_256",
|
|
20
|
+
"step-counter-content": "awsui_step-counter-content_1hpp3_1caw9_257",
|
|
21
|
+
"content": "awsui_content_1hpp3_1caw9_258",
|
|
22
|
+
"description": "awsui_description_1hpp3_1caw9_262",
|
|
23
|
+
"actionBar": "awsui_actionBar_1hpp3_1caw9_267",
|
|
24
|
+
"stepCounter": "awsui_stepCounter_1hpp3_1caw9_274",
|
|
25
|
+
"divider": "awsui_divider_1hpp3_1caw9_278",
|
|
26
|
+
"hotspot": "awsui_hotspot_1hpp3_1caw9_282",
|
|
27
|
+
"icon": "awsui_icon_1hpp3_1caw9_352"
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -190,11 +190,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
190
190
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
191
191
|
SPDX-License-Identifier: Apache-2.0
|
|
192
192
|
*/
|
|
193
|
-
.
|
|
193
|
+
.awsui_arrow_1hpp3_1caw9_193:not(#\9) {
|
|
194
194
|
inline-size: 20px;
|
|
195
195
|
block-size: 10px;
|
|
196
196
|
}
|
|
197
|
-
.awsui_arrow-
|
|
197
|
+
.awsui_arrow-outer_1hpp3_1caw9_197:not(#\9), .awsui_arrow-inner_1hpp3_1caw9_197:not(#\9) {
|
|
198
198
|
position: absolute;
|
|
199
199
|
overflow: hidden;
|
|
200
200
|
inline-size: 20px;
|
|
@@ -203,7 +203,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
203
203
|
inset-inline-start: 0;
|
|
204
204
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
205
205
|
}
|
|
206
|
-
.awsui_arrow-
|
|
206
|
+
.awsui_arrow-outer_1hpp3_1caw9_197:not(#\9)::after, .awsui_arrow-inner_1hpp3_1caw9_197:not(#\9)::after {
|
|
207
207
|
content: "";
|
|
208
208
|
box-sizing: border-box;
|
|
209
209
|
display: inline-block;
|
|
@@ -219,67 +219,67 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
219
219
|
transform: rotate(45deg);
|
|
220
220
|
transform-origin: 0 100%;
|
|
221
221
|
}
|
|
222
|
-
.awsui_arrow-
|
|
222
|
+
.awsui_arrow-outer_1hpp3_1caw9_197:not(#\9):dir(rtl)::after, .awsui_arrow-inner_1hpp3_1caw9_197:not(#\9):dir(rtl)::after {
|
|
223
223
|
transform: rotate(-45deg);
|
|
224
224
|
transform-origin: 100% 100%;
|
|
225
225
|
}
|
|
226
|
-
.awsui_arrow-
|
|
226
|
+
.awsui_arrow-outer_1hpp3_1caw9_197:not(#\9)::after {
|
|
227
227
|
background-color: var(--color-border-status-info-kp0iif, #0073bb);
|
|
228
228
|
}
|
|
229
|
-
.awsui_arrow-
|
|
229
|
+
.awsui_arrow-inner_1hpp3_1caw9_197:not(#\9) {
|
|
230
230
|
inset-block-start: 2px;
|
|
231
231
|
}
|
|
232
|
-
.awsui_arrow-
|
|
232
|
+
.awsui_arrow-inner_1hpp3_1caw9_197:not(#\9)::after {
|
|
233
233
|
border-start-start-radius: 1px;
|
|
234
234
|
border-start-end-radius: 0;
|
|
235
235
|
border-end-start-radius: 0;
|
|
236
236
|
border-end-end-radius: 0;
|
|
237
237
|
background-color: var(--color-background-status-info-nzp1n3, #f1faff);
|
|
238
238
|
}
|
|
239
|
-
.awsui_arrow-position-right-
|
|
239
|
+
.awsui_arrow-position-right-top_1hpp3_1caw9_239 > .awsui_arrow-outer_1hpp3_1caw9_197:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_1caw9_239 > .awsui_arrow-outer_1hpp3_1caw9_197:not(#\9)::after {
|
|
240
240
|
box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-9hdvit, rgba(0, 28, 36, 0.5));
|
|
241
241
|
}
|
|
242
|
-
.awsui_arrow-position-left-
|
|
242
|
+
.awsui_arrow-position-left-top_1hpp3_1caw9_242 > .awsui_arrow-outer_1hpp3_1caw9_197:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_1caw9_242 > .awsui_arrow-outer_1hpp3_1caw9_197:not(#\9)::after {
|
|
243
243
|
box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-9hdvit, rgba(0, 28, 36, 0.5));
|
|
244
244
|
}
|
|
245
|
-
.awsui_arrow-position-top-
|
|
245
|
+
.awsui_arrow-position-top-center_1hpp3_1caw9_245 > .awsui_arrow-outer_1hpp3_1caw9_197:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_1caw9_245 > .awsui_arrow-outer_1hpp3_1caw9_197:not(#\9)::after {
|
|
246
246
|
box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-9hdvit, rgba(0, 28, 36, 0.5));
|
|
247
247
|
}
|
|
248
|
-
.awsui_arrow-position-bottom-
|
|
248
|
+
.awsui_arrow-position-bottom-center_1hpp3_1caw9_248 > .awsui_arrow-outer_1hpp3_1caw9_197:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_1caw9_248 > .awsui_arrow-outer_1hpp3_1caw9_197:not(#\9)::after {
|
|
249
249
|
box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-9hdvit, rgba(0, 28, 36, 0.5));
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
.
|
|
253
|
-
.awsui_next-
|
|
254
|
-
.awsui_previous-
|
|
255
|
-
.awsui_finish-
|
|
256
|
-
.
|
|
257
|
-
.awsui_step-counter-
|
|
258
|
-
.
|
|
252
|
+
.awsui_annotation_1hpp3_1caw9_252:not(#\9),
|
|
253
|
+
.awsui_next-button_1hpp3_1caw9_253:not(#\9),
|
|
254
|
+
.awsui_previous-button_1hpp3_1caw9_254:not(#\9),
|
|
255
|
+
.awsui_finish-button_1hpp3_1caw9_255:not(#\9),
|
|
256
|
+
.awsui_header_1hpp3_1caw9_256:not(#\9),
|
|
257
|
+
.awsui_step-counter-content_1hpp3_1caw9_257:not(#\9),
|
|
258
|
+
.awsui_content_1hpp3_1caw9_258:not(#\9) {
|
|
259
259
|
/* used in test-utils */
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
.
|
|
262
|
+
.awsui_description_1hpp3_1caw9_262:not(#\9) {
|
|
263
263
|
overflow: hidden;
|
|
264
264
|
margin-block-start: var(--space-xxs-jnczic, 4px);
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
.
|
|
267
|
+
.awsui_actionBar_1hpp3_1caw9_267:not(#\9) {
|
|
268
268
|
display: flex;
|
|
269
269
|
justify-content: space-between;
|
|
270
270
|
align-items: center;
|
|
271
271
|
position: relative;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
.
|
|
274
|
+
.awsui_stepCounter_1hpp3_1caw9_274:not(#\9) {
|
|
275
275
|
margin-inline-end: 20px;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
.
|
|
278
|
+
.awsui_divider_1hpp3_1caw9_278:not(#\9) {
|
|
279
279
|
border-block-end: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-divider-default-ipvpev, #eaeded);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
.
|
|
282
|
+
.awsui_hotspot_1hpp3_1caw9_282:not(#\9) {
|
|
283
283
|
border-collapse: separate;
|
|
284
284
|
border-spacing: 0;
|
|
285
285
|
box-sizing: border-box;
|
|
@@ -316,27 +316,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
316
316
|
padding-block: 0;
|
|
317
317
|
padding-inline: 0;
|
|
318
318
|
cursor: pointer;
|
|
319
|
-
scroll-margin: var(--awsui-content-scroll-margin-
|
|
319
|
+
scroll-margin: var(--awsui-content-scroll-margin-kcc2gu, 40px 0 0 0);
|
|
320
320
|
position: relative;
|
|
321
321
|
inline-size: 16px;
|
|
322
322
|
block-size: 16px;
|
|
323
323
|
}
|
|
324
|
-
.
|
|
324
|
+
.awsui_hotspot_1hpp3_1caw9_282:not(#\9):before {
|
|
325
325
|
content: "";
|
|
326
326
|
position: absolute;
|
|
327
327
|
inset: calc(-1 * var(--space-xxs-jnczic, 4px));
|
|
328
328
|
}
|
|
329
|
-
.
|
|
329
|
+
.awsui_hotspot_1hpp3_1caw9_282:not(#\9):focus {
|
|
330
330
|
outline: none;
|
|
331
331
|
}
|
|
332
|
-
body[data-awsui-focus-visible=true] .
|
|
332
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1caw9_282:not(#\9):focus {
|
|
333
333
|
position: relative;
|
|
334
334
|
}
|
|
335
|
-
body[data-awsui-focus-visible=true] .
|
|
335
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1caw9_282:not(#\9):focus {
|
|
336
336
|
outline: 2px dotted transparent;
|
|
337
337
|
outline-offset: calc(2px - 1px);
|
|
338
338
|
}
|
|
339
|
-
body[data-awsui-focus-visible=true] .
|
|
339
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1caw9_282:not(#\9):focus::before {
|
|
340
340
|
content: " ";
|
|
341
341
|
display: block;
|
|
342
342
|
position: absolute;
|
|
@@ -350,13 +350,13 @@ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_10rwy_282:not(#\9):focu
|
|
|
350
350
|
border-end-end-radius: var(--border-radius-control-circular-focus-ring-0v2apg, 50%);
|
|
351
351
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
|
|
352
352
|
}
|
|
353
|
-
.
|
|
353
|
+
.awsui_hotspot_1hpp3_1caw9_282 > .awsui_icon_1hpp3_1caw9_352:not(#\9) {
|
|
354
354
|
position: relative;
|
|
355
355
|
stroke: var(--color-text-tutorial-hotspot-default-ql4c5o, #0073bb);
|
|
356
356
|
}
|
|
357
|
-
.
|
|
357
|
+
.awsui_hotspot_1hpp3_1caw9_282:not(#\9):hover > .awsui_icon_1hpp3_1caw9_352 {
|
|
358
358
|
stroke: var(--color-text-tutorial-hotspot-hover-baiupp, #0a4a74);
|
|
359
359
|
}
|
|
360
|
-
.
|
|
360
|
+
.awsui_hotspot_1hpp3_1caw9_282:not(#\9):active > .awsui_icon_1hpp3_1caw9_352 {
|
|
361
361
|
stroke: var(--color-text-tutorial-hotspot-default-ql4c5o, #0073bb);
|
|
362
362
|
}
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"arrow": "
|
|
6
|
-
"arrow-outer": "awsui_arrow-
|
|
7
|
-
"arrow-inner": "awsui_arrow-
|
|
8
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
10
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
12
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
14
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
15
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
16
|
-
"annotation": "
|
|
17
|
-
"next-button": "awsui_next-
|
|
18
|
-
"previous-button": "awsui_previous-
|
|
19
|
-
"finish-button": "awsui_finish-
|
|
20
|
-
"header": "
|
|
21
|
-
"step-counter-content": "awsui_step-counter-
|
|
22
|
-
"content": "
|
|
23
|
-
"description": "
|
|
24
|
-
"actionBar": "
|
|
25
|
-
"stepCounter": "
|
|
26
|
-
"divider": "
|
|
27
|
-
"hotspot": "
|
|
28
|
-
"icon": "
|
|
5
|
+
"arrow": "awsui_arrow_1hpp3_1caw9_193",
|
|
6
|
+
"arrow-outer": "awsui_arrow-outer_1hpp3_1caw9_197",
|
|
7
|
+
"arrow-inner": "awsui_arrow-inner_1hpp3_1caw9_197",
|
|
8
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_1caw9_239",
|
|
9
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_1caw9_239",
|
|
10
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_1caw9_242",
|
|
11
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_1caw9_242",
|
|
12
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_1caw9_245",
|
|
13
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_1caw9_245",
|
|
14
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_1caw9_248",
|
|
15
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_1caw9_248",
|
|
16
|
+
"annotation": "awsui_annotation_1hpp3_1caw9_252",
|
|
17
|
+
"next-button": "awsui_next-button_1hpp3_1caw9_253",
|
|
18
|
+
"previous-button": "awsui_previous-button_1hpp3_1caw9_254",
|
|
19
|
+
"finish-button": "awsui_finish-button_1hpp3_1caw9_255",
|
|
20
|
+
"header": "awsui_header_1hpp3_1caw9_256",
|
|
21
|
+
"step-counter-content": "awsui_step-counter-content_1hpp3_1caw9_257",
|
|
22
|
+
"content": "awsui_content_1hpp3_1caw9_258",
|
|
23
|
+
"description": "awsui_description_1hpp3_1caw9_262",
|
|
24
|
+
"actionBar": "awsui_actionBar_1hpp3_1caw9_267",
|
|
25
|
+
"stepCounter": "awsui_stepCounter_1hpp3_1caw9_274",
|
|
26
|
+
"divider": "awsui_divider_1hpp3_1caw9_278",
|
|
27
|
+
"hotspot": "awsui_hotspot_1hpp3_1caw9_282",
|
|
28
|
+
"icon": "awsui_icon_1hpp3_1caw9_352"
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"notifications": "
|
|
5
|
-
"notifications-sticky": "awsui_notifications-
|
|
6
|
-
"no-content-paddings": "awsui_no-content-
|
|
4
|
+
"notifications": "awsui_notifications_1hmm4_16o5e_9",
|
|
5
|
+
"notifications-sticky": "awsui_notifications-sticky_1hmm4_16o5e_10",
|
|
6
|
+
"no-content-paddings": "awsui_no-content-paddings_1hmm4_16o5e_25"
|
|
7
7
|
};
|
|
8
8
|
|
|
@@ -6,26 +6,26 @@
|
|
|
6
6
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
7
7
|
SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
9
|
-
.
|
|
10
|
-
.awsui_notifications-
|
|
9
|
+
.awsui_notifications_1hmm4_16o5e_9:not(#\9),
|
|
10
|
+
.awsui_notifications-sticky_1hmm4_16o5e_10:not(#\9) {
|
|
11
11
|
z-index: 850;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.
|
|
14
|
+
.awsui_notifications_1hmm4_16o5e_9:not(#\9) {
|
|
15
15
|
/* This is necessary for the z-index to have effect */
|
|
16
16
|
position: relative;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.awsui_notifications-
|
|
19
|
+
.awsui_notifications-sticky_1hmm4_16o5e_10:not(#\9) {
|
|
20
20
|
inset-block-start: 0;
|
|
21
21
|
position: sticky;
|
|
22
|
-
--awsui-flashbar-sticky-bottom-margin-
|
|
22
|
+
--awsui-flashbar-sticky-bottom-margin-kcc2gu: var(--space-xxl-q0lyvp, 32px);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.awsui_no-content-
|
|
25
|
+
.awsui_no-content-paddings_1hmm4_16o5e_25:not(#\9) {
|
|
26
26
|
/*
|
|
27
27
|
When using the disableContentPaddings option, the Flashbar will use this custom property to add additional space
|
|
28
28
|
when the notification bar is rendered, to prevent it from overlapping the content.
|
|
29
29
|
*/
|
|
30
|
-
--awsui-stacked-notifications-bottom-margin-
|
|
30
|
+
--awsui-stacked-notifications-bottom-margin-kcc2gu: var(--space-scaled-l-66n9sr, 20px);
|
|
31
31
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"notifications": "
|
|
6
|
-
"notifications-sticky": "awsui_notifications-
|
|
7
|
-
"no-content-paddings": "awsui_no-content-
|
|
5
|
+
"notifications": "awsui_notifications_1hmm4_16o5e_9",
|
|
6
|
+
"notifications-sticky": "awsui_notifications-sticky_1hmm4_16o5e_10",
|
|
7
|
+
"no-content-paddings": "awsui_no-content-paddings_1hmm4_16o5e_25"
|
|
8
8
|
};
|
|
9
9
|
|