@cloudscape-design/components-themeable 3.0.1128 → 3.0.1130
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/app-layout/visual-refresh-toolbar/drawer/styles.scss +1 -1
- package/lib/internal/scss/input/styles.scss +9 -62
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +87 -99
- package/lib/internal/scss/internal/styles/forms/mixins.scss +19 -42
- package/lib/internal/scss/steps/styles.scss +63 -0
- package/lib/internal/template/alert/styles.css.js +27 -27
- package/lib/internal/template/alert/styles.scoped.css +50 -50
- package/lib/internal/template/alert/styles.selectors.js +27 -27
- 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 +27 -27
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +84 -84
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +27 -27
- 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 +27 -27
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +54 -54
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -27
- package/lib/internal/template/attribute-editor/styles.css.js +15 -15
- package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
- package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
- package/lib/internal/template/button/styles.css.js +22 -22
- package/lib/internal/template/button/styles.scoped.css +256 -256
- package/lib/internal/template/button/styles.selectors.js +22 -22
- package/lib/internal/template/button-dropdown/item-element/styles.css.js +16 -16
- package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +27 -27
- package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +16 -16
- package/lib/internal/template/checkbox/styles.css.js +3 -3
- package/lib/internal/template/checkbox/styles.scoped.css +11 -11
- package/lib/internal/template/checkbox/styles.selectors.js +3 -3
- 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 +187 -187
- package/lib/internal/template/flashbar/styles.selectors.js +50 -50
- package/lib/internal/template/help-panel/styles.css.js +6 -6
- package/lib/internal/template/help-panel/styles.scoped.css +73 -73
- package/lib/internal/template/help-panel/styles.selectors.js +6 -6
- package/lib/internal/template/input/index.d.ts.map +1 -1
- package/lib/internal/template/input/index.js +2 -3
- package/lib/internal/template/input/index.js.map +1 -1
- package/lib/internal/template/input/interfaces.d.ts +0 -48
- package/lib/internal/template/input/interfaces.d.ts.map +1 -1
- package/lib/internal/template/input/interfaces.js.map +1 -1
- package/lib/internal/template/input/internal.d.ts.map +1 -1
- package/lib/internal/template/input/internal.js +2 -3
- package/lib/internal/template/input/internal.js.map +1 -1
- package/lib/internal/template/input/styles.css.js +13 -13
- package/lib/internal/template/input/styles.scoped.css +49 -66
- package/lib/internal/template/input/styles.selectors.js +13 -13
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +20 -20
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +48 -48
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +20 -20
- 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/token-list/styles.css.js +10 -10
- package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
- package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +0 -12
- 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 +86 -98
- package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
- package/lib/internal/template/internal/plugins/widget/interfaces.d.ts +1 -1
- package/lib/internal/template/internal/plugins/widget/interfaces.d.ts.map +1 -1
- package/lib/internal/template/internal/plugins/widget/interfaces.js.map +1 -1
- package/lib/internal/template/link/styles.css.js +20 -20
- package/lib/internal/template/link/styles.scoped.css +103 -103
- package/lib/internal/template/link/styles.selectors.js +20 -20
- package/lib/internal/template/package.json +2 -0
- package/lib/internal/template/radio-group/styles.css.js +10 -10
- package/lib/internal/template/radio-group/styles.scoped.css +22 -22
- package/lib/internal/template/radio-group/styles.selectors.js +10 -10
- package/lib/internal/template/select/parts/filter.d.ts +1 -1
- package/lib/internal/template/select/parts/filter.d.ts.map +1 -1
- 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/lib/internal/template/status-indicator/internal.d.ts +7 -0
- package/lib/internal/template/status-indicator/internal.d.ts.map +1 -1
- package/lib/internal/template/status-indicator/internal.js +6 -3
- package/lib/internal/template/status-indicator/internal.js.map +1 -1
- package/lib/internal/template/steps/interfaces.d.ts +22 -0
- package/lib/internal/template/steps/interfaces.d.ts.map +1 -1
- package/lib/internal/template/steps/interfaces.js.map +1 -1
- package/lib/internal/template/steps/internal.d.ts +1 -1
- package/lib/internal/template/steps/internal.d.ts.map +1 -1
- package/lib/internal/template/steps/internal.js +31 -7
- package/lib/internal/template/steps/internal.js.map +1 -1
- package/lib/internal/template/steps/styles.css.js +9 -6
- package/lib/internal/template/steps/styles.scoped.css +58 -7
- package/lib/internal/template/steps/styles.selectors.js +9 -6
- package/lib/internal/template/tag-editor/styles.css.js +3 -3
- package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
- 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 +66 -66
- package/lib/internal/template/text-content/styles.selectors.js +1 -1
- package/lib/internal/template/toggle/styles.css.js +10 -10
- package/lib/internal/template/toggle/styles.scoped.css +23 -23
- package/lib/internal/template/toggle/styles.selectors.js +10 -10
- package/package.json +1 -1
- package/lib/internal/template/input/styles.d.ts +0 -3
- package/lib/internal/template/input/styles.d.ts.map +0 -1
- package/lib/internal/template/input/styles.js +0 -42
- package/lib/internal/template/input/styles.js.map +0 -1
|
@@ -50,7 +50,7 @@ $ai-drawer-heider-height: 41px;
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
@include desktop-only {
|
|
53
|
-
&:not(.legacy):not(.ai-drawer) {
|
|
53
|
+
&:not(.legacy):not(.ai-drawer):not(.bottom-drawer) {
|
|
54
54
|
border-inline-start: awsui.$border-divider-section-width solid awsui.$color-border-layout;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
@use '../internal/styles' as styles;
|
|
7
7
|
@use '../internal/styles/tokens' as awsui;
|
|
8
|
-
@use '../internal/styles/foundation' as foundation;
|
|
9
|
-
@use '../internal/generated/custom-css-properties/index.scss' as custom-props;
|
|
10
8
|
|
|
11
9
|
@mixin placeholder {
|
|
12
10
|
&::-webkit-input-placeholder {
|
|
@@ -35,70 +33,35 @@
|
|
|
35
33
|
@include styles.styles-reset;
|
|
36
34
|
padding-block: styles.$control-padding-vertical;
|
|
37
35
|
padding-inline: styles.$control-padding-horizontal;
|
|
38
|
-
color:
|
|
36
|
+
color: awsui.$color-text-body-default;
|
|
39
37
|
inline-size: 100%;
|
|
40
38
|
cursor: text;
|
|
41
39
|
box-sizing: border-box;
|
|
42
|
-
background-color:
|
|
40
|
+
background-color: awsui.$color-background-input-default;
|
|
43
41
|
border-start-start-radius: styles.$control-border-radius;
|
|
44
42
|
border-start-end-radius: styles.$control-border-radius;
|
|
45
43
|
border-end-start-radius: styles.$control-border-radius;
|
|
46
44
|
border-end-end-radius: styles.$control-border-radius;
|
|
47
|
-
|
|
48
|
-
border-
|
|
49
|
-
var(#{custom-props.$styleBorderColorDefault}, awsui.$color-border-input-default);
|
|
50
|
-
border-inline: awsui.$border-width-field solid
|
|
51
|
-
var(#{custom-props.$styleBorderColorDefault}, awsui.$color-border-input-default);
|
|
52
|
-
|
|
53
|
-
box-shadow: var(#{custom-props.$styleBoxShadowDefault});
|
|
54
|
-
|
|
45
|
+
border-block: awsui.$border-width-field solid awsui.$color-border-input-default;
|
|
46
|
+
border-inline: awsui.$border-width-field solid awsui.$color-border-input-default;
|
|
55
47
|
@include styles.font-body-m;
|
|
56
48
|
block-size: awsui.$size-vertical-input;
|
|
57
49
|
|
|
58
50
|
&.input-readonly {
|
|
59
|
-
@include styles.form-readonly-element
|
|
60
|
-
$background-color: var(
|
|
61
|
-
#{custom-props.$styleBackgroundReadonly},
|
|
62
|
-
var(#{custom-props.$styleBackgroundDefault}, awsui.$color-background-input-default)
|
|
63
|
-
),
|
|
64
|
-
$border-color: var(
|
|
65
|
-
#{custom-props.$styleBorderColorReadonly},
|
|
66
|
-
var(#{custom-props.$styleBorderColorDefault}, awsui.$color-border-input-disabled)
|
|
67
|
-
)
|
|
68
|
-
);
|
|
69
|
-
color: var(
|
|
70
|
-
#{custom-props.$styleColorReadonly},
|
|
71
|
-
var(#{custom-props.$styleColorDefault}, awsui.$color-text-body-default)
|
|
72
|
-
);
|
|
73
|
-
box-shadow: var(#{custom-props.$styleBoxShadowReadonly});
|
|
51
|
+
@include styles.form-readonly-element;
|
|
74
52
|
}
|
|
75
53
|
|
|
76
54
|
@include placeholder {
|
|
77
|
-
@include styles.form-placeholder
|
|
78
|
-
$color: var(#{custom-props.$stylePlaceholderColor}, awsui.$color-text-input-placeholder),
|
|
79
|
-
$font-size: var(#{custom-props.$stylePlaceholderFontSize}),
|
|
80
|
-
$font-style: var(#{custom-props.$stylePlaceholderFontStyle}, italic),
|
|
81
|
-
$font-weight: var(#{custom-props.$stylePlaceholderFontWeight})
|
|
82
|
-
);
|
|
55
|
+
@include styles.form-placeholder;
|
|
83
56
|
}
|
|
84
57
|
|
|
85
58
|
&:focus {
|
|
86
|
-
@include styles.form-focus-element
|
|
87
|
-
$border-color: var(#{custom-props.$styleBorderColorFocus}, awsui.$color-border-input-focused),
|
|
88
|
-
$box-shadow: var(#{custom-props.$styleBoxShadowFocus}, foundation.$box-shadow-focused-light)
|
|
89
|
-
);
|
|
90
|
-
color: var(#{custom-props.$styleColorFocus}, awsui.$color-text-body-default);
|
|
91
|
-
background-color: var(#{custom-props.$styleBackgroundFocus}, awsui.$color-background-input-default);
|
|
59
|
+
@include styles.form-focus-element;
|
|
92
60
|
}
|
|
93
61
|
|
|
94
62
|
&:disabled {
|
|
95
|
-
@include styles.form-disabled-element
|
|
96
|
-
|
|
97
|
-
$border-color: var(#{custom-props.$styleBorderColorDisabled}, awsui.$color-border-input-disabled),
|
|
98
|
-
$color: var(#{custom-props.$styleColorDisabled}, awsui.$color-text-input-disabled),
|
|
99
|
-
$cursor: default
|
|
100
|
-
);
|
|
101
|
-
box-shadow: var(#{custom-props.$styleBoxShadowDisabled});
|
|
63
|
+
@include styles.form-disabled-element;
|
|
64
|
+
cursor: default;
|
|
102
65
|
@include placeholder {
|
|
103
66
|
@include styles.form-placeholder-disabled;
|
|
104
67
|
}
|
|
@@ -109,22 +72,6 @@
|
|
|
109
72
|
box-shadow: none;
|
|
110
73
|
}
|
|
111
74
|
|
|
112
|
-
&:hover:not(:focus):not(:disabled):not(.input-readonly) {
|
|
113
|
-
border-color: var(
|
|
114
|
-
#{custom-props.$styleBorderColorHover},
|
|
115
|
-
var(#{custom-props.$styleBorderColorDefault}, awsui.$color-border-input-default)
|
|
116
|
-
);
|
|
117
|
-
color: var(
|
|
118
|
-
#{custom-props.$styleColorHover},
|
|
119
|
-
var(#{custom-props.$styleBorderColorDefault}, awsui.$color-text-body-default)
|
|
120
|
-
);
|
|
121
|
-
background-color: var(
|
|
122
|
-
#{custom-props.$styleBackgroundHover},
|
|
123
|
-
var(#{custom-props.$styleBackgroundDefault}, awsui.$color-background-input-default)
|
|
124
|
-
);
|
|
125
|
-
box-shadow: var(#{custom-props.$styleBoxShadowHover}, #{custom-props.$styleBoxShadowDefault});
|
|
126
|
-
}
|
|
127
|
-
|
|
128
75
|
&.input-invalid {
|
|
129
76
|
@include styles.form-invalid-control();
|
|
130
77
|
&.input-has-icon-left {
|
|
@@ -1,103 +1,91 @@
|
|
|
1
1
|
|
|
2
2
|
// Build environment
|
|
3
|
-
$awsui-commit-hash: "
|
|
3
|
+
$awsui-commit-hash: "f44f577a";
|
|
4
4
|
// Manually managed CSS-variables
|
|
5
|
-
$maxContentWidth: --awsui-max-content-width-
|
|
6
|
-
$minContentWidth: --awsui-min-content-width-
|
|
7
|
-
$breadcrumbsGap: --awsui-breadcrumbs-gap-
|
|
8
|
-
$contentGapLeft: --awsui-content-gap-left-
|
|
9
|
-
$contentGapRight: --awsui-content-gap-right-
|
|
10
|
-
$contentHeight: --awsui-content-height-
|
|
11
|
-
$contentLayoutDefaultHorizontalPadding: --awsui-content-layout-default-horizontal-padding-
|
|
12
|
-
$contentLayoutMaxContentWidth: --awsui-content-layout-max-content-width-
|
|
13
|
-
$contentLayoutMainGap: --awsui-content-layout-main-gap-
|
|
14
|
-
$defaultMaxContentWidth: --awsui-default-max-content-width-
|
|
15
|
-
$defaultMinContentWidth: --awsui-default-min-content-width-
|
|
16
|
-
$drawerSize: --awsui-drawer-size-
|
|
17
|
-
$drawerMinSize: --awsui-drawer-min-size-
|
|
18
|
-
$bottomDrawerSize: --awsui-bottom-drawer-size-
|
|
19
|
-
$footerHeight: --awsui-footer-height-
|
|
20
|
-
$headerGap: --awsui-header-gap-
|
|
21
|
-
$headerHeight: --awsui-header-height-
|
|
22
|
-
$layoutWidth: --awsui-layout-width-
|
|
23
|
-
$mainGap: --awsui-main-gap-
|
|
24
|
-
$mainOffsetLeft: --awsui-main-offset-left-
|
|
25
|
-
$mainTemplateRows: --awsui-main-template-rows-
|
|
26
|
-
$mobileBarHeight: --awsui-mobile-bar-height-
|
|
27
|
-
$notificationsHeight: --awsui-notifications-height-
|
|
28
|
-
$offsetTop: --awsui-offset-top-
|
|
29
|
-
$overlapHeight: --awsui-overlap-height-
|
|
30
|
-
$navigationWidth: --awsui-navigation-width-
|
|
31
|
-
$splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-
|
|
32
|
-
$splitPanelReportedSize: --awsui-split-panel-reported-size-
|
|
33
|
-
$splitPanelHeight: --awsui-split-panel-height-
|
|
34
|
-
$splitPanelMinWidth: --awsui-split-panel-min-width-
|
|
35
|
-
$splitPanelMaxWidth: --awsui-split-panel-max-width-
|
|
36
|
-
$toolsMaxWidth: --awsui-tools-max-width-
|
|
37
|
-
$toolsWidth: --awsui-tools-width-
|
|
38
|
-
$toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-
|
|
39
|
-
$contentScrollMargin: --awsui-content-scroll-margin-
|
|
40
|
-
$flashbarStackDepth: --awsui-flashbar-stack-depth-
|
|
41
|
-
$flashbarStackIndex: --awsui-flashbar-stack-index-
|
|
42
|
-
$flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-
|
|
43
|
-
$stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-
|
|
44
|
-
$stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-
|
|
45
|
-
$dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-
|
|
46
|
-
$spinnerRotatorFrom: --awsui-spinner-rotator-from-
|
|
47
|
-
$spinnerRotatorTo: --awsui-spinner-rotator-to-
|
|
48
|
-
$spinnerLineLeftFrom: --awsui-spinner-line-left-from-
|
|
49
|
-
$spinnerLineLeftTo: --awsui-spinner-line-left-to-
|
|
50
|
-
$spinnerLineRightFrom: --awsui-spinner-line-right-from-
|
|
51
|
-
$spinnerLineRightTo: --awsui-spinner-line-right-to-
|
|
52
|
-
$sliderLabelCount: --awsui-slider-label-count-
|
|
53
|
-
$sliderTickCount: --awsui-slider-tick-count-
|
|
54
|
-
$sliderReferenceColumn: --awsui-slider-reference-column-
|
|
55
|
-
$sliderNextReferenceColumn: --awsui-slider-next-reference-column-
|
|
56
|
-
$sliderMaxStart: --awsui-slider-max-start-
|
|
57
|
-
$sliderMinEnd: --awsui-slider-min-end-
|
|
58
|
-
$sliderRangeInlineSize: --awsui-slider-range-inline-size-
|
|
59
|
-
$sliderTooltipPosition: --awsui-slider-tooltip-position-
|
|
60
|
-
$togglesLeftWidth: --awsui-toggles-left-width-
|
|
61
|
-
$togglesRightWidth: --awsui-toggles-right-width-
|
|
62
|
-
$promptInputMaxRows: --awsui-prompt-input-max-rows-
|
|
63
|
-
$promptInputScrollHeight: --awsui-prompt-input-scroll-height-
|
|
64
|
-
$dragHandleAnimationInlineOffset: --awsui-drag-handle-animation-inline-offset-
|
|
65
|
-
$dragHandleAnimationBlockOffset: --awsui-drag-handle-animation-block-offset-
|
|
66
|
-
$styleBackgroundActive: --awsui-style-background-active-
|
|
67
|
-
$styleBackgroundDefault: --awsui-style-background-default-
|
|
68
|
-
$styleBackgroundDisabled: --awsui-style-background-disabled-
|
|
69
|
-
$styleBackgroundHover: --awsui-style-background-hover-
|
|
70
|
-
$styleBorderColorActive: --awsui-style-border-color-active-
|
|
71
|
-
$styleBorderColorDefault: --awsui-style-border-color-default-
|
|
72
|
-
$styleBorderColorDisabled: --awsui-style-border-color-disabled-
|
|
73
|
-
$styleBorderColorHover: --awsui-style-border-color-hover-
|
|
74
|
-
$styleColorActive: --awsui-style-color-active-
|
|
75
|
-
$styleColorDefault: --awsui-style-color-default-
|
|
76
|
-
$styleColorDisabled: --awsui-style-color-disabled-
|
|
77
|
-
$styleColorHover: --awsui-style-color-hover-
|
|
78
|
-
$styleFocusRingBorderColor: --awsui-style-focus-ring-border-color-
|
|
79
|
-
$styleFocusRingBorderRadius: --awsui-style-focus-ring-border-radius-
|
|
80
|
-
$styleFocusRingBorderWidth: --awsui-style-focus-ring-border-width-
|
|
81
|
-
$styleFocusRingBoxShadow: --awsui-style-focus-ring-box-shadow-
|
|
82
|
-
$styleBoxShadowActive: --awsui-style-box-shadow-active-
|
|
83
|
-
$styleBoxShadowDefault: --awsui-style-box-shadow-default-
|
|
84
|
-
$styleBoxShadowDisabled: --awsui-style-box-shadow-disabled-
|
|
85
|
-
$styleBoxShadowHover: --awsui-style-box-shadow-hover-
|
|
86
|
-
$
|
|
87
|
-
$
|
|
88
|
-
$
|
|
89
|
-
$
|
|
90
|
-
$
|
|
91
|
-
$styleBorderColorFocus: --awsui-style-border-color-focus-b75yp7;
|
|
92
|
-
$styleBoxShadowFocus: --awsui-style-box-shadow-focus-b75yp7;
|
|
93
|
-
$styleColorFocus: --awsui-style-color-focus-b75yp7;
|
|
94
|
-
$stylePlaceholderColor: --awsui-style-placeholder-color-b75yp7;
|
|
95
|
-
$stylePlaceholderFontSize: --awsui-style-placeholder-font-size-b75yp7;
|
|
96
|
-
$stylePlaceholderFontStyle: --awsui-style-placeholder-font-style-b75yp7;
|
|
97
|
-
$stylePlaceholderFontWeight: --awsui-style-placeholder-font-weight-b75yp7;
|
|
98
|
-
$alertFocusRingBorderColor: --awsui-alert-focus-ring-border-color-b75yp7;
|
|
99
|
-
$alertFocusRingBorderRadius: --awsui-alert-focus-ring-border-radius-b75yp7;
|
|
100
|
-
$alertFocusRingBorderWidth: --awsui-alert-focus-ring-border-width-b75yp7;
|
|
101
|
-
$alertFocusRingBoxShadow: --awsui-alert-focus-ring-box-shadow-b75yp7;
|
|
102
|
-
$alertIconColor: --awsui-alert-icon-color-b75yp7;
|
|
5
|
+
$maxContentWidth: --awsui-max-content-width-lqnbqg;
|
|
6
|
+
$minContentWidth: --awsui-min-content-width-lqnbqg;
|
|
7
|
+
$breadcrumbsGap: --awsui-breadcrumbs-gap-lqnbqg;
|
|
8
|
+
$contentGapLeft: --awsui-content-gap-left-lqnbqg;
|
|
9
|
+
$contentGapRight: --awsui-content-gap-right-lqnbqg;
|
|
10
|
+
$contentHeight: --awsui-content-height-lqnbqg;
|
|
11
|
+
$contentLayoutDefaultHorizontalPadding: --awsui-content-layout-default-horizontal-padding-lqnbqg;
|
|
12
|
+
$contentLayoutMaxContentWidth: --awsui-content-layout-max-content-width-lqnbqg;
|
|
13
|
+
$contentLayoutMainGap: --awsui-content-layout-main-gap-lqnbqg;
|
|
14
|
+
$defaultMaxContentWidth: --awsui-default-max-content-width-lqnbqg;
|
|
15
|
+
$defaultMinContentWidth: --awsui-default-min-content-width-lqnbqg;
|
|
16
|
+
$drawerSize: --awsui-drawer-size-lqnbqg;
|
|
17
|
+
$drawerMinSize: --awsui-drawer-min-size-lqnbqg;
|
|
18
|
+
$bottomDrawerSize: --awsui-bottom-drawer-size-lqnbqg;
|
|
19
|
+
$footerHeight: --awsui-footer-height-lqnbqg;
|
|
20
|
+
$headerGap: --awsui-header-gap-lqnbqg;
|
|
21
|
+
$headerHeight: --awsui-header-height-lqnbqg;
|
|
22
|
+
$layoutWidth: --awsui-layout-width-lqnbqg;
|
|
23
|
+
$mainGap: --awsui-main-gap-lqnbqg;
|
|
24
|
+
$mainOffsetLeft: --awsui-main-offset-left-lqnbqg;
|
|
25
|
+
$mainTemplateRows: --awsui-main-template-rows-lqnbqg;
|
|
26
|
+
$mobileBarHeight: --awsui-mobile-bar-height-lqnbqg;
|
|
27
|
+
$notificationsHeight: --awsui-notifications-height-lqnbqg;
|
|
28
|
+
$offsetTop: --awsui-offset-top-lqnbqg;
|
|
29
|
+
$overlapHeight: --awsui-overlap-height-lqnbqg;
|
|
30
|
+
$navigationWidth: --awsui-navigation-width-lqnbqg;
|
|
31
|
+
$splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-lqnbqg;
|
|
32
|
+
$splitPanelReportedSize: --awsui-split-panel-reported-size-lqnbqg;
|
|
33
|
+
$splitPanelHeight: --awsui-split-panel-height-lqnbqg;
|
|
34
|
+
$splitPanelMinWidth: --awsui-split-panel-min-width-lqnbqg;
|
|
35
|
+
$splitPanelMaxWidth: --awsui-split-panel-max-width-lqnbqg;
|
|
36
|
+
$toolsMaxWidth: --awsui-tools-max-width-lqnbqg;
|
|
37
|
+
$toolsWidth: --awsui-tools-width-lqnbqg;
|
|
38
|
+
$toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-lqnbqg;
|
|
39
|
+
$contentScrollMargin: --awsui-content-scroll-margin-lqnbqg;
|
|
40
|
+
$flashbarStackDepth: --awsui-flashbar-stack-depth-lqnbqg;
|
|
41
|
+
$flashbarStackIndex: --awsui-flashbar-stack-index-lqnbqg;
|
|
42
|
+
$flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-lqnbqg;
|
|
43
|
+
$stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-lqnbqg;
|
|
44
|
+
$stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-lqnbqg;
|
|
45
|
+
$dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-lqnbqg;
|
|
46
|
+
$spinnerRotatorFrom: --awsui-spinner-rotator-from-lqnbqg;
|
|
47
|
+
$spinnerRotatorTo: --awsui-spinner-rotator-to-lqnbqg;
|
|
48
|
+
$spinnerLineLeftFrom: --awsui-spinner-line-left-from-lqnbqg;
|
|
49
|
+
$spinnerLineLeftTo: --awsui-spinner-line-left-to-lqnbqg;
|
|
50
|
+
$spinnerLineRightFrom: --awsui-spinner-line-right-from-lqnbqg;
|
|
51
|
+
$spinnerLineRightTo: --awsui-spinner-line-right-to-lqnbqg;
|
|
52
|
+
$sliderLabelCount: --awsui-slider-label-count-lqnbqg;
|
|
53
|
+
$sliderTickCount: --awsui-slider-tick-count-lqnbqg;
|
|
54
|
+
$sliderReferenceColumn: --awsui-slider-reference-column-lqnbqg;
|
|
55
|
+
$sliderNextReferenceColumn: --awsui-slider-next-reference-column-lqnbqg;
|
|
56
|
+
$sliderMaxStart: --awsui-slider-max-start-lqnbqg;
|
|
57
|
+
$sliderMinEnd: --awsui-slider-min-end-lqnbqg;
|
|
58
|
+
$sliderRangeInlineSize: --awsui-slider-range-inline-size-lqnbqg;
|
|
59
|
+
$sliderTooltipPosition: --awsui-slider-tooltip-position-lqnbqg;
|
|
60
|
+
$togglesLeftWidth: --awsui-toggles-left-width-lqnbqg;
|
|
61
|
+
$togglesRightWidth: --awsui-toggles-right-width-lqnbqg;
|
|
62
|
+
$promptInputMaxRows: --awsui-prompt-input-max-rows-lqnbqg;
|
|
63
|
+
$promptInputScrollHeight: --awsui-prompt-input-scroll-height-lqnbqg;
|
|
64
|
+
$dragHandleAnimationInlineOffset: --awsui-drag-handle-animation-inline-offset-lqnbqg;
|
|
65
|
+
$dragHandleAnimationBlockOffset: --awsui-drag-handle-animation-block-offset-lqnbqg;
|
|
66
|
+
$styleBackgroundActive: --awsui-style-background-active-lqnbqg;
|
|
67
|
+
$styleBackgroundDefault: --awsui-style-background-default-lqnbqg;
|
|
68
|
+
$styleBackgroundDisabled: --awsui-style-background-disabled-lqnbqg;
|
|
69
|
+
$styleBackgroundHover: --awsui-style-background-hover-lqnbqg;
|
|
70
|
+
$styleBorderColorActive: --awsui-style-border-color-active-lqnbqg;
|
|
71
|
+
$styleBorderColorDefault: --awsui-style-border-color-default-lqnbqg;
|
|
72
|
+
$styleBorderColorDisabled: --awsui-style-border-color-disabled-lqnbqg;
|
|
73
|
+
$styleBorderColorHover: --awsui-style-border-color-hover-lqnbqg;
|
|
74
|
+
$styleColorActive: --awsui-style-color-active-lqnbqg;
|
|
75
|
+
$styleColorDefault: --awsui-style-color-default-lqnbqg;
|
|
76
|
+
$styleColorDisabled: --awsui-style-color-disabled-lqnbqg;
|
|
77
|
+
$styleColorHover: --awsui-style-color-hover-lqnbqg;
|
|
78
|
+
$styleFocusRingBorderColor: --awsui-style-focus-ring-border-color-lqnbqg;
|
|
79
|
+
$styleFocusRingBorderRadius: --awsui-style-focus-ring-border-radius-lqnbqg;
|
|
80
|
+
$styleFocusRingBorderWidth: --awsui-style-focus-ring-border-width-lqnbqg;
|
|
81
|
+
$styleFocusRingBoxShadow: --awsui-style-focus-ring-box-shadow-lqnbqg;
|
|
82
|
+
$styleBoxShadowActive: --awsui-style-box-shadow-active-lqnbqg;
|
|
83
|
+
$styleBoxShadowDefault: --awsui-style-box-shadow-default-lqnbqg;
|
|
84
|
+
$styleBoxShadowDisabled: --awsui-style-box-shadow-disabled-lqnbqg;
|
|
85
|
+
$styleBoxShadowHover: --awsui-style-box-shadow-hover-lqnbqg;
|
|
86
|
+
$alertFocusRingBorderColor: --awsui-alert-focus-ring-border-color-lqnbqg;
|
|
87
|
+
$alertFocusRingBorderRadius: --awsui-alert-focus-ring-border-radius-lqnbqg;
|
|
88
|
+
$alertFocusRingBorderWidth: --awsui-alert-focus-ring-border-width-lqnbqg;
|
|
89
|
+
$alertFocusRingBoxShadow: --awsui-alert-focus-ring-box-shadow-lqnbqg;
|
|
90
|
+
$alertIconColor: --awsui-alert-icon-color-lqnbqg;
|
|
103
91
|
|
|
@@ -113,36 +113,27 @@
|
|
|
113
113
|
|
|
114
114
|
// Use for form input elements, excluding buttons
|
|
115
115
|
// or for elements that have a light border and light background
|
|
116
|
-
@mixin form-focus-element(
|
|
117
|
-
$border-radius: constants.$control-border-radius,
|
|
118
|
-
$border-color: awsui.$color-border-input-focused,
|
|
119
|
-
$box-shadow: foundation.$box-shadow-focused-light
|
|
120
|
-
) {
|
|
116
|
+
@mixin form-focus-element($border-radius: constants.$control-border-radius) {
|
|
121
117
|
// Using a special transparent outline only visible in Windows High Contrast Mode.
|
|
122
118
|
// See focus-highlight above.
|
|
123
119
|
outline: 2px dotted transparent;
|
|
124
120
|
|
|
125
|
-
border-block: awsui.$border-width-field solid
|
|
126
|
-
border-inline: awsui.$border-width-field solid
|
|
121
|
+
border-block: awsui.$border-width-field solid awsui.$color-border-input-focused;
|
|
122
|
+
border-inline: awsui.$border-width-field solid awsui.$color-border-input-focused;
|
|
127
123
|
border-start-start-radius: $border-radius;
|
|
128
124
|
border-start-end-radius: $border-radius;
|
|
129
125
|
border-end-start-radius: $border-radius;
|
|
130
126
|
border-end-end-radius: $border-radius;
|
|
131
127
|
|
|
132
|
-
box-shadow:
|
|
128
|
+
box-shadow: foundation.$box-shadow-focused-light;
|
|
133
129
|
}
|
|
134
130
|
|
|
135
|
-
@mixin form-disabled-element
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
background-color: $background-color;
|
|
142
|
-
border-block: awsui.$border-width-field solid $border-color;
|
|
143
|
-
border-inline: awsui.$border-width-field solid $border-color;
|
|
144
|
-
color: $color;
|
|
145
|
-
cursor: $cursor;
|
|
131
|
+
@mixin form-disabled-element {
|
|
132
|
+
background-color: awsui.$color-background-input-disabled;
|
|
133
|
+
border-block: awsui.$border-width-field solid awsui.$color-border-input-disabled;
|
|
134
|
+
border-inline: awsui.$border-width-field solid awsui.$color-border-input-disabled;
|
|
135
|
+
color: awsui.$color-text-input-disabled;
|
|
136
|
+
cursor: auto;
|
|
146
137
|
}
|
|
147
138
|
|
|
148
139
|
@mixin button-trigger-disabled-element {
|
|
@@ -153,13 +144,10 @@
|
|
|
153
144
|
cursor: auto;
|
|
154
145
|
}
|
|
155
146
|
|
|
156
|
-
@mixin form-readonly-element
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
background-color: $background-color;
|
|
161
|
-
border-block: awsui.$border-width-field solid $border-color;
|
|
162
|
-
border-inline: awsui.$border-width-field solid $border-color;
|
|
147
|
+
@mixin form-readonly-element {
|
|
148
|
+
background-color: awsui.$color-background-input-default;
|
|
149
|
+
border-block: awsui.$border-width-field solid awsui.$color-border-input-disabled;
|
|
150
|
+
border-inline: awsui.$border-width-field solid awsui.$color-border-input-disabled;
|
|
163
151
|
}
|
|
164
152
|
|
|
165
153
|
@mixin button-trigger-readonly-element {
|
|
@@ -168,24 +156,13 @@
|
|
|
168
156
|
border-inline: awsui.$border-width-token solid awsui.$color-border-input-disabled;
|
|
169
157
|
}
|
|
170
158
|
|
|
171
|
-
@mixin form-placeholder
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
$font-style: italic,
|
|
175
|
-
$font-weight: null
|
|
176
|
-
) {
|
|
177
|
-
color: $color;
|
|
178
|
-
@if $font-size {
|
|
179
|
-
font-size: $font-size;
|
|
180
|
-
}
|
|
181
|
-
font-style: $font-style;
|
|
182
|
-
@if $font-weight {
|
|
183
|
-
font-weight: $font-weight;
|
|
184
|
-
}
|
|
159
|
+
@mixin form-placeholder {
|
|
160
|
+
color: awsui.$color-text-input-placeholder;
|
|
161
|
+
font-style: italic;
|
|
185
162
|
}
|
|
186
163
|
|
|
187
|
-
@mixin form-placeholder-disabled
|
|
188
|
-
color:
|
|
164
|
+
@mixin form-placeholder-disabled {
|
|
165
|
+
color: awsui.$color-text-input-placeholder-disabled;
|
|
189
166
|
}
|
|
190
167
|
|
|
191
168
|
@mixin form-control-description {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
.root {
|
|
10
10
|
@include styles.styles-reset;
|
|
11
|
+
@include styles.text-wrapping;
|
|
11
12
|
|
|
12
13
|
> .list {
|
|
13
14
|
list-style: none;
|
|
@@ -20,6 +21,8 @@
|
|
|
20
21
|
grid-template-rows: minmax(awsui.$space-static-l, auto);
|
|
21
22
|
|
|
22
23
|
> .header {
|
|
24
|
+
display: flex;
|
|
25
|
+
gap: awsui.$space-xxs;
|
|
23
26
|
grid-row: 1;
|
|
24
27
|
grid-column: 1 / span 2;
|
|
25
28
|
}
|
|
@@ -49,5 +52,65 @@
|
|
|
49
52
|
> :last-of-type > .connector {
|
|
50
53
|
display: none;
|
|
51
54
|
}
|
|
55
|
+
|
|
56
|
+
&.custom > .details {
|
|
57
|
+
// Remove built-in margins for custom rendering for maximum flexibility
|
|
58
|
+
margin-block-end: 0;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.horizontal {
|
|
64
|
+
> .list {
|
|
65
|
+
display: grid;
|
|
66
|
+
align-items: flex-start;
|
|
67
|
+
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
68
|
+
grid-auto-flow: column;
|
|
69
|
+
|
|
70
|
+
> .container {
|
|
71
|
+
display: grid;
|
|
72
|
+
grid-template-columns: awsui.$space-static-l 1fr;
|
|
73
|
+
grid-template-rows: minmax(awsui.$space-static-l, auto);
|
|
74
|
+
align-items: center;
|
|
75
|
+
|
|
76
|
+
> .header {
|
|
77
|
+
display: flex;
|
|
78
|
+
grid-row: 1;
|
|
79
|
+
grid-column: 1 / span 2;
|
|
80
|
+
align-items: center;
|
|
81
|
+
|
|
82
|
+
> .connector {
|
|
83
|
+
display: block;
|
|
84
|
+
flex: 1;
|
|
85
|
+
background-color: awsui.$color-border-divider-default;
|
|
86
|
+
margin-block: 0;
|
|
87
|
+
border-block: 0;
|
|
88
|
+
border-inline: 0;
|
|
89
|
+
min-block-size: 0;
|
|
90
|
+
inset-inline-end: 0;
|
|
91
|
+
|
|
92
|
+
block-size: awsui.$border-divider-list-width;
|
|
93
|
+
inline-size: auto;
|
|
94
|
+
min-inline-size: awsui.$space-static-xs;
|
|
95
|
+
margin-inline-end: awsui.$space-static-xxs;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
> .horizontal-header {
|
|
100
|
+
grid-row: 2;
|
|
101
|
+
grid-column: 1 / span 3;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
> .details {
|
|
105
|
+
grid-row: 3;
|
|
106
|
+
grid-column: 1 / span 3;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
> .container:last-child {
|
|
111
|
+
> .header > .connector {
|
|
112
|
+
display: none;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
52
115
|
}
|
|
53
116
|
}
|
|
@@ -1,32 +1,32 @@
|
|
|
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
|
-
"alert-wrapper": "awsui_alert-
|
|
9
|
-
"initial-hidden": "awsui_initial-
|
|
10
|
-
"header": "
|
|
11
|
-
"header-replacement": "awsui_header-
|
|
12
|
-
"action": "
|
|
13
|
-
"action-slot": "awsui_action-
|
|
14
|
-
"action-button": "awsui_action-
|
|
15
|
-
"alert-focus-wrapper": "awsui_alert-focus-
|
|
16
|
-
"text": "
|
|
17
|
-
"icon": "
|
|
18
|
-
"message": "
|
|
19
|
-
"action-wrapped": "awsui_action-
|
|
20
|
-
"icon-size-medium": "awsui_icon-size-
|
|
21
|
-
"icon-size-big": "awsui_icon-size-
|
|
22
|
-
"icon-size-normal": "awsui_icon-size-
|
|
23
|
-
"content": "
|
|
24
|
-
"content-replacement": "awsui_content-
|
|
25
|
-
"dismiss": "
|
|
26
|
-
"dismiss-button": "awsui_dismiss-
|
|
27
|
-
"type-error": "awsui_type-
|
|
28
|
-
"type-warning": "awsui_type-
|
|
29
|
-
"type-success": "awsui_type-
|
|
30
|
-
"type-info": "awsui_type-
|
|
4
|
+
"alert": "awsui_alert_mx3cw_1yivi_193",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_1yivi_1",
|
|
6
|
+
"root": "awsui_root_mx3cw_1yivi_215",
|
|
7
|
+
"hidden": "awsui_hidden_mx3cw_1yivi_250",
|
|
8
|
+
"alert-wrapper": "awsui_alert-wrapper_mx3cw_1yivi_299",
|
|
9
|
+
"initial-hidden": "awsui_initial-hidden_mx3cw_1yivi_311",
|
|
10
|
+
"header": "awsui_header_mx3cw_1yivi_316",
|
|
11
|
+
"header-replacement": "awsui_header-replacement_mx3cw_1yivi_317",
|
|
12
|
+
"action": "awsui_action_mx3cw_1yivi_321",
|
|
13
|
+
"action-slot": "awsui_action-slot_mx3cw_1yivi_325",
|
|
14
|
+
"action-button": "awsui_action-button_mx3cw_1yivi_326",
|
|
15
|
+
"alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_1yivi_330",
|
|
16
|
+
"text": "awsui_text_mx3cw_1yivi_361",
|
|
17
|
+
"icon": "awsui_icon_mx3cw_1yivi_368",
|
|
18
|
+
"message": "awsui_message_mx3cw_1yivi_371",
|
|
19
|
+
"action-wrapped": "awsui_action-wrapped_mx3cw_1yivi_375",
|
|
20
|
+
"icon-size-medium": "awsui_icon-size-medium_mx3cw_1yivi_379",
|
|
21
|
+
"icon-size-big": "awsui_icon-size-big_mx3cw_1yivi_383",
|
|
22
|
+
"icon-size-normal": "awsui_icon-size-normal_mx3cw_1yivi_387",
|
|
23
|
+
"content": "awsui_content_mx3cw_1yivi_391",
|
|
24
|
+
"content-replacement": "awsui_content-replacement_mx3cw_1yivi_392",
|
|
25
|
+
"dismiss": "awsui_dismiss_mx3cw_1yivi_396",
|
|
26
|
+
"dismiss-button": "awsui_dismiss-button_mx3cw_1yivi_401",
|
|
27
|
+
"type-error": "awsui_type-error_mx3cw_1yivi_405",
|
|
28
|
+
"type-warning": "awsui_type-warning_mx3cw_1yivi_413",
|
|
29
|
+
"type-success": "awsui_type-success_mx3cw_1yivi_421",
|
|
30
|
+
"type-info": "awsui_type-info_mx3cw_1yivi_429"
|
|
31
31
|
};
|
|
32
32
|
|