@npm_leadtech/legal-lib-components 2.30.0 → 2.31.1

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';