@transferwise/components 0.0.0-experimental-e9526a8 → 0.0.0-experimental-9a61b0a

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 (61) hide show
  1. package/build/i18n/en.json +8 -0
  2. package/build/index.esm.js +388 -241
  3. package/build/index.esm.js.map +1 -1
  4. package/build/index.js +387 -240
  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/types/common/focusBoundary/FocusBoundary.d.ts +2 -2
  10. package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +1 -1
  11. package/build/types/common/focusBoundary/utils/getFocusableElements.d.ts +2 -0
  12. package/build/types/common/focusBoundary/utils/getFocusableElements.d.ts.map +1 -0
  13. package/build/types/common/focusBoundary/utils/index.d.ts +3 -0
  14. package/build/types/common/focusBoundary/utils/index.d.ts.map +1 -0
  15. package/build/types/common/focusBoundary/utils/resetFocus.d.ts +2 -0
  16. package/build/types/common/focusBoundary/utils/resetFocus.d.ts.map +1 -0
  17. package/build/types/dateLookup/DateLookup.messages.d.ts +65 -0
  18. package/build/types/dateLookup/DateLookup.messages.d.ts.map +1 -0
  19. package/build/types/dateLookup/dateHeader/DateHeader.d.ts +3 -1
  20. package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -1
  21. package/build/types/dateLookup/tableLink/TableLink.d.ts +4 -26
  22. package/build/types/dateLookup/tableLink/TableLink.d.ts.map +1 -1
  23. package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts +4 -29
  24. package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -1
  25. package/build/types/upload/steps/completeStep/completeStep.d.ts.map +1 -1
  26. package/build/types/upload/steps/processingStep/processingStep.d.ts.map +1 -1
  27. package/package.json +1 -2
  28. package/src/common/bottomSheet/__snapshots__/BottomSheet.spec.tsx.snap +1 -8
  29. package/src/common/focusBoundary/FocusBoundary.spec.tsx +66 -0
  30. package/src/common/focusBoundary/FocusBoundary.tsx +36 -6
  31. package/src/common/focusBoundary/__snapshots__/FocusBoundary.spec.tsx.snap +16 -0
  32. package/src/common/focusBoundary/utils/getFocusableElements.js +25 -0
  33. package/src/common/focusBoundary/utils/getFocusableElements.spec.js +51 -0
  34. package/src/common/focusBoundary/utils/index.js +2 -0
  35. package/src/common/focusBoundary/utils/resetFocus.js +23 -0
  36. package/src/common/focusBoundary/utils/resetFocus.spec.js +103 -0
  37. package/src/dateLookup/DateLookup.css +1 -1
  38. package/src/dateLookup/DateLookup.keyboardEvents.spec.js +3 -3
  39. package/src/dateLookup/DateLookup.less +4 -0
  40. package/src/dateLookup/DateLookup.messages.js +44 -0
  41. package/src/dateLookup/DateLookup.testingLibrary.spec.js +39 -0
  42. package/src/dateLookup/dateHeader/DateHeader.js +48 -26
  43. package/src/dateLookup/dateHeader/DateHeader.spec.js +37 -0
  44. package/src/dateLookup/dayCalendar/DayCalendar.js +3 -1
  45. package/src/dateLookup/dayCalendar/DayCalendar.spec.js +7 -1
  46. package/src/dateLookup/dayCalendar/table/DayCalendarTable.js +7 -3
  47. package/src/dateLookup/dayCalendar/table/DayCalendarTable.spec.js +1 -0
  48. package/src/dateLookup/monthCalendar/MonthCalendar.js +3 -1
  49. package/src/dateLookup/monthCalendar/MonthCalendar.spec.js +7 -1
  50. package/src/dateLookup/monthCalendar/table/MonthCalendarTable.spec.js +4 -5
  51. package/src/dateLookup/tableLink/TableLink.js +24 -3
  52. package/src/dateLookup/tableLink/TableLink.spec.js +60 -4
  53. package/src/dateLookup/yearCalendar/YearCalendar.js +16 -3
  54. package/src/dateLookup/yearCalendar/YearCalendar.spec.js +14 -1
  55. package/src/dateLookup/yearCalendar/table/YearCalendarTable.spec.js +4 -5
  56. package/src/i18n/en.json +8 -0
  57. package/src/main.css +1 -1
  58. package/src/upload/Upload.js +1 -1
  59. package/src/upload/steps/completeStep/completeStep.js +4 -1
  60. package/src/upload/steps/processingStep/processingStep.js +1 -0
  61. package/src/uploadInput/uploadItem/UploadItem.tsx +1 -1
@@ -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)}.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%}.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)}.np-theme-personal .tw-date-lookup-calendar{background-color:inherit}.tw-date-lookup-header-current{font-weight:800;font-weight:var(--font-weight-bold)}.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)}.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{min-width:300px;table-layout:fixed;text-align:center}.tw-date-lookup-calendar>tbody>tr>td{padding:4px;padding:var(--size-4)}.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%}.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}.tw-date-lookup-header-current{font-weight:800;font-weight:var(--font-weight-bold)}.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)}.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)}