@npm_leadtech/legal-lib-components 2.31.6 → 2.32.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.
Files changed (26) hide show
  1. package/dist/cjs/index.js +2 -2
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/legal-lib-components.css +0 -16
  4. package/dist/cjs/src/components/atoms/MessageInformation/MessageInformation.d.ts +1 -1
  5. package/dist/cjs/src/components/atoms/MessageInformation/MessageInformationProps.types.d.ts +5 -0
  6. package/dist/cjs/src/components/atoms/MessageInformation/index.d.ts +1 -1
  7. package/dist/cjs/src/components/atoms/RichTextStrapi/RichTextStrapiProps.d.ts +0 -2
  8. package/dist/cjs/src/components/molecules/CountDownMessage/CountDownMessage.d.ts +1 -1
  9. package/dist/cjs/src/components/molecules/CountDownMessage/CountDownMessageProps.types.d.ts +5 -0
  10. package/dist/cjs/src/components/molecules/CountDownMessage/index.d.ts +1 -1
  11. package/dist/esm/index.js +3 -3
  12. package/dist/esm/index.js.map +1 -1
  13. package/dist/esm/legal-lib-components.css +0 -16
  14. package/dist/esm/src/components/atoms/MessageInformation/MessageInformation.d.ts +1 -1
  15. package/dist/esm/src/components/atoms/MessageInformation/MessageInformationProps.types.d.ts +5 -0
  16. package/dist/esm/src/components/atoms/MessageInformation/index.d.ts +1 -1
  17. package/dist/esm/src/components/atoms/RichTextStrapi/RichTextStrapiProps.d.ts +0 -2
  18. package/dist/esm/src/components/molecules/CountDownMessage/CountDownMessage.d.ts +1 -1
  19. package/dist/esm/src/components/molecules/CountDownMessage/CountDownMessageProps.types.d.ts +5 -0
  20. package/dist/esm/src/components/molecules/CountDownMessage/index.d.ts +1 -1
  21. package/dist/index.d.ts +2 -4
  22. package/package.json +1 -1
  23. package/dist/cjs/src/components/atoms/MessageInformation/MessageInformation.types.d.ts +0 -4
  24. package/dist/cjs/src/components/molecules/CountDownMessage/CountDownMessage.types.d.ts +0 -4
  25. package/dist/esm/src/components/atoms/MessageInformation/MessageInformation.types.d.ts +0 -4
  26. package/dist/esm/src/components/molecules/CountDownMessage/CountDownMessage.types.d.ts +0 -4
@@ -2453,22 +2453,6 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2453
2453
  .richt-text-strapi ol li {
2454
2454
  margin-bottom: 1rem; }
2455
2455
 
2456
- .richt-text-strapi.--short-text {
2457
- background-color: var(--primary-main-light-5);
2458
- padding: 1rem;
2459
- border-radius: 0.4rem; }
2460
-
2461
- .richt-text-strapi .expand-box {
2462
- display: flex;
2463
- cursor: pointer;
2464
- color: var(--primary-main-light-1);
2465
- font-family: "Inter", sans-serif;
2466
- font-size: 14px;
2467
- font-weight: 400;
2468
- line-height: 18px;
2469
- letter-spacing: -0.3px;
2470
- text-align: left; }
2471
-
2472
2456
  .e-searchselect {
2473
2457
  display: flex;
2474
2458
  flex-direction: column-reverse;
@@ -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,8 +1,6 @@
1
1
  import { type RichTextMedia } from './RichTextMedia';
2
2
  export interface RichTextStrapiProps {
3
3
  html?: string;
4
- showMoreTextShortResponse?: string;
5
- showMoreTextCompleteResponse?: string;
6
4
  className?: string;
7
5
  medias?: RichTextMedia[];
8
6
  }
@@ -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
@@ -343,8 +343,6 @@ interface RichTextMedia {
343
343
 
344
344
  interface RichTextStrapiProps {
345
345
  html?: string;
346
- showMoreTextShortResponse?: string;
347
- showMoreTextCompleteResponse?: string;
348
346
  className?: string;
349
347
  medias?: RichTextMedia[];
350
348
  }
@@ -479,7 +477,7 @@ interface WhyLawDistrictItem {
479
477
  declare const WhyLawDistrictItems: React$1.FC<WhyLawDistrictItemsProps>;
480
478
 
481
479
  interface MessageInformationProps {
482
- text: string;
480
+ text: string | React.ReactNode;
483
481
  time?: string;
484
482
  }
485
483
 
@@ -746,7 +744,7 @@ interface FreeDocModalContentProps {
746
744
  declare const FreeDocModalContent: FC<FreeDocModalContentProps>;
747
745
 
748
746
  interface CountDownMessageProps {
749
- text: string;
747
+ text: string | React.ReactNode;
750
748
  time?: string;
751
749
  }
752
750
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.31.6",
3
+ "version": "2.32.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
- }