@adaptabletools/adaptable 10.0.4-canary.3 → 10.0.4-canary.4

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 (268) hide show
  1. package/base.css +169 -48
  2. package/bundle.cjs.js +140 -140
  3. package/index.css +191 -55
  4. package/package.json +3 -3
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/Api/Implementation/ColumnApiImpl.js +5 -5
  8. package/src/Api/Implementation/FilterApiImpl.js +1 -1
  9. package/src/PredefinedConfig/Common/AdaptableScope.d.ts +3 -3
  10. package/src/PredefinedConfig/ShortcutState.d.ts +5 -1
  11. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +4 -1
  12. package/src/Utilities/ObjectFactory.d.ts +1 -1
  13. package/src/Utilities/ObjectFactory.js +11 -11
  14. package/src/View/AdaptableView.js +3 -3
  15. package/src/View/Components/FilterForm/FilterForm.js +4 -1
  16. package/src/View/Components/Popups/AdaptableToaster.js +6 -6
  17. package/src/View/License/LicenseWatermark.js +4 -0
  18. package/src/agGrid/Adaptable.d.ts +1 -1
  19. package/src/agGrid/Adaptable.js +22 -19
  20. package/src/components/Datepicker/Caption.d.ts +1 -1
  21. package/src/components/Datepicker/Caption.js +1 -4
  22. package/src/components/Datepicker/CaptionLabel.d.ts +1 -1
  23. package/src/components/Datepicker/CaptionLabel.js +1 -4
  24. package/src/components/Datepicker/index.js +1 -4
  25. package/src/metamodel/adaptable.metamodel.d.ts +7 -9
  26. package/src/metamodel/adaptable.metamodel.js +7 -3
  27. package/src/types.d.ts +1 -1
  28. package/version.d.ts +1 -1
  29. package/version.js +1 -1
  30. package/src/bundle-dependencies/bundles/react-day-picker/DayPicker.d.ts +0 -88
  31. package/src/bundle-dependencies/bundles/react-day-picker/DayPicker.test.d.ts +0 -0
  32. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.d.ts +0 -6
  33. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.test.d.ts +0 -1
  34. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/ButtonProps.d.ts +0 -3
  35. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/index.d.ts +0 -1
  36. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.d.ts +0 -7
  37. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.test.d.ts +0 -1
  38. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/CaptionProps.d.ts +0 -5
  39. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/index.d.ts +0 -2
  40. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.d.ts +0 -4
  41. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.test.d.ts +0 -1
  42. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabelProps.d.ts +0 -5
  43. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/index.d.ts +0 -2
  44. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.d.ts +0 -7
  45. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.test.d.ts +0 -0
  46. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/DayProps.d.ts +0 -7
  47. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/index.d.ts +0 -1
  48. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDay.d.ts +0 -51
  49. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDayFocus.d.ts +0 -8
  50. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/index.d.ts +0 -3
  51. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.d.ts +0 -6
  52. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.test.d.ts +0 -0
  53. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContentProps.d.ts +0 -10
  54. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/index.d.ts +0 -2
  55. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.d.ts +0 -7
  56. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.test.d.ts +0 -0
  57. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/DropdownProps.d.ts +0 -10
  58. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/index.d.ts +0 -2
  59. package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.d.ts +0 -3
  60. package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.test.d.ts +0 -1
  61. package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/index.d.ts +0 -1
  62. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.d.ts +0 -5
  63. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.test.d.ts +0 -0
  64. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/index.d.ts +0 -1
  65. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.d.ts +0 -6
  66. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.test.d.ts +0 -0
  67. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/index.d.ts +0 -1
  68. package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.d.ts +0 -6
  69. package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.test.d.ts +0 -1
  70. package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/index.d.ts +0 -1
  71. package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.d.ts +0 -6
  72. package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.test.d.ts +0 -1
  73. package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/index.d.ts +0 -1
  74. package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.d.ts +0 -6
  75. package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.test.d.ts +0 -1
  76. package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/index.d.ts +0 -1
  77. package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdown.d.ts +0 -6
  78. package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdownProps.d.ts +0 -7
  79. package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/index.d.ts +0 -2
  80. package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/Navigation.d.ts +0 -4
  81. package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/NavigationProps.d.ts +0 -18
  82. package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/index.d.ts +0 -2
  83. package/src/bundle-dependencies/bundles/react-day-picker/components/Root/Root.d.ts +0 -6
  84. package/src/bundle-dependencies/bundles/react-day-picker/components/Root/index.d.ts +0 -1
  85. package/src/bundle-dependencies/bundles/react-day-picker/components/Row/Row.d.ts +0 -6
  86. package/src/bundle-dependencies/bundles/react-day-picker/components/Row/RowProps.d.ts +0 -11
  87. package/src/bundle-dependencies/bundles/react-day-picker/components/Row/index.d.ts +0 -2
  88. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/Table.d.ts +0 -12
  89. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/index.d.ts +0 -1
  90. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideEndDays.d.ts +0 -3
  91. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideStartDays.d.ts +0 -4
  92. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getWeeks.d.ts +0 -15
  93. package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/WeekNumber.d.ts +0 -15
  94. package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/index.d.ts +0 -1
  95. package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/YearsDropdown.d.ts +0 -16
  96. package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/index.d.ts +0 -1
  97. package/src/bundle-dependencies/bundles/react-day-picker/components/index.d.ts +0 -18
  98. package/src/bundle-dependencies/bundles/react-day-picker/contexts/ContextProvider.d.ts +0 -8
  99. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContext.d.ts +0 -78
  100. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContextValue.d.ts +0 -20
  101. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerProvider.d.ts +0 -12
  102. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/defaultClassNames.d.ts +0 -5
  103. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatCaption.d.ts +0 -7
  104. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatDay.d.ts +0 -7
  105. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatMonthCaption.d.ts +0 -7
  106. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekNumber.d.ts +0 -4
  107. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekdayName.d.ts +0 -7
  108. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatYearCaption.d.ts +0 -6
  109. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/index.d.ts +0 -6
  110. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/index.d.ts +0 -5
  111. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/index.d.ts +0 -7
  112. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelDay.d.ts +0 -5
  113. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelMonthDropdown.d.ts +0 -4
  114. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelNext.d.ts +0 -5
  115. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelPrevious.d.ts +0 -5
  116. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekNumber.d.ts +0 -5
  117. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekday.d.ts +0 -5
  118. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelYearDropdown.d.ts +0 -4
  119. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/useDayPicker.d.ts +0 -8
  120. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/index.d.ts +0 -2
  121. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseFromToProps.d.ts +0 -9
  122. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseModifierProps.d.ts +0 -9
  123. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContext.d.ts +0 -8
  124. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContextValue.d.ts +0 -19
  125. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusProvider.d.ts +0 -5
  126. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/index.d.ts +0 -4
  127. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/useFocus.d.ts +0 -3
  128. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContext.d.ts +0 -8
  129. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContextValue.d.ts +0 -13
  130. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationProvider.d.ts +0 -5
  131. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/index.d.ts +0 -4
  132. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigation.d.ts +0 -3
  133. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigationState.d.ts +0 -7
  134. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getDisplayMonths.d.ts +0 -8
  135. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.d.ts +0 -3
  136. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.test.d.ts +0 -1
  137. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.d.ts +0 -18
  138. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.test.d.ts +0 -1
  139. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.d.ts +0 -19
  140. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.test.d.ts +0 -1
  141. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContext.d.ts +0 -9
  142. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContextValue.d.ts +0 -13
  143. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleModifiers.d.ts +0 -3
  144. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleProvider.d.ts +0 -7
  145. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/index.d.ts +0 -5
  146. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/useSelectMultiple.d.ts +0 -3
  147. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContext.d.ts +0 -9
  148. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContextValue.d.ts +0 -13
  149. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeModifiers.d.ts +0 -3
  150. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeProvider.d.ts +0 -7
  151. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/index.d.ts +0 -5
  152. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/useSelectRange.d.ts +0 -3
  153. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/utils/addToRange.d.ts +0 -8
  154. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContext.d.ts +0 -9
  155. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContextValue.d.ts +0 -11
  156. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleModifiers.d.ts +0 -3
  157. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleProvider.d.ts +0 -7
  158. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/index.d.ts +0 -5
  159. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/useSelectSingle.d.ts +0 -3
  160. package/src/bundle-dependencies/bundles/react-day-picker/contexts/index.d.ts +0 -7
  161. package/src/bundle-dependencies/bundles/react-day-picker/hooks/index.d.ts +0 -2
  162. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/index.d.ts +0 -2
  163. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInput.d.ts +0 -12
  164. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputDayPickerProps.d.ts +0 -14
  165. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputFieldProps.d.ts +0 -12
  166. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputOptions.d.ts +0 -35
  167. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/index.d.ts +0 -4
  168. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/useInput.d.ts +0 -4
  169. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/utils/isValidDate.d.ts +0 -2
  170. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/index.d.ts +0 -1
  171. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/UseModifiers.d.ts +0 -10
  172. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/index.d.ts +0 -1
  173. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/useModifiers.d.ts +0 -3
  174. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/getModifierStatus.d.ts +0 -7
  175. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isDateInRange.d.ts +0 -3
  176. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isMatch.d.ts +0 -5
  177. package/src/bundle-dependencies/bundles/react-day-picker/index.d.ts +0 -5
  178. package/src/bundle-dependencies/bundles/react-day-picker/index.js +0 -1
  179. package/src/bundle-dependencies/bundles/react-day-picker/types/CaptionLayout.d.ts +0 -7
  180. package/src/bundle-dependencies/bundles/react-day-picker/types/ClassNames.d.ts +0 -3
  181. package/src/bundle-dependencies/bundles/react-day-picker/types/Components.d.ts +0 -33
  182. package/src/bundle-dependencies/bundles/react-day-picker/types/CustomModifiers.d.ts +0 -4
  183. package/src/bundle-dependencies/bundles/react-day-picker/types/DateAfter.d.ts +0 -7
  184. package/src/bundle-dependencies/bundles/react-day-picker/types/DateBefore.d.ts +0 -7
  185. package/src/bundle-dependencies/bundles/react-day-picker/types/DateFormatter.d.ts +0 -6
  186. package/src/bundle-dependencies/bundles/react-day-picker/types/DateInterval.d.ts +0 -8
  187. package/src/bundle-dependencies/bundles/react-day-picker/types/DateRange.d.ts +0 -8
  188. package/src/bundle-dependencies/bundles/react-day-picker/types/DayClickEventHandler.d.ts +0 -6
  189. package/src/bundle-dependencies/bundles/react-day-picker/types/DayFocusEventHandler.d.ts +0 -6
  190. package/src/bundle-dependencies/bundles/react-day-picker/types/DayKeyboardEventHandler.d.ts +0 -6
  191. package/src/bundle-dependencies/bundles/react-day-picker/types/DayLabelFormatter.d.ts +0 -7
  192. package/src/bundle-dependencies/bundles/react-day-picker/types/DayMouseEventHandler.d.ts +0 -6
  193. package/src/bundle-dependencies/bundles/react-day-picker/types/DayOfWeekMatcher.d.ts +0 -7
  194. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerBase.d.ts +0 -239
  195. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerMultiple.d.ts +0 -15
  196. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerProps.d.ts +0 -9
  197. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerRange.d.ts +0 -16
  198. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerSingle.d.ts +0 -13
  199. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerUncontrolled.d.ts +0 -7
  200. package/src/bundle-dependencies/bundles/react-day-picker/types/DayTouchEventHandler.d.ts +0 -6
  201. package/src/bundle-dependencies/bundles/react-day-picker/types/Formatters.d.ts +0 -19
  202. package/src/bundle-dependencies/bundles/react-day-picker/types/InternalModifier.d.ts +0 -2
  203. package/src/bundle-dependencies/bundles/react-day-picker/types/Labels.d.ts +0 -17
  204. package/src/bundle-dependencies/bundles/react-day-picker/types/Matcher.d.ts +0 -10
  205. package/src/bundle-dependencies/bundles/react-day-picker/types/Modifier.d.ts +0 -5
  206. package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierClassNames.d.ts +0 -5
  207. package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStatus.d.ts +0 -5
  208. package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStyles.d.ts +0 -4
  209. package/src/bundle-dependencies/bundles/react-day-picker/types/Modifiers.d.ts +0 -5
  210. package/src/bundle-dependencies/bundles/react-day-picker/types/MonthChangeEventHandler.d.ts +0 -4
  211. package/src/bundle-dependencies/bundles/react-day-picker/types/NavButtonLabelFormatter.d.ts +0 -7
  212. package/src/bundle-dependencies/bundles/react-day-picker/types/SelectMultipleEventHandler.d.ts +0 -12
  213. package/src/bundle-dependencies/bundles/react-day-picker/types/SelectRangeEventHandler.d.ts +0 -10
  214. package/src/bundle-dependencies/bundles/react-day-picker/types/SelectSingleEventHandler.d.ts +0 -12
  215. package/src/bundle-dependencies/bundles/react-day-picker/types/StyledComponentProps.d.ts +0 -10
  216. package/src/bundle-dependencies/bundles/react-day-picker/types/StyledElement.d.ts +0 -76
  217. package/src/bundle-dependencies/bundles/react-day-picker/types/Styles.d.ts +0 -4
  218. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberClickEventHandler.d.ts +0 -9
  219. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberFormatter.d.ts +0 -6
  220. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberLabelFormatter.d.ts +0 -5
  221. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekdayLabelFormatter.d.ts +0 -4
  222. package/src/bundle-dependencies/bundles/react-day-picker/types/index.d.ts +0 -54
  223. package/src/bundle-dependencies/bundles/react-day-picker/types/isArrayOfDates.d.ts +0 -2
  224. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateAfterType.d.ts +0 -3
  225. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateBeforeType.d.ts +0 -3
  226. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateInterval.d.ts +0 -3
  227. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateRange.d.ts +0 -3
  228. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateType.d.ts +0 -2
  229. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayOfWeekType.d.ts +0 -3
  230. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerMultiple.d.ts +0 -4
  231. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerRange.d.ts +0 -4
  232. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerSingle.d.ts +0 -4
  233. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerUncontrolled.d.ts +0 -4
  234. package/src/bundle-dependencies/bundles/react-toastify/components/CloseButton.d.ts +0 -8
  235. package/src/bundle-dependencies/bundles/react-toastify/components/ProgressBar.d.ts +0 -55
  236. package/src/bundle-dependencies/bundles/react-toastify/components/Toast.d.ts +0 -3
  237. package/src/bundle-dependencies/bundles/react-toastify/components/ToastContainer.d.ts +0 -3
  238. package/src/bundle-dependencies/bundles/react-toastify/components/Transitions.d.ts +0 -5
  239. package/src/bundle-dependencies/bundles/react-toastify/components/index.d.ts +0 -5
  240. package/src/bundle-dependencies/bundles/react-toastify/core/eventManager.d.ts +0 -39
  241. package/src/bundle-dependencies/bundles/react-toastify/core/index.d.ts +0 -2
  242. package/src/bundle-dependencies/bundles/react-toastify/core/toast.d.ts +0 -55
  243. package/src/bundle-dependencies/bundles/react-toastify/hooks/index.d.ts +0 -3
  244. package/src/bundle-dependencies/bundles/react-toastify/hooks/toastContainerReducer.d.ts +0 -15
  245. package/src/bundle-dependencies/bundles/react-toastify/hooks/useKeeper.d.ts +0 -7
  246. package/src/bundle-dependencies/bundles/react-toastify/hooks/useToast.d.ts +0 -10
  247. package/src/bundle-dependencies/bundles/react-toastify/hooks/useToastContainer.d.ts +0 -16
  248. package/src/bundle-dependencies/bundles/react-toastify/index.d.ts +0 -5
  249. package/src/bundle-dependencies/bundles/react-toastify/index.js +0 -1
  250. package/src/bundle-dependencies/bundles/react-toastify/inject-style.d.ts +0 -8
  251. package/src/bundle-dependencies/bundles/react-toastify/test/components/CloseButton.test.d.ts +0 -1
  252. package/src/bundle-dependencies/bundles/react-toastify/test/components/ProgressBar.test.d.ts +0 -1
  253. package/src/bundle-dependencies/bundles/react-toastify/test/components/Toast.test.d.ts +0 -1
  254. package/src/bundle-dependencies/bundles/react-toastify/test/components/ToastContainer.test.d.ts +0 -1
  255. package/src/bundle-dependencies/bundles/react-toastify/test/core/eventManager.test.d.ts +0 -1
  256. package/src/bundle-dependencies/bundles/react-toastify/test/core/toast.test.d.ts +0 -1
  257. package/src/bundle-dependencies/bundles/react-toastify/test/helpers.d.ts +0 -9
  258. package/src/bundle-dependencies/bundles/react-toastify/test/utils/collapseToast.test.d.ts +0 -1
  259. package/src/bundle-dependencies/bundles/react-toastify/test/utils/cssTransition.test.d.ts +0 -1
  260. package/src/bundle-dependencies/bundles/react-toastify/test/utils/propValidator.test.d.ts +0 -1
  261. package/src/bundle-dependencies/bundles/react-toastify/types/index.d.ts +0 -240
  262. package/src/bundle-dependencies/bundles/react-toastify/utils/collapseToast.d.ts +0 -5
  263. package/src/bundle-dependencies/bundles/react-toastify/utils/constant.d.ts +0 -20
  264. package/src/bundle-dependencies/bundles/react-toastify/utils/cssTransition.d.ts +0 -42
  265. package/src/bundle-dependencies/bundles/react-toastify/utils/index.d.ts +0 -4
  266. package/src/bundle-dependencies/bundles/react-toastify/utils/propValidator.d.ts +0 -10
  267. package/src/components/Toastify/index.d.ts +0 -3
  268. package/src/components/Toastify/index.js +0 -10
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { StyledComponentProps } from '../../types';
3
- /**
4
- * Render the icon in the styled drop-down.
5
- */
6
- export declare function IconDropdown(props: StyledComponentProps): JSX.Element;
@@ -1 +0,0 @@
1
- export * from './IconDropdown';
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { StyledComponentProps } from '../../types';
3
- /**
4
- * Render the "next month" button in the navigation.
5
- */
6
- export declare function IconNext(props: StyledComponentProps): JSX.Element;
@@ -1 +0,0 @@
1
- export * from './IconNext';
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { StyledComponentProps } from '../../types';
3
- /**
4
- * Render the "previous month" button in the navigation.
5
- */
6
- export declare function IconPrevious(props: StyledComponentProps): JSX.Element;
@@ -1 +0,0 @@
1
- export * from './IconPrevious';
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { MonthsDropdownProps } from './MonthsDropdownProps';
3
- /**
4
- * Render the dropdown to navigate between months.
5
- */
6
- export declare function MonthsDropdown(props: MonthsDropdownProps): JSX.Element;
@@ -1,7 +0,0 @@
1
- import { MonthChangeEventHandler } from '../../types';
2
- /** The props for the [[MonthsDropdown]] component. */
3
- export interface MonthsDropdownProps {
4
- /** The month where the dropdown is displayed. */
5
- displayMonth: Date;
6
- onChange: MonthChangeEventHandler;
7
- }
@@ -1,2 +0,0 @@
1
- export * from './MonthsDropdown';
2
- export * from './MonthsDropdownProps';
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { NavigationProps } from './NavigationProps';
3
- /** A component rendering the navigation buttons or the drop-downs. */
4
- export declare function Navigation(props: NavigationProps): JSX.Element;
@@ -1,18 +0,0 @@
1
- import * as React from 'react';
2
- /** The props for the [[Navigation]] component. */
3
- export interface NavigationProps {
4
- /** The month where the caption is displayed. */
5
- displayMonth: Date;
6
- /** The previous month. */
7
- previousMonth?: Date;
8
- /** The next month. */
9
- nextMonth?: Date;
10
- /** Hide the previous button. */
11
- hidePrevious: boolean;
12
- /** Hide the next button. */
13
- hideNext: boolean;
14
- /** Event handler when the next button is clicked. */
15
- onNextClick: React.MouseEventHandler<HTMLButtonElement>;
16
- /** Event handler when the previous button is clicked. */
17
- onPreviousClick: React.MouseEventHandler<HTMLButtonElement>;
18
- }
@@ -1,2 +0,0 @@
1
- export * from './Navigation';
2
- export * from './NavigationProps';
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * Render the container with the months and their captions. The number of months
4
- * rendered depends by the `numberOfMonths` prop.
5
- */
6
- export declare function Root(): JSX.Element;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { RowProps } from './RowProps';
3
- /**
4
- * Render a row in the calendar, with the days and optionally the week number.
5
- */
6
- export declare function Row(props: RowProps): JSX.Element;
@@ -1,11 +0,0 @@
1
- /**
2
- * The props for the [[Row]] component.
3
- */
4
- export interface RowProps {
5
- /** The month where the row is displayed. */
6
- displayMonth: Date;
7
- /** The number of the week to render. */
8
- weekNumber: number;
9
- /** The days contained in the week. */
10
- dates: Date[];
11
- }
@@ -1,2 +0,0 @@
1
- export * from './Row';
2
- export * from './RowProps';
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * The props for the [[Table]] component.
4
- */
5
- export interface TableProps {
6
- /** The month where the table is displayed. */
7
- displayMonth: Date;
8
- }
9
- /**
10
- * Render the table with the calendar.
11
- */
12
- export declare function Table(props: TableProps): JSX.Element;
@@ -1,3 +0,0 @@
1
- export declare function getOutsideEndDays(month: Date, options?: {
2
- locale?: Locale;
3
- }): Date[];
@@ -1,4 +0,0 @@
1
- import { Locale } from 'date-fns';
2
- export declare function getOutsideStartDays(month: Date, options?: {
3
- locale?: Locale;
4
- }): Date[];
@@ -1,15 +0,0 @@
1
- import { Locale } from 'date-fns';
2
- /**
3
- * The weeks belonging to a month. Each key of the returned object is the
4
- * week number of the year.
5
- */
6
- export declare type MonthWeeks = {
7
- [weeknumber: string]: Date[];
8
- };
9
- /**
10
- * Return the weeks belonging to the given month.
11
- */
12
- export declare function getWeeks(month: Date, { locale, fixedWeeks }: {
13
- locale: Locale;
14
- fixedWeeks?: boolean;
15
- }): MonthWeeks;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * The props for the [[WeekNumber]] component.
4
- */
5
- export interface WeekNumberProps {
6
- /** The number of the week. */
7
- number: number;
8
- /** The dates in the week. */
9
- dates: Date[];
10
- }
11
- /**
12
- * Render the week number element. If `onWeekNumberClick` is passed to DayPicker, it
13
- * renders a button, otherwise a span element.
14
- */
15
- export declare function WeekNumber(props: WeekNumberProps): JSX.Element;
@@ -1 +0,0 @@
1
- export * from './WeekNumber';
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- import { MonthChangeEventHandler } from '../../types';
3
- /**
4
- * The props for the [[YearsDropdown]] component.
5
- */
6
- export interface YearsDropdownProps {
7
- /** The month where the drop-down is displayed. */
8
- displayMonth: Date;
9
- /** Callback to handle the `change` event. */
10
- onChange: MonthChangeEventHandler;
11
- }
12
- /**
13
- * Render a dropdown to change the year. Take in account the `nav.fromDate` and
14
- * `toDate` from context.
15
- */
16
- export declare function YearsDropdown(props: YearsDropdownProps): JSX.Element;
@@ -1 +0,0 @@
1
- export * from './YearsDropdown';
@@ -1,18 +0,0 @@
1
- export * from './Button';
2
- export * from './Caption';
3
- export * from './CaptionLabel';
4
- export * from './Day';
5
- export * from './DayContent';
6
- export * from './Dropdown';
7
- export * from './Footer';
8
- export * from './Head';
9
- export * from './IconDropdown';
10
- export * from './IconNext';
11
- export * from './IconPrevious';
12
- export * from './MonthsDropdown';
13
- export * from './Navigation';
14
- export * from './Root';
15
- export * from './Row';
16
- export * from './Table';
17
- export * from './WeekNumber';
18
- export * from './YearsDropdown';
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import { DayPickerProps } from '../types';
3
- /** The props of the [[ContextProvider]] provider. */
4
- export declare type ContextProviderProps = DayPickerProps & {
5
- children: React.ReactNode;
6
- };
7
- /** Provide the value for all the context providers. */
8
- export declare function ContextProvider(props: ContextProviderProps): JSX.Element;
@@ -1,78 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * The DayPicker context shares the props passed to DayPicker within the
4
- * internal components. It is used to set the default values and perform
5
- * one-time calculations required to render the days.
6
- *
7
- * Access this context from the [[useDayPicker]] hook when using custom
8
- * components.
9
- */
10
- export declare const DayPickerContext: React.Context<(import("../..").DayPickerBase & import("../..").DayPickerMultiple & {
11
- captionLayout: import("../..").CaptionLayout;
12
- classNames: Required<Partial<import("../..").StyledElement<string>>>;
13
- components: import("../..").Components;
14
- formatters: import("../..").Formatters;
15
- labels: import("../..").Labels;
16
- locale: Locale;
17
- modifierClassNames: Record<string, string>;
18
- modifierPrefix: string;
19
- modifiers: import("../..").Modifiers;
20
- numberOfMonths: number;
21
- styles: Partial<import("../..").StyledElement<React.CSSProperties>>;
22
- today: Date;
23
- toYear?: undefined;
24
- fromYear?: undefined;
25
- toMonth?: undefined;
26
- fromMonth?: undefined;
27
- }) | (import("../..").DayPickerBase & import("../..").DayPickerRange & {
28
- captionLayout: import("../..").CaptionLayout;
29
- classNames: Required<Partial<import("../..").StyledElement<string>>>;
30
- components: import("../..").Components;
31
- formatters: import("../..").Formatters;
32
- labels: import("../..").Labels;
33
- locale: Locale;
34
- modifierClassNames: Record<string, string>;
35
- modifierPrefix: string;
36
- modifiers: import("../..").Modifiers;
37
- numberOfMonths: number;
38
- styles: Partial<import("../..").StyledElement<React.CSSProperties>>;
39
- today: Date;
40
- toYear?: undefined;
41
- fromYear?: undefined;
42
- toMonth?: undefined;
43
- fromMonth?: undefined;
44
- }) | (import("../..").DayPickerBase & import("../..").DayPickerSingle & {
45
- captionLayout: import("../..").CaptionLayout;
46
- classNames: Required<Partial<import("../..").StyledElement<string>>>;
47
- components: import("../..").Components;
48
- formatters: import("../..").Formatters;
49
- labels: import("../..").Labels;
50
- locale: Locale;
51
- modifierClassNames: Record<string, string>;
52
- modifierPrefix: string;
53
- modifiers: import("../..").Modifiers;
54
- numberOfMonths: number;
55
- styles: Partial<import("../..").StyledElement<React.CSSProperties>>;
56
- today: Date;
57
- toYear?: undefined;
58
- fromYear?: undefined;
59
- toMonth?: undefined;
60
- fromMonth?: undefined;
61
- }) | (import("../..").DayPickerBase & import("../..").DayPickerUncontrolled & {
62
- captionLayout: import("../..").CaptionLayout;
63
- classNames: Required<Partial<import("../..").StyledElement<string>>>;
64
- components: import("../..").Components;
65
- formatters: import("../..").Formatters;
66
- labels: import("../..").Labels;
67
- locale: Locale;
68
- modifierClassNames: Record<string, string>;
69
- modifierPrefix: string;
70
- modifiers: import("../..").Modifiers;
71
- numberOfMonths: number;
72
- styles: Partial<import("../..").StyledElement<React.CSSProperties>>;
73
- today: Date;
74
- toYear?: undefined;
75
- fromYear?: undefined;
76
- toMonth?: undefined;
77
- fromMonth?: undefined;
78
- }) | undefined>;
@@ -1,20 +0,0 @@
1
- import { CaptionLayout, ClassNames, Components, DayPickerProps, Formatters, Labels, ModifierClassNames, Modifiers, Styles } from '../../types';
2
- /** Represent the value of the [[DayPickerContext]]. */
3
- export declare type DayPickerContextValue = DayPickerProps & {
4
- captionLayout: CaptionLayout;
5
- classNames: Required<ClassNames>;
6
- components: Components;
7
- formatters: Formatters;
8
- labels: Labels;
9
- locale: Locale;
10
- modifierClassNames: ModifierClassNames;
11
- modifierPrefix: string;
12
- modifiers: Modifiers;
13
- numberOfMonths: number;
14
- styles: Styles;
15
- today: Date;
16
- toYear?: never;
17
- fromYear?: never;
18
- toMonth?: never;
19
- fromMonth?: never;
20
- };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- import { DayPickerProps } from '../../types';
3
- /** Represent the props for the [[DayPickerProvider]]. */
4
- export interface DayPickerProviderProps {
5
- /** The props passed to the DayPicker component. */
6
- initialProps: DayPickerProps;
7
- children?: React.ReactNode;
8
- }
9
- /**
10
- * The provider for the [[DayPickerContext]].
11
- */
12
- export declare function DayPickerProvider(props: DayPickerProviderProps): JSX.Element;
@@ -1,5 +0,0 @@
1
- import { ClassNames } from '../../types';
2
- /**
3
- * The name of the default CSS classes.
4
- */
5
- export declare const defaultClassNames: Required<ClassNames>;
@@ -1,7 +0,0 @@
1
- import { Locale } from 'date-fns';
2
- /**
3
- * The default formatter for the caption.
4
- */
5
- export declare function formatCaption(month: Date, options?: {
6
- locale?: Locale;
7
- }): string;
@@ -1,7 +0,0 @@
1
- import { Locale } from 'date-fns';
2
- /**
3
- * The default formatter for the Day button.
4
- */
5
- export declare function formatDay(day: Date, options?: {
6
- locale?: Locale;
7
- }): string;
@@ -1,7 +0,0 @@
1
- import { Locale } from 'date-fns';
2
- /**
3
- * The default formatter for the Month caption.
4
- */
5
- export declare function formatMonthCaption(month: Date, options?: {
6
- locale?: Locale;
7
- }): string;
@@ -1,4 +0,0 @@
1
- /**
2
- * The default formatter for the week number.
3
- */
4
- export declare function formatWeekNumber(weekNumber: number): string;
@@ -1,7 +0,0 @@
1
- import { Locale } from 'date-fns';
2
- /**
3
- * The default formatter for the name of the weekday.
4
- */
5
- export declare function formatWeekdayName(weekday: Date, options?: {
6
- locale?: Locale;
7
- }): string;
@@ -1,6 +0,0 @@
1
- /**
2
- * The default formatter for the Year caption.
3
- */
4
- export declare function formatYearCaption(year: Date, options?: {
5
- locale?: Locale;
6
- }): string;
@@ -1,6 +0,0 @@
1
- export * from './formatCaption';
2
- export * from './formatDay';
3
- export * from './formatMonthCaption';
4
- export * from './formatWeekNumber';
5
- export * from './formatWeekdayName';
6
- export * from './formatYearCaption';
@@ -1,5 +0,0 @@
1
- export * from './DayPickerContext';
2
- export * from './DayPickerContextValue';
3
- export * from './DayPickerProvider';
4
- export * from './useDayPicker';
5
- export * from './utils/parseFromToProps';
@@ -1,7 +0,0 @@
1
- export * from './labelDay';
2
- export * from './labelMonthDropdown';
3
- export * from './labelNext';
4
- export * from './labelPrevious';
5
- export * from './labelWeekday';
6
- export * from './labelWeekNumber';
7
- export * from './labelYearDropdown';
@@ -1,5 +0,0 @@
1
- import { DayLabelFormatter } from '../../../types';
2
- /**
3
- * The default ARIA label for the day button.
4
- */
5
- export declare const labelDay: DayLabelFormatter;
@@ -1,4 +0,0 @@
1
- /**
2
- * The default ARIA label for the WeekNumber element.
3
- */
4
- export declare const labelMonthDropdown: () => string;
@@ -1,5 +0,0 @@
1
- import { NavButtonLabelFormatter } from '../../../types';
2
- /**
3
- * The default ARIA label for next month button in navigation
4
- */
5
- export declare const labelNext: NavButtonLabelFormatter;
@@ -1,5 +0,0 @@
1
- import { NavButtonLabelFormatter } from '../../../types';
2
- /**
3
- * The default ARIA label for previous month button in navigation
4
- */
5
- export declare const labelPrevious: NavButtonLabelFormatter;
@@ -1,5 +0,0 @@
1
- import { WeekNumberLabelFormatter } from '../../../types';
2
- /**
3
- * The default ARIA label for the WeekNumber element.
4
- */
5
- export declare const labelWeekNumber: WeekNumberLabelFormatter;
@@ -1,5 +0,0 @@
1
- import { WeekdayLabelFormatter } from '../../../types';
2
- /**
3
- * The default ARIA label for the Weekday element.
4
- */
5
- export declare const labelWeekday: WeekdayLabelFormatter;
@@ -1,4 +0,0 @@
1
- /**
2
- * The default ARIA label for the WeekNumber element.
3
- */
4
- export declare const labelYearDropdown: () => string;
@@ -1,8 +0,0 @@
1
- import { DayPickerContextValue } from './DayPickerContextValue';
2
- /**
3
- * Hook to access the [[DayPickerContext]].
4
- *
5
- * To use this hook make sure to wrap the components with a one
6
- * [[DayPickerProvider]].
7
- * */
8
- export declare function useDayPicker(): DayPickerContextValue;
@@ -1,2 +0,0 @@
1
- export * from './parseFromToProps';
2
- export * from './parseModifierProps';
@@ -1,9 +0,0 @@
1
- import { DayPickerProps } from '../../../types';
2
- /**
3
- * Build the `fromDate` and `toDate` values, given the fromMonth/toMonth
4
- * or fromYear/toYear props.
5
- */
6
- export declare function parseFromToProps(props: Pick<DayPickerProps, 'fromYear' | 'toYear' | 'fromDate' | 'toDate' | 'fromMonth' | 'toMonth'>): {
7
- fromDate: Date | undefined;
8
- toDate: Date | undefined;
9
- };
@@ -1,9 +0,0 @@
1
- import { DayPickerProps, Modifiers } from '../../../types';
2
- /**
3
- * Parse the modifiers from the props and return them as a map of array of
4
- * matcher.
5
- *
6
- * Internally we want modifiers as an array of matchers – as opposite of the
7
- * props which can accept also a matcher.
8
- */
9
- export declare function parseModifierProps(initialProps: DayPickerProps): Modifiers;
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import { FocusContextValue } from './FocusContextValue';
3
- /**
4
- * The Focus context shares details about the focused day for the keyboard navigation.
5
- *
6
- * Access this context from the [[useFocus]] hook.
7
- */
8
- export declare const FocusContext: React.Context<FocusContextValue | undefined>;
@@ -1,19 +0,0 @@
1
- /** Represents the value of the [[NavigationContext]]. */
2
- export declare type FocusContextValue = [
3
- /** The day currently focused */
4
- focusedDay: Date | undefined,
5
- setters: {
6
- /** Focus the specified day. */
7
- focus: (day: Date) => void;
8
- /** Blur the focused day */
9
- blur: () => void;
10
- /** Focus the day after the focused day. */
11
- focusDayAfter: () => void;
12
- /** Focus the day before the focused day. */
13
- focusDayBefore: () => void;
14
- /** Focus the day in the week before the focused day. */
15
- focusWeekBeforeDay: () => void;
16
- /** Focus the day in the week after the focused day. */
17
- focusWeekAfterDay: () => void;
18
- }
19
- ];
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- /** The provider for the [[FocusContext]]. */
3
- export declare function FocusProvider({ children }: {
4
- children: React.ReactNode;
5
- }): JSX.Element;
@@ -1,4 +0,0 @@
1
- export * from './FocusContext';
2
- export * from './FocusContextValue';
3
- export * from './FocusProvider';
4
- export * from './useFocus';
@@ -1,3 +0,0 @@
1
- import { FocusContextValue } from './FocusContextValue';
2
- /** Hook to access the [[FocusContext]]. */
3
- export declare function useFocus(): FocusContextValue;
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import { NavigationContextValue } from './NavigationContextValue';
3
- /**
4
- * The Navigation context shares details about the months being navigated in DayPicker.
5
- *
6
- * Access this context from the [[useNavigation]] hook.
7
- */
8
- export declare const NavigationContext: React.Context<NavigationContextValue | undefined>;
@@ -1,13 +0,0 @@
1
- /** Represents the value of the [[NavigationContext]]. */
2
- export interface NavigationContextValue {
3
- /** The current month. Note that when `numberOfMonths > 1` represent the first month in the displayed months. */
4
- month: Date;
5
- /** The months to display, according to `numberOfMonths`. */
6
- displayMonths: Date[];
7
- /** Navigate to the specified month. */
8
- goToMonth: (month: Date) => void;
9
- /** The next month to display. `undefined` if no months left */
10
- nextMonth?: Date;
11
- /** The previous month to display. `undefined` if no months left */
12
- previousMonth?: Date;
13
- }
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- /** Provides the values for the [[NavigationContext]]. */
3
- export declare function NavigationProvider(props: {
4
- children?: React.ReactNode;
5
- }): JSX.Element;
@@ -1,4 +0,0 @@
1
- export * from './NavigationContext';
2
- export * from './NavigationContextValue';
3
- export * from './NavigationProvider';
4
- export * from './useNavigation';
@@ -1,3 +0,0 @@
1
- import { NavigationContextValue } from './NavigationContextValue';
2
- /** Hook to access the [[NavigationContext]]. */
3
- export declare function useNavigation(): NavigationContextValue;