@cloudscape-design/components 3.0.1405 → 3.0.1406
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/alert/styles.css.js +27 -27
- package/alert/styles.scoped.css +67 -116
- package/alert/styles.selectors.js +27 -27
- package/app-layout/visual-refresh-toolbar/skeleton/skeleton-parts.js +6 -6
- package/app-layout/visual-refresh-toolbar/skeleton/skeleton-parts.js.map +1 -1
- package/autosuggest/internal.d.ts.map +1 -1
- package/autosuggest/internal.js +1 -1
- package/autosuggest/internal.js.map +1 -1
- package/autosuggest/options-list.js +1 -1
- package/autosuggest/options-list.js.map +1 -1
- package/badge/styles.css.js +10 -10
- package/badge/styles.scoped.css +55 -83
- package/badge/styles.selectors.js +10 -10
- package/button/styles.css.js +24 -24
- package/button/styles.scoped.css +356 -405
- package/button/styles.selectors.js +24 -24
- package/button-dropdown/filter.d.ts +1 -1
- package/button-dropdown/filter.d.ts.map +1 -1
- package/checkbox/internal.d.ts +0 -2
- package/checkbox/internal.d.ts.map +1 -1
- package/checkbox/internal.js +1 -1
- package/checkbox/internal.js.map +1 -1
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +16 -28
- package/checkbox/styles.selectors.js +3 -3
- package/dropdown/styles.css.js +20 -20
- package/dropdown/styles.scoped.css +55 -63
- package/dropdown/styles.selectors.js +20 -20
- package/expandable-section/expandable-section-header.d.ts +3 -1
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +11 -9
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/expandable-section/internal.d.ts +7 -0
- package/expandable-section/internal.d.ts.map +1 -1
- package/expandable-section/internal.js +2 -2
- package/expandable-section/internal.js.map +1 -1
- package/expandable-section/styles.css.js +46 -44
- package/expandable-section/styles.scoped.css +98 -89
- package/expandable-section/styles.selectors.js +46 -44
- package/input/index.d.ts.map +1 -1
- package/input/index.js +2 -1
- package/input/index.js.map +1 -1
- package/input/internal.d.ts +8 -1
- package/input/internal.d.ts.map +1 -1
- package/input/internal.js +7 -7
- package/input/internal.js.map +1 -1
- package/input/styles.css.js +44 -37
- package/input/styles.scoped.css +203 -86
- package/input/styles.selectors.js +44 -37
- package/internal/base-component/styles.scoped.css +1 -1
- package/internal/base-theme/styles.scoped.css +5 -0
- package/internal/components/abstract-switch/index.d.ts +0 -4
- package/internal/components/abstract-switch/index.d.ts.map +1 -1
- package/internal/components/abstract-switch/index.js +3 -3
- package/internal/components/abstract-switch/index.js.map +1 -1
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +23 -23
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/autosuggest-input/index.js +1 -1
- package/internal/components/autosuggest-input/index.js.map +1 -1
- package/internal/components/autosuggest-input/styles.css.js +33 -27
- package/internal/components/autosuggest-input/styles.scoped.css +129 -34
- package/internal/components/autosuggest-input/styles.selectors.js +33 -27
- package/internal/components/button-trigger/index.js +1 -1
- package/internal/components/button-trigger/index.js.map +1 -1
- package/internal/components/button-trigger/styles.css.js +29 -23
- package/internal/components/button-trigger/styles.scoped.css +139 -44
- package/internal/components/button-trigger/styles.selectors.js +29 -23
- package/internal/components/checkbox-icon/styles.css.js +9 -9
- package/internal/components/checkbox-icon/styles.scoped.css +15 -15
- package/internal/components/checkbox-icon/styles.selectors.js +9 -9
- package/internal/components/control-group/grouped-control-styles.d.ts +5 -4
- package/internal/components/control-group/grouped-control-styles.d.ts.map +1 -1
- package/internal/components/control-group/grouped-control-styles.js +8 -6
- package/internal/components/control-group/grouped-control-styles.js.map +1 -1
- package/internal/components/control-group/index.d.ts.map +1 -1
- package/internal/components/control-group/index.js +28 -4
- package/internal/components/control-group/index.js.map +1 -1
- package/internal/components/control-group/styles.css.js +27 -20
- package/internal/components/control-group/styles.scoped.css +51 -20
- package/internal/components/control-group/styles.selectors.js +27 -20
- package/internal/components/listbox/parts/common.d.ts.map +1 -0
- package/internal/components/listbox/parts/common.js.map +1 -0
- package/{select/utils → internal/components/listbox/parts}/get-item-props.d.ts +1 -1
- package/internal/components/listbox/parts/get-item-props.d.ts.map +1 -0
- package/{select/utils → internal/components/listbox/parts}/get-item-props.js +1 -1
- package/internal/components/listbox/parts/get-item-props.js.map +1 -0
- package/internal/components/listbox/parts/option-group.d.ts.map +1 -0
- package/{select → internal/components/listbox}/parts/option-group.js +1 -1
- package/internal/components/listbox/parts/option-group.js.map +1 -0
- package/{select/utils → internal/components/listbox/parts}/render-options.d.ts +5 -5
- package/internal/components/listbox/parts/render-options.d.ts.map +1 -0
- package/{select/utils → internal/components/listbox/parts}/render-options.js +4 -4
- package/internal/components/listbox/parts/render-options.js.map +1 -0
- package/internal/components/listbox/parts/scroll-to-index.d.ts.map +1 -0
- package/internal/components/listbox/parts/scroll-to-index.js.map +1 -0
- package/{select/utils → internal/components/listbox}/use-announcement.d.ts +2 -2
- package/internal/components/listbox/use-announcement.d.ts.map +1 -0
- package/{select/utils → internal/components/listbox}/use-announcement.js +1 -1
- package/internal/components/listbox/use-announcement.js.map +1 -0
- package/internal/components/listbox/utils/check-option-value-field.d.ts.map +1 -0
- package/{select → internal/components/listbox}/utils/check-option-value-field.js +1 -1
- package/internal/components/listbox/utils/check-option-value-field.js.map +1 -0
- package/{select → internal/components/listbox}/utils/connect-options.d.ts +2 -2
- package/internal/components/listbox/utils/connect-options.d.ts.map +1 -0
- package/internal/components/listbox/utils/connect-options.js.map +1 -0
- package/internal/components/option/index.d.ts +2 -0
- package/internal/components/option/index.d.ts.map +1 -1
- package/internal/components/option/index.js +4 -4
- package/internal/components/option/index.js.map +1 -1
- package/internal/components/option/interfaces.d.ts +2 -0
- package/internal/components/option/interfaces.d.ts.map +1 -1
- package/internal/components/option/interfaces.js.map +1 -1
- package/internal/components/option/option-parts.d.ts +3 -1
- package/internal/components/option/option-parts.d.ts.map +1 -1
- package/internal/components/option/option-parts.js +1 -1
- package/internal/components/option/option-parts.js.map +1 -1
- package/internal/components/option/styles.css.js +18 -17
- package/internal/components/option/styles.scoped.css +52 -29
- package/internal/components/option/styles.selectors.js +18 -17
- package/internal/components/radio-button/styles.css.js +7 -7
- package/internal/components/radio-button/styles.scoped.css +27 -29
- package/internal/components/radio-button/styles.selectors.js +7 -7
- package/internal/context/control-group-context.d.ts +7 -0
- package/internal/context/control-group-context.d.ts.map +1 -1
- package/internal/context/control-group-context.js +4 -1
- package/internal/context/control-group-context.js.map +1 -1
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/styles/tokens.d.ts +1 -0
- package/internal/generated/styles/tokens.js +1 -0
- package/internal/generated/theming/index.cjs +31 -0
- package/internal/generated/theming/index.js +31 -0
- package/internal/manifest.json +1 -1
- package/link/styles.css.js +21 -21
- package/link/styles.scoped.css +133 -145
- package/link/styles.selectors.js +21 -21
- package/manifest.json +2 -2
- package/multiselect/use-multiselect.d.ts.map +1 -1
- package/multiselect/use-multiselect.js +3 -3
- package/multiselect/use-multiselect.js.map +1 -1
- package/package.json +1 -1
- package/prompt-input/components/menu-dropdown.js +1 -1
- package/prompt-input/components/menu-dropdown.js.map +1 -1
- package/radio-button/styles.css.js +1 -1
- package/radio-button/styles.scoped.css +5 -13
- package/radio-button/styles.selectors.js +1 -1
- package/segmented-control/internal-segmented-control.js +2 -2
- package/segmented-control/internal-segmented-control.js.map +1 -1
- package/segmented-control/internal.js +1 -1
- package/segmented-control/internal.js.map +1 -1
- package/segmented-control/styles.css.js +31 -27
- package/segmented-control/styles.scoped.css +136 -49
- package/segmented-control/styles.selectors.js +31 -27
- package/select/internal.d.ts.map +1 -1
- package/select/internal.js +2 -2
- package/select/internal.js.map +1 -1
- package/select/parts/filter.d.ts +1 -1
- package/select/parts/filter.d.ts.map +1 -1
- package/select/parts/plain-list.d.ts.map +1 -1
- package/select/parts/plain-list.js +3 -3
- package/select/parts/plain-list.js.map +1 -1
- package/select/parts/virtual-list.js +3 -3
- package/select/parts/virtual-list.js.map +1 -1
- package/select/utils/use-select.d.ts.map +1 -1
- package/select/utils/use-select.js +1 -1
- package/select/utils/use-select.js.map +1 -1
- package/side-navigation/interfaces.d.ts +6 -0
- package/side-navigation/interfaces.d.ts.map +1 -1
- package/side-navigation/interfaces.js.map +1 -1
- package/side-navigation/parts.js +14 -4
- package/side-navigation/parts.js.map +1 -1
- package/side-navigation/styles.css.js +65 -64
- package/side-navigation/styles.scoped.css +119 -111
- package/side-navigation/styles.selectors.js +65 -64
- package/styling/alert.scss +68 -0
- package/styling/badge.scss +55 -0
- package/styling/button.scss +59 -0
- package/styling/checkbox.scss +23 -0
- package/styling/dropdown.scss +31 -0
- package/styling/input.scss +106 -0
- package/styling/link.scss +29 -0
- package/styling/radio-button.scss +23 -0
- package/styling/toggle.scss +21 -0
- package/toggle/internal.d.ts +0 -2
- package/toggle/internal.d.ts.map +1 -1
- package/toggle/internal.js +1 -1
- package/toggle/internal.js.map +1 -1
- package/toggle/styles.css.js +10 -10
- package/toggle/styles.scoped.css +38 -50
- package/toggle/styles.selectors.js +10 -10
- package/token/interfaces.d.ts +9 -6
- package/token/interfaces.d.ts.map +1 -1
- package/token/interfaces.js.map +1 -1
- package/token/internal.d.ts.map +1 -1
- package/token/internal.js +22 -17
- package/token/internal.js.map +1 -1
- package/token/styles.css.js +14 -14
- package/token/styles.scoped.css +28 -27
- package/token/styles.selectors.js +14 -14
- package/select/parts/common.d.ts.map +0 -1
- package/select/parts/common.js.map +0 -1
- package/select/parts/option-group.d.ts.map +0 -1
- package/select/parts/option-group.js.map +0 -1
- package/select/utils/check-option-value-field.d.ts.map +0 -1
- package/select/utils/check-option-value-field.js.map +0 -1
- package/select/utils/connect-options.d.ts.map +0 -1
- package/select/utils/connect-options.js.map +0 -1
- package/select/utils/get-item-props.d.ts.map +0 -1
- package/select/utils/get-item-props.js.map +0 -1
- package/select/utils/render-options.d.ts.map +0 -1
- package/select/utils/render-options.js.map +0 -1
- package/select/utils/scroll-to-index.d.ts.map +0 -1
- package/select/utils/scroll-to-index.js.map +0 -1
- package/select/utils/use-announcement.d.ts.map +0 -1
- package/select/utils/use-announcement.js.map +0 -1
- /package/{select → internal/components/listbox}/parts/common.d.ts +0 -0
- /package/{select → internal/components/listbox}/parts/common.js +0 -0
- /package/{select → internal/components/listbox}/parts/option-group.d.ts +0 -0
- /package/{select/utils → internal/components/listbox/parts}/scroll-to-index.d.ts +0 -0
- /package/{select/utils → internal/components/listbox/parts}/scroll-to-index.js +0 -0
- /package/{select → internal/components/listbox}/utils/check-option-value-field.d.ts +0 -0
- /package/{select → internal/components/listbox}/utils/connect-options.js +0 -0
|
@@ -14,21 +14,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
14
14
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
15
15
|
SPDX-License-Identifier: Apache-2.0
|
|
16
16
|
*/
|
|
17
|
-
.awsui_button-
|
|
17
|
+
.awsui_button-trigger_18eso_eokfx_17 > .awsui_arrow_18eso_eokfx_17:not(#\9) {
|
|
18
18
|
transition: transform var(--motion-duration-rotate-180-sdkywx, 135ms) var(--motion-easing-rotate-180-oh461e, cubic-bezier(0.165, 0.84, 0.44, 1));
|
|
19
19
|
}
|
|
20
20
|
@media (prefers-reduced-motion: reduce) {
|
|
21
|
-
.awsui_button-
|
|
21
|
+
.awsui_button-trigger_18eso_eokfx_17 > .awsui_arrow_18eso_eokfx_17:not(#\9) {
|
|
22
22
|
animation: none;
|
|
23
23
|
transition: none;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
.awsui-motion-disabled .awsui_button-
|
|
26
|
+
.awsui-motion-disabled .awsui_button-trigger_18eso_eokfx_17 > .awsui_arrow_18eso_eokfx_17:not(#\9), .awsui-mode-entering .awsui_button-trigger_18eso_eokfx_17 > .awsui_arrow_18eso_eokfx_17:not(#\9) {
|
|
27
27
|
animation: none;
|
|
28
28
|
transition: none;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.awsui_button-
|
|
31
|
+
.awsui_button-trigger_18eso_eokfx_17:not(#\9) {
|
|
32
32
|
border-collapse: separate;
|
|
33
33
|
border-spacing: 0;
|
|
34
34
|
box-sizing: border-box;
|
|
@@ -74,7 +74,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
74
74
|
border-inline: var(--border-width-field-f7slp9, 1px) solid var(--color-border-input-default-k1rhmt, #8c8c94);
|
|
75
75
|
min-block-size: var(--size-vertical-input-a5le9v, 32px);
|
|
76
76
|
}
|
|
77
|
-
.awsui_button-
|
|
77
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_in-filtering-token-root_18eso_eokfx_77:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_in-filtering-token-nested_18eso_eokfx_77:not(#\9) {
|
|
78
78
|
padding-block: 0px;
|
|
79
79
|
padding-inline: var(--space-field-horizontal-d3xvls, 12px);
|
|
80
80
|
border-block-width: var(--border-width-token-ruprj2, 2px);
|
|
@@ -85,14 +85,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
85
85
|
block-size: 100%;
|
|
86
86
|
min-block-size: unset;
|
|
87
87
|
}
|
|
88
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
88
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17.awsui_in-filtering-token-root_18eso_eokfx_77:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17.awsui_in-filtering-token-nested_18eso_eokfx_77:not(#\9):focus {
|
|
89
89
|
position: relative;
|
|
90
90
|
}
|
|
91
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
91
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17.awsui_in-filtering-token-root_18eso_eokfx_77:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17.awsui_in-filtering-token-nested_18eso_eokfx_77:not(#\9):focus {
|
|
92
92
|
outline: 2px dotted transparent;
|
|
93
93
|
outline-offset: calc(var(--space-filtering-token-operation-select-focus-outline-gutter-1pwn1b, -5px) - 1px);
|
|
94
94
|
}
|
|
95
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
95
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17.awsui_in-filtering-token-root_18eso_eokfx_77:not(#\9):focus::before, body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17.awsui_in-filtering-token-nested_18eso_eokfx_77:not(#\9):focus::before {
|
|
96
96
|
content: " ";
|
|
97
97
|
display: block;
|
|
98
98
|
position: absolute;
|
|
@@ -106,40 +106,40 @@ body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_h8rhm_17.awsui_i
|
|
|
106
106
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-hkazgq, 4px);
|
|
107
107
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-sb1fs0, #006ce0);
|
|
108
108
|
}
|
|
109
|
-
.awsui_button-
|
|
109
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_in-filtering-token-nested_18eso_eokfx_77:not(#\9) {
|
|
110
110
|
border-start-start-radius: calc(var(--border-radius-input-kb6rx2, 8px) / 2);
|
|
111
111
|
border-end-start-radius: calc(var(--border-radius-input-kb6rx2, 8px) / 2);
|
|
112
112
|
}
|
|
113
|
-
.awsui_button-
|
|
113
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_has-caret_18eso_eokfx_113:not(#\9) {
|
|
114
114
|
padding-inline-end: var(--space-field-icon-offset-t6wlx5, 36px);
|
|
115
115
|
}
|
|
116
|
-
.awsui_button-
|
|
116
|
+
.awsui_button-trigger_18eso_eokfx_17 > .awsui_placeholder_18eso_eokfx_116:not(#\9) {
|
|
117
117
|
color: var(--color-text-input-placeholder-be5hpz, #656871);
|
|
118
118
|
font-style: italic;
|
|
119
119
|
}
|
|
120
|
-
.awsui_button-
|
|
120
|
+
.awsui_button-trigger_18eso_eokfx_17 > .awsui_arrow_18eso_eokfx_17:not(#\9) {
|
|
121
121
|
position: absolute;
|
|
122
122
|
inset-inline-end: var(--space-field-horizontal-d3xvls, 12px);
|
|
123
123
|
inset-block-start: calc(50% - var(--line-height-body-m-18p63n, 20px) / 2);
|
|
124
124
|
color: var(--color-text-button-inline-icon-default-rwcq7v, #006ce0);
|
|
125
125
|
}
|
|
126
|
-
.awsui_button-
|
|
126
|
+
.awsui_button-trigger_18eso_eokfx_17:not(#\9):hover > .awsui_arrow_18eso_eokfx_17 {
|
|
127
127
|
color: var(--color-text-button-inline-icon-hover-bf1htc, #002b66);
|
|
128
128
|
}
|
|
129
|
-
.awsui_button-
|
|
129
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_pressed_18eso_eokfx_129 > .awsui_arrow_18eso_eokfx_17:not(#\9) {
|
|
130
130
|
transform: rotate(-180deg);
|
|
131
131
|
}
|
|
132
|
-
.awsui_button-
|
|
132
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_disabled_18eso_eokfx_132:not(#\9) {
|
|
133
133
|
background-color: var(--color-background-input-disabled-obdkw7, #ebebf0);
|
|
134
134
|
border-block: var(--border-width-field-f7slp9, 1px) solid var(--color-border-input-disabled-behfvv, #ebebf0);
|
|
135
135
|
border-inline: var(--border-width-field-f7slp9, 1px) solid var(--color-border-input-disabled-behfvv, #ebebf0);
|
|
136
136
|
color: var(--color-text-input-disabled-8cisvk, #b4b4bb);
|
|
137
137
|
cursor: auto;
|
|
138
138
|
}
|
|
139
|
-
.awsui_button-
|
|
139
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_disabled_18eso_eokfx_132 > .awsui_arrow_18eso_eokfx_17:not(#\9) {
|
|
140
140
|
color: var(--color-text-button-inline-icon-disabled-ddlytu, #b4b4bb);
|
|
141
141
|
}
|
|
142
|
-
.awsui_button-
|
|
142
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_disabled_18eso_eokfx_132.awsui_in-filtering-token_18eso_eokfx_77:not(#\9) {
|
|
143
143
|
background-color: var(--color-background-input-disabled-obdkw7, #ebebf0);
|
|
144
144
|
border-block: var(--border-width-token-ruprj2, 2px) solid var(--color-border-input-disabled-behfvv, #ebebf0);
|
|
145
145
|
border-inline: var(--border-width-token-ruprj2, 2px) solid var(--color-border-input-disabled-behfvv, #ebebf0);
|
|
@@ -147,64 +147,64 @@ body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_h8rhm_17.awsui_i
|
|
|
147
147
|
cursor: auto;
|
|
148
148
|
border-color: var(--color-border-control-disabled-gg2cew, #dedee3);
|
|
149
149
|
}
|
|
150
|
-
.awsui_button-
|
|
150
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_disabled_18eso_eokfx_132 > .awsui_placeholder_18eso_eokfx_116:not(#\9) {
|
|
151
151
|
color: var(--color-text-input-placeholder-disabled-yuyrqn, #b4b4bb);
|
|
152
152
|
}
|
|
153
|
-
.awsui_button-
|
|
153
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_readonly_18eso_eokfx_153:not(#\9):not(.awsui_button-trigger_18eso_eokfx_17.awsui_disabled_18eso_eokfx_132):not(.awsui_button-trigger_18eso_eokfx_17.awsui_in-filtering-token_18eso_eokfx_77) {
|
|
154
154
|
background-color: var(--color-background-input-default-dfjnbd, #ffffff);
|
|
155
155
|
border-block: var(--border-width-field-f7slp9, 1px) solid var(--color-border-input-disabled-behfvv, #ebebf0);
|
|
156
156
|
border-inline: var(--border-width-field-f7slp9, 1px) solid var(--color-border-input-disabled-behfvv, #ebebf0);
|
|
157
157
|
}
|
|
158
|
-
.awsui_button-
|
|
158
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_readonly_18eso_eokfx_153:not(#\9):not(.awsui_button-trigger_18eso_eokfx_17.awsui_disabled_18eso_eokfx_132) {
|
|
159
159
|
-webkit-user-select: text;
|
|
160
160
|
user-select: text;
|
|
161
161
|
}
|
|
162
|
-
.awsui_button-
|
|
162
|
+
.awsui_button-trigger_18eso_eokfx_17:not(#\9):focus {
|
|
163
163
|
outline: none;
|
|
164
164
|
text-decoration: none;
|
|
165
165
|
}
|
|
166
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
166
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165):focus {
|
|
167
167
|
outline: 2px dotted transparent;
|
|
168
168
|
border-block-color: var(--color-border-input-focused-6rki86, #006ce0);
|
|
169
169
|
border-inline-color: var(--color-border-input-focused-6rki86, #006ce0);
|
|
170
170
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-jm8mwu, 1px) var(--color-border-item-focused-sb1fs0, #006ce0);
|
|
171
171
|
}
|
|
172
|
-
.awsui_button-
|
|
172
|
+
.awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165):invalid {
|
|
173
173
|
box-shadow: none;
|
|
174
174
|
}
|
|
175
|
-
.awsui_button-
|
|
175
|
+
.awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_invalid_18eso_eokfx_174, .awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_invalid_18eso_eokfx_174:focus {
|
|
176
176
|
color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
177
177
|
border-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
178
178
|
padding-inline-start: calc(var(--space-field-horizontal-d3xvls, 12px) - (var(--border-invalid-width-gifxpw, 8px) - var(--border-width-field-f7slp9, 1px)));
|
|
179
179
|
border-inline-start-width: var(--border-invalid-width-gifxpw, 8px);
|
|
180
180
|
}
|
|
181
|
-
.awsui_button-
|
|
181
|
+
.awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_invalid_18eso_eokfx_174:focus, .awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_invalid_18eso_eokfx_174:focus:focus {
|
|
182
182
|
box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-oy39w5, 2px) var(--color-border-item-focused-sb1fs0, #006ce0);
|
|
183
183
|
}
|
|
184
|
-
.awsui_button-
|
|
184
|
+
.awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_warning_18eso_eokfx_183, .awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_warning_18eso_eokfx_183:focus {
|
|
185
185
|
color: var(--color-text-status-warning-r365u3, #855900);
|
|
186
186
|
border-color: var(--color-text-status-warning-r365u3, #855900);
|
|
187
187
|
padding-inline-start: calc(var(--space-field-horizontal-d3xvls, 12px) - (var(--border-invalid-width-gifxpw, 8px) - var(--border-width-field-f7slp9, 1px)));
|
|
188
188
|
border-inline-start-width: var(--border-invalid-width-gifxpw, 8px);
|
|
189
189
|
}
|
|
190
|
-
.awsui_button-
|
|
190
|
+
.awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_warning_18eso_eokfx_183:focus, .awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_warning_18eso_eokfx_183:focus:focus {
|
|
191
191
|
box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-oy39w5, 2px) var(--color-border-item-focused-sb1fs0, #006ce0);
|
|
192
192
|
}
|
|
193
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
193
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165):focus.awsui_invalid_18eso_eokfx_174 {
|
|
194
194
|
border-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
195
195
|
}
|
|
196
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
196
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17:not(#\9):not(.awsui_in-filtering-token_18eso_eokfx_77):not(.awsui_compact_18eso_eokfx_165):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165):focus.awsui_warning_18eso_eokfx_183 {
|
|
197
197
|
border-color: var(--color-text-status-warning-r365u3, #855900);
|
|
198
198
|
}
|
|
199
|
-
.awsui_button-
|
|
199
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_custom-option_18eso_eokfx_198:not(#\9) {
|
|
200
200
|
padding-block: 0;
|
|
201
201
|
padding-inline-start: 0;
|
|
202
202
|
overflow: clip;
|
|
203
203
|
}
|
|
204
|
-
.awsui_button-
|
|
204
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_inline-tokens_18eso_eokfx_203:not(#\9) {
|
|
205
205
|
padding-block: 0;
|
|
206
206
|
}
|
|
207
|
-
.awsui_button-
|
|
207
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_compact_18eso_eokfx_165:not(#\9) {
|
|
208
208
|
font-size: var(--font-size-body-s-ovzhcr, 12px);
|
|
209
209
|
line-height: var(--line-height-body-s-31lmk3, 16px);
|
|
210
210
|
letter-spacing: var(--letter-spacing-body-s-71brc7, 0.005em);
|
|
@@ -219,17 +219,17 @@ body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_h8rhm_17:not(#\9
|
|
|
219
219
|
border-end-start-radius: var(--border-radius-token-inline-hpg6u3, 4px);
|
|
220
220
|
border-end-end-radius: var(--border-radius-token-inline-hpg6u3, 4px);
|
|
221
221
|
}
|
|
222
|
-
.awsui_button-
|
|
222
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_compact_18eso_eokfx_165 > .awsui_arrow_18eso_eokfx_17:not(#\9) {
|
|
223
223
|
position: static;
|
|
224
224
|
}
|
|
225
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
225
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17.awsui_compact_18eso_eokfx_165:not(#\9):focus {
|
|
226
226
|
position: relative;
|
|
227
227
|
}
|
|
228
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
228
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17.awsui_compact_18eso_eokfx_165:not(#\9):focus {
|
|
229
229
|
outline: 2px dotted transparent;
|
|
230
230
|
outline-offset: calc(0px - 1px);
|
|
231
231
|
}
|
|
232
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
232
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17.awsui_compact_18eso_eokfx_165:not(#\9):focus::before {
|
|
233
233
|
content: " ";
|
|
234
234
|
display: block;
|
|
235
235
|
position: absolute;
|
|
@@ -243,41 +243,136 @@ body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_h8rhm_17.awsui_c
|
|
|
243
243
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-hkazgq, 4px);
|
|
244
244
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-sb1fs0, #006ce0);
|
|
245
245
|
}
|
|
246
|
-
.awsui_button-
|
|
246
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165:not(#\9) {
|
|
247
247
|
border-start-start-radius: var(--border-radius-input-kb6rx2, 8px);
|
|
248
248
|
border-start-end-radius: var(--border-radius-input-kb6rx2, 8px);
|
|
249
249
|
border-end-start-radius: var(--border-radius-input-kb6rx2, 8px);
|
|
250
250
|
border-end-end-radius: var(--border-radius-input-kb6rx2, 8px);
|
|
251
|
+
border-color: var(--color-border-control-group-default-0r3ak3, #8c8c94);
|
|
251
252
|
}
|
|
252
|
-
.awsui_button-
|
|
253
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-horizontal-first_18eso_eokfx_252:not(#\9) {
|
|
253
254
|
border-start-end-radius: 0;
|
|
254
255
|
border-end-end-radius: 0;
|
|
255
256
|
}
|
|
256
|
-
.awsui_button-
|
|
257
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-horizontal-middle_18eso_eokfx_256:not(#\9) {
|
|
257
258
|
border-start-start-radius: 0;
|
|
258
259
|
border-start-end-radius: 0;
|
|
259
260
|
border-end-start-radius: 0;
|
|
260
261
|
border-end-end-radius: 0;
|
|
261
262
|
}
|
|
262
|
-
.awsui_button-
|
|
263
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-horizontal-last_18eso_eokfx_262:not(#\9) {
|
|
263
264
|
border-start-start-radius: 0;
|
|
264
265
|
border-end-start-radius: 0;
|
|
265
266
|
}
|
|
266
|
-
.awsui_button-
|
|
267
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-vertical-first_18eso_eokfx_266:not(#\9) {
|
|
267
268
|
border-end-start-radius: 0;
|
|
268
269
|
border-end-end-radius: 0;
|
|
269
270
|
}
|
|
270
|
-
.awsui_button-
|
|
271
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-vertical-middle_18eso_eokfx_270:not(#\9) {
|
|
271
272
|
border-start-start-radius: 0;
|
|
272
273
|
border-start-end-radius: 0;
|
|
273
274
|
border-end-start-radius: 0;
|
|
274
275
|
border-end-end-radius: 0;
|
|
275
276
|
}
|
|
276
|
-
.awsui_button-
|
|
277
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-vertical-last_18eso_eokfx_276:not(#\9) {
|
|
277
278
|
border-start-start-radius: 0;
|
|
278
279
|
border-start-end-radius: 0;
|
|
279
280
|
}
|
|
280
|
-
.awsui_button-
|
|
281
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-action_18eso_eokfx_280:not(#\9) {
|
|
281
282
|
border-start-end-radius: 0;
|
|
282
283
|
border-end-end-radius: 0;
|
|
284
|
+
}
|
|
285
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-first_18eso_eokfx_252:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-first_18eso_eokfx_252:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-first_18eso_eokfx_252:not(#\9):focus {
|
|
286
|
+
border-inline-start-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
287
|
+
border-block-start-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
288
|
+
border-block-end-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
289
|
+
}
|
|
290
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-middle_18eso_eokfx_256:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-middle_18eso_eokfx_256:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-middle_18eso_eokfx_256:not(#\9):focus {
|
|
291
|
+
border-block-start-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
292
|
+
border-block-end-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
293
|
+
}
|
|
294
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-last_18eso_eokfx_262:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-last_18eso_eokfx_262:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-last_18eso_eokfx_262:not(#\9):focus {
|
|
295
|
+
border-inline-end-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
296
|
+
border-block-start-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
297
|
+
border-block-end-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
298
|
+
}
|
|
299
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-first_18eso_eokfx_266:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-first_18eso_eokfx_266:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-first_18eso_eokfx_266:not(#\9):focus {
|
|
300
|
+
border-block-start-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
301
|
+
border-inline-start-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
302
|
+
border-inline-end-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
303
|
+
}
|
|
304
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-middle_18eso_eokfx_270:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-middle_18eso_eokfx_270:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-middle_18eso_eokfx_270:not(#\9):focus {
|
|
305
|
+
border-inline-start-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
306
|
+
border-inline-end-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
307
|
+
}
|
|
308
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-last_18eso_eokfx_276:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-last_18eso_eokfx_276:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-last_18eso_eokfx_276:not(#\9):focus {
|
|
309
|
+
border-block-end-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
310
|
+
border-inline-start-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
311
|
+
border-inline-end-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
312
|
+
}
|
|
313
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-only_18eso_eokfx_312:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-only_18eso_eokfx_312:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-only_18eso_eokfx_312:not(#\9):focus, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-only_18eso_eokfx_312:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-only_18eso_eokfx_312:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical-only_18eso_eokfx_312:not(#\9):focus {
|
|
314
|
+
border-inline-start-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
315
|
+
border-inline-end-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
316
|
+
border-block-start-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
317
|
+
border-block-end-color: var(--color-text-status-error-5dgk9e, #db0000);
|
|
318
|
+
}
|
|
319
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-first_18eso_eokfx_252:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-first_18eso_eokfx_252:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-first_18eso_eokfx_252:not(#\9):focus {
|
|
320
|
+
border-inline-start-color: var(--color-text-status-warning-r365u3, #855900);
|
|
321
|
+
border-block-start-color: var(--color-text-status-warning-r365u3, #855900);
|
|
322
|
+
border-block-end-color: var(--color-text-status-warning-r365u3, #855900);
|
|
323
|
+
}
|
|
324
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-middle_18eso_eokfx_256:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-middle_18eso_eokfx_256:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-middle_18eso_eokfx_256:not(#\9):focus {
|
|
325
|
+
border-block-start-color: var(--color-text-status-warning-r365u3, #855900);
|
|
326
|
+
border-block-end-color: var(--color-text-status-warning-r365u3, #855900);
|
|
327
|
+
}
|
|
328
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-last_18eso_eokfx_262:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-last_18eso_eokfx_262:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-last_18eso_eokfx_262:not(#\9):focus {
|
|
329
|
+
border-inline-end-color: var(--color-text-status-warning-r365u3, #855900);
|
|
330
|
+
border-block-start-color: var(--color-text-status-warning-r365u3, #855900);
|
|
331
|
+
border-block-end-color: var(--color-text-status-warning-r365u3, #855900);
|
|
332
|
+
}
|
|
333
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-first_18eso_eokfx_266:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-first_18eso_eokfx_266:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-first_18eso_eokfx_266:not(#\9):focus {
|
|
334
|
+
border-block-start-color: var(--color-text-status-warning-r365u3, #855900);
|
|
335
|
+
border-inline-start-color: var(--color-text-status-warning-r365u3, #855900);
|
|
336
|
+
border-inline-end-color: var(--color-text-status-warning-r365u3, #855900);
|
|
337
|
+
}
|
|
338
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-middle_18eso_eokfx_270:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-middle_18eso_eokfx_270:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-middle_18eso_eokfx_270:not(#\9):focus {
|
|
339
|
+
border-inline-start-color: var(--color-text-status-warning-r365u3, #855900);
|
|
340
|
+
border-inline-end-color: var(--color-text-status-warning-r365u3, #855900);
|
|
341
|
+
}
|
|
342
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-last_18eso_eokfx_276:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-last_18eso_eokfx_276:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-last_18eso_eokfx_276:not(#\9):focus {
|
|
343
|
+
border-block-end-color: var(--color-text-status-warning-r365u3, #855900);
|
|
344
|
+
border-inline-start-color: var(--color-text-status-warning-r365u3, #855900);
|
|
345
|
+
border-inline-end-color: var(--color-text-status-warning-r365u3, #855900);
|
|
346
|
+
}
|
|
347
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-only_18eso_eokfx_312:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-only_18eso_eokfx_312:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-only_18eso_eokfx_312:not(#\9):focus, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-only_18eso_eokfx_312:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-only_18eso_eokfx_312:not(#\9):hover, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical-only_18eso_eokfx_312:not(#\9):focus {
|
|
348
|
+
border-inline-start-color: var(--color-text-status-warning-r365u3, #855900);
|
|
349
|
+
border-inline-end-color: var(--color-text-status-warning-r365u3, #855900);
|
|
350
|
+
border-block-start-color: var(--color-text-status-warning-r365u3, #855900);
|
|
351
|
+
border-block-end-color: var(--color-text-status-warning-r365u3, #855900);
|
|
352
|
+
}
|
|
353
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-first_18eso_eokfx_252:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-horizontal-only_18eso_eokfx_312:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165.awsui_grouped-vertical_18eso_eokfx_266:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-first_18eso_eokfx_252:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-horizontal-only_18eso_eokfx_312:not(#\9), .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165.awsui_grouped-vertical_18eso_eokfx_266:not(#\9) {
|
|
354
|
+
padding-inline-start: calc(var(--border-invalid-width-gifxpw, 8px) + calc(var(--space-field-horizontal-d3xvls, 12px) - (var(--border-invalid-width-gifxpw, 8px) - var(--border-width-field-f7slp9, 1px))));
|
|
355
|
+
}
|
|
356
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165:not(#\9):focus {
|
|
357
|
+
outline: 2px dotted transparent;
|
|
358
|
+
box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-oy39w5, 2px) var(--color-border-item-focused-sb1fs0, #006ce0);
|
|
359
|
+
}
|
|
360
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-error_18eso_eokfx_165:not(#\9):focus-within, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped-with-warning_18eso_eokfx_165:not(#\9):focus-within {
|
|
361
|
+
outline: 2px dotted transparent;
|
|
362
|
+
box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-oy39w5, 2px) var(--color-border-item-focused-sb1fs0, #006ce0);
|
|
363
|
+
}
|
|
364
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165.awsui_disabled_18eso_eokfx_132:not(#\9):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_grouped-horizontal_18eso_eokfx_252 {
|
|
365
|
+
border-block-color: transparent;
|
|
366
|
+
}
|
|
367
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165.awsui_disabled_18eso_eokfx_132:not(#\9):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_grouped-vertical-first_18eso_eokfx_266, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165.awsui_disabled_18eso_eokfx_132:not(#\9):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_grouped-vertical-only_18eso_eokfx_312 {
|
|
368
|
+
border-block-start-color: transparent;
|
|
369
|
+
}
|
|
370
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165.awsui_disabled_18eso_eokfx_132:not(#\9):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_grouped-vertical-last_18eso_eokfx_276, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165.awsui_disabled_18eso_eokfx_132:not(#\9):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_grouped-vertical-only_18eso_eokfx_312 {
|
|
371
|
+
border-block-end-color: transparent;
|
|
372
|
+
}
|
|
373
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165.awsui_disabled_18eso_eokfx_132:not(#\9):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_grouped-horizontal-first_18eso_eokfx_252, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165.awsui_disabled_18eso_eokfx_132:not(#\9):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_grouped-horizontal-only_18eso_eokfx_312, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165.awsui_disabled_18eso_eokfx_132:not(#\9):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165).awsui_grouped-vertical_18eso_eokfx_266 {
|
|
374
|
+
border-inline-start-color: transparent;
|
|
375
|
+
}
|
|
376
|
+
.awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165.awsui_disabled_18eso_eokfx_132:not(#\9):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165):not(.awsui_grouped-with-action_18eso_eokfx_280).awsui_grouped-vertical_18eso_eokfx_266, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165.awsui_disabled_18eso_eokfx_132:not(#\9):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165):not(.awsui_grouped-with-action_18eso_eokfx_280).awsui_grouped-horizontal-last_18eso_eokfx_262, .awsui_button-trigger_18eso_eokfx_17.awsui_grouped_18eso_eokfx_165.awsui_disabled_18eso_eokfx_132:not(#\9):not(.awsui_grouped-with-error_18eso_eokfx_165):not(.awsui_grouped-with-warning_18eso_eokfx_165):not(.awsui_grouped-with-action_18eso_eokfx_280).awsui_grouped-horizontal-only_18eso_eokfx_312 {
|
|
377
|
+
border-inline-end-color: transparent;
|
|
283
378
|
}
|
|
@@ -2,28 +2,34 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"button-trigger": "awsui_button-
|
|
6
|
-
"arrow": "
|
|
7
|
-
"in-filtering-token-root": "awsui_in-filtering-token-
|
|
8
|
-
"in-filtering-token-nested": "awsui_in-filtering-token-
|
|
9
|
-
"has-caret": "awsui_has-
|
|
10
|
-
"placeholder": "
|
|
11
|
-
"pressed": "
|
|
12
|
-
"disabled": "
|
|
13
|
-
"in-filtering-token": "awsui_in-filtering-
|
|
14
|
-
"readonly": "
|
|
15
|
-
"compact": "
|
|
16
|
-
"
|
|
17
|
-
"warning": "
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"grouped
|
|
23
|
-
"grouped-horizontal-
|
|
24
|
-
"grouped-
|
|
25
|
-
"grouped-
|
|
26
|
-
"grouped-vertical-
|
|
27
|
-
"grouped-
|
|
5
|
+
"button-trigger": "awsui_button-trigger_18eso_eokfx_17",
|
|
6
|
+
"arrow": "awsui_arrow_18eso_eokfx_17",
|
|
7
|
+
"in-filtering-token-root": "awsui_in-filtering-token-root_18eso_eokfx_77",
|
|
8
|
+
"in-filtering-token-nested": "awsui_in-filtering-token-nested_18eso_eokfx_77",
|
|
9
|
+
"has-caret": "awsui_has-caret_18eso_eokfx_113",
|
|
10
|
+
"placeholder": "awsui_placeholder_18eso_eokfx_116",
|
|
11
|
+
"pressed": "awsui_pressed_18eso_eokfx_129",
|
|
12
|
+
"disabled": "awsui_disabled_18eso_eokfx_132",
|
|
13
|
+
"in-filtering-token": "awsui_in-filtering-token_18eso_eokfx_77",
|
|
14
|
+
"readonly": "awsui_readonly_18eso_eokfx_153",
|
|
15
|
+
"compact": "awsui_compact_18eso_eokfx_165",
|
|
16
|
+
"grouped-with-error": "awsui_grouped-with-error_18eso_eokfx_165",
|
|
17
|
+
"grouped-with-warning": "awsui_grouped-with-warning_18eso_eokfx_165",
|
|
18
|
+
"invalid": "awsui_invalid_18eso_eokfx_174",
|
|
19
|
+
"warning": "awsui_warning_18eso_eokfx_183",
|
|
20
|
+
"custom-option": "awsui_custom-option_18eso_eokfx_198",
|
|
21
|
+
"inline-tokens": "awsui_inline-tokens_18eso_eokfx_203",
|
|
22
|
+
"grouped": "awsui_grouped_18eso_eokfx_165",
|
|
23
|
+
"grouped-horizontal-first": "awsui_grouped-horizontal-first_18eso_eokfx_252",
|
|
24
|
+
"grouped-horizontal-middle": "awsui_grouped-horizontal-middle_18eso_eokfx_256",
|
|
25
|
+
"grouped-horizontal-last": "awsui_grouped-horizontal-last_18eso_eokfx_262",
|
|
26
|
+
"grouped-vertical-first": "awsui_grouped-vertical-first_18eso_eokfx_266",
|
|
27
|
+
"grouped-vertical-middle": "awsui_grouped-vertical-middle_18eso_eokfx_270",
|
|
28
|
+
"grouped-vertical-last": "awsui_grouped-vertical-last_18eso_eokfx_276",
|
|
29
|
+
"grouped-with-action": "awsui_grouped-with-action_18eso_eokfx_280",
|
|
30
|
+
"grouped-horizontal-only": "awsui_grouped-horizontal-only_18eso_eokfx_312",
|
|
31
|
+
"grouped-vertical-only": "awsui_grouped-vertical-only_18eso_eokfx_312",
|
|
32
|
+
"grouped-vertical": "awsui_grouped-vertical_18eso_eokfx_266",
|
|
33
|
+
"grouped-horizontal": "awsui_grouped-horizontal_18eso_eokfx_252"
|
|
28
34
|
};
|
|
29
35
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"styled-box": "awsui_styled-
|
|
6
|
-
"styled-box-checked": "awsui_styled-box-
|
|
7
|
-
"styled-box-indeterminate": "awsui_styled-box-
|
|
8
|
-
"styled-box-disabled": "awsui_styled-box-
|
|
9
|
-
"styled-box-readonly": "awsui_styled-box-
|
|
10
|
-
"styled-line": "awsui_styled-
|
|
11
|
-
"styled-line-disabled": "awsui_styled-line-
|
|
12
|
-
"styled-line-readonly": "awsui_styled-line-
|
|
4
|
+
"root": "awsui_root_1fn7j_sbxt8_9",
|
|
5
|
+
"styled-box": "awsui_styled-box_1fn7j_sbxt8_16",
|
|
6
|
+
"styled-box-checked": "awsui_styled-box-checked_1fn7j_sbxt8_32",
|
|
7
|
+
"styled-box-indeterminate": "awsui_styled-box-indeterminate_1fn7j_sbxt8_32",
|
|
8
|
+
"styled-box-disabled": "awsui_styled-box-disabled_1fn7j_sbxt8_36",
|
|
9
|
+
"styled-box-readonly": "awsui_styled-box-readonly_1fn7j_sbxt8_36",
|
|
10
|
+
"styled-line": "awsui_styled-line_1fn7j_sbxt8_40",
|
|
11
|
+
"styled-line-disabled": "awsui_styled-line-disabled_1fn7j_sbxt8_45",
|
|
12
|
+
"styled-line-readonly": "awsui_styled-line-readonly_1fn7j_sbxt8_48"
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -6,45 +6,45 @@
|
|
|
6
6
|
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
7
7
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
8
8
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
9
|
-
.
|
|
9
|
+
.awsui_root_1fn7j_sbxt8_9:not(#\9) {
|
|
10
10
|
position: absolute;
|
|
11
11
|
inline-size: 100%;
|
|
12
12
|
block-size: 100%;
|
|
13
13
|
inset-block-start: 0;
|
|
14
14
|
inset-inline-start: 0;
|
|
15
15
|
}
|
|
16
|
-
.
|
|
17
|
-
fill: var(--awsui-internal-style-
|
|
16
|
+
.awsui_root_1fn7j_sbxt8_9 > .awsui_styled-box_1fn7j_sbxt8_16:not(#\9) {
|
|
17
|
+
fill: var(--awsui-internal-style-fill-color, var(--color-background-control-default-03ibzy, #ffffff));
|
|
18
18
|
stroke: var(--awsui-internal-style-border-color, var(--color-border-control-default-dfulha, #8c8c94));
|
|
19
19
|
stroke-width: var(--border-width-field-f7slp9, 1px);
|
|
20
20
|
transition: fill var(--motion-duration-transition-quick-wyqttl, 90ms) var(--motion-easing-transition-quick-28eo3q, linear), stroke var(--motion-duration-transition-quick-wyqttl, 90ms) var(--motion-easing-transition-quick-28eo3q, linear);
|
|
21
21
|
}
|
|
22
22
|
@media (prefers-reduced-motion: reduce) {
|
|
23
|
-
.
|
|
23
|
+
.awsui_root_1fn7j_sbxt8_9 > .awsui_styled-box_1fn7j_sbxt8_16:not(#\9) {
|
|
24
24
|
animation: none;
|
|
25
25
|
transition: none;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
.awsui-motion-disabled .
|
|
28
|
+
.awsui-motion-disabled .awsui_root_1fn7j_sbxt8_9 > .awsui_styled-box_1fn7j_sbxt8_16:not(#\9), .awsui-mode-entering .awsui_root_1fn7j_sbxt8_9 > .awsui_styled-box_1fn7j_sbxt8_16:not(#\9) {
|
|
29
29
|
animation: none;
|
|
30
30
|
transition: none;
|
|
31
31
|
}
|
|
32
|
-
.
|
|
33
|
-
fill: var(--awsui-internal-style-
|
|
32
|
+
.awsui_root_1fn7j_sbxt8_9 > .awsui_styled-box-checked_1fn7j_sbxt8_32:not(#\9), .awsui_root_1fn7j_sbxt8_9 > .awsui_styled-box-indeterminate_1fn7j_sbxt8_32:not(#\9) {
|
|
33
|
+
fill: var(--awsui-internal-style-fill-color, var(--color-background-control-checked-4bqnep, #006ce0));
|
|
34
34
|
stroke: var(--awsui-internal-style-border-color, var(--color-border-control-checked-fgnalc, #006ce0));
|
|
35
35
|
}
|
|
36
|
-
.
|
|
37
|
-
fill: var(--awsui-internal-style-
|
|
36
|
+
.awsui_root_1fn7j_sbxt8_9 > .awsui_styled-box-disabled_1fn7j_sbxt8_36:not(#\9), .awsui_root_1fn7j_sbxt8_9 > .awsui_styled-box-readonly_1fn7j_sbxt8_36:not(#\9) {
|
|
37
|
+
fill: var(--awsui-internal-style-fill-color, var(--color-background-control-disabled-tdp2nu, #dedee3));
|
|
38
38
|
stroke: var(--awsui-internal-style-border-color, var(--color-border-control-disabled-gg2cew, #dedee3));
|
|
39
39
|
}
|
|
40
|
-
.
|
|
41
|
-
stroke: var(--awsui-internal-style-color, var(--color-foreground-control-default-vycayl, #ffffff));
|
|
40
|
+
.awsui_root_1fn7j_sbxt8_9 > .awsui_styled-line_1fn7j_sbxt8_40:not(#\9) {
|
|
41
|
+
stroke: var(--awsui-internal-style-indicator-color, var(--color-foreground-control-default-vycayl, #ffffff));
|
|
42
42
|
stroke-width: 2;
|
|
43
43
|
fill: none;
|
|
44
44
|
}
|
|
45
|
-
.
|
|
46
|
-
stroke: var(--awsui-internal-style-color, var(--color-foreground-control-disabled-0eaxkw, #ffffff));
|
|
45
|
+
.awsui_root_1fn7j_sbxt8_9 > .awsui_styled-line-disabled_1fn7j_sbxt8_45:not(#\9) {
|
|
46
|
+
stroke: var(--awsui-internal-style-indicator-color, var(--color-foreground-control-disabled-0eaxkw, #ffffff));
|
|
47
47
|
}
|
|
48
|
-
.
|
|
49
|
-
stroke: var(--awsui-internal-style-color, var(--color-foreground-control-read-only-i0z7u3, #656871));
|
|
48
|
+
.awsui_root_1fn7j_sbxt8_9 > .awsui_styled-line-readonly_1fn7j_sbxt8_48:not(#\9) {
|
|
49
|
+
stroke: var(--awsui-internal-style-indicator-color, var(--color-foreground-control-read-only-i0z7u3, #656871));
|
|
50
50
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"styled-box": "awsui_styled-
|
|
7
|
-
"styled-box-checked": "awsui_styled-box-
|
|
8
|
-
"styled-box-indeterminate": "awsui_styled-box-
|
|
9
|
-
"styled-box-disabled": "awsui_styled-box-
|
|
10
|
-
"styled-box-readonly": "awsui_styled-box-
|
|
11
|
-
"styled-line": "awsui_styled-
|
|
12
|
-
"styled-line-disabled": "awsui_styled-line-
|
|
13
|
-
"styled-line-readonly": "awsui_styled-line-
|
|
5
|
+
"root": "awsui_root_1fn7j_sbxt8_9",
|
|
6
|
+
"styled-box": "awsui_styled-box_1fn7j_sbxt8_16",
|
|
7
|
+
"styled-box-checked": "awsui_styled-box-checked_1fn7j_sbxt8_32",
|
|
8
|
+
"styled-box-indeterminate": "awsui_styled-box-indeterminate_1fn7j_sbxt8_32",
|
|
9
|
+
"styled-box-disabled": "awsui_styled-box-disabled_1fn7j_sbxt8_36",
|
|
10
|
+
"styled-box-readonly": "awsui_styled-box-readonly_1fn7j_sbxt8_36",
|
|
11
|
+
"styled-line": "awsui_styled-line_1fn7j_sbxt8_40",
|
|
12
|
+
"styled-line-disabled": "awsui_styled-line-disabled_1fn7j_sbxt8_45",
|
|
13
|
+
"styled-line-readonly": "awsui_styled-line-readonly_1fn7j_sbxt8_48"
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -2,12 +2,13 @@ import { GroupedControlContextProps } from '../../context/control-group-context'
|
|
|
2
2
|
/**
|
|
3
3
|
* Builds the shared grouped-control CSS classes for a consumer.
|
|
4
4
|
*
|
|
5
|
-
* Returns an empty
|
|
5
|
+
* Returns an empty string when the control is not in a group (falsy `position`),
|
|
6
6
|
* otherwise the `grouped` base class plus the position/direction modifier.
|
|
7
|
-
*
|
|
7
|
+
* Pass the result into `clsx(...)` at the call site.
|
|
8
8
|
*/
|
|
9
9
|
export declare function getGroupedControlClassNames(styles: Record<string, string>, {
|
|
10
10
|
position,
|
|
11
11
|
direction,
|
|
12
|
-
hasAction
|
|
13
|
-
|
|
12
|
+
hasAction,
|
|
13
|
+
validation
|
|
14
|
+
}: GroupedControlContextProps): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grouped-control-styles.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/control-group/grouped-control-styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"grouped-control-styles.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/control-group/grouped-control-styles.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAEjF;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,0BAA0B,GACzE,MAAM,CAWR"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import clsx from 'clsx';
|
|
1
4
|
/**
|
|
2
5
|
* Builds the shared grouped-control CSS classes for a consumer.
|
|
3
6
|
*
|
|
4
|
-
* Returns an empty
|
|
7
|
+
* Returns an empty string when the control is not in a group (falsy `position`),
|
|
5
8
|
* otherwise the `grouped` base class plus the position/direction modifier.
|
|
6
|
-
*
|
|
9
|
+
* Pass the result into `clsx(...)` at the call site.
|
|
7
10
|
*/
|
|
8
|
-
export function getGroupedControlClassNames(styles, { position, direction, hasAction }) {
|
|
11
|
+
export function getGroupedControlClassNames(styles, { position, direction, hasAction, validation }) {
|
|
9
12
|
if (!position) {
|
|
10
|
-
return
|
|
13
|
+
return '';
|
|
11
14
|
}
|
|
12
|
-
|
|
13
|
-
return hasAction ? [...baseClassNames, styles['grouped-with-action']] : baseClassNames;
|
|
15
|
+
return clsx(styles.grouped, styles[`grouped-${direction}`], styles[`grouped-${direction}-${position}`], hasAction && styles['grouped-with-action'], validation && (validation === 'error' ? styles['grouped-with-error'] : styles['grouped-with-warning']));
|
|
14
16
|
}
|
|
15
17
|
//# sourceMappingURL=grouped-control-styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grouped-control-styles.js","sourceRoot":"","sources":["../../../../../src/internal/components/control-group/grouped-control-styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"grouped-control-styles.js","sourceRoot":"","sources":["../../../../../src/internal/components/control-group/grouped-control-styles.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAIxB;;;;;;GAMG;AACH,MAAM,UAAU,2BAA2B,CACzC,MAA8B,EAC9B,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAA8B;IAE1E,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,OAAO,IAAI,CACT,MAAM,CAAC,OAAO,EACd,MAAM,CAAC,WAAW,SAAS,EAAE,CAAC,EAC9B,MAAM,CAAC,WAAW,SAAS,IAAI,QAAQ,EAAE,CAAC,EAC1C,SAAS,IAAI,MAAM,CAAC,qBAAqB,CAAC,EAC1C,UAAU,IAAI,CAAC,UAAU,KAAK,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CACvG,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\n\nimport { GroupedControlContextProps } from '../../context/control-group-context';\n\n/**\n * Builds the shared grouped-control CSS classes for a consumer.\n *\n * Returns an empty string when the control is not in a group (falsy `position`),\n * otherwise the `grouped` base class plus the position/direction modifier.\n * Pass the result into `clsx(...)` at the call site.\n */\nexport function getGroupedControlClassNames(\n styles: Record<string, string>,\n { position, direction, hasAction, validation }: GroupedControlContextProps\n): string {\n if (!position) {\n return '';\n }\n return clsx(\n styles.grouped,\n styles[`grouped-${direction}`],\n styles[`grouped-${direction}-${position}`],\n hasAction && styles['grouped-with-action'],\n validation && (validation === 'error' ? styles['grouped-with-error'] : styles['grouped-with-warning'])\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/control-group/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/control-group/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAKjD,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAE7B,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,QAAQ,EACR,SAAkB,EAClB,eAAe,EACf,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,iBAAiB,eAuInB"}
|