@transferwise/components 0.0.0-experimental-bcea1dd → 0.0.0-experimental-1168b1c
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/build/Calendar/Calendar.js +47 -8
- package/build/Calendar/Calendar.js.map +1 -1
- package/build/Calendar/Calendar.messages.js +3 -0
- package/build/Calendar/Calendar.messages.js.map +1 -1
- package/build/Calendar/Calendar.messages.mjs +3 -0
- package/build/Calendar/Calendar.messages.mjs.map +1 -1
- package/build/Calendar/Calendar.mjs +48 -9
- package/build/Calendar/Calendar.mjs.map +1 -1
- package/build/Calendar/DayCalendar/DayCalendar.js +4 -0
- package/build/Calendar/DayCalendar/DayCalendar.js.map +1 -1
- package/build/Calendar/DayCalendar/DayCalendar.mjs +4 -0
- package/build/Calendar/DayCalendar/DayCalendar.mjs.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js +30 -18
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs +30 -18
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs.map +1 -1
- package/build/Calendar/{tableLink → TableLink}/TableLink.js +23 -11
- package/build/Calendar/TableLink/TableLink.js.map +1 -0
- package/build/Calendar/{tableLink → TableLink}/TableLink.mjs +23 -11
- package/build/Calendar/TableLink/TableLink.mjs.map +1 -0
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.js +1 -1
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.js.map +1 -1
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.mjs +1 -1
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.mjs.map +1 -1
- package/build/DateLookup/DateLookup.js +14 -4
- package/build/DateLookup/DateLookup.js.map +1 -1
- package/build/DateLookup/DateLookup.mjs +14 -4
- package/build/DateLookup/DateLookup.mjs.map +1 -1
- package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.js +33 -0
- package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.js.map +1 -0
- package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.mjs +31 -0
- package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.mjs.map +1 -0
- package/build/common/DateUtils/isDateDisabled/isDateDisabled.js +40 -0
- package/build/common/DateUtils/isDateDisabled/isDateDisabled.js.map +1 -0
- package/build/common/DateUtils/isDateDisabled/isDateDisabled.mjs +38 -0
- package/build/common/DateUtils/isDateDisabled/isDateDisabled.mjs.map +1 -0
- package/build/i18n/en.json +1 -0
- package/build/i18n/en.json.js +1 -0
- package/build/i18n/en.json.js.map +1 -1
- package/build/i18n/en.json.mjs +1 -0
- package/build/i18n/en.json.mjs.map +1 -1
- package/build/index.js +2 -4
- package/build/index.js.map +1 -1
- package/build/index.mjs +1 -2
- package/build/index.mjs.map +1 -1
- package/build/main.css +114 -76
- package/build/styles/Calendar/Calendar.css +104 -35
- package/build/styles/Calendar/TableLink/TableLink.css +109 -0
- package/build/styles/main.css +114 -76
- package/build/types/Body/Body.d.ts +2 -2
- package/build/types/Calendar/Calendar.d.ts +4 -2
- package/build/types/Calendar/Calendar.d.ts.map +1 -1
- package/build/types/Calendar/Calendar.messages.d.ts +5 -0
- package/build/types/Calendar/Calendar.messages.d.ts.map +1 -1
- package/build/types/Calendar/Calendar.types.d.ts +19 -0
- package/build/types/Calendar/Calendar.types.d.ts.map +1 -0
- package/build/types/Calendar/DayCalendar/DayCalendar.d.ts +4 -1
- package/build/types/Calendar/DayCalendar/DayCalendar.d.ts.map +1 -1
- package/build/types/Calendar/DayCalendar/Table/DayCalendarTable.d.ts +3 -0
- package/build/types/Calendar/DayCalendar/Table/DayCalendarTable.d.ts.map +1 -1
- package/build/types/Calendar/{tableLink → TableLink}/TableLink.d.ts +2 -1
- package/build/types/Calendar/TableLink/TableLink.d.ts.map +1 -0
- package/build/types/Calendar/TableLink/index.d.ts.map +1 -0
- package/build/types/Calendar/index.d.ts +1 -0
- package/build/types/Calendar/index.d.ts.map +1 -1
- package/build/types/DateLookup/DateLookup.d.ts +5 -2
- package/build/types/DateLookup/DateLookup.d.ts.map +1 -1
- package/build/types/DateLookup/index.d.ts +1 -0
- package/build/types/DateLookup/index.d.ts.map +1 -1
- package/build/types/IconButton/IconButton.d.ts +1 -1
- package/build/types/Title/Title.d.ts +2 -2
- package/build/types/Upload/Steps/UploadImageStep/UploadImageStep.d.ts +1 -1
- package/build/types/UploadInput/UploadItem/UploadItemLink.d.ts +1 -1
- package/build/types/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.d.ts +3 -0
- package/build/types/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.d.ts.map +1 -0
- package/build/types/common/DateUtils/index.d.ts +2 -0
- package/build/types/common/DateUtils/index.d.ts.map +1 -1
- package/build/types/common/DateUtils/isDateDisabled/isDateDisabled.d.ts +3 -0
- package/build/types/common/DateUtils/isDateDisabled/isDateDisabled.d.ts.map +1 -0
- package/build/types/index.d.ts +2 -4
- package/build/types/index.d.ts.map +1 -1
- package/build/types/test-utils/index.d.ts +2 -0
- package/build/types/test-utils/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/Calendar/Calendar.css +104 -35
- package/src/Calendar/Calendar.disabledDates.test.tsx +197 -0
- package/src/Calendar/Calendar.less +5 -35
- package/src/Calendar/Calendar.messages.ts +5 -0
- package/src/Calendar/Calendar.test.tsx +9 -9
- package/src/Calendar/Calendar.tsx +61 -9
- package/src/Calendar/Calendar.types.ts +22 -0
- package/src/Calendar/DayCalendar/DayCalendar.tsx +17 -1
- package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +42 -26
- package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +1 -1
- package/src/Calendar/TableLink/TableLink.css +109 -0
- package/src/Calendar/TableLink/TableLink.less +60 -0
- package/src/Calendar/{tableLink → TableLink}/TableLink.tsx +24 -14
- package/src/Calendar/YearCalendar/Table/YearCalendarTable.tsx +1 -1
- package/src/Calendar/_stories/Calendar.accessibility.docs.mdx +112 -0
- package/src/Calendar/_stories/Calendar.story.tsx +55 -1
- package/src/Calendar/index.ts +7 -0
- package/src/DateLookup/DateLookup.disabledDates.test.tsx +120 -0
- package/src/DateLookup/DateLookup.test.tsx +1 -1
- package/src/DateLookup/DateLookup.tsx +11 -4
- package/src/DateLookup/_stories/DateLookup.accessibility.docs.mdx +100 -0
- package/src/DateLookup/_stories/DateLookup.story.tsx +59 -1
- package/src/DateLookup/index.ts +6 -0
- package/src/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.test.ts +98 -0
- package/src/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.ts +45 -0
- package/src/common/DateUtils/index.ts +2 -0
- package/src/common/DateUtils/isDateDisabled/isDateDisabled.test.ts +159 -0
- package/src/common/DateUtils/isDateDisabled/isDateDisabled.ts +59 -0
- package/src/i18n/en.json +1 -0
- package/src/index.ts +2 -4
- package/src/main.css +114 -76
- package/src/main.less +0 -1
- package/build/Calendar/tableLink/TableLink.js.map +0 -1
- package/build/Calendar/tableLink/TableLink.mjs.map +0 -1
- package/build/Markup/Markup.js +0 -136
- package/build/Markup/Markup.js.map +0 -1
- package/build/Markup/Markup.mjs +0 -131
- package/build/Markup/Markup.mjs.map +0 -1
- package/build/Markup/constants.js +0 -36
- package/build/Markup/constants.js.map +0 -1
- package/build/Markup/constants.mjs +0 -29
- package/build/Markup/constants.mjs.map +0 -1
- package/build/Markup/utils/parseMarkup.js +0 -226
- package/build/Markup/utils/parseMarkup.js.map +0 -1
- package/build/Markup/utils/parseMarkup.mjs +0 -223
- package/build/Markup/utils/parseMarkup.mjs.map +0 -1
- package/build/Markup/utils/sanitise.js +0 -91
- package/build/Markup/utils/sanitise.js.map +0 -1
- package/build/Markup/utils/sanitise.mjs +0 -89
- package/build/Markup/utils/sanitise.mjs.map +0 -1
- package/build/styles/Markup/Markup.css +0 -28
- package/build/styles/Markup/_stories/Vulnerability/Vulnerability.css +0 -70
- package/build/types/Calendar/tableLink/TableLink.d.ts.map +0 -1
- package/build/types/Calendar/tableLink/index.d.ts.map +0 -1
- package/build/types/Markup/Markup.d.ts +0 -18
- package/build/types/Markup/Markup.d.ts.map +0 -1
- package/build/types/Markup/Markup.types.d.ts +0 -68
- package/build/types/Markup/Markup.types.d.ts.map +0 -1
- package/build/types/Markup/_stories/Vulnerability/Vulnerability.d.ts +0 -12
- package/build/types/Markup/_stories/Vulnerability/Vulnerability.d.ts.map +0 -1
- package/build/types/Markup/constants.d.ts +0 -20
- package/build/types/Markup/constants.d.ts.map +0 -1
- package/build/types/Markup/index.d.ts +0 -3
- package/build/types/Markup/index.d.ts.map +0 -1
- package/build/types/Markup/utils/parseMarkup.d.ts +0 -6
- package/build/types/Markup/utils/parseMarkup.d.ts.map +0 -1
- package/build/types/Markup/utils/sanitise.d.ts +0 -2
- package/build/types/Markup/utils/sanitise.d.ts.map +0 -1
- package/src/Markup/Markup.css +0 -28
- package/src/Markup/Markup.injection.test.tsx +0 -152
- package/src/Markup/Markup.less +0 -29
- package/src/Markup/Markup.test.tsx +0 -405
- package/src/Markup/Markup.tsx +0 -165
- package/src/Markup/Markup.types.ts +0 -53
- package/src/Markup/_stories/Markup.docs.mdx +0 -75
- package/src/Markup/_stories/Markup.security.docs.mdx +0 -256
- package/src/Markup/_stories/Markup.story.tsx +0 -227
- package/src/Markup/_stories/Vulnerability/Vulnerability.css +0 -70
- package/src/Markup/_stories/Vulnerability/Vulnerability.tsx +0 -30
- package/src/Markup/constants.ts +0 -41
- package/src/Markup/index.ts +0 -2
- package/src/Markup/utils/parseMarkup.test.ts +0 -658
- package/src/Markup/utils/parseMarkup.ts +0 -228
- package/src/Markup/utils/sanitise.test.ts +0 -375
- package/src/Markup/utils/sanitise.ts +0 -107
- /package/build/types/Calendar/{tableLink → TableLink}/index.d.ts +0 -0
- /package/src/Calendar/{tableLink → TableLink}/index.ts +0 -0
package/build/main.css
CHANGED
|
@@ -27269,41 +27269,9 @@ a[data-toggle="tooltip"] {
|
|
|
27269
27269
|
pointer-events: auto;
|
|
27270
27270
|
}
|
|
27271
27271
|
|
|
27272
|
-
.
|
|
27273
|
-
|
|
27274
|
-
|
|
27275
|
-
table-layout: fixed;
|
|
27276
|
-
border: none;
|
|
27277
|
-
background-color: inherit;
|
|
27278
|
-
}
|
|
27279
|
-
|
|
27280
|
-
.tw-date-lookup-calendar thead {
|
|
27281
|
-
background-color: transparent;
|
|
27282
|
-
background-color: initial;
|
|
27283
|
-
}
|
|
27284
|
-
|
|
27285
|
-
.tw-date-lookup-calendar > tbody > tr > td.weekend button {
|
|
27286
|
-
color: #5d7079;
|
|
27287
|
-
color: var(--color-content-secondary);
|
|
27288
|
-
}
|
|
27289
|
-
|
|
27290
|
-
.tw-date-lookup-calendar > tbody > tr > td {
|
|
27291
|
-
border: none;
|
|
27292
|
-
padding: 4px;
|
|
27293
|
-
padding: var(--size-4);
|
|
27294
|
-
}
|
|
27295
|
-
|
|
27296
|
-
@media (max-width: 320px) {
|
|
27297
|
-
.tw-date-lookup-calendar > tbody > tr > td {
|
|
27298
|
-
padding: 0;
|
|
27299
|
-
}
|
|
27300
|
-
}
|
|
27301
|
-
|
|
27302
|
-
.tw-date-lookup-calendar > tbody > tr > td:has(.tw-date-lookup-day-option) {
|
|
27303
|
-
padding: 1px;
|
|
27304
|
-
}
|
|
27305
|
-
|
|
27306
|
-
.tw-date-lookup-calendar > tbody > tr > td button {
|
|
27272
|
+
.wds-Calendar__option--day,
|
|
27273
|
+
.wds-Calendar__option--month,
|
|
27274
|
+
.wds-Calendar__option--year {
|
|
27307
27275
|
width: 100%;
|
|
27308
27276
|
padding: 4px 0;
|
|
27309
27277
|
padding: var(--size-4) 0;
|
|
@@ -27320,12 +27288,83 @@ a[data-toggle="tooltip"] {
|
|
|
27320
27288
|
}
|
|
27321
27289
|
|
|
27322
27290
|
@media (max-width: 320px) {
|
|
27323
|
-
.
|
|
27291
|
+
.wds-Calendar__option--day,
|
|
27292
|
+
.wds-Calendar__option--month,
|
|
27293
|
+
.wds-Calendar__option--year {
|
|
27324
27294
|
padding: 0;
|
|
27325
27295
|
}
|
|
27326
27296
|
}
|
|
27327
27297
|
|
|
27328
|
-
.
|
|
27298
|
+
.wds-Calendar__option--day.disabled,
|
|
27299
|
+
.wds-Calendar__option--month.disabled,
|
|
27300
|
+
.wds-Calendar__option--year.disabled,
|
|
27301
|
+
.wds-Calendar__option--day[aria-disabled="true"],
|
|
27302
|
+
.wds-Calendar__option--month[aria-disabled="true"],
|
|
27303
|
+
.wds-Calendar__option--year[aria-disabled="true"] {
|
|
27304
|
+
--ring-outline-color: var(--color-sentiment-content-primary);
|
|
27305
|
+
color: #768e9c;
|
|
27306
|
+
color: var(--color-content-tertiary);
|
|
27307
|
+
cursor: not-allowed;
|
|
27308
|
+
}
|
|
27309
|
+
|
|
27310
|
+
.wds-Calendar__option--day.disabled:hover,
|
|
27311
|
+
.wds-Calendar__option--month.disabled:hover,
|
|
27312
|
+
.wds-Calendar__option--year.disabled:hover,
|
|
27313
|
+
.wds-Calendar__option--day[aria-disabled="true"]:hover,
|
|
27314
|
+
.wds-Calendar__option--month[aria-disabled="true"]:hover,
|
|
27315
|
+
.wds-Calendar__option--year[aria-disabled="true"]:hover,
|
|
27316
|
+
.wds-Calendar__option--day.disabled:focus,
|
|
27317
|
+
.wds-Calendar__option--month.disabled:focus,
|
|
27318
|
+
.wds-Calendar__option--year.disabled:focus,
|
|
27319
|
+
.wds-Calendar__option--day[aria-disabled="true"]:focus,
|
|
27320
|
+
.wds-Calendar__option--month[aria-disabled="true"]:focus,
|
|
27321
|
+
.wds-Calendar__option--year[aria-disabled="true"]:focus {
|
|
27322
|
+
background-color: var(--color-sentiment-background-surface);
|
|
27323
|
+
color: var(--color-sentiment-content-primary);
|
|
27324
|
+
filter: initial;
|
|
27325
|
+
opacity: 1;
|
|
27326
|
+
opacity: initial;
|
|
27327
|
+
}
|
|
27328
|
+
|
|
27329
|
+
.wds-Calendar__option--day.disabled.active,
|
|
27330
|
+
.wds-Calendar__option--month.disabled.active,
|
|
27331
|
+
.wds-Calendar__option--year.disabled.active,
|
|
27332
|
+
.wds-Calendar__option--day[aria-disabled="true"].active,
|
|
27333
|
+
.wds-Calendar__option--month[aria-disabled="true"].active,
|
|
27334
|
+
.wds-Calendar__option--year[aria-disabled="true"].active,
|
|
27335
|
+
.wds-Calendar__option--day.disabled.active:hover,
|
|
27336
|
+
.wds-Calendar__option--month.disabled.active:hover,
|
|
27337
|
+
.wds-Calendar__option--year.disabled.active:hover,
|
|
27338
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:hover,
|
|
27339
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:hover,
|
|
27340
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:hover,
|
|
27341
|
+
.wds-Calendar__option--day.disabled.active:active,
|
|
27342
|
+
.wds-Calendar__option--month.disabled.active:active,
|
|
27343
|
+
.wds-Calendar__option--year.disabled.active:active,
|
|
27344
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:active,
|
|
27345
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:active,
|
|
27346
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:active,
|
|
27347
|
+
.wds-Calendar__option--day.disabled.active:focus,
|
|
27348
|
+
.wds-Calendar__option--month.disabled.active:focus,
|
|
27349
|
+
.wds-Calendar__option--year.disabled.active:focus,
|
|
27350
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:focus,
|
|
27351
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:focus,
|
|
27352
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:focus {
|
|
27353
|
+
background-color: var(--color-sentiment-interactive-primary);
|
|
27354
|
+
color: var(--color-sentiment-interactive-secondary);
|
|
27355
|
+
}
|
|
27356
|
+
|
|
27357
|
+
.wds-Calendar__option--day.disabled.today,
|
|
27358
|
+
.wds-Calendar__option--month.disabled.today,
|
|
27359
|
+
.wds-Calendar__option--year.disabled.today,
|
|
27360
|
+
.wds-Calendar__option--day[aria-disabled="true"].today,
|
|
27361
|
+
.wds-Calendar__option--month[aria-disabled="true"].today,
|
|
27362
|
+
.wds-Calendar__option--year[aria-disabled="true"].today {
|
|
27363
|
+
text-decoration-color: #768e9c;
|
|
27364
|
+
text-decoration-color: var(--color-content-tertiary);
|
|
27365
|
+
}
|
|
27366
|
+
|
|
27367
|
+
.wds-Calendar__option--day {
|
|
27329
27368
|
height: 40px;
|
|
27330
27369
|
height: var(--size-40);
|
|
27331
27370
|
border-radius: 9999px;
|
|
@@ -27340,19 +27379,53 @@ a[data-toggle="tooltip"] {
|
|
|
27340
27379
|
justify-content: center;
|
|
27341
27380
|
}
|
|
27342
27381
|
|
|
27343
|
-
.
|
|
27382
|
+
.wds-Calendar__option--day.today {
|
|
27344
27383
|
-webkit-text-decoration: underline;
|
|
27345
27384
|
text-decoration: underline;
|
|
27346
27385
|
text-decoration-thickness: 2px;
|
|
27347
27386
|
text-underline-offset: 4px;
|
|
27348
27387
|
}
|
|
27349
27388
|
|
|
27350
|
-
.tw-date-lookup-calendar
|
|
27351
|
-
|
|
27389
|
+
.tw-date-lookup-calendar {
|
|
27390
|
+
min-width: 300px;
|
|
27391
|
+
text-align: center;
|
|
27392
|
+
table-layout: fixed;
|
|
27393
|
+
border: none;
|
|
27394
|
+
background-color: inherit;
|
|
27395
|
+
}
|
|
27396
|
+
|
|
27397
|
+
.tw-date-lookup-calendar thead {
|
|
27398
|
+
background-color: transparent;
|
|
27399
|
+
background-color: initial;
|
|
27400
|
+
}
|
|
27401
|
+
|
|
27402
|
+
.tw-date-lookup-calendar > tbody > tr > td.weekend button {
|
|
27403
|
+
color: #5d7079;
|
|
27404
|
+
color: var(--color-content-secondary);
|
|
27405
|
+
}
|
|
27406
|
+
|
|
27407
|
+
.tw-date-lookup-calendar > tbody > tr > td {
|
|
27408
|
+
border: none;
|
|
27409
|
+
padding: 4px;
|
|
27410
|
+
padding: var(--size-4);
|
|
27411
|
+
}
|
|
27412
|
+
|
|
27413
|
+
@media (max-width: 320px) {
|
|
27414
|
+
.tw-date-lookup-calendar > tbody > tr > td {
|
|
27415
|
+
padding: 0;
|
|
27416
|
+
}
|
|
27417
|
+
}
|
|
27418
|
+
|
|
27419
|
+
.tw-date-lookup-calendar > tbody > tr > td:has(.wds-Calendar__option--day) {
|
|
27420
|
+
padding: 1px;
|
|
27421
|
+
}
|
|
27422
|
+
|
|
27423
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus:not(.disabled):not([aria-disabled="true"]),
|
|
27424
|
+
.tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled):not([aria-disabled="true"]) {
|
|
27352
27425
|
background-color: var(--color-background-screen-hover);
|
|
27353
27426
|
}
|
|
27354
27427
|
|
|
27355
|
-
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active {
|
|
27428
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active:not([aria-disabled="true"]) {
|
|
27356
27429
|
background-color: var(--color-interactive-primary);
|
|
27357
27430
|
color: var(--color-interactive-contrast);
|
|
27358
27431
|
}
|
|
@@ -30887,41 +30960,6 @@ button.np-link {
|
|
|
30887
30960
|
height: var(--wds-logo-height);
|
|
30888
30961
|
}
|
|
30889
30962
|
|
|
30890
|
-
.wds-markup-emphasis {
|
|
30891
|
-
font-weight: 600;
|
|
30892
|
-
font-weight: var(--font-weight-semi-bold);
|
|
30893
|
-
font-style: normal;
|
|
30894
|
-
}
|
|
30895
|
-
|
|
30896
|
-
.wds-markup-emphasis--important {
|
|
30897
|
-
color: #37517e;
|
|
30898
|
-
color: var(--color-content-primary);
|
|
30899
|
-
}
|
|
30900
|
-
|
|
30901
|
-
.wds-markup-emphasis--positive {
|
|
30902
|
-
color: #008026;
|
|
30903
|
-
color: var(--color-content-positive);
|
|
30904
|
-
}
|
|
30905
|
-
|
|
30906
|
-
.wds-markup-emphasis--negative {
|
|
30907
|
-
color: #cf2929;
|
|
30908
|
-
color: var(--color-content-negative);
|
|
30909
|
-
}
|
|
30910
|
-
|
|
30911
|
-
.wds-markup-strong {
|
|
30912
|
-
font-weight: 600;
|
|
30913
|
-
font-weight: var(--font-weight-semi-bold);
|
|
30914
|
-
}
|
|
30915
|
-
|
|
30916
|
-
.wds-markup-strikethrough {
|
|
30917
|
-
-webkit-text-decoration: line-through;
|
|
30918
|
-
text-decoration: line-through;
|
|
30919
|
-
}
|
|
30920
|
-
|
|
30921
|
-
.wds-markup-paragraph {
|
|
30922
|
-
margin: 0;
|
|
30923
|
-
}
|
|
30924
|
-
|
|
30925
30963
|
.tw-modal--scrollable {
|
|
30926
30964
|
max-height: 100%;
|
|
30927
30965
|
/* mobile viewport bug fix */
|
|
@@ -1,32 +1,6 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
table-layout: fixed;
|
|
5
|
-
border: none;
|
|
6
|
-
background-color: inherit;
|
|
7
|
-
}
|
|
8
|
-
.tw-date-lookup-calendar thead {
|
|
9
|
-
background-color: transparent;
|
|
10
|
-
background-color: initial;
|
|
11
|
-
}
|
|
12
|
-
.tw-date-lookup-calendar > tbody > tr > td.weekend button {
|
|
13
|
-
color: #5d7079;
|
|
14
|
-
color: var(--color-content-secondary);
|
|
15
|
-
}
|
|
16
|
-
.tw-date-lookup-calendar > tbody > tr > td {
|
|
17
|
-
border: none;
|
|
18
|
-
padding: 4px;
|
|
19
|
-
padding: var(--size-4);
|
|
20
|
-
}
|
|
21
|
-
@media (max-width: 320px) {
|
|
22
|
-
.tw-date-lookup-calendar > tbody > tr > td {
|
|
23
|
-
padding: 0;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
.tw-date-lookup-calendar > tbody > tr > td:has(.tw-date-lookup-day-option) {
|
|
27
|
-
padding: 1px;
|
|
28
|
-
}
|
|
29
|
-
.tw-date-lookup-calendar > tbody > tr > td button {
|
|
1
|
+
.wds-Calendar__option--day,
|
|
2
|
+
.wds-Calendar__option--month,
|
|
3
|
+
.wds-Calendar__option--year {
|
|
30
4
|
width: 100%;
|
|
31
5
|
padding: 4px 0;
|
|
32
6
|
padding: var(--size-4) 0;
|
|
@@ -42,11 +16,78 @@
|
|
|
42
16
|
color: var(--color-content-primary);
|
|
43
17
|
}
|
|
44
18
|
@media (max-width: 320px) {
|
|
45
|
-
.
|
|
19
|
+
.wds-Calendar__option--day,
|
|
20
|
+
.wds-Calendar__option--month,
|
|
21
|
+
.wds-Calendar__option--year {
|
|
46
22
|
padding: 0;
|
|
47
23
|
}
|
|
48
24
|
}
|
|
49
|
-
.
|
|
25
|
+
.wds-Calendar__option--day.disabled,
|
|
26
|
+
.wds-Calendar__option--month.disabled,
|
|
27
|
+
.wds-Calendar__option--year.disabled,
|
|
28
|
+
.wds-Calendar__option--day[aria-disabled="true"],
|
|
29
|
+
.wds-Calendar__option--month[aria-disabled="true"],
|
|
30
|
+
.wds-Calendar__option--year[aria-disabled="true"] {
|
|
31
|
+
--ring-outline-color: var(--color-sentiment-content-primary);
|
|
32
|
+
color: #768e9c;
|
|
33
|
+
color: var(--color-content-tertiary);
|
|
34
|
+
cursor: not-allowed;
|
|
35
|
+
}
|
|
36
|
+
.wds-Calendar__option--day.disabled:hover,
|
|
37
|
+
.wds-Calendar__option--month.disabled:hover,
|
|
38
|
+
.wds-Calendar__option--year.disabled:hover,
|
|
39
|
+
.wds-Calendar__option--day[aria-disabled="true"]:hover,
|
|
40
|
+
.wds-Calendar__option--month[aria-disabled="true"]:hover,
|
|
41
|
+
.wds-Calendar__option--year[aria-disabled="true"]:hover,
|
|
42
|
+
.wds-Calendar__option--day.disabled:focus,
|
|
43
|
+
.wds-Calendar__option--month.disabled:focus,
|
|
44
|
+
.wds-Calendar__option--year.disabled:focus,
|
|
45
|
+
.wds-Calendar__option--day[aria-disabled="true"]:focus,
|
|
46
|
+
.wds-Calendar__option--month[aria-disabled="true"]:focus,
|
|
47
|
+
.wds-Calendar__option--year[aria-disabled="true"]:focus {
|
|
48
|
+
background-color: var(--color-sentiment-background-surface);
|
|
49
|
+
color: var(--color-sentiment-content-primary);
|
|
50
|
+
filter: initial;
|
|
51
|
+
opacity: 1;
|
|
52
|
+
opacity: initial;
|
|
53
|
+
}
|
|
54
|
+
.wds-Calendar__option--day.disabled.active,
|
|
55
|
+
.wds-Calendar__option--month.disabled.active,
|
|
56
|
+
.wds-Calendar__option--year.disabled.active,
|
|
57
|
+
.wds-Calendar__option--day[aria-disabled="true"].active,
|
|
58
|
+
.wds-Calendar__option--month[aria-disabled="true"].active,
|
|
59
|
+
.wds-Calendar__option--year[aria-disabled="true"].active,
|
|
60
|
+
.wds-Calendar__option--day.disabled.active:hover,
|
|
61
|
+
.wds-Calendar__option--month.disabled.active:hover,
|
|
62
|
+
.wds-Calendar__option--year.disabled.active:hover,
|
|
63
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:hover,
|
|
64
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:hover,
|
|
65
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:hover,
|
|
66
|
+
.wds-Calendar__option--day.disabled.active:active,
|
|
67
|
+
.wds-Calendar__option--month.disabled.active:active,
|
|
68
|
+
.wds-Calendar__option--year.disabled.active:active,
|
|
69
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:active,
|
|
70
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:active,
|
|
71
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:active,
|
|
72
|
+
.wds-Calendar__option--day.disabled.active:focus,
|
|
73
|
+
.wds-Calendar__option--month.disabled.active:focus,
|
|
74
|
+
.wds-Calendar__option--year.disabled.active:focus,
|
|
75
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:focus,
|
|
76
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:focus,
|
|
77
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:focus {
|
|
78
|
+
background-color: var(--color-sentiment-interactive-primary);
|
|
79
|
+
color: var(--color-sentiment-interactive-secondary);
|
|
80
|
+
}
|
|
81
|
+
.wds-Calendar__option--day.disabled.today,
|
|
82
|
+
.wds-Calendar__option--month.disabled.today,
|
|
83
|
+
.wds-Calendar__option--year.disabled.today,
|
|
84
|
+
.wds-Calendar__option--day[aria-disabled="true"].today,
|
|
85
|
+
.wds-Calendar__option--month[aria-disabled="true"].today,
|
|
86
|
+
.wds-Calendar__option--year[aria-disabled="true"].today {
|
|
87
|
+
text-decoration-color: #768e9c;
|
|
88
|
+
text-decoration-color: var(--color-content-tertiary);
|
|
89
|
+
}
|
|
90
|
+
.wds-Calendar__option--day {
|
|
50
91
|
height: 40px;
|
|
51
92
|
height: var(--size-40);
|
|
52
93
|
border-radius: 9999px;
|
|
@@ -60,17 +101,45 @@
|
|
|
60
101
|
align-items: center;
|
|
61
102
|
justify-content: center;
|
|
62
103
|
}
|
|
63
|
-
.
|
|
104
|
+
.wds-Calendar__option--day.today {
|
|
64
105
|
-webkit-text-decoration: underline;
|
|
65
106
|
text-decoration: underline;
|
|
66
107
|
text-decoration-thickness: 2px;
|
|
67
108
|
text-underline-offset: 4px;
|
|
68
109
|
}
|
|
69
|
-
.tw-date-lookup-calendar
|
|
70
|
-
|
|
110
|
+
.tw-date-lookup-calendar {
|
|
111
|
+
min-width: 300px;
|
|
112
|
+
text-align: center;
|
|
113
|
+
table-layout: fixed;
|
|
114
|
+
border: none;
|
|
115
|
+
background-color: inherit;
|
|
116
|
+
}
|
|
117
|
+
.tw-date-lookup-calendar thead {
|
|
118
|
+
background-color: transparent;
|
|
119
|
+
background-color: initial;
|
|
120
|
+
}
|
|
121
|
+
.tw-date-lookup-calendar > tbody > tr > td.weekend button {
|
|
122
|
+
color: #5d7079;
|
|
123
|
+
color: var(--color-content-secondary);
|
|
124
|
+
}
|
|
125
|
+
.tw-date-lookup-calendar > tbody > tr > td {
|
|
126
|
+
border: none;
|
|
127
|
+
padding: 4px;
|
|
128
|
+
padding: var(--size-4);
|
|
129
|
+
}
|
|
130
|
+
@media (max-width: 320px) {
|
|
131
|
+
.tw-date-lookup-calendar > tbody > tr > td {
|
|
132
|
+
padding: 0;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
.tw-date-lookup-calendar > tbody > tr > td:has(.wds-Calendar__option--day) {
|
|
136
|
+
padding: 1px;
|
|
137
|
+
}
|
|
138
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus:not(.disabled):not([aria-disabled="true"]),
|
|
139
|
+
.tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled):not([aria-disabled="true"]) {
|
|
71
140
|
background-color: var(--color-background-screen-hover);
|
|
72
141
|
}
|
|
73
|
-
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active {
|
|
142
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active:not([aria-disabled="true"]) {
|
|
74
143
|
background-color: var(--color-interactive-primary);
|
|
75
144
|
color: var(--color-interactive-contrast);
|
|
76
145
|
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
.wds-Calendar__option--day,
|
|
2
|
+
.wds-Calendar__option--month,
|
|
3
|
+
.wds-Calendar__option--year {
|
|
4
|
+
width: 100%;
|
|
5
|
+
padding: 4px 0;
|
|
6
|
+
padding: var(--size-4) 0;
|
|
7
|
+
color: #0097c7;
|
|
8
|
+
color: var(--color-content-accent);
|
|
9
|
+
border: transparent;
|
|
10
|
+
border-radius: 10px;
|
|
11
|
+
border-radius: var(--radius-small);
|
|
12
|
+
background-color: transparent;
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
font-weight: var(--font-weight-semi-bold);
|
|
15
|
+
color: #37517e;
|
|
16
|
+
color: var(--color-content-primary);
|
|
17
|
+
}
|
|
18
|
+
@media (max-width: 320px) {
|
|
19
|
+
.wds-Calendar__option--day,
|
|
20
|
+
.wds-Calendar__option--month,
|
|
21
|
+
.wds-Calendar__option--year {
|
|
22
|
+
padding: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.wds-Calendar__option--day.disabled,
|
|
26
|
+
.wds-Calendar__option--month.disabled,
|
|
27
|
+
.wds-Calendar__option--year.disabled,
|
|
28
|
+
.wds-Calendar__option--day[aria-disabled="true"],
|
|
29
|
+
.wds-Calendar__option--month[aria-disabled="true"],
|
|
30
|
+
.wds-Calendar__option--year[aria-disabled="true"] {
|
|
31
|
+
--ring-outline-color: var(--color-sentiment-content-primary);
|
|
32
|
+
color: #768e9c;
|
|
33
|
+
color: var(--color-content-tertiary);
|
|
34
|
+
cursor: not-allowed;
|
|
35
|
+
}
|
|
36
|
+
.wds-Calendar__option--day.disabled:hover,
|
|
37
|
+
.wds-Calendar__option--month.disabled:hover,
|
|
38
|
+
.wds-Calendar__option--year.disabled:hover,
|
|
39
|
+
.wds-Calendar__option--day[aria-disabled="true"]:hover,
|
|
40
|
+
.wds-Calendar__option--month[aria-disabled="true"]:hover,
|
|
41
|
+
.wds-Calendar__option--year[aria-disabled="true"]:hover,
|
|
42
|
+
.wds-Calendar__option--day.disabled:focus,
|
|
43
|
+
.wds-Calendar__option--month.disabled:focus,
|
|
44
|
+
.wds-Calendar__option--year.disabled:focus,
|
|
45
|
+
.wds-Calendar__option--day[aria-disabled="true"]:focus,
|
|
46
|
+
.wds-Calendar__option--month[aria-disabled="true"]:focus,
|
|
47
|
+
.wds-Calendar__option--year[aria-disabled="true"]:focus {
|
|
48
|
+
background-color: var(--color-sentiment-background-surface);
|
|
49
|
+
color: var(--color-sentiment-content-primary);
|
|
50
|
+
filter: initial;
|
|
51
|
+
opacity: 1;
|
|
52
|
+
opacity: initial;
|
|
53
|
+
}
|
|
54
|
+
.wds-Calendar__option--day.disabled.active,
|
|
55
|
+
.wds-Calendar__option--month.disabled.active,
|
|
56
|
+
.wds-Calendar__option--year.disabled.active,
|
|
57
|
+
.wds-Calendar__option--day[aria-disabled="true"].active,
|
|
58
|
+
.wds-Calendar__option--month[aria-disabled="true"].active,
|
|
59
|
+
.wds-Calendar__option--year[aria-disabled="true"].active,
|
|
60
|
+
.wds-Calendar__option--day.disabled.active:hover,
|
|
61
|
+
.wds-Calendar__option--month.disabled.active:hover,
|
|
62
|
+
.wds-Calendar__option--year.disabled.active:hover,
|
|
63
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:hover,
|
|
64
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:hover,
|
|
65
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:hover,
|
|
66
|
+
.wds-Calendar__option--day.disabled.active:active,
|
|
67
|
+
.wds-Calendar__option--month.disabled.active:active,
|
|
68
|
+
.wds-Calendar__option--year.disabled.active:active,
|
|
69
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:active,
|
|
70
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:active,
|
|
71
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:active,
|
|
72
|
+
.wds-Calendar__option--day.disabled.active:focus,
|
|
73
|
+
.wds-Calendar__option--month.disabled.active:focus,
|
|
74
|
+
.wds-Calendar__option--year.disabled.active:focus,
|
|
75
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:focus,
|
|
76
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:focus,
|
|
77
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:focus {
|
|
78
|
+
background-color: var(--color-sentiment-interactive-primary);
|
|
79
|
+
color: var(--color-sentiment-interactive-secondary);
|
|
80
|
+
}
|
|
81
|
+
.wds-Calendar__option--day.disabled.today,
|
|
82
|
+
.wds-Calendar__option--month.disabled.today,
|
|
83
|
+
.wds-Calendar__option--year.disabled.today,
|
|
84
|
+
.wds-Calendar__option--day[aria-disabled="true"].today,
|
|
85
|
+
.wds-Calendar__option--month[aria-disabled="true"].today,
|
|
86
|
+
.wds-Calendar__option--year[aria-disabled="true"].today {
|
|
87
|
+
text-decoration-color: #768e9c;
|
|
88
|
+
text-decoration-color: var(--color-content-tertiary);
|
|
89
|
+
}
|
|
90
|
+
.wds-Calendar__option--day {
|
|
91
|
+
height: 40px;
|
|
92
|
+
height: var(--size-40);
|
|
93
|
+
border-radius: 9999px;
|
|
94
|
+
border-radius: var(--radius-full);
|
|
95
|
+
line-height: 40px;
|
|
96
|
+
line-height: var(--size-40);
|
|
97
|
+
width: 40px;
|
|
98
|
+
width: var(--size-40);
|
|
99
|
+
padding: 0;
|
|
100
|
+
display: inline-flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
justify-content: center;
|
|
103
|
+
}
|
|
104
|
+
.wds-Calendar__option--day.today {
|
|
105
|
+
-webkit-text-decoration: underline;
|
|
106
|
+
text-decoration: underline;
|
|
107
|
+
text-decoration-thickness: 2px;
|
|
108
|
+
text-underline-offset: 4px;
|
|
109
|
+
}
|