@npm_leadtech/legal-lib-components 7.63.6 → 7.63.8

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/dist/src/components/atoms/Logo/Logo.js +2 -4
  2. package/dist/src/components/atoms/Logo/Logo.tsx +2 -4
  3. package/dist/src/components/atoms/index.d.ts +0 -2
  4. package/dist/src/components/atoms/index.js +0 -2
  5. package/dist/src/components/atoms/index.ts +0 -2
  6. package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.js +6 -1
  7. package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.ts +6 -1
  8. package/dist/src/components/molecules/BoxForm/BoxForm.styled.js +2 -8
  9. package/dist/src/components/molecules/BoxForm/BoxForm.styled.ts +2 -8
  10. package/dist/src/components/organisms/index.d.ts +0 -1
  11. package/dist/src/components/organisms/index.js +0 -1
  12. package/dist/src/components/organisms/index.ts +0 -1
  13. package/dist/src/components/pages/index.d.ts +0 -1
  14. package/dist/src/components/pages/index.js +0 -1
  15. package/dist/src/components/pages/index.ts +0 -1
  16. package/dist/tsconfig.build.tsbuildinfo +1 -1
  17. package/package.json +1 -2
  18. package/dist/src/components/atoms/FeatureItem/FeatureItem.d.ts +0 -3
  19. package/dist/src/components/atoms/FeatureItem/FeatureItem.js +0 -5
  20. package/dist/src/components/atoms/FeatureItem/FeatureItem.styled.d.ts +0 -1
  21. package/dist/src/components/atoms/FeatureItem/FeatureItem.styled.js +0 -18
  22. package/dist/src/components/atoms/FeatureItem/FeatureItem.styled.ts +0 -19
  23. package/dist/src/components/atoms/FeatureItem/FeatureItem.tsx +0 -12
  24. package/dist/src/components/atoms/FeatureItem/FeatureItemProps.d.ts +0 -9
  25. package/dist/src/components/atoms/FeatureItem/FeatureItemProps.js +0 -1
  26. package/dist/src/components/atoms/FeatureItem/FeatureItemProps.ts +0 -10
  27. package/dist/src/components/atoms/FeatureItem/index.d.ts +0 -2
  28. package/dist/src/components/atoms/FeatureItem/index.js +0 -2
  29. package/dist/src/components/atoms/FeatureItem/index.ts +0 -2
  30. package/dist/src/components/atoms/Logo/svg/legalfinity-logo.svg +0 -15
  31. package/dist/src/components/atoms/Logo/svg/legalfinity-white-logo.svg +0 -15
  32. package/dist/src/components/atoms/PlanCard/PlanCard.d.ts +0 -3
  33. package/dist/src/components/atoms/PlanCard/PlanCard.js +0 -6
  34. package/dist/src/components/atoms/PlanCard/PlanCard.styled.d.ts +0 -8
  35. package/dist/src/components/atoms/PlanCard/PlanCard.styled.js +0 -75
  36. package/dist/src/components/atoms/PlanCard/PlanCard.styled.ts +0 -83
  37. package/dist/src/components/atoms/PlanCard/PlanCard.tsx +0 -42
  38. package/dist/src/components/atoms/PlanCard/PlanCardProps.d.ts +0 -23
  39. package/dist/src/components/atoms/PlanCard/PlanCardProps.js +0 -1
  40. package/dist/src/components/atoms/PlanCard/PlanCardProps.ts +0 -26
  41. package/dist/src/components/atoms/PlanCard/index.d.ts +0 -2
  42. package/dist/src/components/atoms/PlanCard/index.js +0 -2
  43. package/dist/src/components/atoms/PlanCard/index.ts +0 -2
  44. package/dist/src/components/organisms/PricingPageHeader/PricingPageHeader.d.ts +0 -3
  45. package/dist/src/components/organisms/PricingPageHeader/PricingPageHeader.js +0 -7
  46. package/dist/src/components/organisms/PricingPageHeader/PricingPageHeader.styled.d.ts +0 -3
  47. package/dist/src/components/organisms/PricingPageHeader/PricingPageHeader.styled.js +0 -34
  48. package/dist/src/components/organisms/PricingPageHeader/PricingPageHeader.styled.tsx +0 -37
  49. package/dist/src/components/organisms/PricingPageHeader/PricingPageHeader.tsx +0 -21
  50. package/dist/src/components/organisms/PricingPageHeader/PricingPageHeaderProps.d.ts +0 -4
  51. package/dist/src/components/organisms/PricingPageHeader/PricingPageHeaderProps.js +0 -1
  52. package/dist/src/components/organisms/PricingPageHeader/PricingPageHeaderProps.ts +0 -4
  53. package/dist/src/components/organisms/PricingPageHeader/index.d.ts +0 -2
  54. package/dist/src/components/organisms/PricingPageHeader/index.js +0 -2
  55. package/dist/src/components/organisms/PricingPageHeader/index.ts +0 -2
  56. package/dist/src/components/pages/PricingPlansPage/PricingPlansPage.d.ts +0 -3
  57. package/dist/src/components/pages/PricingPlansPage/PricingPlansPage.js +0 -9
  58. package/dist/src/components/pages/PricingPlansPage/PricingPlansPage.styled.d.ts +0 -16
  59. package/dist/src/components/pages/PricingPlansPage/PricingPlansPage.styled.js +0 -87
  60. package/dist/src/components/pages/PricingPlansPage/PricingPlansPage.styled.ts +0 -106
  61. package/dist/src/components/pages/PricingPlansPage/PricingPlansPage.tsx +0 -68
  62. package/dist/src/components/pages/PricingPlansPage/PricingPlansPageProps.d.ts +0 -9
  63. package/dist/src/components/pages/PricingPlansPage/PricingPlansPageProps.js +0 -1
  64. package/dist/src/components/pages/PricingPlansPage/PricingPlansPageProps.ts +0 -10
  65. package/dist/src/components/pages/PricingPlansPage/index.d.ts +0 -2
  66. package/dist/src/components/pages/PricingPlansPage/index.js +0 -2
  67. package/dist/src/components/pages/PricingPlansPage/index.ts +0 -2
@@ -1,68 +0,0 @@
1
- import { FeatureItem, PlanCard } from '../../atoms'
2
- import {
3
- FeaturesGrid,
4
- FeaturesSection,
5
- PlanSelector,
6
- PlanWrapper,
7
- PlansWrapper,
8
- PricingContainerStyled,
9
- SelectorButton
10
- } from './PricingPlansPage.styled'
11
- import { PricingPageHeader } from '../../organisms'
12
- import { PricingPlansPageProps } from './PricingPlansPageProps'
13
- import React from 'react'
14
-
15
- export const PricingPlansPage: React.FC<PricingPlansPageProps> = ({
16
- subscriptionPlans,
17
- features,
18
- onPlanSelect,
19
- headerDivider,
20
- siteName = 'Legalfinity',
21
- phoneNumber
22
- }) => {
23
- const [activePlanIndex, setActivePlanIndex] = React.useState(0)
24
-
25
- return (
26
- <>
27
- <PricingPageHeader siteName={siteName} phoneNumber={phoneNumber} />
28
- {headerDivider}
29
- {subscriptionPlans?.length > 0 && (
30
- <PricingContainerStyled>
31
- <PlanSelector>
32
- {subscriptionPlans.map((plan, index) => (
33
- <SelectorButton
34
- key={`selector-${plan?.pricingLabel}`}
35
- isActive={index === activePlanIndex}
36
- onClick={() => setActivePlanIndex(index)}
37
- dataQa={`selector-${plan.subscription_type?.name.replaceAll(' ', '')}`}
38
- >
39
- {plan?.subscription_type?.name}
40
- </SelectorButton>
41
- ))}
42
- </PlanSelector>
43
- <PlansWrapper>
44
- {subscriptionPlans.map((plan, index) => (
45
- <PlanWrapper
46
- key={plan.pricingLabel}
47
- isHighlighted={plan.highlightPlan}
48
- isActive={index === activePlanIndex}
49
- className={`pricing-plan__element-container ${plan?.highlightPlan ? 'highlight' : ''} ${index === activePlanIndex ? 'active' : ''}`}
50
- >
51
- <PlanCard onSelect={onPlanSelect ?? (() => {})} plan={plan} />
52
- </PlanWrapper>
53
- ))}
54
- </PlansWrapper>
55
- {features && features.length > 0 && (
56
- <FeaturesSection>
57
- <FeaturesGrid>
58
- {features.map((feature) => (
59
- <FeatureItem feature={feature} key={feature.description} />
60
- ))}
61
- </FeaturesGrid>
62
- </FeaturesSection>
63
- )}
64
- </PricingContainerStyled>
65
- )}
66
- </>
67
- )
68
- }
@@ -1,9 +0,0 @@
1
- import { FeatureItemProp, SubscriptionPlan } from '../../atoms';
2
- export interface PricingPlansPageProps {
3
- subscriptionPlans: SubscriptionPlan[];
4
- features?: FeatureItemProp[];
5
- onPlanSelect?: (sku: string) => void;
6
- headerDivider?: React.ReactNode;
7
- siteName?: string;
8
- phoneNumber?: string;
9
- }
@@ -1,10 +0,0 @@
1
- import { FeatureItemProp, SubscriptionPlan } from '../../atoms'
2
-
3
- export interface PricingPlansPageProps {
4
- subscriptionPlans: SubscriptionPlan[]
5
- features?: FeatureItemProp[]
6
- onPlanSelect?: (sku: string) => void
7
- headerDivider?: React.ReactNode
8
- siteName?: string
9
- phoneNumber?: string
10
- }
@@ -1,2 +0,0 @@
1
- export * from './PricingPlansPage';
2
- export * from './PricingPlansPageProps';
@@ -1,2 +0,0 @@
1
- export * from './PricingPlansPage';
2
- export * from './PricingPlansPageProps';
@@ -1,2 +0,0 @@
1
- export * from './PricingPlansPage'
2
- export * from './PricingPlansPageProps'