@hubspot/cms-dev-server 0.18.28 → 0.18.29

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.
@@ -0,0 +1 @@
1
+ *,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#efedeb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#cecccb}input::placeholder,textarea::placeholder{opacity:1;color:#cecccb}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background: 0 0% 100%;--foreground: 215 27% 27%;--primary-default: #7d53e9;--primary-hover: #6431da;--primary-pressed: #5113ba;--primary-disabled: #e5e1fa;--primary-subtle: #e5e1fa;--primary-foreground: #ffffff;--radius: .5rem;--accent: 240 4.8% 95.9%;--input: 240 5.9% 90%;--muted: 240 4.8% 95.9%;--popover: 0 0% 100%}body{font-family:Lexend Deca,Helvetica,Arial,sans-serif;--tw-text-opacity: 1;color:rgb(20 20 20 / var(--tw-text-opacity))}.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 1400px){.container{max-width:1400px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.right-1\.5{right:.375rem}.right-4{right:1rem}.top-0{top:0}.top-1\.5{top:.375rem}.top-4{top:1rem}.z-10{z-index:10}.z-50{z-index:50}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-16{margin-bottom:4rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mr-2{margin-right:.5rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-36{height:9rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[1px\]{height:1px}.h-\[20px\]{height:20px}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-\[770px\]{max-height:770px}.min-h-36{min-height:9rem}.w-10{width:2.5rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[1px\]{width:1px}.w-full{width:100%}.min-w-10{min-width:2.5rem}.max-w-2xl{max-width:42rem}.max-w-\[200px\]{max-width:200px}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.caption-bottom{caption-side:bottom}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-cols-\[repeat\(auto-fit\,minmax\(100px\,1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-14{gap:3.5rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}.bg-\[\#0F172A\]{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/80{background-color:#000c}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(239 237 235 / var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/50{background-color:hsl(var(--muted) / .5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:var(--primary-default)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.bg-slate-900\/90{background-color:#0f172ae6}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-0{padding:0}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-\[\#9CDCFE\]{--tw-text-opacity: 1;color:rgb(156 220 254 / var(--tw-text-opacity))}.text-\[\#ff7a59\]{--tw-text-opacity: 1;color:rgb(255 122 89 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-500{--tw-text-opacity: 1;color:rgb(182 177 175 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(20 20 20 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:var(--primary-default)}.text-primary-foreground{color:var(--primary-foreground)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}@font-face{font-family:Lexend Deca;src:url(/assets/LexendDeca-Light-BtcvwT5C.woff2) format("woff2")}@font-face{font-family:Lexend Deca;src:url(/assets/LexendDeca-Medium-CxVPR2j6.woff2) format("woff2");font-weight:500}@font-face{font-family:Lexend Deca;src:url(/assets/LexendDeca-SemiBold-BhzS3XUP.woff2) format("woff2");font-weight:600}@font-face{font-family:Lexend Deca;src:url(/assets/LexendDeca-Bold-B8uERmr8.woff2) format("woff2");font-weight:700}.odd\:bg-white:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.even\:bg-gray-100:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(245 243 242 / var(--tw-bg-opacity))}.even\:bg-gray-50:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 243 242 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(239 237 235 / var(--tw-bg-opacity))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary-hover:hover{background-color:var(--primary-hover)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\:bg-gray-200:active{--tw-bg-opacity: 1;background-color:rgb(239 237 235 / var(--tw-bg-opacity))}.active\:bg-primary-pressed:active{background-color:var(--primary-pressed)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:bg-primary-disabled:disabled{background-color:var(--primary-disabled)}.disabled\:opacity-50:disabled{opacity:.5}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}@media (min-width: 640px){.sm\:max-w-sm{max-width:24rem}.sm\:max-w-xl{max-width:36rem}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:w-\[170px\]{width:170px}.md\:flex-none{flex:none}.md\:flex-row{flex-direction:row}}@media (min-width: 1024px){.lg\:block{display:block}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0px}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>CMS React Dev Server Home</title>
7
7
  <!--app-head-->
8
- <script type="module" crossorigin src="/assets/index-C5FZod7r.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-BivIDhYl.css">
8
+ <script type="module" crossorigin src="/assets/index-BnyRQ2fe.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-C0KdU9bk.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"><!--app-html--></div>
@@ -2409,6 +2409,9 @@ async function renderOnServer(elements, renderContext = bootStrapRenderContext()
2409
2409
  function cn(...inputs) {
2410
2410
  return twMerge(clsx(inputs));
2411
2411
  }
2412
+ function getHSBaseUrl(authedEnv) {
2413
+ return `https://app.hubspot${authedEnv === "qa" ? "qa" : ""}.com`;
2414
+ }
2412
2415
  const TooltipProvider = TooltipPrimitive.Provider;
2413
2416
  const Tooltip = TooltipPrimitive.Root;
2414
2417
  const TooltipTrigger = TooltipPrimitive.Trigger;
@@ -2464,10 +2467,10 @@ const Button = React.forwardRef(
2464
2467
  }
2465
2468
  );
2466
2469
  Button.displayName = "Button";
2467
- const IconButton = ({ text, url, Icon: Icon2 }) => /* @__PURE__ */ jsxs(Button, { variant: "ghost", children: [
2470
+ const IconButton = ({ text, url, Icon: Icon2, className }) => /* @__PURE__ */ jsx(Button, { variant: "ghost", className, children: /* @__PURE__ */ jsxs("div", { className: "flex items-center", children: [
2468
2471
  Icon2 && /* @__PURE__ */ jsx(Icon2, { className: "w-6 h-6 mr-2 text-black" }),
2469
2472
  url ? /* @__PURE__ */ jsx("a", { href: url, target: "_blank", children: text }) : /* @__PURE__ */ jsx("div", { children: text })
2470
- ] });
2473
+ ] }) });
2471
2474
  const copyToClipboard = (value) => {
2472
2475
  navigator.clipboard.writeText(value);
2473
2476
  };
@@ -2512,7 +2515,7 @@ const WhiteBox = ({ count, label, subText, onClick }) => /* @__PURE__ */ jsxs(
2512
2515
  "div",
2513
2516
  {
2514
2517
  onClick,
2515
- className: "w-[170px] h-36 px-8 py-6 bg-white rounded-lg flex flex-col justify-center items-center gap-1 text-gray-900 cursor-pointer",
2518
+ className: "flex-1 md:flex-none md:w-[170px] h-36 px-8 py-6 bg-white rounded-lg flex flex-col justify-center items-center gap-1 text-gray-900 cursor-pointer",
2516
2519
  children: [
2517
2520
  /* @__PURE__ */ jsx("div", { className: "text-2xl font-light", children: count }),
2518
2521
  /* @__PURE__ */ jsx("div", { className: "text-xs font-semibold uppercase leading-4", children: label }),
@@ -2520,7 +2523,7 @@ const WhiteBox = ({ count, label, subText, onClick }) => /* @__PURE__ */ jsxs(
2520
2523
  ]
2521
2524
  }
2522
2525
  );
2523
- const WhiteBoxList = ({ modulesData, partialsData }) => /* @__PURE__ */ jsxs("div", { className: "flex justify-start gap-2", children: [
2526
+ const WhiteBoxList = ({ modulesData, partialsData }) => /* @__PURE__ */ jsxs("div", { className: "flex flex-row md:flex-row justify-start gap-4 w-full", children: [
2524
2527
  /* @__PURE__ */ jsx(
2525
2528
  WhiteBox,
2526
2529
  {
@@ -2546,49 +2549,60 @@ const WhiteBoxList = ({ modulesData, partialsData }) => /* @__PURE__ */ jsxs("di
2546
2549
  }
2547
2550
  )
2548
2551
  ] });
2549
- const CLICommands = () => /* @__PURE__ */ jsx("div", { className: "flex flex-col justify-end items-start min-h-36 p-6 bg-slate-900 rounded-xl gap-6 overflow-hidden", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-start items-start gap-6 w-full", children: [
2552
+ const CLICommands = ({
2553
+ cliCommands = []
2554
+ }) => /* @__PURE__ */ jsx("div", { className: "flex flex-col justify-end items-start min-h-36 p-6 bg-slate-900 rounded-xl gap-6 overflow-hidden", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-start items-start gap-6 w-full", children: [
2550
2555
  /* @__PURE__ */ jsx("div", { className: "text-white text-xl font-medium leading-7", children: "Copy CLI Commands" }),
2551
- /* @__PURE__ */ jsx("div", { className: "flex flex-wrap w-full px-1 py-1 bg-white rounded-md border border-slate-300 text-black text-sm font-medium leading-tight", children: [
2552
- { command: "Start", description: "npm start" },
2553
- { command: "Run Test", description: "npm test" },
2554
- { command: "Build", description: "npm run build" },
2555
- { command: "Deploy", description: "npm run deploy" },
2556
- { command: "Dev Environment", description: "npm run dev" }
2557
- ].map(({ command, description }) => /* @__PURE__ */ jsxs(Tooltip, { delayDuration: 100, children: [
2558
- /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx("div", { className: "flex-grow h-8 px-3 py-1.5 bg-white flex items-center justify-center relative group cursor-pointer hover:bg-gray-100 active:bg-gray-200 min-w-[120px] m-1", children: /* @__PURE__ */ jsx("span", { className: "", children: command }) }) }),
2559
- /* @__PURE__ */ jsxs(TooltipContent, { side: "bottom", className: "bg-white font-medium p-4", children: [
2560
- /* @__PURE__ */ jsxs("div", { children: [
2561
- /* @__PURE__ */ jsx("div", { className: "font-medium text-base leading-none", children: "Copy Command" }),
2562
- /* @__PURE__ */ jsx("div", { className: "font-light text-sm leading-5 mt-2 mb-4", children: description })
2563
- ] }),
2564
- /* @__PURE__ */ jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsxs(
2565
- Button,
2566
- {
2567
- size: "sm",
2568
- variant: "default",
2569
- onClick: () => navigator.clipboard.writeText(description),
2570
- children: [
2571
- /* @__PURE__ */ jsx(ClipboardCopy, {}),
2572
- " Copy"
2573
- ]
2574
- }
2575
- ) })
2576
- ] })
2577
- ] }, command)) })
2556
+ /* @__PURE__ */ jsx("div", { className: "grid grid-cols-[repeat(auto-fit,minmax(100px,1fr))] auto-cols-fr gap-2 w-full px-1 py-1 bg-white rounded-md border border-slate-300 text-black text-sm font-medium leading-tight", children: cliCommands && cliCommands.map(({ scriptName, description, runCommand }) => /* @__PURE__ */ jsxs(Tooltip, { delayDuration: 100, children: [
2557
+ /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx("div", { className: "h-8 px-3 py-1.5 bg-white flex items-center justify-center relative group cursor-pointer hover:bg-gray-100 active:bg-gray-200 max-w-[200px] mx-auto w-full", children: /* @__PURE__ */ jsx("span", { children: scriptName }) }) }),
2558
+ /* @__PURE__ */ jsxs(
2559
+ TooltipContent,
2560
+ {
2561
+ side: "bottom",
2562
+ className: "bg-white font-medium p-4",
2563
+ children: [
2564
+ /* @__PURE__ */ jsxs("div", { children: [
2565
+ /* @__PURE__ */ jsx("div", { className: "font-medium text-base leading-none", children: "Copy Command" }),
2566
+ /* @__PURE__ */ jsxs("div", { className: "font-light text-sm leading-5 mt-2 mb-4", children: [
2567
+ /* @__PURE__ */ jsx("strong", { className: "font-bold", children: runCommand }),
2568
+ /* @__PURE__ */ jsx("br", {}),
2569
+ description
2570
+ ] })
2571
+ ] }),
2572
+ /* @__PURE__ */ jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsxs(
2573
+ Button,
2574
+ {
2575
+ size: "sm",
2576
+ variant: "default",
2577
+ onClick: () => navigator.clipboard.writeText(runCommand),
2578
+ children: [
2579
+ /* @__PURE__ */ jsx(ClipboardCopy, {}),
2580
+ " Copy"
2581
+ ]
2582
+ }
2583
+ ) })
2584
+ ]
2585
+ }
2586
+ )
2587
+ ] }, scriptName)) })
2578
2588
  ] }) });
2579
2589
  const Hero = ({
2580
2590
  projectName,
2581
2591
  authedPortalId,
2582
2592
  modulesData,
2583
2593
  partialsData,
2584
- hubLModules
2594
+ hubLModules,
2595
+ cliCommands,
2596
+ projectData,
2597
+ authedEnv
2585
2598
  }) => {
2586
2599
  const isAuthed = !!authedPortalId;
2587
2600
  const authTooltipText = isAuthed ? "You are connected to your HubSpot account" : `You are not connected to your HubSpot Account. Use the "hs init" command to connect to view content in the dev server.`;
2588
2601
  const combinedModules = [...modulesData, ...hubLModules];
2589
2602
  const handleOpenInApp = () => {
2590
2603
  try {
2591
- const projectUrl = `https://app.hubspotqa.com/developer-projects/${authedPortalId}/project/${projectName}`;
2604
+ const baseUrl = getHSBaseUrl(authedEnv);
2605
+ const projectUrl = `${baseUrl}/developer-projects/${authedPortalId}/project/${projectName}`;
2592
2606
  window.open(projectUrl, "_blank");
2593
2607
  } catch (error) {
2594
2608
  console.error("Failed to open project in app:", error);
@@ -2596,7 +2610,7 @@ const Hero = ({
2596
2610
  };
2597
2611
  return /* @__PURE__ */ jsxs("div", { className: "w-full h-full bg-gray-200 rounded-3xl px-10 py-8", children: [
2598
2612
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-4", children: [
2599
- /* @__PURE__ */ jsxs("div", { className: "text-gray-900 text-2xl font-semibold flex items-center gap-2", children: [
2613
+ /* @__PURE__ */ jsxs("div", { className: "text-gray-900 text-2xl font-semibold flex items-center gap-2 leading-6", children: [
2600
2614
  "CMS Developer Server",
2601
2615
  isAuthed ? /* @__PURE__ */ jsx(
2602
2616
  IconTooltip,
@@ -2622,7 +2636,8 @@ const Hero = ({
2622
2636
  {
2623
2637
  text: "Slack Community",
2624
2638
  Icon: ExternalLink,
2625
- url: "https://developers.hubspot.com/beta-docs/getting-started/slack/developer-slack"
2639
+ url: "https://developers.hubspot.com/beta-docs/getting-started/slack/developer-slack",
2640
+ className: "hidden lg:block"
2626
2641
  }
2627
2642
  ),
2628
2643
  /* @__PURE__ */ jsx(
@@ -2630,14 +2645,24 @@ const Hero = ({
2630
2645
  {
2631
2646
  text: "Getting started docs",
2632
2647
  Icon: ExternalLink,
2633
- url: "https://developers.hubspot.com/docs/cms/cms-react-quickstart?hs_preview=XztBJnma-168859451746"
2648
+ url: "https://developers.hubspot.com/docs/cms/cms-react-quickstart?hs_preview=XztBJnma-168859451746",
2649
+ className: "hidden lg:block"
2634
2650
  }
2635
2651
  ),
2636
2652
  authedPortalId && /* @__PURE__ */ jsxs(Tooltip, { delayDuration: 100, children: [
2637
- /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(Button, { size: "sm", variant: "default", onClick: handleOpenInApp, children: [
2638
- /* @__PURE__ */ jsx(ExternalLink, {}),
2639
- " Open in App"
2640
- ] }) }),
2653
+ /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
2654
+ Button,
2655
+ {
2656
+ size: "sm",
2657
+ variant: "default",
2658
+ onClick: handleOpenInApp,
2659
+ disabled: !projectData,
2660
+ children: [
2661
+ /* @__PURE__ */ jsx(ExternalLink, {}),
2662
+ " Open in App"
2663
+ ]
2664
+ }
2665
+ ) }),
2641
2666
  /* @__PURE__ */ jsx(
2642
2667
  TooltipContent,
2643
2668
  {
@@ -2661,15 +2686,15 @@ const Hero = ({
2661
2686
  /* @__PURE__ */ jsx("span", { className: "mr-2", children: authedPortalId }),
2662
2687
  /* @__PURE__ */ jsx(IconTooltip, { Icon: Copy, canCopy: true, tooltipText: authedPortalId })
2663
2688
  ] }) }),
2664
- /* @__PURE__ */ jsxs("div", { className: "flex w-full mt-10", children: [
2665
- /* @__PURE__ */ jsx("div", { className: "flex-none", children: /* @__PURE__ */ jsx(
2689
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col md:flex-row w-full mt-10 gap-14", children: [
2690
+ /* @__PURE__ */ jsx("div", { className: "md:flex-none", children: /* @__PURE__ */ jsx(
2666
2691
  WhiteBoxList,
2667
2692
  {
2668
2693
  modulesData: combinedModules,
2669
2694
  partialsData
2670
2695
  }
2671
2696
  ) }),
2672
- /* @__PURE__ */ jsx("div", { className: "flex-grow ml-14", children: /* @__PURE__ */ jsx(CLICommands, {}) })
2697
+ /* @__PURE__ */ jsx("div", { className: "flex-grow", children: /* @__PURE__ */ jsx(CLICommands, { cliCommands }) })
2673
2698
  ] })
2674
2699
  ] });
2675
2700
  };
@@ -2912,9 +2937,15 @@ function useModulePages(previewPath, authedPortalId) {
2912
2937
  }, [previewPath]);
2913
2938
  return state;
2914
2939
  }
2940
+ const getPageEditorUrl = (portalId, pageId, authedEnv) => {
2941
+ const baseUrl = getHSBaseUrl(authedEnv);
2942
+ return `${baseUrl}/pages/${portalId}/editor/${pageId}/content`;
2943
+ };
2915
2944
  const ComponentDependencyTable = ({
2916
2945
  pages,
2917
- componentType
2946
+ componentType,
2947
+ authedPortalId,
2948
+ authedEnv
2918
2949
  }) => {
2919
2950
  if (pages.length === 0) {
2920
2951
  return /* @__PURE__ */ jsxs("div", { children: [
@@ -2936,7 +2967,18 @@ const ComponentDependencyTable = ({
2936
2967
  /* @__PURE__ */ jsx(TableHead, { className: "border", children: "Page Type" })
2937
2968
  ] }) }),
2938
2969
  /* @__PURE__ */ jsx(TableBody, { className: "overflow-y-auto", children: pages.map((page, index) => /* @__PURE__ */ jsxs(TableRow, { className: "odd:bg-white even:bg-gray-50", children: [
2939
- /* @__PURE__ */ jsx(TableCell, { className: "border", children: page.label }),
2970
+ /* @__PURE__ */ jsx(TableCell, { className: "border", children: /* @__PURE__ */ jsxs(
2971
+ "a",
2972
+ {
2973
+ href: getPageEditorUrl(authedPortalId, page.id, authedEnv),
2974
+ target: "_blank",
2975
+ className: "underline flex items-center gap-1",
2976
+ children: [
2977
+ page.label,
2978
+ /* @__PURE__ */ jsx(ExternalLink, { className: "w-4 h-4" })
2979
+ ]
2980
+ }
2981
+ ) }),
2940
2982
  /* @__PURE__ */ jsx(TableCell, { className: "border", children: formatSubType(page.subType) })
2941
2983
  ] }, index)) })
2942
2984
  ]
@@ -2947,21 +2989,23 @@ const ComponentDependencySection = ({
2947
2989
  componentType,
2948
2990
  authedPortalId,
2949
2991
  projectName,
2992
+ projectData,
2950
2993
  webRootProjectComponentFolder,
2951
2994
  isOpen,
2952
- moduleData
2995
+ moduleData,
2996
+ authedEnv
2953
2997
  }) => {
2954
2998
  const previewPath = moduleData.type === ModuleType.REACT ? `@projects/${projectName}/${webRootProjectComponentFolder}/components/modules/${moduleData.nameWithExtension}` : moduleData.subPath;
2955
2999
  const { moduleDependencies, isLoading, error } = useModulePages(
2956
- isOpen ? previewPath : null,
3000
+ projectData && isOpen ? previewPath : null,
2957
3001
  authedPortalId
2958
3002
  );
2959
3003
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
2960
3004
  /* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-3 gap-8", children: [
2961
3005
  /* @__PURE__ */ jsx("h2", { className: "text-2xl font-semibold leading-9 decoration-skip-ink", children: "Dependencies" }),
2962
- isLoading ? /* @__PURE__ */ jsx(Skeleton, { className: "h-[20px] flex-1" }) : moduleDependencies && /* @__PURE__ */ jsx("span", { className: "text-lg font-bold leading-8", children: `${moduleDependencies.length} ${moduleDependencies.length === 1 ? "page uses" : "pages use"} this ${componentType}` })
3006
+ projectData && isLoading ? /* @__PURE__ */ jsx(Skeleton, { className: "h-[20px] flex-1" }) : projectData && moduleDependencies && /* @__PURE__ */ jsx("span", { className: "text-lg font-bold leading-8", children: `${moduleDependencies.length} ${moduleDependencies.length === 1 ? "page uses" : "pages use"} this ${componentType}` })
2963
3007
  ] }),
2964
- isLoading ? /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
3008
+ !projectData ? /* @__PURE__ */ jsx("div", { className: "text-sm text-gray-500 italic", children: "Please use hs upload command to see module dependencies" }) : isLoading ? /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
2965
3009
  /* @__PURE__ */ jsx(Skeleton, { className: "h-[20px] w-full" }),
2966
3010
  /* @__PURE__ */ jsx(Skeleton, { className: "h-[20px] w-full" })
2967
3011
  ] }) : error ? /* @__PURE__ */ jsxs("div", { className: "text-red-500", children: [
@@ -2971,7 +3015,9 @@ const ComponentDependencySection = ({
2971
3015
  ComponentDependencyTable,
2972
3016
  {
2973
3017
  pages: moduleDependencies || [],
2974
- componentType
3018
+ componentType,
3019
+ authedPortalId,
3020
+ authedEnv
2975
3021
  }
2976
3022
  )
2977
3023
  ] });
@@ -3006,7 +3052,7 @@ const FieldsContainer = ({
3006
3052
  ),
3007
3053
  /* @__PURE__ */ jsx("div", { className: "rounded-xl overflow-hidden p-4 bg-[#0F172A]", children: /* @__PURE__ */ jsx("pre", { className: "text-[14px] font-medium leading-6 text-[#9CDCFE] whitespace-pre-wrap", children: codeString }) })
3008
3054
  ] }),
3009
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Button, { variant: "outline", onClick: handleOpenFile, children: "View Editor" }) })
3055
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Button, { variant: "outline", onClick: handleOpenFile, children: "View Code" }) })
3010
3056
  ] }) : /* @__PURE__ */ jsx("p", { children: "No fields found" })
3011
3057
  ] });
3012
3058
  };
@@ -3017,6 +3063,8 @@ const ComponentDetailSheet = ({
3017
3063
  authedPortalId,
3018
3064
  projectName,
3019
3065
  webRootProjectComponentFolder,
3066
+ projectData,
3067
+ authedEnv,
3020
3068
  children
3021
3069
  }) => {
3022
3070
  var _a;
@@ -3049,9 +3097,11 @@ const ComponentDetailSheet = ({
3049
3097
  componentType,
3050
3098
  authedPortalId,
3051
3099
  projectName,
3100
+ projectData,
3052
3101
  webRootProjectComponentFolder,
3053
3102
  isOpen,
3054
- moduleData
3103
+ moduleData,
3104
+ authedEnv
3055
3105
  }
3056
3106
  ) }),
3057
3107
  /* @__PURE__ */ jsx("div", { className: "grid gap-6 my-6", children: /* @__PURE__ */ jsx(
@@ -3072,16 +3122,29 @@ const getModuleEditorPreviewUrl = (projectName, webRootProjectComponentFolder, c
3072
3122
  throw new Error(`Could not find component: ${component.name}`);
3073
3123
  }
3074
3124
  const previewPath = component.type === ModuleType.REACT ? `@projects/${projectName}/${webRootProjectComponentFolder}/components/modules/${component.nameWithExtension}` : component.subPath;
3075
- return `https://app.hubspot${authedEnv === "qa" ? "qa" : ""}.com/design-previewer/${portalId}/local-module-preview/${previewPath}`;
3125
+ const baseUrl = getHSBaseUrl(authedEnv);
3126
+ return `${baseUrl}/design-previewer/${portalId}/local-module-preview/${previewPath}`;
3076
3127
  };
3077
3128
  const ActionButtons = ({
3078
3129
  component,
3079
3130
  componentType,
3080
3131
  onPreviewClick,
3081
- onViewLocalClick
3132
+ onViewLocalClick,
3133
+ sslEnabled
3082
3134
  }) => {
3083
3135
  return /* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
3084
- componentType === "module" && /* @__PURE__ */ jsx(Button, { variant: "outline", onClick: () => onPreviewClick(component), children: "View in app" }),
3136
+ componentType === "module" && /* @__PURE__ */ jsxs(Tooltip, { delayDuration: 100, children: [
3137
+ /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
3138
+ Button,
3139
+ {
3140
+ variant: "outline",
3141
+ onClick: () => onPreviewClick(component),
3142
+ disabled: !sslEnabled,
3143
+ children: "View in app"
3144
+ }
3145
+ ) }) }),
3146
+ !sslEnabled && /* @__PURE__ */ jsx(TooltipContent, { children: "Run the dev server with the --ssl flag to view in app" })
3147
+ ] }),
3085
3148
  /* @__PURE__ */ jsx(Button, { variant: "outline", onClick: () => onViewLocalClick(component), children: "View local version" })
3086
3149
  ] });
3087
3150
  };
@@ -3093,7 +3156,9 @@ function ComponentTable({
3093
3156
  projectName,
3094
3157
  authedPortalId,
3095
3158
  componentType,
3096
- authedEnv
3159
+ authedEnv,
3160
+ sslEnabled,
3161
+ projectData
3097
3162
  }) {
3098
3163
  const handlePreviewClick = (component) => {
3099
3164
  try {
@@ -3137,32 +3202,39 @@ function ComponentTable({
3137
3202
  containerClassName: "h-fit max-h-[770px] overflow-y-auto relative",
3138
3203
  children: [
3139
3204
  /* @__PURE__ */ jsx(TableHeader, { children: /* @__PURE__ */ jsx(TableRow, { className: "", children: headers.map((header, index) => /* @__PURE__ */ jsx(TableHead, { className: "border", children: header }, index)) }) }),
3140
- /* @__PURE__ */ jsx(TableBody, { className: "overflow-y-auto", children: componentList.map((component, index) => /* @__PURE__ */ jsxs(TableRow, { className: "odd:bg-white even:bg-gray-50", children: [
3141
- component.name && /* @__PURE__ */ jsx(TableCell, { className: "border", children: componentType === "module" ? /* @__PURE__ */ jsx(
3142
- ComponentDetailSheet,
3143
- {
3144
- moduleData: component,
3145
- componentType,
3146
- themeWebRoot,
3147
- authedPortalId,
3148
- projectName,
3149
- webRootProjectComponentFolder,
3150
- children: /* @__PURE__ */ jsx("span", { className: "underline cursor-pointer", children: component.name })
3151
- }
3152
- ) : /* @__PURE__ */ jsx("span", { children: component.name }) }),
3205
+ /* @__PURE__ */ jsx(TableBody, { className: "overflow-y-auto", children: componentList.map((component, index) => /* @__PURE__ */ jsxs(TableRow, { className: "even:bg-gray-100 hover:bg-gray-200", children: [
3206
+ component.name && /* @__PURE__ */ jsx(TableCell, { className: "border", children: componentType === "module" ? /* @__PURE__ */ jsxs(Tooltip, { children: [
3207
+ /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
3208
+ ComponentDetailSheet,
3209
+ {
3210
+ moduleData: component,
3211
+ componentType,
3212
+ themeWebRoot,
3213
+ authedPortalId,
3214
+ projectName,
3215
+ webRootProjectComponentFolder,
3216
+ projectData,
3217
+ authedEnv,
3218
+ children: /* @__PURE__ */ jsx("span", { className: "underline cursor-pointer", children: component.name })
3219
+ }
3220
+ ) }) }),
3221
+ /* @__PURE__ */ jsx(TooltipContent, { children: "View details, dependencies, and more" })
3222
+ ] }) : /* @__PURE__ */ jsx("span", { children: component.name }) }),
3153
3223
  component.type && /* @__PURE__ */ jsx(TableCell, { className: "border", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
3154
3224
  component.type === "react" ? /* @__PURE__ */ jsx(ReactIcon, {}) : /* @__PURE__ */ jsx(Braces, {}),
3155
3225
  /* @__PURE__ */ jsx("span", { children: component.type === "react" ? "React" : "HubL" })
3156
3226
  ] }) }),
3157
3227
  component.dateCreated && /* @__PURE__ */ jsx(TableCell, { className: "border", children: component.dateCreated }),
3158
3228
  component.status && /* @__PURE__ */ jsx(TableCell, { className: "border", children: component.status }),
3229
+ component.templateTypeLabel && /* @__PURE__ */ jsx(TableCell, { className: "border", children: component.templateTypeLabel }),
3159
3230
  /* @__PURE__ */ jsx(TableCell, { className: "border", children: /* @__PURE__ */ jsx(
3160
3231
  ActionButtons,
3161
3232
  {
3162
3233
  component,
3163
3234
  componentType,
3164
3235
  onPreviewClick: handlePreviewClick,
3165
- onViewLocalClick: handleViewLocalClick
3236
+ onViewLocalClick: handleViewLocalClick,
3237
+ sslEnabled
3166
3238
  }
3167
3239
  ) })
3168
3240
  ] }, index)) })
@@ -3181,7 +3253,9 @@ const ComponentTableListItem = ({
3181
3253
  themeWebRoot,
3182
3254
  projectName,
3183
3255
  authedPortalId,
3184
- authedEnv
3256
+ authedEnv,
3257
+ sslEnabled,
3258
+ projectData
3185
3259
  }) => {
3186
3260
  return /* @__PURE__ */ jsxs("div", { id: id2, className: "mb-16", children: [
3187
3261
  /* @__PURE__ */ jsx("h2", { className: "font-inter text-2xl font-semibold leading-9 tracking-tight text-left mb-6", children: header }),
@@ -3196,7 +3270,9 @@ const ComponentTableListItem = ({
3196
3270
  themeWebRoot,
3197
3271
  projectName,
3198
3272
  authedPortalId,
3199
- componentType
3273
+ componentType,
3274
+ sslEnabled,
3275
+ projectData
3200
3276
  }
3201
3277
  )
3202
3278
  ] });
@@ -3210,7 +3286,9 @@ const ComponentTableList = ({
3210
3286
  themeWebRoot,
3211
3287
  projectName,
3212
3288
  authedPortalId,
3213
- authedEnv
3289
+ authedEnv,
3290
+ sslEnabled,
3291
+ projectData
3214
3292
  }) => {
3215
3293
  const mapToTableData = (components, type) => components.map((component) => ({
3216
3294
  ...component,
@@ -3241,7 +3319,9 @@ const ComponentTableList = ({
3241
3319
  themeWebRoot,
3242
3320
  projectName,
3243
3321
  authedPortalId,
3244
- authedEnv
3322
+ authedEnv,
3323
+ sslEnabled,
3324
+ projectData
3245
3325
  }
3246
3326
  ),
3247
3327
  /* @__PURE__ */ jsx(
@@ -3251,7 +3331,9 @@ const ComponentTableList = ({
3251
3331
  header: "Partials",
3252
3332
  componentType: "partial",
3253
3333
  headers: ["Name", "Type", "Actions"],
3254
- data: partialData
3334
+ data: partialData,
3335
+ sslEnabled,
3336
+ projectData
3255
3337
  }
3256
3338
  ),
3257
3339
  /* @__PURE__ */ jsx(
@@ -3260,8 +3342,10 @@ const ComponentTableList = ({
3260
3342
  id: "templates-table",
3261
3343
  header: "Templates",
3262
3344
  componentType: "template",
3263
- headers: ["Name", "Type", "Actions"],
3264
- data: templateData
3345
+ headers: ["Name", "Type", "Template Type", "Actions"],
3346
+ data: templateData,
3347
+ sslEnabled,
3348
+ projectData
3265
3349
  }
3266
3350
  )
3267
3351
  ] });
@@ -3300,6 +3384,10 @@ const Footer = () => {
3300
3384
  {
3301
3385
  href: "https://github.com/HubSpot/cms-react/tree/main/examples",
3302
3386
  text: "Github Examples"
3387
+ },
3388
+ {
3389
+ href: "https://developers.hubspot.com/beta-docs/getting-started/slack/developer-slack",
3390
+ text: "Slack Community"
3303
3391
  }
3304
3392
  ];
3305
3393
  return /* @__PURE__ */ jsx("footer", { className: "w-full py-16", children: /* @__PURE__ */ jsx("nav", { className: "flex justify-center items-center gap-4 text-gray-900 text-sm font-normal", children: links.map((link, index) => /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
@@ -3412,7 +3500,10 @@ function App({
3412
3500
  partialsData,
3413
3501
  hubLTemplates,
3414
3502
  webRootProjectComponentFolder,
3415
- themeWebRoot
3503
+ themeWebRoot,
3504
+ cliCommands,
3505
+ sslEnabled,
3506
+ projectData
3416
3507
  } = initialProps;
3417
3508
  const [showUnauthed, setShowUnauthed] = useState(!authedPortalId);
3418
3509
  const handleCloseUnauthed = () => {
@@ -3426,7 +3517,10 @@ function App({
3426
3517
  authedPortalId,
3427
3518
  modulesData,
3428
3519
  partialsData,
3429
- hubLModules
3520
+ hubLModules,
3521
+ cliCommands,
3522
+ projectData,
3523
+ authedEnv
3430
3524
  }
3431
3525
  ),
3432
3526
  /* @__PURE__ */ jsx(
@@ -3440,7 +3534,9 @@ function App({
3440
3534
  themeWebRoot,
3441
3535
  projectName,
3442
3536
  authedPortalId,
3443
- authedEnv
3537
+ authedEnv,
3538
+ sslEnabled,
3539
+ projectData
3444
3540
  }
3445
3541
  ),
3446
3542
  /* @__PURE__ */ jsx(Footer, {}),