@redocly/marketing-pages 0.1.10 → 0.1.11

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 (47) hide show
  1. package/dist/components/LayoutButtons/ProductButtons.js +5 -5
  2. package/dist/pages/customers/components/CustomersBlock.js +1 -0
  3. package/dist/pages/respect/components/ChooseRespect.js +1 -1
  4. package/dist/pages/respect-cli/components/BottomSection.js +11 -56
  5. package/dist/pages/respect-cli/components/HowItWorksSection.js +3 -3
  6. package/dist/pages/respect-cli/components/MonitoringAsServiceSection.js +25 -4
  7. package/dist/pages/respect-cli/components/QuickInstallationSection.js +15 -15
  8. package/dist/pages/respect-cli/images/monitoring-as-service-img.svg +67 -67
  9. package/package.json +1 -1
  10. package/dist/components/Footer/Footer.d.ts +0 -5
  11. package/dist/components/Footer/Footer.js +0 -46
  12. package/dist/components/Footer/FooterColumn.d.ts +0 -11
  13. package/dist/components/Footer/FooterColumn.js +0 -113
  14. package/dist/components/Footer/FooterColumns.d.ts +0 -10
  15. package/dist/components/Footer/FooterColumns.js +0 -34
  16. package/dist/components/Footer/FooterCopyright.d.ts +0 -6
  17. package/dist/components/Footer/FooterCopyright.js +0 -17
  18. package/dist/components/Menu/MainMenu.d.ts +0 -5
  19. package/dist/components/Menu/MainMenu.js +0 -76
  20. package/dist/components/Menu/MenuItem.d.ts +0 -3
  21. package/dist/components/Menu/MenuItem.js +0 -170
  22. package/dist/components/Menu/MenuMobile.d.ts +0 -5
  23. package/dist/components/Menu/MenuMobile.js +0 -77
  24. package/dist/components/Menu/ProductsMenu.d.ts +0 -9
  25. package/dist/components/Menu/ProductsMenu.js +0 -154
  26. package/dist/components/Navbar/Navbar.d.ts +0 -5
  27. package/dist/components/Navbar/Navbar.js +0 -168
  28. package/dist/components/Navbar/NavbarItem.d.ts +0 -9
  29. package/dist/components/Navbar/NavbarItem.js +0 -266
  30. package/dist/components/Navbar/NavbarMenu.d.ts +0 -5
  31. package/dist/components/Navbar/NavbarMenu.js +0 -29
  32. package/dist/components/Navbar/images/eclipse.svg +0 -16
  33. package/dist/components/Navbar/images/open-source-icon.svg +0 -3
  34. package/dist/images/redockers/pat-headshot.png +0 -0
  35. package/dist/pages/about/images/redockers/Pat-headshot.png +0 -0
  36. package/dist/pages/careers/positions.d.ts +0 -14
  37. package/dist/pages/careers/positions.js +0 -23
  38. package/dist/pages/learning-center/images/api-governance-thumbnail.svg +0 -9
  39. package/dist/pages/learning-center/images/api-security-thumbnail.svg +0 -9
  40. package/dist/pages/learning-center/images/api-testing-thumbnail.svg +0 -9
  41. package/dist/pages/learning-center/images/arazzo-thumbnail.svg +0 -14
  42. package/dist/pages/learning-center/images/graphql-thumbnail.svg +0 -9
  43. package/dist/pages/learning-center/images/markdoc-thumbnail.svg +0 -9
  44. package/dist/pages/learning-center/images/open-api-thumbnail.svg +0 -9
  45. package/dist/pages/learning-center/images/yaml-thumbnail.svg +0 -9
  46. package/dist/styled/quotationMarkStyle.d.ts +0 -1
  47. package/dist/styled/quotationMarkStyle.js +0 -14
@@ -1,154 +0,0 @@
1
- import o from"styled-components";import t from"react";import{MenuItem as c}from"@redocly/theme/components/Menu/MenuItem";import{FooterBlock as g,StyledLogInButton as u,StyledSignUpButton as x}from"./MainMenu";function b({depth:r=0,items:a,className:l,isMobile:n}){const i=a.find(({active:e})=>e),d=["Build your API with","Combo of Redoc, Revel, and Reef","External developer showcase","API reference and mock server","Internal service catalog","API monitoring"];for(let e=0;e<d.length;e++)a[e+1].sublabel=d[e];const s=f(a),m=h(a);return t.createElement(M,{className:l,"data-component-name":"Menu/ProductsMenu"},t.createElement("div",null,s.map((e,p)=>e.label==="Reunite"&&e.type!=="separator"?t.createElement($,{item:e,key:`${e.link||e.label}-${p}`,activeItem:i,isMobile:n,depth:r}):t.createElement(t.Fragment,null,e.type!=="separator"&&t.createElement(t.Fragment,null,t.createElement(c,{item:e,key:`${e.link||e.label}-${p}`,activeItem:i,isMobile:n,depth:r}),t.createElement(I,null)))),m&&t.createElement(w,null,t.createElement(E,null,t.createElement("img",{src:require("../Navbar/images/open-source-icon.svg")}),t.createElement(k,null,"Open source tools")),t.createElement("div",{style:{backgroundColor:"var(--border-color-primary)",height:"1px"}}),t.createElement(y,null,m.map((e,p)=>t.createElement(v,{item:e,key:`${e.link||e.label}-${p}`,activeItem:i,isMobile:n,depth:r,isLast:p===m.length-2}))))),t.createElement(g,null,t.createElement(x,{to:"https://auth.cloud.redocly.com/registration",className:"landing-button"},"Start 30-day free trial"),t.createElement(u,{to:"https://auth.cloud.redocly.com/login",className:"landing-button"},"Log In")))}const f=r=>{const a=r.map((i,d)=>i.type==="separator"?d:null).filter(i=>i!==null);if(a.length<2)return[];const l=a[0],n=a[a.length-1];return r.slice(l+1,n)},h=r=>{const a=r.map((n,i)=>n.type==="separator"?i:null).filter(n=>n!==null);if(a.length<2)return[];const l=a[a.length-1];return r.slice(l+1,r.length)},v=o(c)`
2
- margin: 0 !important;
3
- border-bottom: 1px solid var(--border-color-primary);
4
- border-radius: 0 !important;
5
-
6
- a {
7
- margin: 8px 0 !important;
8
- padding: 0 !important;
9
- border-radius: 0 !important;
10
- border-left: ${({isLast:r})=>r&&"1px solid var(--border-color-primary)"};
11
- li div span span {
12
- padding-left: ${({isLast:r})=>r&&"16px"};
13
- }
14
- }
15
-
16
- &:last-child {
17
- border-bottom: none;
18
-
19
- a {
20
- margin: 8px 0 0 0 !important;
21
- }
22
- }
23
- `,y=o.div`
24
- display: grid;
25
- grid-template-columns: repeat(2, 1fr);
26
- `,k=o.p`
27
- color: var(--text-color-secondary);
28
-
29
- font-family: Inter;
30
- font-size: 12px;
31
- font-weight: 400;
32
- line-height: 20px;
33
-
34
- margin: 0;
35
- `,E=o.div`
36
- display: flex;
37
- align-items: center;
38
- gap: 8px;
39
-
40
- margin-bottom: 8px;
41
- `,w=o.div`
42
- display: flex;
43
- padding: 8px 16px;
44
- flex-direction: column;
45
-
46
- border-radius: 4px;
47
- background: var(--bg-color-active);
48
-
49
- margin: 8px 12px 8px 12px;
50
- `,I=o.div`
51
- height: 1px;
52
- background-color: var(--border-color-secondary);
53
- margin: 0 12px;
54
- `,$=o(c)`
55
- padding: 16px 16px 18px 16px !important;
56
- border-bottom: 0 !important;
57
- background-image: url(${require("../Navbar/images/eclipse.svg")});
58
- background-size: cover;
59
- margin-top: 8px !important;
60
- -webkit-text-fill-color: initial;
61
-
62
- a {
63
- padding: 0 !important;
64
- :active {
65
- background-color: transparent !important;
66
- }
67
- }
68
-
69
- img {
70
- width: 20px;
71
- height: 20px;
72
- border-radius: 0;
73
- }
74
-
75
- li {
76
- background-color: transparent !important;
77
- div a {
78
- width: auto !important;
79
- }
80
- }
81
- `,M=o.ul`
82
- padding: var(--menu-padding);
83
- margin: var(--menu-margin);
84
- list-style: var(--menu-list-style);
85
- color: var(--menu-content-color);
86
- position: relative;
87
- display: flex;
88
- flex-direction: column;
89
- justify-content: space-between;
90
-
91
- img {
92
- width: 24px;
93
- height: 24px;
94
- border-radius: 0;
95
- }
96
-
97
- .menu-item-type-separator {
98
- padding: 8px 12px 0;
99
- color: var(--text-color-description);
100
- font-family: Inter;
101
- font-size: 12px;
102
- font-weight: 400;
103
- line-height: 20px;
104
-
105
- li {
106
- background-color: transparent;
107
- margin: 0;
108
- padding: 0;
109
- }
110
- }
111
-
112
- .menu-item-type-default {
113
- display: flex;
114
- flex-direction: column;
115
- align-items: flex-start;
116
- gap: 2px;
117
- align-self: stretch;
118
- border-radius: 4px;
119
- margin: 8px 12px;
120
- padding: 0;
121
-
122
- a {
123
- width: 100%;
124
- padding: 4px 16px;
125
- border-radius: 4px;
126
-
127
- :active {
128
- background-color: var(--menu-item-bg-color-active);
129
- }
130
-
131
- li {
132
- margin: 0;
133
- padding: 0;
134
- align-items: flex-start;
135
- background-color: transparent !important;
136
-
137
- div {
138
- span {
139
- overflow: hidden;
140
- color: var(--text-color-primary);
141
- text-overflow: ellipsis;
142
- font-family: 'Red Hat Display';
143
- font-size: 16px;
144
- font-weight: 600;
145
- line-height: 20px;
146
- }
147
- div {
148
- margin: 0;
149
- }
150
- }
151
- }
152
- }
153
- }
154
- `;export{b as ProductsMenu};
@@ -1,5 +0,0 @@
1
- export type NavbarProps = {
2
- className?: string;
3
- };
4
- export declare function Navbar({ className }: NavbarProps): JSX.Element | null;
5
- export declare const NavbarRow: any;
@@ -1,168 +0,0 @@
1
- import e from"react";import t,{css as I}from"styled-components";import{useLocation as z}from"react-router-dom";import{breakpoints as o}from"@redocly/theme/core/utils";import{useThemeHooks as B,useThemeConfig as T,useMobileMenu as D}from"@redocly/theme/core/hooks";import{NavbarLogo as O}from"@redocly/theme/components/Navbar/NavbarLogo";import{NavbarMenu as R}from"./NavbarMenu";import{MenuMobile as W}from"@redocly/theme/components/Menu/MenuMobile";import{ColorModeSwitcher as Y}from"@redocly/theme/components/ColorModeSwitcher/ColorModeSwitcher";import{LanguagePicker as P}from"@redocly/theme/components/LanguagePicker/LanguagePicker";import{ProductPicker as _}from"@redocly/theme/components/Product/ProductPicker";import{Button as s}from"@redocly/theme/components/Button/Button";import{MenuIcon as j}from"@redocly/theme/icons/MenuIcon/MenuIcon";import{CloseIcon as q}from"@redocly/theme/icons/CloseIcon/CloseIcon";import{Search as F}from"@redocly/theme/components/Search/Search";import{useLocalStorage as H}from"../../hooks/useLocalStorage";import{TextSmall as A}from"../TypographyElements/TypographyElements";import{Box as g}from"../../ui/Box";function G({className:a}){const{isOpen:r,openMobileMenu:m,closeMobileMenu:d}=D(!1),i=T(),{useI18n:w}=B(),{changeLanguage:y}=w(),f=i.logo,{navbar:k}=i,$=["/","/reunite","/contact-us","/reef"],S=["/","/reunite","/contact-us","/reef","/revel","/pro","/enterprise","/enterprise-plus","/pricing","/realm","/redoc"],{pathname:n}=z(),h=n?.startsWith("/redocly-cli"),l=n?.includes("/docs")||n?.startsWith("/learn/");e.useEffect(()=>{!l&&!n?.startsWith("/learn")?document.documentElement.classList.replace("dark","light"):document.documentElement.classList.replace("light",localStorage.getItem("colorSchema")||"light")},[l,n?.startsWith("/learn")]);const v=i.navbar?.items,[C,M]=e.useState(!0),[c,L]=e.useState(0),p=N=>{const u=window.pageYOffset,V=N>u||u<=20;M(V),L(u)};return e.useEffect(()=>{p(window.pageYOffset+1)},[]),e.useEffect(()=>(window.addEventListener("scroll",()=>p(c)),()=>{window.removeEventListener("scroll",()=>p(c))}),[c]),k?.hide?null:e.createElement(oe,{"data-component-name":"Navbar/Navbar",className:a,isVisible:C,isTop:c===0,isColorful:$.includes(n),isDefault:S.includes(n),isDocs:l,showVSCodeExtensionBanner:h,isMobile:r,isRespect:n==="/respect"},h&&e.createElement(J,null),r&&e.createElement(W,null),e.createElement(b,null,e.createElement(Q,null,f&&e.createElement(O,{config:f}),e.createElement(_,null),v&&e.createElement(R,{menuItems:v})),e.createElement(K,null,e.createElement(P,{onChangeLanguage:y,onlyIcon:!0,alignment:"end"}),e.createElement(ne,{isVisible:l||n?.startsWith("/learn"),isMobileOpen:r},e.createElement(Y,null)),e.createElement(X,{variant:"text","data-cy":"mobile-menu-button",onClick:r?d:m,icon:r?e.createElement(q,null):e.createElement(j,null)}),l&&e.createElement(E,null,e.createElement(U,null,e.createElement(F,null))),e.createElement(E,null,e.createElement(te,{to:"https://auth.cloud.redocly.com/login",className:"landing-button"},"Log In"),e.createElement(x,{to:"https://auth.cloud.redocly.com/registration",className:"landing-button"},"Start 30-day free trial")))))}const J=()=>{const[a,r]=H("vsCodeExtensionBanner",!0);return a===!1?e.createElement(e.Fragment,null):e.createElement(ae,null,e.createElement(g,{alignItems:"center"},e.createElement(A,{color:"var(--secondary-color)"},"Open source strikes again! Check out our VS Code extension"),e.createElement(ie,null,"New")),e.createElement(g,{marginLeft:"auto",display:"flex",alignItems:"center"},e.createElement(Z,{to:"https://marketplace.visualstudio.com/items?itemName=Redocly.openapi-vs-code",target:"_blank",variant:"outlined",size:"large"},"Install"),e.createElement(ee,{to:"https://github.com/Redocly/redocly-vs-code",variant:"text",target:"_blank",size:"medium"},"Learn more"),e.createElement(re,{onClick:()=>r(!1),variant:"text",target:"_blank"})))},K=t.div`
2
- display: flex;
3
- align-items: center;
4
- flex-direction: row;
5
- `,Q=t.div`
6
- display: flex;
7
- align-items: center;
8
- flex-direction: row;
9
- gap: 40px;
10
- `,U=t.div`
11
- margin: 0;
12
- padding: 0 10px;
13
- [data-component-name='Search/SearchTrigger'] {
14
- div {
15
- padding: 4px 12px;
16
- width: 100%;
17
- justify-content: start;
18
- cursor: pointer;
19
- color: var(--search-trigger-color);
20
- user-select: none;
21
- background-color: var(--search-trigger-bg-color);
22
- }
23
- }
24
- `,X=t(s)`
25
- margin-left: 0px !important;
26
-
27
- @media screen and (min-width: ${o.medium}) {
28
- display: none;
29
- }
30
- `,Z=t(s)`
31
- :hover {
32
- background: rgba(255, 255, 255, 0.05);
33
- }
34
- `,ee=t(s)`
35
- color: var(--secondary-color);
36
-
37
- :hover {
38
- color: var(--secondary-color);
39
- background: rgba(255, 255, 255, 0.05);
40
- }
41
- `,ae=t(g)`
42
- background-color: #a28dff;
43
- align-items: center;
44
- color: white;
45
- padding: 10px 20px;
46
- display: none;
47
- width: 100%;
48
- max-height: 60px;
49
-
50
- @media screen and (min-width: ${o.large}) {
51
- display: flex;
52
- }
53
- `,re=t(s)`
54
- background-image: url(${require("../../../images/icons/close.svg")});
55
- background-size: contain;
56
- background-repeat: no-repeat;
57
- height: 20px;
58
- width: 20px;
59
- position: relative;
60
- padding: 5px;
61
- min-width: auto;
62
- `,x=t(s)`
63
- padding: 4px 12px;
64
- border-radius: 6px;
65
- border: 1px solid var(--color-warm-grey-10);
66
- height: 32px;
67
- font-family: var(--navbar-font-family);
68
- font-size: 14px !important;
69
- font-weight: 500;
70
- line-height: 24px;
71
- color: var(--bg-color) !important;
72
- background-color: var(--text-color-primary);
73
-
74
- &:hover {
75
- background-color: var(--text-color-primary);
76
- }
77
- `,te=t(x)`
78
- color: var(--color-warm-grey-8) !important;
79
- background-color: transparent;
80
- border: none;
81
-
82
- &:hover {
83
- background-color: transparent;
84
- }
85
- `,E=t.div`
86
- display: none;
87
- gap: 12px;
88
-
89
- @media screen and (min-width: ${o.medium}) {
90
- display: flex;
91
- }
92
- `,ne=t.div`
93
- display: ${({isMobileOpen:a,isVisible:r})=>r&&a?"block":"none"};
94
- margin-left: auto;
95
- margin-right: 10px;
96
-
97
- @media screen and (min-width: ${o.large}) {
98
- display: ${({isVisible:a})=>a?"block":"none"};
99
- margin: 0;
100
- }
101
- `,b=t.div`
102
- display: flex;
103
- align-items: center;
104
- justify-content: space-between;
105
- width: 100%;
106
-
107
- gap: var(--navbar-menu-items-gap);
108
- max-width: var(--navbar-container-max-width);
109
-
110
- @media screen and (min-width: ${o.large}) {
111
- margin: 0 auto;
112
- }
113
- `,oe=t.nav`
114
- transition:
115
- border-color 0.3s ease-in-out,
116
- background 0.3s ease-in-out,
117
- transform 0.3s ease-in-out;
118
-
119
- ${({isDocs:a})=>!a&&I`
120
- transform: ${r=>r.isVisible?"translateY(0)":"translateY(calc(var(--navbar-height) * -1))"};
121
- `};
122
- border-bottom: 1px solid transparent;
123
- width: 100vw;
124
- --text-color: var(--navbar-text-color);
125
- box-sizing: border-box;
126
- display: flex;
127
- align-items: center;
128
- flex-shrink: 0;
129
- height: var(--navbar-height);
130
- backdrop-filter: ${({isTop:a,isDefault:r})=>r&&(a?"none":"blur(6px)")};
131
-
132
- font-size: var(--navbar-font-size);
133
- position: sticky;
134
- top: 0;
135
- z-index: var(--z-index-raised);
136
- padding: 16px;
137
- background: ${({isTop:a,isColorful:r,isDefault:m,isMobile:d,isRespect:i})=>i?"var(--color-warm-grey-1)":!m||d?"var(--navbar-default-color)":a?"transparent":r?"var(--navbar-bg-color-colorful)":"var(--navbar-bg-color)"};
138
- font-family: var(--navbar-font-family);
139
-
140
- @media print {
141
- background: transparent;
142
- display: none;
143
- > :not(a, img) {
144
- display: none !important;
145
- }
146
- img {
147
- padding: 0;
148
- margin: 0;
149
- }
150
- }
151
-
152
- @media screen and (min-width: ${o.medium}) {
153
- padding: ${({showVSCodeExtensionBanner:a})=>a?"0":"var(--navbar-padding)"};
154
- border-bottom: ${({isTop:a,isDocs:r})=>(!a||r)&&"1px solid var(--color-warm-grey-3)"};
155
- flex-direction: ${({showVSCodeExtensionBanner:a})=>a&&"column"};
156
- height: ${({showVSCodeExtensionBanner:a})=>a&&"auto"};
157
-
158
- ${b} {
159
- padding: ${({showVSCodeExtensionBanner:a})=>a&&"0 40px"};
160
- }
161
- }
162
- `,ie=t.div`
163
- display: inline-block;
164
- background: linear-gradient(to bottom, #fb3d3d, #6a11cb);
165
- padding: 6px 14px;
166
- margin-left: 5px;
167
- border-radius: 23px;
168
- `;export{G as Navbar,b as NavbarRow};
@@ -1,9 +0,0 @@
1
- import type { ResolvedNavItem } from '@redocly/config';
2
- type NavbarItemProps = {
3
- navItem: ResolvedNavItem;
4
- className?: string;
5
- };
6
- export declare function NavbarItem({ navItem, className }: NavbarItemProps): JSX.Element | null;
7
- export declare const DropdownList: any;
8
- export declare const DropdownListItem: any;
9
- export {};
@@ -1,266 +0,0 @@
1
- import e from"react";import t,{css as O}from"styled-components";import{useLocation as q}from"react-router-dom";import{getPathnameForLocale as k,withPathPrefix as E}from"@redocly/theme/core/utils";import{useThemeHooks as H}from"@redocly/theme/core/hooks";import{LaunchIcon as A}from"@redocly/theme/icons/LaunchIcon/LaunchIcon";import{Link as v}from"@redocly/theme/components/Link/Link";import{Dropdown as K}from"@redocly/theme/components/Dropdown/Dropdown";function Z({navItem:a,className:c}){const{pathname:h}=q(),{useTranslate:P,useI18nConfig:_,useTelemetry:j}=H(),{translate:u}=P(),{defaultLocale:x,currentLocale:f,locales:b}=_(),w=j(),[R,T]=e.useState(!1);if(e.useEffect(()=>{T(window.ontouchstart!==void 0)},[]),a.link){const i=a,n=h===E(k(i.link,x,f,b));return e.createElement(I,{active:n,"data-component-name":"Navbar/NavbarItem",className:c,onClick:()=>w.send("navbar_menu_item_clicked",{type:"link"})},e.createElement(ie,{to:i.link,external:i.external,target:i.target,active:n},i.icon?e.createElement(N,{url:i.icon}):null,e.createElement(C,null,u(i.labelTranslationKey,i.label)),i.external?e.createElement(A,{size:"10px"}):null))}else if(a.items){const i=a,n=i.items,B=n.flatMap(r=>r.link?h===E(k(r?.link,x,f,b)):!1).includes(!0),y=["Collaborative editor suite","Combo of Redoc, Revel, and Reef","External developer showcase","API reference and mock server","Internal service catalog","API monitoring"],D=n.reduce((r,o,l)=>(o.type.startsWith("separator")?r.push({[o.label]:[]}):o.label==="Reunite"?r[r.length-1][Object.keys(r[r.length-1])[0]].push(e.createElement(G,{key:`${o.label}`,to:o.link},e.createElement(J,null,"Build your docs with"),e.createElement(Q,null,e.createElement(U,null,e.createElement(L,{src:o.icon}),e.createElement("p",null,o.label)),e.createElement("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"inherit",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"28",height:"28",rx:"14",fill:"inherit"}),e.createElement("path",{d:"M14.875 9.625L14.2494 10.2344L17.5656 13.5625H8.75V14.4375H17.5656L14.2494 17.7507L14.875 18.375L19.25 14L14.875 9.625Z",fill:"inherit"}))))):r[r.length-1][Object.keys(r[r.length-1])[0]].push(e.createElement(ae,{key:`${o.label}`,to:o.link},o.icon&&e.createElement(L,{src:o.icon}),e.createElement(X,null,o.label,y[l-1]&&e.createElement("span",null,y[l-1])))),r),[]),d=[],p=[];let m={};return D.map(r=>{Object.entries(r).map(([o,l])=>{o==="Products"?l.map((s,M)=>{M===0?m=s:d.push(s)}):l.map(s=>{p.push(s)})})}),e.createElement(oe,{trigger:e.createElement(I,{active:B,"data-component-name":"Navbar/NavbarItem",className:c,onClick:()=>w.send("navbar_menu_item_clicked",{type:"group"})},e.createElement(N,{url:i.icon}),e.createElement(C,null,u(i.labelTranslationKey,i.label)),e.createElement(z,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"16",height:"16",fill:"none",style:{mixBlendMode:"multiply"}}),e.createElement("path",{d:"M8 10.9998L3 5.9998L3.7 5.2998L8 9.5998L12.3 5.2998L13 5.9998L8 10.9998Z",fill:"#1C1C1C"}))),triggerEvent:R?"click":"hover"},e.createElement(Y,null,e.createElement(re,null,e.createElement(W,null,m&&e.createElement(ee,{style:{display:"flex"}},m),e.createElement($,null,d&&e.createElement(te,null,d.map((r,o)=>e.createElement(g,{key:o,product:`${r.key.toLowerCase()}`,isLast:o===d.length-1},r))),p&&e.createElement(V,null,e.createElement(S,null,e.createElement("img",{src:require("./images/open-source-icon.svg")}),"Open source tools:"),e.createElement(F,null,p.map((r,o)=>e.createElement("span",{key:o},r)))))))))}else return null}const F=t.div`
2
- display: flex;
3
- align-items: center;
4
- gap: 16px;
5
-
6
- a {
7
- color: var(--text-color-primary);
8
- font-family: Inter;
9
- font-size: 14px;
10
- font-weight: 500;
11
- line-height: 20px;
12
-
13
- :hover {
14
- text-decoration: underline;
15
- }
16
- }
17
- `,S=t.div`
18
- display: flex;
19
- align-items: center;
20
- gap: 8px;
21
-
22
- color: var(--text-color-description);
23
- font-family: Inter;
24
- font-size: 14px;
25
- font-weight: 400;
26
- line-height: 20px;
27
-
28
- margin: 0;
29
- `,V=t.div`
30
- display: flex;
31
- /* width: 500px; */
32
- padding: 8px 12px;
33
- align-items: center;
34
- gap: 16px;
35
- border-radius: 4px;
36
- background: var(--bg-open-source-tools);
37
-
38
- margin-top: 8px;
39
- `,W=t.div`
40
- display: flex;
41
- gap: 8px;
42
- `,G=t(v)`
43
- display: flex;
44
- border-radius: 4px;
45
- flex-direction: column;
46
-
47
- justify-content: space-between;
48
- width: inherit;
49
-
50
- &:hover {
51
- svg {
52
- transform: rotate(-45deg);
53
- transition: transform 0.3s ease-in-out;
54
- path {
55
- fill: var(--color-greyscale-90);
56
- }
57
- }
58
- }
59
- `,J=t.p`
60
- color: var(--text-color-primary);
61
- font-family: Inter;
62
- font-size: 14px;
63
- font-weight: 400;
64
- line-height: 22px;
65
-
66
- margin: 0;
67
- `,Q=t.div`
68
- display: flex;
69
- flex-direction: row;
70
- justify-content: space-between;
71
-
72
- & > svg {
73
- rect {
74
- fill: var(--color-ontonal);
75
- }
76
- path {
77
- fill: var(--color-arrow);
78
- }
79
- }
80
-
81
- a {
82
- section {
83
- background-color: var(--bg-color);
84
- }
85
- &:hover {
86
- section {
87
- background-color: var(--bg-color);
88
-
89
- svg {
90
- transform: rotate(-45deg);
91
- transition: transform 0.3s ease-in-out;
92
- path {
93
- fill: var(--color-greyscale-90);
94
- }
95
- }
96
- }
97
- }
98
- }
99
- `,U=t.div`
100
- display: flex;
101
- gap: 8px;
102
- align-items: center;
103
-
104
- p {
105
- color: var(--text-color-primary);
106
- font-family: 'Red Hat Display';
107
- font-size: 18px;
108
- font-weight: 600;
109
- line-height: 24px;
110
-
111
- margin: 0;
112
- }
113
- `,X=t.div`
114
- display: flex;
115
- flex-direction: column;
116
-
117
- color: var(--text-color-primary);
118
-
119
- span {
120
- color: var(--text-color-secondary);
121
- }
122
- `,L=t.img`
123
- height: 24px;
124
- width: 24px;
125
- `,Y=t.div`
126
- background-color: transparent;
127
- padding: 18px 0 0 0;
128
- position: relative;
129
- width: 200px;
130
- `,$=t.ul`
131
- list-style-type: none;
132
- padding: 0;
133
- z-index: 1;
134
- `,g=t.li`
135
- display: block;
136
- width: 100%;
137
- border: none;
138
- background: none;
139
- padding: 8px 12px;
140
- border-radius: var(--dropdown-list-item-border-radius);
141
- appearance: none;
142
- text-align: left;
143
- color: var(--text-color-primary);
144
- font-size: 14px;
145
- font-weight: 500;
146
-
147
- & > * {
148
- padding: var(--dropdown-list-item-padding-vertical) var(--dropdown-list-item-padding-horizontal);
149
- border-radius: var(--dropdown-list-item-border-radius);
150
- &:focus-visible {
151
- outline: 1px solid var(--dropdown-list-item-border-color-focused);
152
- }
153
- }
154
-
155
- :hover {
156
- background: ${({product:a,isLast:c})=>c?"var(--hover-last-navbar-color)":`var(--${a}-color-hover)`};
157
- }
158
- `,ee=t(g)`
159
- display: flex;
160
- width: 212px;
161
- background-image: url(${require("./images/eclipse.svg")});
162
- padding: 20px 20px 22px 20px;
163
-
164
- :hover {
165
- background-image: url(${require("./images/eclipse.svg")});
166
- }
167
- `,te=t.div`
168
- display: grid;
169
- grid-template-columns: repeat(2, 1fr);
170
- gap: 4px;
171
- `,re=t.div`
172
- && {
173
- position: absolute;
174
- top: 100%;
175
- bottom: auto;
176
- left: -150px;
177
- right: auto;
178
- margin: 0;
179
- min-width: var(--dropdown-list-min-width);
180
- max-width: var(--dropdown-list-max-width);
181
- max-height: var(--dropdown-list-max-height);
182
- padding: 8px;
183
- background-color: var(--dropdown-list-bg-color);
184
- border-radius: var(--dropdown-list-border-radius);
185
- box-shadow: var(--dropdown-list-box-shadow);
186
- border: 1px solid var(--dropdown-list-border-color);
187
- list-style-type: none;
188
- cursor: default;
189
- white-space: nowrap;
190
- overflow-x: hidden;
191
- overflow-y: auto;
192
- z-index: 2;
193
- }
194
-
195
- a {
196
- text-decoration: none;
197
- color: var(--dropdown-content-color-default);
198
- }
199
- `,ae=t(v)`
200
- display: flex;
201
- position: relative;
202
- line-height: 22px;
203
- flex-direction: row;
204
- gap: 8px;
205
-
206
- span {
207
- font-size: 12px !important;
208
- color: var(--color-warm-grey-7) !important;
209
- line-height: 20px;
210
- font-weight: 400;
211
- }
212
- `,z=t.svg`
213
- margin-left: 5px;
214
- transition: transform 0.6 ease-in-out;
215
- `,oe=t(K)`
216
- height: 32px;
217
-
218
- li {
219
- padding: 5px 10px 5px 12px;
220
- }
221
-
222
- &:hover {
223
- /* text-decoration: var(--navbar-item-text-decoration-hover);
224
- background: var(--navbar-item-bg-color-hover); */
225
-
226
- ${z} {
227
- transform: rotate(180deg);
228
- }
229
- }
230
- `,ie=t(v)`
231
- display: flex;
232
- align-items: center;
233
- color: ${({active:a})=>a?"var(--navbar-item-text-color-active)":"var(--navbar-text-color)"};
234
- text-decoration: ${({active:a})=>a?"var(--navbar-item-text-decoration-active)":"none"};
235
- `,I=t.li`
236
- display: flex;
237
- padding: 5px 12px;
238
- font-family: var(--navbar-font-family);
239
- text-align: center;
240
- align-items: center;
241
- line-height: var(--navbar-item-line-height);
242
- font-weight: var(--navbar-item-font-weight);
243
- font-size: var(--navbar-font-size);
244
- z-index: 1;
245
-
246
- border-radius: var(--navbar-item-border-radius);
247
- border-bottom: ${({active:a})=>a?"var(--navbar-item-bottom-border-active)":"var(--navbar-item-bottom-border)"};
248
-
249
- background-color: ${({active:a})=>a&&"var(--navbar-item-bg-color-active)"};
250
- color: ${({active:a})=>a?"var(--navbar-item-text-color-active)":"var(--navbar-text-color)"};
251
- `,C=t.span`
252
- cursor: pointer;
253
- vertical-align: middle;
254
- `,N=t.i`
255
- ${({url:a})=>a&&O`
256
- background-image: url('${a}');
257
- width: var(--navbar-item-icon-width);
258
- height: var(--navbar-item-icon-height);
259
- display: inline-block;
260
- background-size: contain;
261
- margin-right: var(--navbar-item-icon-margin-right);
262
- vertical-align: middle;
263
- background-position: center;
264
- background-repeat: no-repeat;
265
- `}
266
- `;export{$ as DropdownList,g as DropdownListItem,Z as NavbarItem};
@@ -1,5 +0,0 @@
1
- import type { ResolvedConfigLinks } from '@redocly/config';
2
- export declare function NavbarMenu({ menuItems, className, }: {
3
- menuItems: ResolvedConfigLinks;
4
- className?: string;
5
- }): JSX.Element | null;
@@ -1,29 +0,0 @@
1
- import a from"react";import i from"styled-components";import{NavbarItem as p}from"@redocly/theme/components/Navbar/NavbarItem";import{breakpoints as u}from"@redocly/theme/core/utils";function v({menuItems:l,className:m}){return a.useEffect(()=>{const t=document.querySelectorAll('[data-component-name="Navbar/NavbarItem"]'),e=document.getElementById("navigation-menu"),n=document.getElementById("nav-items-block");t.forEach(r=>{r.addEventListener("mouseover",()=>{if(n!==null&&e!==null){const o=r.getBoundingClientRect(),s=n?.getBoundingClientRect(),d=o.width,c=o.left-s.left;e.style.width=`${d}px`,e.style.transform=`translateX(${c}px)`,e.style.opacity="1"}})}),n?.addEventListener("mouseleave",()=>{e!==null&&(e.style.opacity="0")})},[]),a.createElement(y,{"data-component-name":"Navbar/NavbarMenu",className:m},a.createElement(b,{id:"nav-items-block"},a.createElement(f,{id:"navigation-menu"}),l.map((t,e)=>a.createElement(p,{key:`${t.label}_${e}`,"data-cy":t.label,navItem:t}))))}const f=i.div`
2
- position: absolute;
3
- left: 0;
4
- width: 40px;
5
- height: 32px;
6
- transition-duration: 250ms;
7
- transition-property: width, transform;
8
- transition-timing-function: ease;
9
- background-color: var(--navbar-item-bg-color-hover);
10
- border-radius: var(--navbar-item-border-radius);
11
- opacity: 0;
12
- `,b=i.div`
13
- position: relative;
14
- display: flex;
15
- flex-direction: row;
16
- flex-wrap: nowrap;
17
- align-items: center;
18
- gap: 2px;
19
- `,y=i.ul`
20
- list-style: none;
21
- padding: 0;
22
- display: none;
23
- flex-wrap: nowrap;
24
- align-items: center;
25
-
26
- @media screen and (min-width: ${u.medium}) {
27
- display: flex;
28
- }
29
- `;export{v as NavbarMenu};
@@ -1,16 +0,0 @@
1
- <svg width="212" height="168" viewBox="0 0 212 168" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g filter="url(#filter0_f_6303_26734)">
3
- <ellipse cx="151.877" cy="269.427" rx="151.877" ry="269.427" transform="matrix(-0.323485 -0.946233 0.978651 -0.205531 -32.2031 302.361)" fill="url(#paint0_linear_6303_26734)" fill-opacity="0.4"/>
4
- </g>
5
- <defs>
6
- <filter id="filter0_f_6303_26734" x="-285.918" y="-250.779" width="936.52" height="708.105" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
7
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
8
- <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
9
- <feGaussianBlur stdDeviation="100" result="effect1_foregroundBlur_6303_26734"/>
10
- </filter>
11
- <linearGradient id="paint0_linear_6303_26734" x1="151.877" y1="0" x2="151.877" y2="538.854" gradientUnits="userSpaceOnUse">
12
- <stop stop-color="#00C2FF" stop-opacity="0"/>
13
- <stop offset="1" stop-color="#6129FF"/>
14
- </linearGradient>
15
- </defs>
16
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M11.9658 1.99989C12.0166 2 12.0166 2 12.0686 2.0001C12.6176 2.00203 13.1525 2.03005 13.6936 2.12887C13.7288 2.13493 13.7639 2.14099 13.8001 2.14724C14.8314 2.32946 15.8062 2.69418 16.7308 3.18019C16.7586 3.19474 16.7865 3.20929 16.8152 3.22428C17.6386 3.65963 18.3609 4.24954 19.0281 4.89345C19.0648 4.92849 19.1014 4.96352 19.1391 4.99962C19.3678 5.22265 19.5707 5.46007 19.7679 5.71115C19.7987 5.74954 19.8296 5.78794 19.8613 5.8275C20.8838 7.12252 21.5081 8.61719 21.8316 10.2279C21.8423 10.28 21.8423 10.28 21.8531 10.3331C22.0588 11.3932 22.0456 12.6362 21.8316 13.6934C21.8191 13.7629 21.8067 13.8324 21.7942 13.9019C21.3654 16.171 20.0806 18.3471 18.2494 19.7677C18.2134 19.7969 18.1775 19.8262 18.1404 19.8564C17.4229 20.4298 16.1883 21.374 15.2276 21.3386C15.0695 21.3159 14.9889 21.2686 14.8618 21.1694C14.7351 20.9735 14.6591 20.7795 14.5904 20.5575C14.5798 20.5241 14.5692 20.4907 14.5582 20.4562C14.5228 20.3444 14.4879 20.2325 14.4529 20.1206C14.4276 20.0403 14.4023 19.96 14.3769 19.8797C14.3067 19.6572 14.237 19.4345 14.1673 19.2119C14.1205 19.0623 14.0736 18.9127 14.0267 18.7631C13.8934 18.3381 13.7601 17.9131 13.6278 17.4877C13.6197 17.4615 13.6115 17.4353 13.6031 17.4082C13.5362 17.1934 13.5362 17.1934 13.5055 17.0944C13.4113 16.7916 13.3162 16.4891 13.2194 16.187C13.1708 16.0354 13.1227 15.8837 13.0745 15.7319C13.0528 15.6638 13.0309 15.5959 13.0088 15.528C12.7449 14.7192 12.7449 14.7192 12.893 14.3845C13.0295 14.238 13.1819 14.1229 13.3432 14.0049C13.8536 13.63 14.2468 13.1374 14.379 12.5029C14.4695 11.7247 14.3482 11.0498 13.8743 10.4167C13.4758 9.95411 12.8921 9.61021 12.2755 9.55801C11.535 9.52898 10.8761 9.68715 10.3036 10.1817C9.84793 10.6285 9.561 11.2348 9.55338 11.8747C9.55833 12.5839 9.73984 13.1929 10.2397 13.7164C10.3928 13.8528 10.5566 13.9729 10.7255 14.089C10.8945 14.2061 11.0297 14.323 11.1237 14.5111C11.1719 14.8841 11.0541 15.218 10.9409 15.5668C10.9214 15.6286 10.9019 15.6904 10.8824 15.7523C10.83 15.9184 10.7769 16.0843 10.7236 16.2501C10.6681 16.4234 10.6133 16.5968 10.5584 16.7703C10.4792 17.0203 10.3998 17.2703 10.3201 17.5202C10.1888 17.9322 10.0591 18.3447 9.93048 18.7576C9.90071 18.8531 9.87092 18.9487 9.84111 19.0442C9.83148 19.0751 9.82185 19.106 9.81192 19.1378C9.8024 19.1683 9.79288 19.1988 9.78307 19.2303C9.72732 19.409 9.6716 19.5877 9.61603 19.7664C9.57292 19.9051 9.5296 20.0436 9.48613 20.1822C9.46296 20.2562 9.44001 20.3303 9.41706 20.4043C9.18677 21.1364 9.18677 21.1364 8.94323 21.2863C8.62292 21.393 8.34588 21.3112 8.05009 21.1743C8.01496 21.1586 7.97982 21.1429 7.94361 21.1267C6.51738 20.4793 5.19571 19.5346 4.23176 18.288C4.19218 18.2383 4.15258 18.1887 4.11297 18.139C3.14298 16.911 2.49986 15.4795 2.17536 13.9514C2.16397 13.898 2.16397 13.898 2.15236 13.8436C2.02861 13.2278 1.99763 12.6213 2.00014 11.9947C2.00022 11.9569 2.00031 11.9191 2.00039 11.8802C2.00238 11.322 2.01728 10.7765 2.12912 10.2279C2.13706 10.188 2.14501 10.148 2.15319 10.1069C2.45269 8.63505 3.02439 7.2723 3.92026 6.06159C3.94566 6.0271 3.94566 6.0271 3.97157 5.99192C4.25258 5.61405 4.56697 5.27093 4.8937 4.93239C4.92874 4.89575 4.96377 4.85911 4.99987 4.82136C5.2229 4.59266 5.46032 4.38978 5.71139 4.19257C5.74979 4.16175 5.78819 4.13094 5.82775 4.09918C7.07279 3.11617 8.55051 2.45761 10.1065 2.15564C10.136 2.14991 10.1655 2.14417 10.1959 2.13826C10.7841 2.03256 11.3693 1.99728 11.9658 1.99989Z" fill="#6E6F7A"/>
3
- </svg>