@cloudscape-design/components 3.0.684 → 3.0.686
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/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +31 -31
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/visual-refresh/styles.css.js +82 -82
- package/app-layout/visual-refresh/styles.scoped.css +255 -255
- package/app-layout/visual-refresh/styles.selectors.js +82 -82
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +13 -13
- 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 +37 -37
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +16 -16
- package/area-chart/model/use-chart-model.d.ts.map +1 -1
- package/area-chart/model/use-chart-model.js +2 -1
- package/area-chart/model/use-chart-model.js.map +1 -1
- package/area-chart/model/utils.d.ts +0 -1
- package/area-chart/model/utils.d.ts.map +1 -1
- package/area-chart/model/utils.js +0 -10
- package/area-chart/model/utils.js.map +1 -1
- package/button/interfaces.d.ts +1 -1
- package/button/interfaces.js.map +1 -1
- package/button-dropdown/item-element/index.js +1 -1
- package/button-dropdown/item-element/index.js.map +1 -1
- package/button-dropdown/item-element/styles.css.js +12 -11
- package/button-dropdown/item-element/styles.scoped.css +14 -14
- package/button-dropdown/item-element/styles.selectors.js +12 -11
- package/button-dropdown/tooltip.d.ts +2 -1
- package/button-dropdown/tooltip.d.ts.map +1 -1
- package/button-dropdown/tooltip.js +2 -2
- package/button-dropdown/tooltip.js.map +1 -1
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +27 -27
- package/content-layout/styles.selectors.js +14 -14
- package/copy-to-clipboard/index.d.ts +1 -1
- package/copy-to-clipboard/index.d.ts.map +1 -1
- package/copy-to-clipboard/index.js +2 -2
- package/copy-to-clipboard/index.js.map +1 -1
- package/copy-to-clipboard/interfaces.d.ts +8 -0
- package/copy-to-clipboard/interfaces.d.ts.map +1 -1
- package/copy-to-clipboard/interfaces.js.map +1 -1
- package/copy-to-clipboard/internal.d.ts +1 -1
- package/copy-to-clipboard/internal.d.ts.map +1 -1
- package/copy-to-clipboard/internal.js +2 -2
- package/copy-to-clipboard/internal.js.map +1 -1
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +171 -171
- package/flashbar/styles.selectors.js +47 -47
- package/i18n/dynamic.js +2 -0
- package/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.ar.d.ts +3 -0
- package/i18n/messages/all.ar.js +1 -0
- package/i18n/messages/all.ar.json +1 -0
- 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 +12 -0
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +1 -1
- package/icon/styles.css.js +38 -37
- package/icon/styles.scoped.css +82 -80
- package/icon/styles.selectors.js +38 -37
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/internal/components/chart-plot/focus-outline.js +1 -1
- package/internal/components/chart-plot/focus-outline.js.map +1 -1
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +40 -40
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/custom-css-properties/index.d.ts +2 -0
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +57 -55
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/hooks/use-base-component/index.d.ts.map +1 -1
- package/internal/hooks/use-base-component/index.js +1 -2
- package/internal/hooks/use-base-component/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/internal/utils/circle-index.d.ts +2 -0
- package/internal/utils/circle-index.d.ts.map +1 -0
- package/internal/utils/circle-index.js +13 -0
- package/internal/utils/circle-index.js.map +1 -0
- package/key-value-pairs/index.d.ts +1 -1
- package/key-value-pairs/index.d.ts.map +1 -1
- package/key-value-pairs/index.js +2 -2
- package/key-value-pairs/index.js.map +1 -1
- package/key-value-pairs/interfaces.d.ts +11 -0
- package/key-value-pairs/interfaces.d.ts.map +1 -1
- package/key-value-pairs/interfaces.js.map +1 -1
- package/key-value-pairs/internal.d.ts.map +1 -1
- package/key-value-pairs/internal.js +2 -2
- package/key-value-pairs/internal.js.map +1 -1
- package/mixed-line-bar-chart/hooks/use-navigation.d.ts.map +1 -1
- package/mixed-line-bar-chart/hooks/use-navigation.js +1 -10
- package/mixed-line-bar-chart/hooks/use-navigation.js.map +1 -1
- package/package.json +4 -1
- package/prompt-input/index.d.ts +6 -0
- package/prompt-input/index.d.ts.map +1 -0
- package/prompt-input/index.js +27 -0
- package/prompt-input/index.js.map +1 -0
- package/prompt-input/interfaces.d.ts +82 -0
- package/prompt-input/interfaces.d.ts.map +1 -0
- package/prompt-input/interfaces.js +2 -0
- package/prompt-input/interfaces.js.map +1 -0
- package/prompt-input/internal.d.ts +8 -0
- package/prompt-input/internal.d.ts.map +1 -0
- package/prompt-input/internal.js +109 -0
- package/prompt-input/internal.js.map +1 -0
- package/prompt-input/styles.css.js +13 -0
- package/prompt-input/styles.scoped.css +248 -0
- package/prompt-input/styles.selectors.js +14 -0
- package/prompt-input/test-classes/styles.css.js +8 -0
- package/prompt-input/test-classes/styles.scoped.css +15 -0
- package/prompt-input/test-classes/styles.selectors.js +9 -0
- package/property-filter/filtering-token/index.d.ts.map +1 -0
- package/{internal/components → property-filter}/filtering-token/index.js +7 -6
- package/property-filter/filtering-token/index.js.map +1 -0
- package/property-filter/filtering-token/styles.css.js +12 -0
- package/{internal/components → property-filter}/filtering-token/styles.scoped.css +15 -15
- package/property-filter/filtering-token/styles.selectors.js +13 -0
- package/property-filter/test-classes/styles.css.js +14 -0
- package/property-filter/test-classes/styles.scoped.css +39 -0
- package/property-filter/test-classes/styles.selectors.js +15 -0
- package/property-filter/token-editor.d.ts.map +1 -1
- package/property-filter/token-editor.js +7 -5
- package/property-filter/token-editor.js.map +1 -1
- package/property-filter/token.js +1 -1
- package/property-filter/token.js.map +1 -1
- package/select/parts/filter.d.ts +1 -1
- package/slider/styles.css.js +26 -27
- package/slider/styles.scoped.css +90 -90
- package/slider/styles.selectors.js +26 -27
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +39 -39
- package/spinner/styles.selectors.js +13 -13
- package/table/body-cell/styles.css.js +46 -46
- package/table/body-cell/styles.scoped.css +525 -274
- package/table/body-cell/styles.selectors.js +46 -46
- package/table/body-cell/td-element.d.ts.map +1 -1
- package/table/body-cell/td-element.js +3 -4
- package/table/body-cell/td-element.js.map +1 -1
- package/tabs/styles.css.js +28 -28
- package/tabs/styles.scoped.css +53 -53
- package/tabs/styles.selectors.js +28 -28
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +1 -9
- package/tabs/tab-header-bar.js.map +1 -1
- package/test-utils/dom/copy-to-clipboard/index.d.ts +3 -1
- package/test-utils/dom/copy-to-clipboard/index.js +2 -2
- package/test-utils/dom/copy-to-clipboard/index.js.map +1 -1
- package/test-utils/dom/index.d.ts +3 -0
- package/test-utils/dom/index.js +10 -2
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/dom/prompt-input/index.d.ts +18 -0
- package/test-utils/dom/prompt-input/index.js +49 -0
- package/test-utils/dom/prompt-input/index.js.map +1 -0
- package/test-utils/dom/property-filter/index.d.ts +25 -2
- package/test-utils/dom/property-filter/index.js +59 -6
- package/test-utils/dom/property-filter/index.js.map +1 -1
- package/test-utils/selectors/copy-to-clipboard/index.d.ts +3 -1
- package/test-utils/selectors/copy-to-clipboard/index.js +4 -2
- package/test-utils/selectors/copy-to-clipboard/index.js.map +1 -1
- package/test-utils/selectors/index.d.ts +3 -0
- package/test-utils/selectors/index.js +10 -2
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/selectors/prompt-input/index.d.ts +6 -0
- package/test-utils/selectors/prompt-input/index.js +15 -0
- package/test-utils/selectors/prompt-input/index.js.map +1 -0
- package/test-utils/selectors/property-filter/index.d.ts +25 -2
- package/test-utils/selectors/property-filter/index.js +61 -6
- package/test-utils/selectors/property-filter/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/internal/components/filtering-token/index.d.ts.map +0 -1
- package/internal/components/filtering-token/index.js.map +0 -1
- package/internal/components/filtering-token/styles.css.js +0 -12
- package/internal/components/filtering-token/styles.selectors.js +0 -13
- package/internal/hooks/focus-visible/index.d.ts +0 -3
- package/internal/hooks/focus-visible/index.d.ts.map +0 -1
- package/internal/hooks/focus-visible/index.js +0 -49
- package/internal/hooks/focus-visible/index.js.map +0 -1
- package/test-utils/dom/internal/filtering-token.d.ts +0 -8
- package/test-utils/dom/internal/filtering-token.js +0 -21
- package/test-utils/dom/internal/filtering-token.js.map +0 -1
- package/test-utils/selectors/internal/filtering-token.d.ts +0 -8
- package/test-utils/selectors/internal/filtering-token.js +0 -21
- package/test-utils/selectors/internal/filtering-token.js.map +0 -1
- /package/{internal/components → property-filter}/filtering-token/index.d.ts +0 -0
|
@@ -94,10 +94,10 @@ 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
|
-
.awsui_dropdown-content-
|
|
98
|
-
animation: awsui_awsui-motion-fade-in-
|
|
97
|
+
.awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9) {
|
|
98
|
+
animation: awsui_awsui-motion-fade-in-dropdown_qwoo0_qnerm_1 var(--motion-duration-show-quick-aq3ump, 135ms) var(--motion-easing-show-quick-vc5zgd, ease-out);
|
|
99
99
|
}
|
|
100
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
100
|
+
@keyframes awsui_awsui-motion-fade-in-dropdown_qwoo0_qnerm_1 {
|
|
101
101
|
from {
|
|
102
102
|
opacity: 0.4;
|
|
103
103
|
}
|
|
@@ -106,22 +106,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
@media (prefers-reduced-motion: reduce) {
|
|
109
|
-
.awsui_dropdown-content-
|
|
109
|
+
.awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9) {
|
|
110
110
|
animation: none;
|
|
111
111
|
transition: none;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
.awsui-motion-disabled .awsui_dropdown-content-
|
|
114
|
+
.awsui-motion-disabled .awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9), .awsui-mode-entering .awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9) {
|
|
115
115
|
animation: none;
|
|
116
116
|
transition: none;
|
|
117
117
|
}
|
|
118
|
-
.awsui_dropdown-content-
|
|
118
|
+
.awsui_dropdown-content-wrapper_qwoo0_qnerm_97.awsui_refresh_qwoo0_qnerm_118:not(#\9) {
|
|
119
119
|
transform-origin: top;
|
|
120
|
-
animation-name: awsui_awsui-motion-fade-in-
|
|
120
|
+
animation-name: awsui_awsui-motion-fade-in-0_qwoo0_qnerm_1;
|
|
121
121
|
animation-duration: var(--motion-duration-show-quick-aq3ump, 135ms);
|
|
122
122
|
animation-timing-function: var(--motion-easing-show-quick-vc5zgd, ease-out);
|
|
123
123
|
}
|
|
124
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
124
|
+
@keyframes awsui_awsui-motion-fade-in-0_qwoo0_qnerm_1 {
|
|
125
125
|
from {
|
|
126
126
|
opacity: 0;
|
|
127
127
|
}
|
|
@@ -130,12 +130,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
@media (prefers-reduced-motion: reduce) {
|
|
133
|
-
.awsui_dropdown-content-
|
|
133
|
+
.awsui_dropdown-content-wrapper_qwoo0_qnerm_97.awsui_refresh_qwoo0_qnerm_118:not(#\9) {
|
|
134
134
|
animation: none;
|
|
135
135
|
transition: none;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
.awsui-motion-disabled .awsui_dropdown-content-
|
|
138
|
+
.awsui-motion-disabled .awsui_dropdown-content-wrapper_qwoo0_qnerm_97.awsui_refresh_qwoo0_qnerm_118:not(#\9), .awsui-mode-entering .awsui_dropdown-content-wrapper_qwoo0_qnerm_97.awsui_refresh_qwoo0_qnerm_118:not(#\9) {
|
|
139
139
|
animation: none;
|
|
140
140
|
transition: none;
|
|
141
141
|
}
|
|
@@ -144,7 +144,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
144
144
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
145
145
|
SPDX-License-Identifier: Apache-2.0
|
|
146
146
|
*/
|
|
147
|
-
.
|
|
147
|
+
.awsui_root_qwoo0_qnerm_147:not(#\9) {
|
|
148
148
|
border-collapse: separate;
|
|
149
149
|
border-spacing: 0;
|
|
150
150
|
box-sizing: border-box;
|
|
@@ -181,11 +181,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
181
181
|
position: relative;
|
|
182
182
|
white-space: inherit;
|
|
183
183
|
}
|
|
184
|
-
.
|
|
184
|
+
.awsui_root_qwoo0_qnerm_147.awsui_interior_qwoo0_qnerm_183:not(#\9) {
|
|
185
185
|
position: static;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
.
|
|
188
|
+
.awsui_dropdown_qwoo0_qnerm_97:not(#\9) {
|
|
189
189
|
position: absolute;
|
|
190
190
|
display: none;
|
|
191
191
|
z-index: 2000;
|
|
@@ -193,24 +193,24 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
193
193
|
user-select: none;
|
|
194
194
|
transform-origin: top;
|
|
195
195
|
}
|
|
196
|
-
.
|
|
196
|
+
.awsui_dropdown_qwoo0_qnerm_97.awsui_use-portal_qwoo0_qnerm_194:not(#\9) {
|
|
197
197
|
z-index: 7000;
|
|
198
198
|
}
|
|
199
|
-
.
|
|
199
|
+
.awsui_dropdown_qwoo0_qnerm_97:not(#\9):not(.awsui_interior_qwoo0_qnerm_183) {
|
|
200
200
|
transform: translateY(0px);
|
|
201
201
|
transition: transform var(--motion-duration-show-quick-aq3ump, 135ms);
|
|
202
202
|
}
|
|
203
203
|
@media (prefers-reduced-motion: reduce) {
|
|
204
|
-
.
|
|
204
|
+
.awsui_dropdown_qwoo0_qnerm_97:not(#\9):not(.awsui_interior_qwoo0_qnerm_183) {
|
|
205
205
|
animation: none;
|
|
206
206
|
transition: none;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
.awsui-motion-disabled .
|
|
209
|
+
.awsui-motion-disabled .awsui_dropdown_qwoo0_qnerm_97:not(#\9):not(.awsui_interior_qwoo0_qnerm_183), .awsui-mode-entering .awsui_dropdown_qwoo0_qnerm_97:not(#\9):not(.awsui_interior_qwoo0_qnerm_183) {
|
|
210
210
|
animation: none;
|
|
211
211
|
transition: none;
|
|
212
212
|
}
|
|
213
|
-
.awsui_dropdown-content-
|
|
213
|
+
.awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9) {
|
|
214
214
|
position: relative;
|
|
215
215
|
background-color: var(--color-background-dropdown-item-default-be16w5, #ffffff);
|
|
216
216
|
outline: none;
|
|
@@ -222,7 +222,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
222
222
|
border-block: var(--border-divider-list-width-27y3k5, 1px) solid var(--color-border-container-top-736buh, transparent);
|
|
223
223
|
box-sizing: border-box;
|
|
224
224
|
}
|
|
225
|
-
.awsui_dropdown-content-
|
|
225
|
+
.awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9)::after {
|
|
226
226
|
content: "";
|
|
227
227
|
position: absolute;
|
|
228
228
|
z-index: 1;
|
|
@@ -239,73 +239,73 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
239
239
|
border-end-end-radius: var(--border-radius-dropdown-0dhh79, 8px);
|
|
240
240
|
pointer-events: none;
|
|
241
241
|
}
|
|
242
|
-
.awsui_dropdown-content-
|
|
242
|
+
.awsui_dropdown-content-wrapper_qwoo0_qnerm_97.awsui_is-empty_qwoo0_qnerm_240:not(#\9)::after {
|
|
243
243
|
display: none;
|
|
244
244
|
}
|
|
245
|
-
.
|
|
245
|
+
.awsui_dropdown_qwoo0_qnerm_97 > .awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9) {
|
|
246
246
|
border-block-start: var(--border-divider-list-width-27y3k5, 1px) solid var(--color-border-container-top-736buh, transparent);
|
|
247
247
|
border-block-end: var(--border-divider-list-width-27y3k5, 1px) solid var(--color-border-dropdown-group-yakmix, #b6bec9);
|
|
248
248
|
}
|
|
249
|
-
.awsui_dropdown-drop-
|
|
249
|
+
.awsui_dropdown-drop-up_qwoo0_qnerm_247 > .awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9) {
|
|
250
250
|
transform-origin: bottom;
|
|
251
251
|
box-shadow: var(--shadow-dropup-xqkiza, 0px 4px 20px 1px rgba(0, 7, 22, 0.1));
|
|
252
252
|
}
|
|
253
|
-
.awsui_dropdown-drop-
|
|
253
|
+
.awsui_dropdown-drop-up_qwoo0_qnerm_247.awsui_with-limited-width_qwoo0_qnerm_251 > .awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9) {
|
|
254
254
|
border-block-start: none;
|
|
255
255
|
}
|
|
256
|
-
.awsui_dropdown-drop-
|
|
256
|
+
.awsui_dropdown-drop-left_qwoo0_qnerm_254:not(#\9) {
|
|
257
257
|
inset-inline-end: 0;
|
|
258
258
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
259
259
|
}
|
|
260
|
-
.awsui_dropdown-drop-
|
|
260
|
+
.awsui_dropdown-drop-left_qwoo0_qnerm_254:not(#\9):dir(rtl) {
|
|
261
261
|
inset-inline-end: unset;
|
|
262
262
|
}
|
|
263
|
-
.awsui_dropdown-drop-
|
|
263
|
+
.awsui_dropdown-drop-right_qwoo0_qnerm_261:not(#\9) {
|
|
264
264
|
inset-inline-start: 0;
|
|
265
265
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
266
266
|
}
|
|
267
|
-
.awsui_dropdown-drop-
|
|
267
|
+
.awsui_dropdown-drop-right_qwoo0_qnerm_261:not(#\9):dir(rtl) {
|
|
268
268
|
inset-inline-start: unset;
|
|
269
269
|
}
|
|
270
|
-
.
|
|
270
|
+
.awsui_dropdown_qwoo0_qnerm_97.awsui_occupy-entire-width_qwoo0_qnerm_268:not(#\9) {
|
|
271
271
|
min-inline-size: 100%;
|
|
272
272
|
}
|
|
273
|
-
.
|
|
273
|
+
.awsui_dropdown_qwoo0_qnerm_97.awsui_stretch-beyond-trigger-width_qwoo0_qnerm_271:not(#\9) {
|
|
274
274
|
inline-size: max-content;
|
|
275
|
-
max-inline-size: var(--awsui-dropdown-default-max-width-
|
|
275
|
+
max-inline-size: var(--awsui-dropdown-default-max-width-g964ok, 100%);
|
|
276
276
|
}
|
|
277
|
-
.
|
|
277
|
+
.awsui_dropdown_qwoo0_qnerm_97.awsui_interior_qwoo0_qnerm_183 > .awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9) {
|
|
278
278
|
margin-block-start: -1px;
|
|
279
279
|
}
|
|
280
|
-
.
|
|
280
|
+
.awsui_dropdown_qwoo0_qnerm_97.awsui_hide-block-border_qwoo0_qnerm_278 > .awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9) {
|
|
281
281
|
border-block-start: none;
|
|
282
282
|
}
|
|
283
|
-
.
|
|
283
|
+
.awsui_dropdown_qwoo0_qnerm_97.awsui_hide-block-border_qwoo0_qnerm_278:not(#\9):not(.awsui_dropdown-drop-up_qwoo0_qnerm_247) > .awsui_dropdown-content-wrapper_qwoo0_qnerm_97 {
|
|
284
284
|
border-block-end: none;
|
|
285
285
|
}
|
|
286
|
-
.
|
|
286
|
+
.awsui_dropdown_qwoo0_qnerm_97.awsui_hide-block-border_qwoo0_qnerm_278.awsui_refresh_qwoo0_qnerm_118 > .awsui_dropdown-content-wrapper_qwoo0_qnerm_97:not(#\9) {
|
|
287
287
|
border-block-end: none;
|
|
288
288
|
}
|
|
289
|
-
.
|
|
289
|
+
.awsui_dropdown_qwoo0_qnerm_97.awsui_open_qwoo0_qnerm_287:not(#\9) {
|
|
290
290
|
display: block;
|
|
291
291
|
}
|
|
292
|
-
.
|
|
292
|
+
.awsui_dropdown_qwoo0_qnerm_97.awsui_open_qwoo0_qnerm_287:not(#\9):not(.awsui_interior_qwoo0_qnerm_183).awsui_refresh_qwoo0_qnerm_118[data-animating=true] {
|
|
293
293
|
transform: translateY(4px);
|
|
294
294
|
}
|
|
295
|
-
.
|
|
295
|
+
.awsui_dropdown_qwoo0_qnerm_97.awsui_open_qwoo0_qnerm_287:not(#\9):not(.awsui_interior_qwoo0_qnerm_183).awsui_refresh_qwoo0_qnerm_118[data-animating=true].awsui_dropdown-drop-up_qwoo0_qnerm_247 {
|
|
296
296
|
transform: translateY(-4px);
|
|
297
297
|
}
|
|
298
|
-
.
|
|
298
|
+
.awsui_dropdown_qwoo0_qnerm_97.awsui_open_qwoo0_qnerm_287.awsui_nowrap_qwoo0_qnerm_296:not(#\9) {
|
|
299
299
|
white-space: nowrap;
|
|
300
300
|
overflow: scroll;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
.awsui_dropdown-
|
|
303
|
+
.awsui_dropdown-content_qwoo0_qnerm_97:not(#\9) {
|
|
304
304
|
display: flex;
|
|
305
305
|
flex-direction: column;
|
|
306
306
|
inline-size: 100%;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
.awsui_stretch-trigger-
|
|
309
|
+
.awsui_stretch-trigger-height_qwoo0_qnerm_307:not(#\9) {
|
|
310
310
|
block-size: 100%;
|
|
311
311
|
}
|
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"dropdown-content-wrapper": "awsui_dropdown-content-
|
|
6
|
-
"awsui-motion-fade-in-dropdown": "awsui_awsui-motion-fade-in-
|
|
7
|
-
"refresh": "
|
|
8
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
9
|
-
"root": "
|
|
10
|
-
"interior": "
|
|
11
|
-
"dropdown": "
|
|
12
|
-
"use-portal": "awsui_use-
|
|
13
|
-
"is-empty": "awsui_is-
|
|
14
|
-
"dropdown-drop-up": "awsui_dropdown-drop-
|
|
15
|
-
"with-limited-width": "awsui_with-limited-
|
|
16
|
-
"dropdown-drop-left": "awsui_dropdown-drop-
|
|
17
|
-
"dropdown-drop-right": "awsui_dropdown-drop-
|
|
18
|
-
"occupy-entire-width": "awsui_occupy-entire-
|
|
19
|
-
"stretch-beyond-trigger-width": "awsui_stretch-beyond-trigger-
|
|
20
|
-
"hide-block-border": "awsui_hide-block-
|
|
21
|
-
"open": "
|
|
22
|
-
"nowrap": "
|
|
23
|
-
"dropdown-content": "awsui_dropdown-
|
|
24
|
-
"stretch-trigger-height": "awsui_stretch-trigger-
|
|
5
|
+
"dropdown-content-wrapper": "awsui_dropdown-content-wrapper_qwoo0_qnerm_97",
|
|
6
|
+
"awsui-motion-fade-in-dropdown": "awsui_awsui-motion-fade-in-dropdown_qwoo0_qnerm_1",
|
|
7
|
+
"refresh": "awsui_refresh_qwoo0_qnerm_118",
|
|
8
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_qwoo0_qnerm_1",
|
|
9
|
+
"root": "awsui_root_qwoo0_qnerm_147",
|
|
10
|
+
"interior": "awsui_interior_qwoo0_qnerm_183",
|
|
11
|
+
"dropdown": "awsui_dropdown_qwoo0_qnerm_97",
|
|
12
|
+
"use-portal": "awsui_use-portal_qwoo0_qnerm_194",
|
|
13
|
+
"is-empty": "awsui_is-empty_qwoo0_qnerm_240",
|
|
14
|
+
"dropdown-drop-up": "awsui_dropdown-drop-up_qwoo0_qnerm_247",
|
|
15
|
+
"with-limited-width": "awsui_with-limited-width_qwoo0_qnerm_251",
|
|
16
|
+
"dropdown-drop-left": "awsui_dropdown-drop-left_qwoo0_qnerm_254",
|
|
17
|
+
"dropdown-drop-right": "awsui_dropdown-drop-right_qwoo0_qnerm_261",
|
|
18
|
+
"occupy-entire-width": "awsui_occupy-entire-width_qwoo0_qnerm_268",
|
|
19
|
+
"stretch-beyond-trigger-width": "awsui_stretch-beyond-trigger-width_qwoo0_qnerm_271",
|
|
20
|
+
"hide-block-border": "awsui_hide-block-border_qwoo0_qnerm_278",
|
|
21
|
+
"open": "awsui_open_qwoo0_qnerm_287",
|
|
22
|
+
"nowrap": "awsui_nowrap_qwoo0_qnerm_296",
|
|
23
|
+
"dropdown-content": "awsui_dropdown-content_qwoo0_qnerm_97",
|
|
24
|
+
"stretch-trigger-height": "awsui_stretch-trigger-height_qwoo0_qnerm_307"
|
|
25
25
|
};
|
|
26
26
|
|
package/internal/environment.js
CHANGED
|
@@ -54,6 +54,8 @@ declare const customCSSPropertiesMap: {
|
|
|
54
54
|
sliderTooltipPosition: string;
|
|
55
55
|
togglesLeftWidth: string;
|
|
56
56
|
togglesRightWidth: string;
|
|
57
|
+
promptInputMaxRows: string;
|
|
58
|
+
promptInputScrollHeight: string;
|
|
57
59
|
};
|
|
58
60
|
export default customCSSPropertiesMap;
|
|
59
61
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/generated/custom-css-properties/index.ts"],"names":[],"mappings":"AACM,QAAA,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/generated/custom-css-properties/index.ts"],"names":[],"mappings":"AACM,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0D3B,CAAC;AACF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,59 +1,61 @@
|
|
|
1
1
|
const customCSSPropertiesMap = {
|
|
2
|
-
"maxContentWidth": "--awsui-max-content-width-
|
|
3
|
-
"minContentWidth": "--awsui-min-content-width-
|
|
4
|
-
"breadcrumbsGap": "--awsui-breadcrumbs-gap-
|
|
5
|
-
"contentGapLeft": "--awsui-content-gap-left-
|
|
6
|
-
"contentGapRight": "--awsui-content-gap-right-
|
|
7
|
-
"contentHeight": "--awsui-content-height-
|
|
8
|
-
"contentLayoutDefaultHorizontalPadding": "--awsui-content-layout-default-horizontal-padding-
|
|
9
|
-
"contentLayoutMaxContentWidth": "--awsui-content-layout-max-content-width-
|
|
10
|
-
"contentLayoutMainGap": "--awsui-content-layout-main-gap-
|
|
11
|
-
"defaultMaxContentWidth": "--awsui-default-max-content-width-
|
|
12
|
-
"defaultMinContentWidth": "--awsui-default-min-content-width-
|
|
13
|
-
"drawerSize": "--awsui-drawer-size-
|
|
14
|
-
"footerHeight": "--awsui-footer-height-
|
|
15
|
-
"headerGap": "--awsui-header-gap-
|
|
16
|
-
"headerHeight": "--awsui-header-height-
|
|
17
|
-
"layoutWidth": "--awsui-layout-width-
|
|
18
|
-
"mainGap": "--awsui-main-gap-
|
|
19
|
-
"mainOffsetLeft": "--awsui-main-offset-left-
|
|
20
|
-
"mainTemplateRows": "--awsui-main-template-rows-
|
|
21
|
-
"mobileBarHeight": "--awsui-mobile-bar-height-
|
|
22
|
-
"notificationsHeight": "--awsui-notifications-height-
|
|
23
|
-
"offsetTop": "--awsui-offset-top-
|
|
24
|
-
"overlapHeight": "--awsui-overlap-height-
|
|
25
|
-
"navigationWidth": "--awsui-navigation-width-
|
|
26
|
-
"splitPanelReportedHeaderSize": "--awsui-split-panel-reported-header-size-
|
|
27
|
-
"splitPanelReportedSize": "--awsui-split-panel-reported-size-
|
|
28
|
-
"splitPanelHeight": "--awsui-split-panel-height-
|
|
29
|
-
"splitPanelMinWidth": "--awsui-split-panel-min-width-
|
|
30
|
-
"splitPanelMaxWidth": "--awsui-split-panel-max-width-
|
|
31
|
-
"toolsMaxWidth": "--awsui-tools-max-width-
|
|
32
|
-
"toolsWidth": "--awsui-tools-width-
|
|
33
|
-
"toolsAnimationStartingOpacity": "--awsui-tools-animation-starting-opacity-
|
|
34
|
-
"contentScrollMargin": "--awsui-content-scroll-margin-
|
|
35
|
-
"flashbarStackDepth": "--awsui-flashbar-stack-depth-
|
|
36
|
-
"flashbarStackIndex": "--awsui-flashbar-stack-index-
|
|
37
|
-
"flashbarStickyBottomMargin": "--awsui-flashbar-sticky-bottom-margin-
|
|
38
|
-
"stackedNotificationsBottomMargin": "--awsui-stacked-notifications-bottom-margin-
|
|
39
|
-
"stackedNotificationsDefaultBottomMargin": "--awsui-stacked-notifications-default-bottom-margin-
|
|
40
|
-
"dropdownDefaultMaxWidth": "--awsui-dropdown-default-max-width-
|
|
41
|
-
"spinnerRotatorFrom": "--awsui-spinner-rotator-from-
|
|
42
|
-
"spinnerRotatorTo": "--awsui-spinner-rotator-to-
|
|
43
|
-
"spinnerLineLeftFrom": "--awsui-spinner-line-left-from-
|
|
44
|
-
"spinnerLineLeftTo": "--awsui-spinner-line-left-to-
|
|
45
|
-
"spinnerLineRightFrom": "--awsui-spinner-line-right-from-
|
|
46
|
-
"spinnerLineRightTo": "--awsui-spinner-line-right-to-
|
|
47
|
-
"sliderLabelCount": "--awsui-slider-label-count-
|
|
48
|
-
"sliderTickCount": "--awsui-slider-tick-count-
|
|
49
|
-
"sliderReferenceColumn": "--awsui-slider-reference-column-
|
|
50
|
-
"sliderNextReferenceColumn": "--awsui-slider-next-reference-column-
|
|
51
|
-
"sliderMaxStart": "--awsui-slider-max-start-
|
|
52
|
-
"sliderMinEnd": "--awsui-slider-min-end-
|
|
53
|
-
"sliderRangeInlineSize": "--awsui-slider-range-inline-size-
|
|
54
|
-
"sliderTooltipPosition": "--awsui-slider-tooltip-position-
|
|
55
|
-
"togglesLeftWidth": "--awsui-toggles-left-width-
|
|
56
|
-
"togglesRightWidth": "--awsui-toggles-right-width-
|
|
2
|
+
"maxContentWidth": "--awsui-max-content-width-g964ok",
|
|
3
|
+
"minContentWidth": "--awsui-min-content-width-g964ok",
|
|
4
|
+
"breadcrumbsGap": "--awsui-breadcrumbs-gap-g964ok",
|
|
5
|
+
"contentGapLeft": "--awsui-content-gap-left-g964ok",
|
|
6
|
+
"contentGapRight": "--awsui-content-gap-right-g964ok",
|
|
7
|
+
"contentHeight": "--awsui-content-height-g964ok",
|
|
8
|
+
"contentLayoutDefaultHorizontalPadding": "--awsui-content-layout-default-horizontal-padding-g964ok",
|
|
9
|
+
"contentLayoutMaxContentWidth": "--awsui-content-layout-max-content-width-g964ok",
|
|
10
|
+
"contentLayoutMainGap": "--awsui-content-layout-main-gap-g964ok",
|
|
11
|
+
"defaultMaxContentWidth": "--awsui-default-max-content-width-g964ok",
|
|
12
|
+
"defaultMinContentWidth": "--awsui-default-min-content-width-g964ok",
|
|
13
|
+
"drawerSize": "--awsui-drawer-size-g964ok",
|
|
14
|
+
"footerHeight": "--awsui-footer-height-g964ok",
|
|
15
|
+
"headerGap": "--awsui-header-gap-g964ok",
|
|
16
|
+
"headerHeight": "--awsui-header-height-g964ok",
|
|
17
|
+
"layoutWidth": "--awsui-layout-width-g964ok",
|
|
18
|
+
"mainGap": "--awsui-main-gap-g964ok",
|
|
19
|
+
"mainOffsetLeft": "--awsui-main-offset-left-g964ok",
|
|
20
|
+
"mainTemplateRows": "--awsui-main-template-rows-g964ok",
|
|
21
|
+
"mobileBarHeight": "--awsui-mobile-bar-height-g964ok",
|
|
22
|
+
"notificationsHeight": "--awsui-notifications-height-g964ok",
|
|
23
|
+
"offsetTop": "--awsui-offset-top-g964ok",
|
|
24
|
+
"overlapHeight": "--awsui-overlap-height-g964ok",
|
|
25
|
+
"navigationWidth": "--awsui-navigation-width-g964ok",
|
|
26
|
+
"splitPanelReportedHeaderSize": "--awsui-split-panel-reported-header-size-g964ok",
|
|
27
|
+
"splitPanelReportedSize": "--awsui-split-panel-reported-size-g964ok",
|
|
28
|
+
"splitPanelHeight": "--awsui-split-panel-height-g964ok",
|
|
29
|
+
"splitPanelMinWidth": "--awsui-split-panel-min-width-g964ok",
|
|
30
|
+
"splitPanelMaxWidth": "--awsui-split-panel-max-width-g964ok",
|
|
31
|
+
"toolsMaxWidth": "--awsui-tools-max-width-g964ok",
|
|
32
|
+
"toolsWidth": "--awsui-tools-width-g964ok",
|
|
33
|
+
"toolsAnimationStartingOpacity": "--awsui-tools-animation-starting-opacity-g964ok",
|
|
34
|
+
"contentScrollMargin": "--awsui-content-scroll-margin-g964ok",
|
|
35
|
+
"flashbarStackDepth": "--awsui-flashbar-stack-depth-g964ok",
|
|
36
|
+
"flashbarStackIndex": "--awsui-flashbar-stack-index-g964ok",
|
|
37
|
+
"flashbarStickyBottomMargin": "--awsui-flashbar-sticky-bottom-margin-g964ok",
|
|
38
|
+
"stackedNotificationsBottomMargin": "--awsui-stacked-notifications-bottom-margin-g964ok",
|
|
39
|
+
"stackedNotificationsDefaultBottomMargin": "--awsui-stacked-notifications-default-bottom-margin-g964ok",
|
|
40
|
+
"dropdownDefaultMaxWidth": "--awsui-dropdown-default-max-width-g964ok",
|
|
41
|
+
"spinnerRotatorFrom": "--awsui-spinner-rotator-from-g964ok",
|
|
42
|
+
"spinnerRotatorTo": "--awsui-spinner-rotator-to-g964ok",
|
|
43
|
+
"spinnerLineLeftFrom": "--awsui-spinner-line-left-from-g964ok",
|
|
44
|
+
"spinnerLineLeftTo": "--awsui-spinner-line-left-to-g964ok",
|
|
45
|
+
"spinnerLineRightFrom": "--awsui-spinner-line-right-from-g964ok",
|
|
46
|
+
"spinnerLineRightTo": "--awsui-spinner-line-right-to-g964ok",
|
|
47
|
+
"sliderLabelCount": "--awsui-slider-label-count-g964ok",
|
|
48
|
+
"sliderTickCount": "--awsui-slider-tick-count-g964ok",
|
|
49
|
+
"sliderReferenceColumn": "--awsui-slider-reference-column-g964ok",
|
|
50
|
+
"sliderNextReferenceColumn": "--awsui-slider-next-reference-column-g964ok",
|
|
51
|
+
"sliderMaxStart": "--awsui-slider-max-start-g964ok",
|
|
52
|
+
"sliderMinEnd": "--awsui-slider-min-end-g964ok",
|
|
53
|
+
"sliderRangeInlineSize": "--awsui-slider-range-inline-size-g964ok",
|
|
54
|
+
"sliderTooltipPosition": "--awsui-slider-tooltip-position-g964ok",
|
|
55
|
+
"togglesLeftWidth": "--awsui-toggles-left-width-g964ok",
|
|
56
|
+
"togglesRightWidth": "--awsui-toggles-right-width-g964ok",
|
|
57
|
+
"promptInputMaxRows": "--awsui-prompt-input-max-rows-g964ok",
|
|
58
|
+
"promptInputScrollHeight": "--awsui-prompt-input-scroll-height-g964ok",
|
|
57
59
|
};
|
|
58
60
|
export default customCSSPropertiesMap;
|
|
59
61
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/generated/custom-css-properties/index.ts"],"names":[],"mappings":"AACM,MAAM,sBAAsB,GAAG;IAC7B,iBAAiB,EAAE,kCAAkC;IAC7D,iBAAiB,EAAE,kCAAkC;IACrD,gBAAgB,EAAE,gCAAgC;IAClD,gBAAgB,EAAE,iCAAiC;IACnD,iBAAiB,EAAE,kCAAkC;IACrD,eAAe,EAAE,+BAA+B;IAChD,uCAAuC,EAAE,0DAA0D;IACnG,8BAA8B,EAAE,iDAAiD;IACjF,sBAAsB,EAAE,wCAAwC;IAChE,wBAAwB,EAAE,0CAA0C;IACpE,wBAAwB,EAAE,0CAA0C;IACpE,YAAY,EAAE,4BAA4B;IAC1C,cAAc,EAAE,8BAA8B;IAC9C,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,8BAA8B;IAC9C,aAAa,EAAE,6BAA6B;IAC5C,SAAS,EAAE,yBAAyB;IACpC,gBAAgB,EAAE,iCAAiC;IACnD,kBAAkB,EAAE,mCAAmC;IACvD,iBAAiB,EAAE,kCAAkC;IACrD,qBAAqB,EAAE,qCAAqC;IAC5D,WAAW,EAAE,2BAA2B;IACxC,eAAe,EAAE,+BAA+B;IAChD,iBAAiB,EAAE,iCAAiC;IACpD,8BAA8B,EAAE,iDAAiD;IACjF,wBAAwB,EAAE,0CAA0C;IACpE,kBAAkB,EAAE,mCAAmC;IACvD,oBAAoB,EAAE,sCAAsC;IAC5D,oBAAoB,EAAE,sCAAsC;IAC5D,eAAe,EAAE,gCAAgC;IACjD,YAAY,EAAE,4BAA4B;IAC1C,+BAA+B,EAAE,iDAAiD;IAClF,qBAAqB,EAAE,sCAAsC;IAC7D,oBAAoB,EAAE,qCAAqC;IAC3D,oBAAoB,EAAE,qCAAqC;IAC3D,4BAA4B,EAAE,8CAA8C;IAC5E,kCAAkC,EAAE,oDAAoD;IACxF,yCAAyC,EAAE,4DAA4D;IACvG,yBAAyB,EAAE,2CAA2C;IACtE,oBAAoB,EAAE,qCAAqC;IAC3D,kBAAkB,EAAE,mCAAmC;IACvD,qBAAqB,EAAE,uCAAuC;IAC9D,mBAAmB,EAAE,qCAAqC;IAC1D,sBAAsB,EAAE,wCAAwC;IAChE,oBAAoB,EAAE,sCAAsC;IAC5D,kBAAkB,EAAE,mCAAmC;IACvD,iBAAiB,EAAE,kCAAkC;IACrD,uBAAuB,EAAE,wCAAwC;IACjE,2BAA2B,EAAE,6CAA6C;IAC1E,gBAAgB,EAAE,iCAAiC;IACnD,cAAc,EAAE,+BAA+B;IAC/C,uBAAuB,EAAE,yCAAyC;IAClE,uBAAuB,EAAE,wCAAwC;IACjE,kBAAkB,EAAE,mCAAmC;IACvD,mBAAmB,EAAE,oCAAoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/generated/custom-css-properties/index.ts"],"names":[],"mappings":"AACM,MAAM,sBAAsB,GAAG;IAC7B,iBAAiB,EAAE,kCAAkC;IAC7D,iBAAiB,EAAE,kCAAkC;IACrD,gBAAgB,EAAE,gCAAgC;IAClD,gBAAgB,EAAE,iCAAiC;IACnD,iBAAiB,EAAE,kCAAkC;IACrD,eAAe,EAAE,+BAA+B;IAChD,uCAAuC,EAAE,0DAA0D;IACnG,8BAA8B,EAAE,iDAAiD;IACjF,sBAAsB,EAAE,wCAAwC;IAChE,wBAAwB,EAAE,0CAA0C;IACpE,wBAAwB,EAAE,0CAA0C;IACpE,YAAY,EAAE,4BAA4B;IAC1C,cAAc,EAAE,8BAA8B;IAC9C,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,8BAA8B;IAC9C,aAAa,EAAE,6BAA6B;IAC5C,SAAS,EAAE,yBAAyB;IACpC,gBAAgB,EAAE,iCAAiC;IACnD,kBAAkB,EAAE,mCAAmC;IACvD,iBAAiB,EAAE,kCAAkC;IACrD,qBAAqB,EAAE,qCAAqC;IAC5D,WAAW,EAAE,2BAA2B;IACxC,eAAe,EAAE,+BAA+B;IAChD,iBAAiB,EAAE,iCAAiC;IACpD,8BAA8B,EAAE,iDAAiD;IACjF,wBAAwB,EAAE,0CAA0C;IACpE,kBAAkB,EAAE,mCAAmC;IACvD,oBAAoB,EAAE,sCAAsC;IAC5D,oBAAoB,EAAE,sCAAsC;IAC5D,eAAe,EAAE,gCAAgC;IACjD,YAAY,EAAE,4BAA4B;IAC1C,+BAA+B,EAAE,iDAAiD;IAClF,qBAAqB,EAAE,sCAAsC;IAC7D,oBAAoB,EAAE,qCAAqC;IAC3D,oBAAoB,EAAE,qCAAqC;IAC3D,4BAA4B,EAAE,8CAA8C;IAC5E,kCAAkC,EAAE,oDAAoD;IACxF,yCAAyC,EAAE,4DAA4D;IACvG,yBAAyB,EAAE,2CAA2C;IACtE,oBAAoB,EAAE,qCAAqC;IAC3D,kBAAkB,EAAE,mCAAmC;IACvD,qBAAqB,EAAE,uCAAuC;IAC9D,mBAAmB,EAAE,qCAAqC;IAC1D,sBAAsB,EAAE,wCAAwC;IAChE,oBAAoB,EAAE,sCAAsC;IAC5D,kBAAkB,EAAE,mCAAmC;IACvD,iBAAiB,EAAE,kCAAkC;IACrD,uBAAuB,EAAE,wCAAwC;IACjE,2BAA2B,EAAE,6CAA6C;IAC1E,gBAAgB,EAAE,iCAAiC;IACnD,cAAc,EAAE,+BAA+B;IAC/C,uBAAuB,EAAE,yCAAyC;IAClE,uBAAuB,EAAE,wCAAwC;IACjE,kBAAkB,EAAE,mCAAmC;IACvD,mBAAmB,EAAE,oCAAoC;IACzD,oBAAoB,EAAE,sCAAsC;IAC5D,yBAAyB,EAAE,2CAA2C;CAC/D,CAAC;AACF,eAAe,sBAAsB,CAAC","sourcesContent":["\n const customCSSPropertiesMap = {\n \"maxContentWidth\": \"--awsui-max-content-width-g964ok\",\n\"minContentWidth\": \"--awsui-min-content-width-g964ok\",\n\"breadcrumbsGap\": \"--awsui-breadcrumbs-gap-g964ok\",\n\"contentGapLeft\": \"--awsui-content-gap-left-g964ok\",\n\"contentGapRight\": \"--awsui-content-gap-right-g964ok\",\n\"contentHeight\": \"--awsui-content-height-g964ok\",\n\"contentLayoutDefaultHorizontalPadding\": \"--awsui-content-layout-default-horizontal-padding-g964ok\",\n\"contentLayoutMaxContentWidth\": \"--awsui-content-layout-max-content-width-g964ok\",\n\"contentLayoutMainGap\": \"--awsui-content-layout-main-gap-g964ok\",\n\"defaultMaxContentWidth\": \"--awsui-default-max-content-width-g964ok\",\n\"defaultMinContentWidth\": \"--awsui-default-min-content-width-g964ok\",\n\"drawerSize\": \"--awsui-drawer-size-g964ok\",\n\"footerHeight\": \"--awsui-footer-height-g964ok\",\n\"headerGap\": \"--awsui-header-gap-g964ok\",\n\"headerHeight\": \"--awsui-header-height-g964ok\",\n\"layoutWidth\": \"--awsui-layout-width-g964ok\",\n\"mainGap\": \"--awsui-main-gap-g964ok\",\n\"mainOffsetLeft\": \"--awsui-main-offset-left-g964ok\",\n\"mainTemplateRows\": \"--awsui-main-template-rows-g964ok\",\n\"mobileBarHeight\": \"--awsui-mobile-bar-height-g964ok\",\n\"notificationsHeight\": \"--awsui-notifications-height-g964ok\",\n\"offsetTop\": \"--awsui-offset-top-g964ok\",\n\"overlapHeight\": \"--awsui-overlap-height-g964ok\",\n\"navigationWidth\": \"--awsui-navigation-width-g964ok\",\n\"splitPanelReportedHeaderSize\": \"--awsui-split-panel-reported-header-size-g964ok\",\n\"splitPanelReportedSize\": \"--awsui-split-panel-reported-size-g964ok\",\n\"splitPanelHeight\": \"--awsui-split-panel-height-g964ok\",\n\"splitPanelMinWidth\": \"--awsui-split-panel-min-width-g964ok\",\n\"splitPanelMaxWidth\": \"--awsui-split-panel-max-width-g964ok\",\n\"toolsMaxWidth\": \"--awsui-tools-max-width-g964ok\",\n\"toolsWidth\": \"--awsui-tools-width-g964ok\",\n\"toolsAnimationStartingOpacity\": \"--awsui-tools-animation-starting-opacity-g964ok\",\n\"contentScrollMargin\": \"--awsui-content-scroll-margin-g964ok\",\n\"flashbarStackDepth\": \"--awsui-flashbar-stack-depth-g964ok\",\n\"flashbarStackIndex\": \"--awsui-flashbar-stack-index-g964ok\",\n\"flashbarStickyBottomMargin\": \"--awsui-flashbar-sticky-bottom-margin-g964ok\",\n\"stackedNotificationsBottomMargin\": \"--awsui-stacked-notifications-bottom-margin-g964ok\",\n\"stackedNotificationsDefaultBottomMargin\": \"--awsui-stacked-notifications-default-bottom-margin-g964ok\",\n\"dropdownDefaultMaxWidth\": \"--awsui-dropdown-default-max-width-g964ok\",\n\"spinnerRotatorFrom\": \"--awsui-spinner-rotator-from-g964ok\",\n\"spinnerRotatorTo\": \"--awsui-spinner-rotator-to-g964ok\",\n\"spinnerLineLeftFrom\": \"--awsui-spinner-line-left-from-g964ok\",\n\"spinnerLineLeftTo\": \"--awsui-spinner-line-left-to-g964ok\",\n\"spinnerLineRightFrom\": \"--awsui-spinner-line-right-from-g964ok\",\n\"spinnerLineRightTo\": \"--awsui-spinner-line-right-to-g964ok\",\n\"sliderLabelCount\": \"--awsui-slider-label-count-g964ok\",\n\"sliderTickCount\": \"--awsui-slider-tick-count-g964ok\",\n\"sliderReferenceColumn\": \"--awsui-slider-reference-column-g964ok\",\n\"sliderNextReferenceColumn\": \"--awsui-slider-next-reference-column-g964ok\",\n\"sliderMaxStart\": \"--awsui-slider-max-start-g964ok\",\n\"sliderMinEnd\": \"--awsui-slider-min-end-g964ok\",\n\"sliderRangeInlineSize\": \"--awsui-slider-range-inline-size-g964ok\",\n\"sliderTooltipPosition\": \"--awsui-slider-tooltip-position-g964ok\",\n\"togglesLeftWidth\": \"--awsui-toggles-left-width-g964ok\",\n\"togglesRightWidth\": \"--awsui-toggles-right-width-g964ok\",\n\"promptInputMaxRows\": \"--awsui-prompt-input-max-rows-g964ok\",\n\"promptInputScrollHeight\": \"--awsui-prompt-input-scroll-height-g964ok\",\n };\n export default customCSSPropertiesMap;\n "]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,sBAAsB,EAGvB,MAAM,+CAA+C,CAAC;AAIvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,MAAM,WAAW,0BAA0B,CAAC,CAAC,GAAG,GAAG;IACjD,iBAAiB,CAAC,EAAE,gBAAgB,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CACvD;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,GAAG,GAAG,EAC9C,aAAa,EAAE,MAAM,EACrB,MAAM,CAAC,EAAE,sBAAsB,EAC/B,iBAAiB,CAAC,EAAE,iBAAiB;;EAMtC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { useComponentMetadata } from '@cloudscape-design/component-toolkit/internal';
|
|
1
|
+
import { useComponentMetadata, useFocusVisible, } from '@cloudscape-design/component-toolkit/internal';
|
|
2
2
|
import { useTelemetry } from '../use-telemetry';
|
|
3
3
|
import { PACKAGE_VERSION } from '../../environment';
|
|
4
|
-
import useFocusVisible from '../focus-visible';
|
|
5
4
|
/**
|
|
6
5
|
* This hook is used for components which are exported to customers. The returned __internalRootRef needs to be
|
|
7
6
|
* attached to the (internal) component's root DOM node. The hook takes care of attaching the metadata to this
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,oBAAoB,EACpB,eAAe,GAChB,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,aAAqB,EACrB,MAA+B,EAC/B,iBAAqC;IAErC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IACpC,eAAe,EAAE,CAAC;IAClB,MAAM,UAAU,GAAG,oBAAoB,CAAI,aAAa,EAAE,eAAe,oBAAO,iBAAiB,EAAG,CAAC;IACrG,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAC3C,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { MutableRefObject } from 'react';\nimport {\n ComponentConfiguration,\n useComponentMetadata,\n useFocusVisible,\n} from '@cloudscape-design/component-toolkit/internal';\n\nimport { useTelemetry } from '../use-telemetry';\nimport { PACKAGE_VERSION } from '../../environment';\nimport { AnalyticsMetadata } from '../../analytics/interfaces';\n\nexport interface InternalBaseComponentProps<T = any> {\n __internalRootRef?: MutableRefObject<T | null> | null;\n}\n\n/**\n * This hook is used for components which are exported to customers. The returned __internalRootRef needs to be\n * attached to the (internal) component's root DOM node. The hook takes care of attaching the metadata to this\n * root DOM node and emits the telemetry for this component.\n */\nexport default function useBaseComponent<T = any>(\n componentName: string,\n config?: ComponentConfiguration,\n analyticsMetadata?: AnalyticsMetadata\n) {\n useTelemetry(componentName, config);\n useFocusVisible();\n const elementRef = useComponentMetadata<T>(componentName, PACKAGE_VERSION, { ...analyticsMetadata });\n return { __internalRootRef: elementRef };\n}\n"]}
|
package/internal/manifest.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle-index.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/circle-index.ts"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAQ/E"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
// Returns given index if it is in range or the opposite range boundary otherwise.
|
|
4
|
+
export function circleIndex(index, [from, to]) {
|
|
5
|
+
if (index < from) {
|
|
6
|
+
return to;
|
|
7
|
+
}
|
|
8
|
+
if (index > to) {
|
|
9
|
+
return from;
|
|
10
|
+
}
|
|
11
|
+
return index;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=circle-index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle-index.js","sourceRoot":"","sources":["../../../../src/internal/utils/circle-index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,kFAAkF;AAClF,MAAM,UAAU,WAAW,CAAC,KAAa,EAAE,CAAC,IAAI,EAAE,EAAE,CAAmB;IACrE,IAAI,KAAK,GAAG,IAAI,EAAE;QAChB,OAAO,EAAE,CAAC;KACX;IACD,IAAI,KAAK,GAAG,EAAE,EAAE;QACd,OAAO,IAAI,CAAC;KACb;IACD,OAAO,KAAK,CAAC;AACf,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n// Returns given index if it is in range or the opposite range boundary otherwise.\nexport function circleIndex(index: number, [from, to]: [number, number]): number {\n if (index < from) {\n return to;\n }\n if (index > to) {\n return from;\n }\n return index;\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { KeyValuePairsProps } from './interfaces';
|
|
3
3
|
export { KeyValuePairsProps };
|
|
4
|
-
export default function KeyValuePairs({ columns, items, ...rest }: KeyValuePairsProps): JSX.Element;
|
|
4
|
+
export default function KeyValuePairs({ columns, items, ariaLabel, ariaLabelledby, ...rest }: KeyValuePairsProps): JSX.Element;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/key-value-pairs/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGlD,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE9B,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,OAAW,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/key-value-pairs/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGlD,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE9B,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,OAAW,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,EAAE,kBAAkB,eAgBnH"}
|
package/key-value-pairs/index.js
CHANGED
|
@@ -7,12 +7,12 @@ import { applyDisplayName } from '../internal/utils/apply-display-name';
|
|
|
7
7
|
import useBaseComponent from '../internal/hooks/use-base-component';
|
|
8
8
|
import InternalKeyValuePairs from './internal';
|
|
9
9
|
export default function KeyValuePairs(_a) {
|
|
10
|
-
var { columns = 1, items } = _a, rest = __rest(_a, ["columns", "items"]);
|
|
10
|
+
var { columns = 1, items, ariaLabel, ariaLabelledby } = _a, rest = __rest(_a, ["columns", "items", "ariaLabel", "ariaLabelledby"]);
|
|
11
11
|
const { __internalRootRef } = useBaseComponent('KeyValuePairs', {
|
|
12
12
|
props: { columns },
|
|
13
13
|
});
|
|
14
14
|
const baseProps = getBaseProps(rest);
|
|
15
|
-
return React.createElement(InternalKeyValuePairs, Object.assign({ columns: columns, items: items }, baseProps, { ref: __internalRootRef }));
|
|
15
|
+
return (React.createElement(InternalKeyValuePairs, Object.assign({ columns: columns, items: items, ariaLabel: ariaLabel, ariaLabelledby: ariaLabelledby }, baseProps, { ref: __internalRootRef })));
|
|
16
16
|
}
|
|
17
17
|
applyDisplayName(KeyValuePairs, 'KeyValuePairs');
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/key-value-pairs/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AAEpE,OAAO,qBAAqB,MAAM,YAAY,CAAC;AAI/C,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/key-value-pairs/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AAEpE,OAAO,qBAAqB,MAAM,YAAY,CAAC;AAI/C,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAA8E;QAA9E,EAAE,OAAO,GAAG,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,OAA+B,EAA1B,IAAI,cAAxD,mDAA0D,CAAF;IAC5F,MAAM,EAAE,iBAAiB,EAAE,GAAG,gBAAgB,CAAC,eAAe,EAAE;QAC9D,KAAK,EAAE,EAAE,OAAO,EAAE;KACnB,CAAC,CAAC;IACH,MAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IAErC,OAAO,CACL,oBAAC,qBAAqB,kBACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,cAAc,IAC1B,SAAS,IACb,GAAG,EAAE,iBAAiB,IACtB,CACH,CAAC;AACJ,CAAC;AAED,gBAAgB,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { getBaseProps } from '../internal/base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { KeyValuePairsProps } from './interfaces';\nimport InternalKeyValuePairs from './internal';\n\nexport { KeyValuePairsProps };\n\nexport default function KeyValuePairs({ columns = 1, items, ariaLabel, ariaLabelledby, ...rest }: KeyValuePairsProps) {\n const { __internalRootRef } = useBaseComponent('KeyValuePairs', {\n props: { columns },\n });\n const baseProps = getBaseProps(rest);\n\n return (\n <InternalKeyValuePairs\n columns={columns}\n items={items}\n ariaLabel={ariaLabel}\n ariaLabelledby={ariaLabelledby}\n {...baseProps}\n ref={__internalRootRef}\n />\n );\n}\n\napplyDisplayName(KeyValuePairs, 'KeyValuePairs');\n"]}
|
|
@@ -24,6 +24,17 @@ export interface KeyValuePairsProps extends BaseComponentProps {
|
|
|
24
24
|
* key-value pair items.
|
|
25
25
|
*/
|
|
26
26
|
items: ReadonlyArray<KeyValuePairsProps.Item>;
|
|
27
|
+
/**
|
|
28
|
+
* Provides an `aria-label` to the Key-value pairs container.
|
|
29
|
+
* Don't use `ariaLabel` and `ariaLabelledby` at the same time.
|
|
30
|
+
*/
|
|
31
|
+
ariaLabel?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Sets the `aria-labelledby` property on the Key-value pairs container.
|
|
34
|
+
* If there's a visible label element that you can reference, use this instead of `ariaLabel`.
|
|
35
|
+
* Don't use `ariaLabel` and `ariaLabelledby` at the same time.
|
|
36
|
+
*/
|
|
37
|
+
ariaLabelledby?: string;
|
|
27
38
|
}
|
|
28
39
|
export declare namespace KeyValuePairsProps {
|
|
29
40
|
type Item = Group | Pair;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/key-value-pairs/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,EAAE,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/key-value-pairs/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,EAAE,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC9C;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,yBAAiB,kBAAkB,CAAC;IAClC,KAAY,IAAI,GAAG,KAAK,GAAG,IAAI,CAAC;IAEhC,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC;KAC5B;IAED,UAAiB,IAAK,SAAQ,kBAAkB;QAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;QACvB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KACxB;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/key-value-pairs/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport React from 'react';\n\nexport interface KeyValuePairsProps extends BaseComponentProps {\n /**\n * Specifies the number of columns in each grid row.\n * Valid values are any integer between 1 and 4. It defaults to 1.\n */\n columns?: number;\n /**\n * An array of either key-value pairs individual items or groups.\n * They could be combined.\n * Each item has `type` prop, which might be either `group` or `pair`. Defaults to `pair` if not specified.\n *\n * Each key-value pair definition has the following properties:\n * * `type` (string) - (Optional) Item type (pair).\n * * `label` (string) - The key label.\n * * `info` (React.ReactNode) - (Optional) Area next to the key to display an info link.\n * * `value` (React.ReactNode) - The corresponding value for the key.\n *\n * Each group definition has the following properties:\n * * `type` (string) - Item type (group).\n * * `title` (string) - (Optional) An optional title for this column.\n * * `items` (ReadonlyArray<KeyValuePairProps.KeyValuePair>) - An array of\n * key-value pair items.\n */\n items: ReadonlyArray<KeyValuePairsProps.Item>;\n}\n\nexport namespace KeyValuePairsProps {\n export type Item = Group | Pair;\n\n export interface Group {\n type: 'group';\n title?: string;\n items: ReadonlyArray<Pair>;\n }\n\n export interface Pair extends BaseComponentProps {\n type?: 'pair';\n label: string;\n value: React.ReactNode;\n info?: React.ReactNode;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/key-value-pairs/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport React from 'react';\n\nexport interface KeyValuePairsProps extends BaseComponentProps {\n /**\n * Specifies the number of columns in each grid row.\n * Valid values are any integer between 1 and 4. It defaults to 1.\n */\n columns?: number;\n /**\n * An array of either key-value pairs individual items or groups.\n * They could be combined.\n * Each item has `type` prop, which might be either `group` or `pair`. Defaults to `pair` if not specified.\n *\n * Each key-value pair definition has the following properties:\n * * `type` (string) - (Optional) Item type (pair).\n * * `label` (string) - The key label.\n * * `info` (React.ReactNode) - (Optional) Area next to the key to display an info link.\n * * `value` (React.ReactNode) - The corresponding value for the key.\n *\n * Each group definition has the following properties:\n * * `type` (string) - Item type (group).\n * * `title` (string) - (Optional) An optional title for this column.\n * * `items` (ReadonlyArray<KeyValuePairProps.KeyValuePair>) - An array of\n * key-value pair items.\n */\n items: ReadonlyArray<KeyValuePairsProps.Item>;\n /**\n * Provides an `aria-label` to the Key-value pairs container.\n * Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n /**\n * Sets the `aria-labelledby` property on the Key-value pairs container.\n * If there's a visible label element that you can reference, use this instead of `ariaLabel`.\n * Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n}\n\nexport namespace KeyValuePairsProps {\n export type Item = Group | Pair;\n\n export interface Group {\n type: 'group';\n title?: string;\n items: ReadonlyArray<Pair>;\n }\n\n export interface Pair extends BaseComponentProps {\n type?: 'pair';\n label: string;\n value: React.ReactNode;\n info?: React.ReactNode;\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/key-value-pairs/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAgClD,QAAA,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/key-value-pairs/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAgClD,QAAA,MAAM,qBAAqB,2IA8D1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|