@transferwise/components 38.3.1 → 39.0.1

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 (208) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/build/es/no-polyfill/accordion/AccordionItem/AccordionItem.js +1 -1
  3. package/build/es/no-polyfill/alert/Alert.js +1 -1
  4. package/build/es/no-polyfill/checkbox/Checkbox.js +1 -1
  5. package/build/es/no-polyfill/common/Option/Option.js +1 -1
  6. package/build/es/no-polyfill/common/bottomSheet/BottomSheet.js +2 -2
  7. package/build/es/no-polyfill/common/direction.js +1 -0
  8. package/build/es/no-polyfill/common/domHelpers/index.js +1 -1
  9. package/build/es/no-polyfill/common/focusBoundary/FocusBoundary.js +1 -1
  10. package/build/es/no-polyfill/common/hocs/index.js +1 -0
  11. package/build/es/no-polyfill/common/hocs/theme/index.js +1 -0
  12. package/build/es/no-polyfill/common/hocs/theme/withTheme.js +2 -0
  13. package/build/es/no-polyfill/common/hocs/theme/withTheme.spec.js +1 -0
  14. package/build/es/no-polyfill/common/hooks/index.js +1 -1
  15. package/build/es/no-polyfill/common/hooks/useTheme/index.js +1 -0
  16. package/build/es/no-polyfill/common/hooks/useTheme/useTheme.js +1 -0
  17. package/build/es/no-polyfill/common/hooks/useTheme/useTheme.spec.js +1 -0
  18. package/build/es/no-polyfill/common/index.js +1 -1
  19. package/build/es/no-polyfill/common/locale/index.js +13 -3
  20. package/build/es/no-polyfill/common/theme.js +1 -1
  21. package/build/es/no-polyfill/dateInput/DateInput.js +2 -2
  22. package/build/es/no-polyfill/dateLookup/dateHeader/DateHeader.js +1 -1
  23. package/build/es/no-polyfill/decision/Decision.js +3 -3
  24. package/build/es/no-polyfill/dimmer/Dimmer.js +4 -3
  25. package/build/es/no-polyfill/dimmer/Dimmer.story.js +1 -0
  26. package/build/es/no-polyfill/drawer/Drawer.js +1 -1
  27. package/build/es/no-polyfill/dynamicFieldDefinitionList/DynamicFieldDefinitionList.js +1 -1
  28. package/build/es/no-polyfill/dynamicFieldDefinitionList/FormattedValue/FormattedValue.js +1 -1
  29. package/build/es/no-polyfill/index.js +4 -4
  30. package/build/es/no-polyfill/logo/Logo.js +1 -1
  31. package/build/es/no-polyfill/nudge/Nudge.js +1 -1
  32. package/build/es/no-polyfill/phoneNumberInput/PhoneNumberInput.js +1 -1
  33. package/build/es/no-polyfill/provider/Provider.js +1 -1
  34. package/build/es/no-polyfill/provider/Provider.spec.js +2 -0
  35. package/build/es/no-polyfill/provider/Provider.story.js +1 -0
  36. package/build/es/no-polyfill/provider/direction/DirectionProvider.js +1 -1
  37. package/build/es/no-polyfill/provider/direction/DirectionProvider.spec.js +1 -0
  38. package/build/es/no-polyfill/provider/index.js +1 -1
  39. package/build/es/no-polyfill/provider/theme/ThemeProvider.js +2 -0
  40. package/build/es/no-polyfill/provider/theme/ThemeProvider.spec.js +2 -0
  41. package/build/es/no-polyfill/provider/theme/index.js +1 -0
  42. package/build/es/no-polyfill/radio/Radio.js +1 -1
  43. package/build/es/no-polyfill/select/option/Option.js +1 -1
  44. package/build/es/no-polyfill/snackbar/Snackbar.js +1 -1
  45. package/build/es/no-polyfill/stepper/Stepper.js +1 -1
  46. package/build/es/no-polyfill/summary/Summary.js +1 -1
  47. package/build/es/no-polyfill/switch/Switch.js +1 -1
  48. package/build/es/no-polyfill/tabs/Tabs.js +1 -1
  49. package/build/es/no-polyfill/tooltip/Tooltip.js +8 -1
  50. package/build/es/no-polyfill/tooltip/Tooltip.spec.js +1 -0
  51. package/build/es/no-polyfill/tooltip/Tooltip.story.js +1 -0
  52. package/build/es/no-polyfill/upload/Upload.js +1 -1
  53. package/build/es/no-polyfill/upload/steps/completeStep/completeStep.js +1 -1
  54. package/build/es/no-polyfill/upload/steps/processingStep/processingStep.js +1 -1
  55. package/build/es/no-polyfill/uploadInput/UploadInput.js +5 -4
  56. package/build/es/no-polyfill/uploadInput/UploadInput.spec.js +1 -1
  57. package/build/es/no-polyfill/uploadInput/UploadInput.story.js +1 -1
  58. package/build/es/no-polyfill/uploadInput/uploadButton/UploadButton.js +1 -1
  59. package/build/es/no-polyfill/uploadInput/uploadItem/UploadItem.js +2 -2
  60. package/build/es/polyfill/accordion/AccordionItem/AccordionItem.js +1 -1
  61. package/build/es/polyfill/alert/Alert.js +1 -1
  62. package/build/es/polyfill/checkbox/Checkbox.js +1 -1
  63. package/build/es/polyfill/common/Option/Option.js +1 -1
  64. package/build/es/polyfill/common/bottomSheet/BottomSheet.js +2 -2
  65. package/build/es/polyfill/common/direction.js +1 -0
  66. package/build/es/polyfill/common/domHelpers/index.js +1 -1
  67. package/build/es/polyfill/common/focusBoundary/FocusBoundary.js +1 -1
  68. package/build/es/polyfill/common/hocs/index.js +1 -0
  69. package/build/es/polyfill/common/hocs/theme/index.js +1 -0
  70. package/build/es/polyfill/common/hocs/theme/withTheme.js +2 -0
  71. package/build/es/polyfill/common/hocs/theme/withTheme.spec.js +1 -0
  72. package/build/es/polyfill/common/hooks/index.js +1 -1
  73. package/build/es/polyfill/common/hooks/useTheme/index.js +1 -0
  74. package/build/es/polyfill/common/hooks/useTheme/useTheme.js +1 -0
  75. package/build/es/polyfill/common/hooks/useTheme/useTheme.spec.js +1 -0
  76. package/build/es/polyfill/common/index.js +1 -1
  77. package/build/es/polyfill/common/locale/index.js +13 -3
  78. package/build/es/polyfill/common/theme.js +1 -1
  79. package/build/es/polyfill/dateInput/DateInput.js +2 -2
  80. package/build/es/polyfill/dateLookup/dateHeader/DateHeader.js +1 -1
  81. package/build/es/polyfill/decision/Decision.js +3 -3
  82. package/build/es/polyfill/dimmer/Dimmer.js +4 -3
  83. package/build/es/polyfill/dimmer/Dimmer.story.js +1 -0
  84. package/build/es/polyfill/drawer/Drawer.js +1 -1
  85. package/build/es/polyfill/dynamicFieldDefinitionList/DynamicFieldDefinitionList.js +1 -1
  86. package/build/es/polyfill/dynamicFieldDefinitionList/FormattedValue/FormattedValue.js +1 -1
  87. package/build/es/polyfill/index.js +4 -4
  88. package/build/es/polyfill/logo/Logo.js +1 -1
  89. package/build/es/polyfill/nudge/Nudge.js +1 -1
  90. package/build/es/polyfill/phoneNumberInput/PhoneNumberInput.js +1 -1
  91. package/build/es/polyfill/provider/Provider.js +1 -1
  92. package/build/es/polyfill/provider/Provider.spec.js +2 -0
  93. package/build/es/polyfill/provider/Provider.story.js +1 -0
  94. package/build/es/polyfill/provider/direction/DirectionProvider.js +1 -1
  95. package/build/es/polyfill/provider/direction/DirectionProvider.spec.js +1 -0
  96. package/build/es/polyfill/provider/index.js +1 -1
  97. package/build/es/polyfill/provider/theme/ThemeProvider.js +2 -0
  98. package/build/es/polyfill/provider/theme/ThemeProvider.spec.js +2 -0
  99. package/build/es/polyfill/provider/theme/index.js +1 -0
  100. package/build/es/polyfill/radio/Radio.js +1 -1
  101. package/build/es/polyfill/select/option/Option.js +1 -1
  102. package/build/es/polyfill/snackbar/Snackbar.js +1 -1
  103. package/build/es/polyfill/stepper/Stepper.js +1 -1
  104. package/build/es/polyfill/summary/Summary.js +1 -1
  105. package/build/es/polyfill/switch/Switch.js +1 -1
  106. package/build/es/polyfill/tabs/Tabs.js +1 -1
  107. package/build/es/polyfill/tooltip/Tooltip.js +8 -1
  108. package/build/es/polyfill/tooltip/Tooltip.spec.js +1 -0
  109. package/build/es/polyfill/tooltip/Tooltip.story.js +1 -0
  110. package/build/es/polyfill/upload/Upload.js +1 -1
  111. package/build/es/polyfill/upload/steps/completeStep/completeStep.js +1 -1
  112. package/build/es/polyfill/upload/steps/processingStep/processingStep.js +1 -1
  113. package/build/es/polyfill/uploadInput/UploadInput.js +5 -4
  114. package/build/es/polyfill/uploadInput/UploadInput.spec.js +1 -1
  115. package/build/es/polyfill/uploadInput/UploadInput.story.js +1 -1
  116. package/build/es/polyfill/uploadInput/uploadButton/UploadButton.js +1 -1
  117. package/build/es/polyfill/uploadInput/uploadItem/UploadItem.js +2 -2
  118. package/build/main.css +1 -1
  119. package/build/styles/accordion/Accordion.css +1 -1
  120. package/build/styles/avatar/Avatar.css +1 -1
  121. package/build/styles/badge/Badge.css +1 -1
  122. package/build/styles/button/Button.css +1 -1
  123. package/build/styles/card/Card.css +1 -1
  124. package/build/styles/checkboxButton/CheckboxButton.css +1 -1
  125. package/build/styles/chips/Chip.css +1 -1
  126. package/build/styles/circularButton/CircularButton.css +1 -1
  127. package/build/styles/common/Option/Option.css +1 -1
  128. package/build/styles/common/RadioButton/RadioButton.css +1 -1
  129. package/build/styles/common/bottomSheet/BottomSheet.css +1 -1
  130. package/build/styles/common/closeButton/CloseButton.css +1 -1
  131. package/build/styles/dateLookup/DateLookup.css +1 -1
  132. package/build/styles/dateLookup/dateTrigger/DateTrigger.css +1 -1
  133. package/build/styles/decision/Decision.css +1 -1
  134. package/build/styles/definitionList/DefinitionList.css +1 -1
  135. package/build/styles/dimmer/Dimmer.css +1 -1
  136. package/build/styles/drawer/Drawer.css +1 -1
  137. package/build/styles/emphasis/Emphasis.css +1 -1
  138. package/build/styles/flowNavigation/FlowNavigation.css +1 -1
  139. package/build/styles/flowNavigation/animatedLabel/AnimatedLabel.css +1 -1
  140. package/build/styles/flowNavigation/backButton/BackButton.css +1 -1
  141. package/build/styles/header/Header.css +1 -1
  142. package/build/styles/info/Info.css +1 -1
  143. package/build/styles/instructionsList/InstructionsList.css +1 -1
  144. package/build/styles/lab/mobileNav/MobileNav.css +1 -1
  145. package/build/styles/lab/pagination/Pagination.css +1 -1
  146. package/build/styles/link/Link.css +1 -1
  147. package/build/styles/loader/Loader.css +1 -1
  148. package/build/styles/main.css +1 -1
  149. package/build/styles/modal/Modal.css +1 -1
  150. package/build/styles/moneyInput/MoneyInput.css +1 -1
  151. package/build/styles/navigationOption/NavigationOption.css +1 -1
  152. package/build/styles/navigationOptionsList/NavigationOptionsList.css +1 -1
  153. package/build/styles/nudge/Nudge.css +1 -1
  154. package/build/styles/overlayHeader/OverlayHeader.css +1 -1
  155. package/build/styles/phoneNumberInput/PhoneNumberInput.css +1 -1
  156. package/build/styles/popover/Popover.css +1 -1
  157. package/build/styles/section/Section.css +1 -1
  158. package/build/styles/slidingPanel/SlidingPanel.css +1 -1
  159. package/build/styles/snackbar/Snackbar.css +1 -1
  160. package/build/styles/stepper/Stepper.css +1 -1
  161. package/build/styles/summary/Summary.css +1 -1
  162. package/build/styles/switch/Switch.css +1 -1
  163. package/build/styles/tabs/Tabs.css +1 -1
  164. package/build/styles/tile/Tile.css +1 -1
  165. package/build/styles/tooltip/Tooltip.css +1 -1
  166. package/build/styles/typeahead/Typeahead.css +1 -1
  167. package/build/styles/typeahead/typeaheadOption/TypeaheadOption.css +1 -1
  168. package/build/styles/uploadInput/UploadInput.css +1 -1
  169. package/build/styles/uploadInput/uploadButton/UploadButton.css +1 -1
  170. package/build/styles/uploadInput/uploadItem/UploadItem.css +1 -1
  171. package/build/types/common/direction.d.ts +6 -0
  172. package/build/types/common/domHelpers/index.d.ts +2 -1
  173. package/build/types/common/focusBoundary/FocusBoundary.d.ts +2 -2
  174. package/build/types/common/hocs/index.d.ts +1 -0
  175. package/build/types/common/hocs/theme/index.d.ts +1 -0
  176. package/build/types/common/hocs/theme/withTheme.d.ts +10 -0
  177. package/build/types/common/hocs/theme/withTheme.spec.d.ts +1 -0
  178. package/build/types/common/hooks/index.d.ts +3 -2
  179. package/build/types/common/hooks/useDirection/useDirection.d.ts +3 -2
  180. package/build/types/common/hooks/useTheme/index.d.ts +1 -0
  181. package/build/types/common/hooks/useTheme/useTheme.d.ts +1 -0
  182. package/build/types/common/hooks/useTheme/useTheme.spec.d.ts +1 -0
  183. package/build/types/common/index.d.ts +2 -0
  184. package/build/types/common/locale/index.d.ts +23 -2
  185. package/build/types/common/propsValues/position.d.ts +4 -0
  186. package/build/types/common/theme.d.ts +5 -2
  187. package/build/types/dimmer/Dimmer.d.ts +31 -19
  188. package/build/types/dimmer/Dimmer.story.d.ts +16 -0
  189. package/build/types/index.d.ts +5 -3
  190. package/build/types/provider/Provider.spec.d.ts +1 -0
  191. package/build/types/provider/Provider.story.d.ts +23 -0
  192. package/build/types/provider/direction/DirectionProvider.d.ts +8 -18
  193. package/build/types/provider/direction/DirectionProvider.spec.d.ts +1 -0
  194. package/build/types/provider/index.d.ts +2 -0
  195. package/build/types/provider/theme/ThemeProvider.d.ts +8 -0
  196. package/build/types/provider/theme/ThemeProvider.spec.d.ts +1 -0
  197. package/build/types/provider/theme/index.d.ts +1 -0
  198. package/build/types/test-utils/index.d.ts +0 -8
  199. package/build/types/tooltip/Tooltip.d.ts +9 -18
  200. package/build/types/tooltip/Tooltip.spec.d.ts +1 -0
  201. package/build/types/tooltip/Tooltip.story.d.ts +12 -0
  202. package/build/types/uploadInput/UploadInput.d.ts +7 -1
  203. package/build/types/uploadInput/UploadInput.story.d.ts +1 -0
  204. package/build/types/withNextPortal/withNextPortal.d.ts +2 -1
  205. package/build/umd/no-polyfill/main.js +1 -1
  206. package/build/umd/polyfill/main.js +1 -1
  207. package/package.json +13 -12
  208. package/scripts/generate-type-declarations.js +85 -0
@@ -1 +1 @@
1
- .np-overlay-header{min-height:97px}.np-overlay-header .separator{margin-left:16px!important;margin-right:16px!important;height:32px;height:var(--size-32,32px);width:1px;background-color:#e2e6e8;background-color:var(--color-border-neutral,#e2e6e8)}
1
+ .np-overlay-header{min-height:97px}.np-overlay-header .separator{height:32px;height:var(--size-32,32px);width:1px;background-color:rgba(0,0,0,.10196078431372549);background-color:var(--color-border-neutral,rgba(0,0,0,.10196078431372549))}[dir=rtl] .np-overlay-header .separator{margin-right:16px!important}[dir=rtl] .np-overlay-header .separator,html:not([dir=rtl]) .np-overlay-header .separator{margin-left:16px!important}html:not([dir=rtl]) .np-overlay-header .separator{margin-right:16px!important}
@@ -1 +1 @@
1
- .tw-telephone{display:flex}@media (min-width:576px){.tw-telephone .btn-group .dropdown-menu{min-width:250px}}.tw-telephone .tw-telephone__number-input{margin-left:12px}.tw-telephone--rtl .tw-telephone__number-input{margin-left:0;margin-right:12px;width:100%}.tw-telephone__country-select{flex-basis:120px;flex-shrink:0}.tw-telephone__number-input{flex:auto 1 1}
1
+ .tw-telephone{display:flex}@media (min-width:576px){.tw-telephone .btn-group .dropdown-menu{min-width:250px}}.tw-telephone .tw-telephone__number-input{margin-left:12px;margin-left:var(--size-12,12px)}[dir=rtl] .tw-telephone .tw-telephone__number-input{margin-right:12px;margin-right:var(--size-12,12px);margin-left:0}.tw-telephone__country-select{flex-basis:120px;flex-shrink:0}.tw-telephone__number-input{flex:auto 1 1}
@@ -1 +1 @@
1
- .np-popover__container .np-popover__content{font-size:.875rem}.np-popover__container.np-panel .np-popover__title{margin:0;color:#37517e;color:var(--color-text-primary,#37517e);font-weight:600;letter-spacing:0;font-size:1rem;line-height:1.5}.np-popover__container.np-panel .np-popover__title .small,.np-popover__container.np-panel .np-popover__title small{color:#829ca9;font-weight:300;line-height:1;font-size:75%}.np-popover__container.np-panel .np-popover__content{padding:16px 24px;padding:var(--size-16,16px) var(--size-24,24px);max-width:276px}.np-popover__container.np-bottom-sheet .np-popover__title{color:#37517e;color:var(--color-text-primary,#37517e);font-weight:600;letter-spacing:0;margin:0 0 2px;font-size:1.375rem;line-height:1.36363636}.np-popover__container.np-bottom-sheet .np-popover__title .small,.np-popover__container.np-bottom-sheet .np-popover__title small{color:#829ca9;font-weight:300;line-height:1}@media (min-width:768px){.np-popover__container.np-bottom-sheet .np-popover__title{margin-bottom:4px;margin-bottom:var(--size-4,4px);font-weight:800;font-size:1.75rem;line-height:1.14285714}}.np-popover__container.np-bottom-sheet .np-popover__title .small,.np-popover__container.np-bottom-sheet .np-popover__title small{font-size:65%}.np-popover__container.np-bottom-sheet .np-popover__content{padding:32px 24px;padding:var(--size-32,32px) var(--size-24,24px)}
1
+ .np-popover__container .np-popover__content{font-size:.875rem;font-size:var(--font-size-14,.875rem);color:#5d7079;color:var(--color-content-secondary,#5d7079)}.np-popover__container.np-panel .np-popover__title{margin:0;color:#37517e;color:var(--color-content-primary,#37517e);line-height:1.2;line-height:var(--line-height-title,1.2);letter-spacing:0;font-size:1rem;font-size:var(--font-size-16,1rem);font-weight:600;font-weight:var(--font-weight-semi-bold,600)}.np-popover__container.np-panel .np-popover__content{padding:16px 24px;padding:var(--size-16,16px) var(--size-24,24px);max-width:276px}.np-popover__container.np-bottom-sheet .np-popover__title{color:#37517e;color:var(--color-content-primary,#37517e);line-height:1.2;line-height:var(--line-height-title,1.2);letter-spacing:0;margin:0 0 4px;margin-bottom:var(--size-4,4px);font-size:1.625rem;font-size:var(--font-size-26,1.625rem);font-weight:800;font-weight:var(--font-weight-bold,800)}.np-popover__container.np-bottom-sheet .np-popover__content{padding:32px 24px;padding:var(--size-32,32px) var(--size-24,24px)}
@@ -1 +1 @@
1
- .np-section{background-color:#fff;background-color:var(--color-background-screen,#fff);margin-top:32px;margin-top:var(--size-32,32px)}.np-section .np-accordion-item:last-child .np-accordion-item__content,.np-section .np-card:last-child .np-card__divider:not(.np-card__divider--expanded),.np-section .np-option:last-child .media{border:none}.np-section .np-accordion-item:not(:last-child) .media,.np-section .np-navigation-options-list__item:not(:last-child) .media{border-bottom:1px solid #e2e6e8;border-bottom:1px solid var(--color-border-neutral,#e2e6e8)}
1
+ .np-section{background-color:#fff;background-color:var(--color-background-screen,#fff);margin-top:32px;margin-top:var(--size-32,32px)}.np-section .np-accordion-item:last-child .np-accordion-item__content,.np-section .np-card:last-child .np-card__divider:not(.np-card__divider--expanded),.np-section .np-option:last-child .media{border:none}.np-section .np-accordion-item:not(:last-child) .media,.np-section .np-navigation-options-list__item:not(:last-child) .media{border-bottom:1px solid rgba(0,0,0,.10196078431372549);border-bottom:1px solid var(--color-border-neutral,rgba(0,0,0,.10196078431372549))}
@@ -1 +1 @@
1
- .sliding-panel{transform:translateX(-100%);transition:transform .35s cubic-bezier(0,.94,.62,1);background:#fff;background:var(--color-background-elevated,#fff);z-index:1030;position:absolute}.sliding-panel.sliding-panel--fixed{position:fixed}.sliding-panel.sliding-panel--open-left,.sliding-panel.sliding-panel--open-right{top:0;bottom:0}.sliding-panel.sliding-panel--open-right{transform:translateX(100%);right:0}.sliding-panel.sliding-panel--open-left{transform:translateX(-100%);left:0}.sliding-panel.sliding-panel-enter-done.sliding-panel--open-left,.sliding-panel.sliding-panel-enter-done.sliding-panel--open-right{transform:translateX(0)}.sliding-panel.sliding-panel-enter-done.sliding-panel--open-bottom,.sliding-panel.sliding-panel-enter-done.sliding-panel--open-top{transform:translateY(0)}.sliding-panel.sliding-panel--open-bottom,.sliding-panel.sliding-panel--open-top{right:0;left:0;width:100%}.sliding-panel.sliding-panel--open-top{transform:translateY(-100%);top:0}.sliding-panel.sliding-panel--open-bottom{transform:translateY(100%);bottom:0}.sliding-panel.sliding-panel--border-top{box-shadow:inset 0 -1px 0 0 #e2e6e8}.sliding-panel.sliding-panel--border-right{box-shadow:inset 1px 0 0 0 #e2e6e8}.sliding-panel.sliding-panel--border-bottom{box-shadow:inset 0 1px 0 0 #e2e6e8}.sliding-panel.sliding-panel--border-left{box-shadow:inset -1px 0 0 0 #e2e6e8}
1
+ .sliding-panel{transform:translateX(-100%);transition:transform .35s cubic-bezier(0,.94,.62,1);background:#fff;background:var(--color-background-elevated,#fff);z-index:1030;position:absolute}[dir=rtl] .sliding-panel{transform:translateX(100%)}.sliding-panel.sliding-panel--fixed{position:fixed}.sliding-panel.sliding-panel--open-left,.sliding-panel.sliding-panel--open-right{top:0;bottom:0}.sliding-panel.sliding-panel--open-right{transform:translateX(100%);right:0}[dir=rtl] .sliding-panel.sliding-panel--open-right{transform:translateX(-100%);left:0;right:auto}.sliding-panel.sliding-panel--open-left{transform:translateX(-100%);left:0}[dir=rtl] .sliding-panel.sliding-panel--open-left{transform:translateX(100%);right:0;left:auto}.sliding-panel.sliding-panel-enter-done.sliding-panel--open-left,.sliding-panel.sliding-panel-enter-done.sliding-panel--open-right{transform:translateX(0)}.sliding-panel.sliding-panel-enter-done.sliding-panel--open-bottom,.sliding-panel.sliding-panel-enter-done.sliding-panel--open-top{transform:translateY(0)}.sliding-panel.sliding-panel--open-bottom,.sliding-panel.sliding-panel--open-top{right:0;left:0;width:100%}[dir=rtl] .sliding-panel.sliding-panel--open-bottom,[dir=rtl] .sliding-panel.sliding-panel--open-top{left:0;right:auto;right:0;left:auto}.sliding-panel.sliding-panel--open-top{transform:translateY(-100%);top:0}.sliding-panel.sliding-panel--open-bottom{transform:translateY(100%);bottom:0}.sliding-panel.sliding-panel--border-top{box-shadow:inset 0 -1px 0 0 #e2e6e8}.sliding-panel.sliding-panel--border-right{box-shadow:inset 1px 0 0 0 #e2e6e8}.sliding-panel.sliding-panel--border-bottom{box-shadow:inset 0 1px 0 0 #e2e6e8}.sliding-panel.sliding-panel--border-left{box-shadow:inset -1px 0 0 0 #e2e6e8}
@@ -1 +1 @@
1
- .snackbar{text-align:center;position:fixed;bottom:0;left:0;right:0;z-index:1060}.snackbar__text{background:#2e4369;color:#fff;font-size:.875rem;line-height:20px;display:inline-flex;border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,.25);align-items:center;justify-content:space-between;text-align:left;margin:0 16px;margin:0 var(--size-16,16px);padding:14px 16px;padding:14px var(--size-16,16px);width:calc(100% - 32px);width:calc(100% - var(--size-32, 32px));transition:.4s cubic-bezier(.215,.61,.355,1)}.snackbar__text--dark{background:#fff;background:var(--color-background-screen,#fff);color:#37517e;color:var(--color-text-primary,#37517e)}@media (min-width:576px){.snackbar__text{width:auto;max-width:600px}}.snackbar__text__action{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex-shrink:0;line-height:1;border:0;padding:14px 16px;margin:-14px -16px -14px 0;background:none;outline:0;font:inherit;color:#00b9ff;color:var(--color-accent,#00b9ff);font-weight:600;position:relative;cursor:pointer}.snackbar__text-container-enter,.snackbar__text-container-exit{transform:translateY(calc(100% + 10px))}.snackbar__text-container-enter-active{transform:translateY(-16px);transform:translateY(calc(-16px - env(safe-area-inset-bottom)))}@media (min-width:576px){.snackbar__text-container-enter-active{transform:translateY(-24px)}}.snackbar--rtl .snackbar__text__action{margin:-14px 0 -14px -16px}
1
+ .snackbar{text-align:center;position:fixed;bottom:0;left:0;right:0;z-index:1060}[dir=rtl] .snackbar{right:0;left:auto;left:0;right:auto}.snackbar__text{background:#37517e;color:#fff;font-size:.875rem;font-size:var(--font-size-14,.875rem);line-height:20px;display:inline-flex;border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,.25);align-items:center;justify-content:space-between;text-align:left;margin:0 16px;margin:0 var(--size-16,16px);padding:14px 16px;padding:14px var(--size-16,16px);width:calc(100% - 32px);width:calc(100% - var(--size-32, 32px));transition:.4s cubic-bezier(.215,.61,.355,1)}[dir=rtl] .snackbar__text{text-align:right}.snackbar__text--dark{background:#fff;background:var(--color-background-screen,#fff);color:#37517e;color:var(--color-content-primary,#37517e)}@media (min-width:576px){.snackbar__text{width:auto;max-width:600px}}.snackbar__text__action{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex-shrink:0;line-height:1;border:0;padding:14px 16px;margin-top:-14px;margin-right:-16px;margin-right:calc(var(--size-16, 16px)*-1);margin-bottom:-14px;margin-left:0;background:none;outline:0;font:inherit;font-weight:600;font-weight:var(--font-weight-semi-bold,600);color:#00b9ff;position:relative;cursor:pointer}[dir=rtl] .snackbar__text__action{margin-left:-16px;margin-left:calc(var(--size-16, 16px)*-1);margin-right:0;margin-left:0}.snackbar__text-container-enter,.snackbar__text-container-exit{transform:translateY(calc(100% + 10px))}.snackbar__text-container-enter-active{transform:translateY(-16px);transform:translateY(calc(-16px - env(safe-area-inset-bottom)))}@media (min-width:576px){.snackbar__text-container-enter-active{transform:translateY(-24px)}}
@@ -1 +1 @@
1
- .tw-stepper{padding-bottom:24px;width:100%}@media only screen and (max-width:575px){.tw-stepper{padding-bottom:0}}.tw-stepper__step{position:absolute;list-style-type:none}.tw-stepper__step--active .tw-stepper__step-label{color:#2e4369;font-weight:600}.tw-stepper__step--clickable .tw-stepper__step-label{color:#00b9ff;font-weight:600;transition:color .15s ease-in-out}.tw-stepper__step--clickable .tw-stepper__step-label:focus,.tw-stepper__step--clickable .tw-stepper__step-label:hover{color:#00a4df}@media screen and (min-width:576px) and (max-width:991px){.tw-stepper__step:first-child .tooltip-inner{transform:translateX(calc(50% - 32px))}.tw-stepper__step:last-child .tooltip-inner{transform:translateX(calc(-50% + 32px))}.tw-stepper__step .tooltip-arrow{z-index:1}}.tw-stepper__step-label{color:#a8aaac;transition:color .6s ease-in-out;position:absolute;white-space:nowrap;transform:translateX(-50%)}.tw-stepper .tooltip{top:24px!important;white-space:nowrap}.tw-stepper .tooltip .tooltip-inner{max-width:100%}.tw-stepper .tw-tooltip-container{display:block}.tw-stepper-steps{position:relative}.progress-bar-ending{float:left;height:100%;background:linear-gradient(90deg,#00b9ff,#2e4369);transition:width .6s ease-in-out}.progress-bar-ending:after{float:right;width:8px;height:8px;margin-top:-3px;margin-right:-4px;content:"";background-color:#2e4369;border-radius:4px}.progress-bar-filler{float:left;height:100%;background-color:#00b9ff;border-top-left-radius:1px;border-bottom-left-radius:1px;transition:width .6s ease-in-out;will-change:width}.btn-unstyled{background:none;outline:none;border:none;margin:0;padding:0;display:block}
1
+ .tw-stepper{padding-bottom:24px;width:100%}@media only screen and (max-width:575px){.tw-stepper{padding-bottom:0}}.tw-stepper__step{list-style-type:none;display:flex;justify-content:center;width:100%}.tw-stepper__step--active .tw-stepper__step-label{color:#37517e;color:var(--color-content-primary,#37517e);font-weight:600;font-weight:var(--font-weight-semi-bold,600)}.tw-stepper__step--clickable .tw-stepper__step-label{color:#0097c7;color:var(--color-content-accent,#0097c7);font-weight:600;font-weight:var(--font-weight-semi-bold,600);transition:color .15s ease-in-out}@media screen and (min-width:576px) and (max-width:991px){.tw-stepper__step:first-child .tooltip-inner{transform:translateX(calc(50% - 32px))}.tw-stepper__step:last-child .tooltip-inner{transform:translateX(calc(-50% + 32px))}.tw-stepper__step .tooltip-arrow{z-index:1}}.tw-stepper__step-label{color:#5d7079;color:var(--color-content-secondary,#5d7079);transition:color .6s ease-in-out;white-space:nowrap}.tw-stepper .tooltip{top:24px!important;white-space:nowrap}.tw-stepper .tooltip .tooltip-inner{max-width:100%}.tw-stepper .tw-tooltip-container{display:block}.tw-stepper-steps{position:relative;display:flex;justify-content:space-between;width:125%;margin-left:-12.5%;padding:0}[dir=rtl] .tw-stepper-steps{margin-right:-12.5%;margin-left:0;padding:0}.progress-bar-ending{float:left;height:100%;background:linear-gradient(90deg,#00a2dd,#37517e);background:linear-gradient(90deg,var(--color-interactive-accent,#00a2dd),#37517e);transition:width .6s ease-in-out}[dir=rtl] .progress-bar-ending{float:right;background:linear-gradient(270deg,#00a2dd,#37517e);background:linear-gradient(270deg,var(--color-interactive-accent,#00a2dd),#37517e)}.progress-bar-ending:after{float:right;width:8px;height:8px;margin-top:-3px;margin-right:-4px;content:"";background-color:#37517e;border-radius:4px}[dir=rtl] .progress-bar-ending:after{float:left;margin-left:-4px;margin-right:0}.progress-bar-filler{float:left;height:100%;background-color:#00a2dd;background-color:var(--color-interactive-accent,#00a2dd);border-top-left-radius:1px;border-bottom-left-radius:1px;transition:width .6s ease-in-out;will-change:width}[dir=rtl] .progress-bar-filler{float:right}.btn-unstyled{background:none;outline:none;border:none;margin:0;padding:0;display:block}
@@ -1 +1 @@
1
- .np-summary{min-width:280px}.np-summary__title{margin-top:2px;line-height:1.375}.np-summary__title .np-info__small{margin-top:2px}.np-summary__icon{position:relative;color:#37517e;color:var(--color-primary,#37517e)}.np-summary__icon .np-summary-icon__done{color:#2ed06e;color:var(--color-control-positive,#2ed06e)}.np-summary__icon .np-summary-icon__pending{color:#ffa600;color:var(--color-control-warning,#ffa600)}.np-summary__icon :nth-child(2){background-color:#fff;background-color:var(--color-background-screen,#fff);border-radius:50%;position:absolute;right:-8px;bottom:-6px}.np-summary__description{line-height:1.42857}.np-summary__action,.np-summary__description{margin-top:4px;margin-top:var(--size-4,4px);font-size:.875rem}.np-summary__action{line-height:1.28571}.np-summary+.np-summary{margin-top:24px;margin-top:var(--size-24,24px)}
1
+ .np-summary{min-width:280px}.np-summary__title{margin-top:2px;line-height:1.375}.np-summary__title .np-info__small{margin-top:2px}.np-summary__icon{position:relative;color:#37517e;color:var(--color-content-primary,#37517e)}.np-summary__icon .np-summary-icon__done{color:#2ead4b;color:var(--color-interactive-positive,#2ead4b)}.np-summary__icon .np-summary-icon__pending{color:#df8700;color:var(--color-interactive-warning,#df8700)}.np-summary__icon :nth-child(2){background-color:#fff;background-color:var(--color-background-screen,#fff);border-radius:50%;position:absolute;right:-8px;bottom:-6px}[dir=rtl] .np-summary__icon :nth-child(2){left:-8px;right:auto}.np-summary__description{line-height:1.42857}.np-summary__action,.np-summary__description{margin-top:4px;margin-top:var(--size-4,4px);font-size:.875rem;font-size:var(--font-size-14,.875rem)}.np-summary__action{line-height:1.28571}.np-summary+.np-summary{margin-top:24px;margin-top:var(--size-24,24px)}
@@ -1 +1 @@
1
- .np-switch{display:inline-flex;overflow:hidden;width:50px;padding:2px;border:1px solid #d3d5d8;border-radius:16px}.np-switch--thumb{display:flex;transition:transform .35s cubic-bezier(0,.94,.62,1)}.np-switch--thumb .tw-icon{color:#fff;color:var(--color-text-control,#fff)}.np-switch--unchecked{background:#d3d5d8}.np-switch--unchecked .switch--thumb{transform:translateX(0)}.np-switch--checked{border:1px solid #00b9ff;border:1px solid var(--color-control-accent,#00b9ff);background:#00b9ff;background:var(--color-control-accent,#00b9ff)}.np-switch--checked .np-switch--thumb{transform:translateX(20px)}.np-switch--rtl.np-switch--checked .np-switch--thumb{transform:translateX(-20px)}.np-switch--disabled{background:#a8aaac;background:var(--color-text-inactive,#a8aaac);cursor:not-allowed;border-color:#a8aaac;border-color:var(--color-text-inactive,#a8aaac)}.np-switch input{position:absolute;left:-100%;display:none;width:0;height:0;opacity:0}.np-switch:not([aria-disabled]){cursor:pointer}
1
+ .np-switch{display:inline-flex;overflow:hidden;width:50px;padding:2px;border-radius:16px}.np-switch--thumb{display:flex;transition:transform .35s cubic-bezier(0,.94,.62,1)}.np-switch--thumb .tw-icon{color:#fff}.np-switch--unchecked{background:#c9cbce;background:var(--color-interactive-secondary,#c9cbce)}.np-switch--unchecked .switch--thumb{transform:translateX(0)}.np-switch--checked{background:#00a2dd;background:var(--color-interactive-accent,#00a2dd)}.np-switch--checked .np-switch--thumb{transform:translateX(20px)}[dir=rtl] .np-switch--checked .np-switch--thumb{transform:translateX(-20px)}.np-switch--disabled{background:#a8aaac;background:var(--color-interactive-disabled,#a8aaac);cursor:not-allowed;border-color:#a8aaac;border-color:var(--color-interactive-disabled,#a8aaac)}.np-switch input{position:absolute;left:-100%;display:none;width:0;height:0;opacity:0}[dir=rtl] .np-switch input{right:-100%;left:auto}.np-switch:not([aria-disabled]){cursor:pointer}
@@ -1 +1 @@
1
- .tabs{position:relative}.tabs__tab{display:inline-block;cursor:pointer;outline:none;text-align:center;padding:8px;padding:var(--size-8,8px);margin-bottom:-3px;color:#2e4369;font-weight:600;transition:color .15s ease-in-out}.tabs__tab--selected{color:#00b9ff}.tabs__tab--disabled{color:#a8aaac!important;cursor:not-allowed}.tabs__tab:focus{color:#00b9ff}@media (min-width:992px){.tabs__tab:hover{color:#00b9ff}}@media (hover:hover){.tabs__tab:hover{color:#00b9ff}}.tabs__tab-list{list-style:none;padding:0;margin:0;border-bottom:1px solid #d3d5d8}.tabs__line{height:3px;background-color:#00b9ff;transition:transform .35s cubic-bezier(0,.94,.62,1)}.tabs__panel-container{width:100%}.tabs__slider{display:flex}.tabs__panel--selected{padding:8px;padding:var(--size-8,8px);border:1px solid #37517e}.tabs__panel.enter{opacity:0}.tabs__panel.enter-active{opacity:1}.tabs__panel.exit{opacity:0}.tabs--inverse .tabs__tab-list{border-bottom-color:#829ca9}.tabs--inverse .tabs__tab:not(.tabs__tab--selected){color:#fff}.tabs.tabs--auto-width .tabs__tab{display:inline-flex;height:40px;height:var(--size-40,40px);padding:0 24px;padding:0 var(--size-24,24px);justify-content:center;align-items:center}
1
+ .tabs{position:relative}.tabs__tab{display:inline-block;cursor:pointer;outline:none;text-align:center;padding:8px;padding:var(--size-8,8px);margin-bottom:-3px;font-weight:600;font-weight:var(--font-weight-semi-bold,600);color:#37517e;color:var(--color-content-primary,#37517e);transition:color .15s ease-in-out}.tabs__tab--selected{color:#0097c7;color:var(--color-content-accent,#0097c7)}.tabs__tab--disabled{color:#a8aaac;color:var(--color-content-disabled,#a8aaac);cursor:not-allowed}.tabs__tab:focus{color:#0084b3;color:var(--color-content-accent-hover,#0084b3)}@media (min-width:992px){.tabs__tab:hover{color:#0084b3;color:var(--color-content-accent-hover,#0084b3)}}@media (hover:hover){.tabs__tab:hover{color:#0084b3;color:var(--color-content-accent-hover,#0084b3)}}.tabs__tab-list{list-style:none;padding:0;margin:0;border-bottom:1px solid rgba(0,0,0,.10196078431372549);border-bottom:1px solid var(--color-border-neutral,rgba(0,0,0,.10196078431372549))}[dir=rtl] .tabs__tab-list{padding-right:0;padding-left:0}.tabs__line{height:3px;background-color:#00a2dd;background-color:var(--color-interactive-accent,#00a2dd);transition:transform .35s cubic-bezier(0,.94,.62,1)}.tabs__panel-container{width:100%}.tabs__slider{display:flex}.tabs__panel--selected{padding:8px;padding:var(--size-8,8px)}.tabs__panel.enter{opacity:0}.tabs__panel.enter-active{opacity:1}.tabs__panel.exit{opacity:0}.tabs--inverse .tabs__tab-list{border-bottom-color:rgba(0,0,0,.10196078431372549);border-bottom-color:var(--color-border-neutral,rgba(0,0,0,.10196078431372549))}.tabs--inverse .tabs__tab:not(.tabs__tab--selected){color:#fff}.tabs.tabs--auto-width .tabs__tab{display:inline-flex;height:40px;height:var(--size-40,40px);padding:0 24px;padding:0 var(--size-24,24px);justify-content:center;align-items:center}
@@ -1 +1 @@
1
- .np-tile{min-width:120px;border-radius:3px;border-radius:var(--radius-small,3px);width:100%}.np-tile.decision{margin-top:0;border:1px solid #e2e6e8;border:1px solid var(--color-border-neutral,#e2e6e8)}.np-tile.np-decision__tile--fixed-width{width:300px}.np-tile__media{width:100%}.np-tile__title{margin-top:16px;margin-top:var(--size-16,16px);font-size:1.333333rem;line-height:1.2;color:#37517e;color:var(--color-text-primary,#37517e)}.np-tile__description{margin-top:12px;margin-top:var(--size-12,12px);line-height:1.375;color:#5d7079;color:var(--color-text-secondary,#5d7079);font-weight:500}.np-tile--small.np-decision__tile--fixed-width{width:260px}.np-tile--small .np-tile__title{margin-top:12px;margin-top:var(--size-12,12px);font-size:1rem;line-height:1.375}.np-tile--small .np-tile__description{margin-top:4px;margin-top:var(--size-4,4px)}.np-tile:hover .tw-avatar{pointer-events:none}.np-tile:hover .tw-avatar .tw-avatar__content{background-color:#fff;background-color:var(--color-background-screen,#fff)}
1
+ .np-tile{min-width:120px;border-radius:3px;border-radius:var(--radius-small,3px);width:100%}.np-tile.decision{margin-top:0;border:1px solid rgba(0,0,0,.10196078431372549);border:1px solid var(--color-border-neutral,rgba(0,0,0,.10196078431372549))}.np-tile.np-decision__tile--fixed-width{width:300px}.np-tile__media{width:100%}.np-tile__title{margin-top:16px;margin-top:var(--size-16,16px);font-size:1.25rem;font-size:var(--font-size-20,1.25rem);line-height:1.2;line-height:var(--line-height-title,1.2);color:#37517e;color:var(--color-content-primary,#37517e)}.np-tile__description{margin-top:12px;margin-top:var(--size-12,12px);line-height:1.5;line-height:var(--line-height-body,1.5);color:#5d7079;color:var(--color-content-secondary,#5d7079);font-weight:500;font-weight:var(--font-weight-regular,500)}.np-tile--small.np-decision__tile--fixed-width{width:260px}.np-tile--small .np-tile__title{margin-top:12px;margin-top:var(--size-12,12px);font-size:1rem;font-size:var(--font-size-16,1rem);line-height:1.2;line-height:var(--line-height-title,1.2)}.np-tile--small .np-tile__description{margin-top:4px;margin-top:var(--size-4,4px)}.np-tile:hover .tw-avatar{pointer-events:none}.np-tile:hover .tw-avatar .tw-avatar__content{background-color:#fff;background-color:var(--color-background-screen,#fff)}
@@ -1 +1 @@
1
- .tw-tooltip-container{display:inline-block}.tw-tooltip-container .tooltip{visibility:visible;-webkit-user-select:none;-ms-user-select:none;user-select:none}.tw-tooltip-container .tooltip:not(.in){pointer-events:none;animation:tw-tooltip-disappear;animation-duration:0s;animation-delay:.15s;animation-fill-mode:both}@keyframes tw-tooltip-disappear{0%{visibility:visible}to{visibility:hidden}}
1
+ .tw-tooltip-container{display:inline-block;background-color:#ff0}.tw-tooltip-container .tooltip{visibility:visible;-webkit-user-select:none;-ms-user-select:none;user-select:none}.tw-tooltip-container .tooltip:not(.in){pointer-events:none;animation:tw-tooltip-disappear;animation-duration:0s;animation-delay:.15s;animation-fill-mode:both}@keyframes tw-tooltip-disappear{0%{visibility:visible}to{visibility:hidden}}.np-panel[data-popper-placement^=right]>.np-panel__content.tooltip-inner .np-panel__arrow{left:-14px}[dir=rtl] .np-panel[data-popper-placement^=right]>.np-panel__content.tooltip-inner .np-panel__arrow{left:0}.np-panel[data-popper-placement^=left]>.np-panel__content.tooltip-inner .np-panel__arrow{right:0}[dir=rtl] .np-panel[data-popper-placement^=left]>.np-panel__content.tooltip-inner .np-panel__arrow{right:-14px}
@@ -1 +1 @@
1
- .typeahead.open .input-group{z-index:1060}.typeahead .dropdown.btn-block{display:block}.typeahead .dropdown-menu{max-width:100%;width:100%}.typeahead--multiple .np-chip{margin-bottom:auto;animation-name:slide;animation-duration:.03s;animation-timing-function:ease-in-out}.typeahead--multiple .np-chip:first-child{animation-name:slideFirst}.typeahead--multiple .np-chip-remove{animation-name:fadeIn;animation-duration:.03s;animation-timing-function:ease-in-out}.typeahead--multiple .form-control{height:auto;min-height:auto;padding-top:0;padding-bottom:0;overflow:auto}.typeahead--multiple .typeahead__input{border:none;outline:none;float:none;font-size:inherit;line-height:inherit;align-self:stretch;padding:2px 0 0}.typeahead--multiple .typeahead__input-aligner{height:40px;display:inline-block;width:0}.typeahead--multiple .typeahead__input-container{cursor:text;display:flex}.typeahead--multiple .sizer{white-space:pre;position:absolute;visibility:hidden;width:auto}.typeahead--multiple.typeahead--has-value .typeahead__input-container{padding-left:8px;padding-left:var(--size-8,8px)}.typeahead--multiple.typeahead--has-value .typeahead__input{margin-bottom:-7px;margin-bottom:calc(var(--size-8, 8px)*-1 + 1px);margin-left:4px;margin-left:var(--size-4,4px)}.typeahead--multiple.typeahead--has-value .typeahead__input-wrapper:after{content:"";height:calc(8px - 1);height:calc(var(--size-8, 8px) - 1);width:100%}.typeahead__input-wrapper{width:100%;margin-top:-1px;display:flex;flex-wrap:wrap;flex:1;align-items:center}.typeahead--empty.typeahead--multiple .typeahead__input-wrapper{padding:0;margin:0}.typeahead-sm.typeahead--multiple .typeahead__input-container{min-height:32px}.typeahead-sm.typeahead--multiple .typeahead__input{padding-top:0}.typeahead-md.typeahead--multiple .typeahead__input-container{min-height:48px}.typeahead-lg.typeahead--multiple .typeahead__input-container{min-height:72px}.typeahead-lg.typeahead--multiple .typeahead__input{padding-top:calc(8px - 1);padding-top:calc(var(--size-8, 8px) - 1)}.typeahead-lg.typeahead--multiple .typeahead__input-wrapper{padding-bottom:8px;padding-bottom:var(--size-8,8px);margin:0}.typeahead-lg.typeahead--multiple .typeahead__input-wrapper:after{content:none}.typeahead-lg.typeahead--multiple .np-chip{margin-bottom:0;line-height:0}@keyframes slide{0%{transform:translateX(-12px)}to{transform:none}}@keyframes slideFirst{0%{transform:translateX(-4px)}to{transform:none}}@keyframes fadeIn{0%{opacity:0}to{opacity:.6}}@media (max-width:575px){.typeahead .dropdown.open .dropdown-menu{position:absolute;bottom:auto;overflow:scroll}}
1
+ .typeahead.open .input-group{z-index:1060}.typeahead .dropdown.btn-block{display:block}.typeahead .dropdown-menu{max-width:100%;width:100%}.typeahead--multiple .np-chip{margin-bottom:auto;animation-name:slide;animation-duration:.03s;animation-timing-function:ease-in-out}.typeahead--multiple .np-chip:first-child{animation-name:slideFirst}.typeahead--multiple .np-chip-remove{animation-name:fadeIn;animation-duration:.03s;animation-timing-function:ease-in-out}.typeahead--multiple .form-control{height:auto;min-height:auto;padding-top:0;padding-bottom:0;overflow:auto}.typeahead--multiple .typeahead__input{border:none;outline:none;float:none;font-size:inherit;line-height:inherit;align-self:stretch;padding:2px 0 0}.typeahead--multiple .typeahead__input-aligner{height:40px;display:inline-block;width:0}.typeahead--multiple .typeahead__input-container{cursor:text;display:flex}.typeahead--multiple .sizer{white-space:pre;position:absolute;visibility:hidden;width:auto}.typeahead--multiple.typeahead--has-value .typeahead__input-container{padding-left:8px;padding-left:var(--size-8,8px)}[dir=rtl] .typeahead--multiple.typeahead--has-value .typeahead__input-container{padding-right:8px;padding-right:var(--size-8,8px);padding-left:0}.typeahead--multiple.typeahead--has-value .typeahead__input{margin-bottom:-7px;margin-bottom:calc(var(--size-8, 8px)*-1 + 1px);margin-left:4px;margin-left:var(--size-4,4px)}[dir=rtl] .typeahead--multiple.typeahead--has-value .typeahead__input{margin-right:4px;margin-right:var(--size-4,4px);margin-left:0}.typeahead--multiple.typeahead--has-value .typeahead__input-wrapper:after{content:"";height:calc(8px - 1);height:calc(var(--size-8, 8px) - 1);width:100%}.typeahead__input-wrapper{width:100%;margin-top:-1px;display:flex;flex-wrap:wrap;flex:1;align-items:center}.typeahead--empty.typeahead--multiple .typeahead__input-wrapper{padding:0;margin:0}.typeahead-sm.typeahead--multiple .typeahead__input-container{min-height:32px}.typeahead-sm.typeahead--multiple .typeahead__input{padding-top:0}.typeahead-md.typeahead--multiple .typeahead__input-container{min-height:48px}.typeahead-lg.typeahead--multiple .typeahead__input-container{min-height:72px}.typeahead-lg.typeahead--multiple .typeahead__input{padding-top:calc(8px - 1);padding-top:calc(var(--size-8, 8px) - 1)}.typeahead-lg.typeahead--multiple .typeahead__input-wrapper{padding-bottom:8px;padding-bottom:var(--size-8,8px);margin:0}.typeahead-lg.typeahead--multiple .typeahead__input-wrapper:after{content:none}.typeahead-lg.typeahead--multiple .np-chip{margin-bottom:0;line-height:0}@keyframes slide{0%{transform:translateX(-12px)}to{transform:none}}@keyframes slideFirst{0%{transform:translateX(-4px)}to{transform:none}}@keyframes fadeIn{0%{opacity:0}to{opacity:.6}}@media (max-width:575px){.typeahead .dropdown.open .dropdown-menu{position:absolute;bottom:auto;overflow:scroll}}
@@ -1 +1 @@
1
- .typeahead__option.tw-dropdown-item .dropdown-item:active strong{color:#fff;color:var(--color-text-control,#fff)}.typeahead__option.tw-dropdown-item--clickable{cursor:pointer}.typeahead__option.tw-dropdown-item--focused{background-color:#f2f5f7;background-color:var(--color-background-neutral,#f2f5f7)}
1
+ .typeahead__option.tw-dropdown-item .dropdown-item:active strong{color:#fff}.typeahead__option.tw-dropdown-item--clickable{cursor:pointer}.typeahead__option.tw-dropdown-item--focused{background-color:rgba(134,167,189,.10196078431372549);background-color:var(--color-background-neutral,rgba(134,167,189,.10196078431372549))}
@@ -1 +1 @@
1
- .np-upload-input{border:1px solid #e2e6e8;border:1px solid var(--color-border-neutral,#e2e6e8);border-radius:3px;border-radius:var(--radius-small,3px)}
1
+ .np-upload-input{border:1px solid rgba(0,0,0,.10196078431372549);border:1px solid var(--color-border-neutral,rgba(0,0,0,.10196078431372549));border-radius:3px;border-radius:var(--radius-small,3px)}
@@ -1 +1 @@
1
- .np-upload-button{width:100%;text-decoration:none!important;border:0!important;letter-spacing:normal!important;padding:12px 16px;padding:var(--size-12,12px) var(--size-16,16px)}.np-upload-button.np-upload-accent{color:#00b9ff;color:var(--color-control-accent,#00b9ff)}label.np-upload-button:not(.disabled):active,label.np-upload-button:not(.disabled):focus,label.np-upload-button:not(.disabled):hover{background-color:#f2f5f7;background-color:var(--color-background-neutral,#f2f5f7)}label.np-upload-button.disabled{color:#a8aaac;color:var(--color-text-inactive,#a8aaac)}.np-upload-button .np-upload-icon{display:flex;align-items:center}.np-upload-button .np-upload-description{font-weight:400;white-space:normal}.np-upload-button-container.droppable{border:0}.np-upload-button-container .droppable-card-content{display:flex}.np-upload-button-container input[type=file]{opacity:0;z-index:-1;position:absolute}.np-upload-button-container input[type=file]:focus+label{background-color:#f2f5f7;background-color:var(--color-background-neutral,#f2f5f7)}
1
+ .np-upload-button{width:100%;text-decoration:none!important;border:0!important;letter-spacing:normal!important;padding:12px 16px;padding:var(--size-12,12px) var(--size-16,16px)}.np-upload-button.np-upload-accent{color:#00a2dd;color:var(--color-interactive-accent,#00a2dd)}label.np-upload-button:not(.disabled):active,label.np-upload-button:not(.disabled):focus,label.np-upload-button:not(.disabled):hover{background-color:rgba(134,167,189,.10196078431372549);background-color:var(--color-background-neutral,rgba(134,167,189,.10196078431372549))}label.np-upload-button.disabled{color:#a8aaac;color:var(--color-content-disabled,#a8aaac)}.np-upload-button .np-upload-icon{display:flex;align-items:center}.np-upload-button .np-upload-description{font-weight:400;white-space:normal}.np-upload-button-container.droppable{border:0}.np-upload-button-container .droppable-card-content{display:flex}.np-upload-button-container input[type=file]{opacity:0;z-index:-1;position:absolute}.np-upload-button-container input[type=file]:focus+label{background-color:rgba(134,167,189,.10196078431372549);background-color:var(--color-background-neutral,rgba(134,167,189,.10196078431372549))}
@@ -1 +1 @@
1
- .np-upload-item:not(:last-child):after{display:block;position:relative;border-bottom:1px solid #e2e6e8;border-bottom:1px solid var(--color-border-neutral,#e2e6e8);content:" ";margin:0 16px;margin:0 var(--size-16,16px)}.np-upload-item__link a{flex:1;text-decoration:none;outline:none;font-weight:500;font-weight:var(--font-weight-regular,500)}.np-upload-item__link a:active,.np-upload-item__link a:focus,.np-upload-item__link a:hover{text-decoration:none;background-color:#f2f5f7;background-color:var(--color-background-neutral,#f2f5f7)}.np-upload-item__link a:active~.np-upload-item__remove-button,.np-upload-item__link a:focus~.np-upload-item__remove-button,.np-upload-item__link a:hover~.np-upload-item__remove-button{background-color:#f2f5f7;background-color:var(--color-background-neutral,#f2f5f7)}.np-upload-item__body{display:flex;align-items:center;justify-content:space-between}.np-upload-item__remove-button{flex-shrink:0;align-self:stretch;padding:12px 16px;padding:var(--size-12,12px) var(--size-16,16px);color:#a8aaac;color:var(--color-text-inactive,#a8aaac);background:transparent}.np-upload-item__remove-button:focus,.np-upload-item__remove-button:hover{color:#f53636!important;color:var(--color-negative,#f53636)!important}
1
+ .np-upload-item:not(:last-child):after{display:block;position:relative;border-bottom:1px solid rgba(0,0,0,.10196078431372549);border-bottom:1px solid var(--color-border-neutral,rgba(0,0,0,.10196078431372549));content:" ";margin:0 16px;margin:0 var(--size-16,16px)}.np-upload-item__link a{flex:1;text-decoration:none;outline:none;font-weight:500;font-weight:var(--font-weight-regular,500)}.np-upload-item__link a:active,.np-upload-item__link a:focus,.np-upload-item__link a:hover{text-decoration:none}.np-upload-item__link a:active,.np-upload-item__link a:active~.np-upload-item__remove-button,.np-upload-item__link a:focus,.np-upload-item__link a:focus~.np-upload-item__remove-button,.np-upload-item__link a:hover,.np-upload-item__link a:hover~.np-upload-item__remove-button{background-color:rgba(134,167,189,.10196078431372549);background-color:var(--color-background-neutral,rgba(134,167,189,.10196078431372549))}.np-upload-item__body{display:flex;align-items:center;justify-content:space-between}.np-upload-item__remove-button{flex-shrink:0;align-self:stretch;padding:12px 16px;padding:var(--size-12,12px) var(--size-16,16px);color:#a8aaac;color:var(--color-content-disabled,#a8aaac);background:transparent}.np-upload-item__remove-button:focus,.np-upload-item__remove-button:hover{color:#d03238!important;color:var(--color-interactive-negative-hover,#d03238)!important}
@@ -0,0 +1,6 @@
1
+ export declare enum Direction {
2
+ RTL = "rtl",
3
+ LTR = "ltr",
4
+ AUTO = "auto"
5
+ }
6
+ export declare type LayoutDirection = 'rtl' | 'ltr' | 'auto';
@@ -1,2 +1,3 @@
1
- export declare function isServerSideRendering(): boolean;
1
+ export declare function isServerSide(): boolean;
2
+ export declare function isBrowser(): boolean;
2
3
  export { addClickClassToDocumentOnIos, removeClickClassFromDocumentOnIos, } from './documentIosClick';
@@ -4,7 +4,7 @@ declare function FocusBoundary({ children }: {
4
4
  }): JSX.Element;
5
5
  declare namespace FocusBoundary {
6
6
  namespace propTypes {
7
- const children: Types.Validator<string | number | boolean | {} | Types.ReactElementLike | Types.ReactNodeArray>;
7
+ const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
8
8
  }
9
9
  }
10
- import Types from "prop-types";
10
+ import PropTypes from "prop-types";
@@ -0,0 +1 @@
1
+ export { default as withTheme } from './theme';
@@ -0,0 +1 @@
1
+ export { withTheme as default } from './withTheme';
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { ThemeType } from '../..';
3
+ declare type WithThemeProps = {
4
+ theme: ThemeType;
5
+ };
6
+ export declare type WrappedComponentProps<P> = Omit<P, keyof WithThemeProps>;
7
+ export declare function withTheme<P extends WrappedComponentProps<P>>(WrappedComponent: React.ComponentType<P & WithThemeProps>): import("react").FC<P> & {
8
+ WrappedComponent: React.ComponentType<P & WithThemeProps>;
9
+ };
10
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,5 @@
1
- export { default as useHasIntersected } from "./useHasIntersected";
2
1
  export { default as useClientWidth } from "./useClientWidth";
3
- export { default as useDirection } from "./useDirection";
4
2
  export { default as useConditionalListener } from "./useConditionalListener";
3
+ export { default as useDirection } from "./useDirection";
4
+ export { default as useHasIntersected } from "./useHasIntersected";
5
+ export { default as useTheme } from "./useTheme";
@@ -1,4 +1,5 @@
1
- export function useDirection(): {
2
- direction: string;
1
+ import { LayoutDirection } from '../../direction';
2
+ export declare const useDirection: () => {
3
+ direction: LayoutDirection;
3
4
  isRTL: boolean;
4
5
  };
@@ -0,0 +1 @@
1
+ export { useTheme as default } from './useTheme';
@@ -0,0 +1 @@
1
+ export declare const useTheme: () => import("../..").ThemeType;
@@ -1,5 +1,6 @@
1
1
  export { default as HistoryNavigator } from "./historyNavigator";
2
2
  export * from "./theme";
3
+ export * from "./direction";
3
4
  export * from "./propsValues/size";
4
5
  export * from "./propsValues/width";
5
6
  export * from "./locale";
@@ -17,5 +18,6 @@ export { Scroll } from "./propsValues/scroll";
17
18
  export { MarkdownNodeType } from "./propsValues/markdownNodeType";
18
19
  export { FileType } from "./fileType";
19
20
  export { Key } from "./key";
21
+ export { isServerSide, isBrowser } from "./domHelpers";
20
22
  export { addNoScrollBodyClass, removeNoScrollBodyClass } from "./DOMOperations";
21
23
  export { Priority, ControlType } from "./propsValues/control";
@@ -14,6 +14,22 @@ export function adjustLocale(locale: string): string | null;
14
14
  * @returns {string|null}
15
15
  */
16
16
  export function getLangFromLocale(locale: string): string | null;
17
+ /**
18
+ * Provides corresponding country code (iso2) for locales code with explicit region value (`es-ES`, `en-GB`, `ja-JP` etc.)
19
+ * if the value is invalid or missing region it returns null
20
+ *
21
+ * @param {string} locale
22
+ * @returns {string|null}
23
+ */
24
+ export function getCountryFromLocale(locale: string): string | null;
25
+ /**
26
+ * Provides the layout direction for a given locale.
27
+ * If locale is invalid or language is unsupported returns Direction.LTR
28
+ *
29
+ * @param {string} locale (`es`, `es-ES`, `en-GB`, `en`, `ja`, `ja-JP` etc)
30
+ * @returns {Direction} The layout direction based on the locale
31
+ */
32
+ export function getDirectionFromLocale(locale: string): Direction;
17
33
  /**
18
34
  * Default language
19
35
  *
@@ -26,6 +42,11 @@ export const DEFAULT_LANG: string;
26
42
  * @type {string}
27
43
  */
28
44
  export const DEFAULT_LOCALE: string;
29
- export const SUPPORTED_RTL: string[];
45
+ /**
46
+ * Array of languages that are written from the right to the left
47
+ *
48
+ * @type {string[]}
49
+ */
50
+ export const RTL_LANGUAGES: string[];
30
51
  export const SUPPORTED_LANGUAGES: string[];
31
- export function getCountryFromLocale(locale: string): string | null;
52
+ import { Direction } from "../direction";
@@ -9,3 +9,7 @@ export declare enum Position {
9
9
  RIGHT_TOP = "right-top",
10
10
  TOP = "top"
11
11
  }
12
+ export declare type PositionTop = 'top';
13
+ export declare type PositionRight = 'right';
14
+ export declare type PositionBottom = 'bottom';
15
+ export declare type PositionLeft = 'left';
@@ -1,6 +1,9 @@
1
1
  export declare enum Theme {
2
2
  LIGHT = "light",
3
- DARK = "dark"
3
+ DARK = "dark",
4
+ NAVY = "navy"
4
5
  }
5
- export declare type ThemeDark = 'dark';
6
6
  export declare type ThemeLight = 'light';
7
+ export declare type ThemeDark = 'dark';
8
+ export declare type ThemeNavy = 'navy';
9
+ export declare type ThemeType = ThemeLight | ThemeDark | ThemeNavy;
@@ -1,19 +1,31 @@
1
- import * as React from 'react';
2
-
3
- export interface DimmerProps {
4
- children?: React.ReactNode;
5
- className?: string;
6
- disableClickToClose?: boolean;
7
- fadeContentOnEnter?: boolean;
8
- fadeContentOnExit?: boolean;
9
- /**
10
- * Sets the background to transparent and prevents body scroll locking
11
- */
12
- transparent?: boolean;
13
- onClose?: (...args: any[])=>any;
14
- open?: boolean;
15
- scrollable?: boolean;
16
- }
17
-
18
- export const Dimmer: React.FC<DimmerProps>;
19
-
1
+ import { MouseEvent, ReactElement, ReactNode } from 'react';
2
+ import { CommonProps } from '../common';
3
+ export declare const EXIT_ANIMATION = 350;
4
+ declare type DimmerProps = CommonProps & {
5
+ children?: ReactNode;
6
+ disableClickToClose?: boolean;
7
+ fadeContentOnEnter?: boolean;
8
+ fadeContentOnExit?: boolean;
9
+ open?: boolean;
10
+ scrollable?: boolean;
11
+ transparent?: boolean;
12
+ onClose?: (event: KeyboardEvent | MouseEvent) => void;
13
+ };
14
+ export declare const handleTouchMove: (event: Event) => void;
15
+ declare const Dimmer: ({ children, className, disableClickToClose, fadeContentOnEnter, fadeContentOnExit, open, scrollable, transparent, onClose, }: DimmerProps) => JSX.Element;
16
+ export declare const DimmerContentWrapper: ({ children, scrollBody, }: {
17
+ children: ReactElement;
18
+ scrollBody: boolean;
19
+ }) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
20
+ export { Dimmer };
21
+ declare const _default: (props: CommonProps & {
22
+ children?: ReactNode;
23
+ disableClickToClose?: boolean | undefined;
24
+ fadeContentOnEnter?: boolean | undefined;
25
+ fadeContentOnExit?: boolean | undefined;
26
+ open?: boolean | undefined;
27
+ scrollable?: boolean | undefined;
28
+ transparent?: boolean | undefined;
29
+ onClose?: ((event: KeyboardEvent | MouseEvent<Element, globalThis.MouseEvent>) => void) | undefined;
30
+ }) => import("react").ReactPortal | null;
31
+ export default _default;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ component: (props: import("../common").CommonProps & {
4
+ children?: import("react").ReactNode;
5
+ disableClickToClose?: boolean | undefined;
6
+ fadeContentOnEnter?: boolean | undefined;
7
+ fadeContentOnExit?: boolean | undefined;
8
+ open?: boolean | undefined;
9
+ scrollable?: boolean | undefined;
10
+ transparent?: boolean | undefined;
11
+ onClose?: ((event: KeyboardEvent | import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
12
+ }) => import("react").ReactPortal | null;
13
+ title: string;
14
+ };
15
+ export default _default;
16
+ export declare const Basic: () => JSX.Element;
@@ -2,6 +2,7 @@
2
2
  * Types
3
3
  */
4
4
  export type { UploadedFile, UploadError, UploadResponse } from './uploadInput/types';
5
+ export type { LayoutDirection } from './common';
5
6
  /**
6
7
  * Components
7
8
  */
@@ -50,7 +51,7 @@ export { default as OverlayHeader } from './overlayHeader';
50
51
  export { default as PhoneNumberInput } from './phoneNumberInput';
51
52
  export { default as Popover } from './popover';
52
53
  export { default as ProcessIndicator } from './processIndicator';
53
- export { default as Provider } from './provider';
54
+ export { default as Provider, DirectionProvider } from './provider';
54
55
  export { default as Radio } from './radio';
55
56
  export { default as RadioGroup } from './radioGroup';
56
57
  export { default as RadioOption } from './radioOption';
@@ -75,10 +76,11 @@ export { SnackbarConsumer, SnackbarContext } from './snackbar/SnackbarContext';
75
76
  * Hooks
76
77
  */
77
78
  export { default as useSnackbar } from './snackbar/useSnackbar';
79
+ export { useDirection } from './common/hooks';
78
80
  /**
79
81
  * Enums
80
82
  */
81
- export { Size, Width, Sentiment, Priority, ControlType, Type, Theme, DateMode, MonthFormat, Position, Scroll, ProfileType, Breakpoint, Layout, Status, MarkdownNodeType, } from './common';
83
+ export { Direction, Size, Width, Sentiment, Priority, ControlType, Type, Theme, DateMode, MonthFormat, Position, Scroll, ProfileType, Breakpoint, Layout, Status, MarkdownNodeType, } from './common';
82
84
  export { AvatarType } from './avatar';
83
85
  export { InfoPresentation } from './info';
84
86
  export { UploadStep } from './upload';
@@ -89,7 +91,7 @@ export { FileType } from './common';
89
91
  /**
90
92
  * Utils
91
93
  */
92
- export { SUPPORTED_LANGUAGES, DEFAULT_LANG, DEFAULT_LOCALE, adjustLocale, getLangFromLocale, getCountryFromLocale, } from './common';
94
+ export { SUPPORTED_LANGUAGES, RTL_LANGUAGES, DEFAULT_LANG, DEFAULT_LOCALE, adjustLocale, getLangFromLocale, getCountryFromLocale, getDirectionFromLocale, isServerSide, isBrowser, } from './common';
93
95
  /**
94
96
  * Translations
95
97
  */
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ component: {
4
+ ({ i18n, children }: {
5
+ i18n: any;
6
+ children: any;
7
+ }): JSX.Element;
8
+ propTypes: {
9
+ i18n: import("prop-types").Validator<import("prop-types").InferProps<{
10
+ locale: import("prop-types").Validator<string>;
11
+ messages: import("prop-types").Validator<import("prop-types").InferProps<{}>>;
12
+ defaultRichTextElements: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
13
+ }>>;
14
+ children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
15
+ };
16
+ defaultProps: {
17
+ children: undefined;
18
+ };
19
+ };
20
+ title: string;
21
+ };
22
+ export default _default;
23
+ export declare const Basic: () => JSX.Element;
@@ -1,18 +1,8 @@
1
- export const DirectionContext: import("react").Context<string>;
2
- export function DirectionProvider({ locale, children }: {
3
- locale: any;
4
- children: any;
5
- }): JSX.Element;
6
- export namespace DirectionProvider {
7
- namespace propTypes {
8
- const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
9
- const locale: PropTypes.Requireable<string>;
10
- }
11
- namespace defaultProps {
12
- const children_1: null;
13
- export { children_1 as children };
14
- export { DEFAULT_LOCALE as locale };
15
- }
16
- }
17
- import PropTypes from "prop-types";
18
- import { DEFAULT_LOCALE } from "../../common/locale";
1
+ import { ReactElement, PropsWithChildren } from 'react';
2
+ import { LayoutDirection } from '../../common/direction';
3
+ export declare const DirectionContext: import("react").Context<LayoutDirection>;
4
+ declare type Props = PropsWithChildren<{
5
+ direction: LayoutDirection;
6
+ }>;
7
+ export declare const DirectionProvider: ({ direction, children }: Props) => ReactElement;
8
+ export {};
@@ -1 +1,3 @@
1
+ export { DirectionProvider } from "./direction";
2
+ export { ThemeProvider } from "./theme";
1
3
  export { default } from "./Provider";
@@ -0,0 +1,8 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { ThemeType } from '../../common/theme';
3
+ export declare const ThemeContext: import("react").Context<ThemeType>;
4
+ declare type ThemeProviderProps = PropsWithChildren<{
5
+ theme: ThemeType;
6
+ }>;
7
+ export declare const ThemeProvider: ({ theme, children }: ThemeProviderProps) => JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { ThemeContext, ThemeProvider } from "./ThemeProvider";
@@ -4,10 +4,6 @@ import userEvent from "@testing-library/user-event";
4
4
  * Custom `render` function which wraps passed elements in Provider component
5
5
  * Source: https://testing-library.com/docs/example-react-intl/#creating-a-custom-render-function
6
6
  *
7
- * @param ui
8
- * @param root0
9
- * @param root0.locale
10
- * @param root0.messages
11
7
  */
12
8
  declare function customRender(ui: any, { locale, messages, ...renderOptions }?: {
13
9
  locale?: string | undefined;
@@ -58,10 +54,6 @@ declare function customRender(ui: any, { locale, messages, ...renderOptions }?:
58
54
  * Custom `renderHook` function which wraps passed elements in Provider component
59
55
  * For more info: https://react-hooks-testing-library.com/usage/advanced-hooks#context
60
56
  *
61
- * @param callback
62
- * @param root0
63
- * @param root0.locale
64
- * @param root0.messages
65
57
  */
66
58
  declare function customRenderHook(callback: any, { locale, messages }?: {
67
59
  locale?: string | undefined;
@@ -1,18 +1,9 @@
1
- import * as React from 'react';
2
-
3
- export type TooltipChildren = React.ReactElement<any> | React.ReactElement<any>[] | string;
4
-
5
- export type TooltipPosition = "top" | "bottom" | "left" | "right";
6
-
7
- export interface TooltipProps {
8
- children: TooltipChildren;
9
- position?: TooltipPosition;
10
- label: React.ReactNode;
11
- offset?: number;
12
- }
13
-
14
- export default class Tooltip extends React.Component<TooltipProps, any> {
15
- render(): JSX.Element;
16
-
17
- }
18
-
1
+ import { ReactNode, ReactElement, PropsWithChildren } from 'react';
2
+ import { CommonProps } from '../common';
3
+ import { PositionBottom, PositionLeft, PositionRight, PositionTop } from '../common/propsValues/position';
4
+ declare type Props = PropsWithChildren<{
5
+ position?: PositionTop | PositionRight | PositionBottom | PositionLeft;
6
+ label: ReactNode;
7
+ }> & CommonProps;
8
+ declare const Tooltip: ({ position, children, label, className, }: Props) => ReactElement;
9
+ export default Tooltip;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ component: ({ position, children, label, className, }: {
4
+ position?: "left" | "right" | "bottom" | "top" | undefined;
5
+ label: import("react").ReactNode;
6
+ } & {
7
+ children?: import("react").ReactNode;
8
+ } & import("../common").CommonProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
9
+ title: string;
10
+ };
11
+ export default _default;
12
+ export declare const Basic: () => JSX.Element;
@@ -31,6 +31,12 @@ export declare type UploadInputProps = {
31
31
  * @param file
32
32
  */
33
33
  onValidationError?: (file: UploadedFile) => void;
34
+ /**
35
+ * Provide a callback to trigger on change whenever the files are updated
36
+ *
37
+ * @param files
38
+ */
39
+ onFilesChange?: (files: UploadedFile[]) => void;
34
40
  /**
35
41
  * Confirmation modal displayed on delete
36
42
  */
@@ -53,5 +59,5 @@ export declare type UploadInputProps = {
53
59
  cancelText?: string;
54
60
  };
55
61
  } & Pick<UploadButtonProps, 'disabled' | 'multiple' | 'fileTypes' | 'sizeLimit'> & Pick<UploadItemProps, 'onDownload'> & CommonProps;
56
- declare const UploadInput: ({ files, fileInputName, className, deleteConfirm, disabled, multiple, fileTypes, sizeLimit, onUploadFile, onDeleteFile, onValidationError, onDownload, }: UploadInputProps) => ReactElement;
62
+ declare const UploadInput: ({ files, fileInputName, className, deleteConfirm, disabled, multiple, fileTypes, sizeLimit, onUploadFile, onDeleteFile, onValidationError, onFilesChange, onDownload, }: UploadInputProps) => ReactElement;
57
63
  export default UploadInput;
@@ -13,3 +13,4 @@ export declare const WithUploadFailed: Story<UploadInputProps>;
13
13
  export declare const WithDeleteFailed: Story<UploadInputProps>;
14
14
  export declare const CustomConfirmMessage: Story<UploadInputProps>;
15
15
  export declare const withManualDownloadHandler: Story<UploadInputProps>;
16
+ export declare const withFilesChangeHandler: Story<UploadInputProps>;
@@ -1 +1,2 @@
1
- export default function withNextPortalWrapper(Component: any): (props: any) => import("react").ReactPortal | null;
1
+ import { ComponentType } from 'react';
2
+ export default function withNextPortalWrapper<T>(Component: ComponentType<T>): (props: T) => import("react").ReactPortal | null;