@transferwise/components 46.155.1 → 46.157.0
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.constants.js +10 -0
- package/build/Calendar/Calendar.constants.js.map +1 -0
- package/build/Calendar/Calendar.constants.mjs +8 -0
- package/build/Calendar/Calendar.constants.mjs.map +1 -0
- package/build/Calendar/Calendar.js +121 -17
- package/build/Calendar/Calendar.js.map +1 -1
- package/build/Calendar/Calendar.messages.js +12 -0
- package/build/Calendar/Calendar.messages.js.map +1 -1
- package/build/Calendar/Calendar.messages.mjs +12 -0
- package/build/Calendar/Calendar.messages.mjs.map +1 -1
- package/build/Calendar/Calendar.mjs +122 -18
- package/build/Calendar/Calendar.mjs.map +1 -1
- package/build/Calendar/DateHeader/DateHeader.js +5 -1
- package/build/Calendar/DateHeader/DateHeader.js.map +1 -1
- package/build/Calendar/DateHeader/DateHeader.mjs +5 -1
- package/build/Calendar/DateHeader/DateHeader.mjs.map +1 -1
- package/build/Calendar/DayCalendar/DayCalendar.js +20 -2
- package/build/Calendar/DayCalendar/DayCalendar.js.map +1 -1
- package/build/Calendar/DayCalendar/DayCalendar.mjs +20 -2
- package/build/Calendar/DayCalendar/DayCalendar.mjs.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js +60 -19
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs +60 -19
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs.map +1 -1
- package/build/Calendar/MonthCalendar/MonthCalendar.js +6 -0
- package/build/Calendar/MonthCalendar/MonthCalendar.js.map +1 -1
- package/build/Calendar/MonthCalendar/MonthCalendar.mjs +6 -0
- package/build/Calendar/MonthCalendar/MonthCalendar.mjs.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js +8 -3
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs +8 -3
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs.map +1 -1
- package/build/Calendar/TableLink/TableLink.js +95 -0
- package/build/Calendar/TableLink/TableLink.js.map +1 -0
- package/build/Calendar/TableLink/TableLink.mjs +91 -0
- package/build/Calendar/TableLink/TableLink.mjs.map +1 -0
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.js +8 -3
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.js.map +1 -1
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.mjs +8 -3
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.mjs.map +1 -1
- package/build/Calendar/YearCalendar/YearCalendar.js +7 -0
- package/build/Calendar/YearCalendar/YearCalendar.js.map +1 -1
- package/build/Calendar/YearCalendar/YearCalendar.mjs +7 -0
- package/build/Calendar/YearCalendar/YearCalendar.mjs.map +1 -1
- package/build/Calendar/_helpers/clampToDayViewBoundary/clampToDayViewBoundary.js +24 -0
- package/build/Calendar/_helpers/clampToDayViewBoundary/clampToDayViewBoundary.js.map +1 -0
- package/build/Calendar/_helpers/clampToDayViewBoundary/clampToDayViewBoundary.mjs +22 -0
- package/build/Calendar/_helpers/clampToDayViewBoundary/clampToDayViewBoundary.mjs.map +1 -0
- package/build/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.js +33 -0
- package/build/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.js.map +1 -0
- package/build/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.mjs +31 -0
- package/build/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.mjs.map +1 -0
- package/build/Calendar/_helpers/isDateDisabled/isDateDisabled.js +40 -0
- package/build/Calendar/_helpers/isDateDisabled/isDateDisabled.js.map +1 -0
- package/build/Calendar/_helpers/isDateDisabled/isDateDisabled.mjs +38 -0
- package/build/Calendar/_helpers/isDateDisabled/isDateDisabled.mjs.map +1 -0
- package/build/DateLookup/DateLookup.js +20 -9
- package/build/DateLookup/DateLookup.js.map +1 -1
- package/build/DateLookup/DateLookup.mjs +20 -9
- package/build/DateLookup/DateLookup.mjs.map +1 -1
- package/build/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.js +3 -5
- package/build/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.js.map +1 -1
- package/build/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.mjs +3 -5
- package/build/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.mjs.map +1 -1
- package/build/Inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +1 -1
- package/build/Inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +1 -1
- package/build/Markup/Markup.js +138 -0
- package/build/Markup/Markup.js.map +1 -0
- package/build/Markup/Markup.mjs +133 -0
- package/build/Markup/Markup.mjs.map +1 -0
- package/build/Markup/constants.js +21 -0
- package/build/Markup/constants.js.map +1 -0
- package/build/Markup/constants.mjs +15 -0
- package/build/Markup/constants.mjs.map +1 -0
- package/build/Markup/utils/parseMarkup.js +263 -0
- package/build/Markup/utils/parseMarkup.js.map +1 -0
- package/build/Markup/utils/parseMarkup.mjs +258 -0
- package/build/Markup/utils/parseMarkup.mjs.map +1 -0
- package/build/Markup/utils/sanitise.js +111 -0
- package/build/Markup/utils/sanitise.js.map +1 -0
- package/build/Markup/utils/sanitise.mjs +108 -0
- package/build/Markup/utils/sanitise.mjs.map +1 -0
- package/build/Typeahead/Typeahead.js +53 -27
- package/build/Typeahead/Typeahead.js.map +1 -1
- package/build/Typeahead/Typeahead.messages.js +3 -0
- package/build/Typeahead/Typeahead.messages.js.map +1 -1
- package/build/Typeahead/Typeahead.messages.mjs +3 -0
- package/build/Typeahead/Typeahead.messages.mjs.map +1 -1
- package/build/Typeahead/Typeahead.mjs +53 -27
- package/build/Typeahead/Typeahead.mjs.map +1 -1
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.js +2 -2
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.js.map +1 -1
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.mjs +2 -2
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.mjs.map +1 -1
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.js +3 -1
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.js.map +1 -1
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs +3 -1
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs.map +1 -1
- package/build/i18n/en.json +5 -0
- package/build/i18n/en.json.js +5 -0
- package/build/i18n/en.json.js.map +1 -1
- package/build/i18n/en.json.mjs +5 -0
- package/build/i18n/en.json.mjs.map +1 -1
- package/build/i18n/hu.json +1 -1
- package/build/i18n/hu.json.js +1 -1
- package/build/i18n/hu.json.mjs +1 -1
- package/build/index.js +4 -2
- package/build/index.js.map +1 -1
- package/build/index.mjs +2 -1
- package/build/index.mjs.map +1 -1
- package/build/main.css +168 -43
- package/build/styles/Calendar/Calendar.css +112 -37
- package/build/styles/Calendar/TableLink/TableLink.css +115 -0
- package/build/styles/Markup/Markup.css +28 -0
- package/build/styles/Markup/_stories/Vulnerability/Vulnerability.css +69 -0
- package/build/styles/Typeahead/Typeahead.css +4 -0
- package/build/styles/Typeahead/TypeaheadOption/TypeaheadOption.css +5 -0
- package/build/styles/main.css +168 -43
- package/build/types/Calendar/Calendar.constants.d.ts +2 -0
- package/build/types/Calendar/Calendar.constants.d.ts.map +1 -0
- package/build/types/Calendar/Calendar.d.ts +16 -3
- package/build/types/Calendar/Calendar.d.ts.map +1 -1
- package/build/types/Calendar/Calendar.messages.d.ts +20 -0
- package/build/types/Calendar/Calendar.messages.d.ts.map +1 -1
- package/build/types/Calendar/Calendar.types.d.ts +32 -0
- package/build/types/Calendar/Calendar.types.d.ts.map +1 -0
- package/build/types/Calendar/DateHeader/DateHeader.d.ts +2 -0
- package/build/types/Calendar/DateHeader/DateHeader.d.ts.map +1 -1
- package/build/types/Calendar/DayCalendar/DayCalendar.d.ts +7 -1
- package/build/types/Calendar/DayCalendar/DayCalendar.d.ts.map +1 -1
- package/build/types/Calendar/DayCalendar/Table/DayCalendarTable.d.ts +6 -0
- package/build/types/Calendar/DayCalendar/Table/DayCalendarTable.d.ts.map +1 -1
- package/build/types/Calendar/MonthCalendar/MonthCalendar.d.ts +1 -0
- package/build/types/Calendar/MonthCalendar/MonthCalendar.d.ts.map +1 -1
- package/build/types/Calendar/MonthCalendar/Table/MonthCalendarTable.d.ts +2 -1
- package/build/types/Calendar/MonthCalendar/Table/MonthCalendarTable.d.ts.map +1 -1
- package/build/types/Calendar/{tableLink → TableLink}/TableLink.d.ts +5 -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/YearCalendar/Table/YearCalendarTable.d.ts +2 -1
- package/build/types/Calendar/YearCalendar/Table/YearCalendarTable.d.ts.map +1 -1
- package/build/types/Calendar/YearCalendar/YearCalendar.d.ts +1 -0
- package/build/types/Calendar/YearCalendar/YearCalendar.d.ts.map +1 -1
- package/build/types/Calendar/_helpers/clampToDayViewBoundary/clampToDayViewBoundary.d.ts +8 -0
- package/build/types/Calendar/_helpers/clampToDayViewBoundary/clampToDayViewBoundary.d.ts.map +1 -0
- package/build/types/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.d.ts +3 -0
- package/build/types/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.d.ts.map +1 -0
- package/build/types/Calendar/_helpers/index.d.ts +4 -0
- package/build/types/Calendar/_helpers/index.d.ts.map +1 -0
- package/build/types/Calendar/_helpers/isDateDisabled/isDateDisabled.d.ts +3 -0
- package/build/types/Calendar/_helpers/isDateDisabled/isDateDisabled.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 +24 -5
- 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/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.d.ts +6 -4
- package/build/types/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.d.ts.map +1 -1
- package/build/types/Inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +1 -1
- package/build/types/Inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +1 -1
- package/build/types/Markup/Markup.d.ts +18 -0
- package/build/types/Markup/Markup.d.ts.map +1 -0
- package/build/types/Markup/Markup.types.d.ts +77 -0
- package/build/types/Markup/Markup.types.d.ts.map +1 -0
- package/build/types/Markup/_stories/Vulnerability/Vulnerability.d.ts +12 -0
- package/build/types/Markup/_stories/Vulnerability/Vulnerability.d.ts.map +1 -0
- package/build/types/Markup/constants.d.ts +6 -0
- package/build/types/Markup/constants.d.ts.map +1 -0
- package/build/types/Markup/index.d.ts +3 -0
- package/build/types/Markup/index.d.ts.map +1 -0
- package/build/types/Markup/utils/parseMarkup.d.ts +8 -0
- package/build/types/Markup/utils/parseMarkup.d.ts.map +1 -0
- package/build/types/Markup/utils/sanitise.d.ts +4 -0
- package/build/types/Markup/utils/sanitise.d.ts.map +1 -0
- package/build/types/Typeahead/Typeahead.d.ts.map +1 -1
- package/build/types/Typeahead/Typeahead.messages.d.ts +5 -0
- package/build/types/Typeahead/Typeahead.messages.d.ts.map +1 -1
- package/build/types/Typeahead/TypeaheadInput/TypeaheadInput.d.ts.map +1 -1
- package/build/types/Typeahead/TypeaheadOption/TypeaheadOption.d.ts +1 -0
- package/build/types/Typeahead/TypeaheadOption/TypeaheadOption.d.ts.map +1 -1
- package/build/types/index.d.ts +5 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/test-utils/index.d.ts +10 -0
- package/build/types/test-utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Calendar/Calendar.constants.ts +5 -0
- package/src/Calendar/Calendar.css +112 -37
- package/src/Calendar/Calendar.disabledDates.test.tsx +610 -0
- package/src/Calendar/Calendar.less +5 -35
- package/src/Calendar/Calendar.messages.ts +21 -0
- package/src/Calendar/Calendar.test.tsx +342 -32
- package/src/Calendar/Calendar.tsx +169 -19
- package/src/Calendar/Calendar.types.ts +35 -0
- package/src/Calendar/DateHeader/DateHeader.tsx +6 -0
- package/src/Calendar/DayCalendar/DayCalendar.tsx +39 -1
- package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +67 -27
- package/src/Calendar/MonthCalendar/MonthCalendar.tsx +8 -0
- package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +15 -3
- package/src/Calendar/TableLink/TableLink.css +115 -0
- package/src/Calendar/TableLink/TableLink.less +68 -0
- package/src/Calendar/TableLink/TableLink.tsx +117 -0
- package/src/Calendar/YearCalendar/Table/YearCalendarTable.tsx +15 -3
- package/src/Calendar/YearCalendar/YearCalendar.tsx +9 -0
- package/src/Calendar/_helpers/clampToDayViewBoundary/clampToDayViewBoundary.test.ts +90 -0
- package/src/Calendar/_helpers/clampToDayViewBoundary/clampToDayViewBoundary.ts +25 -0
- package/src/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.test.ts +98 -0
- package/src/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.ts +45 -0
- package/src/Calendar/_helpers/index.ts +3 -0
- package/src/Calendar/_helpers/isDateDisabled/isDateDisabled.test.ts +169 -0
- package/src/Calendar/_helpers/isDateDisabled/isDateDisabled.ts +59 -0
- package/src/Calendar/_stories/Calendar.accessibility.docs.mdx +118 -0
- package/src/Calendar/_stories/Calendar.story.tsx +144 -4
- package/src/Calendar/_stories/Calendar.test.story.tsx +114 -0
- package/src/Calendar/index.ts +7 -0
- package/src/DateLookup/DateLookup.disabledDates.test.tsx +312 -0
- package/src/DateLookup/DateLookup.test.tsx +34 -37
- package/src/DateLookup/DateLookup.tsx +37 -13
- package/src/DateLookup/_stories/DateLookup.accessibility.docs.mdx +108 -0
- package/src/DateLookup/_stories/DateLookup.story.tsx +126 -2
- package/src/DateLookup/index.ts +6 -0
- package/src/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.tsx +12 -13
- package/src/Inputs/SelectInput/SelectInput.test.tsx +37 -0
- package/src/Inputs/SelectInput/TriggerButton/SelectInputTriggerButton.tsx +1 -1
- package/src/Markup/Markup.css +28 -0
- package/src/Markup/Markup.injection.test.tsx +163 -0
- package/src/Markup/Markup.less +29 -0
- package/src/Markup/Markup.test.tsx +502 -0
- package/src/Markup/Markup.tsx +175 -0
- package/src/Markup/Markup.types.ts +62 -0
- package/src/Markup/_stories/Markup.docs.mdx +75 -0
- package/src/Markup/_stories/Markup.security.docs.mdx +343 -0
- package/src/Markup/_stories/Markup.story.tsx +266 -0
- package/src/Markup/_stories/Vulnerability/Vulnerability.css +69 -0
- package/src/Markup/_stories/Vulnerability/Vulnerability.tsx +30 -0
- package/src/Markup/constants.ts +23 -0
- package/src/Markup/index.ts +2 -0
- package/src/Markup/utils/parseMarkup.test.ts +706 -0
- package/src/Markup/utils/parseMarkup.ts +265 -0
- package/src/Markup/utils/sanitise.test.ts +499 -0
- package/src/Markup/utils/sanitise.ts +129 -0
- package/src/Typeahead/Typeahead.css +4 -0
- package/src/Typeahead/Typeahead.less +2 -0
- package/src/Typeahead/Typeahead.messages.ts +5 -0
- package/src/Typeahead/Typeahead.test.tsx +80 -3
- package/src/Typeahead/Typeahead.tsx +50 -27
- package/src/Typeahead/TypeaheadInput/TypeaheadInput.tsx +2 -6
- package/src/Typeahead/TypeaheadOption/TypeaheadOption.css +5 -0
- package/src/Typeahead/TypeaheadOption/TypeaheadOption.less +9 -0
- package/src/Typeahead/TypeaheadOption/TypeaheadOption.tsx +4 -2
- package/src/i18n/en.json +4 -0
- package/src/i18n/hu.json +1 -1
- package/src/index.ts +5 -2
- package/src/main.css +168 -43
- package/src/main.less +1 -0
- package/build/Calendar/tableLink/TableLink.js +0 -61
- package/build/Calendar/tableLink/TableLink.js.map +0 -1
- package/build/Calendar/tableLink/TableLink.mjs +0 -57
- package/build/Calendar/tableLink/TableLink.mjs.map +0 -1
- package/build/types/Calendar/tableLink/TableLink.d.ts.map +0 -1
- package/build/types/Calendar/tableLink/index.d.ts.map +0 -1
- package/src/Calendar/tableLink/TableLink.tsx +0 -77
- /package/build/types/Calendar/{tableLink → TableLink}/index.d.ts +0 -0
- /package/src/Calendar/{tableLink → TableLink}/index.ts +0 -0
|
@@ -1,37 +1,9 @@
|
|
|
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;
|
|
33
|
-
color: #0097c7;
|
|
34
|
-
color: var(--color-content-accent);
|
|
35
7
|
border: transparent;
|
|
36
8
|
border-radius: 10px;
|
|
37
9
|
border-radius: var(--radius-small);
|
|
@@ -42,11 +14,86 @@
|
|
|
42
14
|
color: var(--color-content-primary);
|
|
43
15
|
}
|
|
44
16
|
@media (max-width: 320px) {
|
|
45
|
-
.
|
|
17
|
+
.wds-Calendar__option--day,
|
|
18
|
+
.wds-Calendar__option--month,
|
|
19
|
+
.wds-Calendar__option--year {
|
|
46
20
|
padding: 0;
|
|
47
21
|
}
|
|
48
22
|
}
|
|
49
|
-
.
|
|
23
|
+
.wds-Calendar__option--day:focus,
|
|
24
|
+
.wds-Calendar__option--month:focus,
|
|
25
|
+
.wds-Calendar__option--year:focus {
|
|
26
|
+
background-color: var(--color-background-screen-hover);
|
|
27
|
+
}
|
|
28
|
+
.wds-Calendar__option--day.disabled,
|
|
29
|
+
.wds-Calendar__option--month.disabled,
|
|
30
|
+
.wds-Calendar__option--year.disabled,
|
|
31
|
+
.wds-Calendar__option--day[aria-disabled="true"],
|
|
32
|
+
.wds-Calendar__option--month[aria-disabled="true"],
|
|
33
|
+
.wds-Calendar__option--year[aria-disabled="true"] {
|
|
34
|
+
--ring-outline-color: var(--color-sentiment-content-primary);
|
|
35
|
+
color: #768e9c;
|
|
36
|
+
color: var(--color-content-tertiary);
|
|
37
|
+
cursor: not-allowed;
|
|
38
|
+
}
|
|
39
|
+
.wds-Calendar__option--day.disabled:hover,
|
|
40
|
+
.wds-Calendar__option--month.disabled:hover,
|
|
41
|
+
.wds-Calendar__option--year.disabled:hover,
|
|
42
|
+
.wds-Calendar__option--day[aria-disabled="true"]:hover,
|
|
43
|
+
.wds-Calendar__option--month[aria-disabled="true"]:hover,
|
|
44
|
+
.wds-Calendar__option--year[aria-disabled="true"]:hover,
|
|
45
|
+
.wds-Calendar__option--day.disabled:focus,
|
|
46
|
+
.wds-Calendar__option--month.disabled:focus,
|
|
47
|
+
.wds-Calendar__option--year.disabled:focus,
|
|
48
|
+
.wds-Calendar__option--day[aria-disabled="true"]:focus,
|
|
49
|
+
.wds-Calendar__option--month[aria-disabled="true"]:focus,
|
|
50
|
+
.wds-Calendar__option--year[aria-disabled="true"]:focus {
|
|
51
|
+
filter: initial;
|
|
52
|
+
opacity: 1;
|
|
53
|
+
opacity: initial;
|
|
54
|
+
background-color: var(--color-sentiment-background-surface);
|
|
55
|
+
color: var(--color-sentiment-content-primary);
|
|
56
|
+
}
|
|
57
|
+
.wds-Calendar__option--day.disabled.active,
|
|
58
|
+
.wds-Calendar__option--month.disabled.active,
|
|
59
|
+
.wds-Calendar__option--year.disabled.active,
|
|
60
|
+
.wds-Calendar__option--day[aria-disabled="true"].active,
|
|
61
|
+
.wds-Calendar__option--month[aria-disabled="true"].active,
|
|
62
|
+
.wds-Calendar__option--year[aria-disabled="true"].active,
|
|
63
|
+
.wds-Calendar__option--day.disabled.active:hover,
|
|
64
|
+
.wds-Calendar__option--month.disabled.active:hover,
|
|
65
|
+
.wds-Calendar__option--year.disabled.active:hover,
|
|
66
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:hover,
|
|
67
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:hover,
|
|
68
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:hover,
|
|
69
|
+
.wds-Calendar__option--day.disabled.active:active,
|
|
70
|
+
.wds-Calendar__option--month.disabled.active:active,
|
|
71
|
+
.wds-Calendar__option--year.disabled.active:active,
|
|
72
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:active,
|
|
73
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:active,
|
|
74
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:active,
|
|
75
|
+
.wds-Calendar__option--day.disabled.active:focus,
|
|
76
|
+
.wds-Calendar__option--month.disabled.active:focus,
|
|
77
|
+
.wds-Calendar__option--year.disabled.active:focus,
|
|
78
|
+
.wds-Calendar__option--day[aria-disabled="true"].active:focus,
|
|
79
|
+
.wds-Calendar__option--month[aria-disabled="true"].active:focus,
|
|
80
|
+
.wds-Calendar__option--year[aria-disabled="true"].active:focus {
|
|
81
|
+
filter: initial;
|
|
82
|
+
opacity: 1;
|
|
83
|
+
opacity: initial;
|
|
84
|
+
background-color: var(--color-sentiment-interactive-primary);
|
|
85
|
+
color: var(--color-sentiment-interactive-secondary);
|
|
86
|
+
}
|
|
87
|
+
.wds-Calendar__option--day.disabled.today,
|
|
88
|
+
.wds-Calendar__option--month.disabled.today,
|
|
89
|
+
.wds-Calendar__option--year.disabled.today,
|
|
90
|
+
.wds-Calendar__option--day[aria-disabled="true"].today,
|
|
91
|
+
.wds-Calendar__option--month[aria-disabled="true"].today,
|
|
92
|
+
.wds-Calendar__option--year[aria-disabled="true"].today {
|
|
93
|
+
text-decoration-color: #768e9c;
|
|
94
|
+
text-decoration-color: var(--color-content-tertiary);
|
|
95
|
+
}
|
|
96
|
+
.wds-Calendar__option--day {
|
|
50
97
|
height: 40px;
|
|
51
98
|
height: var(--size-40);
|
|
52
99
|
border-radius: 9999px;
|
|
@@ -60,17 +107,45 @@
|
|
|
60
107
|
align-items: center;
|
|
61
108
|
justify-content: center;
|
|
62
109
|
}
|
|
63
|
-
.
|
|
110
|
+
.wds-Calendar__option--day.today {
|
|
64
111
|
-webkit-text-decoration: underline;
|
|
65
112
|
text-decoration: underline;
|
|
66
113
|
text-decoration-thickness: 2px;
|
|
67
114
|
text-underline-offset: 4px;
|
|
68
115
|
}
|
|
69
|
-
.tw-date-lookup-calendar
|
|
70
|
-
|
|
116
|
+
.tw-date-lookup-calendar {
|
|
117
|
+
min-width: 300px;
|
|
118
|
+
text-align: center;
|
|
119
|
+
table-layout: fixed;
|
|
120
|
+
border: none;
|
|
121
|
+
background-color: inherit;
|
|
122
|
+
}
|
|
123
|
+
.tw-date-lookup-calendar thead {
|
|
124
|
+
background-color: transparent;
|
|
125
|
+
background-color: initial;
|
|
126
|
+
}
|
|
127
|
+
.tw-date-lookup-calendar > tbody > tr > td.weekend button {
|
|
128
|
+
color: #5d7079;
|
|
129
|
+
color: var(--color-content-secondary);
|
|
130
|
+
}
|
|
131
|
+
.tw-date-lookup-calendar > tbody > tr > td {
|
|
132
|
+
border: none;
|
|
133
|
+
padding: 4px;
|
|
134
|
+
padding: var(--size-4);
|
|
135
|
+
}
|
|
136
|
+
@media (max-width: 320px) {
|
|
137
|
+
.tw-date-lookup-calendar > tbody > tr > td {
|
|
138
|
+
padding: 0;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
.tw-date-lookup-calendar > tbody > tr > td:has(.wds-Calendar__option--day) {
|
|
142
|
+
padding: 1px;
|
|
143
|
+
}
|
|
144
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus:not(.disabled):not([aria-disabled="true"]),
|
|
145
|
+
.tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled):not([aria-disabled="true"]) {
|
|
71
146
|
background-color: var(--color-background-screen-hover);
|
|
72
147
|
}
|
|
73
|
-
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active {
|
|
148
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active:not([aria-disabled="true"]) {
|
|
74
149
|
background-color: var(--color-interactive-primary);
|
|
75
150
|
color: var(--color-interactive-contrast);
|
|
76
151
|
}
|