@transferwise/components 0.0.0-experimental-fa3aa98 → 0.0.0-experimental-f4a328f
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 +16 -94
- package/build/Calendar/Calendar.js.map +1 -1
- package/build/Calendar/Calendar.messages.js +0 -12
- package/build/Calendar/Calendar.messages.js.map +1 -1
- package/build/Calendar/Calendar.messages.mjs +0 -12
- package/build/Calendar/Calendar.messages.mjs.map +1 -1
- package/build/Calendar/Calendar.mjs +17 -95
- package/build/Calendar/Calendar.mjs.map +1 -1
- package/build/Calendar/DateHeader/DateHeader.js +1 -5
- package/build/Calendar/DateHeader/DateHeader.js.map +1 -1
- package/build/Calendar/DateHeader/DateHeader.mjs +1 -5
- package/build/Calendar/DateHeader/DateHeader.mjs.map +1 -1
- package/build/Calendar/DayCalendar/DayCalendar.js +0 -14
- package/build/Calendar/DayCalendar/DayCalendar.js.map +1 -1
- package/build/Calendar/DayCalendar/DayCalendar.mjs +0 -14
- package/build/Calendar/DayCalendar/DayCalendar.mjs.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js +19 -53
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs +19 -53
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs.map +1 -1
- package/build/Calendar/MonthCalendar/MonthCalendar.js +0 -6
- package/build/Calendar/MonthCalendar/MonthCalendar.js.map +1 -1
- package/build/Calendar/MonthCalendar/MonthCalendar.mjs +0 -6
- package/build/Calendar/MonthCalendar/MonthCalendar.mjs.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js +3 -8
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs +3 -8
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs.map +1 -1
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.js +3 -8
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.js.map +1 -1
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.mjs +3 -8
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.mjs.map +1 -1
- package/build/Calendar/YearCalendar/YearCalendar.js +0 -7
- package/build/Calendar/YearCalendar/YearCalendar.js.map +1 -1
- package/build/Calendar/YearCalendar/YearCalendar.mjs +0 -7
- package/build/Calendar/YearCalendar/YearCalendar.mjs.map +1 -1
- package/build/Calendar/{TableLink → tableLink}/TableLink.js +11 -26
- package/build/Calendar/tableLink/TableLink.js.map +1 -0
- package/build/Calendar/{TableLink → tableLink}/TableLink.mjs +11 -26
- package/build/Calendar/tableLink/TableLink.mjs.map +1 -0
- package/build/DateLookup/DateLookup.js +9 -20
- package/build/DateLookup/DateLookup.js.map +1 -1
- package/build/DateLookup/DateLookup.mjs +9 -20
- package/build/DateLookup/DateLookup.mjs.map +1 -1
- package/build/Markup/Markup.js +137 -0
- package/build/Markup/Markup.js.map +1 -0
- package/build/Markup/Markup.mjs +132 -0
- package/build/Markup/Markup.mjs.map +1 -0
- package/build/Markup/constants.js +36 -0
- package/build/Markup/constants.js.map +1 -0
- package/build/Markup/constants.mjs +29 -0
- package/build/Markup/constants.mjs.map +1 -0
- package/build/Markup/utils/parseMarkup.js +236 -0
- package/build/Markup/utils/parseMarkup.js.map +1 -0
- package/build/Markup/utils/parseMarkup.mjs +231 -0
- package/build/Markup/utils/parseMarkup.mjs.map +1 -0
- package/build/Markup/utils/sanitise.js +114 -0
- package/build/Markup/utils/sanitise.js.map +1 -0
- package/build/Markup/utils/sanitise.mjs +111 -0
- package/build/Markup/utils/sanitise.mjs.map +1 -0
- package/build/i18n/en.json +0 -4
- package/build/i18n/en.json.js +0 -4
- package/build/i18n/en.json.js.map +1 -1
- package/build/i18n/en.json.mjs +0 -4
- package/build/i18n/en.json.mjs.map +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 +78 -123
- package/build/styles/Calendar/Calendar.css +37 -112
- package/build/styles/Markup/Markup.css +28 -0
- package/build/styles/Markup/_stories/Vulnerability/Vulnerability.css +69 -0
- package/build/styles/main.css +78 -123
- package/build/types/Body/Body.d.ts +2 -2
- package/build/types/Calendar/Calendar.d.ts +3 -16
- package/build/types/Calendar/Calendar.d.ts.map +1 -1
- package/build/types/Calendar/Calendar.messages.d.ts +0 -20
- package/build/types/Calendar/Calendar.messages.d.ts.map +1 -1
- package/build/types/Calendar/DateHeader/DateHeader.d.ts +0 -2
- package/build/types/Calendar/DateHeader/DateHeader.d.ts.map +1 -1
- package/build/types/Calendar/DayCalendar/DayCalendar.d.ts +1 -5
- package/build/types/Calendar/DayCalendar/DayCalendar.d.ts.map +1 -1
- package/build/types/Calendar/DayCalendar/Table/DayCalendarTable.d.ts +0 -4
- package/build/types/Calendar/DayCalendar/Table/DayCalendarTable.d.ts.map +1 -1
- package/build/types/Calendar/MonthCalendar/MonthCalendar.d.ts +0 -1
- package/build/types/Calendar/MonthCalendar/MonthCalendar.d.ts.map +1 -1
- package/build/types/Calendar/MonthCalendar/Table/MonthCalendarTable.d.ts +1 -2
- package/build/types/Calendar/MonthCalendar/Table/MonthCalendarTable.d.ts.map +1 -1
- package/build/types/Calendar/YearCalendar/Table/YearCalendarTable.d.ts +1 -2
- package/build/types/Calendar/YearCalendar/Table/YearCalendarTable.d.ts.map +1 -1
- package/build/types/Calendar/YearCalendar/YearCalendar.d.ts +0 -1
- package/build/types/Calendar/YearCalendar/YearCalendar.d.ts.map +1 -1
- package/build/types/Calendar/index.d.ts +0 -1
- package/build/types/Calendar/index.d.ts.map +1 -1
- package/build/types/Calendar/{TableLink → tableLink}/TableLink.d.ts +1 -3
- 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/DateLookup/DateLookup.d.ts +5 -24
- package/build/types/DateLookup/DateLookup.d.ts.map +1 -1
- package/build/types/DateLookup/index.d.ts +0 -1
- package/build/types/DateLookup/index.d.ts.map +1 -1
- package/build/types/IconButton/IconButton.d.ts +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 +20 -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/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/index.d.ts +0 -2
- package/build/types/common/DateUtils/index.d.ts.map +1 -1
- package/build/types/index.d.ts +4 -3
- package/build/types/index.d.ts.map +1 -1
- package/build/types/test-utils/index.d.ts +0 -8
- package/build/types/test-utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Calendar/Calendar.css +37 -112
- package/src/Calendar/Calendar.less +35 -5
- package/src/Calendar/Calendar.messages.ts +0 -21
- package/src/Calendar/Calendar.test.tsx +27 -288
- package/src/Calendar/Calendar.tsx +19 -136
- package/src/Calendar/DateHeader/DateHeader.tsx +0 -6
- package/src/Calendar/DayCalendar/DayCalendar.tsx +1 -33
- package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +28 -62
- package/src/Calendar/MonthCalendar/MonthCalendar.tsx +0 -8
- package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +3 -15
- package/src/Calendar/YearCalendar/Table/YearCalendarTable.tsx +3 -15
- package/src/Calendar/YearCalendar/YearCalendar.tsx +0 -9
- package/src/Calendar/_stories/Calendar.story.tsx +4 -138
- package/src/Calendar/index.ts +0 -7
- package/src/Calendar/{TableLink → tableLink}/TableLink.tsx +14 -29
- package/src/DateLookup/DateLookup.test.tsx +37 -34
- package/src/DateLookup/DateLookup.tsx +13 -37
- package/src/DateLookup/_stories/DateLookup.story.tsx +2 -124
- package/src/DateLookup/index.ts +0 -6
- 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 +463 -0
- package/src/Markup/Markup.tsx +169 -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 +41 -0
- package/src/Markup/index.ts +2 -0
- package/src/Markup/utils/parseMarkup.test.ts +706 -0
- package/src/Markup/utils/parseMarkup.ts +234 -0
- package/src/Markup/utils/sanitise.test.ts +497 -0
- package/src/Markup/utils/sanitise.ts +133 -0
- package/src/common/DateUtils/index.ts +0 -2
- package/src/i18n/en.json +0 -4
- package/src/index.ts +4 -3
- package/src/main.css +78 -123
- package/src/main.less +1 -0
- package/build/Calendar/TableLink/TableLink.js.map +0 -1
- package/build/Calendar/TableLink/TableLink.mjs.map +0 -1
- package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.js +0 -33
- package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.js.map +0 -1
- package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.mjs +0 -31
- package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.mjs.map +0 -1
- package/build/common/DateUtils/isDateDisabled/isDateDisabled.js +0 -40
- package/build/common/DateUtils/isDateDisabled/isDateDisabled.js.map +0 -1
- package/build/common/DateUtils/isDateDisabled/isDateDisabled.mjs +0 -38
- package/build/common/DateUtils/isDateDisabled/isDateDisabled.mjs.map +0 -1
- package/build/styles/Calendar/TableLink/TableLink.css +0 -115
- package/build/types/Calendar/Calendar.types.d.ts +0 -32
- package/build/types/Calendar/Calendar.types.d.ts.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/build/types/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.d.ts +0 -3
- package/build/types/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.d.ts.map +0 -1
- package/build/types/common/DateUtils/isDateDisabled/isDateDisabled.d.ts +0 -3
- package/build/types/common/DateUtils/isDateDisabled/isDateDisabled.d.ts.map +0 -1
- package/src/Calendar/Calendar.disabledDates.test.tsx +0 -518
- package/src/Calendar/Calendar.types.ts +0 -35
- package/src/Calendar/TableLink/TableLink.css +0 -115
- package/src/Calendar/TableLink/TableLink.less +0 -68
- package/src/Calendar/_stories/Calendar.accessibility.docs.mdx +0 -118
- package/src/Calendar/_stories/Calendar.test.story.tsx +0 -74
- package/src/DateLookup/DateLookup.disabledDates.test.tsx +0 -293
- package/src/DateLookup/_stories/DateLookup.accessibility.docs.mdx +0 -108
- package/src/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.test.ts +0 -98
- package/src/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.ts +0 -45
- package/src/common/DateUtils/isDateDisabled/isDateDisabled.test.ts +0 -169
- package/src/common/DateUtils/isDateDisabled/isDateDisabled.ts +0 -59
- /package/build/types/Calendar/{TableLink → tableLink}/index.d.ts +0 -0
- /package/src/Calendar/{TableLink → tableLink}/index.ts +0 -0
package/build/index.mjs
CHANGED
|
@@ -13,7 +13,6 @@ export { default as BadgeAssets } from './_deprecated/Badge/BadgeAssets.mjs';
|
|
|
13
13
|
export { default as Body } from './Body/Body.mjs';
|
|
14
14
|
export { default as Button } from './Button/Button.resolver.mjs';
|
|
15
15
|
export { default as IconButton } from './IconButton/IconButton.mjs';
|
|
16
|
-
export { default as Calendar } from './Calendar/Calendar.mjs';
|
|
17
16
|
export { default as Carousel } from './Carousel/Carousel.mjs';
|
|
18
17
|
export { default as Card } from './_deprecated/Card/Card.mjs';
|
|
19
18
|
export { default as Checkbox } from './Checkbox/Checkbox.mjs';
|
|
@@ -30,6 +29,7 @@ export { default as BaseCard } from './common/BaseCard/BaseCard.mjs';
|
|
|
30
29
|
export { default as CriticalCommsBanner } from './_deprecated/CriticalBanner/CriticalCommsBanner.mjs';
|
|
31
30
|
export { default as DateInput } from './DateInput/DateInput.mjs';
|
|
32
31
|
export { default as DateLookup } from './DateLookup/DateLookup.mjs';
|
|
32
|
+
export { default as Calendar } from './Calendar/Calendar.mjs';
|
|
33
33
|
export { default as Decision, DecisionPresentation, DecisionType } from './Decision/Decision.mjs';
|
|
34
34
|
export { default as DefinitionList } from './DefinitionList/DefinitionList.mjs';
|
|
35
35
|
export { default as Dimmer } from './Dimmer/Dimmer.mjs';
|
|
@@ -74,6 +74,7 @@ export { default as LegacyListItem } from './_deprecated/LegacyListItem/LegacyLi
|
|
|
74
74
|
export { default as Loader } from './Loader/Loader.mjs';
|
|
75
75
|
export { default as Logo, LogoType } from './Logo/Logo.mjs';
|
|
76
76
|
export { default as Markdown } from './Markdown/Markdown.mjs';
|
|
77
|
+
export { Markup } from './Markup/Markup.mjs';
|
|
77
78
|
export { default as Modal } from './Modal/Modal.mjs';
|
|
78
79
|
export { default as Money } from './Money/Money.mjs';
|
|
79
80
|
export { default as MoneyInput } from './MoneyInput/MoneyInput.mjs';
|
package/build/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/main.css
CHANGED
|
@@ -27269,12 +27269,46 @@ a[data-toggle="tooltip"] {
|
|
|
27269
27269
|
pointer-events: auto;
|
|
27270
27270
|
}
|
|
27271
27271
|
|
|
27272
|
-
.
|
|
27273
|
-
|
|
27274
|
-
|
|
27272
|
+
.tw-date-lookup-calendar {
|
|
27273
|
+
min-width: 300px;
|
|
27274
|
+
text-align: center;
|
|
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 {
|
|
27275
27307
|
width: 100%;
|
|
27276
27308
|
padding: 4px 0;
|
|
27277
27309
|
padding: var(--size-4) 0;
|
|
27310
|
+
color: #0097c7;
|
|
27311
|
+
color: var(--color-content-accent);
|
|
27278
27312
|
border: transparent;
|
|
27279
27313
|
border-radius: 10px;
|
|
27280
27314
|
border-radius: var(--radius-small);
|
|
@@ -27286,92 +27320,12 @@ a[data-toggle="tooltip"] {
|
|
|
27286
27320
|
}
|
|
27287
27321
|
|
|
27288
27322
|
@media (max-width: 320px) {
|
|
27289
|
-
.
|
|
27290
|
-
.wds-Calendar__option--month,
|
|
27291
|
-
.wds-Calendar__option--year {
|
|
27323
|
+
.tw-date-lookup-calendar > tbody > tr > td button {
|
|
27292
27324
|
padding: 0;
|
|
27293
27325
|
}
|
|
27294
27326
|
}
|
|
27295
27327
|
|
|
27296
|
-
.
|
|
27297
|
-
.wds-Calendar__option--month:focus,
|
|
27298
|
-
.wds-Calendar__option--year:focus {
|
|
27299
|
-
background-color: var(--color-background-screen-hover);
|
|
27300
|
-
}
|
|
27301
|
-
|
|
27302
|
-
.wds-Calendar__option--day.disabled,
|
|
27303
|
-
.wds-Calendar__option--month.disabled,
|
|
27304
|
-
.wds-Calendar__option--year.disabled,
|
|
27305
|
-
.wds-Calendar__option--day[aria-disabled="true"],
|
|
27306
|
-
.wds-Calendar__option--month[aria-disabled="true"],
|
|
27307
|
-
.wds-Calendar__option--year[aria-disabled="true"] {
|
|
27308
|
-
--ring-outline-color: var(--color-sentiment-content-primary);
|
|
27309
|
-
color: #768e9c;
|
|
27310
|
-
color: var(--color-content-tertiary);
|
|
27311
|
-
cursor: not-allowed;
|
|
27312
|
-
}
|
|
27313
|
-
|
|
27314
|
-
.wds-Calendar__option--day.disabled:hover,
|
|
27315
|
-
.wds-Calendar__option--month.disabled:hover,
|
|
27316
|
-
.wds-Calendar__option--year.disabled:hover,
|
|
27317
|
-
.wds-Calendar__option--day[aria-disabled="true"]:hover,
|
|
27318
|
-
.wds-Calendar__option--month[aria-disabled="true"]:hover,
|
|
27319
|
-
.wds-Calendar__option--year[aria-disabled="true"]:hover,
|
|
27320
|
-
.wds-Calendar__option--day.disabled:focus,
|
|
27321
|
-
.wds-Calendar__option--month.disabled:focus,
|
|
27322
|
-
.wds-Calendar__option--year.disabled:focus,
|
|
27323
|
-
.wds-Calendar__option--day[aria-disabled="true"]:focus,
|
|
27324
|
-
.wds-Calendar__option--month[aria-disabled="true"]:focus,
|
|
27325
|
-
.wds-Calendar__option--year[aria-disabled="true"]:focus {
|
|
27326
|
-
filter: initial;
|
|
27327
|
-
opacity: 1;
|
|
27328
|
-
opacity: initial;
|
|
27329
|
-
background-color: var(--color-sentiment-background-surface);
|
|
27330
|
-
color: var(--color-sentiment-content-primary);
|
|
27331
|
-
}
|
|
27332
|
-
|
|
27333
|
-
.wds-Calendar__option--day.disabled.active,
|
|
27334
|
-
.wds-Calendar__option--month.disabled.active,
|
|
27335
|
-
.wds-Calendar__option--year.disabled.active,
|
|
27336
|
-
.wds-Calendar__option--day[aria-disabled="true"].active,
|
|
27337
|
-
.wds-Calendar__option--month[aria-disabled="true"].active,
|
|
27338
|
-
.wds-Calendar__option--year[aria-disabled="true"].active,
|
|
27339
|
-
.wds-Calendar__option--day.disabled.active:hover,
|
|
27340
|
-
.wds-Calendar__option--month.disabled.active:hover,
|
|
27341
|
-
.wds-Calendar__option--year.disabled.active:hover,
|
|
27342
|
-
.wds-Calendar__option--day[aria-disabled="true"].active:hover,
|
|
27343
|
-
.wds-Calendar__option--month[aria-disabled="true"].active:hover,
|
|
27344
|
-
.wds-Calendar__option--year[aria-disabled="true"].active:hover,
|
|
27345
|
-
.wds-Calendar__option--day.disabled.active:active,
|
|
27346
|
-
.wds-Calendar__option--month.disabled.active:active,
|
|
27347
|
-
.wds-Calendar__option--year.disabled.active:active,
|
|
27348
|
-
.wds-Calendar__option--day[aria-disabled="true"].active:active,
|
|
27349
|
-
.wds-Calendar__option--month[aria-disabled="true"].active:active,
|
|
27350
|
-
.wds-Calendar__option--year[aria-disabled="true"].active:active,
|
|
27351
|
-
.wds-Calendar__option--day.disabled.active:focus,
|
|
27352
|
-
.wds-Calendar__option--month.disabled.active:focus,
|
|
27353
|
-
.wds-Calendar__option--year.disabled.active:focus,
|
|
27354
|
-
.wds-Calendar__option--day[aria-disabled="true"].active:focus,
|
|
27355
|
-
.wds-Calendar__option--month[aria-disabled="true"].active:focus,
|
|
27356
|
-
.wds-Calendar__option--year[aria-disabled="true"].active:focus {
|
|
27357
|
-
filter: initial;
|
|
27358
|
-
opacity: 1;
|
|
27359
|
-
opacity: initial;
|
|
27360
|
-
background-color: var(--color-sentiment-interactive-primary);
|
|
27361
|
-
color: var(--color-sentiment-interactive-secondary);
|
|
27362
|
-
}
|
|
27363
|
-
|
|
27364
|
-
.wds-Calendar__option--day.disabled.today,
|
|
27365
|
-
.wds-Calendar__option--month.disabled.today,
|
|
27366
|
-
.wds-Calendar__option--year.disabled.today,
|
|
27367
|
-
.wds-Calendar__option--day[aria-disabled="true"].today,
|
|
27368
|
-
.wds-Calendar__option--month[aria-disabled="true"].today,
|
|
27369
|
-
.wds-Calendar__option--year[aria-disabled="true"].today {
|
|
27370
|
-
text-decoration-color: #768e9c;
|
|
27371
|
-
text-decoration-color: var(--color-content-tertiary);
|
|
27372
|
-
}
|
|
27373
|
-
|
|
27374
|
-
.wds-Calendar__option--day {
|
|
27328
|
+
.tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option {
|
|
27375
27329
|
height: 40px;
|
|
27376
27330
|
height: var(--size-40);
|
|
27377
27331
|
border-radius: 9999px;
|
|
@@ -27386,53 +27340,19 @@ a[data-toggle="tooltip"] {
|
|
|
27386
27340
|
justify-content: center;
|
|
27387
27341
|
}
|
|
27388
27342
|
|
|
27389
|
-
.
|
|
27343
|
+
.tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option.today {
|
|
27390
27344
|
-webkit-text-decoration: underline;
|
|
27391
27345
|
text-decoration: underline;
|
|
27392
27346
|
text-decoration-thickness: 2px;
|
|
27393
27347
|
text-underline-offset: 4px;
|
|
27394
27348
|
}
|
|
27395
27349
|
|
|
27396
|
-
.tw-date-lookup-calendar
|
|
27397
|
-
|
|
27398
|
-
text-align: center;
|
|
27399
|
-
table-layout: fixed;
|
|
27400
|
-
border: none;
|
|
27401
|
-
background-color: inherit;
|
|
27402
|
-
}
|
|
27403
|
-
|
|
27404
|
-
.tw-date-lookup-calendar thead {
|
|
27405
|
-
background-color: transparent;
|
|
27406
|
-
background-color: initial;
|
|
27407
|
-
}
|
|
27408
|
-
|
|
27409
|
-
.tw-date-lookup-calendar > tbody > tr > td.weekend button {
|
|
27410
|
-
color: #5d7079;
|
|
27411
|
-
color: var(--color-content-secondary);
|
|
27412
|
-
}
|
|
27413
|
-
|
|
27414
|
-
.tw-date-lookup-calendar > tbody > tr > td {
|
|
27415
|
-
border: none;
|
|
27416
|
-
padding: 4px;
|
|
27417
|
-
padding: var(--size-4);
|
|
27418
|
-
}
|
|
27419
|
-
|
|
27420
|
-
@media (max-width: 320px) {
|
|
27421
|
-
.tw-date-lookup-calendar > tbody > tr > td {
|
|
27422
|
-
padding: 0;
|
|
27423
|
-
}
|
|
27424
|
-
}
|
|
27425
|
-
|
|
27426
|
-
.tw-date-lookup-calendar > tbody > tr > td:has(.wds-Calendar__option--day) {
|
|
27427
|
-
padding: 1px;
|
|
27428
|
-
}
|
|
27429
|
-
|
|
27430
|
-
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus:not(.disabled):not([aria-disabled="true"]),
|
|
27431
|
-
.tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled):not([aria-disabled="true"]) {
|
|
27350
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus,
|
|
27351
|
+
.tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled) {
|
|
27432
27352
|
background-color: var(--color-background-screen-hover);
|
|
27433
27353
|
}
|
|
27434
27354
|
|
|
27435
|
-
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active
|
|
27355
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active {
|
|
27436
27356
|
background-color: var(--color-interactive-primary);
|
|
27437
27357
|
color: var(--color-interactive-contrast);
|
|
27438
27358
|
}
|
|
@@ -30967,6 +30887,41 @@ button.np-link {
|
|
|
30967
30887
|
height: var(--wds-logo-height);
|
|
30968
30888
|
}
|
|
30969
30889
|
|
|
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
|
+
|
|
30970
30925
|
.tw-modal--scrollable {
|
|
30971
30926
|
max-height: 100%;
|
|
30972
30927
|
/* mobile viewport bug fix */
|
|
@@ -1,9 +1,37 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
.tw-date-lookup-calendar {
|
|
2
|
+
min-width: 300px;
|
|
3
|
+
text-align: center;
|
|
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 {
|
|
4
30
|
width: 100%;
|
|
5
31
|
padding: 4px 0;
|
|
6
32
|
padding: var(--size-4) 0;
|
|
33
|
+
color: #0097c7;
|
|
34
|
+
color: var(--color-content-accent);
|
|
7
35
|
border: transparent;
|
|
8
36
|
border-radius: 10px;
|
|
9
37
|
border-radius: var(--radius-small);
|
|
@@ -14,86 +42,11 @@
|
|
|
14
42
|
color: var(--color-content-primary);
|
|
15
43
|
}
|
|
16
44
|
@media (max-width: 320px) {
|
|
17
|
-
.
|
|
18
|
-
.wds-Calendar__option--month,
|
|
19
|
-
.wds-Calendar__option--year {
|
|
45
|
+
.tw-date-lookup-calendar > tbody > tr > td button {
|
|
20
46
|
padding: 0;
|
|
21
47
|
}
|
|
22
48
|
}
|
|
23
|
-
.
|
|
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 {
|
|
49
|
+
.tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option {
|
|
97
50
|
height: 40px;
|
|
98
51
|
height: var(--size-40);
|
|
99
52
|
border-radius: 9999px;
|
|
@@ -107,45 +60,17 @@
|
|
|
107
60
|
align-items: center;
|
|
108
61
|
justify-content: center;
|
|
109
62
|
}
|
|
110
|
-
.
|
|
63
|
+
.tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option.today {
|
|
111
64
|
-webkit-text-decoration: underline;
|
|
112
65
|
text-decoration: underline;
|
|
113
66
|
text-decoration-thickness: 2px;
|
|
114
67
|
text-underline-offset: 4px;
|
|
115
68
|
}
|
|
116
|
-
.tw-date-lookup-calendar
|
|
117
|
-
|
|
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"]) {
|
|
69
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus,
|
|
70
|
+
.tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled) {
|
|
146
71
|
background-color: var(--color-background-screen-hover);
|
|
147
72
|
}
|
|
148
|
-
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active
|
|
73
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active {
|
|
149
74
|
background-color: var(--color-interactive-primary);
|
|
150
75
|
color: var(--color-interactive-contrast);
|
|
151
76
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.wds-markup-emphasis {
|
|
2
|
+
font-weight: 600;
|
|
3
|
+
font-weight: var(--font-weight-semi-bold);
|
|
4
|
+
font-style: normal;
|
|
5
|
+
}
|
|
6
|
+
.wds-markup-emphasis--important {
|
|
7
|
+
color: #37517e;
|
|
8
|
+
color: var(--color-content-primary);
|
|
9
|
+
}
|
|
10
|
+
.wds-markup-emphasis--positive {
|
|
11
|
+
color: #008026;
|
|
12
|
+
color: var(--color-content-positive);
|
|
13
|
+
}
|
|
14
|
+
.wds-markup-emphasis--negative {
|
|
15
|
+
color: #cf2929;
|
|
16
|
+
color: var(--color-content-negative);
|
|
17
|
+
}
|
|
18
|
+
.wds-markup-strong {
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
font-weight: var(--font-weight-semi-bold);
|
|
21
|
+
}
|
|
22
|
+
.wds-markup-strikethrough {
|
|
23
|
+
-webkit-text-decoration: line-through;
|
|
24
|
+
text-decoration: line-through;
|
|
25
|
+
}
|
|
26
|
+
.wds-markup-paragraph {
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.vulnerability {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
4
|
+
gap: 4px 16px;
|
|
5
|
+
margin-bottom: 32px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.vulnerability__label {
|
|
9
|
+
font-size: 11px;
|
|
10
|
+
font-weight: 600;
|
|
11
|
+
color: #64748b;
|
|
12
|
+
text-transform: uppercase;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.vulnerability__input,
|
|
16
|
+
.vulnerability__output {
|
|
17
|
+
min-height: 1lh;
|
|
18
|
+
max-height: 28lh;
|
|
19
|
+
border: 1px solid #e2e8f0;
|
|
20
|
+
font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
|
|
21
|
+
line-height: 1.5;
|
|
22
|
+
padding: 10px;
|
|
23
|
+
border-radius: 4px;
|
|
24
|
+
overflow-wrap: break-word;
|
|
25
|
+
font-size: 12px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.vulnerability__input {
|
|
29
|
+
width: 100%;
|
|
30
|
+
background: #000000d9;
|
|
31
|
+
color: #ededed;
|
|
32
|
+
field-sizing: content;
|
|
33
|
+
resize: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.vulnerability__output {
|
|
37
|
+
background: #ffffff;
|
|
38
|
+
overflow-y: auto;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.vulnerability__badge {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
padding: 3px 8px;
|
|
44
|
+
border-radius: 3em;
|
|
45
|
+
font-size: 11px;
|
|
46
|
+
line-height: 0.75rem;
|
|
47
|
+
font-weight: 700;
|
|
48
|
+
margin-left: 8px;
|
|
49
|
+
vertical-align: middle;
|
|
50
|
+
text-align: center;
|
|
51
|
+
background-color: var(--badge-bg);
|
|
52
|
+
color: var(--badge-color);
|
|
53
|
+
box-shadow: color-mix(in srgb, var(--badge-color) 10%, transparent) 0 0 0 1px inset;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.vulnerability__badge--high {
|
|
57
|
+
--badge-bg: #ffe8ea;
|
|
58
|
+
--badge-color: #f30010;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.vulnerability__badge--medium {
|
|
62
|
+
--badge-bg: #fff7cf;
|
|
63
|
+
--badge-color: #51390d;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.vulnerability__badge--low {
|
|
67
|
+
--badge-bg: #d7f8ce;
|
|
68
|
+
--badge-color: #00511e;
|
|
69
|
+
}
|