@redocly/marketing-pages 0.1.42 → 0.1.43

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.
@@ -1,6 +1,6 @@
1
- import e from"react";import t from"styled-components";import D from"dayjs";import{Product as z}from"../../pricing/types/types";function o(r){return r%1===0?Math.floor(r).toLocaleString("en-US"):r.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}const Y=({orgName:r,clientName:h,coreProducts:n,plan:u,numOfPages:y,numOfSeats:E,pagesPrice:g,projectsPrice:f,seatsPrice:a,projectsNumber:v,period:i})=>{const w=(n.length===2?2*a:a)+g+f,b=()=>n.length===3?`<span>${z.REALM}</span>`:n.length===2?`<span>${n[0]}</span>
1
+ import e from"react";import t from"styled-components";import D from"dayjs";import{Product as z}from"../../pricing/types/types";function i(l){return l%1===0?Math.floor(l).toLocaleString("en-US"):l.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}const Y=({orgName:l,clientName:h,coreProducts:r,plan:u,numOfPages:y,numOfSeats:E,pagesPrice:s,projectsPrice:g,seatsPrice:d,projectsNumber:v,period:a})=>{const w=d+s+g,b=()=>r.length===3?`<span>${z.REALM}</span>`:r.length===2?`<span>${r[0]}</span>
2
2
  <span style="font-weight: 400;">and</span>
3
- <span>${n[1]}</span>`:`<span>${n[0]}</span>`;return e.createElement(R,null,e.createElement(S,null,e.createElement(H,null,e.createElement(T,null,"Price Estimate"),e.createElement($,null,"Generated on: ",e.createElement("span",null,D().format("MMM D, YYYY")))),e.createElement(L,null,e.createElement("p",null,"Created for"),e.createElement("p",null,r),e.createElement("p",null,h))),e.createElement(C,null,e.createElement(x,null,e.createElement("p",null,"Products"),e.createElement(c,null)),e.createElement(m,null,e.createElement("div",null,e.createElement("p",null,e.createElement(l,{dangerouslySetInnerHTML:{__html:`<span>${u} plan: ${b()}</span>`}}),e.createElement(s,null,"x",E," seats"))),e.createElement("div",{style:{height:"24px"}},e.createElement("p",{style:{height:"24px"}},e.createElement(l,{style:{height:"24px"}},"$",o(n.length===2?2*a:a)),e.createElement(p,{style:{height:"22px"}},"/",i.toLowerCase())))),e.createElement(m,null,e.createElement("div",null,e.createElement("p",null,e.createElement(l,null,"Projects"),e.createElement(s,null,"x",v))),e.createElement("div",{style:{height:"24px"}},e.createElement("p",null,e.createElement(l,null,"$",o(f)),e.createElement(p,null,"/",i.toLowerCase())))),e.createElement(x,null,e.createElement("p",null,"Estimated usage"),e.createElement(c,null)),e.createElement(m,null,e.createElement("div",null,e.createElement("p",null,e.createElement(l,null,"Pages"),e.createElement(s,null,"x",y))),e.createElement("div",{style:{height:"24px"}},e.createElement("p",null,e.createElement(l,null,"$",o(g)),e.createElement(p,null,"/",i.toLowerCase())))),e.createElement(d,{style:{alignItems:"center",marginTop:"28px",marginBottom:"40px"}},e.createElement(c,null),e.createElement(j,null,e.createElement("p",null,"Total"),e.createElement("p",{style:{height:"24px"}},e.createElement(l,null,"$",o(w)," "),e.createElement(p,null,"/",i.toLowerCase())))),e.createElement(d,{style:{marginBottom:"82.47px"}},e.createElement("div",null,e.createElement("img",{src:require("../images/logo.svg")}),e.createElement("p",null,"team@redocly.com")),e.createElement(B,null,e.createElement("p",null,"Notes"),e.createElement("p",null,"Entitlements are described at"," ",e.createElement("a",{href:"https://redocly.com/pricing"},"redocly.com/pricing")," and are subject to the terms of the Redocly Subscription Agreement:"," ",e.createElement("a",{href:"https://redocly.com/subscription-agreement"},"redocly.com/subscription-agreement"),".",e.createElement("br",null),e.createElement("br",null),"This estimate is non-binding and intended for informational purposes only.\xA0Pricing excludes any applicable taxes. ",e.createElement("br",null),e.createElement("br",null),"All prices in USD.")))))},R=t.div`
3
+ <span>${r[1]}</span>`:`<span>${r[0]}</span>`;return e.createElement(R,null,e.createElement(S,null,e.createElement(H,null,e.createElement(T,null,"Price Estimate"),e.createElement($,null,"Generated on: ",e.createElement("span",null,D().format("MMM D, YYYY")))),e.createElement(L,null,e.createElement("p",null,"Created for"),e.createElement("p",null,l),e.createElement("p",null,h))),e.createElement(C,null,e.createElement(f,null,e.createElement("p",null,"Products"),e.createElement(p,null)),e.createElement(c,null,e.createElement("div",null,e.createElement("p",null,e.createElement(n,{dangerouslySetInnerHTML:{__html:`<span>${u} plan: ${b()}</span>`}}),e.createElement(m,null,"x",E," seats"))),e.createElement("div",{style:{height:"24px"}},e.createElement("p",{style:{height:"24px"}},e.createElement(n,{style:{height:"24px"}},"$",i(d)),e.createElement(o,{style:{height:"22px"}},"/",a.toLowerCase())))),e.createElement(c,null,e.createElement("div",null,e.createElement("p",null,e.createElement(n,null,"Projects"),e.createElement(m,null,"x",v))),e.createElement("div",{style:{height:"24px"}},e.createElement("p",null,e.createElement(n,null,"$",i(g)),e.createElement(o,null,"/",a.toLowerCase())))),e.createElement(f,null,e.createElement("p",null,"Estimated usage"),e.createElement(p,null)),e.createElement(c,null,e.createElement("div",null,e.createElement("p",null,e.createElement(n,null,"Pages"),e.createElement(m,null,"x",y))),e.createElement("div",{style:{height:"24px"}},e.createElement("p",null,e.createElement(n,null,"$",i(s)),e.createElement(o,null,"/",a.toLowerCase())))),e.createElement(x,{style:{alignItems:"center",marginTop:"28px",marginBottom:"40px"}},e.createElement(p,null),e.createElement(j,null,e.createElement("p",null,"Total"),e.createElement("p",{style:{height:"24px"}},e.createElement(n,null,"$",i(w)," "),e.createElement(o,null,"/",a.toLowerCase())))),e.createElement(x,{style:{marginBottom:"82.47px"}},e.createElement("div",null,e.createElement("img",{src:require("../images/logo.svg")}),e.createElement("p",null,"team@redocly.com")),e.createElement(B,null,e.createElement("p",null,"Notes"),e.createElement("p",null,"Entitlements are described at"," ",e.createElement("a",{href:"https://redocly.com/pricing"},"redocly.com/pricing")," and are subject to the terms of the Redocly Subscription Agreement:"," ",e.createElement("a",{href:"https://redocly.com/subscription-agreement"},"redocly.com/subscription-agreement"),".",e.createElement("br",null),e.createElement("br",null),"This estimate is non-binding and intended for informational purposes only.\xA0Pricing excludes any applicable taxes. ",e.createElement("br",null),e.createElement("br",null),"All prices in USD.")))))},R=t.div`
4
4
  padding: 8px;
5
5
  width: 100%;
6
6
  width: 595px;
@@ -70,7 +70,7 @@ import e from"react";import t from"styled-components";import D from"dayjs";impor
70
70
  }
71
71
  `,C=t.div`
72
72
  padding: 4px 24px 40px 24px;
73
- `,x=t.div`
73
+ `,f=t.div`
74
74
  display: flex;
75
75
  gap: 8px;
76
76
  align-items: center;
@@ -86,18 +86,18 @@ import e from"react";import t from"styled-components";import D from"dayjs";impor
86
86
  margin: 0;
87
87
  white-space: nowrap;
88
88
  }
89
- `,c=t.div`
89
+ `,p=t.div`
90
90
  height: 1px;
91
91
  width: 100%;
92
92
  background-color: var(--border-color-secondary);
93
- `,l=t.span`
93
+ `,n=t.span`
94
94
  color: var(--text-color-primary);
95
95
  font-family: 'Red Hat Display';
96
96
  font-size: 14px;
97
97
  font-weight: 700;
98
98
  line-height: 24px;
99
99
  margin: 0;
100
- `,m=t.div`
100
+ `,c=t.div`
101
101
  display: grid;
102
102
  grid-template-columns: 1.6fr 1.4fr;
103
103
  margin-bottom: 16px;
@@ -116,21 +116,21 @@ import e from"react";import t from"styled-components";import D from"dayjs";impor
116
116
  div:last-of-type {
117
117
  justify-content: end;
118
118
  }
119
- `,s=t.span`
119
+ `,m=t.span`
120
120
  color: var(--text-color-secondary);
121
121
  font-family: 'Red Hat Display';
122
122
  font-size: 14px;
123
123
  font-weight: 500;
124
124
  line-height: 24px;
125
125
  margin: 0;
126
- `,p=t.span`
126
+ `,o=t.span`
127
127
  color: var(--text-color-primary);
128
128
  font-family: 'Red Hat Display';
129
129
  font-size: 12px;
130
130
  font-weight: 400;
131
131
  line-height: 22px;
132
132
  margin: 0;
133
- `,d=t.div`
133
+ `,x=t.div`
134
134
  display: grid;
135
135
  grid-template-columns: 1.2fr 1.8fr;
136
136
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/marketing-pages",
3
- "version": "0.1.42",
3
+ "version": "0.1.43",
4
4
  "keywords": [],
5
5
  "author": "",
6
6
  "license": "UNLICENSED",