@npm_leadtech/legal-lib-components 2.1.6 → 2.1.8
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/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/components/atoms/Button/ButtonProps.types.d.ts +1 -2
- package/dist/cjs/src/components/molecules/Snackbar/SnackbarProps.types.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/components/atoms/Button/ButtonProps.types.d.ts +1 -2
- package/dist/esm/src/components/molecules/Snackbar/SnackbarProps.types.d.ts +2 -2
- package/dist/index.d.ts +3 -4
- package/package.json +2 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export interface ButtonProps {
|
|
3
|
-
label
|
|
3
|
+
label?: string;
|
|
4
4
|
dataQa?: string;
|
|
5
5
|
labelMobile?: string;
|
|
6
6
|
link?: string;
|
|
7
|
-
LinkComponent?: any;
|
|
8
7
|
noLink?: boolean;
|
|
9
8
|
noLinkNoFunc?: boolean;
|
|
10
9
|
onClick?: (functionParameters?: any) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -47,11 +47,10 @@ interface BreadcrumItemProps {
|
|
|
47
47
|
declare const BreadcrumItem: FC<BreadcrumItemProps>;
|
|
48
48
|
|
|
49
49
|
interface ButtonProps {
|
|
50
|
-
label
|
|
50
|
+
label?: string;
|
|
51
51
|
dataQa?: string;
|
|
52
52
|
labelMobile?: string;
|
|
53
53
|
link?: string;
|
|
54
|
-
LinkComponent?: any;
|
|
55
54
|
noLink?: boolean;
|
|
56
55
|
noLinkNoFunc?: boolean;
|
|
57
56
|
onClick?: (functionParameters?: any) => void;
|
|
@@ -514,9 +513,9 @@ interface PricingCardProps {
|
|
|
514
513
|
declare const PricingCard: FC<PricingCardProps>;
|
|
515
514
|
|
|
516
515
|
interface SnackbarProps {
|
|
517
|
-
type
|
|
516
|
+
type: 'welcome' | 'success' | 'error' | 'reminder';
|
|
518
517
|
title?: string;
|
|
519
|
-
text
|
|
518
|
+
text: string;
|
|
520
519
|
button?: {
|
|
521
520
|
label: string;
|
|
522
521
|
onClick: () => void;
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-lib-components",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@testing-library/jest-dom": "^5.16.5",
|
|
6
6
|
"@tippyjs/react": "4.2.6",
|
|
7
|
+
"eslint-plugin-react-refresh": "^0.4.0",
|
|
7
8
|
"postcss-url": "^10.1.3",
|
|
8
9
|
"react-datepicker": "^4.11.0",
|
|
9
10
|
"react-input-mask": "^2.0.4",
|