@bigbinary/neetoui 3.5.14 → 3.5.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -23,6 +23,10 @@ Prefix the change with one of these keywords:
23
23
  - *Fixed*: for any bug fixes.
24
24
  - *Security*: in case of vulnerabilities.
25
25
 
26
+ ## 3.5.15 - 2022-08-05
27
+
28
+ - Fixed: Fixed false positive ts errors which were thrown since some of the fields were not marked optional.
29
+
26
30
  ## 3.5.14 - 2022-08-01
27
31
 
28
32
  - Added: neetoTestify and neetoSite to AppSwitcher
package/index.d.ts CHANGED
@@ -279,7 +279,7 @@ export type PageLoaderProps = { text?: string } & React.DetailedHTMLProps<
279
279
  export interface PaginationProps {
280
280
  pageSize: number;
281
281
  count: number;
282
- navigate: (toPage: number) => void;
282
+ navigate?: (toPage: number) => void;
283
283
  pageNo?: number;
284
284
  siblingCount?: number;
285
285
  className?: string;
@@ -492,8 +492,8 @@ export const Tab: React.FC<TabProps> & {
492
492
 
493
493
  type ToastrFunction = (
494
494
  message: React.ReactNode,
495
- buttonLabel: React.ReactNode,
496
- onClick: () => void
495
+ buttonLabel?: React.ReactNode,
496
+ onClick?: () => void
497
497
  ) => void;
498
498
 
499
499
  export const Toastr: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neetoui",
3
- "version": "3.5.14",
3
+ "version": "3.5.15",
4
4
  "main": "./index.js",
5
5
  "module": "./index.js",
6
6
  "types": "./index.d.ts",