@npm_leadtech/legal-lib-components 2.26.1 → 2.28.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 (67) hide show
  1. package/README.md +0 -5
  2. package/dist/cjs/index.js +3 -3
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/legal-lib-components.css +72 -238
  5. package/dist/cjs/src/components/atoms/index.d.ts +0 -1
  6. package/dist/cjs/src/components/molecules/StepGetForm/StepGetForm.d.ts +2 -2
  7. package/dist/cjs/src/components/molecules/StepGetForm/StepGetFormProps.types.d.ts +9 -2
  8. package/dist/cjs/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.d.ts +2 -2
  9. package/dist/cjs/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.d.ts +1 -1
  10. package/dist/cjs/src/components/sections/index.d.ts +4 -7
  11. package/dist/cjs/src/index.d.ts +0 -1
  12. package/dist/esm/index.js +3 -3
  13. package/dist/esm/index.js.map +1 -1
  14. package/dist/esm/legal-lib-components.css +72 -238
  15. package/dist/esm/src/components/atoms/index.d.ts +0 -1
  16. package/dist/esm/src/components/molecules/StepGetForm/StepGetForm.d.ts +2 -2
  17. package/dist/esm/src/components/molecules/StepGetForm/StepGetFormProps.types.d.ts +9 -2
  18. package/dist/esm/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.d.ts +2 -2
  19. package/dist/esm/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.d.ts +1 -1
  20. package/dist/esm/src/components/sections/index.d.ts +4 -7
  21. package/dist/esm/src/index.d.ts +0 -1
  22. package/dist/index.d.ts +33 -79
  23. package/package.json +2 -1
  24. package/dist/cjs/src/components/atoms/JumbotronStatic/JumbotronStatic.d.ts +0 -4
  25. package/dist/cjs/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.d.ts +0 -3
  26. package/dist/cjs/src/components/atoms/JumbotronStatic/index.d.ts +0 -2
  27. package/dist/cjs/src/components/pages/AboutUsPage/AboutUsPage.d.ts +0 -3
  28. package/dist/cjs/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +0 -11
  29. package/dist/cjs/src/components/pages/AboutUsPage/index.d.ts +0 -2
  30. package/dist/cjs/src/components/pages/LegalPage/LegalPage.d.ts +0 -3
  31. package/dist/cjs/src/components/pages/LegalPage/LegalPageProps.d.ts +0 -6
  32. package/dist/cjs/src/components/pages/LegalPage/index.d.ts +0 -2
  33. package/dist/cjs/src/components/pages/UnsubscribePage/UnsubscribePage.d.ts +0 -3
  34. package/dist/cjs/src/components/pages/UnsubscribePage/UnsubscribePageProps.d.ts +0 -6
  35. package/dist/cjs/src/components/pages/UnsubscribePage/index.d.ts +0 -2
  36. package/dist/cjs/src/components/pages/index.d.ts +0 -3
  37. package/dist/cjs/src/components/sections/LegalSection/LegalSection.d.ts +0 -4
  38. package/dist/cjs/src/components/sections/LegalSection/LegalSectionProps.d.ts +0 -4
  39. package/dist/cjs/src/components/sections/LegalSection/index.d.ts +0 -2
  40. package/dist/cjs/src/components/sections/TryUsSection/TryUsSection.d.ts +0 -4
  41. package/dist/cjs/src/components/sections/TryUsSection/TryUsSectionProps.d.ts +0 -7
  42. package/dist/cjs/src/components/sections/TryUsSection/index.d.ts +0 -2
  43. package/dist/cjs/src/components/sections/UnsubscribeSection/UnsubscribeSection.d.ts +0 -4
  44. package/dist/cjs/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.d.ts +0 -4
  45. package/dist/cjs/src/components/sections/UnsubscribeSection/index.d.ts +0 -2
  46. package/dist/esm/src/components/atoms/JumbotronStatic/JumbotronStatic.d.ts +0 -4
  47. package/dist/esm/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.d.ts +0 -3
  48. package/dist/esm/src/components/atoms/JumbotronStatic/index.d.ts +0 -2
  49. package/dist/esm/src/components/pages/AboutUsPage/AboutUsPage.d.ts +0 -3
  50. package/dist/esm/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +0 -11
  51. package/dist/esm/src/components/pages/AboutUsPage/index.d.ts +0 -2
  52. package/dist/esm/src/components/pages/LegalPage/LegalPage.d.ts +0 -3
  53. package/dist/esm/src/components/pages/LegalPage/LegalPageProps.d.ts +0 -6
  54. package/dist/esm/src/components/pages/LegalPage/index.d.ts +0 -2
  55. package/dist/esm/src/components/pages/UnsubscribePage/UnsubscribePage.d.ts +0 -3
  56. package/dist/esm/src/components/pages/UnsubscribePage/UnsubscribePageProps.d.ts +0 -6
  57. package/dist/esm/src/components/pages/UnsubscribePage/index.d.ts +0 -2
  58. package/dist/esm/src/components/pages/index.d.ts +0 -3
  59. package/dist/esm/src/components/sections/LegalSection/LegalSection.d.ts +0 -4
  60. package/dist/esm/src/components/sections/LegalSection/LegalSectionProps.d.ts +0 -4
  61. package/dist/esm/src/components/sections/LegalSection/index.d.ts +0 -2
  62. package/dist/esm/src/components/sections/TryUsSection/TryUsSection.d.ts +0 -4
  63. package/dist/esm/src/components/sections/TryUsSection/TryUsSectionProps.d.ts +0 -7
  64. package/dist/esm/src/components/sections/TryUsSection/index.d.ts +0 -2
  65. package/dist/esm/src/components/sections/UnsubscribeSection/UnsubscribeSection.d.ts +0 -4
  66. package/dist/esm/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.d.ts +0 -4
  67. package/dist/esm/src/components/sections/UnsubscribeSection/index.d.ts +0 -2
@@ -411,14 +411,14 @@ html[data-theme='lawdistrict'] .e-button.--primary-3 {
411
411
  .e-button.--secondary {
412
412
  display: inline-block; }
413
413
  .e-button.--secondary-1 {
414
- background-color: transparent;
414
+ background-color: var(--others-white);
415
415
  border: 2px solid #05646e;
416
416
  color: #05646e;
417
417
  font-weight: bold; }
418
418
  .e-button.--secondary-1:hover {
419
419
  background-color: #e4f8f3; }
420
420
  .e-button.--secondary-2 {
421
- background-color: transparent;
421
+ background-color: var(--others-white);
422
422
  border: 2px solid var(--secondary-main);
423
423
  color: var(--neutral-main);
424
424
  font-weight: bold; }
@@ -447,6 +447,7 @@ html[data-theme='lawdistrict'] .e-button.--primary-3 {
447
447
  .e-button.--secondary-icon.--bold img {
448
448
  margin-right: 0.8rem; }
449
449
  .e-button.--secondary-icon.--dark {
450
+ background-color: var(--neutral-main);
450
451
  border: 1px solid var(--others-white) !important;
451
452
  color: var(--others-white); }
452
453
  .e-button.--secondary-icon.--dark svg {
@@ -1482,13 +1483,6 @@ html[data-theme='lawdistrict'] .e-button.--primary-3 {
1482
1483
  vertical-align: middle;
1483
1484
  content: "×";
1484
1485
  }
1485
- .react-datepicker__close-icon--disabled {
1486
- cursor: default;
1487
- }
1488
- .react-datepicker__close-icon--disabled::after {
1489
- cursor: default;
1490
- background-color: #ccc;
1491
- }
1492
1486
 
1493
1487
  .react-datepicker__today-button {
1494
1488
  background: #f0f0f0;
@@ -1933,12 +1927,6 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
1933
1927
  .info-box .info-box__text-container {
1934
1928
  margin-left: 1.5rem; } }
1935
1929
 
1936
- .jumbotron--static {
1937
- text-align: center;
1938
- margin: 0 auto;
1939
- background-color: var(--primary-main-light-6);
1940
- padding: 2.5rem 1rem 4rem; }
1941
-
1942
1930
  .logo-text {
1943
1931
  display: flex;
1944
1932
  align-items: flex-start; }
@@ -4247,6 +4235,56 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4247
4235
  .try-our-free-legal-blogs-section__image {
4248
4236
  flex-basis: 50%; }
4249
4237
 
4238
+ .blog {
4239
+ text-align: center;
4240
+ margin: 0 auto 3rem;
4241
+ padding: 0 1rem;
4242
+ max-width: 960px; }
4243
+ @media (min-width: 960px) {
4244
+ .blog {
4245
+ padding: 0; } }
4246
+ @media (min-width: 1200px) {
4247
+ .blog {
4248
+ max-width: 1200px; } }
4249
+ .blog .blog__title {
4250
+ color: var(--primary-main-dark-1); }
4251
+ @media (min-width: 960px) {
4252
+ .blog .blog__title {
4253
+ margin-bottom: 3rem; } }
4254
+ .blog .cta-button {
4255
+ width: 100%;
4256
+ margin-top: 3rem;
4257
+ display: inline-block; }
4258
+ @media (min-width: 720px) {
4259
+ .blog .cta-button {
4260
+ width: auto; } }
4261
+
4262
+ .how-it-works-wrapper {
4263
+ background-color: var(--neutral-neutral-6); }
4264
+ @media (min-width: 960px) {
4265
+ .how-it-works-wrapper {
4266
+ background-repeat: no-repeat;
4267
+ background-position: top right;
4268
+ background-size: 21rem; } }
4269
+ @media only screen and (max-width: 960px) {
4270
+ .how-it-works-wrapper {
4271
+ background-image: none !important; } }
4272
+ .how-it-works-wrapper .works-title {
4273
+ width: auto;
4274
+ font-family: "Lora", serif;
4275
+ text-align: center;
4276
+ padding-top: 4rem; }
4277
+ @media only screen and (max-width: 960px) {
4278
+ .how-it-works-wrapper .works-title {
4279
+ padding-top: 2.5rem; } }
4280
+
4281
+ .try-our-free-legal-blogs-section {
4282
+ display: flex;
4283
+ flex-direction: column; }
4284
+ @media (min-width: 720px) {
4285
+ .try-our-free-legal-blogs-section {
4286
+ flex-flow: row nowrap; } }
4287
+
4250
4288
  .about-us-section {
4251
4289
  padding-top: 1.125rem;
4252
4290
  background: var(--primary-main-light-6);
@@ -4287,54 +4325,26 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4287
4325
  .about-us-section__sub-title {
4288
4326
  font-size: 3rem; } }
4289
4327
 
4290
- .as-seen-in-section-box {
4291
- flex-shrink: 0;
4292
- border-radius: 4px;
4293
- background: #fff;
4294
- box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
4295
- margin: 2rem;
4296
- padding: 1rem;
4297
- max-width: 1200px; }
4298
- @media (min-width: 960px) {
4299
- .as-seen-in-section-box {
4300
- margin: 2rem auto; } }
4301
- .as-seen-in-section-box .as-seen-in-section {
4302
- display: flex;
4303
- flex-direction: column; }
4304
- .as-seen-in-section-box .as-seen-in-section__title {
4305
- color: var(--neutral-neutral-2);
4306
- text-align: center;
4307
- font-size: 32px;
4308
- font-family: "Lora", serif;
4309
- font-style: normal;
4310
- font-weight: 400;
4311
- line-height: 42px;
4312
- letter-spacing: -0.3px;
4313
- margin: 1rem 0; }
4328
+ .guidelines-section {
4329
+ display: flex;
4330
+ flex-direction: column; }
4331
+ @media (min-width: 720px) {
4332
+ .guidelines-section {
4333
+ flex-flow: row nowrap; } }
4314
4334
 
4315
- .blog {
4316
- text-align: center;
4317
- margin: 0 auto 3rem;
4318
- padding: 0 1rem;
4319
- max-width: 960px; }
4320
- @media (min-width: 960px) {
4321
- .blog {
4322
- padding: 0; } }
4323
- @media (min-width: 1200px) {
4324
- .blog {
4325
- max-width: 1200px; } }
4326
- .blog .blog__title {
4327
- color: var(--primary-main-dark-1); }
4328
- @media (min-width: 960px) {
4329
- .blog .blog__title {
4330
- margin-bottom: 3rem; } }
4331
- .blog .cta-button {
4332
- width: 100%;
4333
- margin-top: 3rem;
4334
- display: inline-block; }
4335
- @media (min-width: 720px) {
4336
- .blog .cta-button {
4337
- width: auto; } }
4335
+ .as-seen-in-section {
4336
+ display: flex;
4337
+ flex-direction: column; }
4338
+ .as-seen-in-section__title {
4339
+ color: var(--neutral-neutral-2);
4340
+ text-align: center;
4341
+ font-size: 32px;
4342
+ font-family: "Lora", serif;
4343
+ font-style: normal;
4344
+ font-weight: 400;
4345
+ line-height: 42px;
4346
+ letter-spacing: -0.3px;
4347
+ margin: 1rem 0; }
4338
4348
 
4339
4349
  .experts-section {
4340
4350
  display: flex;
@@ -4356,110 +4366,6 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4356
4366
  .experts-section__title {
4357
4367
  width: 100%; } }
4358
4368
 
4359
- .guidelines-section {
4360
- display: flex;
4361
- flex-direction: column; }
4362
- @media (min-width: 720px) {
4363
- .guidelines-section {
4364
- flex-flow: row nowrap; } }
4365
-
4366
- .how-it-works-wrapper {
4367
- background-color: var(--neutral-neutral-6); }
4368
- @media (min-width: 960px) {
4369
- .how-it-works-wrapper {
4370
- background-repeat: no-repeat;
4371
- background-position: top right;
4372
- background-size: 21rem; } }
4373
- @media only screen and (max-width: 960px) {
4374
- .how-it-works-wrapper {
4375
- background-image: none !important; } }
4376
- .how-it-works-wrapper .works-title {
4377
- width: auto;
4378
- font-family: "Lora", serif;
4379
- text-align: center;
4380
- padding-top: 4rem; }
4381
- @media only screen and (max-width: 960px) {
4382
- .how-it-works-wrapper .works-title {
4383
- padding-top: 2.5rem; } }
4384
-
4385
- .legal {
4386
- margin-top: 1rem;
4387
- margin-bottom: 6rem;
4388
- padding: 0 1rem; }
4389
- @media (min-width: 960px) {
4390
- .legal {
4391
- padding: 0; } }
4392
- .legal .m-richText > * {
4393
- color: var(--neutral-neutral-1); }
4394
- .legal .m-richText p {
4395
- margin-bottom: 1rem; }
4396
- .legal .m-richText .cookie-table,
4397
- .legal .m-richText .cookies-downloaded-documents-pages {
4398
- box-shadow: 0 0.25rem 0.5rem 0 rgba(var(--primary-main-dark-1-rgb), 0.2); }
4399
- .legal .m-richText .cookie-table thead th:nth-child(3),
4400
- .legal .m-richText .cookie-table thead th:nth-child(4),
4401
- .legal .m-richText .cookies-downloaded-documents-pages thead th:nth-child(3),
4402
- .legal .m-richText .cookies-downloaded-documents-pages thead th:nth-child(4) {
4403
- display: none; }
4404
- @media (min-width: 720px) {
4405
- .legal .m-richText .cookie-table thead th:nth-child(3),
4406
- .legal .m-richText .cookie-table thead th:nth-child(4),
4407
- .legal .m-richText .cookies-downloaded-documents-pages thead th:nth-child(3),
4408
- .legal .m-richText .cookies-downloaded-documents-pages thead th:nth-child(4) {
4409
- display: table-cell; } }
4410
- .legal .m-richText .cookie-table tbody td:nth-child(3),
4411
- .legal .m-richText .cookie-table tbody td:nth-child(4),
4412
- .legal .m-richText .cookies-downloaded-documents-pages tbody td:nth-child(3),
4413
- .legal .m-richText .cookies-downloaded-documents-pages tbody td:nth-child(4) {
4414
- display: none; }
4415
- @media (min-width: 720px) {
4416
- .legal .m-richText .cookie-table tbody td:nth-child(3),
4417
- .legal .m-richText .cookie-table tbody td:nth-child(4),
4418
- .legal .m-richText .cookies-downloaded-documents-pages tbody td:nth-child(3),
4419
- .legal .m-richText .cookies-downloaded-documents-pages tbody td:nth-child(4) {
4420
- display: table-cell; } }
4421
- .legal .m-richText table {
4422
- margin: 2.5rem 0;
4423
- width: 100%;
4424
- border-radius: 4px;
4425
- text-align: center;
4426
- border-collapse: collapse; }
4427
- .legal .m-richText table thead th {
4428
- height: 2.5rem;
4429
- background-color: var(--primary-main-light-5);
4430
- border-right: 1px solid var(--neutral-neutral-4); }
4431
- .legal .m-richText table thead th:first-child {
4432
- border-top-left-radius: 4px; }
4433
- .legal .m-richText table thead th:last-child {
4434
- border-right: none;
4435
- border-top-right-radius: 4px; }
4436
- .legal .m-richText table thead tr {
4437
- font-weight: bold;
4438
- padding: 0.5rem 0; }
4439
- .legal .m-richText table tbody td {
4440
- border-right: 1px solid var(--neutral-neutral-4); }
4441
- .legal .m-richText table tbody td:last-child {
4442
- border-right: none; }
4443
- .legal .m-richText table tbody tr {
4444
- height: 2.5rem; }
4445
- .legal .m-richText table tbody tr:nth-child(even) {
4446
- background: var(--neutral-neutral-6); }
4447
- .legal .m-richText h2 {
4448
- font-size: 32px;
4449
- line-height: 1.13;
4450
- letter-spacing: -0.3px;
4451
- margin-bottom: 1rem; }
4452
- .legal .m-richText a {
4453
- color: var(--primary-main-light-1); }
4454
- .legal .m-richText ul,
4455
- .legal .m-richText ol {
4456
- padding-left: 2rem;
4457
- margin-bottom: 1rem; }
4458
- .legal .m-richText ul {
4459
- list-style: disc; }
4460
- .legal .m-richText ol {
4461
- list-style-type: decimal; }
4462
-
4463
4369
  .people-say {
4464
4370
  width: 100%;
4465
4371
  margin: 0 auto;
@@ -4472,78 +4378,6 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4472
4378
  letter-spacing: -0.3px;
4473
4379
  text-align: center; }
4474
4380
 
4475
- .try-our-free-legal-blogs-section {
4476
- display: flex;
4477
- flex-direction: column; }
4478
- @media (min-width: 720px) {
4479
- .try-our-free-legal-blogs-section {
4480
- flex-flow: row nowrap; } }
4481
-
4482
- .try-us-section {
4483
- padding: 2rem;
4484
- text-align: center;
4485
- background-color: var(--neutral-neutral-6);
4486
- color: var(--neutral-neutral-1); }
4487
- .try-us-section .m-richText {
4488
- max-width: 50rem;
4489
- margin: 0 auto; }
4490
- .try-us-section .e-button {
4491
- display: inline-block;
4492
- margin-top: 1.5rem;
4493
- width: 100%; }
4494
- @media (min-width: 720px) {
4495
- .try-us-section .e-button {
4496
- width: auto; } }
4497
-
4498
- .unsubscribe div:first-child {
4499
- background: var(--neutral-neutral-6);
4500
- display: flex;
4501
- flex-flow: row wrap;
4502
- margin-bottom: 4rem; }
4503
- @media (min-width: 720px) {
4504
- .unsubscribe div:first-child {
4505
- margin: 0 3rem 3rem 3rem; } }
4506
-
4507
- .unsubscribe .m-richText p + h2 {
4508
- margin-top: 0; }
4509
-
4510
- .unsubscribe h2 {
4511
- color: var(--neutral-neutral-1);
4512
- background: var(--others-white);
4513
- width: 100%;
4514
- font-size: 1.75rem;
4515
- padding: 2rem 1rem 1rem 1rem; }
4516
- @media (min-width: 720px) {
4517
- .unsubscribe h2 {
4518
- font-size: 2rem;
4519
- padding: 2.7rem 0 1rem 0; } }
4520
-
4521
- .unsubscribe .m-richText h2 + p {
4522
- padding-top: 1.5rem; }
4523
-
4524
- .unsubscribe p {
4525
- padding: 0 2rem 1.5rem 2rem;
4526
- width: 100%;
4527
- margin: 0; }
4528
- @media (min-width: 960px) {
4529
- .unsubscribe p {
4530
- padding: 0 8rem 1.5rem 8rem; } }
4531
- @media (min-width: 1200px) {
4532
- .unsubscribe p {
4533
- padding: 0 15rem 1.5rem 15rem; } }
4534
-
4535
- .unsubscribe img {
4536
- max-width: 100%;
4537
- display: block;
4538
- margin: 0; }
4539
-
4540
- .unsubscribe .image-preview {
4541
- margin: 0 auto;
4542
- padding: 0.5rem 0;
4543
- border: none;
4544
- width: auto;
4545
- height: auto; }
4546
-
4547
4381
  .whyLawDistrictSection {
4548
4382
  text-align: center;
4549
4383
  background-color: var(--neutral-neutral-6);
@@ -18,7 +18,6 @@ export * from './GoogleButton';
18
18
  export * from './IconImage';
19
19
  export * from './IconSvgURLWithThemeColor';
20
20
  export * from './InfoBox';
21
- export * from './JumbotronStatic';
22
21
  export * from './Logo';
23
22
  export * from './LogoText';
24
23
  export * from './MenuItems';
@@ -1,5 +1,5 @@
1
- import React from 'react';
1
+ import { type FC } from 'react';
2
2
  import { type StepGetFormProps } from './StepGetFormProps.types';
3
3
  import './StepGetForm.scss';
4
- declare const StepGetForm: React.FC<StepGetFormProps>;
4
+ declare const StepGetForm: FC<StepGetFormProps>;
5
5
  export default StepGetForm;
@@ -1,7 +1,14 @@
1
- /// <reference types="react" />
1
+ import { type IGatsbyImageData } from 'gatsby-plugin-image';
2
2
  export interface StepGetFormProps {
3
3
  id: string;
4
4
  description: string;
5
5
  title: string;
6
- image?: React.ReactNode;
6
+ icon: {
7
+ localFile: {
8
+ publicURL: string;
9
+ childImageSharp: {
10
+ gatsbyImageData: IGatsbyImageData;
11
+ };
12
+ };
13
+ };
7
14
  }
@@ -1,5 +1,5 @@
1
- import React from 'react';
1
+ import { type FC } from 'react';
2
2
  import { type HowGetYourFormsSectionProps } from './HowGetYourFormsSectionProps.types';
3
3
  import './HowGetYourFormsSection.scss';
4
- declare const HowGetYourFormsSection: React.FC<HowGetYourFormsSectionProps>;
4
+ declare const HowGetYourFormsSection: FC<HowGetYourFormsSectionProps>;
5
5
  export default HowGetYourFormsSection;
@@ -1,4 +1,4 @@
1
- import { type TryOurFreeLegalBlogsContentProps } from '../../organisms';
1
+ import { type TryOurFreeLegalBlogsContentProps } from '../../organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types';
2
2
  export interface TryOurFreeLegalBlogsSectionProps {
3
3
  contentTryOurFreeLegalBlogs: TryOurFreeLegalBlogsContentProps;
4
4
  }
@@ -1,13 +1,10 @@
1
+ export * from './BlogSection';
2
+ export * from './HowGetYourFormsSection';
3
+ export * from './TryOurFreeLegalBlogsSection';
1
4
  export * from './AboutUsSection';
5
+ export * from './GuidelinesSection';
2
6
  export * from './AsSeeInSection';
3
- export * from './BlogSection';
4
7
  export * from './ExpertsSection';
5
- export * from './GuidelinesSection';
6
- export * from './HowGetYourFormsSection';
7
- export * from './LegalSection';
8
8
  export * from './PeopleSayAboutUsSection';
9
- export * from './TryOurFreeLegalBlogsSection';
10
- export * from './TryUsSection';
11
- export * from './UnsubscribeSection';
12
9
  export * from './WhyLawDistrictSection';
13
10
  export * from './LearnMoreSection';
@@ -2,5 +2,4 @@ export * from './components/atoms';
2
2
  export * from './components/molecules';
3
3
  export * from './components/organisms';
4
4
  export * from './components/sections';
5
- export * from './components/pages';
6
5
  export * from './hooks';
package/dist/index.d.ts CHANGED
@@ -222,12 +222,6 @@ interface InfoBoxProps {
222
222
 
223
223
  declare const InfoBox: FC<InfoBoxProps>;
224
224
 
225
- interface JumbotronStaticProps {
226
- title: string;
227
- }
228
-
229
- declare const JumbotronStatic: FC<JumbotronStaticProps>;
230
-
231
225
  interface LogoProps {
232
226
  siteName: string;
233
227
  className?: string;
@@ -674,10 +668,17 @@ interface StepGetFormProps {
674
668
  id: string;
675
669
  description: string;
676
670
  title: string;
677
- image?: React.ReactNode;
671
+ icon: {
672
+ localFile: {
673
+ publicURL: string;
674
+ childImageSharp: {
675
+ gatsbyImageData: IGatsbyImageData;
676
+ };
677
+ };
678
+ };
678
679
  }
679
680
 
680
- declare const StepGetForm: React$1.FC<StepGetFormProps>;
681
+ declare const StepGetForm: FC<StepGetFormProps>;
681
682
 
682
683
  interface TextInputProps {
683
684
  label?: string;
@@ -808,35 +809,35 @@ interface TryOurFreeLegalBlogsContentProps {
808
809
 
809
810
  declare const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps>;
810
811
 
811
- interface AboutUsSectionProps {
812
- title: string;
813
- subTitle?: string;
814
- contentAboutUs: AboutUsContentProps;
812
+ interface BlogSectionProps {
813
+ blogTitle: string;
814
+ blogCta: string;
815
+ articles: ArticlesListProps;
815
816
  }
816
817
 
817
- declare const AboutUsSection: FC<AboutUsSectionProps>;
818
+ declare const BlogSection: FC<BlogSectionProps>;
818
819
 
819
- interface AsSeeInSectionProps {
820
+ interface HowGetYourFormsSectionProps {
820
821
  title: string;
821
- contentAsSeeIn: AsSeeInContentProps;
822
+ steps: StepGetFormProps[];
823
+ hasBackgroundImage: boolean;
822
824
  }
823
825
 
824
- declare const AsSeeInSection: FC<AsSeeInSectionProps>;
826
+ declare const HowGetYourFormsSection: FC<HowGetYourFormsSectionProps>;
825
827
 
826
- interface BlogSectionProps {
827
- blogTitle: string;
828
- blogCta: string;
829
- articles: ArticlesListProps;
828
+ interface TryOurFreeLegalBlogsSectionProps {
829
+ contentTryOurFreeLegalBlogs: TryOurFreeLegalBlogsContentProps;
830
830
  }
831
831
 
832
- declare const BlogSection: FC<BlogSectionProps>;
832
+ declare const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps>;
833
833
 
834
- interface ExpertsSectionProps {
834
+ interface AboutUsSectionProps {
835
835
  title: string;
836
- contentExpertCardList: ExpertCardListProps;
836
+ subTitle?: string;
837
+ contentAboutUs: AboutUsContentProps;
837
838
  }
838
839
 
839
- declare const ExpertsSection: FC<ExpertsSectionProps>;
840
+ declare const AboutUsSection: FC<AboutUsSectionProps>;
840
841
 
841
842
  interface GuidelinesSectionProps {
842
843
  contentGuidelines: GuidelinesContentProps;
@@ -844,19 +845,19 @@ interface GuidelinesSectionProps {
844
845
 
845
846
  declare const GuidelinesSection: FC<GuidelinesSectionProps>;
846
847
 
847
- interface HowGetYourFormsSectionProps {
848
+ interface AsSeeInSectionProps {
848
849
  title: string;
849
- steps: StepGetFormProps[];
850
- hasBackgroundImage: boolean;
850
+ contentAsSeeIn: AsSeeInContentProps;
851
851
  }
852
852
 
853
- declare const HowGetYourFormsSection: React$1.FC<HowGetYourFormsSectionProps>;
853
+ declare const AsSeeInSection: FC<AsSeeInSectionProps>;
854
854
 
855
- interface LegalSectionProps {
856
- text: RichTextStrapiProps;
855
+ interface ExpertsSectionProps {
856
+ title: string;
857
+ contentExpertCardList: ExpertCardListProps;
857
858
  }
858
859
 
859
- declare const LegalSection: React$1.FC<LegalSectionProps>;
860
+ declare const ExpertsSection: FC<ExpertsSectionProps>;
860
861
 
861
862
  interface PeopleSayAboutUsSectionProps {
862
863
  title?: string;
@@ -865,26 +866,6 @@ interface PeopleSayAboutUsSectionProps {
865
866
 
866
867
  declare const PeopleSayAboutUsSection: FC<PeopleSayAboutUsSectionProps>;
867
868
 
868
- interface TryOurFreeLegalBlogsSectionProps {
869
- contentTryOurFreeLegalBlogs: TryOurFreeLegalBlogsContentProps;
870
- }
871
-
872
- declare const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps>;
873
-
874
- interface TryUsSectionProps {
875
- children?: ReactNode;
876
- hasUserToken?: boolean;
877
- cta: ButtonProps;
878
- }
879
-
880
- declare const TryUsSection: FC<TryUsSectionProps>;
881
-
882
- interface UnsubscribeSectionProps {
883
- text: RichTextStrapiProps;
884
- }
885
-
886
- declare const UnsubscribeSection: React$1.FC<UnsubscribeSectionProps>;
887
-
888
869
  interface WhyLawDistrictSectionProps {
889
870
  title: string;
890
871
  items: WhyLawDistrictItem[];
@@ -908,33 +889,6 @@ interface LearnMoreSectionProps {
908
889
 
909
890
  declare const LearnMoreSection: FC<LearnMoreSectionProps>;
910
891
 
911
- interface AboutUsPageProps {
912
- aboutUsSectionProps?: AboutUsSectionProps;
913
- tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
914
- peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
915
- guidelinesSectionProps?: GuidelinesSectionProps;
916
- tryUsSectionProps?: TryUsSectionProps;
917
- expertsSectionProps?: ExpertsSectionProps;
918
- asSeeInSectionProps?: AsSeeInSectionProps;
919
- isJonSnow?: boolean;
920
- }
921
-
922
- declare const AboutUsPage: React$1.FC<AboutUsPageProps>;
923
-
924
- interface LegalPageProps {
925
- jumbotron: JumbotronStaticProps;
926
- legalSection: LegalSectionProps;
927
- }
928
-
929
- declare const LegalPage: React$1.FC<LegalPageProps>;
930
-
931
- interface UnsubscribePageProps {
932
- jumbotron: JumbotronStaticProps;
933
- unsubscribeSection: UnsubscribeSectionProps;
934
- }
935
-
936
- declare const UnsubscribePage: React$1.FC<UnsubscribePageProps>;
937
-
938
892
  declare function useIntersectionObserver({ options, defaultIntersecting }: {
939
893
  options?: {} | undefined;
940
894
  defaultIntersecting?: boolean | undefined;
@@ -947,4 +901,4 @@ interface UseIsMobileOrTablePropsReturn {
947
901
  }
948
902
  declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
949
903
 
950
- export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, AddButton, type AddButtonProps, Article, type ArticleProps, ArticlesList, type ArticlesListProps, AsSeeInContent, type AsSeeInContentProps, AsSeeInSection, type AsSeeInSectionProps, BaseBox, BaseBoxList, type BaseBoxListProps, type BaseBoxProps, BillCard, type BillCardProps, BlogSection, type BlogSectionProps, BottomFixedBar, type BottomFixedBarProps, BottomOverlay, BottomOverlayMenu, type BottomOverlayMenuProps, type BottomOverlayProps, BoxForm, type BoxFormProps, BreadcrumItem, type BreadcrumItemProps, Breadcrumb, type BreadcrumbProps, Button, ButtonIcon, type ButtonIconProps, type ButtonProps, CardPane, type CardPaneInfoProps, type CardPaneProps, Checkbox, type CheckboxProps, ContactBox, type ContactBoxProps, ContinueEditingBanner, type ContinueEditingBannerProps, CookiePolicyBar, type CookiePolicyBarProps, CountDownMessage, type CountDownMessageProps, DatePickerCustom, type DatePickerCustomProps, DialogMenuIcon, type DialogMenuIconProps, Disclaimer, type DisclaimerProps, Divider, type DividerProps, DocumentStatus, type DocumentStatusProps, ExpertCard, ExpertCardList, type ExpertCardListProps, type ExpertCardProps, ExpertsSection, type ExpertsSectionProps, Feedback, type FeedbackProps, FormFaq, type FormFaqProps, FreeDocModalContent, type FreeDocModalContentProps, GoogleButton, type GoogleButtonProps, GuidelinesContent, type GuidelinesContentProps, GuidelinesSection, type GuidelinesSectionProps, HowGetYourFormsSection, type HowGetYourFormsSectionProps, IconImage, type IconImageProps, IconSvgURLWithThemeColor, type IconSvgURLWithThemeColorProps, type ImageStructure, InfoBox, type InfoBoxProps, JumbotronStatic, type JumbotronStaticProps, type LatestApplication, LearnMoreSection, type LearnMoreSectionProps, LegalPage, type LegalPageProps, LegalSection, type LegalSectionProps, ListStepsGetForm, type ListStepsGetFormProps, Logo, type LogoProps, LogoText, type LogoTextProps, type MenuItemProps, MenuItems, MenuItemsSection, type MenuItemsSectionProps, MenuPlacement, Message, MessageInformation, type MessageInformationProps, type MessageProps, MobileBottomBar, type MobileBottomBarProps, NavBarDropDown, type NavBarDropDownProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PricingCard, type PricingCardProps, ProgressBar, type ProgressBarProps, Radio, type RadioProps, RemoveButton, type RemoveButtonProps, RichTextInner, type RichTextInnerProps, type RichTextMedia, RichTextStrapi, type RichTextStrapiProps, SearchSelect, type SearchSelectProps, type SideMenuTabProps, SidemenuTab, Snackbar, type SnackbarProps, Spinner, type SpinnerProps, StepGetForm, type StepGetFormProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, Toggle, type ToggleProps, Tooltip, TooltipMenu, type TooltipMenuProps, type TooltipProps, TopBar, TopBarMobile, type TopBarProps, Trustpilot as TrustPilot, type TrustPilotProps, TrustworthyWebsites, type TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, type TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, type TryOurFreeLegalBlogsSectionProps, TryUsSection, type TryUsSectionProps, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useIntersectionObserver, useIsMobileOrTable };
904
+ export { AboutUsContent, type AboutUsContentProps, AboutUsSection, type AboutUsSectionProps, AddButton, type AddButtonProps, Article, type ArticleProps, ArticlesList, type ArticlesListProps, AsSeeInContent, type AsSeeInContentProps, AsSeeInSection, type AsSeeInSectionProps, BaseBox, BaseBoxList, type BaseBoxListProps, type BaseBoxProps, BillCard, type BillCardProps, BlogSection, type BlogSectionProps, BottomFixedBar, type BottomFixedBarProps, BottomOverlay, BottomOverlayMenu, type BottomOverlayMenuProps, type BottomOverlayProps, BoxForm, type BoxFormProps, BreadcrumItem, type BreadcrumItemProps, Breadcrumb, type BreadcrumbProps, Button, ButtonIcon, type ButtonIconProps, type ButtonProps, CardPane, type CardPaneInfoProps, type CardPaneProps, Checkbox, type CheckboxProps, ContactBox, type ContactBoxProps, ContinueEditingBanner, type ContinueEditingBannerProps, CookiePolicyBar, type CookiePolicyBarProps, CountDownMessage, type CountDownMessageProps, DatePickerCustom, type DatePickerCustomProps, DialogMenuIcon, type DialogMenuIconProps, Disclaimer, type DisclaimerProps, Divider, type DividerProps, DocumentStatus, type DocumentStatusProps, ExpertCard, ExpertCardList, type ExpertCardListProps, type ExpertCardProps, ExpertsSection, type ExpertsSectionProps, Feedback, type FeedbackProps, FormFaq, type FormFaqProps, FreeDocModalContent, type FreeDocModalContentProps, GoogleButton, type GoogleButtonProps, GuidelinesContent, type GuidelinesContentProps, GuidelinesSection, type GuidelinesSectionProps, HowGetYourFormsSection, type HowGetYourFormsSectionProps, IconImage, type IconImageProps, IconSvgURLWithThemeColor, type IconSvgURLWithThemeColorProps, type ImageStructure, InfoBox, type InfoBoxProps, type LatestApplication, LearnMoreSection, type LearnMoreSectionProps, ListStepsGetForm, type ListStepsGetFormProps, Logo, type LogoProps, LogoText, type LogoTextProps, type MenuItemProps, MenuItems, MenuItemsSection, type MenuItemsSectionProps, MenuPlacement, Message, MessageInformation, type MessageInformationProps, type MessageProps, MobileBottomBar, type MobileBottomBarProps, NavBarDropDown, type NavBarDropDownProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PricingCard, type PricingCardProps, ProgressBar, type ProgressBarProps, Radio, type RadioProps, RemoveButton, type RemoveButtonProps, RichTextInner, type RichTextInnerProps, type RichTextMedia, RichTextStrapi, type RichTextStrapiProps, SearchSelect, type SearchSelectProps, type SideMenuTabProps, SidemenuTab, Snackbar, type SnackbarProps, Spinner, type SpinnerProps, StepGetForm, type StepGetFormProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, Toggle, type ToggleProps, Tooltip, TooltipMenu, type TooltipMenuProps, type TooltipProps, TopBar, TopBarMobile, type TopBarProps, Trustpilot as TrustPilot, type TrustPilotProps, TrustworthyWebsites, type TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, type TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, type TryOurFreeLegalBlogsSectionProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useIntersectionObserver, useIsMobileOrTable };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.26.1",
3
+ "version": "2.28.0",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^6.1.4",
6
6
  "@tippyjs/react": "4.2.6",
@@ -46,6 +46,7 @@
46
46
  "@storybook/addon-controls": "^7.5.3",
47
47
  "@storybook/addon-essentials": "^7.5.3",
48
48
  "@storybook/addon-links": "^7.5.3",
49
+ "@storybook/addon-mdx-gfm": "^7.5.3",
49
50
  "@storybook/react": "^7.5.3",
50
51
  "@storybook/react-webpack5": "^7.5.3",
51
52
  "@testing-library/jest-dom": "^6.1.4",
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type JumbotronStaticProps } from './JumbotronStaticProps.types';
3
- import './JumbotronStatic.scss';
4
- export declare const JumbotronStatic: FC<JumbotronStaticProps>;
@@ -1,3 +0,0 @@
1
- export interface JumbotronStaticProps {
2
- title: string;
3
- }
@@ -1,2 +0,0 @@
1
- export { JumbotronStatic } from './JumbotronStatic';
2
- export type { JumbotronStaticProps } from './JumbotronStaticProps.types';
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { type AboutUsPageProps } from './AboutUsPageProps';
3
- export declare const AboutUsPage: React.FC<AboutUsPageProps>;