@transferwise/components 45.26.0 → 45.26.2

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.
Files changed (54) hide show
  1. package/build/i18n/en.json +1 -0
  2. package/build/index.esm.js +185 -99
  3. package/build/index.esm.js.map +1 -1
  4. package/build/index.js +185 -99
  5. package/build/index.js.map +1 -1
  6. package/build/main.css +1 -1
  7. package/build/styles/dateLookup/DateLookup.css +1 -1
  8. package/build/styles/main.css +1 -1
  9. package/build/styles/typeahead/typeaheadOption/TypeaheadOption.css +1 -1
  10. package/build/types/dateLookup/DateLookup.d.ts.map +1 -1
  11. package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts +9 -0
  12. package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +1 -0
  13. package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts +1 -1
  14. package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -1
  15. package/build/types/dateLookup/tableLink/TableLink.d.ts +14 -4
  16. package/build/types/dateLookup/tableLink/TableLink.d.ts.map +1 -1
  17. package/build/types/dateLookup/tableLink/index.d.ts +1 -1
  18. package/build/types/dateLookup/tableLink/index.d.ts.map +1 -1
  19. package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -1
  20. package/build/types/info/Info.d.ts +1 -1
  21. package/build/types/info/Info.d.ts.map +1 -1
  22. package/build/types/info/Info.messages.d.ts +8 -0
  23. package/build/types/info/Info.messages.d.ts.map +1 -0
  24. package/build/types/summary/Summary.d.ts.map +1 -1
  25. package/package.json +1 -1
  26. package/src/dateLookup/DateLookup.css +1 -1
  27. package/src/dateLookup/DateLookup.js +19 -4
  28. package/src/dateLookup/DateLookup.keyboardEvents.spec.js +12 -0
  29. package/src/dateLookup/DateLookup.less +39 -49
  30. package/src/dateLookup/DateLookup.story.js +8 -7
  31. package/src/dateLookup/dayCalendar/table/DayCalendarTable.js +28 -3
  32. package/src/dateLookup/dayCalendar/table/DayCalendarTable.spec.js +25 -0
  33. package/src/dateLookup/getFocusableTime/getFocusable.spec.ts +40 -0
  34. package/src/dateLookup/getFocusableTime/getFocusableTime.tsx +14 -0
  35. package/src/dateLookup/monthCalendar/table/MonthCalendarTable.js +33 -20
  36. package/src/dateLookup/monthCalendar/table/MonthCalendarTable.spec.js +33 -0
  37. package/src/dateLookup/tableLink/TableLink.spec.js +6 -15
  38. package/src/dateLookup/tableLink/TableLink.tsx +79 -0
  39. package/src/dateLookup/yearCalendar/table/YearCalendarTable.js +33 -11
  40. package/src/dateLookup/yearCalendar/table/YearCalendarTable.spec.js +26 -0
  41. package/src/i18n/en.json +1 -0
  42. package/src/info/Info.messages.ts +8 -0
  43. package/src/info/Info.spec.js +10 -4
  44. package/src/info/Info.tsx +5 -2
  45. package/src/main.css +1 -1
  46. package/src/popover/Popover.js +1 -1
  47. package/src/popover/__snapshots__/Popover.spec.js.snap +2 -2
  48. package/src/summary/Summary.tsx +0 -1
  49. package/src/typeahead/Typeahead.story.js +6 -0
  50. package/src/typeahead/typeaheadOption/TypeaheadOption.css +1 -1
  51. package/src/typeahead/typeaheadOption/TypeaheadOption.js +1 -1
  52. package/src/typeahead/typeaheadOption/TypeaheadOption.less +2 -1
  53. package/src/dateLookup/tableLink/TableLink.js +0 -70
  54. /package/src/dateLookup/tableLink/{index.js → index.ts} +0 -0
@@ -1 +1 @@
1
- .tw-date-lookup-menu{width:400px}.tw-date-lookup-calendar{min-width:300px;table-layout:fixed;text-align:center}.tw-date-lookup-calendar>tbody>tr>td{padding:4px;padding:var(--size-4)}@media (max-width:320px){.tw-date-lookup-calendar>tbody>tr>td{padding:0}}.tw-date-lookup-calendar>tbody>tr>td button{background-color:transparent;border:transparent;border-radius:10px;border-radius:var(--radius-small);color:#0097c7;color:var(--color-content-accent);font-weight:600;font-weight:var(--font-weight-semi-bold);padding:4px 0;padding:var(--size-4) 0;width:100%}@media (max-width:320px){.tw-date-lookup-calendar>tbody>tr>td button{padding:0}}.tw-date-lookup-calendar>tbody>tr>td button:not(.disabled,:disabled).active{background-color:#0081ba;background-color:var(--color-interactive-accent-active);color:#fff}.tw-date-lookup-calendar>tbody>tr>td button:not(.disabled,:disabled):hover{background-color:#008fc9;background-color:var(--color-interactive-accent-hover);color:#fff}.np-theme-personal .tw-date-lookup-calendar>tbody>tr>td button{color:#37517e;color:var(--color-content-primary)}.np-theme-personal .tw-date-lookup-calendar>tbody>tr>td button:not(.disabled,:disabled).active,.np-theme-personal .tw-date-lookup-calendar>tbody>tr>td button:not(.disabled,:disabled):hover{color:var(--color-interactive-control)}.np-theme-personal .tw-date-lookup-calendar>tbody>tr>td:nth-child(7n+6) button,.np-theme-personal .tw-date-lookup-calendar>tbody>tr>td:nth-child(7n+7) button,.np-theme-personal .tw-date-lookup-calendar>thead>tr>th:nth-child(7n+6),.np-theme-personal .tw-date-lookup-calendar>thead>tr>th:nth-child(7n+7){color:#5d7079;color:var(--color-content-secondary);font-weight:400;font-weight:var(--font-weight-regular)}.tw-date-lookup-calendar abbr{text-decoration:none}.np-theme-personal .tw-date-lookup-calendar{background-color:inherit}.np-theme-personal .tw-date-lookup-menu .table-bordered,.np-theme-personal.tw-date-lookup-menu .table-bordered{border:none}.np-theme-personal .tw-date-lookup-menu thead,.np-theme-personal.tw-date-lookup-menu thead{background-color:unset}.np-theme-personal .tw-date-lookup-menu td,.np-theme-personal.tw-date-lookup-menu td{border:none}.np-theme-personal .tw-date-lookup-menu .tw-date-lookup-header-current-container,.np-theme-personal.tw-date-lookup-menu .tw-date-lookup-header-current-container{display:inline-block}.np-theme-personal .tw-date-lookup-menu .tw-date-lookup-header-current-container .tw-date-lookup-header-current,.np-theme-personal.tw-date-lookup-menu .tw-date-lookup-header-current-container .tw-date-lookup-header-current{color:#37517e;color:var(--color-content-primary)}.np-theme-personal .tw-date-lookup-menu .tw-date-lookup-day-option,.np-theme-personal.tw-date-lookup-menu .tw-date-lookup-day-option{align-items:center;color:#37517e;color:var(--color-content-primary);display:inline-flex;height:32px;height:var(--size-32);justify-content:center;line-height:32px;line-height:var(--size-32)}.np-theme-personal .tw-date-lookup-menu .tw-date-lookup-day-option.active,.np-theme-personal.tw-date-lookup-menu .tw-date-lookup-day-option.active{background-color:#00a2dd;background-color:var(--color-interactive-accent);color:var(--color-interactive-primary)}
1
+ .tw-date-lookup-menu{width:400px}.tw-date-lookup-calendar{background-color:inherit;min-width:300px;table-layout:fixed;text-align:center}.tw-date-lookup-calendar>tbody>tr>td.weekend button{color:#5d7079;color:var(--color-content-secondary)}.tw-date-lookup-calendar>tbody>tr>td{padding:4px;padding:var(--size-4)}@media (max-width:320px){.tw-date-lookup-calendar>tbody>tr>td{padding:0}}.tw-date-lookup-calendar>tbody>tr>td:has(.tw-date-lookup-day-option){padding:1px}.tw-date-lookup-calendar>tbody>tr>td button{background-color:transparent;border:transparent;border-radius:10px;border-radius:var(--radius-small);color:#0097c7;color:var(--color-content-accent);color:#37517e;color:var(--color-content-primary);font-weight:600;font-weight:var(--font-weight-semi-bold);padding:4px 0;padding:var(--size-4) 0;width:100%}@media (max-width:320px){.tw-date-lookup-calendar>tbody>tr>td button{padding:0}}.tw-date-lookup-calendar>tbody>tr>td button.tw-date-lookup-day-option{align-items:center;border-radius:9999px;border-radius:var(--radius-full);display:inline-flex;height:40px;height:var(--size-40);justify-content:center;line-height:40px;line-height:var(--size-40);padding:0;width:40px;width:var(--size-40)}.tw-date-lookup-calendar>tbody>tr>td button.tw-date-lookup-day-option.today{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}.tw-date-lookup-calendar>tbody>tr>td:hover button:not(.disabled,:disabled),.tw-date-lookup-calendar>tbody>tr>td:not(.disabled,:disabled) button.show-focus{background-color:var(--color-background-screen-hover)}.tw-date-lookup-calendar>tbody>tr>td:not(.disabled,:disabled) button.active{background-color:var(--color-interactive-primary);color:var(--color-interactive-contrast)}.tw-date-lookup-calendar abbr{text-decoration:none}.tw-date-lookup-header-current-container{display:inline}.np-theme-personal .tw-date-lookup-menu .table-bordered,.np-theme-personal.tw-date-lookup-menu .table-bordered{border:none}.np-theme-personal .tw-date-lookup-menu thead,.np-theme-personal.tw-date-lookup-menu thead{background-color:unset}.np-theme-personal .tw-date-lookup-menu td,.np-theme-personal.tw-date-lookup-menu td{border:none}.np-theme-personal .tw-date-lookup-menu .tw-date-lookup-header-current,.np-theme-personal.tw-date-lookup-menu .tw-date-lookup-header-current{color:#37517e;color:var(--color-content-primary)}