@natoora-libs/core 0.2.41 → 0.2.61

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.
@@ -102,7 +102,7 @@ interface IExtendedButton {
102
102
  copy: string;
103
103
  disabled?: boolean;
104
104
  href?: string;
105
- onClick?: () => void;
105
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
106
106
  subcopy?: string;
107
107
  tooltip?: string;
108
108
  component?: React.ElementType;
@@ -120,11 +120,11 @@ interface IFilledButton {
120
120
  isLoading?: boolean;
121
121
  disabled?: boolean;
122
122
  href?: string;
123
- onClick?: () => void;
123
+ onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
124
124
  type?: 'button' | 'submit';
125
125
  variant?: 'contained' | 'outlined' | 'text';
126
126
  }
127
- declare const _default$i: React.MemoExoticComponent<({ autoFocus, className, color, copy, disabled, href, isLoading, onClick, type, variant, }: IFilledButton) => react_jsx_runtime.JSX.Element>;
127
+ declare const _default$i: React__default.MemoExoticComponent<({ autoFocus, className, color, copy, disabled, href, isLoading, onClick, type, variant, }: IFilledButton) => react_jsx_runtime.JSX.Element>;
128
128
 
129
129
  interface FilledButtonLgProps {
130
130
  classes?: any;
@@ -172,13 +172,13 @@ interface OutlinedButtonProps {
172
172
  disabled?: any;
173
173
  href?: any;
174
174
  isLoading?: any;
175
- onClick?: any;
175
+ onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
176
176
  startIcon?: any;
177
177
  style?: any;
178
178
  subcopy?: any;
179
179
  type?: any;
180
180
  }
181
- declare const _default$f: React.MemoExoticComponent<({ className, color, copy, disabled, href, isLoading, onClick, startIcon, style, subcopy, type, }: OutlinedButtonProps) => react_jsx_runtime.JSX.Element>;
181
+ declare const _default$f: React__default.MemoExoticComponent<({ className, color, copy, disabled, href, isLoading, onClick, startIcon, style, subcopy, type, }: OutlinedButtonProps) => react_jsx_runtime.JSX.Element>;
182
182
 
183
183
  interface AButtonProps {
184
184
  classes?: any;
@@ -199,7 +199,7 @@ interface IRoundButton {
199
199
  isContrast?: boolean;
200
200
  isTableButton?: boolean;
201
201
  noStrokes?: boolean;
202
- onClick?: (event: any) => void;
202
+ onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
203
203
  size?: 'small' | 'medium' | 'large' | 'double';
204
204
  tooltip?: string;
205
205
  variant?: 'default' | 'defaultPrimary' | 'defaultError' | 'filled' | 'primary' | 'secondary';
@@ -102,7 +102,7 @@ interface IExtendedButton {
102
102
  copy: string;
103
103
  disabled?: boolean;
104
104
  href?: string;
105
- onClick?: () => void;
105
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
106
106
  subcopy?: string;
107
107
  tooltip?: string;
108
108
  component?: React.ElementType;
@@ -120,11 +120,11 @@ interface IFilledButton {
120
120
  isLoading?: boolean;
121
121
  disabled?: boolean;
122
122
  href?: string;
123
- onClick?: () => void;
123
+ onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
124
124
  type?: 'button' | 'submit';
125
125
  variant?: 'contained' | 'outlined' | 'text';
126
126
  }
127
- declare const _default$i: React.MemoExoticComponent<({ autoFocus, className, color, copy, disabled, href, isLoading, onClick, type, variant, }: IFilledButton) => react_jsx_runtime.JSX.Element>;
127
+ declare const _default$i: React__default.MemoExoticComponent<({ autoFocus, className, color, copy, disabled, href, isLoading, onClick, type, variant, }: IFilledButton) => react_jsx_runtime.JSX.Element>;
128
128
 
129
129
  interface FilledButtonLgProps {
130
130
  classes?: any;
@@ -172,13 +172,13 @@ interface OutlinedButtonProps {
172
172
  disabled?: any;
173
173
  href?: any;
174
174
  isLoading?: any;
175
- onClick?: any;
175
+ onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
176
176
  startIcon?: any;
177
177
  style?: any;
178
178
  subcopy?: any;
179
179
  type?: any;
180
180
  }
181
- declare const _default$f: React.MemoExoticComponent<({ className, color, copy, disabled, href, isLoading, onClick, startIcon, style, subcopy, type, }: OutlinedButtonProps) => react_jsx_runtime.JSX.Element>;
181
+ declare const _default$f: React__default.MemoExoticComponent<({ className, color, copy, disabled, href, isLoading, onClick, startIcon, style, subcopy, type, }: OutlinedButtonProps) => react_jsx_runtime.JSX.Element>;
182
182
 
183
183
  interface AButtonProps {
184
184
  classes?: any;
@@ -199,7 +199,7 @@ interface IRoundButton {
199
199
  isContrast?: boolean;
200
200
  isTableButton?: boolean;
201
201
  noStrokes?: boolean;
202
- onClick?: (event: any) => void;
202
+ onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
203
203
  size?: 'small' | 'medium' | 'large' | 'double';
204
204
  tooltip?: string;
205
205
  variant?: 'default' | 'defaultPrimary' | 'defaultError' | 'filled' | 'primary' | 'secondary';
@@ -4897,7 +4897,7 @@ var FilterSimpleSelector = ({
4897
4897
  var FilterSimpleSelector_default = FilterSimpleSelector;
4898
4898
 
4899
4899
  // src/components/FixedFooter/FixedFooter.tsx
4900
- import * as React2 from "react";
4900
+ import * as React4 from "react";
4901
4901
  import { Box as Box23 } from "@mui/material";
4902
4902
  import { makeStyles as makeStyles27 } from "tss-react/mui";
4903
4903
  import { jsx as jsx91, jsxs as jsxs55 } from "react/jsx-runtime";
@@ -4935,7 +4935,7 @@ var FixedFooter = ({ justifyContent, children }) => {
4935
4935
  )
4936
4936
  ] });
4937
4937
  };
4938
- var FixedFooter_default = React2.memo(FixedFooter);
4938
+ var FixedFooter_default = React4.memo(FixedFooter);
4939
4939
 
4940
4940
  // src/components/Header/Header.tsx
4941
4941
  import { Paper as Paper3 } from "@mui/material";
@@ -6592,7 +6592,7 @@ import { makeStyles as makeStyles39 } from "tss-react/mui";
6592
6592
 
6593
6593
  // src/components/SearchWithFilters/SearchWithFilters.tsx
6594
6594
  import { useState as useState13, useEffect as useEffect9 } from "react";
6595
- import * as React4 from "react";
6595
+ import * as React6 from "react";
6596
6596
  import {
6597
6597
  ArrowDropDown as ArrowDropDownIcon,
6598
6598
  ArrowDropUp as ArrowDropUpIcon,
@@ -6689,7 +6689,7 @@ var SearchWithFilters = ({
6689
6689
  )
6690
6690
  ] });
6691
6691
  };
6692
- var SearchWithFilters_default = React4.memo(SearchWithFilters);
6692
+ var SearchWithFilters_default = React6.memo(SearchWithFilters);
6693
6693
 
6694
6694
  // src/components/SearchAndFilterHeader/SearchAndFilterHeader.tsx
6695
6695
  import { jsx as jsx109, jsxs as jsxs73 } from "react/jsx-runtime";
@@ -6752,7 +6752,7 @@ var SearchAndFilterHeader = ({
6752
6752
  var SearchAndFilterHeader_default = SearchAndFilterHeader;
6753
6753
 
6754
6754
  // src/components/SearchAndFilterHeader/SearchAndFilterHeaderForTable.tsx
6755
- import * as React5 from "react";
6755
+ import * as React7 from "react";
6756
6756
  import { Box as Box32 } from "@mui/material";
6757
6757
  import { makeStyles as makeStyles41 } from "tss-react/mui";
6758
6758
 
@@ -6936,7 +6936,7 @@ var SearchAndFilterHeaderForTable = (props) => {
6936
6936
  /* @__PURE__ */ jsx111(Box32, { children: button })
6937
6937
  ] });
6938
6938
  };
6939
- var SearchAndFilterHeaderForTable_default = React5.memo(SearchAndFilterHeaderForTable);
6939
+ var SearchAndFilterHeaderForTable_default = React7.memo(SearchAndFilterHeaderForTable);
6940
6940
 
6941
6941
  // src/components/SearchHeader/SearchHeader.tsx
6942
6942
  import { memo as memo18 } from "react";