@cloudscape-design/components-themeable 3.0.1304 → 3.0.1306
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/app-layout/visual-refresh-toolbar/skeleton/styles.scss +58 -0
- package/lib/internal/scss/calendar/calendar.scss +1 -1
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/toggle-button/styles.scss +4 -0
- package/lib/internal/scss/truncated-text/styles.scss +26 -0
- package/lib/internal/scss/truncated-text/test-classes/styles.scss +8 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +29 -27
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +115 -46
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +29 -27
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.js +3 -3
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.js +2 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js +5 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js.map +1 -1
- package/lib/internal/template/calendar/styles.css.js +21 -21
- package/lib/internal/template/calendar/styles.scoped.css +44 -44
- package/lib/internal/template/calendar/styles.selectors.js +21 -21
- package/lib/internal/template/collection-preferences/content-display/index.d.ts.map +1 -1
- package/lib/internal/template/collection-preferences/content-display/index.js +1 -1
- package/lib/internal/template/collection-preferences/content-display/index.js.map +1 -1
- package/lib/internal/template/container/interfaces.d.ts +0 -1
- package/lib/internal/template/container/interfaces.d.ts.map +1 -1
- package/lib/internal/template/container/interfaces.js.map +1 -1
- package/lib/internal/template/date-range-picker/calendar/grids/styles.css.js +30 -30
- package/lib/internal/template/date-range-picker/calendar/grids/styles.scoped.css +56 -56
- package/lib/internal/template/date-range-picker/calendar/grids/styles.selectors.js +30 -30
- package/lib/internal/template/dropdown/index.d.ts +0 -3
- package/lib/internal/template/dropdown/index.d.ts.map +1 -1
- package/lib/internal/template/dropdown/index.js +0 -3
- package/lib/internal/template/dropdown/index.js.map +1 -1
- package/lib/internal/template/i18n/messages/all.all.js +1 -1
- package/lib/internal/template/i18n/messages/all.all.json +1 -1
- package/lib/internal/template/i18n/messages/all.ar.js +1 -1
- package/lib/internal/template/i18n/messages/all.ar.json +1 -1
- package/lib/internal/template/i18n/messages/all.de.js +1 -1
- package/lib/internal/template/i18n/messages/all.de.json +1 -1
- package/lib/internal/template/i18n/messages/all.en-GB.js +1 -1
- package/lib/internal/template/i18n/messages/all.en-GB.json +1 -1
- package/lib/internal/template/i18n/messages/all.en.js +1 -1
- package/lib/internal/template/i18n/messages/all.en.json +1 -1
- package/lib/internal/template/i18n/messages/all.es.js +1 -1
- package/lib/internal/template/i18n/messages/all.es.json +1 -1
- package/lib/internal/template/i18n/messages/all.fr.js +1 -1
- package/lib/internal/template/i18n/messages/all.fr.json +1 -1
- package/lib/internal/template/i18n/messages/all.id.js +1 -1
- package/lib/internal/template/i18n/messages/all.id.json +1 -1
- package/lib/internal/template/i18n/messages/all.it.js +1 -1
- package/lib/internal/template/i18n/messages/all.it.json +1 -1
- package/lib/internal/template/i18n/messages/all.ja.js +1 -1
- package/lib/internal/template/i18n/messages/all.ja.json +1 -1
- package/lib/internal/template/i18n/messages/all.ko.js +1 -1
- package/lib/internal/template/i18n/messages/all.ko.json +1 -1
- package/lib/internal/template/i18n/messages/all.pt-BR.js +1 -1
- package/lib/internal/template/i18n/messages/all.pt-BR.json +1 -1
- package/lib/internal/template/i18n/messages/all.zh-CN.js +1 -1
- package/lib/internal/template/i18n/messages/all.zh-CN.json +1 -1
- package/lib/internal/template/i18n/messages/all.zh-TW.js +1 -1
- package/lib/internal/template/i18n/messages/all.zh-TW.json +1 -1
- package/lib/internal/template/icon-provider/index.d.ts +0 -3
- package/lib/internal/template/icon-provider/index.d.ts.map +1 -1
- package/lib/internal/template/icon-provider/index.js +0 -3
- package/lib/internal/template/icon-provider/index.js.map +1 -1
- package/lib/internal/template/index.d.ts +1 -0
- package/lib/internal/template/index.d.ts.map +1 -1
- package/lib/internal/template/index.js +1 -0
- package/lib/internal/template/index.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +16 -2
- package/lib/internal/template/internal/components/drag-handle/button.d.ts.map +1 -1
- package/lib/internal/template/internal/components/drag-handle/button.js +1 -1
- package/lib/internal/template/internal/components/drag-handle/button.js.map +1 -1
- package/lib/internal/template/internal/components/sortable-area/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/sortable-area/index.js +1 -0
- package/lib/internal/template/internal/components/sortable-area/index.js.map +1 -1
- package/lib/internal/template/internal/environment.d.ts +2 -1
- package/lib/internal/template/internal/environment.js +4 -3
- package/lib/internal/template/internal/environment.json +4 -3
- package/lib/internal/template/internal/generated/styles/tokens.d.ts +2 -0
- package/lib/internal/template/internal/generated/styles/tokens.js +2 -0
- package/lib/internal/template/internal/generated/theming/index.cjs +68 -0
- package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +27 -0
- package/lib/internal/template/internal/generated/theming/index.d.ts +27 -0
- package/lib/internal/template/internal/generated/theming/index.js +68 -0
- package/lib/internal/template/navigable-group/index.d.ts +0 -3
- package/lib/internal/template/navigable-group/index.d.ts.map +1 -1
- package/lib/internal/template/navigable-group/index.js +0 -3
- package/lib/internal/template/navigable-group/index.js.map +1 -1
- package/lib/internal/template/package.json +1 -0
- package/lib/internal/template/radio-button/index.d.ts +0 -3
- package/lib/internal/template/radio-button/index.d.ts.map +1 -1
- package/lib/internal/template/radio-button/index.js +0 -3
- package/lib/internal/template/radio-button/index.js.map +1 -1
- package/lib/internal/template/test-utils/dom/index.d.ts +28 -0
- package/lib/internal/template/test-utils/dom/index.js +20 -1
- package/lib/internal/template/test-utils/dom/index.js.map +1 -1
- package/lib/internal/template/test-utils/dom/truncated-text/index.d.ts +6 -0
- package/lib/internal/template/test-utils/dom/truncated-text/index.js +17 -0
- package/lib/internal/template/test-utils/dom/truncated-text/index.js.map +1 -0
- package/lib/internal/template/test-utils/selectors/index.d.ts +18 -0
- package/lib/internal/template/test-utils/selectors/index.js +15 -1
- package/lib/internal/template/test-utils/selectors/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/truncated-text/index.d.ts +6 -0
- package/lib/internal/template/test-utils/selectors/truncated-text/index.js +17 -0
- package/lib/internal/template/test-utils/selectors/truncated-text/index.js.map +1 -0
- package/lib/internal/template/toggle-button/styles.css.js +3 -3
- package/lib/internal/template/toggle-button/styles.scoped.css +6 -2
- package/lib/internal/template/toggle-button/styles.selectors.js +3 -3
- package/lib/internal/template/truncated-text/index.d.ts +4 -0
- package/lib/internal/template/truncated-text/index.d.ts.map +1 -0
- package/lib/internal/template/truncated-text/index.js +18 -0
- package/lib/internal/template/truncated-text/index.js.map +1 -0
- package/lib/internal/template/truncated-text/interfaces.d.ts +17 -0
- package/lib/internal/template/truncated-text/interfaces.d.ts.map +1 -0
- package/lib/internal/template/truncated-text/interfaces.js +2 -0
- package/lib/internal/template/truncated-text/interfaces.js.map +1 -0
- package/lib/internal/template/truncated-text/internal.d.ts +6 -0
- package/lib/internal/template/truncated-text/internal.d.ts.map +1 -0
- package/lib/internal/template/truncated-text/internal.js +47 -0
- package/lib/internal/template/truncated-text/internal.js.map +1 -0
- package/lib/internal/template/truncated-text/styles.css.js +6 -0
- package/lib/internal/template/truncated-text/styles.scoped.css +177 -0
- package/lib/internal/template/truncated-text/styles.selectors.js +7 -0
- package/lib/internal/template/truncated-text/test-classes/styles.css.js +6 -0
- package/lib/internal/template/truncated-text/test-classes/styles.scoped.css +7 -0
- package/lib/internal/template/truncated-text/test-classes/styles.selectors.js +7 -0
- package/package.json +1 -1
|
@@ -146,19 +146,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
146
146
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
147
147
|
SPDX-License-Identifier: Apache-2.0
|
|
148
148
|
*/
|
|
149
|
-
.
|
|
149
|
+
.awsui_grid_1mfbn_1vm0p_149:not(#\9) {
|
|
150
150
|
inline-size: var(--size-calendar-grid-width-goqv80, 234px);
|
|
151
151
|
border-spacing: 0;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.awsui_grid-
|
|
154
|
+
.awsui_grid-cell_1mfbn_1vm0p_154:not(#\9) {
|
|
155
155
|
inline-size: 14.2857142857%;
|
|
156
156
|
word-break: break-word;
|
|
157
157
|
text-align: center;
|
|
158
158
|
font-weight: unset;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.awsui_day-
|
|
161
|
+
.awsui_day-header_1mfbn_1vm0p_161:not(#\9) {
|
|
162
162
|
padding-block-start: var(--space-s-4a5hs8, 12px);
|
|
163
163
|
padding-block-end: var(--space-xxs-jnczic, 4px);
|
|
164
164
|
padding-inline: 0;
|
|
@@ -168,8 +168,8 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
168
168
|
letter-spacing: var(--letter-spacing-body-s-egrcsd, normal);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.
|
|
172
|
-
.
|
|
171
|
+
.awsui_day_1mfbn_1vm0p_161:not(#\9),
|
|
172
|
+
.awsui_month_1mfbn_1vm0p_172:not(#\9) {
|
|
173
173
|
border-block-end: 1px solid var(--color-border-calendar-grid-zrkvhb, #eaeded);
|
|
174
174
|
border-inline-end: 1px solid var(--color-border-calendar-grid-zrkvhb, #eaeded);
|
|
175
175
|
padding-block: var(--space-xxs-jnczic, 4px);
|
|
@@ -177,12 +177,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
177
177
|
color: var(--color-text-dropdown-item-disabled-oysy8n, #aab7b8);
|
|
178
178
|
position: relative;
|
|
179
179
|
}
|
|
180
|
-
.
|
|
181
|
-
.
|
|
180
|
+
.awsui_day_1mfbn_1vm0p_161:not(#\9):focus,
|
|
181
|
+
.awsui_month_1mfbn_1vm0p_172:not(#\9):focus {
|
|
182
182
|
outline: none;
|
|
183
183
|
}
|
|
184
|
-
.
|
|
185
|
-
.
|
|
184
|
+
.awsui_day_1mfbn_1vm0p_161:not(#\9)::after,
|
|
185
|
+
.awsui_month_1mfbn_1vm0p_172:not(#\9)::after {
|
|
186
186
|
content: "";
|
|
187
187
|
position: absolute;
|
|
188
188
|
z-index: 1;
|
|
@@ -192,18 +192,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
192
192
|
inset-inline-end: calc(-1 * var(--border-item-width-acvlhx, 1px));
|
|
193
193
|
background-color: transparent;
|
|
194
194
|
}
|
|
195
|
-
body[data-awsui-focus-visible=true] .
|
|
196
|
-
body[data-awsui-focus-visible=true] .
|
|
195
|
+
body[data-awsui-focus-visible=true] .awsui_day_1mfbn_1vm0p_161:not(#\9):focus,
|
|
196
|
+
body[data-awsui-focus-visible=true] .awsui_month_1mfbn_1vm0p_172:not(#\9):focus {
|
|
197
197
|
z-index: 2;
|
|
198
198
|
position: relative;
|
|
199
199
|
}
|
|
200
|
-
body[data-awsui-focus-visible=true] .
|
|
201
|
-
body[data-awsui-focus-visible=true] .
|
|
200
|
+
body[data-awsui-focus-visible=true] .awsui_day_1mfbn_1vm0p_161:not(#\9):focus,
|
|
201
|
+
body[data-awsui-focus-visible=true] .awsui_month_1mfbn_1vm0p_172:not(#\9):focus {
|
|
202
202
|
outline: 2px dotted transparent;
|
|
203
203
|
outline-offset: calc(var(--space-calendar-grid-focus-outline-gutter-e14r1f, 0px) - 1px);
|
|
204
204
|
}
|
|
205
|
-
body[data-awsui-focus-visible=true] .
|
|
206
|
-
body[data-awsui-focus-visible=true] .
|
|
205
|
+
body[data-awsui-focus-visible=true] .awsui_day_1mfbn_1vm0p_161:not(#\9):focus::before,
|
|
206
|
+
body[data-awsui-focus-visible=true] .awsui_month_1mfbn_1vm0p_172:not(#\9):focus::before {
|
|
207
207
|
content: " ";
|
|
208
208
|
display: block;
|
|
209
209
|
position: absolute;
|
|
@@ -217,59 +217,59 @@ body[data-awsui-focus-visible=true] .awsui_month_1mfbn_1jv0q_172:not(#\9):focus:
|
|
|
217
217
|
border-end-end-radius: var(--border-radius-calendar-day-focus-ring-1443fe, 2px);
|
|
218
218
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
|
|
219
219
|
}
|
|
220
|
-
.
|
|
221
|
-
.
|
|
222
|
-
.
|
|
223
|
-
.
|
|
220
|
+
.awsui_day_1mfbn_1vm0p_161 > .awsui_day-inner_1mfbn_1vm0p_220:not(#\9),
|
|
221
|
+
.awsui_day_1mfbn_1vm0p_161 > .awsui_month-inner_1mfbn_1vm0p_221:not(#\9),
|
|
222
|
+
.awsui_month_1mfbn_1vm0p_172 > .awsui_day-inner_1mfbn_1vm0p_220:not(#\9),
|
|
223
|
+
.awsui_month_1mfbn_1vm0p_172 > .awsui_month-inner_1mfbn_1vm0p_221:not(#\9) {
|
|
224
224
|
position: relative;
|
|
225
225
|
z-index: 1;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
.awsui_in-first-
|
|
229
|
-
.awsui_in-first-
|
|
228
|
+
.awsui_in-first-row_1mfbn_1vm0p_228:not(#\9):not(.awsui_in-previous-month_1mfbn_1vm0p_228),
|
|
229
|
+
.awsui_in-first-row_1mfbn_1vm0p_228:not(#\9):not(.awsui_in-previous-year_1mfbn_1vm0p_229) {
|
|
230
230
|
border-block-start: 1px solid var(--color-border-calendar-grid-zrkvhb, #eaeded);
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
.awsui_in-previous-
|
|
234
|
-
.awsui_in-previous-
|
|
233
|
+
.awsui_in-previous-month_1mfbn_1vm0p_228:not(#\9):not(.awsui_last-day-of-month_1mfbn_1vm0p_233),
|
|
234
|
+
.awsui_in-previous-year_1mfbn_1vm0p_229:not(#\9):not(.awsui_last-month-of-year_1mfbn_1vm0p_234) {
|
|
235
235
|
border-inline-end-color: transparent;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
.awsui_in-next-
|
|
239
|
-
.awsui_in-next-
|
|
238
|
+
.awsui_in-next-month_1mfbn_1vm0p_238:not(#\9),
|
|
239
|
+
.awsui_in-next-year_1mfbn_1vm0p_239:not(#\9) {
|
|
240
240
|
border-color: transparent;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
.awsui_in-first-
|
|
243
|
+
.awsui_in-first-column_1mfbn_1vm0p_243:not(#\9) {
|
|
244
244
|
border-inline-start: 1px solid 1px solid var(--color-border-calendar-grid-zrkvhb, #eaeded);
|
|
245
245
|
}
|
|
246
|
-
.awsui_in-first-
|
|
246
|
+
.awsui_in-first-column_1mfbn_1vm0p_243.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-month_1mfbn_1vm0p_246:not(#\9), .awsui_in-first-column_1mfbn_1vm0p_243.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-year_1mfbn_1vm0p_246:not(#\9) {
|
|
247
247
|
border-inline-start: 1px solid var(--color-border-calendar-grid-zrkvhb, #eaeded);
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
.
|
|
250
|
+
.awsui_enabled_1mfbn_1vm0p_250:not(#\9) {
|
|
251
251
|
cursor: pointer;
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
.awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-month_1mfbn_1vm0p_246:not(#\9), .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-year_1mfbn_1vm0p_246:not(#\9) {
|
|
254
254
|
color: var(--color-text-dropdown-item-default-a6mvc9, #16191f);
|
|
255
255
|
}
|
|
256
|
-
.
|
|
256
|
+
.awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-month_1mfbn_1vm0p_246:not(#\9):not(.awsui_in-range_1mfbn_1vm0p_256), .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-month_1mfbn_1vm0p_246:not(#\9):not(.awsui_in-range_1mfbn_1vm0p_256)::after, .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-month_1mfbn_1vm0p_246.awsui_end-date_1mfbn_1vm0p_256.awsui_start-date_1mfbn_1vm0p_256:not(#\9), .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-month_1mfbn_1vm0p_246.awsui_end-date_1mfbn_1vm0p_256.awsui_start-date_1mfbn_1vm0p_256:not(#\9)::after, .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-month_1mfbn_1vm0p_246.awsui_no-range_1mfbn_1vm0p_256:not(#\9), .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-month_1mfbn_1vm0p_246.awsui_no-range_1mfbn_1vm0p_256:not(#\9)::after, .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-year_1mfbn_1vm0p_246:not(#\9):not(.awsui_in-range_1mfbn_1vm0p_256), .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-year_1mfbn_1vm0p_246:not(#\9):not(.awsui_in-range_1mfbn_1vm0p_256)::after, .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-year_1mfbn_1vm0p_246.awsui_end-date_1mfbn_1vm0p_256.awsui_start-date_1mfbn_1vm0p_256:not(#\9), .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-year_1mfbn_1vm0p_246.awsui_end-date_1mfbn_1vm0p_256.awsui_start-date_1mfbn_1vm0p_256:not(#\9)::after, .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-year_1mfbn_1vm0p_246.awsui_no-range_1mfbn_1vm0p_256:not(#\9), .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-year_1mfbn_1vm0p_246.awsui_no-range_1mfbn_1vm0p_256:not(#\9)::after {
|
|
257
257
|
border-start-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
258
258
|
border-start-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
259
259
|
border-end-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
260
260
|
border-end-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
261
261
|
}
|
|
262
|
-
.
|
|
262
|
+
.awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-month_1mfbn_1vm0p_246:not(#\9):hover, .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-year_1mfbn_1vm0p_246:not(#\9):hover {
|
|
263
263
|
color: var(--color-text-calendar-date-hover-79yvmk, #16191f);
|
|
264
264
|
background-color: var(--color-background-dropdown-item-hover-353r6f, #f2f3f3);
|
|
265
265
|
}
|
|
266
|
-
.
|
|
266
|
+
.awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-month_1mfbn_1vm0p_246:not(#\9):hover:not(.awsui_selected_1mfbn_1vm0p_266)::after, .awsui_enabled_1mfbn_1vm0p_250.awsui_in-visible-calendar_1mfbn_1vm0p_246.awsui_in-current-year_1mfbn_1vm0p_246:not(#\9):hover:not(.awsui_selected_1mfbn_1vm0p_266)::after {
|
|
267
267
|
border-block: var(--border-item-width-acvlhx, 1px) solid var(--color-border-dropdown-item-hover-vony6u, #879596);
|
|
268
268
|
border-inline: var(--border-item-width-acvlhx, 1px) solid var(--color-border-dropdown-item-hover-vony6u, #879596);
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
.
|
|
272
|
-
.awsui_this-
|
|
271
|
+
.awsui_today_1mfbn_1vm0p_271:not(#\9):not(.awsui_in-range_1mfbn_1vm0p_256),
|
|
272
|
+
.awsui_this-month_1mfbn_1vm0p_272:not(#\9):not(.awsui_in-range_1mfbn_1vm0p_256) {
|
|
273
273
|
background-color: var(--color-background-calendar-current-date-62569q, #f2f3f3);
|
|
274
274
|
border-start-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
275
275
|
border-start-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
@@ -278,20 +278,20 @@ body[data-awsui-focus-visible=true] .awsui_month_1mfbn_1jv0q_172:not(#\9):focus:
|
|
|
278
278
|
font-weight: var(--font-weight-bold-p16d06, 700);
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
-
.
|
|
281
|
+
.awsui_selected_1mfbn_1vm0p_266:not(#\9) {
|
|
282
282
|
border-color: transparent;
|
|
283
283
|
position: relative;
|
|
284
284
|
z-index: 2;
|
|
285
285
|
font-weight: var(--font-weight-bold-p16d06, 700);
|
|
286
286
|
}
|
|
287
|
-
body[data-awsui-focus-visible=true] .
|
|
287
|
+
body[data-awsui-focus-visible=true] .awsui_selected_1mfbn_1vm0p_266:not(#\9):focus {
|
|
288
288
|
position: relative;
|
|
289
289
|
}
|
|
290
|
-
body[data-awsui-focus-visible=true] .
|
|
290
|
+
body[data-awsui-focus-visible=true] .awsui_selected_1mfbn_1vm0p_266:not(#\9):focus {
|
|
291
291
|
outline: 2px dotted transparent;
|
|
292
292
|
outline-offset: calc(var(--space-calendar-grid-selected-focus-outline-gutter-mo0w76, 2px) - 1px);
|
|
293
293
|
}
|
|
294
|
-
body[data-awsui-focus-visible=true] .
|
|
294
|
+
body[data-awsui-focus-visible=true] .awsui_selected_1mfbn_1vm0p_266:not(#\9):focus::before {
|
|
295
295
|
content: " ";
|
|
296
296
|
display: block;
|
|
297
297
|
position: absolute;
|
|
@@ -305,60 +305,60 @@ body[data-awsui-focus-visible=true] .awsui_selected_1mfbn_1jv0q_266:not(#\9):foc
|
|
|
305
305
|
border-end-end-radius: var(--border-radius-calendar-day-focus-ring-1443fe, 2px);
|
|
306
306
|
box-shadow: 0 0 0 2px var(--color-border-calendar-grid-selected-focus-ring-nzjlw6, #0073bb);
|
|
307
307
|
}
|
|
308
|
-
body[data-awsui-focus-visible=true] .
|
|
308
|
+
body[data-awsui-focus-visible=true] .awsui_selected_1mfbn_1vm0p_266:not(#\9):focus::before {
|
|
309
309
|
z-index: 1;
|
|
310
310
|
}
|
|
311
|
-
.
|
|
311
|
+
.awsui_selected_1mfbn_1vm0p_266:not(#\9)::after {
|
|
312
312
|
background-color: var(--color-background-control-checked-se0x0e, #0073bb);
|
|
313
313
|
border-block: var(--border-item-width-acvlhx, 1px) solid var(--color-background-control-checked-se0x0e, #0073bb);
|
|
314
314
|
border-inline: var(--border-item-width-acvlhx, 1px) solid var(--color-background-control-checked-se0x0e, #0073bb);
|
|
315
315
|
z-index: 0;
|
|
316
316
|
}
|
|
317
|
-
.
|
|
318
|
-
.
|
|
319
|
-
color: var(--color-
|
|
317
|
+
.awsui_selected_1mfbn_1vm0p_266 > .awsui_day-inner_1mfbn_1vm0p_220:not(#\9),
|
|
318
|
+
.awsui_selected_1mfbn_1vm0p_266 > .awsui_month-inner_1mfbn_1vm0p_221:not(#\9) {
|
|
319
|
+
color: var(--color-text-calendar-date-selected-tuncoe, #ffffff);
|
|
320
320
|
position: relative;
|
|
321
321
|
z-index: 2;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
.awsui_in-
|
|
324
|
+
.awsui_in-range_1mfbn_1vm0p_256:not(#\9) {
|
|
325
325
|
background-color: var(--color-background-dropdown-item-selected-1c9k0x, #f1faff);
|
|
326
326
|
font-weight: var(--font-weight-bold-p16d06, 700);
|
|
327
327
|
}
|
|
328
|
-
.awsui_in-
|
|
328
|
+
.awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-block-start_1mfbn_1vm0p_328:not(#\9)::after {
|
|
329
329
|
border-block-start: var(--border-item-width-acvlhx, 1px) solid var(--color-background-control-checked-se0x0e, #0073bb);
|
|
330
330
|
}
|
|
331
|
-
.awsui_in-
|
|
331
|
+
.awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-inline-end_1mfbn_1vm0p_331:not(#\9)::after {
|
|
332
332
|
border-inline-end: var(--border-item-width-acvlhx, 1px) solid var(--color-background-control-checked-se0x0e, #0073bb);
|
|
333
333
|
}
|
|
334
|
-
.awsui_in-
|
|
334
|
+
.awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-block-end_1mfbn_1vm0p_334:not(#\9)::after {
|
|
335
335
|
border-block-end: var(--border-item-width-acvlhx, 1px) solid var(--color-background-control-checked-se0x0e, #0073bb);
|
|
336
336
|
}
|
|
337
|
-
.awsui_in-
|
|
337
|
+
.awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-inline-start_1mfbn_1vm0p_337:not(#\9)::after {
|
|
338
338
|
border-inline-start: var(--border-item-width-acvlhx, 1px) solid var(--color-background-control-checked-se0x0e, #0073bb);
|
|
339
339
|
}
|
|
340
|
-
.awsui_in-
|
|
340
|
+
.awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-block-start_1mfbn_1vm0p_328.awsui_in-range-border-inline-end_1mfbn_1vm0p_331:not(#\9), .awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-block-start_1mfbn_1vm0p_328.awsui_in-range-border-inline-end_1mfbn_1vm0p_331:not(#\9)::after {
|
|
341
341
|
border-start-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
342
342
|
}
|
|
343
|
-
.awsui_in-
|
|
343
|
+
.awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-block-end_1mfbn_1vm0p_334.awsui_in-range-border-inline-end_1mfbn_1vm0p_331:not(#\9), .awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-block-end_1mfbn_1vm0p_334.awsui_in-range-border-inline-end_1mfbn_1vm0p_331:not(#\9)::after {
|
|
344
344
|
border-end-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
345
345
|
}
|
|
346
|
-
.awsui_in-
|
|
346
|
+
.awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-block-end_1mfbn_1vm0p_334.awsui_in-range-border-inline-start_1mfbn_1vm0p_337:not(#\9), .awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-block-end_1mfbn_1vm0p_334.awsui_in-range-border-inline-start_1mfbn_1vm0p_337:not(#\9)::after {
|
|
347
347
|
border-end-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
348
348
|
}
|
|
349
|
-
.awsui_in-
|
|
349
|
+
.awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-block-start_1mfbn_1vm0p_328.awsui_in-range-border-inline-start_1mfbn_1vm0p_337:not(#\9), .awsui_in-range_1mfbn_1vm0p_256.awsui_in-range-border-block-start_1mfbn_1vm0p_328.awsui_in-range-border-inline-start_1mfbn_1vm0p_337:not(#\9)::after {
|
|
350
350
|
border-start-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
.awsui_no-
|
|
353
|
+
.awsui_no-range_1mfbn_1vm0p_256:not(#\9), .awsui_no-range_1mfbn_1vm0p_256:not(#\9)::after {
|
|
354
354
|
border-start-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
355
355
|
}
|
|
356
|
-
.awsui_no-
|
|
356
|
+
.awsui_no-range_1mfbn_1vm0p_256:not(#\9), .awsui_no-range_1mfbn_1vm0p_256:not(#\9)::after {
|
|
357
357
|
border-start-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
358
358
|
}
|
|
359
|
-
.awsui_no-
|
|
359
|
+
.awsui_no-range_1mfbn_1vm0p_256:not(#\9), .awsui_no-range_1mfbn_1vm0p_256:not(#\9)::after {
|
|
360
360
|
border-end-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
361
361
|
}
|
|
362
|
-
.awsui_no-
|
|
362
|
+
.awsui_no-range_1mfbn_1vm0p_256:not(#\9), .awsui_no-range_1mfbn_1vm0p_256:not(#\9)::after {
|
|
363
363
|
border-end-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
364
364
|
}
|
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"grid": "
|
|
6
|
-
"grid-cell": "awsui_grid-
|
|
7
|
-
"day-header": "awsui_day-
|
|
8
|
-
"day": "
|
|
9
|
-
"month": "
|
|
10
|
-
"day-inner": "awsui_day-
|
|
11
|
-
"month-inner": "awsui_month-
|
|
12
|
-
"in-first-row": "awsui_in-first-
|
|
13
|
-
"in-previous-month": "awsui_in-previous-
|
|
14
|
-
"in-previous-year": "awsui_in-previous-
|
|
15
|
-
"last-day-of-month": "awsui_last-day-of-
|
|
16
|
-
"last-month-of-year": "awsui_last-month-of-
|
|
17
|
-
"in-next-month": "awsui_in-next-
|
|
18
|
-
"in-next-year": "awsui_in-next-
|
|
19
|
-
"in-first-column": "awsui_in-first-
|
|
20
|
-
"in-visible-calendar": "awsui_in-visible-
|
|
21
|
-
"in-current-month": "awsui_in-current-
|
|
22
|
-
"in-current-year": "awsui_in-current-
|
|
23
|
-
"enabled": "
|
|
24
|
-
"in-range": "awsui_in-
|
|
25
|
-
"end-date": "awsui_end-
|
|
26
|
-
"start-date": "awsui_start-
|
|
27
|
-
"no-range": "awsui_no-
|
|
28
|
-
"selected": "
|
|
29
|
-
"today": "
|
|
30
|
-
"this-month": "awsui_this-
|
|
31
|
-
"in-range-border-block-start": "awsui_in-range-border-block-
|
|
32
|
-
"in-range-border-inline-end": "awsui_in-range-border-inline-
|
|
33
|
-
"in-range-border-block-end": "awsui_in-range-border-block-
|
|
34
|
-
"in-range-border-inline-start": "awsui_in-range-border-inline-
|
|
5
|
+
"grid": "awsui_grid_1mfbn_1vm0p_149",
|
|
6
|
+
"grid-cell": "awsui_grid-cell_1mfbn_1vm0p_154",
|
|
7
|
+
"day-header": "awsui_day-header_1mfbn_1vm0p_161",
|
|
8
|
+
"day": "awsui_day_1mfbn_1vm0p_161",
|
|
9
|
+
"month": "awsui_month_1mfbn_1vm0p_172",
|
|
10
|
+
"day-inner": "awsui_day-inner_1mfbn_1vm0p_220",
|
|
11
|
+
"month-inner": "awsui_month-inner_1mfbn_1vm0p_221",
|
|
12
|
+
"in-first-row": "awsui_in-first-row_1mfbn_1vm0p_228",
|
|
13
|
+
"in-previous-month": "awsui_in-previous-month_1mfbn_1vm0p_228",
|
|
14
|
+
"in-previous-year": "awsui_in-previous-year_1mfbn_1vm0p_229",
|
|
15
|
+
"last-day-of-month": "awsui_last-day-of-month_1mfbn_1vm0p_233",
|
|
16
|
+
"last-month-of-year": "awsui_last-month-of-year_1mfbn_1vm0p_234",
|
|
17
|
+
"in-next-month": "awsui_in-next-month_1mfbn_1vm0p_238",
|
|
18
|
+
"in-next-year": "awsui_in-next-year_1mfbn_1vm0p_239",
|
|
19
|
+
"in-first-column": "awsui_in-first-column_1mfbn_1vm0p_243",
|
|
20
|
+
"in-visible-calendar": "awsui_in-visible-calendar_1mfbn_1vm0p_246",
|
|
21
|
+
"in-current-month": "awsui_in-current-month_1mfbn_1vm0p_246",
|
|
22
|
+
"in-current-year": "awsui_in-current-year_1mfbn_1vm0p_246",
|
|
23
|
+
"enabled": "awsui_enabled_1mfbn_1vm0p_250",
|
|
24
|
+
"in-range": "awsui_in-range_1mfbn_1vm0p_256",
|
|
25
|
+
"end-date": "awsui_end-date_1mfbn_1vm0p_256",
|
|
26
|
+
"start-date": "awsui_start-date_1mfbn_1vm0p_256",
|
|
27
|
+
"no-range": "awsui_no-range_1mfbn_1vm0p_256",
|
|
28
|
+
"selected": "awsui_selected_1mfbn_1vm0p_266",
|
|
29
|
+
"today": "awsui_today_1mfbn_1vm0p_271",
|
|
30
|
+
"this-month": "awsui_this-month_1mfbn_1vm0p_272",
|
|
31
|
+
"in-range-border-block-start": "awsui_in-range-border-block-start_1mfbn_1vm0p_328",
|
|
32
|
+
"in-range-border-inline-end": "awsui_in-range-border-inline-end_1mfbn_1vm0p_331",
|
|
33
|
+
"in-range-border-block-end": "awsui_in-range-border-block-end_1mfbn_1vm0p_334",
|
|
34
|
+
"in-range-border-inline-start": "awsui_in-range-border-inline-start_1mfbn_1vm0p_337"
|
|
35
35
|
};
|
|
36
36
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dropdown/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7C,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dropdown/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7C,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,eAGlE"}
|
|
@@ -5,9 +5,6 @@ import React from 'react';
|
|
|
5
5
|
import useBaseComponent from '../internal/hooks/use-base-component';
|
|
6
6
|
import { applyDisplayName } from '../internal/utils/apply-display-name';
|
|
7
7
|
import InternalDropdown from './internal';
|
|
8
|
-
/**
|
|
9
|
-
* @awsuiSystem core
|
|
10
|
-
*/
|
|
11
8
|
export default function Dropdown({ style, ...props }) {
|
|
12
9
|
const baseComponentProps = useBaseComponent('Dropdown');
|
|
13
10
|
return React.createElement(InternalDropdown, { ...props, style: style, ...baseComponentProps });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dropdown/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,gBAAgB,MAAM,YAAY,CAAC;AAI1C
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dropdown/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,gBAAgB,MAAM,YAAY,CAAC;AAI1C,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAiB;IACjE,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACxD,OAAO,oBAAC,gBAAgB,OAAK,KAAK,EAAE,KAAK,EAAE,KAAK,KAAM,kBAAkB,GAAI,CAAC;AAC/E,CAAC;AACD,gBAAgB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\n\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { DropdownProps } from './interfaces';\nimport InternalDropdown from './internal';\n\nexport { DropdownProps };\n\nexport default function Dropdown({ style, ...props }: DropdownProps) {\n const baseComponentProps = useBaseComponent('Dropdown');\n return <InternalDropdown {...props} style={style} {...baseComponentProps} />;\n}\napplyDisplayName(Dropdown, 'Dropdown');\n"]}
|