@npm_leadtech/legal-lib-components 2.30.0 → 2.31.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 +16 -0
  4. package/dist/cjs/src/components/atoms/MessageInformation/MessageInformation.d.ts +1 -1
  5. package/dist/cjs/src/components/atoms/MessageInformation/MessageInformation.types.d.ts +4 -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 +1 -0
  8. package/dist/cjs/src/components/molecules/CountDownMessage/CountDownMessage.d.ts +1 -1
  9. package/dist/cjs/src/components/molecules/CountDownMessage/CountDownMessage.types.d.ts +4 -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 +16 -0
  14. package/dist/esm/src/components/atoms/MessageInformation/MessageInformation.d.ts +1 -1
  15. package/dist/esm/src/components/atoms/MessageInformation/MessageInformation.types.d.ts +4 -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 +1 -0
  18. package/dist/esm/src/components/molecules/CountDownMessage/CountDownMessage.d.ts +1 -1
  19. package/dist/esm/src/components/molecules/CountDownMessage/CountDownMessage.types.d.ts +4 -0
  20. package/dist/esm/src/components/molecules/CountDownMessage/index.d.ts +1 -1
  21. package/dist/index.d.ts +3 -2
  22. package/package.json +1 -1
  23. package/dist/cjs/src/components/atoms/MessageInformation/MessageInformationProps.types.d.ts +0 -5
  24. package/dist/cjs/src/components/molecules/CountDownMessage/CountDownMessageProps.types.d.ts +0 -5
  25. package/dist/esm/src/components/atoms/MessageInformation/MessageInformationProps.types.d.ts +0 -5
  26. package/dist/esm/src/components/molecules/CountDownMessage/CountDownMessageProps.types.d.ts +0 -5
@@ -2453,6 +2453,22 @@ 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
+
2456
2472
  .e-searchselect {
2457
2473
  display: flex;
2458
2474
  flex-direction: column-reverse;
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type MessageInformationProps } from './MessageInformationProps.types';
2
+ import { type MessageInformationProps } from './MessageInformation.types';
3
3
  import './MessageInformation.scss';
4
4
  declare const MessageInformation: FC<MessageInformationProps>;
5
5
  export default MessageInformation;
@@ -0,0 +1,4 @@
1
+ export interface MessageInformationProps {
2
+ text: string;
3
+ time?: string;
4
+ }
@@ -1,2 +1,2 @@
1
1
  export { default as MessageInformation } from './MessageInformation';
2
- export { type MessageInformationProps } from './MessageInformationProps.types';
2
+ export { type MessageInformationProps } from './MessageInformation.types';
@@ -1,6 +1,7 @@
1
1
  import { type RichTextMedia } from './RichTextMedia';
2
2
  export interface RichTextStrapiProps {
3
3
  html?: string;
4
+ showLessHtml?: string;
4
5
  className?: string;
5
6
  medias?: RichTextMedia[];
6
7
  }
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type CountDownMessageProps } from './CountDownMessageProps.types';
2
+ import { type CountDownMessageProps } from './CountDownMessage.types';
3
3
  import './CountDownMessage.scss';
4
4
  declare const CountDownMessage: FC<CountDownMessageProps>;
5
5
  export default CountDownMessage;
@@ -0,0 +1,4 @@
1
+ export interface CountDownMessageProps {
2
+ text: string;
3
+ time?: string;
4
+ }
@@ -1,2 +1,2 @@
1
1
  export { default as CountDownMessage } from './CountDownMessage';
2
- export { type CountDownMessageProps } from './CountDownMessageProps.types';
2
+ export { type CountDownMessageProps } from './CountDownMessage.types';
package/dist/index.d.ts CHANGED
@@ -343,6 +343,7 @@ interface RichTextMedia {
343
343
 
344
344
  interface RichTextStrapiProps {
345
345
  html?: string;
346
+ showLessHtml?: string;
346
347
  className?: string;
347
348
  medias?: RichTextMedia[];
348
349
  }
@@ -477,7 +478,7 @@ interface WhyLawDistrictItem {
477
478
  declare const WhyLawDistrictItems: React$1.FC<WhyLawDistrictItemsProps>;
478
479
 
479
480
  interface MessageInformationProps {
480
- text: string | React.ReactNode;
481
+ text: string;
481
482
  time?: string;
482
483
  }
483
484
 
@@ -744,7 +745,7 @@ interface FreeDocModalContentProps {
744
745
  declare const FreeDocModalContent: FC<FreeDocModalContentProps>;
745
746
 
746
747
  interface CountDownMessageProps {
747
- text: string | React.ReactNode;
748
+ text: string;
748
749
  time?: string;
749
750
  }
750
751
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.30.0",
3
+ "version": "2.31.0",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^6.1.4",
6
6
  "@tippyjs/react": "4.2.6",
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export interface MessageInformationProps {
3
- text: string | React.ReactNode;
4
- time?: string;
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export interface CountDownMessageProps {
3
- text: string | React.ReactNode;
4
- time?: string;
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export interface MessageInformationProps {
3
- text: string | React.ReactNode;
4
- time?: string;
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export interface CountDownMessageProps {
3
- text: string | React.ReactNode;
4
- time?: string;
5
- }