@npm_leadtech/legal-lib-components 2.29.0 → 2.30.0

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,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type MessageInformationProps } from './MessageInformation.types';
2
+ import { type MessageInformationProps } from './MessageInformationProps.types';
3
3
  import './MessageInformation.scss';
4
4
  declare const MessageInformation: FC<MessageInformationProps>;
5
5
  export default MessageInformation;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface MessageInformationProps {
3
+ text: string | React.ReactNode;
4
+ time?: string;
5
+ }
@@ -1,2 +1,2 @@
1
1
  export { default as MessageInformation } from './MessageInformation';
2
- export { type MessageInformationProps } from './MessageInformation.types';
2
+ export { type MessageInformationProps } from './MessageInformationProps.types';
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type CountDownMessageProps } from './CountDownMessage.types';
2
+ import { type CountDownMessageProps } from './CountDownMessageProps.types';
3
3
  import './CountDownMessage.scss';
4
4
  declare const CountDownMessage: FC<CountDownMessageProps>;
5
5
  export default CountDownMessage;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface CountDownMessageProps {
3
+ text: string | React.ReactNode;
4
+ time?: string;
5
+ }
@@ -1,2 +1,2 @@
1
1
  export { default as CountDownMessage } from './CountDownMessage';
2
- export { type CountDownMessageProps } from './CountDownMessage.types';
2
+ export { type CountDownMessageProps } from './CountDownMessageProps.types';
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type MessageInformationProps } from './MessageInformation.types';
2
+ import { type MessageInformationProps } from './MessageInformationProps.types';
3
3
  import './MessageInformation.scss';
4
4
  declare const MessageInformation: FC<MessageInformationProps>;
5
5
  export default MessageInformation;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface MessageInformationProps {
3
+ text: string | React.ReactNode;
4
+ time?: string;
5
+ }
@@ -1,2 +1,2 @@
1
1
  export { default as MessageInformation } from './MessageInformation';
2
- export { type MessageInformationProps } from './MessageInformation.types';
2
+ export { type MessageInformationProps } from './MessageInformationProps.types';
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type CountDownMessageProps } from './CountDownMessage.types';
2
+ import { type CountDownMessageProps } from './CountDownMessageProps.types';
3
3
  import './CountDownMessage.scss';
4
4
  declare const CountDownMessage: FC<CountDownMessageProps>;
5
5
  export default CountDownMessage;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface CountDownMessageProps {
3
+ text: string | React.ReactNode;
4
+ time?: string;
5
+ }
@@ -1,2 +1,2 @@
1
1
  export { default as CountDownMessage } from './CountDownMessage';
2
- export { type CountDownMessageProps } from './CountDownMessage.types';
2
+ export { type CountDownMessageProps } from './CountDownMessageProps.types';
package/dist/index.d.ts CHANGED
@@ -477,7 +477,7 @@ interface WhyLawDistrictItem {
477
477
  declare const WhyLawDistrictItems: React$1.FC<WhyLawDistrictItemsProps>;
478
478
 
479
479
  interface MessageInformationProps {
480
- text: string;
480
+ text: string | React.ReactNode;
481
481
  time?: string;
482
482
  }
483
483
 
@@ -744,7 +744,7 @@ interface FreeDocModalContentProps {
744
744
  declare const FreeDocModalContent: FC<FreeDocModalContentProps>;
745
745
 
746
746
  interface CountDownMessageProps {
747
- text: string;
747
+ text: string | React.ReactNode;
748
748
  time?: string;
749
749
  }
750
750
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.29.0",
3
+ "version": "2.30.0",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^6.1.4",
6
6
  "@tippyjs/react": "4.2.6",
@@ -1,4 +0,0 @@
1
- export interface MessageInformationProps {
2
- text: string;
3
- time?: string;
4
- }
@@ -1,4 +0,0 @@
1
- export interface CountDownMessageProps {
2
- text: string;
3
- time?: string;
4
- }
@@ -1,4 +0,0 @@
1
- export interface MessageInformationProps {
2
- text: string;
3
- time?: string;
4
- }
@@ -1,4 +0,0 @@
1
- export interface CountDownMessageProps {
2
- text: string;
3
- time?: string;
4
- }