@cloudscape-design/components 3.0.693 → 3.0.695
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/app-layout/visual-refresh-toolbar/compute-layout.d.ts +2 -2
- package/app-layout/visual-refresh-toolbar/compute-layout.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/compute-layout.js +2 -2
- package/app-layout/visual-refresh-toolbar/compute-layout.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +7 -7
- package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +6 -6
- package/app-layout/visual-refresh-toolbar/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/index.js +35 -16
- package/app-layout/visual-refresh-toolbar/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/multi-layout.d.ts +27 -0
- package/app-layout/visual-refresh-toolbar/multi-layout.d.ts.map +1 -0
- package/app-layout/visual-refresh-toolbar/multi-layout.js +55 -0
- package/app-layout/visual-refresh-toolbar/multi-layout.js.map +1 -0
- package/app-layout/visual-refresh-toolbar/navigation/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/navigation/index.js +1 -0
- package/app-layout/visual-refresh-toolbar/navigation/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +15 -11
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +16 -16
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +28 -28
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +16 -16
- package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts +12 -10
- package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js +3 -3
- package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/index.d.ts +23 -3
- package/app-layout/visual-refresh-toolbar/toolbar/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/index.js +8 -8
- package/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.scoped.css +30 -44
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.selectors.js +6 -6
- package/button-dropdown/analytics-metadata/interfaces.d.ts +26 -0
- package/button-dropdown/analytics-metadata/interfaces.d.ts.map +1 -0
- package/button-dropdown/analytics-metadata/interfaces.js +4 -0
- package/button-dropdown/analytics-metadata/interfaces.js.map +1 -0
- package/button-dropdown/analytics-metadata/styles.css.js +8 -0
- package/button-dropdown/analytics-metadata/styles.scoped.css +9 -0
- package/button-dropdown/analytics-metadata/styles.selectors.js +9 -0
- package/button-dropdown/category-elements/category-element.d.ts +1 -1
- package/button-dropdown/category-elements/category-element.d.ts.map +1 -1
- package/button-dropdown/category-elements/category-element.js +2 -2
- package/button-dropdown/category-elements/category-element.js.map +1 -1
- package/button-dropdown/category-elements/expandable-category-element.d.ts +1 -1
- package/button-dropdown/category-elements/expandable-category-element.d.ts.map +1 -1
- package/button-dropdown/category-elements/expandable-category-element.js +14 -3
- package/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.d.ts +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.d.ts.map +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.js +14 -3
- package/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
- package/button-dropdown/index.d.ts.map +1 -1
- package/button-dropdown/index.js +10 -1
- package/button-dropdown/index.js.map +1 -1
- package/button-dropdown/interfaces.d.ts +3 -0
- package/button-dropdown/interfaces.d.ts.map +1 -1
- package/button-dropdown/interfaces.js.map +1 -1
- package/button-dropdown/internal.d.ts.map +1 -1
- package/button-dropdown/internal.js +22 -6
- package/button-dropdown/internal.js.map +1 -1
- package/button-dropdown/item-element/index.d.ts +1 -1
- package/button-dropdown/item-element/index.d.ts.map +1 -1
- package/button-dropdown/item-element/index.js +15 -4
- package/button-dropdown/item-element/index.js.map +1 -1
- package/button-dropdown/items-list.d.ts +1 -1
- package/button-dropdown/items-list.d.ts.map +1 -1
- package/button-dropdown/items-list.js +4 -4
- package/button-dropdown/items-list.js.map +1 -1
- package/button-dropdown/styles.css.js +18 -15
- package/button-dropdown/styles.scoped.css +31 -22
- package/button-dropdown/styles.selectors.js +18 -15
- package/checkbox/analytics-metadata/interfaces.d.ts +13 -0
- package/checkbox/analytics-metadata/interfaces.d.ts.map +1 -0
- package/checkbox/analytics-metadata/interfaces.js +4 -0
- package/checkbox/analytics-metadata/interfaces.js.map +1 -0
- package/checkbox/index.js +1 -1
- package/checkbox/index.js.map +1 -1
- package/checkbox/internal.d.ts +1 -0
- package/checkbox/internal.d.ts.map +1 -1
- package/checkbox/internal.js +16 -2
- package/checkbox/internal.js.map +1 -1
- package/container/analytics-metadata/interfaces.d.ts +5 -0
- package/container/analytics-metadata/interfaces.d.ts.map +1 -0
- package/container/analytics-metadata/interfaces.js +4 -0
- package/container/analytics-metadata/interfaces.js.map +1 -0
- package/container/analytics-metadata/styles.css.js +6 -0
- package/container/analytics-metadata/styles.scoped.css +7 -0
- package/container/analytics-metadata/styles.selectors.js +7 -0
- package/container/index.d.ts.map +1 -1
- package/container/index.js +6 -1
- package/container/index.js.map +1 -1
- package/container/internal.d.ts.map +1 -1
- package/container/internal.js +4 -2
- package/container/internal.js.map +1 -1
- package/drawer/implementation.d.ts.map +1 -1
- package/drawer/implementation.js +3 -1
- package/drawer/implementation.js.map +1 -1
- package/drawer/styles.css.js +4 -3
- package/drawer/styles.scoped.css +16 -8
- package/drawer/styles.selectors.js +4 -3
- package/form/analytics-metadata/interfaces.d.ts +13 -0
- package/form/analytics-metadata/interfaces.d.ts.map +1 -0
- package/form/analytics-metadata/interfaces.js +4 -0
- package/form/analytics-metadata/interfaces.js.map +1 -0
- package/form/analytics-metadata/styles.css.js +6 -0
- package/form/analytics-metadata/styles.scoped.css +7 -0
- package/form/analytics-metadata/styles.selectors.js +7 -0
- package/form/index.d.ts.map +1 -1
- package/form/index.js +1 -1
- package/form/index.js.map +1 -1
- package/form/internal.d.ts +4 -2
- package/form/internal.d.ts.map +1 -1
- package/form/internal.js +13 -3
- package/form/internal.js.map +1 -1
- package/form-field/analytics-metadata/interfaces.d.ts +5 -0
- package/form-field/analytics-metadata/interfaces.d.ts.map +1 -0
- package/form-field/analytics-metadata/interfaces.js +4 -0
- package/form-field/analytics-metadata/interfaces.js.map +1 -0
- package/form-field/analytics-metadata/styles.css.js +6 -0
- package/form-field/analytics-metadata/styles.scoped.css +7 -0
- package/form-field/analytics-metadata/styles.selectors.js +7 -0
- package/form-field/index.d.ts.map +1 -1
- package/form-field/index.js +8 -1
- package/form-field/index.js.map +1 -1
- package/form-field/internal.d.ts.map +1 -1
- package/form-field/internal.js +4 -2
- package/form-field/internal.js.map +1 -1
- package/header/analytics-metadata/styles.css.js +6 -0
- package/header/analytics-metadata/styles.scoped.css +7 -0
- package/header/analytics-metadata/styles.selectors.js +7 -0
- package/header/internal.d.ts.map +1 -1
- package/header/internal.js +4 -2
- package/header/internal.js.map +1 -1
- package/help-panel/implementation.d.ts.map +1 -1
- package/help-panel/implementation.js +4 -2
- package/help-panel/implementation.js.map +1 -1
- package/help-panel/styles.css.js +5 -4
- package/help-panel/styles.scoped.css +74 -65
- package/help-panel/styles.selectors.js +5 -4
- package/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.ar.js +1 -1
- package/i18n/messages/all.ar.json +1 -1
- package/i18n/messages/all.de.js +1 -1
- package/i18n/messages/all.de.json +1 -1
- package/i18n/messages/all.en-GB.js +1 -1
- package/i18n/messages/all.en-GB.json +1 -1
- package/i18n/messages/all.en.js +1 -1
- package/i18n/messages/all.en.json +1 -1
- package/i18n/messages/all.es.js +1 -1
- package/i18n/messages/all.es.json +1 -1
- package/i18n/messages/all.fr.js +1 -1
- package/i18n/messages/all.fr.json +1 -1
- package/i18n/messages/all.id.js +1 -1
- package/i18n/messages/all.id.json +1 -1
- package/i18n/messages/all.it.js +1 -1
- package/i18n/messages/all.it.json +1 -1
- package/i18n/messages/all.ja.js +1 -1
- package/i18n/messages/all.ja.json +1 -1
- package/i18n/messages/all.ko.js +1 -1
- package/i18n/messages/all.ko.json +1 -1
- package/i18n/messages/all.pt-BR.js +1 -1
- package/i18n/messages/all.pt-BR.json +1 -1
- package/i18n/messages/all.tr.js +1 -1
- package/i18n/messages/all.tr.json +1 -1
- package/i18n/messages/all.zh-CN.js +1 -1
- package/i18n/messages/all.zh-CN.json +1 -1
- package/i18n/messages/all.zh-TW.js +1 -1
- package/i18n/messages/all.zh-TW.json +1 -1
- package/i18n/messages-types.d.ts +1 -0
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +1 -1
- package/internal/components/abstract-switch/analytics-metadata/styles.css.js +7 -0
- package/internal/components/abstract-switch/analytics-metadata/styles.scoped.css +8 -0
- package/internal/components/abstract-switch/analytics-metadata/styles.selectors.js +8 -0
- package/internal/components/abstract-switch/index.d.ts.map +1 -1
- package/internal/components/abstract-switch/index.js +13 -4
- package/internal/components/abstract-switch/index.js.map +1 -1
- package/internal/components/button-trigger/styles.css.js +11 -11
- package/internal/components/button-trigger/styles.scoped.css +52 -49
- package/internal/components/button-trigger/styles.selectors.js +11 -11
- package/internal/components/token-list/index.d.ts +1 -0
- package/internal/components/token-list/index.d.ts.map +1 -1
- package/internal/components/token-list/index.js.map +1 -1
- package/internal/components/tooltip/index.d.ts.map +1 -1
- package/internal/components/tooltip/index.js +1 -1
- package/internal/components/tooltip/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/manifest.json +1 -1
- package/internal/plugins/api.d.ts +3 -0
- package/internal/plugins/api.d.ts.map +1 -1
- package/internal/plugins/api.js +3 -0
- package/internal/plugins/api.js.map +1 -1
- package/internal/plugins/controllers/app-layout-widget.d.ts +33 -0
- package/internal/plugins/controllers/app-layout-widget.d.ts.map +1 -0
- package/internal/plugins/controllers/app-layout-widget.js +77 -0
- package/internal/plugins/controllers/app-layout-widget.js.map +1 -0
- package/internal/plugins/helpers/use-global-breadcrumbs.d.ts +1 -1
- package/internal/plugins/helpers/use-global-breadcrumbs.d.ts.map +1 -1
- package/internal/plugins/helpers/use-global-breadcrumbs.js +5 -2
- package/internal/plugins/helpers/use-global-breadcrumbs.js.map +1 -1
- package/link/analytics-metadata/interfaces.d.ts +21 -0
- package/link/analytics-metadata/interfaces.d.ts.map +1 -0
- package/link/analytics-metadata/interfaces.js +4 -0
- package/link/analytics-metadata/interfaces.js.map +1 -0
- package/link/index.d.ts.map +1 -1
- package/link/index.js +17 -1
- package/link/index.js.map +1 -1
- package/package.json +1 -1
- package/pagination/analytics-metadata/interfaces.d.ts +17 -0
- package/pagination/analytics-metadata/interfaces.d.ts.map +1 -0
- package/pagination/analytics-metadata/interfaces.js +4 -0
- package/pagination/analytics-metadata/interfaces.js.map +1 -0
- package/pagination/index.d.ts.map +1 -1
- package/pagination/index.js +12 -1
- package/pagination/index.js.map +1 -1
- package/pagination/internal.d.ts.map +1 -1
- package/pagination/internal.js +35 -6
- package/pagination/internal.js.map +1 -1
- package/popover/internal.d.ts +2 -1
- package/popover/internal.d.ts.map +1 -1
- package/popover/internal.js +1 -1
- package/popover/internal.js.map +1 -1
- package/popover/styles.css.js +52 -50
- package/popover/styles.scoped.css +75 -67
- package/popover/styles.selectors.js +52 -50
- package/property-filter/filtering-token/index.d.ts +25 -8
- package/property-filter/filtering-token/index.d.ts.map +1 -1
- package/property-filter/filtering-token/index.js +51 -11
- package/property-filter/filtering-token/index.js.map +1 -1
- package/property-filter/filtering-token/styles.css.js +18 -7
- package/property-filter/filtering-token/styles.scoped.css +100 -17
- package/property-filter/filtering-token/styles.selectors.js +18 -7
- package/property-filter/styles.css.js +31 -32
- package/property-filter/styles.scoped.css +33 -34
- package/property-filter/styles.selectors.js +31 -32
- package/property-filter/test-classes/styles.css.js +14 -9
- package/property-filter/test-classes/styles.scoped.css +29 -9
- package/property-filter/test-classes/styles.selectors.js +14 -9
- package/property-filter/token-editor.d.ts +5 -5
- package/property-filter/token-editor.d.ts.map +1 -1
- package/property-filter/token-editor.js +19 -25
- package/property-filter/token-editor.js.map +1 -1
- package/property-filter/token.d.ts.map +1 -1
- package/property-filter/token.js +15 -5
- package/property-filter/token.js.map +1 -1
- package/radio-group/analytics-metadata/interfaces.d.ts +14 -0
- package/radio-group/analytics-metadata/interfaces.d.ts.map +1 -0
- package/radio-group/analytics-metadata/interfaces.js +4 -0
- package/radio-group/analytics-metadata/interfaces.js.map +1 -0
- package/radio-group/index.d.ts.map +1 -1
- package/radio-group/index.js +7 -1
- package/radio-group/index.js.map +1 -1
- package/radio-group/internal.d.ts.map +1 -1
- package/radio-group/internal.js +9 -1
- package/radio-group/internal.js.map +1 -1
- package/radio-group/radio-button.d.ts.map +1 -1
- package/radio-group/radio-button.js +6 -3
- package/radio-group/radio-button.js.map +1 -1
- package/select/interfaces.d.ts +15 -0
- package/select/interfaces.d.ts.map +1 -1
- package/select/interfaces.js.map +1 -1
- package/select/internal.d.ts.map +1 -1
- package/select/internal.js +3 -4
- package/select/internal.js.map +1 -1
- package/select/parts/styles.css.js +21 -17
- package/select/parts/styles.scoped.css +52 -18
- package/select/parts/styles.selectors.js +21 -17
- package/select/parts/trigger.d.ts +1 -0
- package/select/parts/trigger.d.ts.map +1 -1
- package/select/parts/trigger.js +5 -2
- package/select/parts/trigger.js.map +1 -1
- package/side-navigation/implementation.d.ts.map +1 -1
- package/side-navigation/implementation.js +3 -1
- package/side-navigation/implementation.js.map +1 -1
- package/side-navigation/styles.css.js +29 -28
- package/side-navigation/styles.scoped.css +47 -38
- package/side-navigation/styles.selectors.js +29 -28
- package/split-panel/implementation.d.ts.map +1 -1
- package/split-panel/implementation.js +3 -1
- package/split-panel/implementation.js.map +1 -1
- package/split-panel/side.d.ts.map +1 -1
- package/split-panel/side.js +4 -1
- package/split-panel/side.js.map +1 -1
- package/split-panel/styles.css.js +27 -27
- package/split-panel/styles.scoped.css +62 -44
- package/split-panel/styles.selectors.js +27 -27
- package/table/analytics-metadata/interfaces.d.ts +45 -0
- package/table/analytics-metadata/interfaces.d.ts.map +1 -0
- package/table/analytics-metadata/interfaces.js +4 -0
- package/table/analytics-metadata/interfaces.js.map +1 -0
- package/table/analytics-metadata/styles.css.js +6 -0
- package/table/analytics-metadata/styles.scoped.css +7 -0
- package/table/analytics-metadata/styles.selectors.js +7 -0
- package/table/body-cell/styles.css.js +47 -46
- package/table/body-cell/styles.scoped.css +276 -273
- package/table/body-cell/styles.selectors.js +47 -46
- package/table/body-cell/td-element.d.ts +2 -0
- package/table/body-cell/td-element.d.ts.map +1 -1
- package/table/body-cell/td-element.js +5 -2
- package/table/body-cell/td-element.js.map +1 -1
- package/table/header-cell/index.d.ts.map +1 -1
- package/table/header-cell/index.js +14 -2
- package/table/header-cell/index.js.map +1 -1
- package/table/header-cell/th-element.d.ts +1 -1
- package/table/header-cell/th-element.d.ts.map +1 -1
- package/table/header-cell/th-element.js +5 -2
- package/table/header-cell/th-element.js.map +1 -1
- package/table/header-cell/utils.d.ts +1 -0
- package/table/header-cell/utils.d.ts.map +1 -1
- package/table/header-cell/utils.js +11 -0
- package/table/header-cell/utils.js.map +1 -1
- package/table/index.d.ts.map +1 -1
- package/table/index.js +19 -2
- package/table/index.js.map +1 -1
- package/table/interfaces.d.ts +3 -0
- package/table/interfaces.d.ts.map +1 -1
- package/table/interfaces.js.map +1 -1
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +16 -2
- package/table/internal.js.map +1 -1
- package/table/selection/selection-control.d.ts +3 -1
- package/table/selection/selection-control.d.ts.map +1 -1
- package/table/selection/selection-control.js +10 -2
- package/table/selection/selection-control.js.map +1 -1
- package/table/thead.d.ts.map +1 -1
- package/table/thead.js +4 -1
- package/table/thead.js.map +1 -1
- package/test-utils/dom/property-filter/index.d.ts +10 -0
- package/test-utils/dom/property-filter/index.js +25 -1
- package/test-utils/dom/property-filter/index.js.map +1 -1
- package/test-utils/dom/select/index.d.ts +1 -0
- package/test-utils/dom/select/index.js +3 -0
- package/test-utils/dom/select/index.js.map +1 -1
- package/test-utils/selectors/property-filter/index.d.ts +10 -0
- package/test-utils/selectors/property-filter/index.js +25 -1
- package/test-utils/selectors/property-filter/index.js.map +1 -1
- package/test-utils/selectors/select/index.d.ts +1 -0
- package/test-utils/selectors/select/index.js +3 -0
- package/test-utils/selectors/select/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
|
@@ -94,16 +94,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.
|
|
97
|
+
.awsui_placeholder_dwuol_117oy_97:not(#\9) {
|
|
98
98
|
color: var(--color-text-input-placeholder-mx1ygd, #5f6b7a);
|
|
99
99
|
font-style: italic;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.
|
|
102
|
+
.awsui_item_dwuol_117oy_102:not(#\9) {
|
|
103
103
|
display: flex;
|
|
104
104
|
align-items: center;
|
|
105
105
|
}
|
|
106
|
-
.
|
|
106
|
+
.awsui_item_dwuol_117oy_102 > .awsui_checkbox_dwuol_117oy_106:not(#\9) {
|
|
107
107
|
position: relative;
|
|
108
108
|
min-block-size: var(--size-control-28i7hr, 16px);
|
|
109
109
|
min-inline-size: var(--size-control-28i7hr, 16px);
|
|
@@ -112,43 +112,43 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
112
112
|
margin-inline-end: var(--space-field-horizontal-gg19kw, 12px);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.
|
|
115
|
+
.awsui_filter_dwuol_117oy_115:not(#\9) {
|
|
116
116
|
z-index: 4;
|
|
117
117
|
flex-shrink: 0;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.
|
|
120
|
+
.awsui_trigger_dwuol_117oy_120:not(#\9) {
|
|
121
121
|
white-space: nowrap;
|
|
122
122
|
overflow: hidden;
|
|
123
123
|
text-overflow: ellipsis;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.awsui_layout-
|
|
126
|
+
.awsui_layout-strut_dwuol_117oy_126:not(#\9) {
|
|
127
127
|
inline-size: 100%;
|
|
128
128
|
position: relative;
|
|
129
129
|
transform: translate3d(0, 0, 0);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.awsui_list-
|
|
132
|
+
.awsui_list-bottom_dwuol_117oy_132:not(#\9) {
|
|
133
133
|
/* used in unit-tests */
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.awsui_selected-
|
|
136
|
+
.awsui_selected-icon_dwuol_117oy_136:not(#\9) {
|
|
137
137
|
color: var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.awsui_show-label-
|
|
140
|
+
.awsui_show-label-tag_dwuol_117oy_140 > .awsui_selected-icon_dwuol_117oy_136:not(#\9) {
|
|
141
141
|
padding-inline-start: var(--space-scaled-s-aqzyko, 12px);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.awsui_inline-token-
|
|
144
|
+
.awsui_inline-token-trigger_dwuol_117oy_144:not(#\9) {
|
|
145
145
|
display: flex;
|
|
146
146
|
flex-wrap: nowrap;
|
|
147
147
|
column-gap: var(--space-xxs-p8yyaw, 4px);
|
|
148
148
|
inline-size: 100%;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
.awsui_inline-token-
|
|
151
|
+
.awsui_inline-token-list_dwuol_117oy_151:not(#\9) {
|
|
152
152
|
display: flex;
|
|
153
153
|
flex-wrap: nowrap;
|
|
154
154
|
align-items: center;
|
|
@@ -159,11 +159,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
159
159
|
mask-image: linear-gradient(270deg, transparent, white 20px, white);
|
|
160
160
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
161
161
|
}
|
|
162
|
-
.awsui_inline-token-
|
|
162
|
+
.awsui_inline-token-list_dwuol_117oy_151:not(#\9):dir(rtl) {
|
|
163
163
|
-webkit-mask-image: linear-gradient(-270deg, transparent, white 20px, white);
|
|
164
164
|
mask-image: linear-gradient(-270deg, transparent, white 20px, white);
|
|
165
165
|
}
|
|
166
|
-
.awsui_inline-token-
|
|
166
|
+
.awsui_inline-token-list_dwuol_117oy_151 > .awsui_inline-token_dwuol_117oy_144:not(#\9) {
|
|
167
167
|
display: flex;
|
|
168
168
|
align-items: center;
|
|
169
169
|
min-inline-size: max-content;
|
|
@@ -180,29 +180,63 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
180
180
|
color: var(--color-text-body-default-at06ol, #000716);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.awsui_visual-
|
|
183
|
+
.awsui_visual-refresh_dwuol_117oy_181 > .awsui_inline-token-list_dwuol_117oy_151 > .awsui_inline-token_dwuol_117oy_144:not(#\9) {
|
|
184
184
|
border-start-start-radius: var(--border-radius-badge-0z09dt, 4px);
|
|
185
185
|
border-start-end-radius: var(--border-radius-badge-0z09dt, 4px);
|
|
186
186
|
border-end-start-radius: var(--border-radius-badge-0z09dt, 4px);
|
|
187
187
|
border-end-end-radius: var(--border-radius-badge-0z09dt, 4px);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
.awsui_inline-token-hidden-
|
|
190
|
+
.awsui_inline-token-hidden-placeholder_dwuol_117oy_188:not(#\9) {
|
|
191
191
|
position: absolute !important;
|
|
192
192
|
inset-block-start: -9999px !important;
|
|
193
193
|
inset-inline-start: -9999px !important;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
.awsui_inline-token-
|
|
196
|
+
.awsui_inline-token-counter_dwuol_117oy_194:not(#\9) {
|
|
197
197
|
white-space: nowrap;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
.awsui_inline-token-trigger--
|
|
200
|
+
.awsui_inline-token-trigger--disabled_dwuol_117oy_198 > .awsui_inline-token-list_dwuol_117oy_151 > .awsui_inline-token_dwuol_117oy_144:not(#\9) {
|
|
201
201
|
border-color: var(--color-border-control-disabled-bv2kkn, #d1d5db);
|
|
202
202
|
background-color: var(--color-background-container-content-4un1ap, #ffffff);
|
|
203
203
|
color: var(--color-text-disabled-f4c52h, #9ba7b6);
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
.
|
|
206
|
+
.awsui_inline-label-trigger-wrapper_dwuol_117oy_204:not(#\9) {
|
|
207
|
+
margin-block-start: -7px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.awsui_inline-label-wrapper_dwuol_117oy_208:not(#\9) {
|
|
211
|
+
margin-block-start: calc(var(--space-scaled-xs-26e2du, 8px) * -1);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.awsui_inline-label_dwuol_117oy_204:not(#\9) {
|
|
215
|
+
background-image: linear-gradient(to bottom, transparent calc(100% - (var(--border-field-width-09w7vk, 2px) + var(--border-control-focus-ring-shadow-spread-0ctpjf, 0px) + 5px)), var(--color-background-input-default-igdh5e, #ffffff) 1px);
|
|
216
|
+
background-position: bottom;
|
|
217
|
+
box-sizing: border-box;
|
|
218
|
+
display: inline-block;
|
|
219
|
+
color: var(--color-text-form-label-ktbzsd, #000716);
|
|
220
|
+
font-weight: var(--font-display-label-weight-815ja9, 700);
|
|
221
|
+
font-size: var(--font-size-body-s-asqx2i, 12px);
|
|
222
|
+
line-height: 14px;
|
|
223
|
+
letter-spacing: var(--letter-spacing-body-s-z9jkwp, 0.005em);
|
|
224
|
+
position: relative;
|
|
225
|
+
inset-inline-start: calc(var(--border-field-width-09w7vk, 2px) + var(--space-field-horizontal-gg19kw, 12px) - var(--space-scaled-xxs-7597g1, 4px));
|
|
226
|
+
margin-block-start: var(--space-scaled-xs-26e2du, 8px);
|
|
227
|
+
padding-block-end: 2px;
|
|
228
|
+
padding-inline: var(--space-scaled-xxs-7597g1, 4px);
|
|
229
|
+
max-inline-size: calc(100% - 2 * var(--space-field-horizontal-gg19kw, 12px));
|
|
230
|
+
z-index: 1;
|
|
231
|
+
}
|
|
232
|
+
.awsui_inline-label_dwuol_117oy_204.awsui_inline-label-disabled_dwuol_117oy_230:not(#\9) {
|
|
233
|
+
background: var(--color-background-container-header-8b9fgi, #ffffff);
|
|
234
|
+
border-start-start-radius: 2px;
|
|
235
|
+
border-start-end-radius: 2px;
|
|
236
|
+
border-end-start-radius: 2px;
|
|
237
|
+
border-end-end-radius: 2px;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.awsui_disabled-reason-tooltip_dwuol_117oy_238:not(#\9) {
|
|
207
241
|
/* used in test-utils or tests */
|
|
208
242
|
}
|
|
@@ -2,22 +2,26 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"placeholder": "
|
|
6
|
-
"item": "
|
|
7
|
-
"checkbox": "
|
|
8
|
-
"filter": "
|
|
9
|
-
"trigger": "
|
|
10
|
-
"layout-strut": "awsui_layout-
|
|
11
|
-
"list-bottom": "awsui_list-
|
|
12
|
-
"selected-icon": "awsui_selected-
|
|
13
|
-
"show-label-tag": "awsui_show-label-
|
|
14
|
-
"inline-token-trigger": "awsui_inline-token-
|
|
15
|
-
"inline-token-list": "awsui_inline-token-
|
|
16
|
-
"inline-token": "awsui_inline-
|
|
17
|
-
"visual-refresh": "awsui_visual-
|
|
18
|
-
"inline-token-hidden-placeholder": "awsui_inline-token-hidden-
|
|
19
|
-
"inline-token-counter": "awsui_inline-token-
|
|
20
|
-
"inline-token-trigger--disabled": "awsui_inline-token-trigger--
|
|
21
|
-
"
|
|
5
|
+
"placeholder": "awsui_placeholder_dwuol_117oy_97",
|
|
6
|
+
"item": "awsui_item_dwuol_117oy_102",
|
|
7
|
+
"checkbox": "awsui_checkbox_dwuol_117oy_106",
|
|
8
|
+
"filter": "awsui_filter_dwuol_117oy_115",
|
|
9
|
+
"trigger": "awsui_trigger_dwuol_117oy_120",
|
|
10
|
+
"layout-strut": "awsui_layout-strut_dwuol_117oy_126",
|
|
11
|
+
"list-bottom": "awsui_list-bottom_dwuol_117oy_132",
|
|
12
|
+
"selected-icon": "awsui_selected-icon_dwuol_117oy_136",
|
|
13
|
+
"show-label-tag": "awsui_show-label-tag_dwuol_117oy_140",
|
|
14
|
+
"inline-token-trigger": "awsui_inline-token-trigger_dwuol_117oy_144",
|
|
15
|
+
"inline-token-list": "awsui_inline-token-list_dwuol_117oy_151",
|
|
16
|
+
"inline-token": "awsui_inline-token_dwuol_117oy_144",
|
|
17
|
+
"visual-refresh": "awsui_visual-refresh_dwuol_117oy_181",
|
|
18
|
+
"inline-token-hidden-placeholder": "awsui_inline-token-hidden-placeholder_dwuol_117oy_188",
|
|
19
|
+
"inline-token-counter": "awsui_inline-token-counter_dwuol_117oy_194",
|
|
20
|
+
"inline-token-trigger--disabled": "awsui_inline-token-trigger--disabled_dwuol_117oy_198",
|
|
21
|
+
"inline-label-trigger-wrapper": "awsui_inline-label-trigger-wrapper_dwuol_117oy_204",
|
|
22
|
+
"inline-label-wrapper": "awsui_inline-label-wrapper_dwuol_117oy_208",
|
|
23
|
+
"inline-label": "awsui_inline-label_dwuol_117oy_204",
|
|
24
|
+
"inline-label-disabled": "awsui_inline-label-disabled_dwuol_117oy_230",
|
|
25
|
+
"disabled-reason-tooltip": "awsui_disabled-reason-tooltip_dwuol_117oy_238"
|
|
22
26
|
};
|
|
23
27
|
|
|
@@ -10,6 +10,7 @@ export interface TriggerProps extends FormFieldValidationControlProps {
|
|
|
10
10
|
readOnly?: boolean;
|
|
11
11
|
triggerProps: SelectTriggerProps;
|
|
12
12
|
selectedOption: OptionDefinition | null;
|
|
13
|
+
inlineLabelText?: string;
|
|
13
14
|
isOpen?: boolean;
|
|
14
15
|
triggerVariant?: SelectProps.TriggerVariant | MultiselectProps.TriggerVariant;
|
|
15
16
|
inFilteringToken?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","sourceRoot":"","sources":["../../../../src/select/parts/trigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAK5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAIzD,MAAM,WAAW,YAAa,SAAQ,+BAA+B;IACnE,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,kBAAkB,CAAC;IACjC,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,gBAAgB,CAAC,cAAc,CAAC;IAC9E,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;CACnD;AAED,QAAA,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","sourceRoot":"","sources":["../../../../src/select/parts/trigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAK5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAIzD,MAAM,WAAW,YAAa,SAAQ,+BAA+B;IACnE,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,kBAAkB,CAAC;IACjC,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,gBAAgB,CAAC,cAAc,CAAC;IAC9E,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;CACnD;AAED,QAAA,MAAM,OAAO,wFAiHZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/select/parts/trigger.js
CHANGED
|
@@ -9,7 +9,7 @@ import { useUniqueId } from '../../internal/hooks/use-unique-id';
|
|
|
9
9
|
import { useVisualRefresh } from '../../internal/hooks/use-visual-mode';
|
|
10
10
|
import { joinStrings } from '../../internal/utils/strings';
|
|
11
11
|
import styles from './styles.css.js';
|
|
12
|
-
const Trigger = React.forwardRef(({ ariaLabelledby, ariaDescribedby, controlId, invalid, warning, triggerProps, selectedOption, selectedOptions, triggerVariant, inFilteringToken, isOpen, placeholder, disabled, readOnly, }, ref) => {
|
|
12
|
+
const Trigger = React.forwardRef(({ ariaLabelledby, ariaDescribedby, controlId, invalid, inlineLabelText, warning, triggerProps, selectedOption, selectedOptions, triggerVariant, inFilteringToken, isOpen, placeholder, disabled, readOnly, }, ref) => {
|
|
13
13
|
const isVisualRefresh = useVisualRefresh();
|
|
14
14
|
const generatedId = useUniqueId();
|
|
15
15
|
const id = controlId !== null && controlId !== void 0 ? controlId : generatedId;
|
|
@@ -42,7 +42,10 @@ const Trigger = React.forwardRef(({ ariaLabelledby, ariaDescribedby, controlId,
|
|
|
42
42
|
triggerContent = (React.createElement("span", { id: triggerContentId, className: styles.trigger }, selectedOption.label || selectedOption.value));
|
|
43
43
|
}
|
|
44
44
|
const mergedRef = useMergeRefs(triggerProps.ref, ref);
|
|
45
|
-
|
|
45
|
+
const triggerButton = (React.createElement(ButtonTrigger, Object.assign({}, triggerProps, { id: id, ref: mergedRef, pressed: isOpen, disabled: disabled, readOnly: readOnly, invalid: invalid, warning: warning && !invalid, inFilteringToken: inFilteringToken, inlineTokens: triggerVariant === 'tokens', ariaDescribedby: ariaDescribedby, ariaLabelledby: ariaLabelledbyIds }), triggerContent));
|
|
46
|
+
return (React.createElement(React.Fragment, null, inlineLabelText ? (React.createElement("div", { className: styles['inline-label-wrapper'] },
|
|
47
|
+
React.createElement("label", { htmlFor: controlId, className: clsx(styles['inline-label'], disabled && styles['inline-label-disabled']) }, inlineLabelText),
|
|
48
|
+
React.createElement("div", { className: styles['inline-label-trigger-wrapper'] }, triggerButton))) : (React.createElement(React.Fragment, null, triggerButton))));
|
|
46
49
|
});
|
|
47
50
|
export default Trigger;
|
|
48
51
|
//# sourceMappingURL=trigger.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../../../src/select/parts/trigger.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,aAAa,MAAM,0CAA0C,CAAC;AACrE,OAAO,MAAM,MAAM,kCAAkC,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAK3D,OAAO,MAAM,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../../../src/select/parts/trigger.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,aAAa,MAAM,0CAA0C,CAAC;AACrE,OAAO,MAAM,MAAM,kCAAkC,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAK3D,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAerC,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAC9B,CACE,EACE,cAAc,EACd,eAAe,EACf,SAAS,EACT,OAAO,EACP,eAAe,EACf,OAAO,EACP,YAAY,EACZ,cAAc,EACd,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,MAAM,EACN,WAAW,EACX,QAAQ,EACR,QAAQ,GACK,EACf,GAAiC,EACjC,EAAE;IACF,MAAM,eAAe,GAAG,gBAAgB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AI,MAAM,CAAC,uBAAuB,CAAC,CAAC,IAEnF,eAAe,CACV;QACR,6BAAK,SAAS,EAAE,MAAM,CAAC,8BAA8B,CAAC,IAAG,aAAa,CAAO,CACzE,CACP,CAAC,CAAC,CAAC,CACF,0CAAG,aAAa,CAAI,CACrB,CACA,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,OAAO,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport ButtonTrigger from '../../internal/components/button-trigger';\nimport Option from '../../internal/components/option';\nimport { OptionDefinition } from '../../internal/components/option/interfaces';\nimport { FormFieldValidationControlProps } from '../../internal/context/form-field-context';\nimport { useMergeRefs } from '../../internal/hooks/use-merge-refs';\nimport { useUniqueId } from '../../internal/hooks/use-unique-id';\nimport { useVisualRefresh } from '../../internal/hooks/use-visual-mode';\nimport { joinStrings } from '../../internal/utils/strings';\nimport { MultiselectProps } from '../../multiselect/interfaces';\nimport { SelectProps } from '../interfaces';\nimport { SelectTriggerProps } from '../utils/use-select';\n\nimport styles from './styles.css.js';\n\nexport interface TriggerProps extends FormFieldValidationControlProps {\n placeholder: string | undefined;\n disabled: boolean | undefined;\n readOnly?: boolean;\n triggerProps: SelectTriggerProps;\n selectedOption: OptionDefinition | null;\n inlineLabelText?: string;\n isOpen?: boolean;\n triggerVariant?: SelectProps.TriggerVariant | MultiselectProps.TriggerVariant;\n inFilteringToken?: boolean;\n selectedOptions?: ReadonlyArray<OptionDefinition>;\n}\n\nconst Trigger = React.forwardRef(\n (\n {\n ariaLabelledby,\n ariaDescribedby,\n controlId,\n invalid,\n inlineLabelText,\n warning,\n triggerProps,\n selectedOption,\n selectedOptions,\n triggerVariant,\n inFilteringToken,\n isOpen,\n placeholder,\n disabled,\n readOnly,\n }: TriggerProps,\n ref: React.Ref<HTMLButtonElement>\n ) => {\n const isVisualRefresh = useVisualRefresh();\n const generatedId = useUniqueId();\n const id = controlId ?? generatedId;\n const triggerContentId = useUniqueId('trigger-content-');\n\n let ariaLabelledbyIds = joinStrings(ariaLabelledby, triggerContentId);\n\n let triggerContent = null;\n if (triggerVariant === 'tokens') {\n if (selectedOptions?.length) {\n triggerContent = (\n <span\n className={clsx(\n styles['inline-token-trigger'],\n disabled && styles['inline-token-trigger--disabled'],\n isVisualRefresh && styles['visual-refresh']\n )}\n >\n <span className={styles['inline-token-list']}>\n {selectedOptions.map(({ label }, i) => (\n <span key={i} className={styles['inline-token']}>\n {label}\n </span>\n ))}\n </span>\n <span className={styles['inline-token-counter']} id={triggerContentId}>\n <span className={styles['inline-token-hidden-placeholder']}>{placeholder}</span>\n <span>({selectedOptions.length})</span>\n </span>\n </span>\n );\n ariaLabelledbyIds = ariaLabelledby;\n } else {\n triggerContent = (\n <span aria-disabled=\"true\" className={clsx(styles.placeholder, styles.trigger)} id={triggerContentId}>\n {placeholder}\n </span>\n );\n }\n } else if (!selectedOption) {\n triggerContent = (\n <span aria-disabled=\"true\" className={clsx(styles.placeholder, styles.trigger)} id={triggerContentId}>\n {placeholder}\n </span>\n );\n } else if (triggerVariant === 'option') {\n triggerContent = <Option id={triggerContentId} option={{ ...selectedOption, disabled }} triggerVariant={true} />;\n } else {\n triggerContent = (\n <span id={triggerContentId} className={styles.trigger}>\n {selectedOption.label || selectedOption.value}\n </span>\n );\n }\n\n const mergedRef = useMergeRefs(triggerProps.ref, ref);\n const triggerButton = (\n <ButtonTrigger\n {...triggerProps}\n id={id}\n ref={mergedRef}\n pressed={isOpen}\n disabled={disabled}\n readOnly={readOnly}\n invalid={invalid}\n warning={warning && !invalid}\n inFilteringToken={inFilteringToken}\n inlineTokens={triggerVariant === 'tokens'}\n ariaDescribedby={ariaDescribedby}\n ariaLabelledby={ariaLabelledbyIds}\n >\n {triggerContent}\n </ButtonTrigger>\n );\n return (\n <>\n {inlineLabelText ? (\n <div className={styles['inline-label-wrapper']}>\n <label\n htmlFor={controlId}\n className={clsx(styles['inline-label'], disabled && styles['inline-label-disabled'])}\n >\n {inlineLabelText}\n </label>\n <div className={styles['inline-label-trigger-wrapper']}>{triggerButton}</div>\n </div>\n ) : (\n <>{triggerButton}</>\n )}\n </>\n );\n }\n);\n\nexport default Trigger;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"implementation.d.ts","sourceRoot":"","sources":["../../../src/side-navigation/implementation.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"implementation.d.ts","sourceRoot":"","sources":["../../../src/side-navigation/implementation.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAGlF,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAMnD,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG,0BAA0B,CAAC;AAE3F,wBAAgB,4BAA4B,CAAC,EAC3C,MAAM,EACN,UAAU,EACV,KAAU,EACV,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,GAAG,KAAK,EACT,EAAE,2BAA2B,eAwD7B;AAED,eAAO,MAAM,8BAA8B,mGAA0D,CAAC"}
|
|
@@ -3,6 +3,7 @@ import { __rest } from "tslib";
|
|
|
3
3
|
// SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
import React, { useCallback, useEffect, useMemo } from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
+
import { getGlobalFlag } from '@cloudscape-design/component-toolkit/internal';
|
|
6
7
|
import { getBaseProps } from '../internal/base-component';
|
|
7
8
|
import { fireCancelableEvent, fireNonCancelableEvent } from '../internal/events';
|
|
8
9
|
import { isDevelopment } from '../internal/is-development';
|
|
@@ -14,6 +15,7 @@ export function SideNavigationImplementation(_a) {
|
|
|
14
15
|
var { header, activeHref, items = [], onFollow, onChange, __internalRootRef } = _a, props = __rest(_a, ["header", "activeHref", "items", "onFollow", "onChange", "__internalRootRef"]);
|
|
15
16
|
const baseProps = getBaseProps(props);
|
|
16
17
|
const parentMap = useMemo(() => generateExpandableItemsMapping(items), [items]);
|
|
18
|
+
const hasToolbar = getGlobalFlag('appLayoutWidget');
|
|
17
19
|
if (isDevelopment) {
|
|
18
20
|
// This code should be wiped in production anyway.
|
|
19
21
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
@@ -27,7 +29,7 @@ export function SideNavigationImplementation(_a) {
|
|
|
27
29
|
const onFollowHandler = useCallback((item, sourceEvent) => {
|
|
28
30
|
fireCancelableEvent(onFollow, item, sourceEvent);
|
|
29
31
|
}, [onFollow]);
|
|
30
|
-
return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(styles.root, baseProps.className), ref: __internalRootRef }),
|
|
32
|
+
return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(styles.root, baseProps.className, hasToolbar && styles['with-toolbar']), ref: __internalRootRef }),
|
|
31
33
|
header && (React.createElement(Header, { definition: header, activeHref: activeHref, fireChange: onChangeHandler, fireFollow: onFollowHandler })),
|
|
32
34
|
items && (React.createElement("div", { className: styles['list-container'] },
|
|
33
35
|
React.createElement(NavigationItemsList, { variant: "root", items: items, fireFollow: onFollowHandler, fireChange: onChangeHandler, activeHref: activeHref })))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"implementation.js","sourceRoot":"","sources":["../../../src/side-navigation/implementation.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjF,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB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AU,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,eAAe,GAAI,CACjH;QACA,KAAK,IAAI,CACR,6BAAK,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC;YACtC,oBAAC,mBAAmB,IAClB,OAAO,EAAC,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,eAAe,EAC3B,UAAU,EAAE,eAAe,EAC3B,UAAU,EAAE,UAAU,GACtB,CACE,CACP,CACG,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,4BAA4B,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useCallback, useEffect, useMemo } from 'react';\nimport clsx from 'clsx';\n\nimport { getGlobalFlag } from '@cloudscape-design/component-toolkit/internal';\n\nimport { getBaseProps } from '../internal/base-component';\nimport { fireCancelableEvent, fireNonCancelableEvent } from '../internal/events';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { isDevelopment } from '../internal/is-development';\nimport { createWidgetizedComponent } from '../internal/widgets';\nimport { SideNavigationProps } from './interfaces';\nimport { Header, NavigationItemsList } from './parts';\nimport { checkDuplicateHrefs, generateExpandableItemsMapping } from './util';\n\nimport styles from './styles.css.js';\n\nexport type SideNavigationInternalProps = SideNavigationProps & InternalBaseComponentProps;\n\nexport function SideNavigationImplementation({\n header,\n activeHref,\n items = [],\n onFollow,\n onChange,\n __internalRootRef,\n ...props\n}: SideNavigationInternalProps) {\n const baseProps = getBaseProps(props);\n const parentMap = useMemo(() => generateExpandableItemsMapping(items), [items]);\n const hasToolbar = getGlobalFlag('appLayoutWidget');\n\n if (isDevelopment) {\n // This code should be wiped in production anyway.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useEffect(() => checkDuplicateHrefs(items), [items]);\n }\n\n const onChangeHandler = useCallback(\n (item: SideNavigationProps.Section | SideNavigationProps.ExpandableLinkGroup, expanded: boolean) => {\n // generateExpandableItemsMapping walks through the entire tree, so we're certain about getting a value.\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n fireNonCancelableEvent(onChange, { item, expanded: expanded, expandableParents: parentMap.get(item)! });\n },\n [onChange, parentMap]\n );\n\n const onFollowHandler = useCallback(\n (\n item:\n | SideNavigationProps.Link\n | SideNavigationProps.Header\n | SideNavigationProps.LinkGroup\n | SideNavigationProps.ExpandableLinkGroup,\n sourceEvent: React.SyntheticEvent | Event\n ) => {\n fireCancelableEvent(onFollow, item, sourceEvent);\n },\n [onFollow]\n );\n\n return (\n <div\n {...baseProps}\n className={clsx(styles.root, baseProps.className, hasToolbar && styles['with-toolbar'])}\n ref={__internalRootRef}\n >\n {header && (\n <Header definition={header} activeHref={activeHref} fireChange={onChangeHandler} fireFollow={onFollowHandler} />\n )}\n {items && (\n <div className={styles['list-container']}>\n <NavigationItemsList\n variant=\"root\"\n items={items}\n fireFollow={onFollowHandler}\n fireChange={onChangeHandler}\n activeHref={activeHref}\n />\n </div>\n )}\n </div>\n );\n}\n\nexport const createWidgetizedSideNavigation = createWidgetizedComponent(SideNavigationImplementation);\n"]}
|
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"header": "
|
|
6
|
-
"
|
|
7
|
-
"header-link
|
|
8
|
-
"header-link-
|
|
9
|
-
"header-
|
|
10
|
-
"header-logo
|
|
11
|
-
"
|
|
12
|
-
"list": "
|
|
13
|
-
"list
|
|
14
|
-
"list-variant-root
|
|
15
|
-
"list-variant-
|
|
16
|
-
"list-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"section-group": "
|
|
24
|
-
"section-group
|
|
25
|
-
"
|
|
26
|
-
"link
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"divider
|
|
31
|
-
"divider-
|
|
4
|
+
"root": "awsui_root_l0dv0_lk9xb_97",
|
|
5
|
+
"header": "awsui_header_l0dv0_lk9xb_134",
|
|
6
|
+
"with-toolbar": "awsui_with-toolbar_l0dv0_lk9xb_146",
|
|
7
|
+
"header-link": "awsui_header-link_l0dv0_lk9xb_150",
|
|
8
|
+
"header-link--has-logo": "awsui_header-link--has-logo_l0dv0_lk9xb_160",
|
|
9
|
+
"header-link-text": "awsui_header-link-text_l0dv0_lk9xb_160",
|
|
10
|
+
"header-logo": "awsui_header-logo_l0dv0_lk9xb_165",
|
|
11
|
+
"header-logo--stretched": "awsui_header-logo--stretched_l0dv0_lk9xb_171",
|
|
12
|
+
"list-container": "awsui_list-container_l0dv0_lk9xb_176",
|
|
13
|
+
"list": "awsui_list_l0dv0_lk9xb_176",
|
|
14
|
+
"list-variant-root": "awsui_list-variant-root_l0dv0_lk9xb_191",
|
|
15
|
+
"list-variant-root--last": "awsui_list-variant-root--last_l0dv0_lk9xb_198",
|
|
16
|
+
"list-variant-expandable-link-group": "awsui_list-variant-expandable-link-group_l0dv0_lk9xb_202",
|
|
17
|
+
"list-item": "awsui_list-item_l0dv0_lk9xb_206",
|
|
18
|
+
"section": "awsui_section_l0dv0_lk9xb_214",
|
|
19
|
+
"expandable-link-group": "awsui_expandable-link-group_l0dv0_lk9xb_215",
|
|
20
|
+
"section--no-ident": "awsui_section--no-ident_l0dv0_lk9xb_218",
|
|
21
|
+
"expandable-link-group--no-ident": "awsui_expandable-link-group--no-ident_l0dv0_lk9xb_219",
|
|
22
|
+
"refresh": "awsui_refresh_l0dv0_lk9xb_227",
|
|
23
|
+
"list-variant-section-group": "awsui_list-variant-section-group_l0dv0_lk9xb_235",
|
|
24
|
+
"section-group": "awsui_section-group_l0dv0_lk9xb_242",
|
|
25
|
+
"section-group-title": "awsui_section-group-title_l0dv0_lk9xb_253",
|
|
26
|
+
"link": "awsui_link_l0dv0_lk9xb_257",
|
|
27
|
+
"link-active": "awsui_link-active_l0dv0_lk9xb_266",
|
|
28
|
+
"info": "awsui_info_l0dv0_lk9xb_303",
|
|
29
|
+
"external-icon": "awsui_external-icon_l0dv0_lk9xb_307",
|
|
30
|
+
"divider": "awsui_divider_l0dv0_lk9xb_311",
|
|
31
|
+
"divider-default": "awsui_divider-default_l0dv0_lk9xb_316",
|
|
32
|
+
"divider-header": "awsui_divider-header_l0dv0_lk9xb_322"
|
|
32
33
|
};
|
|
33
34
|
|
|
@@ -94,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.
|
|
97
|
+
.awsui_root_l0dv0_lk9xb_97:not(#\9) {
|
|
98
98
|
border-collapse: separate;
|
|
99
99
|
border-spacing: 0;
|
|
100
100
|
box-sizing: border-box;
|
|
@@ -132,7 +132,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
132
132
|
word-break: break-word;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.
|
|
135
|
+
.awsui_header_l0dv0_lk9xb_134:not(#\9) {
|
|
136
136
|
font-size: var(--font-panel-header-size-edjz3l, 18px);
|
|
137
137
|
line-height: var(--font-panel-header-line-height-kxi4u2, 22px);
|
|
138
138
|
font-weight: var(--font-weight-heading-l-f8711v, 700);
|
|
@@ -144,8 +144,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
144
144
|
padding-inline-start: var(--space-panel-nav-left-b1g0mt, 28px);
|
|
145
145
|
padding-inline-end: calc(var(--space-scaled-xxl-wbot5q, 32px) + var(--space-xl-lmui9r, 24px));
|
|
146
146
|
}
|
|
147
|
+
.awsui_with-toolbar_l0dv0_lk9xb_146 > .awsui_header_l0dv0_lk9xb_134:not(#\9) {
|
|
148
|
+
padding-block: var(--space-static-m-lrhgl2, 16px);
|
|
149
|
+
}
|
|
147
150
|
|
|
148
|
-
.awsui_header-
|
|
151
|
+
.awsui_header-link_l0dv0_lk9xb_150:not(#\9) {
|
|
149
152
|
font-size: var(--font-panel-header-size-edjz3l, 18px);
|
|
150
153
|
line-height: var(--font-panel-header-line-height-kxi4u2, 22px);
|
|
151
154
|
font-weight: var(--font-weight-heading-l-f8711v, 700);
|
|
@@ -155,27 +158,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
155
158
|
min-block-size: var(--font-panel-header-line-height-kxi4u2, 22px);
|
|
156
159
|
display: flex;
|
|
157
160
|
}
|
|
158
|
-
.awsui_header-link--has-
|
|
161
|
+
.awsui_header-link--has-logo_l0dv0_lk9xb_160 > .awsui_header-link-text_l0dv0_lk9xb_160:not(#\9) {
|
|
159
162
|
font-weight: 400;
|
|
160
163
|
align-self: center;
|
|
161
164
|
}
|
|
162
165
|
|
|
163
|
-
.awsui_header-
|
|
166
|
+
.awsui_header-logo_l0dv0_lk9xb_165:not(#\9) {
|
|
164
167
|
margin-inline-end: var(--space-s-34lx8l, 12px);
|
|
165
168
|
margin-block-start: var(--space-xxxs-zbmxqb, 2px);
|
|
166
169
|
max-inline-size: calc(1.25 * var(--size-icon-big-zkdryd, 32px));
|
|
167
170
|
align-self: flex-start;
|
|
168
171
|
}
|
|
169
|
-
.awsui_header-logo--
|
|
172
|
+
.awsui_header-logo--stretched_l0dv0_lk9xb_171:not(#\9) {
|
|
170
173
|
max-inline-size: 100%;
|
|
171
174
|
margin-inline-end: 0;
|
|
172
175
|
}
|
|
173
176
|
|
|
174
|
-
.awsui_list-
|
|
177
|
+
.awsui_list-container_l0dv0_lk9xb_176:not(#\9) {
|
|
175
178
|
margin-block-start: var(--space-panel-content-top-wac3yp, 20px);
|
|
176
179
|
}
|
|
180
|
+
.awsui_with-toolbar_l0dv0_lk9xb_146 > .awsui_list-container_l0dv0_lk9xb_176:not(#\9) {
|
|
181
|
+
margin-block-start: 0px;
|
|
182
|
+
}
|
|
177
183
|
|
|
178
|
-
.
|
|
184
|
+
.awsui_list_l0dv0_lk9xb_176:not(#\9) {
|
|
179
185
|
margin-block: 0;
|
|
180
186
|
margin-inline: 0;
|
|
181
187
|
padding-block: 0;
|
|
@@ -183,22 +189,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
183
189
|
padding-inline-start: var(--space-l-t419sm, 20px);
|
|
184
190
|
}
|
|
185
191
|
|
|
186
|
-
.awsui_list-variant-
|
|
192
|
+
.awsui_list-variant-root_l0dv0_lk9xb_191:not(#\9) {
|
|
187
193
|
margin-block: 0;
|
|
188
194
|
margin-inline: 0;
|
|
189
195
|
padding-block: 0;
|
|
190
196
|
padding-inline-start: var(--space-panel-nav-left-b1g0mt, 28px);
|
|
191
197
|
padding-inline-end: var(--space-panel-side-right-xofg51, 24px);
|
|
192
198
|
}
|
|
193
|
-
.awsui_list-variant-root--
|
|
199
|
+
.awsui_list-variant-root--last_l0dv0_lk9xb_198:not(#\9) {
|
|
194
200
|
margin-block-end: var(--space-panel-content-bottom-7k6er3, 40px);
|
|
195
201
|
}
|
|
196
202
|
|
|
197
|
-
.awsui_list-variant-expandable-link-
|
|
203
|
+
.awsui_list-variant-expandable-link-group_l0dv0_lk9xb_202:not(#\9) {
|
|
198
204
|
padding-inline-start: var(--space-xxxl-4x2gki, 40px);
|
|
199
205
|
}
|
|
200
206
|
|
|
201
|
-
.awsui_list-
|
|
207
|
+
.awsui_list-item_l0dv0_lk9xb_206:not(#\9) {
|
|
202
208
|
margin-block: var(--space-scaled-xs-26e2du, 8px);
|
|
203
209
|
margin-inline: 0;
|
|
204
210
|
padding-block: 0;
|
|
@@ -206,35 +212,35 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
206
212
|
list-style: none;
|
|
207
213
|
}
|
|
208
214
|
|
|
209
|
-
.
|
|
210
|
-
.awsui_expandable-link-
|
|
215
|
+
.awsui_section_l0dv0_lk9xb_214:not(#\9),
|
|
216
|
+
.awsui_expandable-link-group_l0dv0_lk9xb_215:not(#\9) {
|
|
211
217
|
margin-inline-start: calc(-1 * var(--space-l-t419sm, 20px));
|
|
212
218
|
}
|
|
213
|
-
.awsui_section--no-
|
|
214
|
-
.awsui_expandable-link-group--no-
|
|
219
|
+
.awsui_section--no-ident_l0dv0_lk9xb_218:not(#\9),
|
|
220
|
+
.awsui_expandable-link-group--no-ident_l0dv0_lk9xb_219:not(#\9) {
|
|
215
221
|
margin-inline-start: 0;
|
|
216
222
|
}
|
|
217
223
|
|
|
218
|
-
.
|
|
224
|
+
.awsui_section_l0dv0_lk9xb_214:not(#\9) {
|
|
219
225
|
margin-block: calc(var(--space-scaled-2x-l-ujnz41, 20px) - var(--border-divider-section-width-1061zr, 1px));
|
|
220
226
|
/* stylelint-disable-next-line selector-max-type */
|
|
221
227
|
}
|
|
222
|
-
.
|
|
228
|
+
.awsui_section_l0dv0_lk9xb_214.awsui_refresh_l0dv0_lk9xb_227:not(#\9) {
|
|
223
229
|
margin-block: calc(var(--space-scaled-2x-m-owtj1o, 16px) - var(--border-divider-section-width-1061zr, 1px));
|
|
224
230
|
}
|
|
225
|
-
.
|
|
231
|
+
.awsui_section_l0dv0_lk9xb_214 > div:not(#\9) {
|
|
226
232
|
padding-block: 0;
|
|
227
233
|
padding-inline: 0;
|
|
228
234
|
}
|
|
229
235
|
|
|
230
|
-
.awsui_list-variant-section-
|
|
236
|
+
.awsui_list-variant-section-group_l0dv0_lk9xb_235:not(#\9) {
|
|
231
237
|
margin-block: 0;
|
|
232
238
|
margin-inline: 0;
|
|
233
239
|
padding-block: 0;
|
|
234
240
|
padding-inline: 0;
|
|
235
241
|
}
|
|
236
242
|
|
|
237
|
-
.awsui_section-
|
|
243
|
+
.awsui_section-group_l0dv0_lk9xb_242:not(#\9) {
|
|
238
244
|
font-size: var(--font-size-heading-m-sjd256, 18px);
|
|
239
245
|
line-height: var(--line-height-heading-m-50evfk, 22px);
|
|
240
246
|
letter-spacing: var(--letter-spacing-heading-m-0w575i, -0.01em);
|
|
@@ -245,11 +251,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
245
251
|
margin-inline: 0;
|
|
246
252
|
}
|
|
247
253
|
|
|
248
|
-
.awsui_section-group-
|
|
254
|
+
.awsui_section-group-title_l0dv0_lk9xb_253:not(#\9) {
|
|
249
255
|
/* used in test-utils */
|
|
250
256
|
}
|
|
251
257
|
|
|
252
|
-
.
|
|
258
|
+
.awsui_link_l0dv0_lk9xb_257:not(#\9) {
|
|
253
259
|
font-size: var(--font-size-body-m-x4okxb, 14px);
|
|
254
260
|
line-height: var(--line-height-body-m-30ar75, 20px);
|
|
255
261
|
color: var(--color-text-body-secondary-w9jvno, #414d5c);
|
|
@@ -258,30 +264,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
258
264
|
-moz-osx-font-smoothing: auto;
|
|
259
265
|
}
|
|
260
266
|
|
|
261
|
-
.awsui_link-
|
|
267
|
+
.awsui_link-active_l0dv0_lk9xb_266:not(#\9) {
|
|
262
268
|
font-weight: var(--font-wayfinding-link-active-weight-rbmzei, 700);
|
|
263
269
|
-webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
|
|
264
270
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
|
|
265
271
|
color: var(--color-text-accent-n2acxv, #0972d3);
|
|
266
272
|
}
|
|
267
273
|
|
|
268
|
-
.awsui_header-
|
|
269
|
-
.
|
|
274
|
+
.awsui_header-link_l0dv0_lk9xb_150:not(#\9),
|
|
275
|
+
.awsui_link_l0dv0_lk9xb_257:not(#\9) {
|
|
270
276
|
text-decoration: none;
|
|
271
277
|
}
|
|
272
|
-
.awsui_header-
|
|
273
|
-
.
|
|
278
|
+
.awsui_header-link_l0dv0_lk9xb_150:not(#\9):hover,
|
|
279
|
+
.awsui_link_l0dv0_lk9xb_257:not(#\9):hover {
|
|
274
280
|
color: var(--color-text-accent-n2acxv, #0972d3);
|
|
275
281
|
}
|
|
276
|
-
.awsui_header-
|
|
277
|
-
.
|
|
282
|
+
.awsui_header-link_l0dv0_lk9xb_150:not(#\9):focus,
|
|
283
|
+
.awsui_link_l0dv0_lk9xb_257:not(#\9):focus {
|
|
278
284
|
outline: none;
|
|
279
285
|
}
|
|
280
|
-
.awsui_header-
|
|
286
|
+
.awsui_header-link_l0dv0_lk9xb_150:not(#\9):hover, .awsui_header-link_l0dv0_lk9xb_150:not(#\9):focus, .awsui_link_l0dv0_lk9xb_257:not(#\9):hover, .awsui_link_l0dv0_lk9xb_257:not(#\9):focus {
|
|
281
287
|
text-decoration: none;
|
|
282
288
|
}
|
|
283
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
284
|
-
body[data-awsui-focus-visible=true] .
|
|
289
|
+
body[data-awsui-focus-visible=true] .awsui_header-link_l0dv0_lk9xb_150:not(#\9):focus,
|
|
290
|
+
body[data-awsui-focus-visible=true] .awsui_link_l0dv0_lk9xb_257:not(#\9):focus {
|
|
285
291
|
outline: thin dotted;
|
|
286
292
|
outline: var(--border-link-focus-ring-outline-kkfop6, 0);
|
|
287
293
|
outline-offset: 2px;
|
|
@@ -293,26 +299,29 @@ body[data-awsui-focus-visible=true] .awsui_link_l0dv0_1s9d7_251:not(#\9):focus {
|
|
|
293
299
|
box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-v8hkrl, 2px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
294
300
|
}
|
|
295
301
|
|
|
296
|
-
.
|
|
302
|
+
.awsui_info_l0dv0_lk9xb_303:not(#\9) {
|
|
297
303
|
margin-inline-start: var(--space-xs-zb16t3, 8px);
|
|
298
304
|
}
|
|
299
305
|
|
|
300
|
-
.awsui_external-
|
|
306
|
+
.awsui_external-icon_l0dv0_lk9xb_307:not(#\9) {
|
|
301
307
|
margin-inline-start: var(--space-xxs-p8yyaw, 4px);
|
|
302
308
|
}
|
|
303
309
|
|
|
304
|
-
.
|
|
310
|
+
.awsui_divider_l0dv0_lk9xb_311:not(#\9) {
|
|
305
311
|
border-block: none;
|
|
306
312
|
border-inline: none;
|
|
307
313
|
}
|
|
308
314
|
|
|
309
|
-
.awsui_divider-
|
|
315
|
+
.awsui_divider-default_l0dv0_lk9xb_316:not(#\9) {
|
|
310
316
|
margin-block: var(--space-scaled-2x-xl-udij7m, 24px);
|
|
311
317
|
margin-inline: calc(-1 * var(--space-panel-divider-margin-horizontal-sbik1z, 8px));
|
|
312
318
|
border-block-start: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
313
319
|
}
|
|
314
320
|
|
|
315
|
-
.awsui_divider-
|
|
321
|
+
.awsui_divider-header_l0dv0_lk9xb_322:not(#\9) {
|
|
316
322
|
margin-block-start: 0;
|
|
317
323
|
border-block-start: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-panel-header-lf0q4c, #b6bec9);
|
|
324
|
+
}
|
|
325
|
+
.awsui_with-toolbar_l0dv0_lk9xb_146 > .awsui_divider-header_l0dv0_lk9xb_322:not(#\9) {
|
|
326
|
+
border-color: transparent;
|
|
318
327
|
}
|