@npm_leadtech/legal-lib-components 2.1.7 → 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.
@@ -1,7 +1,7 @@
1
1
  export interface SnackbarProps {
2
- type?: 'welcome' | 'success' | 'error' | 'reminder';
2
+ type: 'welcome' | 'success' | 'error' | 'reminder';
3
3
  title?: string;
4
- text?: string;
4
+ text: string;
5
5
  button?: {
6
6
  label: string;
7
7
  onClick: () => void;
package/dist/index.d.ts CHANGED
@@ -513,9 +513,9 @@ interface PricingCardProps {
513
513
  declare const PricingCard: FC<PricingCardProps>;
514
514
 
515
515
  interface SnackbarProps {
516
- type?: 'welcome' | 'success' | 'error' | 'reminder';
516
+ type: 'welcome' | 'success' | 'error' | 'reminder';
517
517
  title?: string;
518
- text?: string;
518
+ text: string;
519
519
  button?: {
520
520
  label: string;
521
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.7",
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",